:root {
  color-scheme: dark;
  --page: #211a19;
  --panel: #2d2422;
  --dark: #201818;
  --accent: #dab4a8;
  --muted: #c0ada6;
  --ivory: #fff2e8;
  --line: #745b53;
  --display-font: "Noto Serif KR", Georgia, serif;
  --body-font: "Noto Sans KR", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 300px;
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--ivory);
  background:
    linear-gradient(105deg, #201a18fa 5%, #261f1dda 40%, #3e302b24 78%),
    radial-gradient(ellipse at 93% -18%, #e9cac1 1%, #a58985 16%, #5b4545 26%, transparent 52%),
    radial-gradient(ellipse at 107% 29%, #e5c5bb8a 0%, #a5847880 15%, #3d282678 43%, transparent 59%),
    url("./assets/satin.webp") top right / auto max(77vh, 550px) no-repeat,
    var(--page);
  background-attachment: fixed;
}
body:has(dialog[open]) { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.symbols { display: none; }
:focus-visible { outline: 2px solid #ffddbe; outline-offset: 4px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.topbar {
  position: sticky;
  inset-block-start: 0;
  z-index: 5;
  background: linear-gradient(175deg, #453934fd 0%, #2a2220fd 48%, #201918fe 100%);
  border-bottom: 1px solid #785e54;
  box-shadow: 0 8px 28px #120e10b0, inset 0 1px #ffffff0b;
}
.bar-inner {
  width: min(100% - 64px, 1336px);
  height: 72px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
}
.brand { display: inline-flex; align-items: center; gap: .62rem; max-width: max-content; white-space: nowrap; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffe3cb;
  background: radial-gradient(ellipse at 44% 18%, #d5a295, #866050 54%, #4d3732 86%);
  border: 1px solid #c3977a;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #362018, 0 0 18px #e6aa6b20;
}
.brand-mark svg { width: 27px; height: 27px; stroke-width: 1.35; }
.brand-text { display: grid; gap: .06rem; }
.brand-text strong { font-family: Georgia, serif; font-weight: 600; font-size: 1.61rem; letter-spacing: .015em; line-height: .95; color: #ffe3cf; }
.brand-text small { font-size: .6rem; letter-spacing: .15em; color: #d2ac92; }
.desktop-navigation { align-self: stretch; display: flex; align-items: stretch; gap: clamp(1rem, 3vw, 2.7rem); white-space: nowrap; }
.desktop-navigation button {
  padding: 0; border: 0; background: transparent; color: #d6c2b2;
  font-size: .91rem; font-weight: 600; white-space: nowrap; transition: color .18s ease;
}
.desktop-navigation button:hover, .desktop-navigation button:focus-visible { color: #ffe4cb; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: .75rem; }
.account-button, .icon-button, .text-button {
  background: none; padding: .44rem; border: 0; display: inline-flex; align-items: center; gap: .45rem;
}
.account-button { color: #dac2af; white-space: nowrap; font-size: .875rem; }
.account-button:hover { color: #fff0df; }
.button {
  display: inline-flex; align-items: center; justify-content: center; width: max-content; max-width: 100%;
  min-height: 42px; border-radius: 8px; padding: .55rem 1.05rem; white-space: nowrap;
  font-size: .89rem; font-weight: 700; transition: filter .18s ease, transform .18s ease;
}
.button:hover { filter: brightness(1.12); }
.button:active { transform: translateY(1px); }
.button-gold {
  background: linear-gradient(156deg, #f8e2d9 0%, #e8c7b8 31%, #cf9f8c 64%, #e6beab 100%);
  border: 1px solid #ebcbbb; color: #412a25;
  box-shadow: inset 0 1px #fff4e4a0, 0 3px 11px #100a087a;
}
.mobile-menu, .bottom-nav { display: none; }
.layout { width: min(100% - 64px, 1336px); margin: 20px auto 0; }
.hero {
  isolation: isolate; min-height: clamp(320px, 29vw, 404px);
  position: relative; display: flex; align-items: center; overflow: hidden; border-radius: 17px;
  border: 1px solid #a28072; background: #332422;
  box-shadow: inset 0 0 44px #190f105c, 0 12px 30px #160e0ebe, 0 0 15px #be938b33;
}
.hero-art, .hero-glaze { position: absolute; z-index: -1; inset: 0; }
.hero-art {
  background: var(--hero-art, url("./assets/hero.webp")) center 49% / cover no-repeat;
  filter: brightness(1.09) saturate(.76);
  transition: background-image .24s ease;
}
.hero-glaze {
  background: linear-gradient(90deg, #2a201ef5 0%, #2c211fb0 30%, #46343225 58%, #d1a19e14 100%),
              linear-gradient(0deg, #2a1c1bd1 0%, transparent 42%);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px #f3be9d25;
}
.hero:not([data-hero="casino"]) .hero-art {
  background-size: 65% auto;
  background-position: right 50%;
}
.hero-content { padding: 40px 0 48px min(7%, 86px); max-width: 66%; }
.hero-label { margin: 0 0 .6rem; color: #ecc6ac; font-size: .875rem; font-weight: 600; }
.hero h1 {
  font-family: var(--display-font); font-weight: 600;
  margin: 0; font-size: clamp(2.45rem, 3.6vw, 3.5rem); line-height: 1.26; letter-spacing: -.07em;
  color: #ffebda; text-shadow: 0 3px 24px #180d09;
}
.hero-caption { margin: .95rem 0 1.25rem; color: #ead5c5; font-size: .94rem; line-height: 1.63; }
.hero-button { min-height: 44px; padding-inline: 1.2rem; border-radius: 30px; }
.hero-pagination { position: absolute; inset: auto 0 10px; display: flex; justify-content: center; z-index: 1; pointer-events: none; }
.hero-pagination button {
  padding: .6rem .24rem; display: grid; place-items: center; border: 0; background: transparent; pointer-events: auto;
}
.hero-pagination button::before { content: ""; width: .37rem; height: .37rem; border-radius: 10px; background: #d9b89e75; }
.hero-pagination button[aria-pressed="true"]::before { width: 1.4rem; background: #f8d6bd; }
.category-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.category-button {
  min-height: 71px; border-radius: 10px; padding: .65rem .75rem; display: flex; align-items: center; justify-content: center; gap: .75rem;
  border: 1px solid #77605a;
  background: linear-gradient(155deg, #4b3b36, #312623 46%, #241c1b 92%);
  color: #e6c9b3; font-weight: 600; font-size: .98rem;
  box-shadow: inset 0 1px #e8be9c20, 0 3px 8px #120b0982;
  transition: background .18s ease, border-color .18s ease;
}
.category-button svg { color: #efbf9c; width: 1.7rem; height: 1.7rem; stroke-width: 1.38; }
.category-button:hover, .category-button.is-selected {
  background: radial-gradient(ellipse at 46% 11%, #a17969, #63483f 47%, #3f302c 90%);
  border-color: #cb9678; color: #fff1e2;
  box-shadow: inset 0 0 0 1px #d2a48748, 0 0 13px #a872493a;
}
.catalogue { display: grid; gap: 17px; margin-top: 17px; }
.game-section {
  border: 1px solid #6d564d; border-radius: 12px; padding: 13px 13px 15px;
  background: linear-gradient(135deg, #43342f, #2f2522 42%, #2a2220 88%);
  box-shadow: inset 0 1px #f2c5a520, 0 8px 23px #110b0980;
}
.section-top { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin: 0 0 12px; }
.section-top h2 {
  display: flex; align-items: center; gap: .48rem; margin: 0; font-size: 1.08rem; font-weight: 700;
  color: #fae4d1; letter-spacing: -.025em;
}
.section-top h2 svg { width: 1.22rem; height: 1.22rem; color: #e8aa83; }
.section-more { color: #d4b29b; padding: .25rem .1rem .25rem .75rem; font-size: .82rem; }
.section-more:hover { color: #fff0e2; text-decoration: underline; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; }
.game-card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; text-align: start;
  aspect-ratio: 1.82; width: 100%; min-height: 115px; padding: 0; border-radius: 9px;
  border: 1px solid #9b786a; background: #3f2e2a; box-shadow: inset 0 0 16px #160a07, 0 4px 12px #130b09a0;
}
.game-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .24s ease; }
.game-card::after {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, #100b0af5 0%, #190d09bc 19%, transparent 60%);
}
.game-card:hover { border-color: #f1bd95; }
.game-card:hover img { transform: scale(1.055); }
.card-caption { display: grid; gap: .14rem; padding: .63rem .7rem; min-width: 0; }
.card-name { display: block; font-size: .92rem; font-weight: 700; color: #fff1e3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-note { font-size: .72rem; color: #d3ad93; }
.card-play {
  margin: 0 .6rem .6rem auto; display: grid; place-items: center; width: 29px; height: 29px; flex: none; color: #f4d3b9;
  border-radius: 50%; border: 1px solid #bd927a; background: #2d1e18c7;
}
.card-play svg { width: .92rem; height: .92rem; }
.events-section {
  scroll-margin-top: 84px; margin-top: 13px; padding: 10px 9px 9px; border-top: 1px solid #947465;
  border-radius: 9px; background: linear-gradient(160deg, #513a33, #332622 52%, #2b2220 100%);
  box-shadow: inset 0 1px #e2bfa02a, 0 6px 16px #130b09a0;
}
.events-section .section-top { margin: 0 3px 8px; }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.event-card {
  position: relative; display: flex; overflow: hidden; isolation: isolate; min-width: 0; min-height: 134px;
  padding: 13px 10px 12px 13px; align-items: center; text-align: start; color: #fff0e3;
  border: 1px solid #9f7d6d; border-radius: 8px; background: #382822;
  box-shadow: inset 0 1px #f5cdb83d, 0 4px 9px #201412c8;
  transition: border-color .17s ease, box-shadow .17s ease;
}
.event-card img {
  position: absolute; inset: 0 0 0 auto; z-index: -2; width: 68%; height: 100%; object-fit: cover; object-position: 74% 55%;
  transition: transform .2s ease;
}
.event-card::after {
  position: absolute; inset: 0; z-index: -1; content: "";
  background: linear-gradient(90deg, #3f2e29 0%, #392921f2 33%, #3d2b2255 61%, #2416100d 100%),
              linear-gradient(160deg, #f2c4aa30 0%, transparent 38%, #25161124 100%);
}
.event-card:hover { border-color: #d5ad93; box-shadow: inset 0 1px #f5cdb85c, 0 3px 13px #2a1710bc; }
.event-card:hover img { transform: scale(1.035); }
.event-copy { display: grid; gap: .28rem; position: relative; width: 72%; }
.event-copy strong { font-family: var(--display-font); font-size: clamp(.96rem, 1.3vw, 1.16rem); line-height: 1.3; text-wrap: balance; }
.event-copy > span:first-of-type { color: #e2c1ac; font-size: .77rem; line-height: 1.38; }
.event-more {
  justify-self: start; margin-top: .24rem; border-radius: 20px; padding: .25rem .51rem .29rem;
  background: linear-gradient(155deg, #f7decb, #d6aa8e); color: #462c20;
  font-size: .69rem; font-weight: 700; line-height: 1.24;
}

.site-footer {
  margin-top: 22px; padding: 18px 2px 24px; display: flex; align-items: center; gap: .8rem;
  border-top: 1px solid #4c3b31; color: #bca79a; font-size: .81rem;
}
.footer-brand .brand-mark { width: 32px; height: 32px; }
.footer-brand .brand-mark svg { width: 22px; height: 22px; }
.footer-brand .brand-text strong { font-size: 1.21rem; }
.footer-brand .brand-text small { font-size: .49rem; }
.site-footer .text-button { margin-inline-start: auto; }
dialog { color: inherit; }
dialog::backdrop { background: #100b09b8; backdrop-filter: blur(3px); }
.menu-dialog {
  position: fixed; inset: 0 0 0 auto; margin: 0; width: min(24rem, 94vw); max-width: none; height: 100%; max-height: none; padding: 0;
  border: 0; border-left: 1px solid #bb978a; background: linear-gradient(148deg, #fff1e9, #ecd4c8); color: #3c2622;
  box-shadow: -16px 0 70px #090504a0; color-scheme: light;
}
.menu-dialog[open] { animation: drawer-in .23s ease both; }
@keyframes drawer-in { from { transform: translateX(100%); } }
.menu-content { padding: max(18px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom)); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 0 0 13px; }
.drawer-header .brand-text strong { color: #49302a; }
.drawer-header .brand-text small { color: #7f5d4d; }
.close-button { border-radius: 50%; border: 1px solid #cdb4a4; color: #50342b; }
.menu-dialog :focus-visible, .desktop-member :focus-visible { outline-color: #875a62; }
.demo-account {
  padding: 12px; border: 1px solid #caa99b; border-radius: 10px;
  background: linear-gradient(142deg, #f2d8cc 2%, #e3bdad 56%, #f2dcd1 100%);
  box-shadow: inset 0 1px #fff7ed, 0 3px 11px #8d5f5722;
}
.wallet-label { display: flex; align-items: center; gap: .5rem; color: #764e40; font-size: .85rem; font-weight: 700; }
.wallet-balance { font-size: 1.26rem; font-weight: 700; margin: .47rem 0 .66rem; }
.wallet-entry { width: 100%; box-shadow: inset 0 1px #ffede0; }
.wallet-entry:disabled { opacity: .73; cursor: default; }
.wallet-balance span { color: #805345; font-size: .86rem; }
.wallet-label [data-account-state] { margin-left: auto; font-size: .73rem; color: #68483f; }
.wallet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wallet-actions .button { justify-self: stretch; width: 100%; min-height: 36px; padding-inline: .35rem; font-size: .83rem; }
.wallet-guide { color: #633c33; border: 1px solid #cc9e8c; background: #fff0e7dc; }
.drawer-label { display: flex; align-items: center; gap: .42rem; margin: .95rem 0 .46rem; font-size: .87rem; }
.drawer-label svg { color: #8d6354; }
.drawer-nav { display: grid; gap: .38rem; }
.drawer-nav a {
  display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 44px; padding: .63rem .7rem; border-radius: 7px; color: #50332a;
  border: 1px solid #d8bcb0; background: linear-gradient(180deg, #fdf0e9, #efded4); font-size: .88rem; font-weight: 600;
}
.drawer-nav a[aria-current="page"], .drawer-nav a:hover { border-color: #b4866b; background: #ecd4c4; }
.drawer-nav a svg:last-child { width: .89rem; margin-left: auto; color: #845e4c; }
.member-utilities {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-top: 10px;
}
.member-utilities > * {
  display: grid; justify-items: center; align-content: center; gap: .28rem; min-height: 49px; padding: .3rem .11rem;
  border: 1px solid #d2b1a2; border-radius: 7px; color: #53332b;
  background: linear-gradient(165deg, #fff2e9, #efd7c9); box-shadow: inset 0 1px #fffaf3;
  font-size: .77rem; font-weight: 700;
}
.member-utilities > :hover, .member-utilities > [aria-current="location"] {
  border-color: #b48771; background: linear-gradient(165deg, #f6dccc, #e6c3af);
}
.member-utilities svg { width: 1.05rem; height: 1.05rem; color: #946151; }

.panel-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.panel-shortcuts button {
  display: flex; align-items: center; gap: .34rem; padding: 4px; text-align: start;
  min-height: 43px; min-width: 0; border: 1px solid #d8bcb0; border-radius: 7px; color: #50332a;
  background: linear-gradient(180deg, #fff1e8, #efdbd1); font-size: .74rem; font-weight: 700;
}
.panel-shortcuts button:hover { border-color: #9f7260; }
.panel-shortcuts img { flex: none; object-fit: cover; width: 26px; height: 27px; border-radius: 4px; }
.panel-shortcuts button span { overflow-wrap: anywhere; }
.game-dialog {
  width: min(31rem, calc(100% - 30px)); max-width: none; max-height: calc(100% - 30px); border: 1px solid #aa8068;
  padding: 0; background: #291f1b; color: #fff0e4; border-radius: 17px;
  box-shadow: 0 20px 80px #070403d9;
}
.game-dialog-inner { position: relative; }
.game-close { position: absolute; z-index: 1; inset: .7rem .7rem auto auto; border: 1px solid #c69477; border-radius: 50%; background: #1d1512da; }
.game-cover { min-height: 180px; background: #31231c var(--cover) center 45% / cover; box-shadow: inset 0 -30px 40px #1a120f8f; }
.game-cover:empty[hidden] { display: none; }
.game-copy { padding: 19px 22px 22px; display: grid; gap: .58rem; }
.game-kind { color: #dcae8e; font-size: .78rem; }
.game-copy h2 { margin: 0; font-family: var(--display-font); font-size: 1.55rem; }
.game-copy p { margin: 0; line-height: 1.65; }
#game-description { color: #d8c4b6; font-size: .93rem; }
.game-copy .button { margin-top: .55rem; }
.game-stage { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .55rem; min-height: 88px; margin-top: .55rem; }
.game-stage output { width: 100%; text-align: center; font-size: .85rem; color: #f0c4a7; }
.sample-chip {
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #e7b797, #714436);
  border: 1px solid #f0b898; color: #2c1814; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700;
}
.slot-chip { border-radius: 9px; color: #ffe4cb; background: linear-gradient(#492d32, #231820); }
.card-chip { border-radius: 7px; color: #43231d; background: #f8e7d8; }
.game-stage.replay .sample-chip { animation: deal .38s both; animation-delay: calc(var(--item, 0) * 35ms); }
@keyframes deal { from { transform: translateY(-8px) scale(.88); opacity: .25; } }
.entry-notice {
  width: min(27rem, calc(100% - 36px)); max-height: calc(100% - 32px); padding: 0;
  border: 1px solid #bb917e; border-radius: 16px; color: #fff0e4;
  background: linear-gradient(145deg, #49352e, #28201d 59%);
  box-shadow: 0 22px 66px #0f0807e0, inset 0 1px #e7bcaa40;
}
.entry-notice::backdrop { background: #120c0bc4; backdrop-filter: blur(4px); }
.entry-poster {
  position: relative; display: flex; align-items: end; min-height: clamp(158px, 44vw, 230px);
  padding: 20px; border-bottom: 1px solid #bd90776e;
  background: linear-gradient(90deg, #2a1d1bed 4%, #2a1d1b8a 42%, #2a1d1b14 77%),
              linear-gradient(0deg, #271a1bd5, transparent 52%),
              url("./assets/hero-mobile.webp") center 45% / cover no-repeat;
}
.entry-heading { text-shadow: 0 3px 14px #1d1412; }
.entry-brand { margin: 0 0 .24rem; color: #f0cbb7; font: 600 .82rem Georgia, serif; letter-spacing: .12em; }
.entry-heading h2 { margin: 0; color: #ffecdc; font: 600 clamp(1.6rem, 5vw, 2.15rem)/1.25 var(--display-font); }
.entry-close {
  position: absolute; inset: .64rem .69rem auto auto; z-index: 1; border: 1px solid #bd907e;
  border-radius: 50%; background: #241715cd; color: #fce8d6;
}
.entry-games { margin: 0; padding: 14px 12px 3px; color: #eacabb; text-align: center; font-size: .82rem; line-height: 1.5; }
.entry-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .52rem; padding: 10px 12px 13px; }
.entry-actions .button { width: 100%; padding-inline: .35rem; min-height: 39px; font-size: .8rem; }
.entry-snooze { border: 1px solid #927163; background: #372724; color: #f0d3c4; }
@media(max-width: 360px) {
  .entry-poster { padding: 14px; }
  .entry-games, .entry-actions .button { font-size: .74rem; }
}

.sample-score {
  border: 1px solid #82614c; border-radius: 8px; padding: .6rem .9rem;
  background: #211914; color: #ffe4d1; font-variant-numeric: tabular-nums;
}
@media(max-width: 859px) {
  .bar-inner, .layout { width: calc(100% - 36px); }
  .bar-inner { gap: .9rem; }
  .desktop-navigation { gap: 1rem; }
  .header-actions { gap: .35rem; }
  .header-actions .account-button span { display: none; }
  .hero-content { padding-inline-start: 6%; }
  .card-caption { padding-inline: .5rem; }
  .card-play { margin-right: .39rem; }
}
@media(max-width: 680px) {
  .bar-inner { width: calc(100% - 25px); grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); height: 65px; gap: .43rem; }
  .brand { justify-self: center; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark svg { width: 24px; height: 24px; }
  .bar-inner .brand-text strong { font-size: clamp(1rem, 3.75vw, 1.25rem); }
  .mobile-menu { display: inline-flex; justify-self: start; margin-left: -.28rem; color: #efc1a4; }
  .desktop-navigation, .header-entry { display: none; }
  .header-actions .account-button span { display: inline; }
  .account-button { padding-inline: .2rem; font-size: .78rem; }
  .layout { width: calc(100% - 22px); margin-top: 11px; }
  .hero { min-height: 277px; border-radius: 12px; }
  .hero-art { background-position: 63% center; }
  .hero[data-hero="casino"] .hero-art { background-image: url("./assets/hero-mobile.webp"); background-position: 57% center; }
  .hero-glaze { background: linear-gradient(90deg,#291d1cec 0%,#2b2020ac 40%,#4f393735 84%), linear-gradient(0deg,#211714b0,transparent 35%); }
  .hero:not([data-hero="casino"]) .hero-art { background-size: auto 100%; }
  .hero-content { padding: 23px 0 38px 6%; max-width: 75%; }
  .hero-label { font-size: .76rem; margin-bottom: .49rem; }
  .hero h1 { font-size: clamp(1.65rem, 5.8vw, 2.35rem); }
  .hero-caption { font-size: .79rem; margin: .73rem 0 .85rem; }
  .hero-button { font-size: .79rem; min-height: 36px; padding: .45rem .75rem; }
  .hero-pagination { bottom: 3px; }
  .category-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
  .category-button { flex-direction: column; gap: .3rem; min-height: 62px; padding: .42rem .1rem .45rem; font-size: .76rem; border-radius: 7px; text-align: center; }
  .category-button svg { width: 1.32rem; height: 1.32rem; }

  .catalogue { margin-top: 11px; gap: 11px; }
  .game-section { padding: 10px 8px 9px; border-radius: 10px; }
  .section-top { padding: 0 .15rem; margin-bottom: 8px; }
  .section-top h2 { font-size: .97rem; }
  .section-more { font-size: .77rem; }
  .game-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; }
  .game-card { min-height: 90px; border-radius: 7px; }
  .card-name { font-size: .83rem; }
  .card-note { font-size: .66rem; }
  .card-play { width: 24px; height: 24px; margin: 0 .45rem .51rem auto; }
  .card-play svg { width: .73rem; height: .73rem; }
  .card-caption { padding: .35rem .44rem .4rem; }
  .events-section { margin-top: 12px; }
  .event-grid { grid-template-columns: 1fr; gap: 6px; }
  .event-card { min-height: 116px; }
  .event-card img { width: 60%; object-position: 72% 51%; }
  .event-card::after { background: linear-gradient(90deg, #3f2e29 0%, #392921f2 38%, #3d2b2255 64%, #2416100d 100%); }
  .event-copy strong { font-size: 1.05rem; }
  .site-footer { margin-bottom: calc(65px + env(safe-area-inset-bottom)); }
  .site-footer .brand { display: none; }
  .bottom-nav {
    position: fixed; inset: auto 0 0; z-index: 4; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .12rem;
    padding: .36rem .35rem max(.37rem, env(safe-area-inset-bottom));
    border-top: 1px solid #60463a; background: #312321f7; box-shadow: 0 -5px 24px #100b09ad;
  }
  .bottom-nav a { min-height: 46px; display: grid; align-content: center; justify-items: center; gap: .19rem; border-radius: 8px; font-size: .71rem; color: #d7bdac; text-align: center; line-height: 1.16; }
  .bottom-nav a svg { width: 1.18rem; height: 1.18rem; }
  .bottom-nav a[aria-current] { color: #ffd7b4; background: #543829; }
}

@media(max-width: 360px) {
  .header-actions .account-button span { display: none; }
  .bottom-nav a { font-size: .66rem; }
}
.desktop-sidebar { display: none; }
@media(min-width: 1040px) {
  .lounge-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) clamp(258px, 23vw, 317px);
    align-items: start; gap: 14px; width: min(calc(100% - 30px), 1420px); margin: 11px auto 24px;
  }
  .lounge-layout:has(.desktop-member[hidden]) { grid-template-columns: minmax(0, 1fr); }
  .lounge-shell {
    min-width: 0; border: 1px solid #80665c; border-radius: 16px; background: linear-gradient(150deg, #332625ef, #261d1bee 72%);
    box-shadow: 0 17px 48px #151010d9, inset 0 1px #ebc6b340;
  }
  .topbar { border-radius: 15px 15px 0 0; }
  .bar-inner { width: calc(100% - 24px); height: 57px; gap: 1rem; }
  .desktop-navigation { gap: clamp(.8rem, 1.85vw, 2rem); }
  .desktop-navigation button, .account-button { font-size: .83rem; }
  .header-actions { gap: .42rem; }
  .header-entry { min-height: 32px; padding: .34rem .65rem; font-size: .8rem; }
  .bar-inner .brand-mark { width: 34px; height: 34px; }
  .bar-inner .brand-mark svg { width: 23px; height: 23px; }
  .bar-inner .brand-text strong { font-size: 1.37rem; }
  .bar-inner .brand-text small { font-size: .5rem; }
  .layout { width: calc(100% - 20px); margin: 9px auto 0; }
  .hero { min-height: clamp(245px, 22vw, 326px); border-radius: 12px; }
  .hero-content { max-width: 67%; padding: 26px 0 36px 5.2%; }
  .hero h1 { font-size: clamp(2.05rem, 3.2vw, 3.15rem); }
  .hero-caption { margin-block: .55rem .85rem; }
  .hero-button { min-height: 37px; }
  .hero-pagination { bottom: 5px; }
  .category-nav { margin-top: 9px; gap: 7px; }
  .category-button { min-height: 59px; flex-direction: column; gap: .3rem; padding: .45rem .6rem; border-radius: 8px; font-size: .83rem; }
  .category-button svg { width: 1.32rem; height: 1.32rem; }
  .catalogue { margin-top: 10px; gap: 10px; }
  .game-section { padding: 9px 9px 10px; border-radius: 9px; }
  .section-top { margin-bottom: 7px; }
  .section-top h2 { font-size: .97rem; }
  .game-grid { gap: 7px; }
  .game-card { aspect-ratio: 1.7; min-height: 95px; border-radius: 7px; }
  .card-caption { padding: .44rem .53rem; }
  .card-name { font-size: .83rem; }
  .card-note { font-size: .67rem; }
  .card-play { width: 24px; height: 24px; margin: 0 .42rem .47rem auto; }
  .card-play svg { width: .78rem; height: .78rem; }
  .site-footer { margin-top: 12px; padding-top: 12px; }
  .desktop-sidebar {
    position: sticky; top: 11px; display: grid; gap: 11px; margin-top: 28px; min-width: 0;
  }
  .desktop-sidebar:has(> .desktop-member[hidden]) { display: none; }
  .desktop-banner {
    display: block; width: 100%; height: auto; border-radius: 10px;
    border: 1px solid #b08a76; box-shadow: 0 8px 21px #180e0e90;
  }
  .desktop-member {
    display: grid; grid-template-rows: 19px auto 21px;
    min-width: 0; max-height: max(280px, calc(100dvh - 180px)); border-radius: 31px;
    border: 6px solid #211e1e; outline: 1px solid #bb9a90; outline-offset: 1px; overflow: hidden;
    background: linear-gradient(150deg, #fff4eb 3%, #f4dfd5 52%, #e8cfc3 100%); color: #412924;
    box-shadow: 0 16px 42px #190f10c4, 0 0 0 3px #422f2b, inset 0 0 0 1px #fff8efba;
  }
  .desktop-member [data-member-mount] { overflow-y: auto; min-height: 0; scrollbar-width: thin; scrollbar-color: #b78d7d transparent; }
  .phone-cap, .phone-base { display: grid; place-items: center; }
  .phone-cap { background: linear-gradient(175deg,#2d2526 12%,#191718 78%); }
  .phone-cap span { width: 49px; height: 4px; border-radius: 6px; background: #4f4143; box-shadow: inset 0 1px #795f61; }
  .phone-base span { width: 75px; height: 3px; border-radius: 5px; background: #8d6b62; opacity: .68; }
  .desktop-member .menu-content { padding: 10px 11px 3px; }
  .desktop-member .drawer-header { padding-bottom: 10px; }
  .desktop-member .brand { gap: .48rem; }
  .desktop-member .brand-mark { width: 34px; height: 34px; }
  .desktop-member .brand-mark svg { width: 23px; height: 23px; }
  .desktop-member .brand-text strong { font-size: 1.32rem; }
  .desktop-member .brand-text small { font-size: .67rem; letter-spacing: .02em; }
  .desktop-member .close-button { padding: .31rem; }
  .desktop-member .drawer-nav { gap: 4px; }
  .desktop-member .drawer-nav a { min-height: 34px; padding: .35rem .52rem; font-size: .83rem; gap: .53rem; }
  .desktop-member .drawer-label { margin-top: .75rem; }
}

@media (min-width: 1040px) and (max-height: 520px) {
  .desktop-sidebar { position: static; }
}

@media(prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.game-section { scroll-margin-top: 86px; }
@media(max-width: 680px) { .game-section { scroll-margin-top: 78px; } }
