/* ==========================================================================
   PACKS · VAULT · OCTAVE · DAILY READ · DRAFT · STORY
   ========================================================================== */

/* --- pack wrappers (pure CSS until final art) ------------------------- */
.pack {
  --pc: var(--gold);
  position: relative; width: 150px; aspect-ratio: 5 / 8; flex: none;
  border-radius: 6px;
  background:
    repeating-radial-gradient(circle at 50% 44%, transparent 0 9px, color-mix(in srgb, var(--pc) 22%, transparent) 9px 10px),
    radial-gradient(circle at 50% 44%, color-mix(in srgb, var(--pc) 35%, transparent), transparent 55%),
    linear-gradient(160deg, #1b1822, #09080c 55%, #17141d);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 55%, transparent), inset 0 0 0 6px #0a090d, inset 0 0 0 7px color-mix(in srgb, var(--pc) 35%, transparent), 0 20px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.pack::before, .pack::after { /* crimped foil seals */
  content: ''; position: absolute; left: 0; right: 0; height: 14px;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--pc) 70%, #000) 0 3px, color-mix(in srgb, var(--pc) 35%, #000) 3px 6px);
}
.pack::before { top: 0; }
.pack::after { bottom: 0; }
.pack__emblem { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); font-family: var(--font-display); font-weight: 700; font-size: 54px; color: var(--pc); text-shadow: 0 0 20px color-mix(in srgb, var(--pc) 70%, transparent); }
.pack__name { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: 0.3em; color: var(--pc); padding-left: 0.3em; }
.pack__sheen { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 45%, transparent 60%); background-size: 250% 100%; animation: btnsheen 3.4s ease-in-out infinite; mix-blend-mode: overlay; }
.pack--collector { --pc: #f4f0ff; }
.pack--collector .pack__sheen { background: linear-gradient(115deg, transparent 20%, rgba(255, 90, 140, 0.45) 35%, rgba(255, 220, 110, 0.45) 45%, rgba(110, 255, 200, 0.45) 55%, rgba(120, 170, 255, 0.45) 65%, transparent 80%); background-size: 250% 100%; }
.pack--event { --pc: #9fb2ff; }
.pack--faction { --pc: var(--fc, var(--gold)); }

.shelf { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.shelf__item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; }
.shelf__item .pack { width: 120px; }
.shelf__count { font-weight: 800; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }
.odds { font-size: 12px; color: var(--muted); line-height: 1.6; }
.odds b { color: var(--bone); }

/* --- the opening ceremony ----------------------------------------------- */
.opening { position: absolute; inset: 0; z-index: 45; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: radial-gradient(40% 30% at 50% 42%, rgba(255, 240, 200, 0.14), transparent 70%), radial-gradient(120% 80% at 50% 110%, #120f18, #040406 60%);
  overflow: hidden; }
.opening::before { content: ''; position: absolute; left: 50%; top: -10%; width: 180px; height: 80%; transform: translateX(-50%); background: linear-gradient(to bottom, rgba(255, 244, 214, 0.18), transparent); filter: blur(10px); pointer-events: none; }
.opening.is-hush { background: #000; transition: background 0.3s; }
.opening.is-hush::before { opacity: 0; }
.opening__hint { font-size: 13px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); font-weight: 700; min-height: 18px; }
.opening .pack { width: 190px; cursor: pointer; touch-action: none; transition: transform 0.1s; }
.opening .pack.charging { animation: tremble 0.08s linear infinite; }
@keyframes tremble { 50% { transform: translate(1px, -1px) rotate(0.3deg); } }
.charge { position: absolute; left: 50%; top: 50%; width: 250px; height: 250px; margin: -125px; pointer-events: none; }
.charge circle { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; filter: drop-shadow(0 0 6px var(--gold)); }
.tear-top { position: absolute; z-index: 3; animation: tearOff 0.6s var(--ease-out) forwards; }
@keyframes tearOff { to { transform: translate(120px, -260px) rotate(38deg); opacity: 0; } }
.burst { position: absolute; left: 50%; top: 45%; width: 20px; height: 20px; margin: -10px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, #fff, rgba(255, 240, 200, 0.6) 40%, transparent 70%); animation: burst 0.7s var(--ease-out) forwards; }
@keyframes burst { to { transform: scale(40); opacity: 0; } }

.reveal-stage { position: relative; width: 240px; aspect-ratio: 5 / 7; perspective: 1200px; }
.flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.6s var(--ease-out); cursor: pointer; }
.flip.flipped { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip__back { transform: rotateY(0deg); }
.flip__front { transform: rotateY(180deg); }
.flip__face .card { --cw: 240px; }
.clue { position: absolute; inset: -10px; border-radius: 14px; pointer-events: none; opacity: 0; transition: opacity 0.5s; }
.clue.on { opacity: 1; }
.clue--rare { box-shadow: 0 0 24px 4px rgba(220, 230, 245, 0.55); }
.clue--epic { box-shadow: 0 0 30px 6px rgba(199, 125, 255, 0.6); }
.clue--legendary { box-shadow: 0 0 40px 10px rgba(233, 196, 111, 0.75); animation: cluePulse 1.1s ease-in-out infinite; }
.clue--mythic, .clue--immortal { box-shadow: 0 0 60px 14px rgba(255, 255, 255, 0.7), 0 0 120px 30px rgba(139, 92, 246, 0.6); animation: cluePulse 0.7s ease-in-out infinite; }
@keyframes cluePulse { 50% { filter: brightness(1.6); } }
.dealt { display: flex; gap: 8px; justify-content: center; min-height: 70px; }
.dealt .card { --cw: 48px; }
.rarity-word { position: absolute; left: 0; right: 0; top: 12%; z-index: 4; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 44px; letter-spacing: 0.3em; padding-left: 0.3em; pointer-events: none; animation: pop 1.6s var(--ease-out) forwards; }
.rarity-word--legendary { color: var(--gold-hi); text-shadow: 0 0 24px var(--gold); }
.rarity-word--mythic { color: #fff; text-shadow: 0 0 30px #fff, 0 0 60px #8b5cf6; font-size: 54px; }
.rarity-word--immortal { color: #fff6dc; text-shadow: 0 0 30px #fff, 0 0 60px #c9a24a; font-size: 50px; }
.rings-burst { position: absolute; left: 50%; top: 45%; width: 80px; height: 80px; margin: -40px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.8); pointer-events: none; animation: readRing 1.4s var(--ease-out) forwards; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.summary--5 { grid-template-columns: repeat(3, 1fr); }
.summary .cell { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.summary .card { --cw: 104px; }
.summary .tag { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); z-index: 5; }

/* --- vault ---------------------------------------------------------------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 0; padding: 9px 14px; font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.tabs button.on { color: #120d05; background: linear-gradient(180deg, #fbe7ae, #e9c46f 50%, #b88a2a); }
.vault-head { display: flex; align-items: flex-end; gap: 12px; margin: 14px 0 10px; }
.vault-head .h1 { margin: 0; }
.vault-count { font-family: var(--font-ui); font-weight: 800; font-size: 28px; }
.vault-count span { color: var(--muted); font-size: 18px; }
.vault-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 8px; }
.vault-grid .cell { position: relative; }
.vault-grid .card { --cw: 100%; width: 100%; }
.silhouette {
  width: 100%; aspect-ratio: 5 / 7; border-radius: 6px; position: relative;
  background: linear-gradient(160deg, #121117, #08080b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: grid; place-items: center; color: rgba(255, 255, 255, 0.07);
  font-family: var(--font-display); font-weight: 700; font-size: 34px;
}
.silhouette small { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-family: var(--font-ui); font-size: 9px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.28); text-transform: uppercase; }
.count-badge { position: absolute; right: 2px; top: 2px; z-index: 6; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #000; color: var(--gold); font-size: 12px; font-weight: 800; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(233, 196, 111, 0.5); }
.legacy { width: 100%; max-width: 340px; }
.legacy h3 { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.legacy dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; font-size: 14px; }
.legacy dt { color: var(--muted); }
.legacy dd { margin: 0; font-weight: 700; text-align: right; }
.vault-actions { display: flex; gap: 8px; width: 100%; max-width: 340px; }
.vault-actions .btn { flex: 1; }

/* --- octave builder --------------------------------------------------------- */
.oct-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.oct-slots .card { --cw: 100%; width: 100%; }
.oct-slot-empty { aspect-ratio: 5 / 7; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(233, 196, 111, 0.25); background: rgba(233, 196, 111, 0.03); display: grid; place-items: center; color: rgba(233, 196, 111, 0.35); font-size: 26px; }
.synergy { display: flex; flex-wrap: wrap; gap: 6px; }
.synergy span { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; padding: 4px 8px; background: rgba(255, 255, 255, 0.05); text-transform: uppercase; }
.synergy span.hot { background: rgba(233, 196, 111, 0.16); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(233, 196, 111, 0.4); }
.pick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pick-grid .cell { position: relative; }
.pick-grid .card { --cw: 100%; width: 100%; }
.pick-grid .cell.in .card { filter: brightness(0.35); }
.pick-grid .cell.in::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; color: var(--gold); font-weight: 800; }

/* --- daily read -------------------------------------------------------- */
.dr-board { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dr-side { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px; }
.dr-side .card { --cw: 130px; }
.dr-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 13px; }
.dr-facts div { text-align: center; padding: 8px 4px; background: rgba(255, 255, 255, 0.04); }
.dr-facts b { display: block; font-size: 18px; }
.bar { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 5px 0; }
.bar .progress { flex: 1; height: 10px; }
.bar b { width: 44px; text-align: right; }

/* --- story ----------------------------------------------------------- */
.chapter { display: flex; gap: 12px; align-items: center; padding: 14px; }
.chapter__no { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--gold); width: 46px; text-align: center; }
.chapter.locked { opacity: 0.4; }
.scene { position: absolute; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px 22px calc(env(safe-area-inset-bottom, 0px) + 30px); background: radial-gradient(90% 60% at 50% 20%, rgba(233, 196, 111, 0.1), transparent 70%), #050507; }
.scene__panel { font-family: var(--font-display); font-size: 24px; line-height: 1.35; color: #eee5d2; min-height: 40%; animation: fadeIn 0.6s; }
.scene__panel .speaker { display: block; font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 700; }
.scene__panel em { color: var(--muted); }
.scene__tap { margin-top: 24px; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--dim); text-align: center; }

/* codex */
.codex-entry { padding: 14px 16px; }
.codex-entry h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 22px; letter-spacing: 0.04em; }
.codex-entry p { margin: 0; color: #d6cdbd; line-height: 1.5; font-size: 15px; }
.dr-rk { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; }
.dr-rk .lane { cursor: pointer; }
.dr-opts { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.dr-opt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.dr-opt > span { display: flex; align-items: center; gap: 4px; min-width: 76px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.dr-opt > span .ico { width: 16px; height: 16px; }
.chip { border: 0; min-height: 34px; padding: 0 10px; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: var(--bone); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); border-radius: 17px; }
.chip .ico { width: 15px; height: 15px; }
.chip.on { box-shadow: inset 0 0 0 2px var(--gold), 0 0 12px rgba(233, 196, 111, 0.35); color: var(--gold-hi); }
.dr-line { margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; font-size: 14px; }
.dr-line .ico { width: 18px; height: 18px; vertical-align: -3px; }

/* --- training ------------------------------------------------------------ */
.tut-steps { display: flex; flex-direction: column; gap: 8px; }
.tut-step { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); opacity: 0.55; }
.tut-step > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-family: var(--font-display); font-weight: 700; color: var(--muted); box-shadow: inset 0 0 0 1px rgba(233, 196, 111, 0.3); }
.tut-step b { display: block; font-family: var(--font-display); font-size: 17px; letter-spacing: 0.04em; }
.tut-step small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.tut-step em { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: var(--gold); }
.tut-step.done { opacity: 0.8; }
.tut-step.done > span { background: var(--gold); color: #1b1307; }
.tut-step.now { opacity: 1; box-shadow: inset 0 0 0 1px var(--gold), 0 0 22px rgba(233, 196, 111, 0.18); background: rgba(233, 196, 111, 0.06); }
.tut-step.now > span { color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); }
.tut-reveal { position: absolute; inset: 0; z-index: 46; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px 18px calc(env(safe-area-inset-bottom, 0px) + 24px); background: radial-gradient(80% 50% at 50% 35%, rgba(233, 196, 111, 0.14), transparent 70%), #050507; overflow-y: auto; animation: fadeIn 0.3s; }
.tut-reveal__row { display: flex; gap: 8px; justify-content: center; }
.tut-reveal__line { text-align: center; max-width: 340px; }
.tut-reveal__bios { max-width: 360px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.tut-reveal__bios b { color: var(--bone); }
.card.tut-in { animation: tutIn 0.6s var(--ease-out) backwards; }
@keyframes tutIn { 0% { transform: perspective(700px) translateY(60px) rotateY(90deg) scale(0.8); opacity: 0; filter: brightness(2.5); } 60% { transform: perspective(700px) rotateY(0) scale(1.06); opacity: 1; } 100% { transform: none; filter: none; } }

/* --- card history ---------------------------------------------------------- */
.history { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1px solid rgba(233, 196, 111, 0.35); display: flex; flex-direction: column; gap: 10px; max-height: 260px; overflow-y: auto; }
.history li { position: relative; display: flex; flex-direction: column; gap: 1px; font-size: 13px; line-height: 1.4; }
.history li::before { content: ''; position: absolute; left: -19px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #0b0a10; box-shadow: inset 0 0 0 2px var(--gold); }
.history li.origin::before { background: var(--gold); }
.history time { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.history span { color: var(--bone); }
.card-bio { text-align: center; max-width: 330px; font-size: 16px; line-height: 1.45; }
.copy-tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 340px; }
.copy-tabs button { border: 0; padding: 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.copy-tabs button small { font-size: 10px; font-weight: 600; opacity: 0.7; letter-spacing: 0.06em; }
.copy-tabs button.on { color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }

.codex-teaser { display: block; width: 100%; border: 0; text-align: left; color: inherit; cursor: pointer; }
.codex-teaser__text { margin-top: 4px; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tut-stars { color: var(--gold) !important; letter-spacing: 0.2em; font-size: 14px !important; }
/* octave advisor */
.advisor { display: flex; flex-direction: column; gap: 8px; }
.advisor__score b { font-family: var(--font-display); font-size: 34px; color: var(--gold); margin-right: 6px; }
.advisor__score span { font-size: 13px; color: var(--muted); }
.advisor__bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.advisor__bar i { display: block; height: 100%; background: linear-gradient(90deg, #a8812f, var(--gold)); }
.advisor__cover { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.advisor__cover span { display: inline-flex; align-items: center; gap: 4px; }
.advisor__cover .ico { width: 14px; height: 14px; }
.advisor__cover .weak { color: var(--danger); }
.advisor__links { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--gold); }
.advisor__links span { padding: 2px 8px; border-radius: 10px; background: rgba(233, 196, 111, 0.08); box-shadow: inset 0 0 0 1px rgba(233, 196, 111, 0.25); }
.advisor__swap { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 10px; border: 0; border-radius: 6px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); color: var(--bone); font: inherit; font-size: 14px; cursor: pointer; }
.advisor__swap em { font-style: normal; font-weight: 800; color: #7dffa0; }
/* shop */
.shop-bal { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.shop-bal i, .shop-price i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; background: radial-gradient(circle at 40% 35%, #fff, #b9c6dc 50%, #53607a); }
.shop-bal b { font-family: var(--font-display); font-size: 26px; color: var(--bone); }
.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 6px; }
.shop-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 8px; border: 0; color: var(--bone); font: inherit; cursor: pointer; text-align: center; }
.shop-item__art { width: 64px; height: 92px; background: center / contain no-repeat; }
.shop-item b { font-size: 14px; }
.shop-item em { font-style: normal; font-size: 11px; color: var(--gold); }
.shop-item[data-short] { opacity: 0.55; }
.shop-price { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-weight: 800; }
.shop-list { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.shop-row { display: flex; align-items: center; gap: 10px; padding: 12px; border: 0; text-align: left; color: var(--bone); font: inherit; cursor: pointer; }
.shop-row b { font-size: 15px; }
.shop-row em { font-style: normal; font-size: 11px; color: #7dffa0; }
.shop-row span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.shop-row .shop-cash { display: inline; margin: 0; font-size: 16px; font-weight: 800; color: var(--gold); }
.shop-row--hero { box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 18px -6px rgba(233, 196, 111, 0.6); }
.shop-row[disabled] { opacity: 0.55; cursor: default; }
/* alliance */
.al-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.al-row { display: flex; align-items: center; gap: 10px; padding: 10px; }
.al-row img, .al-banner img { width: 38px; height: 38px; object-fit: contain; }
.al-row b { display: block; font-size: 15px; }
.al-row span { font-size: 12px; color: var(--muted); }
.al-input { display: block; width: 100%; box-sizing: border-box; min-height: 42px; margin-top: 8px; padding: 0 10px; background: rgba(255, 255, 255, 0.05); border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); color: var(--bone); font: inherit; font-size: 16px; }
.al-fac { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.al-banner { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 10px; background: linear-gradient(135deg, color-mix(in srgb, var(--fc) 18%, transparent), rgba(10, 9, 14, 0.6)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc) 40%, transparent); }
.al-banner img { width: 64px; height: 64px; }
.al-chat { max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 5px; margin-top: 8px; font-size: 14px; }
.al-msg b { color: var(--gold); margin-right: 4px; }
.al-msg.mine b { color: #7fd0ff; }
.al-role { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.al-role.r-leader { color: var(--gold); }
.al-role.r-officer { color: #7fd0ff; }
#app .al-input, #app .al-chat { -webkit-user-select: text; user-select: text; }
