/* 狼人杀 v1：独立深色牌桌，默认静音，仅使用轻量状态动效。 */
:root {
  --werewolf-bg: #080808;
  --werewolf-surface: #171717;
  --werewolf-surface-raised: #202020;
  --werewolf-text: #f7f7f7;
  --werewolf-muted: #a3a3a3;
  --werewolf-divider: rgba(255,255,255,.12);
  --werewolf-danger: #b42318;
  --werewolf-danger-soft: rgba(180,35,24,.18);
  --werewolf-good: #5fd18a;
}

.wechat-app--werewolf {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9000 !important;
  width: 100vw !important;
  height: 100dvh !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background: var(--werewolf-bg) !important;
}

.wechat-app--werewolf .wechat-header,
.wechat-app--werewolf .wechat-tabbar { display: none !important; }

.wechat-app--werewolf .wechat-content--werewolf {
  position: fixed;
  inset: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--werewolf-text);
  background: var(--werewolf-bg) !important;
  scrollbar-width: none;
}

.wechat-app--werewolf .wechat-content--werewolf::-webkit-scrollbar { display: none; }

.werewolf-page {
  min-height: 100%;
  background:
    radial-gradient(circle at 50% -12%, rgba(255,255,255,.07), transparent 34%),
    var(--werewolf-bg);
  color: var(--werewolf-text);
}

.werewolf-table {
  width: min(100%, 560px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top, 18px)) max(16px, env(safe-area-inset-right, 16px)) max(22px, env(safe-area-inset-bottom, 22px)) max(16px, env(safe-area-inset-left, 16px));
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.werewolf-topbar {
  min-height: 48px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 9px;
}

.werewolf-topbar > div { min-width: 0; text-align: center; }
.werewolf-topbar small { display: block; color: var(--werewolf-muted); font-size: 10px; line-height: 1.2; }
.werewolf-topbar h1 { margin: 2px 0 0; font-size: 22px; font-weight: 650; line-height: 1.15; }
.werewolf-topbar p { margin: 3px 0 0; color: var(--werewolf-muted); font-size: 11px; line-height: 1.3; }
.werewolf-top-mark { display: grid; place-items: center; min-height: 32px; color: var(--werewolf-muted); font-size: 10px; font-weight: 650; }
.werewolf-top-mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.werewolf-icon-button,
.werewolf-primary-button,
.werewolf-secondary-button,
.werewolf-danger-button,
.werewolf-quiet-button,
.werewolf-entry-button {
  min-height: 44px;
  border: 0;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.werewolf-icon-button {
  width: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--werewolf-divider);
  border-radius: 14px;
  color: var(--werewolf-text);
  background: rgba(255,255,255,.06);
}

.werewolf-icon-button svg,
.werewolf-primary-button svg,
.werewolf-entry-button svg,
.werewolf-speech-form button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.werewolf-icon-button:active,
.werewolf-primary-button:active,
.werewolf-secondary-button:active,
.werewolf-danger-button:active,
.werewolf-quiet-button:active,
.werewolf-entry-button:active { transform: scale(.98); }

.werewolf-primary-button,
.werewolf-entry-button {
  width: 100%;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  color: #fff;
  background: #f7f7f7;
  color: #111;
  font-size: 14px;
  font-weight: 650;
}

.werewolf-primary-button:disabled,
.werewolf-secondary-button:disabled,
.werewolf-danger-button:disabled,
.werewolf-quiet-button:disabled,
.werewolf-contact-choice:disabled,
.werewolf-player-card:disabled { opacity: .42; cursor: not-allowed; transform: none; }
.werewolf-secondary-button { padding: 0 16px; border-radius: 13px; color: var(--werewolf-text); background: var(--werewolf-surface-raised); font-size: 13px; font-weight: 600; }
.werewolf-danger-button { padding: 0 16px; border-radius: 13px; color: #fff; background: var(--werewolf-danger); font-size: 13px; font-weight: 650; }
.werewolf-quiet-button { padding: 0 13px; border: 1px solid var(--werewolf-divider); border-radius: 13px; color: var(--werewolf-muted); background: transparent; font-size: 13px; }

.werewolf-setup-intro,
.werewolf-board-heading,
.werewolf-vote-heading,
.werewolf-day-banner,
.werewolf-elimination-banner,
.werewolf-result-hero,
.werewolf-rule-note,
.werewolf-private-team,
.werewolf-wait-card,
.werewolf-result-strip {
  border: 1px solid var(--werewolf-divider);
  border-radius: 16px;
  background: var(--werewolf-surface);
}

.werewolf-setup-intro { min-height: 66px; padding: 12px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 10px; }
.werewolf-setup-intro > div { min-width: 0; }
.werewolf-setup-intro strong,
.werewolf-board-heading strong,
.werewolf-vote-heading strong,
.werewolf-day-banner strong,
.werewolf-elimination-banner strong,
.werewolf-result-hero strong { display: block; font-size: 15px; line-height: 1.25; }
.werewolf-setup-intro small,
.werewolf-board-heading small,
.werewolf-vote-heading small,
.werewolf-day-banner small,
.werewolf-elimination-banner small,
.werewolf-result-hero small { display: block; margin-top: 3px; color: var(--werewolf-muted); font-size: 11px; line-height: 1.4; }
.werewolf-setup-intro > b { color: var(--werewolf-text); font-size: 18px; font-weight: 650; }
.werewolf-phase-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--werewolf-text); background: rgba(255,255,255,.08); }
.werewolf-phase-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.werewolf-seats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.werewolf-seat { min-height: 106px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px dashed rgba(255,255,255,.2); border-radius: 14px; color: var(--werewolf-muted); text-align: center; }
.werewolf-seat.is-filled { border-style: solid; border-color: var(--werewolf-divider); background: var(--werewolf-surface); color: var(--werewolf-text); }
.werewolf-seat.is-user { border-color: rgba(255,255,255,.42); }
.werewolf-seat strong { max-width: 100%; overflow: hidden; color: inherit; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.werewolf-seat small { color: var(--werewolf-muted); font-size: 9px; }
.werewolf-seat > span:not(.werewolf-avatar-wrap) { font-size: 22px; line-height: 1; }

.werewolf-panel { padding: 13px; border: 1px solid var(--werewolf-divider); border-radius: 16px; background: var(--werewolf-surface); }
.werewolf-panel-heading { min-height: 32px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.werewolf-panel-heading > div { min-width: 0; }
.werewolf-panel-heading strong { display: block; font-size: 14px; }
.werewolf-panel-heading small,
.werewolf-panel-heading > span { display: block; margin-top: 2px; color: var(--werewolf-muted); font-size: 10px; }
.werewolf-contact-grid { display: grid; gap: 7px; }
.werewolf-contact-choice { min-height: 56px; padding: 7px 9px; display: grid; grid-template-columns: 38px minmax(0,1fr) 22px; align-items: center; gap: 8px; border: 1px solid var(--werewolf-divider); border-radius: 12px; color: var(--werewolf-text); background: rgba(255,255,255,.035); text-align: left; font: inherit; cursor: pointer; }
.werewolf-contact-choice.is-selected { border-color: rgba(255,255,255,.72); background: rgba(255,255,255,.1); }
.werewolf-contact-choice > span { min-width: 0; }
.werewolf-contact-choice strong { display: block; overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.werewolf-contact-choice small { display: block; margin-top: 2px; overflow: hidden; color: var(--werewolf-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.werewolf-contact-choice > i { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid var(--werewolf-divider); border-radius: 50%; color: #111; background: transparent; font-size: 12px; font-style: normal; }
.werewolf-contact-choice.is-selected > i { border-color: #fff; background: #fff; }
.werewolf-rule-note { padding: 12px 13px; }
.werewolf-rule-note strong { display: block; font-size: 12px; }
.werewolf-rule-note span { display: block; margin-top: 5px; font-size: 12px; }
.werewolf-rule-note small { display: block; margin-top: 4px; color: var(--werewolf-muted); font-size: 10px; }
.werewolf-empty { padding: 16px 8px; color: var(--werewolf-muted); font-size: 12px; line-height: 1.5; text-align: center; }

.werewolf-avatar-wrap { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; }
.werewolf-avatar-wrap .wechat-avatar { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: #303030; color: #fff; }
.werewolf-avatar-wrap .wechat-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.werewolf-avatar-wrap .wechat-avatar-initial { font-size: 16px; font-weight: 650; }
.werewolf-dead-mark { position: absolute; right: -6px; bottom: -3px; padding: 2px 4px; border-radius: 5px; color: #fff; background: var(--werewolf-danger); font-size: 8px; font-style: normal; line-height: 1; }

.werewolf-reveal-stage { flex: 1; min-height: 420px; display: grid; place-items: center; align-content: center; gap: 18px; }
.werewolf-reveal-card { width: min(78vw, 280px); aspect-ratio: .7; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(255,255,255,.24); border-radius: 22px; color: var(--werewolf-text); background: linear-gradient(145deg, #232323, #0d0d0d); box-shadow: 0 20px 50px rgba(0,0,0,.38); text-align: center; transform: rotate(-2deg); }
.werewolf-reveal-card.is-visible { animation: werewolfCardReveal 360ms ease both; }
.werewolf-reveal-card.is-wolf { border-color: rgba(180,35,24,.75); background: linear-gradient(145deg, #361b1b, #110d0d); }
.werewolf-card-kicker,
.werewolf-card-lock { color: var(--werewolf-muted); font-size: 10px; letter-spacing: .06em; }
.werewolf-reveal-card strong { font-size: 30px; font-weight: 650; }
.werewolf-reveal-card p { color: var(--werewolf-muted); font-size: 12px; line-height: 1.5; }
.werewolf-reveal-card small { color: var(--werewolf-muted); font-size: 10px; line-height: 1.4; }
.werewolf-reveal-card:not(.is-visible) strong { margin-top: 22px; font-size: 24px; }
.werewolf-reveal-hint { max-width: 270px; color: var(--werewolf-muted); font-size: 11px; line-height: 1.5; text-align: center; }
@keyframes werewolfCardReveal { from { opacity: .2; transform: rotate(-2deg) scale(.86); } to { opacity: 1; transform: rotate(0) scale(1); } }

.werewolf-board-heading { min-height: 64px; padding: 11px 12px; display: grid; grid-template-columns: 12px minmax(0,1fr) auto; align-items: center; gap: 9px; }
.werewolf-board-heading > span:last-child { color: var(--werewolf-muted); font-size: 10px; }
.werewolf-phase-dot { width: 10px; height: 10px; display: block; border-radius: 50%; background: var(--werewolf-good); box-shadow: 0 0 0 4px rgba(95,209,138,.12); }
.werewolf-phase-dot.is-night { background: #b7b7ff; box-shadow: 0 0 0 4px rgba(183,183,255,.12); }
.werewolf-night-players,
.werewolf-player-ring,
.werewolf-vote-grid,
.werewolf-target-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.werewolf-player-card { min-width: 0; min-height: 84px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--werewolf-divider); border-radius: 13px; color: var(--werewolf-text); background: var(--werewolf-surface); font: inherit; cursor: pointer; }
.werewolf-player-card strong { max-width: 100%; overflow: hidden; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.werewolf-player-card small { color: var(--werewolf-muted); font-size: 9px; }
.werewolf-player-card.is-user { border-color: rgba(255,255,255,.45); }
.werewolf-player-card.is-selected { border-color: #fff; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.werewolf-player-card.is-dead { opacity: .4; filter: grayscale(1); }
.werewolf-player-card em { color: #fff; font-size: 9px; font-style: normal; }
.werewolf-private-team { min-height: 46px; padding: 7px 9px; display: flex; align-items: center; gap: 7px; overflow-x: auto; }
.werewolf-private-team > span { margin-right: 4px; color: var(--werewolf-muted); font-size: 10px; }
.werewolf-private-team .werewolf-avatar-wrap .wechat-avatar { width: 28px; height: 28px; }
.werewolf-private-team strong { font-size: 11px; }
.werewolf-action-panel { margin-top: auto; }
.werewolf-action-copy { margin-bottom: 11px; }
.werewolf-action-copy strong { display: block; font-size: 14px; }
.werewolf-action-copy small { display: block; margin-top: 4px; color: var(--werewolf-muted); font-size: 11px; line-height: 1.4; }
.werewolf-target-grid { margin-bottom: 11px; }
.werewolf-action-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
.werewolf-result-strip { margin-top: 10px; padding: 9px 10px; color: var(--werewolf-muted); font-size: 11px; line-height: 1.4; }
.werewolf-wait-card { min-height: 112px; padding: 16px; display: grid; place-items: center; align-content: center; gap: 5px; text-align: center; }
.werewolf-wait-card span svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.werewolf-wait-card strong { font-size: 15px; }
.werewolf-wait-card small { color: var(--werewolf-muted); font-size: 11px; line-height: 1.4; }

.werewolf-day-banner,
.werewolf-elimination-banner { padding: 18px 16px; text-align: center; }
.werewolf-day-banner .werewolf-phase-icon { margin: 0 auto 10px; }
.werewolf-day-banner small,
.werewolf-elimination-banner small { margin-top: 7px; }
.werewolf-log-preview { max-height: 160px; overflow: hidden; padding: 8px 2px; }
.werewolf-log-row { min-height: 27px; display: flex; align-items: flex-start; gap: 8px; color: var(--werewolf-muted); font-size: 11px; line-height: 1.45; }
.werewolf-log-row > span { width: 5px; height: 5px; flex: 0 0 5px; margin-top: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
.werewolf-log-row p { min-width: 0; }

.werewolf-discussion-list { flex: 1; min-height: 240px; padding: 2px 0; display: grid; align-content: start; gap: 9px; }
.werewolf-speech-row { display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: start; gap: 8px; }
.werewolf-speech-row .werewolf-avatar-wrap .wechat-avatar { width: 34px; height: 34px; }
.werewolf-speech-row > div { min-width: 0; padding: 8px 10px; border: 1px solid var(--werewolf-divider); border-radius: 12px 12px 12px 4px; background: var(--werewolf-surface); }
.werewolf-speech-row.is-user { grid-template-columns: minmax(0,1fr) 36px; }
.werewolf-speech-row.is-user .werewolf-avatar-wrap { grid-column: 2; grid-row: 1; }
.werewolf-speech-row.is-user > div { grid-column: 1; grid-row: 1; border-radius: 12px 12px 4px 12px; background: #f0f0f0; color: #111; }
.werewolf-speech-row header { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.werewolf-speech-row header strong { font-size: 11px; }
.werewolf-speech-row header small { color: var(--werewolf-muted); font-size: 9px; }
.werewolf-speech-row.is-user header small { color: #6b6b6b; }
.werewolf-speech-row p { margin-top: 4px; font-size: 12px; line-height: 1.5; }
.werewolf-system-dot { width: 32px; height: 32px; display: block; border: 1px solid var(--werewolf-divider); border-radius: 50%; background: var(--werewolf-surface-raised); }
.werewolf-speech-form { margin-top: auto; }
.werewolf-quick-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; }
.werewolf-quick-row button { min-height: 32px; flex: 0 0 auto; padding: 0 10px; border: 1px solid var(--werewolf-divider); border-radius: 10px; color: var(--werewolf-muted); background: transparent; font: inherit; font-size: 10px; }
.werewolf-input-row { min-height: 50px; display: grid; grid-template-columns: minmax(0,1fr) 46px; gap: 7px; }
.werewolf-input-row input { min-width: 0; height: 50px; padding: 0 13px; border: 1px solid var(--werewolf-divider); border-radius: 14px; outline: none; color: var(--werewolf-text); background: var(--werewolf-surface); font: inherit; font-size: 13px; }
.werewolf-input-row input:focus { border-color: rgba(255,255,255,.58); }
.werewolf-input-row button { display: grid; place-items: center; border-radius: 14px; border: 0; color: #111; background: #f7f7f7; cursor: pointer; }

.werewolf-vote-heading { padding: 12px; }
.werewolf-vote-grid { flex: 1; align-content: start; }
.werewolf-vote-result-panel { margin-top: 2px; }
.werewolf-vote-result-panel .werewolf-panel-heading { margin-bottom: 4px; }
.werewolf-vote-result-panel > div:not(.werewolf-panel-heading) { min-height: 34px; padding: 7px 0; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--werewolf-divider); color: var(--werewolf-muted); font-size: 11px; }
.werewolf-vote-result-panel > div:last-child { border-bottom: 0; }
.werewolf-vote-result-panel b { color: var(--werewolf-text); font-size: 12px; }

.werewolf-result-hero { padding: 22px 16px; text-align: center; }
.werewolf-result-hero span { display: block; color: var(--werewolf-muted); font-size: 9px; letter-spacing: .12em; }
.werewolf-result-hero strong { margin-top: 6px; font-size: 24px; }
.werewolf-result-hero small { max-width: 390px; margin: 8px auto 0; }
.werewolf-role-panel { display: grid; gap: 0; }
.werewolf-role-panel .werewolf-panel-heading { grid-column: 1 / -1; }
.werewolf-role-row { min-height: 52px; padding: 7px 0; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 8px; border-bottom: 1px solid var(--werewolf-divider); }
.werewolf-role-row:last-child { border-bottom: 0; }
.werewolf-role-row .werewolf-avatar-wrap .wechat-avatar { width: 34px; height: 34px; }
.werewolf-role-row > span { min-width: 0; }
.werewolf-role-row strong { display: block; font-size: 12px; }
.werewolf-role-row small { display: block; margin-top: 2px; color: var(--werewolf-muted); font-size: 10px; }
.werewolf-role-row b { color: var(--werewolf-muted); font-size: 10px; font-weight: 550; }
.werewolf-role-row.is-wolf b { color: #ff8d82; }
.werewolf-order-line { padding: 5px 2px; color: var(--werewolf-muted); font-size: 10px; line-height: 1.5; }
.werewolf-order-line strong { display: block; margin-top: 3px; color: var(--werewolf-text); font-size: 11px; font-weight: 550; }
.werewolf-result-actions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px; margin-top: auto; }

/* 游戏中心与具体游戏分离，先选游戏再进入各自界面。 */
.wechat-app[data-view="game-hub"] .wechat-header { display: flex; }
.wechat-app[data-view="game-hub"] .wechat-content { overflow-y: auto; background: #f5f5f5 !important; }
.game-hub-picker { min-height: 100%; padding: 24px 16px max(24px, env(safe-area-inset-bottom, 24px)); color: #111; background: #f5f5f5; }
.game-hub-heading { margin: 2px 2px 18px; }
.game-hub-heading small { display: block; color: #777; font-size: 10px; font-weight: 650; }
.game-hub-heading h2 { margin: 4px 0 0; font-size: 25px; line-height: 1.2; letter-spacing: 0; }
.game-hub-choices { display: grid; gap: 12px; }
.game-hub-choice { position: relative; min-height: 190px; padding: 16px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 34px; grid-template-rows: 100px auto; gap: 10px 8px; border: 1px solid rgba(0,0,0,.1); border-radius: 16px; text-align: left; font: inherit; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.08); -webkit-tap-highlight-color: transparent; }
.game-hub-choice.is-forest { color: #31445a; background: #f6f0e4; }
.game-hub-choice.is-werewolf { color: #f7f7f7; background: #171717; }
.game-hub-choice-art { grid-column: 1 / -1; min-width: 0; height: 100px; display: flex; align-items: flex-end; justify-content: center; gap: 8px; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.42); }
.game-hub-mascot.forest-character-art { width: 58px; height: 104px; flex: 0 0 58px; border-radius: 10px; }
.game-hub-choice-copy { min-width: 0; align-self: end; }
.game-hub-choice-copy small,
.game-hub-choice-copy strong,
.game-hub-choice-copy span,
.game-hub-choice-copy em { display: block; }
.game-hub-choice-copy small { font-size: 10px; font-weight: 650; opacity: .66; }
.game-hub-choice-copy strong { margin-top: 2px; font-size: 21px; line-height: 1.15; }
.game-hub-choice-copy span { margin-top: 4px; font-size: 12px; opacity: .76; }
.game-hub-choice-copy em { margin-top: 8px; font-size: 10px; font-style: normal; font-weight: 650; opacity: .62; }
.game-hub-choice-arrow { width: 34px; height: 34px; align-self: end; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #111; }
.game-hub-choice.is-werewolf .game-hub-choice-arrow { color: #111; background: #f7f7f7; }
.game-hub-choice-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.werewolf-game-art { position: relative; background: radial-gradient(circle at 50% 25%, rgba(255,255,255,.1), transparent 42%), #080808; }
.werewolf-game-art i { position: absolute; left: 50%; top: 13px; width: 60px; height: 60px; border-radius: 50%; background: #e9e9e9; transform: translateX(-50%); box-shadow: 0 0 30px rgba(255,255,255,.12); }
.werewolf-game-art i::after { content: ""; position: absolute; right: -7px; top: -4px; width: 58px; height: 58px; border-radius: 50%; background: #080808; }
.werewolf-game-art b,
.werewolf-game-art em { position: absolute; bottom: 12px; width: 48px; height: 64px; border: 1px solid rgba(255,255,255,.22); border-radius: 7px; background: #202020; }
.werewolf-game-art b { left: calc(50% - 48px); transform: rotate(-8deg); }
.werewolf-game-art em { right: calc(50% - 48px); transform: rotate(8deg); }
.game-hub-choice:active { transform: scale(.985); }

[data-theme="dark"] .wechat-app[data-view="game-hub"] .wechat-content,
[data-theme="dark"] .game-hub-picker { color: #f7f7f7; background: #080808 !important; }
[data-theme="dark"] .game-hub-heading small { color: #a3a3a3; }
[data-theme="dark"] .game-hub-choice.is-forest { border-color: rgba(255,255,255,.14); color: #f7f7f7; background: #292824; }

@media (max-width: 350px) {
  .game-hub-picker { padding: 16px 12px 20px; }
  .game-hub-choice { min-height: 168px; grid-template-rows: 82px auto; padding: 12px; }
  .game-hub-choice-art { height: 82px; }
  .game-hub-mascot.forest-character-art { width: 48px; height: 88px; flex-basis: 48px; }
  .werewolf-table { padding-left: 12px; padding-right: 12px; gap: 10px; }
  .werewolf-topbar h1 { font-size: 19px; }
  .werewolf-seat { min-height: 94px; }
  .werewolf-player-card { min-height: 76px; }
  .werewolf-reveal-stage { min-height: 360px; }
  .werewolf-reveal-card { width: min(72vw, 230px); }
}

@media (max-height: 650px) {
  .werewolf-table { gap: 9px; padding-top: max(10px, env(safe-area-inset-top, 10px)); }
  .werewolf-reveal-stage { min-height: 300px; }
  .werewolf-reveal-card { width: min(50vw, 220px); }
  .werewolf-discussion-list { min-height: 150px; }
  .werewolf-seat { min-height: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .werewolf-reveal-card.is-visible { animation: none; }
  .werewolf-icon-button:active,
  .werewolf-primary-button:active,
  .werewolf-secondary-button:active,
  .werewolf-danger-button:active,
  .werewolf-quiet-button:active,
  .werewolf-entry-button:active,
  .game-hub-choice:active { transform: none; }
}
