/* «Протокол Архитектора» в «Я → Достижения» и именная открытка четверти (app/js/protocol.js). */
.proto-panel { display: grid; gap: 14px; }
.proto-year { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
.proto-year.guardian { border-color: #ffc94d; box-shadow: 0 0 14px rgba(255, 201, 77, 0.25); }
.proto-year-head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: space-between; }
.proto-guard { display: inline-flex; align-items: center; gap: 8px; color: #ffc94d; font-weight: 700; }
.proto-guard-badge { width: 32px; height: 32px; }
.proto-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.proto-cell { --q: var(--accent); display: grid; justify-items: center; gap: 4px; padding: 10px 6px; text-align: center; border: 1px solid var(--border); border-top: 3px solid var(--q); border-radius: 10px; opacity: 0.55; filter: grayscale(0.85); }
.proto-cell.earned { opacity: 1; filter: none; border-color: var(--q); }
.proto-badge { width: 72px; height: 72px; }
.proto-name { font-weight: 700; }
.proto-title { color: var(--text-dim, #b9b0dc); font-size: 0.85rem; }
.proto-date { font-size: 0.8rem; color: var(--q); }
.proto-date.dim { color: var(--text-dim, #b9b0dc); }
.proto-note { color: var(--text-dim, #b9b0dc); font-size: 0.85rem; }
@media (max-width: 560px) { .proto-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.proto-lightbox { position: fixed; inset: 0; z-index: 900; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 16px; background: rgba(4, 2, 10, 0.88); }
.proto-card { --q: #b84fff; display: grid; justify-items: center; align-content: center; gap: 8px; width: min(92vw, 640px); aspect-ratio: 16 / 9; padding: 16px; text-align: center; border: 2px solid var(--q); border-radius: 14px; background-size: cover; background-position: center; box-shadow: 0 0 30px color-mix(in srgb, var(--q) 40%, transparent); }
.proto-card-top { color: var(--q); font-weight: 700; letter-spacing: 0.14em; font-size: clamp(11px, 2.4vw, 16px); }
.proto-card-badge { width: clamp(64px, 18vw, 120px); height: clamp(64px, 18vw, 120px); }
.proto-card-title { font-size: clamp(18px, 4.4vw, 30px); font-weight: 700; color: #fff; }
.proto-card-name { font-size: clamp(22px, 6vw, 40px); font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.proto-card-sub { color: #cfc8ee; font-size: clamp(10px, 2.2vw, 14px); }
.proto-card-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
