/* ── Дурак — Luxe Casino theme (Монгол Покер 13-phi-ten-ээс яг хуулсан дизайн систем) ──
   Гүн ногоон фетр + бараан суурь, алтан аксент, serif гарчиг (Noto Serif) цэвэр sans
   биетэй (Noto Sans) — хоёул Монгол кирилл (Ө, Ү …) бүрэн дэмждэг. */
:root {
  --bg-0: #06100b;
  --felt-hi: #1a6b46;
  --felt-mid: #0f4e32;
  --felt-lo: #082f1f;
  --felt-edge: #062316;
  --gold: #d4af37;
  --gold-hi: #f4e3a1;
  --gold-deep: #8a6d1c;
  --cream: #f7f2e4;
  --ink: #1a1409;
  --suit-red: #b3202e;
  --panel: rgba(8, 30, 21, .72);
  --panel-2: rgba(13, 42, 30, .9);
  --line: rgba(212, 175, 55, .28);
  --text: #f3ead2;
  --text-dim: rgba(243, 234, 210, .62);
  --danger: #ff8a94;
  --good: #7fe3a6;
  --back-1: #155740;   /* хөзрийн ар талын градиент (фетр өнгөт) */
  --back-2: #0a2c1d;
}
* { box-sizing: border-box; margin: 0; padding: 0; }

/* hidden атрибут ҮРГЭЛЖ давамгайлна. Автор түвшний display (жишээ нь .btn-confirm{display:inline-flex})
   нь UA-гийн [hidden]{display:none}-ийг дардаг тул энэ дүрэмгүй бол JS-ийн el.hidden=true ажиллахгүй. */
[hidden] { display: none !important; }

/* Form control-ууд body фонтыг өвлөдөггүй — үүнгүй бол товч Arial руу унаж Ү/Ө муу гарна */
button, input, select, textarea { font-family: inherit; }

html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(212,175,55,.10) 0%, rgba(0,0,0,0) 42%),
    radial-gradient(circle at 50% 38%, var(--felt-hi) 0%, var(--felt-mid) 40%, var(--felt-lo) 74%, var(--bg-0) 100%);
  font-family: "Noto Sans", system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* main#app = ref .game-container */
main {
  width: 100%;
  max-width: 460px;
  height: 100vh;
  height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
  overflow: hidden;
}
.screen { flex: 1; min-height: 0; display: flex; flex-direction: column; }

/* ── Хөзөр (цэвэр CSS-ээр зурагдана — SVG sprite ашиглахгүй) ── */
.card {
  position: relative;
  font-family: "Inter", system-ui, sans-serif;   /* ранк нь зөвхөн латин; Inter J/Q/K-г тод гаргана */
  font-size: 12px;                 /* суурь; хүүхдүүд em ашиглана */
  border-radius: 9px;
  background: linear-gradient(158deg, #ffffff 0%, var(--cream) 70%, #ece3cc 100%);
  color: var(--ink);
  box-shadow: 0 3px 8px rgba(0,0,0,.45), inset 0 0 0 1px rgba(0,0,0,.06);
  border: 1.5px solid transparent;
  overflow: hidden;
}
.card.red { color: var(--suit-red); }
.card .corner { position: absolute; display: flex; flex-direction: column; align-items: center; line-height: .82; font-weight: 800; }
.card .corner.tl { top: .35em; left: .42em; }
.card .corner.br { bottom: .35em; right: .42em; transform: rotate(180deg); }
.card .corner b { font-size: 1.18em; letter-spacing: -.5px; }
.card .pip { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.5em; opacity: .9; }

/* Joker — алтан, хар, мөнгөлөг нүүр + том алиалагч; 1 > 2 > 3. */
.card.joker {
  --joker-accent: #b88724;
  --joker-line: #594016;
  --joker-face: #fff9e9;
  border-color: #cba54b;
  background: linear-gradient(145deg, #fff9e9, #f1dfa8);
  color: #795315;
}
.card.joker .pip { inset: 12% 0 17%; opacity: 1; }
.joker-art { width: 72%; height: 100%; overflow: visible; }
.jester-cap, .jester-collar { fill: var(--joker-accent); stroke: var(--joker-line); stroke-width: 1.4; stroke-linejoin: round; }
.jester-cap-seam { fill: none; stroke: var(--joker-face); stroke-width: 1.3; opacity: .6; }
.jester-bells { fill: var(--joker-accent); stroke: var(--joker-line); stroke-width: 1; }
.jester-face { fill: var(--joker-face); stroke: var(--joker-line); stroke-width: 1.6; }
.jester-band, .jester-smile { fill: var(--joker-line); }
.jester-eyes { fill: none; stroke: var(--joker-line); stroke-width: 2.2; stroke-linecap: round; }
.jester-jewel { fill: var(--joker-face); }
.card.joker-y {
  --joker-accent: #ffc400;
  --joker-line: #654400;
  --joker-face: #fff9df;
  background: linear-gradient(145deg, #fff16a, #ffd21c);
  border-color: #efb500;
  color: #503500;
}
.card.joker-b {
  --joker-accent: #d6b66c;
  --joker-line: #5b421f;
  background: linear-gradient(145deg, #343735, #151b18);
  border-color: #a78c51;
  color: #f1dfad;
}
.card.joker-g {
  --joker-accent: #8b98a6;
  --joker-line: #3c4b5a;
  --joker-face: #f8fbff;
  background: linear-gradient(145deg, #fcfdff, #d5dee6);
  border-color: #94a3b1;
  color: #3c4b5a;
}
.card .jok-tag {
  position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); z-index: 3;
  font-family: "Noto Sans", sans-serif; font-size: 10px; font-weight: 700; line-height: 1;
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.card.joker-y .jok-tag { background: #654400; color: #fff9df; }
.card.joker-b .jok-tag { background: var(--ink); color: var(--cream); }
.card.joker-g .jok-tag { background: #455565; color: #fff; }

/* Хөзрийн ар — ref .mini-back-ийн рецепт (зурагт ар талыг орлоно) */
/* 108-ынхтай ижил: тор хээ + дотор хүрээ + голын ромб */
.card.back, .cardx.back, .mini-back {
  background:
    repeating-linear-gradient(45deg, rgba(241,230,204,.1) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(241,230,204,.1) 0 1px, transparent 1px 9px),
    var(--back-2);
  border: 1px solid rgba(241,230,204,.45);
}
.card.back, .cardx.back { position: relative; color: transparent; }
.card.back::before, .cardx.back::before {
  content: ""; position: absolute; inset: 3px; border-radius: 3px;
  border: 1px solid rgba(241,230,204,.3); pointer-events: none;
}
.card.back::after, .cardx.back::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 28%; aspect-ratio: 1;
  transform: translate(-50%,-50%) rotate(45deg);
  border: 1px solid rgba(241,230,204,.6); background: var(--back-2); pointer-events: none;
}
.mini-back {
  width: 17px; height: 24px; border-radius: 3px; flex: 0 0 auto;
  margin-left: -10px;
  box-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.opp-fan .mini-back:first-child { margin-left: 0; }

/* ── Ээлжийн avatar цагираг (ringSVG) ── */
.seat-timer { position: absolute; inset: -4px; z-index: 3; display: block; pointer-events: none; }
.seat-timer svg { display: block; width: 100%; height: 100%; } /* drop-shadow ХАСАВ — цагираг 200мс тутам хөдөлдөг тул filter кадр бүрт дахин зурагдана */
.seat-timer .ring-bg { fill: none; stroke: rgba(255,77,95,.2); stroke-width: 2; }
.seat-timer .ring-fg {
  fill: none; stroke: #ff4d5f; stroke-width: 2.25; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 0;
  transition: stroke-dashoffset .22s linear;
}
.seat-timer.live .ring-fg,
.seat-timer.warn .ring-fg { stroke: #ff4d5f; }
.pod-timer { width: auto; height: auto; }

/* ── Товч ── */
.ctrl-btn {
  flex: 1 1 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 0;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .3px;
  cursor: pointer;
  transition: transform .1s, box-shadow .2s, filter .2s;
}
.ctrl-btn:active { transform: scale(.97); }
.ctrl-btn.primary {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: #2a210a; border-color: var(--gold-hi);
  box-shadow: 0 4px 14px rgba(212,175,55,.35);
}
.ctrl-btn:disabled { background: rgba(255,255,255,.06); color: rgba(243,234,210,.32); border-color: rgba(255,255,255,.08); box-shadow: none; cursor: default; }
.ctrl-btn.btn-ready-on { background: rgba(127,227,166,.2); color: var(--good); border-color: rgba(127,227,166,.45); box-shadow: none; }
/* ── Ээлжийн мөр (лавлагааны .turn-line — ref13/style.css:161-176-аас яг хуулсан) ── */
.turn-line {
  position: relative;
  font-family: "Noto Serif", serif;
  font-size: 16px; font-weight: 800; letter-spacing: .3px;
  color: var(--text);
  padding: 7px 18px; border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  min-height: 32px;
}
.turn-line.mine {
  color: #2a210a;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  border-color: var(--gold-hi);
  box-shadow: 0 4px 16px rgba(212,175,55,.4);
}
.ctrl-btn .ic, .ctrl-btn .ic-sm { width: 16px; height: 16px; flex: none; }
.btn-confirm {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: #2a210a; border: 1px solid var(--gold-hi); border-radius: 13px;
  padding: 14px; font-size: 16px; font-weight: 800; letter-spacing: 1px; cursor: pointer;
  box-shadow: 0 6px 20px rgba(212,175,55,.4);
}
.btn-confirm:active { transform: scale(.98); }
.btn-confirm:disabled {
  background: rgba(255,255,255,.06); color: rgba(243,234,210,.32);
  border-color: rgba(255,255,255,.08); box-shadow: none; cursor: default;
}
.btn-confirm .ic { width: 18px; height: 18px; flex: none; }
@media (prefers-reduced-motion: reduce) { .ctrl-btn, .btn-confirm { transition: none; } }

/* ── Оверлей карт (хүлээлгийн өрөө / үр дүн / мэдэгдэл / хуудсууд) ── */
.overlay-card {
  position: relative;
  background:
    radial-gradient(140% 90% at 50% 0%, rgba(212,175,55,.12), rgba(0,0,0,0) 55%),
    linear-gradient(180deg, var(--felt-mid), var(--felt-lo));
  background-color: var(--felt-lo);
  border: 1px solid var(--gold-deep);
  border-radius: 20px;
  padding: 26px 22px;
  width: 100%; max-width: 380px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.6), inset 0 0 0 1px rgba(212,175,55,.18);
  max-height: 94vh; overflow-y: auto;
}
.setup-head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 16px; }
.setup-title {
  font-family: "Noto Serif", serif;
  font-size: 27px; font-weight: 900; line-height: 1.05; letter-spacing: .5px;
  color: var(--gold-hi);
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.count-label { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 2px; margin-bottom: 9px; }
.count-row { display: flex; gap: 10px; justify-content: center; margin-bottom: 18px; }
.count-btn {
  min-width: 54px; height: 54px; padding: 0 14px; border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text);
  font-family: "Noto Serif", serif; font-size: 15px; font-weight: 800; cursor: pointer;
  transition: transform .1s, box-shadow .2s;
}
.count-btn:active { transform: scale(.95); }
.count-btn.selected {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  border-color: var(--gold-hi); color: #2a210a;
  box-shadow: 0 4px 16px rgba(212,175,55,.4);
}

/* Үр дүн / онооны самбар */
.scoreboard { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; text-align: left; }
.sb-row {
  display: flex; align-items: center; gap: 9px;
  background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.05);
  border-radius: 11px; padding: 10px 13px;
}
.sb-row.lead { background: linear-gradient(90deg, rgba(212,175,55,.22), rgba(212,175,55,.06)); border-color: var(--line); }
.sb-rank { font-size: 12px; font-weight: 700; color: var(--text-dim); width: 16px; text-align: center; flex: none; }
.sb-name { flex: 1; font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-row .ava { width: 28px; height: 28px; font-size: 12px; border: 1px solid var(--gold-deep); }
.sb-score { font-family: "Noto Serif", serif; font-size: 17px; font-weight: 800; min-width: 52px; text-align: right; color: var(--gold-hi); }
.sb-score small { font-size: 10px; opacity: .6; font-weight: 600; }

.winner-emoji { font-size: 50px; line-height: 1; }
.winner-label { font-size: 13px; letter-spacing: 4px; color: var(--gold); margin-top: 4px; font-weight: 700; }
.winner-name { font-family: "Noto Serif", serif; font-size: 28px; font-weight: 900; color: var(--gold-hi); margin: 4px 0 16px; }
.rematch-status { min-height: 18px; font-size: 13px; opacity: .75; margin: 6px 0 10px; }

/* Аватар (pod, суудлын мөр, самбарт нийтлэг) */
.ava { position: relative; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--cream); overflow: hidden; flex: none; }
.ava img { width: 100%; height: 100%; object-fit: cover; }
/* SVG икон — виewBox-оос өөр дотоод хэмжээгүй тул ГЛОБАЛ хэмжээ заавал хэрэгтэй
   (эс бөгөөс замбараагүй 300x150 суурь хэмжээ эсвэл 0x0 болно). */
.ic { width: 18px; height: 18px; flex: none; }
.ic-sm { width: 14px; height: 14px; flex: none; }

/* ── Toast ── */
.toast {
  position: fixed; top: 24%; left: 50%;
  transform: translate(-50%, -50%) scale(.8);
  background: var(--panel-2); border: 1px solid var(--gold-deep);
  border-radius: 14px; padding: 12px 26px;
  font-family: "Noto Serif", serif; font-size: 16px; font-weight: 800; color: var(--gold-hi);
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; z-index: 60;
  max-width: 90%; text-align: center;
}
/* display:none нь transition-ийг үхүүлдэг тул toast нь hidden атрибут ХЭРЭГЛЭХГҮЙ —
   зөвхөн .show класс дээр opacity/transform-оор гарч ирж, буцаж уусна. */
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ── Эможи / үг хэллэгийн сонгогч ── */
.emote-picker {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 100%; max-width: 460px; z-index: 60;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--felt-lo); border: 1px solid var(--line); border-bottom: 0;
  border-radius: 22px 22px 0 0;
  padding: 8px 16px calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 32px rgba(0,0,0,.5), 0 0 0 100vmax rgba(0,0,0,.45); /* ард бүдгэрүүлэх; гадна дарвал хаагдана */
  animation: csUp .22s cubic-bezier(.2,.8,.2,1);
}
@keyframes csUp { from { transform: translate(-50%, 24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .emote-picker { animation: none; } }
.emote-picker::before { content: ''; width: 36px; height: 4px; border-radius: 999px; background: rgba(247,242,228,.3); margin: 0 auto; }
.cs-head { display: flex; align-items: center; justify-content: space-between; }
.cs-head b { font: 700 18px/1.3 "Noto Sans", sans-serif; color: var(--text); }
.cs-close { width: 36px; height: 36px; margin-right: -6px; border: 0; border-radius: 50%; padding: 0; display: grid; place-items: center;
  background: rgba(247,242,228,.08); color: var(--text); cursor: pointer; position: relative; }
.cs-close::after { content: ''; position: absolute; inset: -4px; }
.cs-close svg { width: 18px; height: 18px; }
/* Мессежийн түүх */
.cs-log { display: flex; flex-direction: column; gap: 8px; max-height: 26vh; min-height: 64px; overflow-y: auto; overscroll-behavior: contain;
  padding: 10px; border-radius: 16px; background: rgba(0,0,0,.22); }
.cs-empty { margin: auto; font-size: 13px; color: var(--text-dim); }
.cs-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 85%; }
.cs-msg .ava { width: 26px; height: 26px; font-size: 12px; }
.cs-msg.me { align-self: flex-end; }
.cs-bub { padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: rgba(247,242,228,.1); color: var(--text);
  font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.cs-msg.me .cs-bub { border-radius: 16px 16px 4px 16px; background: var(--cream); color: var(--ink); }
.cs-name { display: block; font-size: 12px; font-weight: 600; color: var(--text-dim); margin-bottom: 2px; }
/* Хурдан хариу */
.cs-emojis { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.cs-emoji { aspect-ratio: 1; width: 100%; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  font-size: 22px; line-height: 1; background: rgba(247,242,228,.07); transition: background-color .15s, transform .1s; }
.cs-emoji:active { transform: scale(.88); }
.cs-phrases { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.cs-phrases::-webkit-scrollbar { display: none; }
.cs-phrase { flex: none; min-height: 38px; padding: 0 16px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font: 700 14px "Noto Sans", sans-serif; color: var(--text); background: transparent; border: 1.5px solid rgba(247,242,228,.4);
  transition: background-color .15s, transform .1s; }
.cs-phrase:active { transform: scale(.95); background: rgba(247,242,228,.12); }
@media (hover: hover) { .cs-emoji:hover, .cs-phrase:hover { background: rgba(247,242,228,.14); } }
/* Бичих мөр */
.cs-bar { display: flex; gap: 8px; align-items: center; }
.cs-input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(247,242,228,.25);
  background: rgba(0,0,0,.25); color: var(--text); font: 500 16px "Noto Sans", sans-serif; outline: none; transition: border-color .15s; }
.cs-input::placeholder { color: var(--text-dim); }
.cs-input:focus { border-color: var(--text); }
.cs-send { width: 48px; height: 48px; flex: none; border: 0; border-radius: 50%; padding: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--cream); color: var(--ink); transition: opacity .15s, transform .1s; }
.cs-send:disabled { opacity: .35; cursor: default; }
.cs-send:not(:disabled):active { transform: scale(.92); }
.cs-send svg { width: 20px; height: 20px; }

.score-btn {
  position: fixed; top: calc(8px + env(safe-area-inset-top)); right: max(8px, env(safe-area-inset-right)); z-index: 70;
  width: 44px; height: 44px; border-radius: 50%; padding: 0; border: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(0,0,0,.3); color: var(--cream);
}
.score-btn:active { transform: scale(.94); background: rgba(0,0,0,.45); }
.score-btn svg { width: 20px; height: 20px; }
.chat-btn { right: max(8px, env(safe-area-inset-right)); }
body:not([data-screen="table"]) .score-btn { display: none; }

/* Суудал дээр хөвөх реакцийн бөмбөлөг */
.emotes { position: absolute; inset: 0; z-index: 9; pointer-events: none; }
.emote-bubble {
  position: absolute; max-width: 60vw; white-space: nowrap; text-align: center;
  transform: translate(-50%, -50%) translateY(6px) scale(.6);
  padding: 7px 13px; border-radius: 14px;
  font-family: "Noto Serif", serif; font-size: 14px; font-weight: 800;
  color: var(--ink); background: var(--cream);
  border: 1px solid var(--gold-deep);
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .22s cubic-bezier(.2,1.4,.5,1);
}
.emote-bubble.emoji-only {
  font-size: 32px; line-height: 1; padding: 0; background: none;
  border: none; box-shadow: none; filter: drop-shadow(0 2px 5px rgba(0,0,0,.5));
}
.emote-bubble.show { opacity: 1; transform: translate(-50%, -50%) translateY(0) scale(1); }
.callout {
  position: absolute; z-index: 12; pointer-events: none;
  transform: translate(-50%, -50%) scale(.6); opacity: 0;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.5)); line-height: 1;
  transition: opacity .18s ease, transform .22s cubic-bezier(.2,1.4,.5,1);
}
.callout.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ── Дүрэм (cream «бүртгэлийн хуудас») ── */
.score-sheet { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(3,10,7,.68); backdrop-filter: blur(4px); padding: 18px; }
/* font-size суурь нь em-ээр бүх хүснэгтийг масштаблана (олон тойрог → жижгэрнэ) */
.score-paper {
  background: linear-gradient(158deg, #ffffff 0%, var(--cream) 70%, #ece3cc 100%);
  color: var(--ink); border: 1px solid var(--gold-deep); border-radius: 12px;
  padding: 18px 16px; max-width: 94%; max-height: 86vh; overflow: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,.6), inset 0 0 0 1px rgba(212,175,55,.25);
  font-size: 14px;
}
.score-paper h3 { font-family: "Noto Serif", serif; font-size: 1.35em; font-weight: 800; margin-bottom: .7em; text-align: center; color: var(--ink); }
.score-paper.rules { max-width: 340px; text-align: left; }
.score-paper.rules p { font-size: .9em; line-height: 1.55; margin: .7em 0; color: rgba(26,20,9,.88); }

/* ── Мэдэгдлийн зөвшөөрөл ── */
.notif-ask { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(3,10,7,.68); backdrop-filter: blur(4px); padding: 22px; }
.na-ic { font-size: 38px; line-height: 1; margin-bottom: 10px; }
.na-title { font-family: "Noto Serif", serif; font-size: 20px; font-weight: 800; color: var(--gold-hi); margin-bottom: 8px; }
.na-body { font-size: 12.5px; color: var(--text-dim); line-height: 1.5; margin-bottom: 18px; }
.na-actions { display: flex; gap: 9px; }
