.games-hall-page { background: radial-gradient(ellipse at 74% 6%, #2c4266 0%, transparent 56%), #121b30; }
.games-hall { width: min(69rem, calc(100% - 3rem)); margin-inline: auto; padding: clamp(1.35rem, 4vw, 3.9rem) 0 2.5rem; }
.games-hall-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, .78fr); align-items: center; gap: clamp(1.2rem, 5vw, 5rem); margin-bottom: clamp(1.3rem, 4vw, 2.7rem); }
.games-hall-hero h1 { font-size: clamp(3.2rem, 7.3vw, 6.2rem); line-height: 1.04; letter-spacing: -.071em; margin-bottom: .65rem; }
.games-hall-hero h1 span { color: #ffd28a; }
.games-hall-hero p { color: #e1eafd; font-size: clamp(1rem, 1.65vw, 1.28rem); }
.games-hall-hero .games-hall-account { margin-top: .4rem; color: #adbddc; font-size: .88rem; }
.games-hall-hero img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border: 1px solid #91a6cb52; border-radius: 1.15rem; box-shadow: 0 1.2rem 3rem #080d1b9a; }
.games-hall-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.3rem); }
.hall-game { display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; border: 1px solid #5d769d; border-radius: .95rem; background: #1a2a45; transition: background-color .18s, border-color .18s, transform .18s; }
.hall-game:focus-visible { outline: 3px solid #ffcf88; outline-offset: 3px; }
@media (hover: hover) { .hall-game:hover { transform: translateY(-4px); border-color: #bca06f; background: #213553; } }
.hall-art { display: grid; place-content: center; place-items: center; min-height: clamp(7rem, 13vw, 10rem); }
.hall-art-merge { grid-template-columns: repeat(2, 2.7rem); gap: .3rem; background: radial-gradient(ellipse at 50% 0, #526b9a, #2b456a); }
.hall-art-merge span { display: grid; place-items: center; width: 2.7rem; aspect-ratio: 1; border-radius: .36rem; color: #213051; background: #e9d5f6; font-weight: 850; font-size: .85rem; box-shadow: 0 3px 0 #1e344f; }
.hall-art-merge span:nth-child(2) { background: #9cdbf0; }
.hall-art-merge span:nth-child(3) { background: #f3c28b; }
.hall-art-merge span:nth-child(4) { background: #ffd272; }
.hall-art-jieqi { grid-auto-flow: column; gap: .44rem; background: repeating-linear-gradient(90deg, #ab815857 0 1px, transparent 1px 2.4rem), linear-gradient(#eed2a3, #c39566); }
.hall-art-jieqi span { display: grid; place-items: center; width: clamp(2.2rem, 4.4vw, 3.4rem); aspect-ratio: 1; border: 1px solid #4d302d; border-radius: 50%; background: #364147; box-shadow: inset 0 0 0 4px #ffffff1b, 0 4px 6px #57372d9c; color: #a02f28; font: 700 1.5rem KaiTi, "Kaiti SC", serif; }
.hall-art-jieqi span:nth-child(2) { background: #f8e6bd; }
.hall-art-jieqi span:last-child { background: #994c3a; }
.hall-art-bluff { grid-auto-flow: column; gap: .22rem; background: radial-gradient(ellipse at 45% 0, #518a72, #2a5045); }
.hall-art-bluff span { display: grid; place-items: center; width: clamp(2.35rem, 4.7vw, 3.7rem); aspect-ratio: .74; border: 1px solid #cbb188; border-radius: .38rem; color: #263d36; background: #f4e9d0; font: 800 1.18rem Georgia, serif; box-shadow: 0 4px 10px #18362b82; }
.hall-art-bluff span:first-child { transform: translateY(.26rem) rotate(-10deg); color: #a34438; }
.hall-art-bluff span:last-child { transform: translateY(.26rem) rotate(10deg); color: #946628; }
.hall-game-copy { display: flex; flex-direction: column; gap: .28rem; padding: clamp(.78rem, 1.7vw, 1.3rem); }
.hall-game-copy .hall-game-mode { font-size: .8rem; color: #becde8; }
.hall-game-copy h2 { font-size: clamp(1.27rem, 2.15vw, 1.8rem); color: #f6f9ff; }
.hall-game-copy p { color: #dfebf8; font-size: .92rem; }
.hall-open { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: auto; padding-top: .63rem; color: #ffd28a; font-weight: 700; }
.hall-saved-games { margin-top: 1.3rem; color: #b9cae4; font-size: .88rem; }
.hall-saved-games summary { cursor: pointer; width: fit-content; padding: .24rem 0; }
.hall-saved-games p { margin-top: .44rem; }
.hall-saved-games a { display: inline-flex; align-items: center; min-height: 44px; margin-right: .8rem; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 50rem) {
  .games-hall { width: min(34rem, calc(100% - 1.5rem)); }
  .games-hall-hero { grid-template-columns: 1fr; gap: .85rem; }
  .games-hall-hero img { aspect-ratio: 2.48; }
  .games-hall-grid { grid-template-columns: 1fr; }
  .hall-game { grid-template-columns: minmax(6rem, .64fr) minmax(0, 1fr); grid-template-rows: 1fr; }
  .hall-art { min-height: 0; }
  .hall-art-merge { grid-template-columns: repeat(2, 1.98rem); gap: .22rem; }
  .hall-art-merge span { width: 1.98rem; font-size: .69rem; }
  .hall-art-jieqi { gap: .16rem; }
  .hall-art-jieqi span { width: 1.66rem; font-size: 1.12rem; }
  .hall-art-bluff { gap: .06rem; }
  .hall-art-bluff span { width: 1.52rem; font-size: .81rem; }
  .hall-game-copy { padding: .63rem; gap: .2rem; }
  .hall-game-copy h2 { line-height: 1.3; }
  .hall-open { padding-top: .42rem; }
}
@media (prefers-reduced-motion: reduce) { .hall-game { transition: none; } }
