@charset "UTF-8";
@font-face{font-family:"Cormorant Garamond";src:url("media/display-regular.woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Cormorant Garamond";src:url("media/display-italic.woff2");font-weight:500;font-style:italic;font-display:swap}
@font-face{font-family:"DM Sans";src:url("media/labels.woff2");font-weight:400 750;font-display:swap}
@font-face{font-family:"Noto Serif KR";src:url("media/headings.woff2");font-weight:650;font-display:swap}
@font-face{font-family:"Pretendard Variable";src:url("media/pretendard.woff2");font-weight:100 900;font-display:swap}
:root {
  color-scheme: light;
  --ink: #422431;
  --muted: #674e55;
  --champagne: #c5a291;
  --rail: linear-gradient(157deg, #592a40, #381b2b 39%, #281420 78%, #3d2030);
  --key: linear-gradient(155deg, #65384a, #4e283d 39%, #361c2d 72%, #2b1726);
  --ivory-key: linear-gradient(145deg, #fff1dc, #f4dcc9 62%, #e4beab);
  --berry: linear-gradient(152deg, #a34762, #752b48 56%, #552337);
  --raised: inset 0 1px 0 #ffdcc83d, 0 3px 0 #160712b8, 0 7px 15px -8px #0c020aa6;
  --soft: inset 0 1px 0 #fffffadd, 0 3px 8px -4px #63343859;
  --portrait-depth: 0 10px 21px -12px #50222d61, 0 2px 4px -2px #683d3645;
  --sans: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --serif: "Noto Serif KR", "AppleMyungjo", Batang, serif;
  color: var(--ink); background: #311a29; font-family: var(--sans);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, a { font: inherit; -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
:is(a,button):focus-visible { outline: 3px solid #b94a73; outline-offset: 3px; }
:is(.rail,.drawer,footer) :focus-visible { outline-color: #ffe0ad; }
img { display: block; max-width: 100%; }
svg { flex: none; vertical-align: middle; }

.shell { display: grid; grid-template-columns: 232px minmax(0,1fr); align-items: start; min-height: 100vh; }
.rail, .drawer { color: #fff2e6; background: var(--rail); }
.rail {
  position: sticky; top: 0; display: flex; flex-direction: column; gap: 30px;
  height: 100dvh; overflow: auto; scrollbar-width: thin; scrollbar-color: #805466 #381b2b;
  padding: 36px 16px 26px; border-right: 1px solid #795260;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; width: max-content; max-width: 100%;
  font: 750 20px/1 "DM Sans", Arial, sans-serif; letter-spacing: -.06em;
}
.rail > .brand { margin-left: 5px; }
.mark { display: inline-block; position: relative; width: 25px; height: 26px; flex: none; }
.mark i { position: absolute; width: 13px; height: 20px; top: 3px; left: 2px; border-radius: 9px 3px 8px 2px; background: #ba7886; transform: rotate(-17deg); }
.mark i:nth-child(2) { left: 6px; background: #f4d2b3; transform: rotate(1deg); }
.mark i:nth-child(3) { left: 11px; background: #a04562; transform: rotate(17deg); }

.category-nav { display: grid; gap: 9px; }
.category-nav a, .quick a {
  display: flex; align-items: center; min-width: 0; min-height: 44px; font-weight: 650; letter-spacing: -.027em;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.category-nav a {
  gap: 12px; height: 58px; padding: 5px 9px; border: 1px solid #8b6071; border-radius: 19px 32px 32px 19px;
  background: var(--key); box-shadow: var(--raised); color: #fff2e6; font-size: 16px;
}
.category-nav a[href="#lobby"] {
  height: 44px; border-radius: 99px; padding: 0 14px; gap: 9px; font-size: 14px;
}
.category-nav a[aria-current] { background: var(--ivory-key); color: #492332; border-color: #d9af97; box-shadow: var(--soft); }
.category-nav a[aria-current] svg { color: #783950; }
.category-medal {
  width: 42px; height: 42px; flex: none; object-fit: cover; border-radius: 50%;
  border: 1px solid #c7987e; box-shadow: 0 2px 5px #1e0a1252;
}

.main {
  min-width: 0; width: 100%; max-width: 1920px; justify-self: center;
  background: #f7eee6 url("media/pearl-relief.webp") right top / 100% 100% no-repeat;
}
.topbar, footer { display: flex; align-items: center; justify-content: space-between; }
.topbar { height: 68px; padding: 0 37px; border-bottom: 1px solid #d8bdae; background: linear-gradient(104deg,#fffbf2,#fcf2eb 67%,#f3e2d8); }
.auth, .mobile-top { display: flex; align-items: center; gap: 8px; }
.auth a, .text-link, footer .back { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 30px; font-weight: 650; }
.auth a { padding: 6px 16px; font-size: 14px; background: #fbf3ed; border: 1px solid #d5b9ad; box-shadow: var(--soft); }
.auth .register { padding: 7px 19px; border-color: #8c4258; color: #fff4ed; background: var(--berry); }
.mobile-top, .quick { display: none; }
#poster { min-width: 0; }
section[id], article[id] { scroll-margin-top: 16px; }

.shelf { padding: 49px 40px 0; min-width: 0; }
.shelf-head { display: flex; align-items: center; gap: 17px; margin-bottom: 17px; }
.shelf-head::after {
  content: ""; order: 1; flex: 1; min-width: 0; height: 1px;
  background: linear-gradient(90deg,#b58a72,#d9bfa5 34%,#cfac9f38);
}
.shelf-head .text-link { order: 2; }
.shelf h2, .more-games h2 {
  font: 650 30px/1.27 var(--serif); letter-spacing: -.06em; color: #422431;
}
.shelf h2 { display: flex; align-items: center; gap: 9px; }
.shelf h2::before {
  content: ""; width: 12px; height: 25px; flex: none; border-radius: 9px 2px 9px 2px;
  background: linear-gradient(160deg,#d6a07b,#ab5a63 46%,#68334b);
}
.text-link { flex: none; padding: 0 15px; border: 1px solid #d6b9ab; color: #68364a; background: #fffaf2; font-size: 13px; }
.note { color: var(--muted); font-size: 13px; line-height: 1.55; }
.shelf .after { margin-top: 13px; }
.shelf .before { margin: 0 0 14px; }
.providers { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.provider {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden; isolation: isolate; text-align: center;
  color: #422431; background: #fff7ed; border: 1px solid #c6a392; border-radius: 100px 100px 23px 23px;
  box-shadow: var(--portrait-depth); transition: transform .24s ease, box-shadow .24s ease;
}
#slot .provider { border-radius: 42px 80px 24px 24px; }
.provider img { display: block; width: 100%; height: auto; aspect-ratio: 12 / 19; object-fit: contain; object-position: center; transition: transform .32s ease; }
.provider .label {
  position: relative; display: grid; align-content: center; flex: 1; gap: 3px; min-width: 0; padding: 11px 5px 14px;
  background: linear-gradient(170deg,#fff9f0,#f7e9db); border-top: 1px solid #dcc0a8;
}
#slot .label { background: linear-gradient(155deg,#fffaf4,#f1e3d9); border-color: #d9bcaf; }
.provider b { font-size: 16px; line-height: 1.3; letter-spacing: -.04em; word-break: keep-all; overflow-wrap: anywhere; }
.provider small { font: 500 12px/1.35 "DM Sans", Arial, sans-serif; color: #6f555a; }

.more-games { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding: 46px 40px; }
.entrance {
  min-width: 0; border: 1px solid #c5a391; border-radius: 30px 55px 30px 30px; overflow: hidden; display: flex;
  background: linear-gradient(130deg,#f0dbcd,#fff5e8 85%); box-shadow: var(--portrait-depth);
}
.entrance:nth-child(2) { background: linear-gradient(130deg,#edd4ce,#fff3e8 85%); }
.entrance img { width: 35%; min-height: 124px; object-fit: cover; object-position: right center; border-radius: 0 42px 42px 0; }
.entry-text { min-width: 0; padding: 13px 14px 13px 17px; align-self: center; }
.more-games h2 { font-size: 23px; margin-bottom: 6px; }
footer { min-height: 85px; padding: 20px 37px; background: var(--rail); border-radius: 38px 38px 0 0; color: #fff0e4; }
footer .back { font-size: 13px; gap: 8px; }
.drawer {
  margin: 0 auto 0 0; width: min(286px,88vw); height: 100%; max-width: none; max-height: 100dvh; overflow: auto;
  padding: 23px 18px; border: none; border-right: 1px solid #795260; border-radius: 0 34px 34px 0;
}
.drawer::backdrop { background: #1d0e168c; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin: 0 0 21px; }
.drawer-top button, .menu-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.drawer-top button { background: var(--key); color: #fff2e6; border: 1px solid #986f7b; box-shadow: var(--raised); }
.menu-button { background: transparent; border: 0; }
.only-text { position: absolute; overflow: hidden; clip-path: inset(50%); width: 1px; height: 1px; white-space: nowrap; }

@media (hover:hover) {
  .category-nav a:hover, .quick a:hover { transform: translateY(-2px) scale(1.012); filter: brightness(1.09); }
  .provider:hover { transform: translateY(-3px); box-shadow: 0 15px 26px -12px #50222d75; }
  .provider:hover img { filter: contrast(1.025); }
  .auth a:hover, .text-link:hover { filter: brightness(.97); }
  footer .back:hover { text-decoration: underline; text-underline-offset: 3px; }
}
.category-nav a:active, .quick a:active { transform: translateY(2px) scale(.975); }
.provider:active { transform: translateY(1px); }

@media (min-width:810px) and (max-width:1439px) {
  .shell { grid-template-columns: 160px minmax(0,1fr); }
  .rail { padding: 25px 10px 19px; gap: 22px; }
  .rail .brand { font-size: 17px; gap: 5px; margin-left: 2px; }
  .rail .mark { width: 21px; }
  .rail .category-nav { gap: 7px; }
  .rail .category-nav a { height: 53px; gap: 7px; padding: 4px 6px; font-size: 14px; }
  .rail .category-nav a[href="#lobby"] { height: 44px; padding-inline: 11px; }
  .rail .category-medal { width: 33px; height: 33px; }
  .topbar { height: 60px; padding: 0 19px; }
  .shelf { padding: 37px 20px 0; }
  .shelf-head { margin-bottom: 14px; }
  .providers { grid-template-columns: repeat(auto-fit,minmax(min(175px,100%),1fr)); gap: 13px; }
  .provider { border-radius: 94px 94px 22px 22px; }
  #slot .provider { border-radius: 36px 71px 22px 22px; }
  .more-games { gap: 15px; padding: 33px 20px; }
  .more-games h2 { font-size: 20px; }
  footer { padding: 19px; }
}
@media (max-width:809px) {
  .shell { display: block; }
  .rail { display: none; }
  .topbar { height: 59px; padding: 0 12px 0 7px; }
  .mobile-top { display: flex; gap: 3px; }
  .mobile-top .brand { font-size: 16px; gap: 5px; }
  .mobile-top .mark { transform: scale(.85); width: 22px; }
  .auth { gap: 5px; }
  .auth a { font-size: 13px; padding: 6px 10px; }
  .auth .register { padding: 7px 12px; }
  .quick { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; padding: 14px 12px 8px; background: #f7eee7; }
  .quick a {
    flex-direction: column; justify-content: center; gap: 4px; height: 80px; padding: 4px 0 6px;
    font-size: 13px; white-space: nowrap; color: #4d2535; border: 1px solid #dabaa4;
    border-radius: 38px 38px 20px 20px; background: var(--ivory-key); box-shadow: var(--soft);
  }
  .quick .category-medal { width: 39px; height: 39px; }
  .main { background-position: center top; }
  .shelf { padding: 30px 15px 0; }
  #slot.shelf { padding-top: 32px; }
  .shelf-head { gap: 8px; margin-bottom: 11px; }
  .shelf h2 { font-size: 25px; gap: 6px; }
  .shelf h2::before { width: 9px; height: 19px; }
  .text-link { padding: 0 10px; font-size: 12px; }
  .providers { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .provider { border-radius: 80px 80px 21px 21px; }
  #slot .provider { border-radius: 30px 60px 20px 20px; }
  .provider .label { padding: 9px 4px 11px; }
  .provider b { font-size: 15px; }
  .note { font-size: 12px; }
  .more-games { grid-template-columns: 1fr; gap: 13px; padding: 32px 15px; }
  .entrance { border-radius: 26px 45px 25px 26px; }
  .entrance img { width: 34%; min-height: 105px; height: 100%; }
  .entry-text { padding: 9px 14px; }
  .more-games h2 { font-size: 21px; }
  footer { min-height: 76px; padding: 18px 14px; border-radius: 22px 22px 0 0; }
  footer .brand { font-size: 17px; }
}
@media (max-width:349px) {
  .topbar { padding-right: 7px; }
  .auth { gap: 3px; }
  .auth a, .auth .register { padding-inline: 7px; }
  .shelf, .more-games { padding-right: 12px; padding-left: 12px; }
  .shelf h2 { font-size: 22px; }
  .provider b { font-size: 14px; }
}
/* The desktop rail and the mobile drawer share the six member links and the same three banner records. */
.rail { gap: 19px; padding-block: 25px 18px; min-height: 0; }
.rail > *, .drawer > * { flex-shrink: 0; }
.rail .category-nav { gap: 7px; }
.rail .category-nav a:not([href="#lobby"]) { height: 51px; }
.rail .category-medal { width: 38px; height: 38px; }
.auth { margin-inline-start: auto; }
.member-tools { display: grid; gap: 10px; min-width: 0; padding-top: 13px; border-top: 1px solid #805265; }
.service-links { display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
.service-links a {
  display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; column-gap: 12px;
  min-width: 0; min-height: 44px; padding: 5px 9px; text-align: left;
  font-size: 14px; line-height: 1.25; font-weight: 600; color: #fff0e2; background: #4a2939; border: 1px solid #795260;
  border-radius: 13px; transition: background .17s, transform .17s;
}
.service-links span { white-space: nowrap; }
.service-links svg { justify-self: center; color: #edc7a7; }
.service-note { color: #e0c3bf; font-size: 12px; line-height: 1.45; word-break: keep-all; }
.service-banners { display: grid; gap: 6px; }
.service-banner {
  display: flex; align-items: center; position: relative; isolation: isolate; overflow: hidden; min-width: 0;
  min-height: 49px; aspect-ratio: 3.52; border-radius: 12px 20px 12px 12px; border: 1px solid #976c71; background: #3b1b2b;
  box-shadow: inset 0 1px 0 #ffdbc329, 0 3px 6px #10091059; padding: 6px 12px;
}
.service-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.service-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#210e1bc2,transparent 76%); z-index: -1; }
.service-banner span { max-width: 68%; color: #fff0d9; font-size: 15px; font-weight: 700; letter-spacing: -.035em; line-height: 1.35; word-break: keep-all; text-shadow: 0 1px 3px #200f18; }
.drawer .member-tools { margin-top: 18px; }
.drawer .service-links a { grid-template-columns: 42px minmax(0,1fr); }
@media (hover:hover) {
  .service-links a:hover { background: #64374a; transform: translateY(-1px); }
  .service-banner:hover { border-color: #efcbac; }
}
.service-links a:active, .service-banner:active { transform: translateY(1px); }
@media (min-width:810px) and (max-width:1439px) {
  .rail { gap: 16px; padding: 20px 10px 16px; }
  .rail .category-nav a:not([href="#lobby"]) { height: 47px; }
  .rail .category-medal { width: 33px; height: 33px; }
  .rail .service-links a { grid-template-columns: 33px minmax(0,1fr); column-gap: 7px; padding-inline: 6px; }
  .rail .service-links svg { width: 16px; height: 16px; }
  .rail .service-banner { padding: 5px 7px; }
  .rail .service-banner span { font-size: 13px; }
}
@media (max-height:780px) and (min-width:1440px) {
  .rail { padding-block: 18px; gap: 15px; }
  .rail .category-nav a:not([href="#lobby"]) { height: 47px; }
}
@media (max-width:809px) {
  .drawer { overscroll-behavior: contain; padding-bottom: max(22px,env(safe-area-inset-bottom)); }
  .drawer .service-banner { min-height: 57px; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none!important; transition: none!important; }
}
