/* Admin panel (#/admin) and the announcement banner. */
.adm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.adm-sub { margin: 8px 0 0; font-size: 13px; }
.adm-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 8px; font-size: 12.5px; color: var(--text-2); text-decoration: none; transition: color .2s, background .2s; }
.adm-tabs a:hover { color: var(--text); }
.adm-tabs a.on { background: rgba(255, 255, 255, .11); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.adm-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gap); margin-top: var(--gap); align-items: start; }

.adm-bars { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; align-items: end; height: 150px; }
.adm-bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.adm-bar i { display: block; width: 100%; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, rgba(var(--accent-rgb), .9), rgba(var(--accent-rgb), .25)); animation: barIn .6s var(--ease) both; }
.adm-bar em { font-style: normal; font-size: 10.5px; color: var(--text-3); min-height: 14px; }
.adm-srcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.adm-src { display: grid; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); }
.adm-src b { font-size: 22px; letter-spacing: -.02em; }
.adm-src span { font-size: 12.5px; color: var(--text-2); }
.adm-src i { font-style: normal; font-size: 11px; color: var(--text-3); margin-top: 2px; }
.adm-recent { display: flex; flex-direction: column; }
.adm-person { display: flex; align-items: center; gap: 12px; padding: 9px 2px; border-top: 1px solid var(--line-2); font-size: 13px; }
.adm-person:first-child { border-top: 0; }
.adm-person .dim { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.adm-bar-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.adm-bar-row input { flex: 1; min-width: 220px; }
.adm-people { padding: 6px; }
.adm-u { border-radius: 12px; transition: background .2s; }
.adm-u + .adm-u { border-top: 1px solid var(--line-2); }
.adm-u.open { background: rgba(255, 255, 255, .03); }
.adm-u.banned { opacity: .6; }
.adm-u-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 90px 100px 84px; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; text-align: left; }
.adm-u-id { display: grid; min-width: 0; }
.adm-u-id i { font-style: normal; font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-u-src { display: flex; gap: 4px; }
.adm-u-src .chip { padding: 1px 7px; font-size: 10.5px; }
.adm-u-pnl { text-align: right; font-weight: 600; font-size: 13px; }
.adm-u-when { font-size: 12px; text-align: right; }
.adm-tag { justify-self: end; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: var(--text-2); }
.adm-tag.founder { color: #1a1200; background: linear-gradient(135deg, #fff6cf, #ffc93c); }
.adm-tag.admin { color: #dbeafe; background: #1e40af; }
.adm-tag.ban { color: #fecaca; background: rgba(248, 113, 113, .2); }
.adm-u-edit { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: flex-end; padding: 0 14px 14px 60px; }
.adm-u-edit .lbl { margin-top: 4px; }
.adm-u-acts { display: flex; gap: 6px; margin-left: auto; }
.adm-g { --ga: #fff; display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.adm-g + .adm-g { border-top: 1px solid var(--line-2); }
.adm-g .dim { font-size: 12px; }

/* ───────── the announcement banner ───────── */
.ann { position: relative; display: flex; align-items: center; gap: 10px; max-width: 1480px; margin: 2px auto 14px; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; animation: annIn .5s var(--ease) both; }
@keyframes annIn { from { opacity: 0; transform: translateY(-8px); } }
.ann-t { flex: 1; min-width: 0; }
.ann-link { display: inline-flex; align-items: center; gap: 3px; flex: none; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; text-decoration: none; background: rgba(255, 255, 255, .14); color: inherit; }
.ann-link:hover { background: rgba(255, 255, 255, .22); }
.ann-x { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; opacity: .7; }
.ann-x:hover { opacity: 1; background: rgba(255, 255, 255, .1); }
.ann-promo { color: #fff; background: linear-gradient(110deg, rgba(124, 92, 255, .55), rgba(255, 92, 170, .45) 55%, rgba(255, 196, 64, .4)); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 14px 40px -18px rgba(124, 92, 255, .8); }
.ann-info { color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.ann-warn { color: #fef3c7; background: rgba(245, 158, 11, .16); border: 1px solid rgba(245, 158, 11, .4); }

@media (max-width: 1000px) { .adm-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .adm-u-main { grid-template-columns: auto minmax(0, 1fr) auto; }
  .adm-u-edit { padding-left: 14px; }
  .adm-srcs { grid-template-columns: minmax(0, 1fr); }
  .adm-tabs { width: 100%; }
}

/* ───────── Access: applications and codes ───────── */
.adm-tag.wait { color: #fde68a; background: rgba(245, 158, 11, .16); }
.adm-note { font-size: 12.5px; margin: -4px 0 12px; }
.adm-empty { padding: 24px 8px; text-align: center; font-size: 13px; }
.adm-app { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-top: 1px solid var(--line-2); }
.adm-app:first-child { border-top: 0; }
.adm-app-id { display: grid; gap: 1px; min-width: 0; font-size: 13.5px; }
.adm-app-id .dim { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-app-id a.dim { text-decoration: none; }
.adm-app-acts { display: flex; gap: 6px; flex: none; }
.adm-code-new { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 12px; align-items: end; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.adm-code-new .lbl { margin-top: 0; }
.adm-code-new .btn { justify-self: end; }
.adm-codes { display: flex; flex-direction: column; }
.adm-code { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-top: 1px solid var(--line-2); font-size: 13px; }
.adm-code:first-child { border-top: 0; }
.adm-code .grow { display: grid; gap: 1px; min-width: 0; }
.adm-code .dim { font-size: 12px; }
.adm-code.off { opacity: .55; }
.adm-code-c { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12.5px; letter-spacing: .04em; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--text); }
.adm-code-c:hover { background: rgba(255, 255, 255, .1); }
.adm-code.off .adm-code-c { text-decoration: line-through; }
@media (max-width: 760px) {
  .adm-app { flex-wrap: wrap; }
  .adm-app-acts { width: 100%; justify-content: flex-end; }
  .adm-code-new { grid-template-columns: minmax(0, 1fr); }
  .adm-code { flex-wrap: wrap; }
}

/* notifications for new applications (Access) */
.adm-push { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); }
.adm-push:empty { display: none; }
.adm-push .grow { display: grid; gap: 2px; min-width: 0; font-size: 13.5px; }
.adm-push .dim { font-size: 12.5px; line-height: 1.45; }
.adm-push-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--text-2); }
.adm-push.on .adm-push-ic { color: #0a0a0b; background: linear-gradient(135deg, #fff, #c9c9d2); }
.adm-push-acts { display: flex; gap: 6px; flex: none; }
.adm-push-acts:empty { display: none; }
@media (max-width: 760px) {
  .adm-push { flex-wrap: wrap; }
  .adm-push .grow { flex: 1 1 calc(100% - 52px); }
  .adm-push-acts { width: 100%; }
  .adm-push-acts .btn { flex: 1; }
}

/* Admin → Verification */
.adm-vf { display: grid; gap: 8px; padding: 14px 4px; border-top: 1px solid var(--line-2); font-size: 13px; }
.adm-vf:first-child { border-top: 0; }
.adm-vf-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.adm-vf-item { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.adm-vf-item .adm-tag { justify-self: auto; }
.adm-vf-item .code { font-size: 11.5px; overflow-wrap: anywhere; text-decoration: none; }
.adm-vf-facts { font-size: 12.5px; }
.adm-vf-warn { font-size: 12px; color: #fde68a; display: flex; align-items: center; gap: 6px; }
.adm-vf-proof { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12.5px; }
.adm-vf-proof a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.adm-vf-note { white-space: pre-wrap; overflow-wrap: anywhere; padding: 9px 11px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); font-size: 12.5px; line-height: 1.55; }
.adm-vf-acts { display: flex; align-items: center; gap: 6px; }
.adm-vf-acts input { flex: 1; min-width: 0; }
@media (max-width: 760px) {
  .adm-vf-acts { flex-wrap: wrap; }
  .adm-vf-acts input { flex-basis: 100%; }
}

/* ───────── the big announcement (spotlight): the card, in a modal or the admin preview ───────── */
.modal-wrap > .modal.spot-modal { width: min(500px, 100%); padding: 0; overflow: hidden auto; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.modal-wrap > .modal.spot-modal::before, .modal-wrap > .modal.spot-modal::after { display: none; }
.modal-wrap:has(.spot-modal) { background: rgba(0, 0, 0, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.spot { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px); background: rgba(16, 16, 19, .94); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4); text-align: center; }
.spot-img { position: relative; aspect-ratio: 12 / 5; background: rgba(255, 255, 255, .04); }
.spot-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spot-img::after { content: ''; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(16, 16, 19, .94)); }
.spot-glow { position: absolute; inset: -40% -20% auto; height: 260px; background: radial-gradient(closest-side, rgba(124, 92, 255, .45), rgba(255, 92, 170, .18) 55%, transparent); pointer-events: none; }
.spot-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: .85; transition: opacity .2s, background .2s; }
.spot-x:hover { opacity: 1; background: rgba(0, 0, 0, .65); }
.spot-body { position: relative; display: grid; justify-items: center; gap: 10px; padding: 30px 30px 26px; }
.spot.has-img .spot-body { padding-top: 6px; }
.spot-eyebrow { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: linear-gradient(110deg, rgba(124, 92, 255, .55), rgba(255, 92, 170, .45)); border: 1px solid rgba(255, 255, 255, .16); }
.spot-title { margin: 2px 0 0; font-size: 24px; font-weight: 650; line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; overflow-wrap: anywhere; }
.spot-text { max-width: 400px; font-size: 14.5px; line-height: 1.6; color: var(--text-2); overflow-wrap: anywhere; }
.spot-text p { margin: 0; }
.spot-text p + p { margin-top: 10px; }
.spot-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; }
.spot-btns .btn { height: 40px; padding: 0 20px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.modal-wrap.in .spot { animation: spotIn .5s var(--ease) both; }
@keyframes spotIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@media (max-width: 760px) {
  .spot-body { padding: 24px 20px 20px; }
  .spot-title { font-size: 21px; }
  .spot-btns .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .modal-wrap.in .spot { animation: none; } }

/* Admin → Announcements: the big announcement's editor */
.lbl .dim { font-weight: 400; letter-spacing: 0; text-transform: none; }
.spe-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px; margin-top: 14px; }
.spe-img-none { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 14px; border-radius: 12px; border: 1px dashed var(--line); font-size: 12.5px; }
.spe-img-none input { flex: 1 1 220px; min-width: 0; }
.spe-img-hint { flex-basis: 100%; font-size: 12px; }
.spe-img-has { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 12 / 5; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.spe-img-has img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spe-img-acts { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 6px; }
.spe-img-acts .btn { background: rgba(0, 0, 0, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.spe-btns { display: grid; gap: 8px; }
.spe-btn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto auto; gap: 8px; align-items: center; }
.spe-add { justify-self: start; }
.spe-acts { align-items: center; flex-wrap: wrap; }
.spe-acts .btn[hidden] { display: none; }
.spe-prev { display: grid; place-items: center; padding: 18px; border-radius: 14px; background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .05), rgba(0, 0, 0, .25)); }
.spe-prev .spot { width: min(420px, 100%); }
.spe-prev .spot :is(a, button) { pointer-events: none; }
@media (max-width: 760px) {
  .spe-row { grid-template-columns: minmax(0, 1fr); }
  .spe-btn { grid-template-columns: minmax(0, 1fr) auto; }
  .spe-btn input[data-k="link"] { grid-column: 1 / -1; grid-row: 2; }
  .spe-prev { padding: 10px; }
}
