:root {
  color-scheme: dark;
  --page: #1c1b18;
  --panel: #262420;
  --dark: #1b1a17;
  --accent: #d5caad;
  --muted: #beb8a8;
  --ivory: #faf6ed;
  --line: #6f6650;
  --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:
    radial-gradient(ellipse at 91% -15%, #a47b4652 0%, #61442b29 26%, transparent 49%),
    linear-gradient(135deg, #0d0d0edb 0%, #111010f3 55%, #20180dc4 100%),
    url("./assets/satin.webp") right top / min(61vw, 860px) auto no-repeat,
    #100e0c;
  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 #f1e6cc; 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, #3a3731fd 0%, #23221efd 48%, #1b1a17fe 100%);
  border-bottom: 1px solid #726952;
  box-shadow: 0 8px 28px #0f0f0db0, 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: 40px; height: 40px; display: grid; place-items: center; color: #f8d98b;
  background: linear-gradient(150deg, #342719, #1b1711 73%);
  border: 1px solid #9c753c; border-radius: 9px;
  box-shadow: inset 0 1px #e6be6d4d, 0 0 12px #a2753e3a;
}
.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.49rem; letter-spacing: .03em; line-height: .95; color: #f5edd9; }
.brand-text small { font-size: .6rem; letter-spacing: .15em; color: #cbbd99; }
.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: #d3cab5;
  font-size: .91rem; font-weight: 600; white-space: nowrap; transition: color .18s ease;
}
.desktop-navigation button:hover, .desktop-navigation button:focus-visible { color: #f4ebd6; }
.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: #d6ccb3; white-space: nowrap; font-size: .875rem; }
.account-button:hover { color: #f8f3e6; }
.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(145deg, #f6e3ba, #e1c188 52%, #b88a40 100%);
  border: 1px solid #e4c78c; color: #2f2112;
  box-shadow: inset 0 1px #fff3d5b3, 0 3px 14px #93653142;
}
.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 #9d9277; background: #292723;
  box-shadow: inset 0 0 44px #1413105c, 0 12px 30px #11100ebe, 0 0 15px #b9ad9033;
}
.hero-art, .hero-glaze { position: absolute; z-index: -1; inset: 0; }
.hero-art {
  background: var(--hero-art, url("./assets/hero.webp")) center 46% / cover no-repeat;
  transition: background-image .24s ease;
}
.hero-glaze {
  background: linear-gradient(90deg, #151310fa 0%, #181410d4 26%, #1a151034 57%, #14100c09 100%),
              linear-gradient(0deg, #14100db6 0%, transparent 41%);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px #d9a9575b;
}
.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: #e5d7b3; font-size: .875rem; font-weight: 600; }
.hero h1 {
  font-family: var(--display-font); font-weight: 600;
  margin: 0; font-size: clamp(2.3rem, 3.3vw, 3.25rem); line-height: 1.23; letter-spacing: -.048em;
  color: #f6f1e3; text-shadow: 0 3px 24px #110f0c;
}
.hero h1 span {
  color: #f1d18f; text-shadow: 0 0 18px #ad813d58;
}
.hero-caption { margin: .95rem 0 1.25rem; color: #e7dec8; font-size: .94rem; line-height: 1.63; }
.hero-button { min-height: 44px; padding-inline: 1.2rem; border-radius: 7px; }
.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: #d3c6a475; }
.hero-pagination button[aria-pressed="true"]::before { width: 1.4rem; background: #efe3c6; }
.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 #746b54;
  background: linear-gradient(155deg, #3d3b35, #282622 46%, #1e1d1a 92%);
  color: #e1d5b8; font-weight: 600; font-size: .98rem;
  box-shadow: inset 0 1px #e0cfa420, 0 3px 8px #0d0d0a82;
  transition: background .18s ease, border-color .18s ease;
}
.category-button svg { color: #e6d4a5; width: 1.7rem; height: 1.7rem; stroke-width: 1.38; }
.category-button:hover, .category-button.is-selected {
  background: radial-gradient(ellipse at 46% 11%, #9b8e6f, #5c5440 47%, #33312c 90%);
  border-color: #c2b081; color: #f8f4e9;
  box-shadow: inset 0 0 0 1px #cab98f48, 0 0 13px #9783503a;
}
.catalogue { display: grid; gap: 17px; margin-top: 17px; }
.game-section {
  border: 1px solid #68604b; border-radius: 12px; padding: 13px 13px 15px;
  background: linear-gradient(135deg, #37342f, #272521 42%, #23221e 88%);
  box-shadow: inset 0 1px #e8d8af20, 0 8px 23px #0d0c0a80;
}
.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: #f4ecd7; letter-spacing: -.025em;
}
.section-top h2 svg { width: 1.22rem; height: 1.22rem; color: #dec78d; }
.section-more { color: #cec1a1; padding: .25rem .1rem .25rem .75rem; font-size: .82rem; }
.section-more:hover { color: #f8f4e9; 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 #968b6f; background: #32302b; box-shadow: inset 0 0 16px #0f0e0a, 0 4px 12px #0e0d0ba0;
}
.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, #0d0c0af5 0%, #12100cbc 19%, transparent 60%);
}
.game-card:hover { border-color: #e4d1a2; }
.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: #f9f5e9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-note { font-size: .72rem; color: #ccbe9a; }
.card-play {
  margin: 0 .6rem .6rem auto; display: grid; place-items: center; width: 29px; height: 29px; flex: none; color: #ede0c0;
  border-radius: 50%; border: 1px solid #b6a781; background: #22201ac7;
}
.card-play svg { width: .92rem; height: .92rem; }
.events-section {
  scroll-margin-top: 84px; margin-top: 13px; padding: 10px 9px 9px; border-top: 1px solid #908569;
  border-radius: 9px; background: linear-gradient(160deg, #3f3c35, #292723 52%, #24221f 100%);
  box-shadow: inset 0 1px #dbcca72a, 0 6px 16px #0e0d0ba0;
}
.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: #f9f5e9;
  border: 1px solid #9a8f72; border-radius: 8px; background: #2b2924;
  box-shadow: inset 0 1px #ede0c03d, 0 4px 9px #191714c8;
  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, #32302a 0%, #2c2923f2 33%, #2e2c2555 61%, #1a18140d 100%),
              linear-gradient(160deg, #e9dab330 0%, transparent 38%, #1b191524 100%);
}
.event-card:hover { border-color: #cebf9a; box-shadow: inset 0 1px #ede0c05c, 0 3px 13px #1e1b15bc; }
.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: #ddd0b1; 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, #f2e8d0, #cebe96); color: #343026;
  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 #3c3932; color: #b9b19d; 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: #0d0c0ab8; 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 #887953; background: linear-gradient(149deg, #2a271e, #1c1a15 62%); color: #faf5ea;
  box-shadow: -16px 0 66px #0d0b08bd; color-scheme: dark;
}
.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: #f8f3e7;
}
.drawer-header .brand-text small {
  color: #d4c6a3;
}
.close-button {
  border-radius: 50%; border: 1px solid #786d50; color: #f7f1e1;
}
.menu-dialog :focus-visible, .desktop-member :focus-visible {
  outline-color: #eee0be;
}
.demo-account {
  padding: 12px; border: 1px solid #705b3e; border-radius: 10px;
  background: radial-gradient(ellipse at 90% 12%, #4c3924, #2b2117 55%, #211a14);
  box-shadow: inset 0 1px #c5a26846, 0 3px 11px #110b0670;
}
.wallet-label {
  display: flex; align-items: center; gap: .5rem; color: #efe3c5; 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 #f9f5eaac;
}
.wallet-entry:disabled { opacity: .73; cursor: default; }
.wallet-balance span {
  color: #e0cc9a; font-size: .86rem;
}
.wallet-label [data-account-state] {
  margin-left: auto; font-size: .73rem; color: #e2d6b7;
}
.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: #f7f0df; border: 1px solid #8a7b54; background: #2f2b20;
}
.drawer-label { display: flex; align-items: center; gap: .42rem; margin: .95rem 0 .46rem; font-size: .87rem; }
.drawer-label svg {
  color: #e3cd96;
}
.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: #f0dfc5;
  border: 1px solid #584736; background: linear-gradient(155deg, #2b231b, #211b15); font-size: .88rem; font-weight: 600;
}
.drawer-nav a[aria-current="page"], .drawer-nav a:hover {
  border-color: #a17b43; background: linear-gradient(155deg, #463622, #34271b);
}
.drawer-nav a svg:last-child {
  width: .89rem; margin-left: auto; color: #cdbc90;
}
.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 #6f6240; border-radius: 7px; color: #f6efdd;
  background: linear-gradient(165deg, #3a362b, #2a261e); box-shadow: inset 0 1px #e5d09c42;
  font-size: .77rem; font-weight: 700;
}
.member-utilities > :hover, .member-utilities > [aria-current="location"] {
  border-color: #baa56e; background: linear-gradient(165deg, #5e502e, #3c3729);
}
.member-utilities svg {
  width: 1.05rem; height: 1.05rem; color: #eadab1;
}

.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 #635739; border-radius: 7px; color: #f6efdd;
  background: linear-gradient(155deg, #343026, #26231c); font-size: .74rem; font-weight: 700;
}
.panel-shortcuts button:hover {
  border-color: #b7a066;
}
.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 #a3946f;
  padding: 0; background: #211f1c; color: #f9f5ea; border-radius: 17px;
  box-shadow: 0 20px 80px #060605d9;
}
.game-dialog-inner { position: relative; }
.game-close { position: absolute; z-index: 1; inset: .7rem .7rem auto auto; border: 1px solid #beac7f; border-radius: 50%; background: #171613da; }
.game-cover { min-height: 180px; background: #26241e var(--cover) center 45% / cover; box-shadow: inset 0 -30px 40px #1413108f; }
.game-cover:empty[hidden] { display: none; }
.game-copy { padding: 19px 22px 22px; display: grid; gap: .58rem; }
.game-kind { color: #d4c396; 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: #d5cdb9; 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: #e8d8af; }
.sample-chip {
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #decda0, #675a3a);
  border: 1px solid #e5d2a3; color: #201e18; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700;
}
.slot-chip { border-radius: 9px; color: #f4ebd6; background: linear-gradient(#39362f, #1c1b18); }
.card-chip { border-radius: 7px; color: #312d23; background: #f4eddc; }
.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 #b5a784; border-radius: 16px; color: #f9f5ea;
  background: linear-gradient(145deg, #393730, #211f1c 59%);
  box-shadow: 0 22px 66px #0b0a08e0, inset 0 1px #e1d3b040;
}
.entry-notice::backdrop { background: #0e0d0bc4; 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 #b6a67e6e;
  background: linear-gradient(90deg, #22201ced 4%, #22201c8a 42%, #22201c14 77%),
              linear-gradient(0deg, #1f1e1ad5, transparent 52%),
              url("./assets/hero-mobile.webp") center 45% / cover no-repeat;
}
.entry-heading { text-shadow: 0 3px 14px #171613; }
.entry-brand { margin: 0 0 .24rem; color: #eaddbd; font: 600 .82rem Georgia, serif; letter-spacing: .12em; }
.entry-heading h2 { margin: 0; color: #f7f2e4; 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 #b6a885;
  border-radius: 50%; background: #1c1a17cd; color: #f5eedd;
}
.entry-games { margin: 0; padding: 14px 12px 3px; color: #e5dac0; 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 #8e8367; background: #2c2a25; color: #ece2c8; }
@media(max-width: 360px) {
  .entry-poster { padding: 14px; }
  .entry-games, .entry-actions .button { font-size: .74rem; }
}

.sample-score {
  border: 1px solid #786c4e; border-radius: 8px; padding: .6rem .9rem;
  background: #1a1815; color: #f4eddc; 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: #e7d6ac; }
  .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,#211f1cec 0%,#24221fac 40%,#403d3735 84%), linear-gradient(0deg,#1a1815b0,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, #32302a 0%, #2c2923f2 38%, #2e2c2555 64%, #1a18140d 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 #514a37; background: #272521f7; box-shadow: 0 -5px 24px #0d0c0aad;
  }
  .bottom-nav a { min-height: 46px; display: grid; align-content: center; justify-items: center; gap: .19rem; border-radius: 8px; font-size: .71rem; color: #d3c9b0; text-align: center; line-height: 1.16; }
  .bottom-nav a svg { width: 1.18rem; height: 1.18rem; }
  .bottom-nav a[aria-current] { color: #efe3c4; background: #3f3b2f; }
}

@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 #7a7059; border-radius: 16px; background: linear-gradient(150deg, #2a2824ef, #1f1e1bee 72%);
    box-shadow: 0 17px 48px #11110fd9, inset 0 1px #e5d8b940;
  }
  .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.31rem; }
  .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 #aa9d7c; box-shadow: 0 8px 21px #13120f90;
  }
  .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 #1e1d1a; outline: 1px solid #b7ad94; outline-offset: 1px; overflow: hidden;
    background: linear-gradient(155deg, #2c2920, #1e1b16 61%, #26231b 100%); color: #faf5ea;
    box-shadow: 0 16px 42px #141310c4, 0 0 0 3px #34322c, inset 0 0 0 1px #fbf9f3ba;
  }
  .desktop-member [data-member-mount] { overflow-y: auto; min-height: 0; scrollbar-width: thin; scrollbar-color: #b1a483 transparent; }
  .phone-cap, .phone-base { display: grid; place-items: center; }
  .phone-cap { background: linear-gradient(175deg,#272521 12%,#171614 78%); }
  .phone-cap span { width: 49px; height: 4px; border-radius: 6px; background: #494436; box-shadow: inset 0 1px #786f57; }
  .phone-base span { width: 75px; height: 3px; border-radius: 5px; background: #857b61; 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; } }
