/* ==========================================================================
   大锤游戏大厅 · 官网 × 大锤清单介绍页 × 大锤妙记 旗舰风格融合重塑（浅色 + 曜石深色 1:1）
   ========================================================================== */

.games-hall-page {
  --hall-canvas: #f5f7fb;
  --hall-surface: #ffffff;
  --hall-ink: #0f172a;
  --hall-secondary: #475569;
  --hall-muted: #64748b;
  --hall-rule: rgba(15, 23, 42, .075);
  --hall-rule-strong: rgba(15, 23, 42, .13);
  --hall-cobalt: #2350dc;
  --hall-obsidian: #111827;
  --hall-shadow: 0 1px 2px rgba(15, 23, 42, .03), 0 12px 28px -16px rgba(15, 23, 42, .09);
  --hall-shadow-hover: 0 4px 12px rgba(15, 23, 42, .05), 0 22px 42px -18px rgba(15, 23, 42, .15);
  --hall-width: min(74rem, calc(100% - 3rem));
  background: var(--hall-canvas);
  color: var(--hall-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 1. 60px Full-Bleed Frosted Glass Topbar (Official Website / Notes 3.0 DNA) */
.games-hall-page .merge-nav {
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(1.5rem, calc((100% - 74rem) / 2));
  min-height: 3.75rem;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border-bottom: 1px solid var(--hall-rule);
  transition: box-shadow var(--xh-dur-fast, 180ms) var(--xh-ease-spring, ease), background-color var(--xh-dur-fast, 180ms) var(--xh-ease-spring, ease);
}
.games-hall-page .merge-nav.is-scrolled {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px -12px rgba(15, 23, 42, .12);
}
.games-hall-page .merge-nav .identity {
  gap: .55rem;
  color: var(--hall-ink);
}
.games-hall-page .merge-nav .wordmark {
  font-size: 1.46rem;
  color: var(--hall-ink);
}
.games-hall-page .merge-nav .nav-home-tag {
  border-color: rgba(15, 23, 42, .1);
  background: rgba(15, 23, 42, .04);
  color: var(--hall-secondary);
  font-weight: 600;
}
.games-hall-page .merge-nav .identity:hover .nav-home-tag {
  border-color: rgba(35, 80, 220, .25);
  background: rgba(35, 80, 220, .07);
  color: var(--hall-cobalt);
}
.games-hall-page .merge-nav-button {
  min-height: 38px;
  padding: 0 .88rem;
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, .1);
  background: rgba(255, 255, 255, .92);
  color: #1e293b;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 2px 8px -4px rgba(15, 23, 42, .08);
}
@media (hover: hover) {
  .games-hall-page .merge-nav-button:hover {
    border-color: rgba(35, 80, 220, .28);
    background: #f5f8ff;
    color: var(--hall-cobalt);
  }
}
.games-hall-page .merge-nav-links .wallet-button {
  min-height: 38px;
  padding: 0 .88rem;
  border-radius: 9999px;
  border: 1px solid rgba(217, 119, 6, .28);
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #78350f;
  font-weight: 680;
  box-shadow: 0 2px 10px -4px rgba(217, 119, 6, .22);
}
.games-hall-page .wallet-alert-dot { border-color: #ffffff; }

/* Full-Bleed Main Shell (Sections self-contain to --hall-width so Hero & Closing Band go edge-to-edge) */
.games-hall {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 2.5rem;
}
.hall-audio-btn { gap: .3rem; }

/* ==========================================================================
   2. Band 1: Full-Bleed Luminous Pearl-Grid Hero (1:1 Official Website + Notes 3.0)
   ========================================================================== */
.games-hall-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding-block: 0;
  background:
    radial-gradient(ellipse 62% 68% at 76% 42%, rgba(69, 120, 255, .13), transparent 66%),
    radial-gradient(ellipse 44% 56% at 90% 88%, rgba(255, 194, 88, .17), transparent 60%),
    radial-gradient(ellipse 38% 52% at 10% 12%, rgba(251, 191, 36, .065), transparent 66%),
    linear-gradient(128deg, rgba(255, 255, 255, .97) 14%, rgba(242, 246, 255, .94) 52%, rgba(250, 248, 255, .97) 100%);
  border-bottom: 1px solid var(--hall-rule);
}
.games-hall-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .034) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .034) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 86% 84% at 52% 45%, #000 32%, transparent 94%);
  -webkit-mask-image: radial-gradient(ellipse 86% 84% at 52% 45%, #000 32%, transparent 94%);
}
.games-hall-hero::after {
  content: "";
  position: absolute;
  inset: -14% -8% auto -8%;
  height: 78%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, .72) 44%, transparent 62%);
  opacity: .85;
}
.hall-hero-compact {
  position: relative;
  z-index: 1;
  width: var(--hall-width);
  margin-inline: auto;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-block: .56rem;
}
html[data-hero-collapsed="true"] .hall-hero-compact { display: flex; }
html[data-hero-collapsed="true"] #hall-hero-full { display: none; }

.hall-compact-left { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.hall-compact-avatar {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: .55rem;
  background: radial-gradient(circle at 38% 30%, #fff 0%, #eaf0ff 72%, #d7e3ff 100%);
  box-shadow: inset 0 0 0 1px rgba(35, 80, 220, .14); flex-shrink: 0; overflow: hidden;
}
.hall-compact-avatar img { width: 24px; height: 24px; object-fit: contain; display: block; }
.hall-compact-title { color: var(--hall-ink); font-size: .94rem; font-weight: 740; white-space: nowrap; flex-shrink: 0; }
.hall-compact-pill {
  padding: .14rem .5rem; border-radius: 999px; background: rgba(35, 80, 220, .1);
  color: #2350dc; font-size: .73rem; font-weight: 700; white-space: nowrap; flex-shrink: 0;
}
.hall-compact-tag { color: #525e75; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hall-compact-right { display: flex; align-items: center; gap: .42rem; flex-shrink: 0; }
.hall-compact-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .3rem;
  min-height: 32px; padding: .3rem .74rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: .8rem; font-weight: 620; line-height: 1.2; white-space: nowrap;
  cursor: pointer; flex-shrink: 0;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.hall-compact-btn:hover { transform: translateY(-1px); }
.hall-compact-btn--subtle {
  border-color: rgba(15, 23, 42, .14); background: rgba(255, 255, 255, .92); color: var(--hall-ink);
}
.hall-compact-btn--subtle:hover { border-color: rgba(35, 80, 220, .35); color: #2350dc; }
.hall-compact-btn--ghost { background: transparent; color: #525e75; }
.hall-compact-btn--ghost:hover { background: rgba(15, 23, 42, .055); color: var(--hall-ink); }
html[data-game-theme="dark"] .games-hall-page .hall-compact-title { color: #f8fafc; }
html[data-game-theme="dark"] .games-hall-page .hall-compact-pill { background: rgba(122, 162, 255, .18); color: #93c5fd; }
html[data-game-theme="dark"] .games-hall-page .hall-compact-tag { color: #94a3b8; }
html[data-game-theme="dark"] .games-hall-page .hall-compact-btn--subtle {
  border-color: rgba(255, 255, 255, .16); background: rgba(18, 26, 45, .88); color: #f1f5f9;
}
html[data-game-theme="dark"] .games-hall-page .hall-compact-btn--subtle:hover {
  border-color: rgba(122, 162, 255, .48); background: rgba(122, 162, 255, .16); color: #fff;
}
html[data-game-theme="dark"] .games-hall-page .hall-compact-btn--ghost { color: #9aa7bd; }
html[data-game-theme="dark"] .games-hall-page .hall-compact-btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #f8fafc; }

.hall-hero-inner {
  position: relative;
  z-index: 1;
  width: var(--hall-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  row-gap: clamp(.65rem, 1.4vw, 1.05rem);
  column-gap: clamp(1.4rem, 3.2vw, 3rem);
  padding-block: .56rem clamp(.95rem, 1.7vw, 1.32rem);
}
.hall-hero-top-row {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}
.hall-hero-copy, .hall-intro, .hall-hero-controls, .hall-hero-stage { min-width: 0; }

.hall-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .46rem;
  margin-bottom: 0;
  padding: .24rem .78rem;
  border: 1px solid rgba(35, 80, 220, .14);
  border-radius: 9999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 10px -4px rgba(35, 80, 220, .12);
  color: #334155;
  font-size: .77rem;
  font-weight: 600;
  letter-spacing: .015em;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 52rem) { .hall-compact-tag { display: none; } }
@media (max-width: 40rem) {
  .hall-hero-compact { padding-block: .48rem; gap: .4rem; }
  .hall-hero-inner { padding-block: .48rem .95rem; }
  .hall-compact-avatar { width: 24px; height: 24px; border-radius: .48rem; }
  .hall-compact-avatar img { width: 20px; height: 20px; }
  .hall-compact-title { font-size: .88rem; }
  .hall-compact-pill { font-size: .7rem; padding: .1rem .4rem; }
  .hall-compact-btn { min-height: 30px; padding: .24rem .58rem; font-size: .76rem; }
  .hall-hero-eyebrow { font-size: .72rem; padding: .2rem .6rem; }
}
.hall-hero-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2554e6, #8b5cf6);
  box-shadow: 0 0 0 3px rgba(37, 84, 230, .14);
}
.hall-intro h1 {
  margin: 0;
  color: var(--hall-ink);
  font-size: clamp(2.15rem, 3.35vw, 2.95rem);
  font-weight: 720;
  line-height: 1.16;
  letter-spacing: -.034em;
}
.games-hall-page .hall-intro h1 span {
  display: inline-block;
  background: linear-gradient(100deg, #1d4ed8 0%, #4f46e5 52%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hall-intro p {
  margin: .48rem 0 0;
  max-width: 34em;
  color: #525e75;
  font-size: clamp(.92rem, 1.1vw, 1.02rem);
  font-weight: 420;
  line-height: 1.64;
}

.hall-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .56rem .65rem;
  margin-top: .95rem;
}
.hall-random, .hall-last, .hall-stats-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  min-height: 42px;
  padding: .46rem 1.18rem;
  border-radius: 9999px;
  font: 640 .89rem/1.2 var(--sans);
  white-space: nowrap;
  transition: transform var(--xh-dur-instant, 110ms) var(--xh-ease-press, ease), background-color var(--xh-dur-fast, 180ms) var(--xh-ease-spring, ease), border-color var(--xh-dur-fast, 180ms) var(--xh-ease-spring, ease), color var(--xh-dur-fast, 180ms) var(--xh-ease-spring, ease), box-shadow var(--xh-dur-fast, 180ms) ease;
}
/* Signature Obsidian Primary CTA */
.hall-last {
  border: 1px solid transparent;
  background: var(--hall-obsidian);
  color: #ffffff;
  padding-inline: 1.38rem;
  box-shadow: 0 10px 24px -10px rgba(15, 23, 42, .45);
}
.hall-random {
  border: 1px solid var(--hall-rule-strong);
  background: rgba(255, 255, 255, .92);
  color: var(--hall-ink);
  cursor: pointer;
}
.hall-stats-btn {
  border: 1px solid rgba(35, 80, 220, .14);
  background: rgba(238, 243, 255, .72);
  color: #1e3a8a;
  cursor: pointer;
}
@media (hover: hover) {
  .hall-last:hover {
    background: var(--hall-cobalt);
    box-shadow: 0 12px 26px -10px rgba(35, 80, 220, .5);
    transform: translateY(-1px);
  }
  .hall-random:hover {
    border-color: rgba(35, 80, 220, .34);
    background: #f5f8ff;
    color: var(--hall-cobalt);
  }
  .hall-stats-btn:hover {
    border-color: rgba(35, 80, 220, .32);
    background: #e4edff;
    color: var(--hall-cobalt);
  }
}
.hall-last:active, .hall-random:active, .hall-stats-btn:active { transform: scale(.972); }

.hall-hero-controls .hall-resume-detail {
  color: #475569;
  margin-top: .5rem;
  font-size: .79rem;
  font-weight: 500;
}
.hall-recent {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .45rem;
  margin-top: .5rem;
}
.hall-recent a {
  padding: .16rem .62rem;
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 9999px;
  background: rgba(255, 255, 255, .86);
  color: #334155;
  font-size: .78rem;
  font-weight: 560;
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
.hall-recent a:hover {
  border-color: rgba(35, 80, 220, .3);
  background: #ffffff;
  color: var(--hall-cobalt);
}
.hall-room-return {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: .5rem;
  padding: 0 .82rem;
  border-radius: 9999px;
  border: 1px solid rgba(217, 119, 6, .28);
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  gap: .35rem;
  color: #92400e;
  font-size: .82rem;
  font-weight: 680;
}
.hall-room-return::after { content: '↗'; }
.hall-room-return:hover { background: #fde68a; color: #78350f; }
.hall-room-return[hidden], .hall-room-list[hidden] { display: none; }

/* Right Hero Stage: Luminous Pastel Arcade Mascot Showcase (Notes 3.0 DNA × Arcade Soul) */
.hall-stage-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .68rem;
  padding: .82rem 1rem;
  border: 1px solid rgba(35, 80, 220, .09);
  border-radius: 1.4rem;
  background:
    radial-gradient(ellipse 84% 66% at 50% 18%, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .36) 48%, transparent 74%),
    linear-gradient(156deg, #eef3ff 0%, #f2efff 54%, #fff7ec 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    0 22px 50px -28px rgba(15, 23, 42, .16);
}
.hall-stage-top {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.hall-stage-mascot {
  flex: none;
  display: grid;
  place-items: center;
  width: 4.9rem;
  height: 4.9rem;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #ffffff 0%, #eaf0ff 68%, #d7e3ff 100%);
  box-shadow:
    0 0 0 .38rem rgba(255, 255, 255, .64),
    0 12px 28px -12px rgba(35, 80, 220, .28);
}
.hall-stage-mascot img {
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(15, 23, 42, .16));
  transition: transform .3s var(--xh-ease-spring, ease);
}
.hall-stage-card:hover .hall-stage-mascot img { transform: translateY(-2px) scale(1.04); }
.hall-stage-showcase {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .42rem;
}
.hall-stage-kicker {
  color: #475569;
  font-size: .73rem;
  font-weight: 660;
  letter-spacing: .04em;
}
.hall-stage-thumbs {
  display: flex;
  align-items: center;
}
.hall-stage-thumbs img {
  width: 5.65rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: .6rem;
  border: 2px solid #ffffff;
  box-shadow: 0 8px 18px -8px rgba(15, 23, 42, .26);
  transition: transform .26s var(--xh-ease-spring, ease);
}
.hall-stage-thumbs img:nth-child(1) { transform: rotate(-4deg); z-index: 1; }
.hall-stage-thumbs img:nth-child(2) { margin-left: -1.15rem; transform: translateY(-2px); z-index: 2; }
.hall-stage-thumbs img:nth-child(3) { margin-left: -1.15rem; transform: rotate(4deg); z-index: 3; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hall-stage-card:hover .hall-stage-thumbs img:nth-child(1) { transform: rotate(-6deg) translateX(-4px); }
  .hall-stage-card:hover .hall-stage-thumbs img:nth-child(2) { transform: translateY(-5px) scale(1.03); }
  .hall-stage-card:hover .hall-stage-thumbs img:nth-child(3) { transform: rotate(6deg) translateX(4px); }
}
.hall-stage-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .48rem;
}
.hall-stage-chip {
  display: flex;
  flex-direction: column;
  gap: .08rem;
  min-width: 0;
  padding: .48rem .64rem;
  border: 1px solid rgba(15, 23, 42, .065);
  border-radius: .88rem;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px -8px rgba(15, 23, 42, .12);
}
.hall-stage-chip strong {
  color: var(--hall-ink);
  font-size: .88rem;
  font-weight: 740;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.hall-stage-chip span {
  color: var(--hall-muted);
  font-size: .7rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hall-week-link {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  min-height: 36px;
  padding: 0 .64rem;
  border: 1px solid rgba(35, 80, 220, .18);
  border-radius: 9999px;
  color: var(--hall-cobalt);
  background: #eef4ff;
  font: 620 .8rem/1 var(--sans);
  cursor: pointer;
}

/* ==========================================================================
   3. Morandi Pastel Quick Desk (1:1 Official Website Pastel Card Language)
   ========================================================================== */
.hall-desk {
  width: var(--hall-width);
  margin: .72rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .68rem;
}
.hall-service {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .64rem;
  min-height: 60px;
  padding: .5rem .84rem;
  border: 1px solid rgba(15, 23, 42, .055);
  border-radius: 1.15rem;
  color: #0f172a;
  text-align: start;
  background: linear-gradient(155deg, #fff6ec 0%, #fde8d3 58%, #fff1e2 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03), 0 8px 20px -14px rgba(15, 23, 42, .09);
  font-family: inherit;
  cursor: pointer;
  transition: transform var(--xh-dur-fast, 180ms) var(--xh-ease-spring, ease), border-color var(--xh-dur-fast, 180ms) ease, box-shadow var(--xh-dur-fast, 180ms) ease;
}
.hall-service:active { transform: scale(.98); }
.hall-daily {
  background: linear-gradient(155deg, #ecfdf5 0%, #daf5e8 58%, #e9fbf2 100%);
  color: #0f2e24;
}
.hall-friends {
  background: linear-gradient(155deg, #eef2ff 0%, #dde6ff 55%, #e8e5ff 100%);
  color: #1a2146;
}
.hall-checkin {
  background: linear-gradient(155deg, #fff6ec 0%, #fde8d3 58%, #fff1e2 100%);
  color: #36200b;
}
.hall-inbox {
  background: linear-gradient(155deg, #eef9ff 0%, #d8efff 58%, #e6f4ff 100%);
  color: #132a4a;
}
@media (hover: hover) {
  .hall-service:hover {
    border-color: rgba(35, 80, 220, .2);
    box-shadow: 0 12px 26px -14px rgba(15, 23, 42, .16);
    transform: translateY(-2px);
  }
  .hall-service:hover .hall-service-arrow { transform: translateX(2px); opacity: .9; }
}
.hall-service-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .82rem;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 4px 10px -4px rgba(15, 23, 42, .1);
  color: #b45309;
}
.hall-service-icon svg { width: 1.18rem; height: 1.18rem; }
.hall-daily .hall-service-icon { color: #059669; }
.hall-friends .hall-service-icon { color: #4f46e5; }
.hall-checkin .hall-service-icon { color: #d97706; }
.hall-inbox .hall-service-icon { color: #2350dc; }

.hall-desk-pill {
  display: inline-flex;
  align-items: center;
  padding: .05rem .42rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .82);
  color: #047857;
  font-size: .72rem;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
}
.hall-desk-dot {
  position: absolute;
  top: -.16rem;
  right: -.16rem;
  width: .52rem;
  height: .52rem;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid #fff7ed;
}
.hall-desk-dot[hidden] { display: none; }
.hall-service strong {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .32rem;
  font-size: .96rem;
  font-weight: 680;
  line-height: 1.25;
}
.hall-service small {
  display: block;
  margin-top: .1rem;
  color: #475569;
  font-size: .79rem;
  line-height: 1.35;
}
.hall-service-arrow {
  color: #64748b;
  font-size: 1.25rem;
  line-height: 1;
  opacity: .55;
  transition: transform .18s ease, opacity .18s ease;
}
.hub-unread {
  display: inline-flex;
  justify-content: center;
  min-width: 1.25rem;
  padding: .05rem .32rem;
  border-radius: 9999px;
  background: #e11d48;
  color: #fff;
  font-size: .69rem;
  font-weight: 740;
}

/* ==========================================================================
   4. Obsidian Architectural 10-Tier Pass Banner (1:1 Official Website .home-pass-banner)
   ========================================================================== */
.hall-pass-strip {
  --strip-bg0: #0d1426;
  --strip-bg1: #162240;
  --strip-rim: #93a6c8;
  --strip-ink: #f8fafc;
  --strip-bar: #c8d8f2;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: var(--hall-width);
  margin: .58rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem .95rem;
  padding: .56rem 1rem;
  border: 1px solid color-mix(in srgb, var(--strip-rim) 36%, rgba(255, 255, 255, .12));
  border-radius: 1.28rem;
  color: var(--strip-ink);
  background:
    radial-gradient(ellipse 46% 110% at 92% 14%, rgba(250, 204, 21, .14), transparent 62%),
    radial-gradient(ellipse 52% 110% at 14% 92%, color-mix(in srgb, var(--strip-rim) 26%, transparent), transparent 64%),
    linear-gradient(125deg, var(--strip-bg0) 0%, var(--strip-bg1) 56%, var(--strip-bg0) 100%);
  box-shadow: 0 18px 40px -20px rgba(9, 13, 22, .45), inset 0 1px rgba(255, 255, 255, .16);
}
.hall-pass-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .036) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .036) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 84% 90% at 65% 50%, #000 10%, transparent 86%);
  -webkit-mask-image: radial-gradient(ellipse 84% 90% at 65% 50%, #000 10%, transparent 86%);
}
.hall-pass-strip[data-pass-tier="bronze"] { --strip-bg0: #291811; --strip-bg1: #5a321d; --strip-rim: #e9b186; --strip-ink: #fff6ee; --strip-bar: #f3c197; }
.hall-pass-strip[data-pass-tier="silver"] { --strip-bg0: #1b2434; --strip-bg1: #3b4b63; --strip-rim: #d7e3f4; --strip-ink: #ffffff; --strip-bar: #e8f0fc; }
.hall-pass-strip[data-pass-tier="gold"] { --strip-bg0: #2c1e09; --strip-bg1: #6b4a14; --strip-rim: #ffe082; --strip-ink: #fffce8; --strip-bar: #ffe48d; }
.hall-pass-strip[data-pass-tier="platinum"] { --strip-bg0: #0e242c; --strip-bg1: #1e4e59; --strip-rim: #9ef0f6; --strip-ink: #f2ffff; --strip-bar: #adf5fa; }
.hall-pass-strip[data-pass-tier="diamond"] { --strip-bg0: #0f1c45; --strip-bg1: #203d85; --strip-rim: #9cd1ff; --strip-ink: #f4f9ff; --strip-bar: #b2dcff; }
.hall-pass-strip[data-pass-tier="master"] { --strip-bg0: #230f33; --strip-bg1: #4e1c61; --strip-rim: #efa2ff; --strip-ink: #fef2ff; --strip-bar: #f5b9ff; }
.hall-pass-strip[data-pass-tier="grandmaster"] { --strip-bg0: #300e14; --strip-bg1: #6b1a22; --strip-rim: #ffad88; --strip-ink: #fff4ee; --strip-bar: #ffc2a1; }
.hall-pass-strip[data-pass-tier="king"] { --strip-bg0: #14110c; --strip-bg1: #433212; --strip-rim: #ffd96b; --strip-ink: #fff9e3; --strip-bar: #ffe285; }
.hall-pass-strip[data-pass-tier="radiant"] {
  --strip-bg0: #101536; --strip-bg1: #342575; --strip-rim: #78f6e1; --strip-ink: #fffef2; --strip-bar: #82fae5;
  background:
    linear-gradient(115deg, #70f5df26 0%, #c084ff22 35%, #ffe58826 68%, #68d8ff24 100%),
    linear-gradient(120deg, #101536, #342575 52%, #114352);
}

.hall-pass-left { display: flex; align-items: center; gap: .72rem; flex: 1 1 20rem; min-width: 0; }
.hall-pass-emblem {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--strip-rim) 72%, transparent);
  background: rgba(255, 255, 255, .08);
  font-size: 1.15rem;
  line-height: 1;
  box-shadow: inset 0 1px rgba(255, 255, 255, .24);
}
.hall-pass-emblem .hall-pass-emblem-svg {
  display: block;
  width: 82%;
  height: 82%;
}
.hall-pass-meta { flex: 1; min-width: 0; }
.hall-pass-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .26rem .42rem; }
.hall-pass-lv {
  padding: .08rem .42rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid color-mix(in srgb, var(--strip-rim) 45%, transparent);
  font-size: .7rem;
  font-weight: 760;
  color: var(--strip-bar);
}
.hall-pass-heading strong { font-size: .98rem; font-weight: 720; line-height: 1.2; color: #ffffff; }
.hall-pass-no {
  font-family: ui-monospace, Consolas, monospace;
  font-size: .7rem;
  font-weight: 660;
  padding: .08rem .42rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, .32);
  color: rgba(248, 250, 252, .88);
}
.hall-pass-tag { font-size: .73rem; color: #b7c4db; }
.hall-pass-bar-row { display: flex; align-items: center; gap: .55rem; margin-top: .26rem; }
.hall-pass-bar {
  flex: 0 1 8.5rem;
  min-width: 4.5rem;
  height: .36rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}
.hall-pass-bar span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--strip-rim), #ffffff);
  transform-origin: left center;
  transform: scaleX(var(--progress, 0));
  transition: transform var(--xh-dur-slow, 380ms) var(--xh-ease-spring, ease);
  will-change: transform;
}
.hall-pass-bar-row small {
  font-size: .74rem;
  color: #cbd5e1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hall-pass-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .42rem; }
.hall-pass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .24rem;
  min-height: 36px;
  padding: .24rem .82rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .09);
  color: #f8fafc;
  font: 620 .79rem/1.2 var(--sans);
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--xh-dur-instant, 110ms) var(--xh-ease-press, ease), background-color var(--xh-dur-fast, 180ms) ease, color var(--xh-dur-fast, 180ms) ease;
}
.hall-pass-btn[data-hall-pass-open] {
  border-color: transparent;
  background: #ffffff;
  color: #0b0f19;
  font-weight: 680;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .4);
}
.hall-pass-btn:active { transform: scale(.97); }
@media (hover: hover) {
  .hall-pass-btn:hover { background: rgba(255, 255, 255, .17); }
  .hall-pass-btn[data-hall-pass-open]:hover { background: #e8f0ff; color: #0b0f19; }
}
.hall-pass-claim {
  border-color: #fde68a;
  background: linear-gradient(135deg, #fde047, #f59e0b);
  color: #2e1902;
  font-weight: 740;
}
.hall-pass-claim:hover { filter: brightness(1.06); background: linear-gradient(135deg, #fde047, #f59e0b); }
.hall-pass-claim[hidden] { display: none; }

/* ==========================================================================
   5. Unified Sticky Frosted Command Dock + Pure-White Ceramic Gallery (Notes 3.0 DNA)
   ========================================================================== */
.hall-library {
  width: var(--hall-width);
  margin: .78rem auto 0;
  scroll-margin-top: 4.5rem;
}
.hall-library-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .44rem;
}
.hall-library-title-wrap {
  display: flex;
  align-items: baseline;
  gap: .62rem;
  min-width: 0;
}
.hall-library-eyebrow {
  color: var(--hall-cobalt);
  font-size: .72rem;
  font-weight: 720;
  letter-spacing: .1em;
}
.hall-library h2 {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  margin: 0;
  color: var(--hall-ink);
  font-size: clamp(1.32rem, 2.2vw, 1.62rem);
  font-weight: 740;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.hall-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.48rem;
  padding: .05rem .56rem;
  border-radius: 9999px;
  background: #e9efff;
  color: var(--hall-cobalt);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.hall-library-top-right {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.hall-order-pill {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  min-height: 28px;
  padding: .16rem .68rem;
  border: 1px solid rgba(35, 80, 220, .2);
  border-radius: 9999px;
  background: rgba(238, 244, 255, .92);
  color: #1e40af;
  font: 660 .74rem/1.2 var(--sans);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, transform 110ms ease;
}
.hall-order-pill[hidden] { display: none !important; }
.hall-order-pill:enabled:hover { background: #dbeafe; border-color: rgba(35, 80, 220, .38); }
.hall-order-pill:enabled:active { transform: scale(.97); }
.hall-order-pill[data-mode="hot"] {
  border-color: rgba(217, 119, 6, .24);
  background: rgba(255, 247, 237, .94);
  color: #b45309;
  cursor: default;
}
.hall-order-pill[data-mode="default"] {
  border-color: rgba(15, 23, 42, .12);
  background: rgba(255, 255, 255, .86);
  color: #475569;
}
.hall-rank-tag {
  display: inline-flex;
  align-items: center;
  margin-left: .4rem;
  padding: .05rem .42rem;
  border-radius: 9999px;
  font-style: normal;
  font-size: .68rem;
  font-weight: 720;
  line-height: 1.35;
  vertical-align: middle;
  letter-spacing: 0;
}
.hall-rank-tag.is-personal {
  background: #e0ebff;
  color: #1d4ed8;
}
.hall-rank-tag.is-hot {
  background: #fef3c7;
  color: #b45309;
}
.hall-kbd-hint {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .24rem .68rem;
  border: 1px solid var(--hall-rule);
  border-radius: 9999px;
  background: rgba(255, 255, 255, .82);
  color: var(--hall-muted);
  font-size: .75rem;
  font-weight: 560;
}
.hall-kbd-hint span { display: inline-flex; align-items: center; gap: .3rem; }
.hall-kbd-hint kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding-inline: .24rem;
  border: 1px solid rgba(15, 23, 42, .12);
  border-bottom-width: 2px;
  border-radius: .34rem;
  background: #ffffff;
  color: var(--hall-ink);
  font-family: ui-monospace, Consolas, monospace;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
}

/* Unified Floating Frosted Command Dock */
.hall-library-head {
  position: sticky;
  top: 4.2rem;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin-bottom: .75rem;
  padding: .3rem .38rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 1.08rem;
  background: rgba(255, 255, 255, .90);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: 0 10px 28px -16px rgba(15, 23, 42, .12), 0 1px 2px rgba(15, 23, 42, .04);
  transition: box-shadow var(--xh-dur-fast, 180ms) ease, background-color var(--xh-dur-fast, 180ms) ease;
}
.hall-library-head.is-stuck {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 14px 34px -16px rgba(15, 23, 42, .18), 0 1px 2px rgba(15, 23, 42, .05);
}
.hall-library-options {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}
.hall-filters {
  position: relative;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .18rem;
  padding: .06rem;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.hall-filters::-webkit-scrollbar { display: none; }
.hall-filters.can-scroll-right:not(.can-scroll-left) {
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 2.2rem), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 2.2rem), transparent 100%);
}
.hall-filters.can-scroll-left:not(.can-scroll-right) {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 2.2rem, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 2.2rem, #000 100%);
}
.hall-filters.can-scroll-left.can-scroll-right {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 1.8rem, #000 calc(100% - 1.8rem), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 1.8rem, #000 calc(100% - 1.8rem), transparent 100%);
}
.hall-filters button {
  position: relative;
  z-index: 1;
  flex: none;
  min-height: 36px;
  padding: .24rem .8rem;
  border: 0;
  border-radius: 9999px;
  color: var(--hall-secondary);
  background: transparent;
  font: 620 .84rem/1.2 var(--sans);
  cursor: pointer;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, transform 110ms ease;
}
.hall-filters button:active { transform: scale(.965); }
.hall-filters button[aria-pressed="true"] {
  background: var(--hall-obsidian);
  color: #ffffff;
}
.hall-filters button[aria-pressed="false"]:hover {
  background: rgba(15, 23, 42, .05);
  color: var(--hall-ink);
}

/* Integrated Pill Search Input inside Command Dock */
.hall-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: clamp(12.5rem, 21vw, 16.5rem);
}
.hall-search-ico {
  position: absolute;
  left: .82rem;
  color: var(--hall-muted);
  pointer-events: none;
}
.hall-search input,
.hall-invite input {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 9999px;
  background: #f3f6fb;
  color: var(--hall-ink);
  padding: .36rem 2.15rem .36rem 2.2rem;
  font: inherit;
  font-size: .85rem;
  transition: border-color var(--xh-dur-fast, 180ms) ease, background-color var(--xh-dur-fast, 180ms) ease, box-shadow var(--xh-dur-fast, 180ms) ease;
}
.hall-invite input {
  border-radius: .85rem;
  padding: .48rem .78rem;
  min-height: 42px;
  background: #f8faff;
}
.hall-search input::placeholder,
.hall-invite input::placeholder { color: var(--hall-muted); }
.hall-search input:focus-visible,
.hall-invite input:focus-visible {
  border-color: rgba(35, 80, 220, .45);
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(35, 80, 220, .12);
}
.hall-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.hall-search-kbd {
  position: absolute;
  right: .5rem;
  display: inline-grid;
  place-items: center;
  min-width: 1.32rem;
  height: 1.32rem;
  padding: 0 .26rem;
  border: 1px solid rgba(15, 23, 42, .12);
  border-bottom-width: 2px;
  border-radius: .34rem;
  background: #ffffff;
  color: var(--hall-muted);
  font-family: ui-monospace, Consolas, monospace;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: opacity 150ms ease;
}
.hall-search:focus-within .hall-search-kbd,
.hall-search.has-value .hall-search-kbd { opacity: 0; }
@media (pointer: coarse), (max-width: 1099px) {
  .hall-search-kbd,
  .hall-kbd-hint { display: none; }
}
.hall-search-clear {
  position: absolute;
  right: .32rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(15, 23, 42, .08);
  color: var(--hall-secondary);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--xh-dur-instant, 110ms) ease, background-color var(--xh-dur-fast, 180ms) ease;
}
.hall-search-clear[hidden] { display: none; }
.hall-search-clear:active { transform: translateY(-50%) scale(.9); }
@media (hover: hover) {
  .hall-search-clear:hover { background: rgba(15, 23, 42, .14); color: var(--hall-ink); }
}

.hall-no-results {
  padding: 1.4rem;
  border: 1px solid var(--hall-rule);
  background: var(--hall-surface);
  border-radius: 1.25rem;
  color: var(--hall-secondary);
  text-align: center;
  box-shadow: var(--hall-shadow);
}
.hall-no-results p { margin: 0 0 .7rem; }

/* 16 Illustrated Game Gallery Cards (Pure White Ceramic Elevation) */
.games-hall-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.85rem, 1.8vw, 1.2rem);
}
.hall-game {
  --art-ink: #2350dc;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, .065);
  border-radius: 1.2rem;
  background: var(--hall-surface);
  color: var(--hall-ink);
  box-shadow: var(--hall-shadow);
  transition: transform var(--xh-dur-base, 240ms) var(--xh-ease-spring, ease), border-color var(--xh-dur-fast, 180ms) ease, box-shadow var(--xh-dur-base, 240ms) ease;
}
.hall-game:active { transform: scale(.986); }
.hall-game:focus-visible { outline: 3px solid var(--hall-cobalt); outline-offset: 3px; }
.hall-game-copy {
  position: relative;
  display: grid;
  align-content: start;
  gap: .22rem;
  min-height: 0;
  padding: .78rem 1rem .92rem;
}
.hall-game-copy > span:first-child {
  color: var(--art-ink);
  font-size: .73rem;
  font-weight: 660;
  letter-spacing: .01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 44rem) {
  .hall-game-copy > span:first-child {
    white-space: normal;
    line-height: 1.32;
    font-size: .7rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}
.hall-game-copy h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
  margin: 0;
  color: var(--hall-ink);
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -.018em;
}
.hall-game-copy h3::after {
  content: "›";
  flex: none;
  font-size: 1.15em;
  font-weight: 500;
  line-height: 1;
  color: #94a3b8;
  transition: transform var(--xh-dur-fast, 180ms) var(--xh-ease-spring, ease), color var(--xh-dur-fast, 180ms) ease;
}
.hall-game-copy p {
  margin: .08rem 0 0;
  color: #5c667a;
  font-size: .84rem;
  line-height: 1.48;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hall-go { display: none; }
.hall-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a243d;
}
.hall-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}
.hall-card-badge {
  position: absolute;
  top: .48rem;
  right: .48rem;
  padding: .16rem .52rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, .84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(253, 224, 71, .48);
  color: #fef08a;
  font-size: .68rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(9, 13, 22, .32);
  pointer-events: none;
}
.hall-card-badge[data-tone="done"] {
  background: rgba(6, 78, 59, .88);
  border-color: rgba(110, 231, 183, .55);
  color: #d1fae5;
}
.hall-fav-btn {
  position: absolute;
  top: .44rem;
  left: .44rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 9999px;
  background: rgba(15, 23, 42, .56);
  color: #f8fafc;
  font-size: .96rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
}
.hall-fav-btn:hover {
  background: rgba(15, 23, 42, .82);
  border-color: #fde68a;
  color: #fde68a;
  transform: scale(1.07);
}
.hall-fav-btn[aria-pressed="true"] {
  background: #f59e0b;
  border-color: #fef08a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 158, 11, .45);
}
.hall-game[data-hall-fav] {
  border-color: rgba(217, 119, 6, .34);
  box-shadow: 0 1px 2px rgba(217, 119, 6, .08), 0 14px 28px -16px rgba(217, 119, 6, .2);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hall-game:hover {
    transform: translateY(-4px);
    box-shadow: var(--hall-shadow-hover);
    border-color: rgba(35, 80, 220, .24);
  }
  .hall-game:hover .hall-cover img { transform: scale(1.045); }
  .hall-game:hover .hall-game-copy h3::after {
    transform: translateX(3px);
    color: var(--hall-cobalt);
  }
}

/* ==========================================================================
   6. Desktop Soft Sky-Blue Atmospheric Ecosystem Closing Band (1:1 Official Website)
   ========================================================================== */
.hall-connect-band {
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
  padding-block: clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 68% 60% at 80% 15%, rgba(147, 197, 253, .36), transparent 62%),
    linear-gradient(165deg, #eef6ff 0%, #e4effe 46%, #f6f8fc 100%);
  border-top: 1px solid var(--hall-rule);
  border-bottom: 1px solid var(--hall-rule);
}
.hall-connect-inner {
  width: var(--hall-width);
  margin-inline: auto;
}
.hall-connect-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.4rem, 3.4vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 1.65rem;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 42px -18px rgba(23, 45, 96, .12);
}
.hall-connect-kicker {
  display: inline-block;
  font-size: .74rem;
  font-weight: 660;
  letter-spacing: .06em;
  color: var(--hall-cobalt);
}
.hall-connect-copy h2 {
  margin: .26rem 0 0;
  font-size: clamp(1.38rem, 2.3vw, 1.9rem);
  font-weight: 680;
  line-height: 1.24;
  letter-spacing: -.025em;
  color: var(--hall-ink);
}
.hall-connect-copy p {
  margin: .62rem 0 1.2rem;
  color: #475569;
  font-size: .9rem;
  line-height: 1.7;
}
.hall-connect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.hall-connect-primary,
.hall-connect-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .36rem;
  min-height: 42px;
  padding: 0 1.28rem;
  border-radius: 9999px;
  font-size: .87rem;
  font-weight: 640;
  text-decoration: none;
  transition: transform .15s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}
.hall-connect-primary {
  background: var(--hall-obsidian);
  color: #ffffff;
  box-shadow: 0 8px 20px -8px rgba(15, 23, 42, .42);
}
.hall-connect-primary:hover {
  background: var(--hall-cobalt);
  transform: translateY(-1px);
}
.hall-connect-secondary {
  border: 1px solid var(--hall-rule-strong);
  background: rgba(255, 255, 255, .94);
  color: var(--hall-ink);
}
.hall-connect-secondary:hover {
  border-color: rgba(35, 80, 220, .32);
  background: #ffffff;
  color: var(--hall-cobalt);
}
.hall-connect-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .68rem;
}
.hall-connect-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  padding: .85rem .98rem;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, .94);
  color: var(--hall-ink);
  text-decoration: none;
  box-shadow: 0 2px 8px -4px rgba(15, 23, 42, .05);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.hall-connect-card:hover {
  transform: translateY(-2px);
  border-color: rgba(35, 80, 220, .28);
  background: #ffffff;
  box-shadow: 0 12px 24px -12px rgba(15, 23, 42, .12);
}
.hall-connect-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c, #2350dc);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, #2350dc) 16%, transparent);
}
.hall-connect-card strong { display: block; font-size: .92rem; font-weight: 660; color: var(--hall-ink); }
.hall-connect-card small {
  display: block;
  margin-top: .14rem;
  font-size: .76rem;
  color: var(--hall-muted);
  line-height: 1.4;
}
.hall-connect-arrow {
  color: #94a3b8;
  font-size: .92rem;
  transition: transform .16s ease, color .16s ease;
}
.hall-connect-card:hover .hall-connect-arrow {
  transform: translateX(3px);
  color: var(--hall-cobalt);
}

/* Dialog Helpers & Legacy Save Transfer */
.hall-daily-rem { margin-inline-start: .25rem; color: #047857; font-size: .74rem; font-weight: 700; }
.hall-quick-games a[data-daily-done="true"] { border-color: rgba(16, 185, 129, .34); background: #ecfdf5; color: #065f46; }
.hall-quick-games a[data-daily-done="true"] small { color: #047857; }
.hall-quick-games a[data-daily-done="true"] b { color: #059669; font-size: .78rem; }
.hall-new {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .65rem;
  border: 1px solid rgba(16, 185, 129, .24);
  border-radius: .95rem;
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  color: #064e3b;
  padding: .42rem .58rem;
  min-height: 60px;
  margin-top: .72rem;
}
.hall-new:hover { background: #dcfce7; }
.hall-new img { width: 4.6rem; height: auto; border-radius: .56rem; }
.hall-new span { min-width: 0; }
.hall-new strong, .hall-new small { display: block; }
.hall-new strong { font-size: .98rem; font-weight: 700; }
.hall-new small { color: #047857; font-size: .77rem; line-height: 1.3; }
.hall-new b { margin-left: auto; font-size: 1rem; }
.hall-play-progress {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem .65rem;
  color: #475569;
  font-size: .79rem;
  padding: .58rem .75rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: .92rem;
  background: #f8faff;
}
.hall-play-progress > div { display: grid; gap: .12rem; }
.hall-play-progress strong { color: var(--hall-cobalt); }
.hall-play-progress progress { flex: 1 1 2rem; min-width: 1.5rem; height: .49rem; accent-color: var(--hall-cobalt); }

.hall-saved-games {
  width: var(--hall-width);
  margin: 1.35rem auto 0;
  color: var(--hall-muted);
  font-size: .84rem;
}
.hall-saved-games.is-quiet { opacity: .68; margin-top: 1.1rem; font-size: .8rem; }
.hall-saved-games.is-quiet:hover, .hall-saved-games.is-quiet[open] { opacity: 1; }
.hall-saved-games summary { width: fit-content; min-height: 44px; cursor: pointer; padding-block: .53rem; }
.hall-saved-games a { display: inline-flex; align-items: center; min-height: 44px; color: var(--hall-cobalt); margin-right: .8rem; text-decoration: underline; text-underline-offset: .2em; }
.hall-saved-games .merge-button { margin: 0 .35rem .35rem 0; }
.hall-save-actions { margin-top: .4rem; }
.hall-save-choice { display: flex; align-items: center; gap: .45rem; min-height: 44px; cursor: pointer; }
.hall-saved-games [data-save-status] { color: var(--hall-cobalt); }
.hall-quick-games { display: grid; gap: .44rem; margin: .58rem 0 0; }
.hall-quick-games a {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: .12rem .4rem;
  padding: .6rem .76rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: .85rem;
  background: #f8faff;
  color: #0f172a;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.hall-quick-games a:hover { background: #eef4ff; border-color: rgba(35, 80, 220, .24); }
.hall-quick-games a small { color: #525e75; }
.hall-quick-games a b { grid-area: 1 / 2 / 3 / 3; align-self: center; color: var(--hall-cobalt); }
.hall-room-list { margin: .6rem 0 1rem; }
.hall-room-list h3 { margin: 0; font-size: .95rem; color: #334155; }
.hall-room-list .hall-quick-games { max-height: min(38dvh, 19rem); overflow: auto; overscroll-behavior: contain; }
.hall-invite { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .42rem; margin-top: .55rem; }
.hall-invite label, .hall-invite p { grid-column: 1 / -1; }
.hall-invite label { font-size: .86rem; color: #1e293b; font-weight: 680; }
.hall-invite p { margin: 0; font-size: .78rem; color: #b91c1c; }
.hall-invite p:empty { display: none; }

/* 成就发币按钮 & 通用积分卡荣誉榜 */
.hall-badge-claim-btn {
  flex: none;
  padding: .3rem .68rem;
  border-radius: 9999px;
  border: 1px solid #d97706;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: .74rem;
  font-weight: 760;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(217, 119, 6, .28);
}
.hall-badge-claim-btn:hover:not(:disabled) { filter: brightness(1.06); }
.hall-badge-claim-btn:disabled { opacity: .65; cursor: default; }

.hall-honor-dialog { max-width: min(33rem, calc(100vw - 1.25rem)); }
.hall-honor-me {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap;
  padding: .68rem .88rem; margin: .5rem 0 .72rem; border-radius: .95rem;
  background: linear-gradient(135deg, #eef4ff, #f9fbff); border: 1px solid rgba(35, 80, 220, .18);
}
.hall-honor-me[hidden] { display: none; }
.hall-honor-me-left { display: grid; gap: .12rem; }
.hall-honor-me-left strong { font-size: .92rem; color: #0f172a; }
.hall-honor-me-left span { font-size: .76rem; color: #525e75; }
.hall-honor-list { list-style: none; display: grid; gap: .42rem; margin: .45rem 0 0; padding: 0; max-height: 52vh; overflow-y: auto; }
.hall-honor-row {
  display: grid; grid-template-columns: 2.1rem 2.2rem minmax(0, 1fr) auto; align-items: center; gap: .55rem;
  padding: .54rem .72rem; border-radius: .85rem; border: 1px solid rgba(15, 23, 42, .08); background: #ffffff;
}
.hall-honor-row.is-self { background: #eff5ff; border-color: rgba(35, 80, 220, .32); }
.hall-honor-rank { text-align: center; font-weight: 760; font-size: .88rem; color: #475569; font-variant-numeric: tabular-nums; }
.hall-honor-avatar {
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: #111827; color: #fde68a; font-size: .95rem; font-weight: 800;
}
.hall-honor-info { display: grid; gap: .1rem; min-width: 0; }
.hall-honor-name-row { display: flex; align-items: center; gap: .38rem; flex-wrap: wrap; }
.hall-honor-name-row strong { font-size: .86rem; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hall-honor-info small { font-size: .72rem; color: #64748b; }
.hall-honor-score { font-size: .86rem; font-weight: 760; color: #b45309; font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .hall-game, .hall-cover img, .hall-go, .hall-service, .hall-pass-bar span, .hall-pass-btn, .hall-fav-btn, .hall-filter-slider, .hall-stage-mascot img, .hall-stage-thumbs img {
    transition: none !important;
    animation: none !important;
  }
  .hall-service:hover, .hall-random:active, .hall-game:active { transform: none !important; }
}
.game-reduced-motion :is(.hall-game, .hall-cover img, .hall-go, .hall-service, .hall-pass-bar span, .hall-pass-btn, .hall-fav-btn, .hall-filter-slider) {
  transition: none !important;
  animation: none !important;
}

/* ==========================================================================
   7. 1:1 Official Website Obsidian Dark Mode (#0b0f19 / #0f1523 / #141c2e)
   ========================================================================== */
html[data-game-theme="dark"] .games-hall-page {
  color-scheme: dark;
  --hall-canvas: #0f1523;
  --hall-surface: #141c2e;
  --hall-ink: #f8fafc;
  --hall-secondary: #9aa7bd;
  --hall-muted: #8494b0;
  --hall-rule: rgba(255, 255, 255, .08);
  --hall-rule-strong: rgba(255, 255, 255, .14);
  --hall-cobalt: #8ab4ff;
  --hall-obsidian: #f8fafc;
  --hall-shadow: 0 2px 10px -4px rgba(0, 0, 0, .45);
  --hall-shadow-hover: 0 16px 36px -12px rgba(0, 0, 0, .68);
  --game-ink: #f8fafc;
  --game-muted: #9aa7bd;
  --game-line: rgba(255, 255, 255, .11);
  color: #f8fafc;
  background: var(--hall-canvas);
}
html[data-game-theme="dark"] .games-hall-page .merge-nav {
  background: rgba(11, 15, 25, .86);
  border-bottom-color: rgba(255, 255, 255, .08);
}
html[data-game-theme="dark"] .games-hall-page .merge-nav.is-scrolled {
  background: rgba(11, 15, 25, .95);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .55);
}
html[data-game-theme="dark"] .games-hall-page .merge-nav :is(.wordmark, .merge-directory, .identity) { color: #f8fafc; }
html[data-game-theme="dark"] .games-hall-page .merge-nav .nav-home-tag {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  color: #cbd5e1;
}
html[data-game-theme="dark"] .games-hall-page .merge-nav-button {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .13);
  color: #e2e8f0;
  box-shadow: none;
}
@media (hover: hover) {
  html[data-game-theme="dark"] .games-hall-page .merge-nav-button:hover {
    background: rgba(122, 162, 255, .14);
    border-color: rgba(122, 162, 255, .36);
    color: #ffffff;
  }
}
html[data-game-theme="dark"] .games-hall-page .merge-nav-links .wallet-button {
  background: rgba(245, 158, 11, .16);
  border-color: rgba(251, 191, 36, .34);
  color: #fde68a;
  box-shadow: none;
}
html[data-game-theme="dark"] .games-hall-page .wallet-alert-dot { border-color: #0b0f19; }

html[data-game-theme="dark"] .games-hall-hero {
  background:
    radial-gradient(ellipse 62% 68% at 76% 42%, rgba(79, 134, 255, .19), transparent 66%),
    radial-gradient(ellipse 44% 56% at 90% 88%, rgba(245, 179, 66, .14), transparent 60%),
    linear-gradient(128deg, #0b0f19 14%, #0f1729 52%, #11162a 100%);
  border-bottom-color: rgba(255, 255, 255, .08);
}
html[data-game-theme="dark"] .games-hall-hero::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
}
html[data-game-theme="dark"] .games-hall-hero::after {
  background: linear-gradient(115deg, transparent 22%, rgba(122, 162, 255, .08) 44%, transparent 62%);
}
html[data-game-theme="dark"] .hall-hero-eyebrow {
  border-color: rgba(122, 162, 255, .24);
  background: rgba(18, 25, 42, .88);
  color: #cbd5e1;
  box-shadow: 0 2px 12px -4px rgba(0, 0, 0, .5);
}
html[data-game-theme="dark"] .hall-intro h1 { color: #f8fafc; }
html[data-game-theme="dark"] .games-hall-page .hall-intro h1 span {
  display: inline-block;
  background: linear-gradient(100deg, #7aa2ff 0%, #a5b4fc 52%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
html[data-game-theme="dark"] .hall-intro p { color: #9aa7bd; }
html[data-game-theme="dark"] .hall-last {
  background: #f8fafc;
  color: #0b0f19;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .55);
}
html[data-game-theme="dark"] .hall-random {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
  color: #f1f5f9;
}
html[data-game-theme="dark"] .hall-stats-btn {
  border-color: rgba(122, 162, 255, .26);
  background: rgba(79, 134, 255, .14);
  color: #bfdbfe;
}
@media (hover: hover) {
  html[data-game-theme="dark"] .hall-last:hover {
    background: #93c5fd;
    color: #071024;
  }
  html[data-game-theme="dark"] .hall-random:hover {
    border-color: rgba(122, 162, 255, .42);
    background: rgba(122, 162, 255, .14);
    color: #ffffff;
  }
  html[data-game-theme="dark"] .hall-stats-btn:hover {
    border-color: rgba(147, 197, 253, .45);
    background: rgba(79, 134, 255, .24);
    color: #ffffff;
  }
}
html[data-game-theme="dark"] .hall-hero-controls .hall-resume-detail { color: #9aa7bd; }
html[data-game-theme="dark"] .hall-recent a {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  color: #cbd5e1;
}
html[data-game-theme="dark"] .hall-recent a:hover {
  border-color: rgba(122, 162, 255, .38);
  color: #93c5fd;
}
html[data-game-theme="dark"] .hall-room-return {
  border-color: rgba(251, 191, 36, .34);
  background: rgba(245, 158, 11, .16);
  color: #fde68a;
}

html[data-game-theme="dark"] .hall-stage-card {
  border-color: rgba(122, 162, 255, .16);
  background:
    radial-gradient(ellipse 84% 66% at 50% 18%, rgba(79, 134, 255, .16), transparent 72%),
    linear-gradient(156deg, #121a2f 0%, #16203a 56%, #1a1e30 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 24px 52px -24px rgba(0, 0, 0, .65);
}
html[data-game-theme="dark"] .hall-stage-mascot {
  background: radial-gradient(circle at 38% 30%, #24345c 0%, #15213d 72%, #0e162a 100%);
  box-shadow: 0 0 0 .38rem rgba(255, 255, 255, .07), 0 14px 28px -12px rgba(0, 0, 0, .6);
}
html[data-game-theme="dark"] .hall-stage-kicker { color: #9aa7bd; }
html[data-game-theme="dark"] .hall-stage-thumbs img { border-color: rgba(255, 255, 255, .2); }
html[data-game-theme="dark"] .hall-stage-chip {
  border-color: rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .06);
}
html[data-game-theme="dark"] .hall-stage-chip strong { color: #f8fafc; }
html[data-game-theme="dark"] .hall-stage-chip span { color: #9aa7bd; }

html[data-game-theme="dark"] .hall-service {
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 4px 16px -8px rgba(0, 0, 0, .5);
}
html[data-game-theme="dark"] .hall-daily { background: linear-gradient(155deg, #102622 0%, #14322b 100%); color: #dcfce7; }
html[data-game-theme="dark"] .hall-friends { background: linear-gradient(155deg, #161d38 0%, #1d2648 100%); color: #e0e7ff; }
html[data-game-theme="dark"] .hall-checkin { background: linear-gradient(155deg, #271d14 0%, #332519 100%); color: #fef3c7; }
html[data-game-theme="dark"] .hall-inbox { background: linear-gradient(155deg, #112233 0%, #162e45 100%); color: #e0f2fe; }
html[data-game-theme="dark"] .hall-service-icon {
  background: rgba(255, 255, 255, .09);
  box-shadow: none;
}
html[data-game-theme="dark"] .hall-daily .hall-service-icon { color: #6ee7b7; }
html[data-game-theme="dark"] .hall-friends .hall-service-icon { color: #a5b4fc; }
html[data-game-theme="dark"] .hall-checkin .hall-service-icon { color: #fcd34d; }
html[data-game-theme="dark"] .hall-inbox .hall-service-icon { color: #93c5fd; }
html[data-game-theme="dark"] .hall-service small { color: #9aa7bd; }
html[data-game-theme="dark"] .hall-service-arrow { color: #9aa7bd; }
html[data-game-theme="dark"] .hall-desk-pill { background: rgba(16, 185, 129, .2); color: #6ee7b7; }
html[data-game-theme="dark"] .hall-desk-dot { border-color: #271d14; }

html[data-game-theme="dark"] .hall-library-eyebrow { color: #93c5fd; }
html[data-game-theme="dark"] .hall-library h2 { color: #f8fafc; }
html[data-game-theme="dark"] .hall-count-pill { background: rgba(122, 162, 255, .16); color: #93c5fd; }
html[data-game-theme="dark"] .hall-kbd-hint {
  border-color: rgba(255, 255, 255, .09);
  background: rgba(20, 28, 46, .88);
  color: #9aa7bd;
}
html[data-game-theme="dark"] .hall-kbd-hint kbd {
  border-color: rgba(255, 255, 255, .14);
  background: #1b253d;
  color: #f8fafc;
}
html[data-game-theme="dark"] .hall-library-head {
  border-color: rgba(255, 255, 255, .09);
  background: rgba(18, 25, 42, .9);
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, .65);
}
html[data-game-theme="dark"] .hall-library-head.is-stuck {
  background: rgba(15, 22, 38, .96);
}
html[data-game-theme="dark"] .hall-filters button { color: #9aa7bd; }
html[data-game-theme="dark"] .hall-filters button[aria-pressed="true"] { background: #f8fafc; color: #0b0f19; }
@media (hover: hover) {
  html[data-game-theme="dark"] .hall-filters button[aria-pressed="false"]:hover {
    background: rgba(255, 255, 255, .07);
    color: #f8fafc;
  }
}
html[data-game-theme="dark"] .hall-search input,
html[data-game-theme="dark"] .hall-invite input {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .1);
  color: #f8fafc;
}
html[data-game-theme="dark"] .hall-search input:focus-visible,
html[data-game-theme="dark"] .hall-invite input:focus-visible {
  background: #141c2e;
  border-color: rgba(122, 162, 255, .48);
  box-shadow: 0 0 0 3px rgba(122, 162, 255, .18);
}
html[data-game-theme="dark"] .hall-search input::placeholder,
html[data-game-theme="dark"] .hall-invite input::placeholder { color: #7e8ea9; }
html[data-game-theme="dark"] .hall-search-kbd {
  border-color: rgba(255, 255, 255, .14);
  background: #1b253d;
  color: #9aa7bd;
}
html[data-game-theme="dark"] .hall-search-clear { background: rgba(255, 255, 255, .12); color: #e2e8f0; }
html[data-game-theme="dark"] .hall-no-results { background: #141c2e; border-color: rgba(255, 255, 255, .08); color: #cbd5e1; }

html[data-game-theme="dark"] .hall-game {
  --art-ink: #8ab4ff;
  background: #141c2e;
  border-color: rgba(255, 255, 255, .08);
  color: #f8fafc;
  box-shadow: 0 2px 10px -4px rgba(0, 0, 0, .45);
}
@media (hover: hover) {
  html[data-game-theme="dark"] .hall-game:hover {
    border-color: rgba(122, 162, 255, .36);
    background: #182238;
    box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .68);
  }
  html[data-game-theme="dark"] .hall-game:hover .hall-game-copy h3::after { color: #93c5fd; }
}
html[data-game-theme="dark"] .hall-game-copy h3 { color: #f8fafc; }
html[data-game-theme="dark"] .hall-game-copy p { color: #9aa7bd; }
html[data-game-theme="dark"] .hall-game[data-hall-fav] { border-color: rgba(251, 191, 36, .42); }
html[data-game-theme="dark"] .hall-order-pill {
  border-color: rgba(96, 165, 250, .32);
  background: rgba(30, 58, 138, .32);
  color: #bfdbfe;
}
html[data-game-theme="dark"] .hall-order-pill:enabled:hover {
  background: rgba(37, 99, 235, .42);
  border-color: rgba(147, 197, 253, .5);
}
html[data-game-theme="dark"] .hall-order-pill[data-mode="hot"] {
  border-color: rgba(251, 191, 36, .34);
  background: rgba(180, 83, 9, .24);
  color: #fde68a;
}
html[data-game-theme="dark"] .hall-order-pill[data-mode="default"] {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: #cbd5e1;
}
html[data-game-theme="dark"] .hall-rank-tag.is-personal {
  background: rgba(59, 130, 246, .24);
  color: #93c5fd;
}
html[data-game-theme="dark"] .hall-rank-tag.is-hot {
  background: rgba(245, 158, 11, .22);
  color: #fcd34d;
}

html[data-game-theme="dark"] .hall-connect-band {
  background:
    radial-gradient(ellipse 68% 60% at 80% 15%, rgba(59, 130, 246, .16), transparent 62%),
    linear-gradient(165deg, #0d1424 0%, #0f182c 46%, #0b0f19 100%);
  border-color: rgba(255, 255, 255, .07);
}
html[data-game-theme="dark"] .hall-connect-panel {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(17, 24, 40, .84);
  box-shadow: 0 20px 48px -18px rgba(0, 0, 0, .65);
}
html[data-game-theme="dark"] .hall-connect-kicker { color: #93c5fd; }
html[data-game-theme="dark"] .hall-connect-copy h2 { color: #f8fafc; }
html[data-game-theme="dark"] .hall-connect-copy p { color: #9aa7bd; }
html[data-game-theme="dark"] .hall-connect-primary { background: #f8fafc; color: #0b0f19; }
html[data-game-theme="dark"] .hall-connect-primary:hover { background: #93c5fd; color: #071024; }
html[data-game-theme="dark"] .hall-connect-secondary {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: #f8fafc;
}
html[data-game-theme="dark"] .hall-connect-secondary:hover {
  border-color: rgba(122, 162, 255, .4);
  color: #93c5fd;
}
html[data-game-theme="dark"] .hall-connect-card {
  border-color: rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .05);
  color: #f8fafc;
}
html[data-game-theme="dark"] .hall-connect-card:hover {
  border-color: rgba(122, 162, 255, .38);
  background: rgba(122, 162, 255, .1);
}
html[data-game-theme="dark"] .hall-connect-card strong { color: #f8fafc; }
html[data-game-theme="dark"] .hall-connect-card small { color: #9aa7bd; }

html[data-game-theme="dark"] .hall-saved-games { color: #8494b0; }
html[data-game-theme="dark"] .hall-saved-games a,
html[data-game-theme="dark"] .hall-saved-games [data-save-status] { color: #93c5fd; }
html[data-game-theme="dark"] .hall-quick-games a { background: #18233e; border-color: rgba(255, 255, 255, .09); color: #f1f5f9; }
html[data-game-theme="dark"] .hall-quick-games a small { color: #9aa7bd; }
html[data-game-theme="dark"] .hall-quick-games a b { color: #93c5fd; }
html[data-game-theme="dark"] .hall-quick-games a[data-daily-done="true"] { background: #102a22; border-color: rgba(52, 211, 153, .32); color: #a7f3d0; }
html[data-game-theme="dark"] .hall-quick-games a[data-daily-done="true"] small,
html[data-game-theme="dark"] .hall-quick-games a[data-daily-done="true"] b { color: #6ee7b7; }
html[data-game-theme="dark"] .hall-play-progress { background: #141c2e; border-color: rgba(255, 255, 255, .09); color: #9aa7bd; }
html[data-game-theme="dark"] .hall-play-progress strong { color: #93c5fd; }
html[data-game-theme="dark"] .hall-week-link { background: rgba(122, 162, 255, .16); border-color: rgba(122, 162, 255, .28); color: #bfdbfe; }
html[data-game-theme="dark"] .hall-new { background: #102620; border-color: rgba(52, 211, 153, .28); color: #d1fae5; }
html[data-game-theme="dark"] .hall-new small { color: #6ee7b7; }
html[data-game-theme="dark"] .hall-room-list h3,
html[data-game-theme="dark"] .hall-invite label { color: #e2e8f0; }
html[data-game-theme="dark"] .hall-invite p { color: #fca5a5; }
html[data-game-theme="dark"] .hall-honor-me { background: linear-gradient(135deg, #16223c, #141c2e); border-color: rgba(122, 162, 255, .24); }
html[data-game-theme="dark"] .hall-honor-me-left strong { color: #f8fafc; }
html[data-game-theme="dark"] .hall-honor-me-left span { color: #9aa7bd; }
html[data-game-theme="dark"] .hall-honor-row { background: #141c2e; border-color: rgba(255, 255, 255, .08); }
html[data-game-theme="dark"] .hall-honor-row.is-self { background: #1a294a; border-color: rgba(122, 162, 255, .4); }
html[data-game-theme="dark"] .hall-honor-rank { color: #9aa7bd; }
html[data-game-theme="dark"] .hall-honor-name-row strong { color: #f8fafc; }
html[data-game-theme="dark"] .hall-honor-info small { color: #8494b0; }
html[data-game-theme="dark"] .hall-honor-score { color: #fde68a; }

/* 离线免网畅玩角标：默认轻透贴右下角，断网时高亮可玩卡片、淡化需联网游戏 */
.hall-offline-pill {
  position: absolute;
  right: .52rem;
  bottom: .5rem;
  z-index: 2;
  padding: .14rem .46rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, .62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .24);
  color: #ecfdf5;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.25;
  pointer-events: none;
}
body.is-hall-offline .hall-game:not([data-hall-offline]) { opacity: .45; filter: grayscale(.35); }
body.is-hall-offline .hall-game[data-hall-offline] .hall-offline-pill {
  background: #059669;
  border-color: #6ee7b7;
  color: #ffffff;
}
@media (max-width: 699px) {
  .hall-offline-pill { right: .38rem; bottom: .38rem; padding: .1rem .38rem; font-size: .62rem; }
}

/* ==========================================================================
   8. 极简海报游戏墙（2026-11-26 减噪定稿：纯粹封面图 + 游戏名字，退去全站视觉干扰）
   ========================================================================== */
.games-hall-page .games-hall-hero,
.games-hall-page .hall-pass-strip,
.games-hall-page .hall-library-top,
.games-hall-page .hall-library-options,
.games-hall-page .hall-connect-band {
  display: none !important;
}

/* 卡片极简化：封面图干干净净无角标，下方仅展示单行游戏名 */
.games-hall-page .hall-fav-btn,
.games-hall-page .hall-card-badge,
.games-hall-page .hall-game-copy > span,
.games-hall-page .hall-game-copy > p,
.games-hall-page .hall-game-copy h3::after {
  display: none !important;
}
/* 离线角标平时隐身不压画，仅在真断网时点亮提示 */
.games-hall-page .hall-offline-pill {
  display: none;
}
body.is-hall-offline .hall-game[data-hall-offline] .hall-offline-pill {
  display: inline-flex;
}

.games-hall-page .hall-library {
  margin-top: 1.05rem;
}

/* 桌面端一行极轻工具条：左 5 枚轻量入口胶囊，右紧凑搜索栏 */
.games-hall-page .hall-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1.05rem;
}
.games-hall-page .hall-toolbar .hall-desk {
  width: auto;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .42rem;
}
.games-hall-page .hall-toolbar .hall-service {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .36rem;
  min-height: 36px;
  padding: 0 .82rem;
  border-radius: 9999px;
  border: 1px solid var(--hall-rule-strong);
  background: var(--hall-surface);
  color: var(--hall-secondary);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}
.games-hall-page .hall-toolbar .hall-service:hover {
  transform: translateY(-1px);
  border-color: rgba(35, 80, 220, .3);
  color: var(--hall-ink);
  box-shadow: 0 6px 16px -10px rgba(15, 23, 42, .16);
}
.games-hall-page .hall-toolbar .hall-service-icon {
  position: static;
  width: 1rem;
  height: 1rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.games-hall-page .hall-toolbar .hall-service-icon svg {
  width: .96rem;
  height: .96rem;
}
.games-hall-page .hall-toolbar .hall-desk-dot {
  top: .22rem;
  right: .32rem;
  width: 7px;
  height: 7px;
  border-width: 1.5px;
  border-color: var(--hall-surface);
}
.games-hall-page .hall-toolbar .hall-service strong {
  font-size: .84rem;
  font-weight: 620;
  color: inherit;
}
.games-hall-page .hall-toolbar .hall-service small,
.games-hall-page .hall-toolbar .hall-service-arrow {
  display: none;
}
.games-hall-page .hall-toolbar .hall-desk-pill {
  background: rgba(16, 185, 129, .12);
  color: #059669;
  font-size: .72rem;
  padding: .04rem .38rem;
}
.games-hall-page .hall-toolbar .hall-stats-shortcut .hall-service-icon {
  color: #d97706;
}
.games-hall-page .hall-toolbar .hall-library-head {
  position: static;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.games-hall-page .hall-toolbar .hall-search {
  width: clamp(13rem, 20vw, 17rem);
}
.games-hall-page .hall-toolbar .hall-search input {
  min-height: 36px;
  background: var(--hall-surface);
  border-color: var(--hall-rule-strong);
}

/* 桌面端四列纯净海报墙 */
.games-hall-page .games-hall-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.85rem, 1.5vw, 1.15rem);
}
.games-hall-page .hall-game {
  grid-template-rows: auto auto;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, .07);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04), 0 10px 24px -16px rgba(15, 23, 42, .12);
}
.games-hall-page .hall-game[data-hall-fav] {
  border-color: rgba(15, 23, 42, .07);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04), 0 10px 24px -16px rgba(15, 23, 42, .12);
}
.games-hall-page .hall-game-copy {
  display: block;
  padding: .62rem .75rem .68rem;
  text-align: center;
}
.games-hall-page .hall-game-copy h3 {
  display: block;
  margin: 0;
  font-size: .96rem;
  font-weight: 680;
  line-height: 1.3;
  letter-spacing: -.012em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 深色模式同步匹配极简海报墙 */
html[data-game-theme="dark"] .games-hall-page .hall-toolbar .hall-service {
  background: rgba(20, 28, 46, .92);
  border-color: rgba(255, 255, 255, .1);
  color: #cbd5e1;
  box-shadow: none;
}
html[data-game-theme="dark"] .games-hall-page .hall-toolbar .hall-service:hover {
  border-color: rgba(122, 162, 255, .42);
  background: rgba(30, 41, 66, .96);
  color: #f8fafc;
}
html[data-game-theme="dark"] .games-hall-page .hall-toolbar .hall-desk-dot {
  border-color: #141c2e;
}
html[data-game-theme="dark"] .games-hall-page .hall-toolbar .hall-desk-pill {
  background: rgba(16, 185, 129, .2);
  color: #6ee7b7;
}
html[data-game-theme="dark"] .games-hall-page .hall-toolbar .hall-search input {
  background: rgba(20, 28, 46, .92);
  border-color: rgba(255, 255, 255, .1);
}
html[data-game-theme="dark"] .games-hall-page .hall-game,
html[data-game-theme="dark"] .games-hall-page .hall-game[data-hall-fav] {
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 2px 10px -4px rgba(0, 0, 0, .45);
}

/* ==========================================================================
   9. 桌面端一体化 58px 极简毛玻璃单行导航栏（合并双层菜单，Apple Arcade × Linear）
   ========================================================================== */
@media (min-width: 1100px) {
  .games-hall-page .merge-nav {
    min-height: 58px;
    gap: 1rem;
    padding-block: .45rem;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    border-bottom: 1px solid rgba(15, 23, 42, .07);
  }
  .games-hall-page .merge-nav .identity {
    flex: none;
    gap: .48rem;
  }
  .games-hall-page .merge-nav .identity img {
    width: 30px;
    height: 30px;
  }
  .games-hall-page .merge-nav .wordmark {
    font-size: 1.12rem;
    font-weight: 780;
    letter-spacing: -.025em;
  }
  .games-hall-page .merge-nav .nav-home-tag {
    padding: .14rem .46rem;
    font-size: .71rem;
    font-weight: 620;
    border-color: rgba(15, 23, 42, .08);
    background: rgba(15, 23, 42, .04);
    color: var(--hall-muted);
  }
  .games-hall-page .hall-nav-center {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .85rem;
  }
  .games-hall-page .hall-nav-center .hall-desk {
    width: auto;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: .18rem;
    padding: 3px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, .042);
    border: 1px solid rgba(15, 23, 42, .06);
  }
  .games-hall-page .hall-nav-center .hall-service {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .32rem;
    min-height: 32px;
    padding: 0 .72rem;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: var(--hall-secondary);
    box-shadow: none;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease, transform 110ms ease;
  }
  .games-hall-page .hall-nav-center .hall-service[hidden] {
    display: none !important;
  }
  .games-hall-page .hall-nav-center .hall-service:hover {
    background: rgba(255, 255, 255, .95);
    color: var(--hall-ink);
    box-shadow: 0 2px 8px -3px rgba(15, 23, 42, .12);
    transform: none;
  }
  .games-hall-page .hall-nav-center .hall-service:active {
    transform: scale(.97);
  }
  .games-hall-page .hall-nav-center .hall-service-icon {
    position: static;
    width: 15px;
    height: 15px;
    background: transparent;
    box-shadow: none;
    color: currentColor;
    opacity: .78;
  }
  .games-hall-page .hall-nav-center .hall-service:hover .hall-service-icon { opacity: 1; }
  .games-hall-page .hall-nav-center .hall-service-icon svg { width: 15px; height: 15px; }
  .games-hall-page .hall-nav-center .hall-service strong {
    font-size: .82rem;
    font-weight: 620;
    color: inherit;
    white-space: nowrap;
  }
  .games-hall-page .hall-nav-center .hall-service small,
  .games-hall-page .hall-nav-center .hall-service-arrow {
    display: none;
  }
  .games-hall-page .hall-nav-center .hall-desk-pill {
    margin-left: .12rem;
    padding: .04rem .36rem;
    border-radius: 9999px;
    background: rgba(35, 80, 220, .1);
    color: #2350dc;
    font-size: .7rem;
    font-weight: 700;
  }
  .games-hall-page .hall-nav-center .hall-desk-dot {
    top: 4px;
    right: 6px;
    width: 6px;
    height: 6px;
    border: 1.5px solid #fff;
  }
  .games-hall-page .hall-nav-center .hall-search {
    width: 11.5rem;
    transition: width 220ms cubic-bezier(.22, 1, .36, 1);
  }
  .games-hall-page .hall-nav-center .hall-search:focus-within {
    width: 15rem;
  }
  .games-hall-page .hall-nav-center .hall-search input {
    min-height: 36px;
    padding-block: .22rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, .042);
    border: 1px solid rgba(15, 23, 42, .07);
    font-size: .82rem;
  }
  .games-hall-page .hall-nav-center .hall-search input:focus {
    background: #ffffff;
    border-color: rgba(35, 80, 220, .38);
    box-shadow: 0 0 0 3px rgba(35, 80, 220, .1);
  }
  .games-hall-page .merge-nav-links {
    flex: none;
    gap: .4rem;
  }
  .games-hall-page .hall-audio-btn {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 9999px;
    border-color: rgba(15, 23, 42, .08);
    background: rgba(15, 23, 42, .04);
    color: var(--hall-secondary);
    box-shadow: none;
  }
  .games-hall-page .hall-audio-btn span:last-child { display: none; }
  .games-hall-page .hall-audio-btn:hover {
    background: rgba(15, 23, 42, .08);
    border-color: rgba(15, 23, 42, .12);
    color: var(--hall-ink);
  }
  .games-hall-page .merge-nav-links .wallet-button {
    min-height: 36px;
    padding: 0 .74rem;
    font-size: .82rem;
    box-shadow: none;
  }
  .games-hall-page .merge-nav-links .wallet-button-name { display: none; }
  .games-hall-page .merge-nav-links [data-game-account] {
    min-height: 36px;
    padding: 0 .82rem;
    font-size: .82rem;
    border-radius: 9999px;
    box-shadow: none;
  }
  .games-hall-page .merge-nav-links [data-game-account]:not(.is-signed-in) {
    background: var(--hall-obsidian);
    border-color: transparent;
    color: #ffffff;
  }
  .games-hall-page .merge-nav-links [data-game-account]:not(.is-signed-in):hover {
    background: var(--hall-cobalt);
    color: #ffffff;
  }
  .games-hall-page .hall-toolbar {
    display: none !important;
  }
  .games-hall-page .hall-library {
    margin-top: 1.2rem;
  }

  /* 深色模式同步一体化单行顶栏 */
  html[data-game-theme="dark"] .games-hall-page .merge-nav {
    background: rgba(11, 15, 25, .82);
    border-bottom-color: rgba(255, 255, 255, .08);
  }
  html[data-game-theme="dark"] .games-hall-page .merge-nav .nav-home-tag {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .06);
    color: #9aa7bd;
  }
  html[data-game-theme="dark"] .games-hall-page .hall-nav-center .hall-desk {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .08);
  }
  html[data-game-theme="dark"] .games-hall-page .hall-nav-center .hall-service {
    color: #aebcd2;
  }
  html[data-game-theme="dark"] .games-hall-page .hall-nav-center .hall-service:hover {
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    box-shadow: none;
  }
  html[data-game-theme="dark"] .games-hall-page .hall-nav-center .hall-desk-pill {
    background: rgba(122, 162, 255, .18);
    color: #93c5fd;
  }
  html[data-game-theme="dark"] .games-hall-page .hall-nav-center .hall-desk-dot {
    border-color: #141c2e;
  }
  html[data-game-theme="dark"] .games-hall-page .hall-nav-center .hall-search input {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .09);
    color: #f8fafc;
  }
  html[data-game-theme="dark"] .games-hall-page .hall-nav-center .hall-search input:focus {
    background: rgba(18, 26, 45, .96);
    border-color: rgba(122, 162, 255, .45);
    box-shadow: 0 0 0 3px rgba(122, 162, 255, .14);
  }
  html[data-game-theme="dark"] .games-hall-page .hall-audio-btn {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .06);
    color: #cbd5e1;
  }
  html[data-game-theme="dark"] .games-hall-page .hall-audio-btn:hover {
    background: rgba(255, 255, 255, .13);
    color: #ffffff;
  }
  html[data-game-theme="dark"] .games-hall-page .merge-nav-links [data-game-account]:not(.is-signed-in) {
    background: #f8fafc;
    color: #0b0f19;
  }
}

/* 荣誉榜真实用户头像 */
.hall-honor-avatar { overflow: hidden; }
.hall-honor-av-img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
