.games-hall-page {
  background: radial-gradient(ellipse at 78% 0%, #e0ebff 0, transparent 35rem), #f7f4ec;
}
.games-hall {
  width: min(72rem, calc(100% - 3rem));
  margin-inline: auto;
  padding: clamp(.65rem, 1.5vw, 1.15rem) 0 2.5rem;
}
.hall-audio-btn { gap: .28rem; }
.games-hall-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.75rem, 2.5vw, 1.8rem);
  overflow: hidden;
  border: 1px solid #414f98;
  padding: clamp(.78rem, 1.65vw, 1.2rem) clamp(.9rem, 2.6vw, 2rem);
  border-radius: clamp(1rem, 2vw, 1.45rem);
  background: radial-gradient(ellipse at 92% 0%, #4d55a2 0%, transparent 55%), linear-gradient(125deg,#182854,#24265a);
  box-shadow: 0 .7rem 1.5rem #252b6c29;
}
.hall-intro, .hall-hero-controls { min-width: 0; }
.hall-intro h1 {
  margin: 0 0 .22rem;
  color: #fff5dc;
  font-size: clamp(2.25rem, 4.2vw, 3.45rem);
  font-weight: 860;
  line-height: 1.02;
  letter-spacing: -.065em;
}
.games-hall-page .hall-intro h1 span { color: #ffcb67; }
.hall-intro p { margin: .12rem 0 0; color: #e0e7ff; font-size: clamp(.9rem, 1.45vw, 1.06rem); }
.hall-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .57rem; }
.hall-random, .hall-last, .hall-stats-btn {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .52rem .85rem; border-radius: .61rem; font: 770 .91rem/1.23 var(--sans);
  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);
}
.hall-random { border: 1px solid #aebae9; background: #41468ac4; color: #fff9e9; cursor: pointer; }
.hall-stats-btn { border: 1px solid #f0cc84aa; background: #2c356ed6; color: #ffe7a8; cursor: pointer; }
.hall-last { background: #ffd173; color: #39231e; border: 1px solid #f6bd59; box-shadow: 0 .22rem #9b631e; }
@media (hover: hover) {
  .hall-random:hover { background: #555da4; }
  .hall-stats-btn:hover { background: #3b4687; border-color: #ffd98d; color: #fff4cf; }
  .hall-last:hover { background: #ffe29d; }
}
.hall-last:active, .hall-random:active, .hall-stats-btn:active { transform: scale(.972); }
.hall-hero-controls .hall-resume-detail { color: #f1e0b4; margin-top: .65rem; font-size: .77rem; }
.hall-recent { display: flex; flex-wrap: wrap; gap: .35rem .55rem; margin-top: .65rem; }
.hall-recent a { color: #e8eefa; border-bottom: 1px solid #9faede9e; padding-block: .18rem; font-size: .8rem; }
.hall-recent a:hover { color: #ffdf92; }
.hall-room-return { display: inline-flex; align-items: center; min-height: 44px; gap: .35rem; color: #ffdf99; font-size: .87rem; font-weight: 760; }
.hall-room-return::after { content: '↗'; }
.hall-room-return:hover { color: #fff1cf; text-decoration: underline; }
.hall-room-return[hidden], .hall-room-list[hidden] { display: none; }
.hall-week-link { display: inline-flex; align-items: center; gap: .2rem; min-height: 36px; padding: 0 .33rem; border: 1px solid #b9c9ec; border-radius: .41rem; color: #2c4a81; background: #edf2ff; font: inherit; cursor: pointer; }
.hall-desk {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .56rem;
  margin-top: .65rem;
}
.hall-service {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .62rem;
  min-height: 62px;
  padding: .48rem .75rem;
  border: 1px solid #d9c788;
  border-radius: .85rem;
  color: #292b37;
  text-align: start;
  background: #fff3d3;
  font-family: inherit;
  cursor: pointer;
  transition: transform var(--xh-dur-fast, 180ms) var(--xh-ease-spring, ease), border-color var(--xh-dur-fast, 180ms) var(--xh-ease-spring, ease), background-color var(--xh-dur-fast, 180ms) var(--xh-ease-spring, ease);
}
.hall-service:active { transform: scale(.975); }
.hall-desk-pill { display: inline-flex; align-items: center; padding: .04rem .36rem; border-radius: 999px; background: #cbe8d0; color: #1d5742; font-size: .72rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.hall-desk-dot { position: absolute; top: -.18rem; right: -.18rem; width: .52rem; height: .52rem; border-radius: 50%; background: #d64933; border: 2px solid #fff3d3; }
.hall-desk-dot[hidden] { display: none; }
.hall-inbox { border-color: #becbed; color: #1e3057; background: #e9efff; }
.hall-daily { background: #edf7ec; color: #264940; border-color: #b1cbb9; }
.hall-daily .hall-service-icon { background: #cbe8d0; color: #28634d; font-size: 1.22rem; }
.hall-friends { background: #efeafb; color: #373062; border-color: #d2c6ea; }
.hall-friends .hall-service-icon { background: #dcd1f9; color: #50468a; font-size: 1.15rem; }
@media (hover: hover) {
  .hall-service:hover { box-shadow: 0 6px 14px #28376d14; transform: translateY(-2px); }
}
.hall-service strong { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .32rem; font-size: clamp(1.02rem, 2.2vw, 1.18rem); }
.hall-service small { display: block; margin-top: .12rem; color: #4a5262; font-size: .83rem; line-height: 1.35; }
.hall-service-icon { position: relative; display: grid; place-items: center; width: 2.55rem; height: 2.55rem; border-radius: .61rem; color: #493002; background: #f8cb6d; }
.calendar-icon i { width: 1.17rem; height: 1.13rem; border: 2px solid; border-radius: .22rem; line-height: .95rem; font-size: .77rem; font-style: normal; font-weight: 800; text-align: center; }
.calendar-icon i::before { content: ""; position: absolute; inset: .61rem auto auto 1rem; width: .13rem; height: .31rem; background: currentColor; box-shadow: .46rem 0 0 currentColor; border-radius: .1rem; }
.envelope-icon { color: #2645a3; background: #ccd9ff; }
.envelope-icon::before { content: ""; width: 1.26rem; height: .88rem; border: 2px solid; border-radius: .16rem; }
.envelope-icon::after { content: ""; position: absolute; top: .82rem; width: .66rem; height: .66rem; border-right: 2px solid; border-bottom: 2px solid; border-radius: .06rem; transform: rotate(45deg) translate(-.13rem, -.13rem); }
.hall-service-arrow { color: #63522a; font-size: 1.55rem; line-height: 1; }
.hall-inbox .hall-service-arrow { color: #4263b2; }
.hub-unread { display: inline-flex; justify-content: center; min-width: 1.25rem; padding: .06rem .22rem; border-radius: 999px; background: #a73048; color: #fff; font-size: .69rem; }

/* Lobby 10-Tier Universal XinHammer Pass Showcase Strip */
.hall-pass-strip {
  --strip-bg0: #252b36; --strip-bg1: #3e4759; --strip-rim: #9aa6bc; --strip-ink: #f1f5fb; --strip-bar: #c8d4e8;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .55rem .9rem;
  margin-top: .58rem; padding: .52rem .82rem;
  border: 1.5px solid var(--strip-rim); border-radius: .88rem; color: var(--strip-ink);
  background:
    radial-gradient(ellipse at 92% 0%, color-mix(in srgb, var(--strip-rim) 34%, transparent), transparent 55%),
    repeating-linear-gradient(125deg, #ffffff07 0 2px, transparent 2px 11px),
    linear-gradient(115deg, var(--strip-bg0), var(--strip-bg1) 58%, var(--strip-bg0));
  box-shadow: 0 .35rem 1.05rem #151c331f, inset 0 1px #ffffff2e;
}
.hall-pass-strip[data-pass-tier="bronze"] { --strip-bg0: #462717; --strip-bg1: #8c502e; --strip-rim: #e9b186; --strip-ink: #fff3e8; --strip-bar: #f3c197; }
.hall-pass-strip[data-pass-tier="silver"] { --strip-bg0: #334054; --strip-bg1: #6b809e; --strip-rim: #d7e3f4; --strip-ink: #ffffff; --strip-bar: #e8f0fc; }
.hall-pass-strip[data-pass-tier="gold"] { --strip-bg0: #52350c; --strip-bg1: #a7741f; --strip-rim: #ffe082; --strip-ink: #fffbe8; --strip-bar: #ffe48d; }
.hall-pass-strip[data-pass-tier="platinum"] { --strip-bg0: #143a44; --strip-bg1: #327a88; --strip-rim: #9ef0f6; --strip-ink: #f2ffff; --strip-bar: #adf5fa; }
.hall-pass-strip[data-pass-tier="diamond"] { --strip-bg0: #152862; --strip-bg1: #325dc0; --strip-rim: #9cd1ff; --strip-ink: #f4f9ff; --strip-bar: #b2dcff; }
.hall-pass-strip[data-pass-tier="master"] { --strip-bg0: #3a1552; --strip-bg1: #792a92; --strip-rim: #efa2ff; --strip-ink: #fef2ff; --strip-bar: #f5b9ff; }
.hall-pass-strip[data-pass-tier="grandmaster"] { --strip-bg0: #4d131b; --strip-bg1: #96242e; --strip-rim: #ffad88; --strip-ink: #fff4ee; --strip-bar: #ffc2a1; }
.hall-pass-strip[data-pass-tier="king"] { --strip-bg0: #191612; --strip-bg1: #543e16; --strip-rim: #ffd96b; --strip-ink: #fff9e3; --strip-bar: #ffe285; }
.hall-pass-strip[data-pass-tier="radiant"] {
  --strip-bg0: #12173a; --strip-bg1: #3d2c85; --strip-rim: #78f6e1; --strip-ink: #fffef2; --strip-bar: #82fae5;
  background:
    linear-gradient(115deg, #70f5df33 0%, #c084ff2b 35%, #ffe58833 68%, #68d8ff2e 100%),
    linear-gradient(115deg, #12173a, #3d2c85 52%, #134a59);
}
.hall-pass-left { display: flex; align-items: center; gap: .62rem; flex: 1 1 20rem; min-width: 0; }
.hall-pass-emblem {
  display: grid; place-items: center; flex: none; width: 2.35rem; height: 2.35rem;
  border-radius: 50%; border: 1.5px solid var(--strip-rim); background: #00000036;
  font-size: 1.18rem; line-height: 1;
}
.hall-pass-meta { flex: 1; min-width: 0; }
.hall-pass-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .26rem .38rem; }
.hall-pass-lv {
  padding: .05rem .34rem; border-radius: .32rem; background: #00000040;
  border: 1px solid color-mix(in srgb, var(--strip-rim) 55%, transparent);
  font-size: .7rem; font-weight: 820; color: var(--strip-bar);
}
.hall-pass-heading strong { font-size: .98rem; font-weight: 860; line-height: 1.15; }
.hall-pass-no {
  font-family: ui-monospace, Consolas, monospace; font-size: .7rem; font-weight: 740;
  padding: .06rem .36rem; border-radius: 999px; background: #00000036; opacity: .92;
}
.hall-pass-tag { font-size: .72rem; opacity: .82; }
.hall-pass-bar-row { display: flex; align-items: center; gap: .5rem; margin-top: .26rem; }
.hall-pass-bar { flex: 0 1 8.5rem; min-width: 4.5rem; height: .38rem; border-radius: 999px; background: #00000045; overflow: hidden; }
.hall-pass-bar span {
  display: block; width: 100%; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--strip-rim), var(--strip-ink));
  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; opacity: .92; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hall-pass-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .38rem; }
.hall-pass-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .22rem;
  min-height: 36px; padding: .24rem .64rem; border-radius: .54rem;
  border: 1px solid color-mix(in srgb, var(--strip-rim) 68%, transparent);
  background: #00000038; color: var(--strip-ink); font: 760 .78rem/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) var(--xh-ease-spring, ease);
}
.hall-pass-btn:active { transform: scale(.97); }
@media (hover: hover) {
  .hall-pass-btn:hover { background: #00000056; }
}
.hall-pass-claim {
  border-color: #ffe799; background: linear-gradient(135deg, #ffd76a, #f2af36); color: #362004;
}
.hall-pass-claim:hover { filter: brightness(1.06); background: linear-gradient(135deg, #ffd76a, #f2af36); }
.hall-pass-claim[hidden] { display: none; }

.hall-library { margin-top: clamp(.85rem, 1.9vw, 1.25rem); scroll-margin-top: 4.5rem; }
.hall-library-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem .8rem;
  margin-bottom: .68rem;
}
.hall-library h2 { color: #192847; font-size: clamp(1.38rem, 2.9vw, 1.9rem); line-height: 1.15; letter-spacing: -.036em; }
.hall-filters {
  display: inline-flex; flex-wrap: nowrap; gap: .2rem; padding: .16rem;
  border: 1px solid #ccd4e8; border-radius: .65rem; background: #fffefd;
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.hall-filters::-webkit-scrollbar { display: none; }
.hall-filters button {
  flex: none; min-height: 36px; padding: .22rem .58rem; border: 0; border-radius: .47rem;
  color: #384969; background: transparent; font: 730 .82rem/1.2 var(--sans); cursor: pointer; white-space: nowrap;
}
.hall-filters button[aria-pressed="true"] { background: #223d96; color: #fff; }
.hall-filters button[aria-pressed="false"]:hover { background: #ecf1ff; }
.hall-daily-rem { margin-inline-start: .25rem; color: #266b4e; font-size: .72rem; font-weight: 740; }
.hall-quick-games a[data-daily-done="true"] { border-color: #9ecfb1; background: #edf8f1; color: #19513c; }
.hall-quick-games a[data-daily-done="true"] small { color: #2f6c53; }
.hall-quick-games a[data-daily-done="true"] b { color: #1e6e4d; font-size: .78rem; }
.hall-new {
  min-width: 0; display: flex; align-items: center; gap: .65rem; border: 1px solid #adcaac; border-radius: .8rem;
  background: #f0f6e7; color: #305846; padding: .36rem .46rem; min-height: 60px; margin-top: .7rem;
}
.hall-new:hover { background: #e3f0d8; }
.hall-new img { width: 4.6rem; height: auto; border-radius: .5rem; }
.hall-new span { min-width: 0; }
.hall-new strong, .hall-new small { display: block; }
.hall-new strong { font-size: 1.04rem; }
.hall-new small { color: #496751; font-size: .76rem; line-height: 1.25; }
.hall-new b { margin-left: auto; font-size: 1rem; }
.hall-play-progress {
  display: flex; align-items: center; flex-wrap: wrap; gap: .32rem .62rem; color: #505e78; font-size: .77rem;
  padding: .48rem .62rem; border: 1px solid #c6cfea; border-radius: .78rem; background: #fafdff;
}
.hall-play-progress > div { display: grid; gap: .12rem; }
.hall-play-progress strong { color: #1c378f; }
.hall-play-progress progress { flex: 1 1 2rem; min-width: 1.5rem; height: .49rem; accent-color: #3559be; }
.hall-search { position: relative; flex: 0 1 15.5rem; margin-inline-start: auto; }
.hall-search input, .hall-invite input {
  width: 100%; min-height: 41px; border: 1px solid #aabbe4; border-radius: .58rem; background: #fff;
  color: #26355e; padding: .48rem .69rem; font: inherit; font-size: .86rem;
  transition: border-color var(--xh-dur-fast, 180ms) var(--xh-ease-spring, ease);
}
.hall-search input { padding-inline-end: 2.15rem; }
.hall-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.hall-search-clear {
  position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 1.7rem; height: 1.7rem; padding: 0;
  border: 0; border-radius: 999px; background: #e6edfc; color: #364d84;
  font-size: 1rem; line-height: 1; cursor: pointer;
  transition: transform var(--xh-dur-instant, 110ms) var(--xh-ease-press, ease), background-color var(--xh-dur-fast, 180ms) var(--xh-ease-spring, ease);
}
.hall-search-clear[hidden] { display: none; }
.hall-search-clear:active { transform: translateY(-50%) scale(.9); }
@media (hover: hover) { .hall-search-clear:hover { background: #d4e0fa; } }
.hall-library-options { display: flex; align-items: center; gap: .55rem; margin: 0; min-width: 0; max-width: 100%; }
.hall-library-options p { color: #495a7e; font-size: .77rem; margin: 0; white-space: nowrap; }
.hall-no-results { padding: 1rem; border: 1px solid #ced7ed; background: #fffefa; border-radius: .73rem; color: #2d416f; }
.hall-no-results p { margin: 0 0 .55rem; }
.games-hall-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.7rem, 1.8vw, 1.12rem); }
.hall-game {
  --art-ink: #2c42a4;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #d2d6dc;
  border-radius: clamp(.75rem, 1.65vw, 1.08rem);
  background: #fffefa;
  color: #1c2641;
  box-shadow: 0 3px 0 #2833580f;
  transition: transform var(--xh-dur-base, 260ms) var(--xh-ease-spring, ease), border-color var(--xh-dur-fast, 180ms) var(--xh-ease-spring, ease);
}
.hall-game:active { transform: scale(.985); }
.hall-game:focus-visible { outline: 3px solid #2648b9; outline-offset: 3px; }
.hall-game-copy { position: relative; display: grid; align-content: start; gap: .18rem; min-height: 5.5rem; padding: .58rem .85rem .72rem; }
.hall-game-copy > span:first-child { color: var(--art-ink); font-size: .73rem; font-weight: 720; }
.hall-game-copy h3 { margin: 0; color: #1c2641; font-size: clamp(1.04rem, 1.9vw, 1.38rem); line-height: 1.22; letter-spacing: -.025em; }
.hall-game-copy p { color: #494f61; font-size: .86rem; line-height: 1.38; }
.hall-go { display: inline-flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .26rem; width: fit-content; min-height: 34px; padding: .2rem .58rem; border: 1px solid #bccaf0; border-radius: .56rem; color: #213b8d; background: linear-gradient(145deg,#edf3ff,#e1e9ff); font-size: .8rem; font-weight: 790; transition: background .16s, border-color .16s; }
.hall-go b { font-size: 1.12em; }
.hall-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #28365a; }
.hall-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .28s cubic-bezier(.2,.8,.3,1); }
.hall-card-badge {
  position: absolute; top: .42rem; right: .42rem; padding: .15rem .44rem; border-radius: 999px;
  background: #182952e3; border: 1px solid #ffda8894; color: #ffe7a8; font-size: .68rem; font-weight: 760;
  box-shadow: 0 2px 6px #0b142966; pointer-events: none;
}
.hall-card-badge[data-tone="done"] { background: #1d5742e6; border-color: #a9e5c0; color: #e9fff0; }
.hall-fav-btn {
  position: absolute; top: .38rem; left: .38rem; z-index: 2;
  display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0;
  border: 1px solid #ffffff45; border-radius: 999px; background: #152344bf; color: #eef3ff;
  font-size: 1rem; line-height: 1; cursor: pointer; backdrop-filter: blur(4px);
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.hall-fav-btn:hover { background: #1c2f5ce6; border-color: #ffd985; color: #ffe59e; transform: scale(1.07); }
.hall-fav-btn[aria-pressed="true"] { background: #ffcf67; border-color: #ffeab3; color: #472a08; box-shadow: 0 2px 8px #0d162f66; }
.hall-game[data-hall-fav] { border-color: #d6b66f; box-shadow: 0 3px 0 #b88e3a29; }

.hall-saved-games { margin-top: 1.45rem; color: #485477; font-size: .85rem; }
.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: #2846a4; 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: #2c447d; }
.hall-quick-games { display: grid; gap: .44rem; margin: .55rem 0 0; }
.hall-quick-games a {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: .12rem .4rem; padding: .58rem .67rem;
  border: 1px solid #c7d3ee; border-radius: .62rem; background: #f3f7ff; color: #203f84; text-decoration: none;
}
.hall-quick-games a:hover { background: #e5eeff; }
.hall-quick-games a small { color: #52638b; }
.hall-quick-games a b { grid-area: 1 / 2 / 3 / 3; align-self: center; color: #3959a6; }
.hall-room-list { margin: .6rem 0 1rem; }
.hall-room-list h3 { margin: 0; font-size: .95rem; color: #3c4e76; }
.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: .38rem; margin-top: .55rem; }
.hall-invite label, .hall-invite p { grid-column: 1 / -1; }
.hall-invite label { font-size: .87rem; color: #314775; font-weight: 760; }
.hall-invite p { margin: 0; font-size: .78rem; color: #963a37; }
.hall-invite p:empty { display: none; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hall-game:hover { transform: translateY(-4px); box-shadow: 0 .75rem 1.44rem #29345c25; border-color: #8394be; }
  .hall-game:hover .hall-cover img { transform: scale(1.05); }
  .hall-game:hover .hall-go { background: #d3dfff; border-color: #90a9e5; }
}
@media (prefers-reduced-motion: reduce) {
  .hall-game, .hall-cover img, .hall-go, .hall-service, .hall-pass-bar span, .hall-pass-btn, .hall-fav-btn { 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) { transition: none !important; animation: none !important; }
@media (max-width: 52rem) {
  .games-hall { width: min(43rem, calc(100% - 1.35rem)); padding-top: .62rem; }
  .hall-intro h1 { font-size: clamp(2.45rem, 8.6vw, 4.2rem); }
  .hall-desk { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hall-library-options { order: 3; width: 100%; justify-content: space-between; }
  .hall-search { order: 2; }
  .games-hall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 30rem) {
  .games-hall-hero { align-items: flex-start; flex-direction: column; gap: .62rem; padding: .82rem .85rem; }
  .hall-intro p { font-size: .84rem; }
  .hall-hero-actions { gap: .42rem; }
  .hall-random, .hall-last, .hall-stats-btn { min-height: 44px; padding-inline: .52rem; font-size: .76rem; }
  .hall-desk { grid-template-columns: repeat(4, minmax(0,1fr)); gap: .37rem; }
  .hall-service { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: .19rem; min-height: 63px; padding: .34rem .15rem; }
  .hall-service strong { justify-content: center; gap: .18rem; font-size: clamp(.72rem, 3vw, .82rem); }
  .hall-desk-pill { font-size: .64rem; padding: .02rem .26rem; }
  .hall-service small { display: none; }
  .hall-service-icon { width: 1.75rem; height: 1.85rem; border-radius: .37rem; }
  .calendar-icon i::before { inset: .26rem auto auto .55rem; }
  .envelope-icon::after { top: .48rem; }
  .hall-service-arrow { display: none; }
  .hall-pass-strip { padding: .5rem .6rem; gap: .42rem; }
  .hall-pass-tag { display: none; }
  .hall-pass-emblem { width: 2rem; height: 2rem; font-size: 1rem; }
  .hall-pass-bar-row small { white-space: normal; font-size: .71rem; line-height: 1.25; }
  .hall-pass-actions { width: 100%; }
  .hall-pass-btn { flex: 1 1 auto; min-height: 36px; padding-inline: .45rem; font-size: .74rem; }
  .hall-search { flex-basis: 54%; }
  .hall-filters button { min-height: 40px; padding-inline: .43rem; font-size: .77rem; }
  .games-hall-grid { gap: .52rem; }
  .hall-game-copy { min-height: 5.4rem; padding: .47rem .52rem; }
  .hall-game-copy > span:first-child { font-size: .66rem; }
  .hall-game-copy p { padding-right: 0; font-size: .78rem; }
  .hall-go { font-size: .71rem; }
}
@media (max-width: 22rem) {
  .hall-library-head { column-gap: .32rem; }
}

/* 成就发币按钮 & 通用积分卡荣誉榜 */
.hall-badge-claim-btn {
  flex: none;
  padding: .3rem .62rem;
  border-radius: 999px;
  border: 1px solid #d97706;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  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: .62rem .8rem; margin: .5rem 0 .7rem; border-radius: .75rem;
  background: linear-gradient(135deg, #eef4ff, #f9fbff); border: 1px solid #c6d7fa;
}
.hall-honor-me[hidden] { display: none; }
.hall-honor-me-left { display: grid; gap: .12rem; }
.hall-honor-me-left strong { font-size: .92rem; color: #162447; }
.hall-honor-me-left span { font-size: .76rem; color: #4b5d7a; }
.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: .5rem .68rem; border-radius: .72rem; border: 1px solid #dde4f0; background: #fff;
}
.hall-honor-row.is-self { background: #eff5ff; border-color: #93b4f6; }
.hall-honor-rank { text-align: center; font-weight: 800; 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: #1e293b; 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: 800; color: #b45309; font-variant-numeric: tabular-nums; white-space: nowrap; }
