:root {
  color-scheme: dark;
  --page: #1b1820;
  --panel: #25202c;
  --dark: #1a171f;
  --accent: #bdaed4;
  --muted: #b1a8be;
  --ivory: #f3edfa;
  --line: #5d516e;
  --display-font: "Noto Sans KR", system-ui, sans-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 94% -9%, #8d6ac469 0%, #54427d45 23%, transparent 46%),
    linear-gradient(135deg, #100f18 0%, #171522ed 58%, #211a37ba 100%),
    url("./assets/satin.webp") top right / min(66vw, 930px) auto no-repeat,
    #14121f;
  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 #ddcdf0; 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, #393143fd 0%, #221e29fd 48%, #1a171ffe 100%);
  border-bottom: 1px solid #5f5371;
  box-shadow: 0 8px 28px #100d12b0, 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: #eddcff;
  background: linear-gradient(148deg, #635091, #362851 72%);
  border: 1px solid #8d72b6; border-radius: 10px;
  box-shadow: inset 0 1px #efe0ff57, 0 0 17px #8e62d84f;
}
.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: #e6daf4; }
.brand-text small { font-size: .6rem; letter-spacing: .15em; color: #af9aca; }
.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: #c3b6d2;
  font-size: .91rem; font-weight: 600; white-space: nowrap; transition: color .18s ease;
}
.desktop-navigation button:hover, .desktop-navigation button:focus-visible { color: #e4d7f3; }
.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: #c3b4d5; white-space: nowrap; font-size: .875rem; }
.account-button:hover { color: #efe6f8; }
.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, #dabeff, #b98cf6 51%, #9265d8 100%);
  border: 1px solid #c4a2f5; color: #22153b;
  box-shadow: inset 0 1px #fff5ff91, 0 3px 14px #7e4eda4a;
}
.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 #87789c; background: #27232f;
  box-shadow: inset 0 0 44px #1410175c, 0 12px 30px #100e14be, 0 0 15px #a091b833;
}
.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, #151321fa 0%, #161322cf 32%, #1a112f25 61%, #2216350c 100%),
              linear-gradient(0deg, #141121d1 0%, transparent 44%);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px #c19aff36;
}
.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: #c9b4e4; 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: #ece3f6; text-shadow: 0 3px 24px #0f0a15;
}
.hero h1 span { color: #d8baff; text-shadow: 0 0 23px #a471ee7a; }
.hero-caption { margin: .95rem 0 1.25rem; color: #d6c9e6; 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: #baa5d275; }
.hero-pagination button[aria-pressed="true"]::before { width: 1.4rem; background: #d9c7ee; }
.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 #615573;
  background: linear-gradient(155deg, #3c3547, #27222e 46%, #1d1a23 92%);
  color: #cbb9e0; font-weight: 600; font-size: .98rem;
  box-shadow: inset 0 1px #c0a5df20, 0 3px 8px #0c0a1082;
  transition: background .18s ease, border-color .18s ease;
}
.category-button svg { color: #c3a6e5; width: 1.7rem; height: 1.7rem; stroke-width: 1.38; }
.category-button:hover, .category-button.is-selected {
  background: radial-gradient(ellipse at 46% 11%, #81709a, #4b415b 47%, #322c3b 90%);
  border-color: #9d82c1; color: #f0e9f8;
  box-shadow: inset 0 0 0 1px #a990c948, 0 0 13px #7151963a;
}
.catalogue { display: grid; gap: 17px; margin-top: 17px; }
.game-section {
  border: 1px solid #574c67; border-radius: 12px; padding: 13px 13px 15px;
  background: linear-gradient(135deg, #352f3f, #26212d 42%, #221e29 88%);
  box-shadow: inset 0 1px #c9b0e720, 0 8px 23px #0c0a0f80;
}
.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: #e4d8f3; letter-spacing: -.025em;
}
.section-top h2 svg { width: 1.22rem; height: 1.22rem; color: #b18fdc; }
.section-more { color: #b5a2cd; padding: .25rem .1rem .25rem .75rem; font-size: .82rem; }
.section-more:hover { color: #f0e9f8; 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 #7f7095; background: #312b3a; box-shadow: inset 0 0 16px #0d0813, 0 4px 12px #0d0a11a0;
}
.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, #0c0a0ff5 0%, #0f0a16bc 19%, transparent 60%);
}
.game-card:hover { border-color: #c0a3e3; }
.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: #f1e9f9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-note { font-size: .72rem; color: #b09bcb; }
.card-play {
  margin: 0 .6rem .6rem auto; display: grid; place-items: center; width: 29px; height: 29px; flex: none; color: #d5c1ec;
  border-radius: 50%; border: 1px solid #9882b5; background: #201929c7;
}
.card-play svg { width: .92rem; height: .92rem; }
.events-section {
  scroll-margin-top: 84px; margin-top: 13px; padding: 10px 9px 9px; border-top: 1px solid #7a6a8f;
  border-radius: 9px; background: linear-gradient(160deg, #3d344a, #28232f 52%, #231f29 100%);
  box-shadow: inset 0 1px #bfa8da2a, 0 6px 16px #0d0a11a0;
}
.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: #f0e9f9;
  border: 1px solid #837399; border-radius: 8px; background: #2a2333;
  box-shadow: inset 0 1px #d3c1ec3d, 0 4px 9px #17131dc8;
  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, #302a3a 0%, #2a2234f2 33%, #2c243755 61%, #1812200d 100%),
              linear-gradient(160deg, #cbb4e830 0%, transparent 38%, #19132124 100%);
}
.event-card:hover { border-color: #b19bcd; box-shadow: inset 0 1px #d3c1ec5c, 0 3px 13px #1a1225bc; }
.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: #c5b2dc; 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, #e0d1f1, #af97cd); color: #2f233f;
  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 #3b3246; color: #a99eb8; 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: #0c090fb8; 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 #695487; background: linear-gradient(149deg, #211b34, #161322 62%); color: #f0e5ff;
  box-shadow: -16px 0 66px #080610bd; 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: #ebe0ff;
}
.drawer-header .brand-text small {
  color: #b8a4d3;
}
.close-button {
  border-radius: 50%; border: 1px solid #635177; color: #ead9ff;
}
.menu-dialog :focus-visible, .desktop-member :focus-visible {
  outline-color: #ceb1fb;
}
.demo-account {
  padding: 12px; border: 1px solid #6a528a; border-radius: 10px;
  background: radial-gradient(ellipse at 90% 12%, #4b366d, #29223e 55%, #211b34);
  box-shadow: inset 0 1px #bb94f63b, 0 3px 11px #100b1a70;
}
.wallet-label {
  display: flex; align-items: center; gap: .5rem; color: #d7c1f3; 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 #efe4ffac;
}
.wallet-entry:disabled { opacity: .73; cursor: default; }
.wallet-balance span {
  color: #b99bdf; font-size: .86rem;
}
.wallet-label [data-account-state] {
  margin-left: auto; font-size: .73rem; color: #c9b8e1;
}
.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: #e7d7ff; border: 1px solid #6c5589; background: #251c3a;
}
.drawer-label { display: flex; align-items: center; gap: .42rem; margin: .95rem 0 .46rem; font-size: .87rem; }
.drawer-label svg {
  color: #b691e8;
}
.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: #ecddff;
  border: 1px solid #493960; background: linear-gradient(155deg, #2e2545, #211a33); font-size: .88rem; font-weight: 600;
}
.drawer-nav a[aria-current="page"], .drawer-nav a:hover {
  border-color: #8e69bf; background: linear-gradient(148deg, #4c3768, #32254a);
}
.drawer-nav a svg:last-child {
  width: .89rem; margin-left: auto; color: #ac91cc;
}
.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 #55416e; border-radius: 7px; color: #e8daf9;
  background: linear-gradient(165deg, #342747, #241b33); box-shadow: inset 0 1px #b993ee42;
  font-size: .77rem; font-weight: 700;
}
.member-utilities > :hover, .member-utilities > [aria-current="location"] {
  border-color: #916fb9; background: linear-gradient(165deg, #4a3365, #33244a);
}
.member-utilities svg {
  width: 1.05rem; height: 1.05rem; color: #c6a9f2;
}

.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 #4b3a62; border-radius: 7px; color: #e7d8fb;
  background: linear-gradient(155deg, #2d223f, #20192e); font-size: .74rem; font-weight: 700;
}
.panel-shortcuts button:hover {
  border-color: #8968b5;
}
.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 #8670a2;
  padding: 0; background: #201c26; color: #f1eaf9; border-radius: 17px;
  box-shadow: 0 20px 80px #060408d9;
}
.game-dialog-inner { position: relative; }
.game-close { position: absolute; z-index: 1; inset: .7rem .7rem auto auto; border: 1px solid #9b80bd; border-radius: 50%; background: #16131bda; }
.game-cover { min-height: 180px; background: #241d2d var(--cover) center 45% / cover; box-shadow: inset 0 -30px 40px #1310188f; }
.game-cover:empty[hidden] { display: none; }
.game-copy { padding: 19px 22px 22px; display: grid; gap: .58rem; }
.game-kind { color: #b297d3; 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: #c6bad4; 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: #c8b0e7; }
.sample-chip {
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #bca1dd, #4c3b66);
  border: 1px solid #c0a4e4; color: #1d1627; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700;
}
.slot-chip { border-radius: 9px; color: #e4d7f3; background: linear-gradient(#3a2e43, #1d1821); }
.card-chip { border-radius: 7px; color: #2b203c; background: #e7dcf4; }
.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 #9985b4; border-radius: 16px; color: #f1eaf9;
  background: linear-gradient(145deg, #372f43, #201c26 59%);
  box-shadow: 0 22px 66px #0a080de0, inset 0 1px #c5b1e040;
}
.entry-notice::backdrop { background: #0d0b10c4; 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 #977fb56e;
  background: linear-gradient(90deg, #201c27ed 4%, #201c278a 42%, #201c2714 77%),
              linear-gradient(0deg, #201a24d5, transparent 52%),
              url("./assets/hero-mobile.webp") center 45% / cover no-repeat;
}
.entry-heading { text-shadow: 0 3px 14px #16131b; }
.entry-brand { margin: 0 0 .24rem; color: #d1bee9; font: 600 .82rem Georgia, serif; letter-spacing: .12em; }
.entry-heading h2 { margin: 0; color: #ede4f7; 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 #9986b5;
  border-radius: 50%; background: #1a1621cd; color: #e8ddf5;
}
.entry-games { margin: 0; padding: 14px 12px 3px; color: #d0c1e4; 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 #78688d; background: #2a2533; color: #d8c9eb; }
@media(max-width: 360px) {
  .entry-poster { padding: 14px; }
  .entry-games, .entry-actions .button { font-size: .74rem; }
}

.sample-score {
  border: 1px solid #614f77; border-radius: 8px; padding: .6rem .9rem;
  background: #19151e; color: #e7dcf4; 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: #c6ade6; }
  .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,#201c26ec 0%,#221f29ac 40%,#3e374a35 84%), linear-gradient(0deg,#18151eb0,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, #302a3a 0%, #2a2234f2 38%, #2c243755 64%, #1812200d 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 #483c58; background: #26212df7; box-shadow: 0 -5px 24px #0c090fad;
  }
  .bottom-nav a { min-height: 46px; display: grid; align-content: center; justify-items: center; gap: .19rem; border-radius: 8px; font-size: .71rem; color: #c0b1d2; text-align: center; line-height: 1.16; }
  .bottom-nav a svg { width: 1.18rem; height: 1.18rem; }
  .bottom-nav a[aria-current] { color: #d8c5ee; background: #3a2c4c; }
}

@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 #675a79; border-radius: 16px; background: linear-gradient(150deg, #282431ef, #1e1b24ee 72%);
    box-shadow: 0 17px 48px #110f14d9, inset 0 1px #ccbae440;
  }
  .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 #907da9; box-shadow: 0 8px 21px #110f1690;
  }
  .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 #1d1a23; outline: 1px solid #a295b6; outline-offset: 1px; overflow: hidden;
    background: linear-gradient(155deg, #241d36, #171424 61%, #20182f 100%); color: #f0e5ff;
    box-shadow: 0 16px 42px #141017c4, 0 0 0 3px #322c3d, inset 0 0 0 1px #f7f3fbba;
  }
  .desktop-member [data-member-mount] { overflow-y: auto; min-height: 0; scrollbar-width: thin; scrollbar-color: #9684b0 transparent; }
  .phone-cap, .phone-base { display: grid; place-items: center; }
  .phone-cap { background: linear-gradient(175deg,#28212d 12%,#18141a 78%); }
  .phone-cap span { width: 49px; height: 4px; border-radius: 6px; background: #473b4f; box-shadow: inset 0 1px #6a5877; }
  .phone-base span { width: 75px; height: 3px; border-radius: 5px; background: #6f6284; 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; } }
