/* 月下十二席 —— 夜幕古典牌桌。夜：青蓝月色；昼：暖金日色。 */
:root {
  --ink: #0d1220;
  --panel: #171e31;
  --panel-2: #1f2740;
  --gold: #d4a94e;
  --gold-dim: #8a7137;
  --parchment: #e8dcc0;
  --muted: #8b90a3;
  --blood: #c0463a;
  --jade: #58a983;
  --halo: rgba(212, 169, 78, .55);
  --ambient: radial-gradient(ellipse at 50% -10%, #24345c 0%, var(--ink) 62%);
}
body.day {
  --ambient: radial-gradient(ellipse at 50% -10%, #5c4a24 0%, #171308 65%);
  --halo: rgba(232, 190, 90, .6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  background: var(--ambient) fixed, var(--ink);
  color: var(--parchment);
  font: 15px/1.6 -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  transition: background 1.2s ease;
  overflow-x: hidden;
}

/* ── 开场遮罩 ── */
#overlay {
  position: fixed; inset: 0; z-index: 50;
  background: var(--ambient), var(--ink);
  display: flex; align-items: center; justify-content: center;
}
#overlay.hidden { display: none; }
.overlay-card { text-align: center; padding: 2rem; }
.overlay-title {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(2.4rem, 9vw, 4rem);
  letter-spacing: .35em; margin-right: -.35em;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(212,169,78,.35);
}
.overlay-sub { color: var(--muted); margin: .8rem 0 2.2rem; letter-spacing: .2em; }
#btn-start {
  font: inherit; font-size: 1.05rem; letter-spacing: .3em; text-indent: .3em;
  color: var(--ink); background: linear-gradient(180deg, #e7c36a, #b8903a);
  border: 1px solid #f0d68c; border-radius: 999px;
  padding: .8em 2.6em; cursor: pointer;
}
#btn-start:focus-visible { outline: 3px solid var(--halo); outline-offset: 3px; }
.overlay-hint { margin-top: 1.2rem; color: var(--muted); font-size: .85rem; min-height: 1.4em; }

/* ── 顶栏：吸顶半透明栏，日夜框居左、按钮居右，全员同高 ── */
header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: .5rem;
  padding: calc(.5rem + env(safe-area-inset-top)) .8rem .5rem;
  background: linear-gradient(180deg, rgba(13,18,32,.92) 60%, rgba(13,18,32,0));
  backdrop-filter: blur(6px);
}
header .brand { display: none; } /* 对局中不显示标题，把空间留给日夜框和按钮 */
.phase-chip {
  margin-left: auto;
  border: 1px solid var(--gold-dim); border-radius: 999px;
  color: var(--gold); font-size: .8rem; padding: .15em .9em; letter-spacing: .15em;
}
.god-toggle { display: flex; gap: .35em; align-items: center; color: var(--muted); font-size: .82rem; cursor: pointer; }
.god-toggle input { accent-color: var(--gold); }

/* ── 布局 ── */
main { max-width: 1100px; margin: 0 auto; padding: 0 .6rem 2rem; }
@media (min-width: 900px) {
  main { max-width: 760px; }
}

/* ── 牌桌（网易式）：头像贴屏幕两侧，中央半透明事件流 ── */
#table {
  display: grid;
  grid-template-columns: 76px 1fr 76px;
  gap: .4rem;
  margin: .3rem 0;
  width: 100%;
}
.seat-col { display: flex; flex-direction: column; gap: .55rem; align-items: center; }

#center { display: flex; min-height: 100%; }
#feed {
  flex: 1;
  background: rgba(13, 18, 32, .68);
  border: 1px solid rgba(212, 169, 78, .25);
  border-radius: 14px;
  backdrop-filter: blur(4px);
  padding: .6rem;
  overflow-y: auto;
  max-height: 62vh;
  display: flex; flex-direction: column; gap: .45rem;
}
.fd {
  background: rgba(31, 39, 64, .85);
  border: 1px solid #2a3352;
  border-radius: 10px;
  padding: .5em .8em;
  font-size: .84rem;
  color: var(--parchment);
  overflow-wrap: anywhere;
}
.fd-jd { border-color: var(--gold-dim); color: var(--gold); }             /* 法官播报 */
.fd-alert { border-color: var(--blood); color: #e8a49d; background: rgba(84,26,22,.55); } /* 死讯/出局 */
.fd-hl { border-color: var(--gold); background: rgba(97,76,29,.5); color: #f0dfae; }      /* 高亮公告：当选/胜负 */
.fd-vote { font-variant-numeric: tabular-nums; white-space: pre-wrap; color: var(--muted); }
.fd-vote .vb-title { color: var(--gold); letter-spacing: .15em; display: block; margin-bottom: .2em; }

/* ── 座位（贴边圆形徽章）── */
.seat { display: flex; flex-direction: column; align-items: center; transition: opacity .5s; width: 72px; position: relative; }
.seat .disc {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 2px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: "Songti SC", "STSong", serif;
  font-size: 1.2rem; color: var(--parchment);
  position: relative; overflow: hidden;
  background-size: cover; background-position: center top;
  box-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.seat .num {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  background: rgba(13,18,32,.85); color: var(--gold);
  font-size: .62rem; font-weight: 700;
  width: 100%; text-align: center; line-height: 1.5em; z-index: 2;
}
.seat.me::before {
  content: "你";
  position: absolute; top: -4px; right: 0; z-index: 4;
  background: var(--jade); color: var(--ink);
  font-size: .58rem; font-weight: 700;
  border-radius: 6px; padding: .1em .4em;
  box-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.seat .name { font-size: .68rem; color: var(--muted); margin-top: .2em; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.seat .tag { font-size: .58rem; color: var(--gold-dim); white-space: nowrap; display: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
body.god .seat .tag { display: block; }

/* ── 顶部日夜标 / 头部按钮 ── */
#day-medal {
  display: flex; align-items: center; gap: .45em;
  white-space: nowrap; flex-shrink: 0;
  height: 2.3rem;
  border: 1px solid var(--gold-dim); border-radius: 999px;
  padding: 0 .9em 0 .28em;
  box-shadow: inset 0 1px 0 rgba(240,214,140,.15), 0 2px 8px rgba(0,0,0,.35);
  background: radial-gradient(circle at 30% 30%, #2c3a63, #10162b);
}
body.day #day-medal { background: radial-gradient(circle at 30% 30%, #6b5526, #241a06); }
.medallion-face {
  border: 1px solid var(--gold-dim); border-radius: 50%;
  width: 1.7rem; height: 1.7rem; flex-shrink: 0; padding: .22rem; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center;
}
.medallion-face svg { width: 100%; height: 100%; fill: var(--gold); stroke: var(--gold); }
#phase-chip { color: var(--gold); font-size: .78rem; letter-spacing: .1em; white-space: nowrap; }

/* ── 顶部按钮组：常用操作醒目化，低频操作收入菜单 ── */
.head-btns { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.hbtn {
  font: inherit; font-size: .88rem; cursor: pointer;
  font-family: "Songti SC", "STSong", serif; letter-spacing: .12em; text-indent: .12em;
  color: var(--gold); background: linear-gradient(180deg, rgba(212,169,78,.14), rgba(212,169,78,.04));
  border: 1px solid var(--gold-dim); border-radius: 999px;
  height: 2.3rem; padding: 0 1em;
  white-space: nowrap; flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(240,214,140,.25), 0 2px 8px rgba(0,0,0,.35);
}
.hbtn:active { transform: translateY(1px); }
.hbtn.gold-solid {
  color: var(--ink); font-weight: 700;
  background: linear-gradient(180deg, #e7c36a, #b8903a);
  border-color: #f0d68c;
}
.hbtn:focus-visible { outline: 2px solid var(--halo); outline-offset: 2px; }

#menu-panel {
  position: fixed; top: calc(3.3rem + env(safe-area-inset-top)); right: .8rem; z-index: 55;
  min-width: 11em;
  background: linear-gradient(180deg, #1c2440, #10162b);
  border: 1px solid var(--gold-dim); border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.65);
  padding: .5rem; display: flex; flex-direction: column; gap: .25rem;
}
#menu-panel[hidden] { display: none; }
.menu-item {
  font: inherit; font-size: .92rem; letter-spacing: .12em; cursor: pointer;
  color: var(--parchment); text-align: left; text-decoration: none;
  background: transparent; border: none; border-radius: 8px;
  padding: .55em .9em; display: flex; align-items: center; gap: .5em;
}
.menu-item:hover, .menu-item:active { background: rgba(212,169,78,.12); color: var(--gold); }
.menu-item[hidden], .hbtn[hidden] { display: none; }
.menu-item.danger { color: var(--blood); }
.menu-item.god-toggle input { accent-color: var(--gold); }

/* ── AI 模型分配 ── */
.lobby-details {
  max-width: 22rem; margin: 0 auto .8rem; text-align: left;
  border: 1px solid #2a3352; border-radius: 10px; padding: .5rem .8rem;
  background: rgba(23,30,49,.5);
}
.lobby-details summary { color: var(--muted); font-size: .85rem; cursor: pointer; letter-spacing: .05em; }
.lobby-details[open] summary { color: var(--gold); margin-bottom: .5rem; }
#model-rows { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .8rem; }
.model-row { display: flex; align-items: center; gap: .4em; font-size: .8rem; color: var(--parchment); }
.model-row span { flex-shrink: 0; width: 2.8em; color: var(--muted); }
.model-row select {
  flex: 1; min-width: 0; font: inherit; font-size: .78rem;
  background: var(--panel); color: var(--parchment);
  border: 1px solid var(--gold-dim); border-radius: 6px; padding: .3em .3em;
}
.lobby-details[hidden] { display: none; }

/* ── 登录 ── */
#login-overlay { position: fixed; inset: 0; z-index: 60; background: var(--ambient), var(--ink); display: flex; align-items: center; justify-content: center; }
#login-overlay[hidden] { display: none; }
.login-box { display: flex; flex-direction: column; gap: .8rem; width: min(80vw, 18rem); margin: 0 auto; }
.login-box input {
  font: inherit; text-align: center; letter-spacing: .1em;
  background: var(--panel); color: var(--parchment);
  border: 1px solid var(--gold-dim); border-radius: 10px; padding: .7em 1em;
}
.login-box input:focus-visible { outline: 2px solid var(--halo); }


.seat.speaking .disc {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--halo), 0 0 26px var(--halo);
  animation: breathe 1.6s ease-in-out infinite;
}
@keyframes breathe { 50% { box-shadow: 0 0 0 6px var(--halo), 0 0 36px var(--halo); } }
@media (prefers-reduced-motion: reduce) { .seat.speaking .disc { animation: none; } }

.seat.dead { opacity: .45; }
.seat.dead .disc { filter: grayscale(.9) brightness(.6); border-color: #513; }
.seat.dead .disc::after {
  content: "出局";
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--blood); font-size: .9em; font-weight: 700;
  transform: rotate(-18deg); letter-spacing: .2em;
  text-shadow: 0 0 6px #000;
}

/* ── 日志（菜单内弹层，默认隐藏）── */
#log-overlay { position: fixed; inset: 0; z-index: 45; background: rgba(6,9,18,.7); display: flex; align-items: flex-end; justify-content: center; }
#log-overlay[hidden] { display: none; }
.log-card { max-height: 78vh; display: flex; flex-direction: column; }
.log-head {
  padding: .5rem 1rem; color: var(--gold); letter-spacing: .2em; font-size: .85rem;
  border-bottom: 1px solid #2a3352;
  font-family: "Songti SC", "STSong", serif;
}
#log { overflow-y: auto; padding: .6rem 1rem; font-size: .82rem; flex: 1; }
#log p { margin: .3em 0; color: var(--muted); overflow-wrap: anywhere; }
#log p.pub { color: var(--parchment); }
#log p.jd { color: var(--gold); }
#log p.secret { color: #7f89b8; display: none; }
body.god #log p.secret { display: block; }
#log p.death { color: var(--blood); }
#log p .who { color: var(--gold); }

/* ── 大厅 ── */
.lobby-row { display: flex; gap: .8rem; justify-content: center; margin: 1rem 0; }
#nickname {
  font: inherit; text-align: center; letter-spacing: .1em;
  background: var(--panel); color: var(--parchment);
  border: 1px solid var(--gold-dim); border-radius: 8px; padding: .5em 1em; width: 12em;
}
#lobby-seats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; max-width: 22rem; margin: 0 auto; }
.lobby-seat {
  font: inherit; color: var(--parchment); cursor: pointer;
  background: var(--panel); border: 1px solid #2a3352; border-radius: 10px; padding: .45em .2em;
  display: flex; flex-direction: column; align-items: center; gap: .1em;
}
.lobby-seat .ls-num { color: var(--gold); font-weight: 700; }
.lobby-seat .ls-name { font-size: .72rem; color: var(--muted); }
.lobby-seat.taken { border-color: var(--gold-dim); }
.lobby-seat.taken .ls-name { color: var(--parchment); }
.lobby-seat.mine { border-color: var(--gold); box-shadow: 0 0 0 2px var(--halo); }
button.gold {
  font: inherit; letter-spacing: .2em; text-indent: .2em; cursor: pointer;
  color: var(--ink); background: linear-gradient(180deg, #e7c36a, #b8903a);
  border: 1px solid #f0d68c; border-radius: 999px; padding: .55em 1.6em;
}
button.plain {
  font: inherit; cursor: pointer; color: var(--muted);
  background: transparent; border: 1px solid #2a3352; border-radius: 999px; padding: .55em 1.6em;
}
.chip-btn {
  font: inherit; font-size: .8rem; cursor: pointer; color: var(--gold);
  background: transparent; border: 1px solid var(--gold-dim); border-radius: 999px; padding: .15em .9em;
}
.seat.me .disc { border-color: var(--gold); }
.seat .handmark {
  position: absolute; top: 44px; left: -4px; z-index: 4;
  width: 1.55em; height: 1.55em; padding: .18em; box-sizing: border-box;
  background: rgba(13,18,32,.9);
  border: 1px solid var(--gold-dim); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 8px rgba(212,169,78,.35);
}
.seat .handmark svg { width: 100%; height: 100%; fill: var(--gold); }
.seat .handmark.withdrawn svg { fill: #6d7386; }
.seat .handmark.withdrawn { border-color: #6b2d27; box-shadow: none; }
.seat .handmark.withdrawn::before, .seat .handmark.withdrawn::after {
  content: ""; position: absolute; left: 15%; right: 15%; top: 50%;
  height: 2px; background: var(--blood); border-radius: 2px;
}
.seat .handmark.withdrawn::before { transform: rotate(45deg); }
.seat .handmark.withdrawn::after { transform: rotate(-45deg); }

.seat .wolfmark {
  position: absolute; top: -4px; left: 0; z-index: 4;
  background: linear-gradient(180deg, #d95c4e, #8f2c22); color: #fff;
  font-size: .58rem; font-weight: 700;
  border-radius: 0 0 8px 0; padding: .1em .4em;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
  box-shadow: 0 0 6px rgba(192,70,58,.5);
}
.seat .sheriff {
  position: absolute; top: 42px; right: -4px; z-index: 4;
  width: 1.7em; height: 1.7em;
  filter: drop-shadow(0 0 6px rgba(212,169,78,.65));
}
.seat .sheriff svg { width: 100%; height: 100%; }
.seat .sheriff .shield { fill: #d4a94e; stroke: #f0d68c; stroke-width: 1; }
.seat .sheriff .star { fill: #10162b; }
#board-select, #scene-select, #role-pref {
  font: inherit; background: var(--panel); color: var(--parchment);
  border: 1px solid var(--gold-dim); border-radius: 8px; padding: .55em .8em;
  min-width: 12em;
}

/* ── 操作面板 ── */
#action-panel {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(100%, 560px); z-index: 30;
  background: linear-gradient(180deg, #1c2440, #10162b);
  border: 1px solid var(--gold-dim); border-bottom: none; border-radius: 16px 16px 0 0;
  padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 40px rgba(0,0,0,.6);
}
.ap-head { display: flex; justify-content: space-between; color: var(--gold); letter-spacing: .15em; margin-bottom: .6rem; }
#ap-timer { font-variant-numeric: tabular-nums; }
.ap-seats { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; margin: .5rem 0; }
.ap-seat {
  font: inherit; cursor: pointer; color: var(--parchment);
  background: var(--panel-2); border: 1px solid #2a3352; border-radius: 8px; padding: .45em 0;
}
.ap-seat.sel, .ap-seat:active { border-color: var(--gold); color: var(--gold); }
.ap-row { display: flex; gap: .6rem; justify-content: flex-end; margin-top: .5rem; }
.ap-info { color: var(--muted); font-size: .85rem; margin: .4rem 0; }
.ap-err { color: var(--blood); font-size: .85rem; margin-bottom: .4rem; }
.ap-input, #ap-text {
  font: inherit; width: 100%; background: var(--panel); color: var(--parchment);
  border: 1px solid #2a3352; border-radius: 8px; padding: .5em .8em; margin-top: .5rem;
}
#ap-text { min-height: 4.5em; resize: vertical; }
#ptt { width: 100%; padding: .9em 0; font-size: 1.05rem; touch-action: none; user-select: none; -webkit-user-select: none; }
#ptt.rec { background: linear-gradient(180deg, #e77a6a, #b8433a); border-color: #f0958c; animation: breathe 1.2s infinite; }
button.big { display: block; }
.wolf-log { max-height: 7em; overflow-y: auto; background: var(--panel); border-radius: 8px; padding: .4em .7em; }
#log p.wolfmsg { color: #c98f8f; }

/* ── 身份抽屉 / 通知 / 托管 ── */
#drawer { position: fixed; inset: 0; z-index: 45; background: rgba(6,9,18,.7); display: flex; align-items: flex-end; justify-content: center; }
#drawer[hidden], #action-panel[hidden] { display: none; }
.drawer-card {
  width: min(100%, 560px); background: #141a2d; border: 1px solid var(--gold-dim);
  border-radius: 16px 16px 0 0; padding: 1rem 1.2rem calc(1rem + env(safe-area-inset-bottom));
}
.role-card { font-size: 1.05rem; margin-bottom: .6rem; color: var(--parchment); }
.role-card b { color: var(--gold); }
.role-card2 { display: flex; gap: 1rem; margin-bottom: .8rem; align-items: stretch; }
.role-art {
  width: 34%; max-width: 150px; aspect-ratio: 2/3; object-fit: cover;
  border-radius: 12px; border: 2px solid var(--gold-dim);
  box-shadow: 0 4px 20px rgba(0,0,0,.6);
}
.rc-info { flex: 1; display: flex; flex-direction: column; gap: .4rem; justify-content: center; }
.rc-name {
  font-family: "Songti SC", "STSong", serif;
  font-size: 1.5rem; color: var(--gold); letter-spacing: .2em;
}
.rc-skill { font-size: .88rem; color: var(--parchment); line-height: 1.6; }
.rc-mates { font-size: .88rem; color: var(--blood); font-weight: 700; }
#drawer-log { max-height: 9em; overflow-y: auto; color: var(--muted); font-size: .85rem; margin-bottom: .8rem; }
#notice {
  position: fixed; top: 3.2rem; left: 50%; transform: translateX(-50%) translateY(-20px);
  background: rgba(20,26,45,.95); color: var(--gold); border: 1px solid var(--gold-dim);
  border-radius: 999px; padding: .4em 1.4em; font-size: .88rem; z-index: 60;
  opacity: 0; pointer-events: none; transition: all .3s; max-width: 90vw;
}
#notice.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#btn-reclaim {
  position: fixed; right: 1rem; bottom: 5.5rem; z-index: 35;
  font: inherit; cursor: pointer; color: var(--ink);
  background: linear-gradient(180deg, #e7c36a, #b8903a); border: 1px solid #f0d68c;
  border-radius: 999px; padding: .5em 1.2em;
}

/* ── 场景背景层（body::before 半透明壁纸，昼夜切换）── */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background-image: var(--scene, none);
  background-size: cover; background-position: center;
  opacity: .38;
  transition: opacity 1.2s ease;
}
body.day::before { opacity: .45; }

/* ── 发言立绘（背景层：位于场景壁纸之上、界面内容之下）── */
#portrait {
  position: fixed; left: 50%; bottom: 0; z-index: 0;
  transform: translateX(-50%) translateY(16px);
  width: min(80vw, 440px); height: 58vh;
  background-size: contain; background-repeat: no-repeat; background-position: center bottom;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
  filter: drop-shadow(0 0 30px rgba(0,0,0,.65));
}
#portrait.show { opacity: .92; transform: translateX(-50%) translateY(0); }
header, main { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { #portrait { transition: opacity .3s; transform: none; } }

/* ── 夜晚等待提示 ── */
#night-veil {
  position: fixed; left: 50%; bottom: 4.2rem; transform: translateX(-50%);
  z-index: 6; display: flex; align-items: center; gap: .5em;
  color: #9db1e8; font-size: .85rem; letter-spacing: .2em;
  background: rgba(13,18,32,.75); border: 1px solid #2a3352;
  border-radius: 999px; padding: .4em 1.2em;
  pointer-events: none;
}
#night-veil[hidden] { display: none; }
#night-veil span {
  width: .6em; height: .6em; border-radius: 50%;
  background: #9db1e8; animation: veilpulse 1.8s ease-in-out infinite;
}
@keyframes veilpulse { 50% { opacity: .2; transform: scale(.6); } }
@media (prefers-reduced-motion: reduce) { #night-veil span { animation: none; } }

/* ── 复盘报告 ── */
#review-overlay { position: fixed; inset: 0; z-index: 48; background: rgba(6,9,18,.8); display: flex; align-items: center; justify-content: center; padding: 1rem; }
#review-overlay[hidden] { display: none; }
.review-card {
  width: min(100%, 640px); max-height: 84vh; display: flex; flex-direction: column;
  background: #141a2d; border: 1px solid var(--gold-dim); border-radius: 16px; padding: 1.2rem;
}
.review-title { font-family: "Songti SC", "STSong", serif; color: var(--gold); letter-spacing: .3em; font-size: 1.15rem; margin-bottom: .8rem; }
#review-body { overflow-y: auto; white-space: pre-wrap; font-size: .92rem; color: var(--parchment); margin-bottom: 1rem; flex: 1; }
a.chip-btn { text-decoration: none; display: inline-block; }

/* ── 结果横幅 ── */
#banner {
  position: fixed; left: 50%; top: 38%; transform: translate(-50%, -50%) scale(.9);
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(1.8rem, 7vw, 3rem); letter-spacing: .3em;
  color: var(--gold); text-shadow: 0 0 40px rgba(0,0,0,.9);
  background: rgba(13,18,32,.85); border: 1px solid var(--gold-dim); border-radius: 14px;
  padding: .6em 1.2em; opacity: 0; pointer-events: none; transition: all .6s ease; z-index: 40;
}
#banner.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
#banner.wolf { color: var(--blood); }
#banner.good { color: var(--jade); }
