/* karobet — site. Modern CSS: oklch, container queries, scroll-driven, view transitions, @starting-style. */
@view-transition { navigation: auto; }

:root {
  color-scheme: dark;
  --ink: #0b1110;
  --ink-2: #111a18;
  --ink-3: #18231f;
  --line: oklch(1 0 0 / .09);
  --text: oklch(.95 .012 90);
  --muted: oklch(.72 .018 150);
  --gold: oklch(.83 .1 85);
  --gold-2: oklch(.68 .11 75);
  --emerald: oklch(.72 .13 165);
  --red: oklch(.72 .16 25);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gut: clamp(16px, 3.5vw, 48px);
  --r: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; color: var(--text); font: 500 15px/1.5 var(--sans);
  background:
    radial-gradient(60vw 40vw at 85% -10%, oklch(.5 .1 80 / .10), transparent 70%),
    radial-gradient(50vw 40vw at 0% 30%, oklch(.45 .09 165 / .10), transparent 70%),
    var(--ink);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.04; font-optical-sizing: auto; }
h1 em, h2 em { color: var(--gold); font-weight: 300; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--muted); font-size: 13.5px; }
.eyebrow { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px;
  border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn:active { transform: scale(.97); }
.btn.gold { color: #1c1505; background: linear-gradient(135deg, var(--gold), var(--gold-2)); box-shadow: 0 8px 28px -10px oklch(.75 .12 80 / .7), inset 0 1px 0 oklch(1 0 0 / .4); }
.btn.gold:hover { box-shadow: 0 12px 36px -8px oklch(.78 .12 80 / .9), inset 0 1px 0 oklch(1 0 0 / .5); }
.btn.ghost { border: 1px solid var(--line); background: oklch(1 0 0 / .05); backdrop-filter: blur(10px); }
.btn.ghost:hover { background: oklch(1 0 0 / .1); }
.btn.lg { padding: 14px 24px; font-size: 15px; }
.btn.wide { width: 100%; padding: 13px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 26px; height: 26px; flex: none; filter: drop-shadow(0 0 9px oklch(.8 .1 85 / .45)); transition: scale .45s var(--ease), rotate .45s var(--ease); }
a:hover .brand-mark { scale: 1.12; rotate: 90deg; }
.brand-t { font: 400 20px var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.brand-t em { color: var(--gold); }

/* Üst ada */
.nav {
  position: sticky; top: 12px; z-index: 50; margin: 12px var(--gut) 0; padding: 8px 10px 8px 16px;
  display: flex; align-items: center; gap: 16px; border-radius: 20px; border: 1px solid var(--line);
  background: oklch(.17 .012 165 / .72); backdrop-filter: blur(20px) saturate(1.4);
  view-transition-name: nav;
}
.nav-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 14px; background: oklch(0 0 0 / .25); }
.nav-tabs a { display: flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 11px; color: var(--muted); font-weight: 700; font-size: 14px; transition: color .2s, background .2s; white-space: nowrap; }
.nav-tabs a:hover { color: var(--text); }
.nav-tabs a[aria-current] { color: #1c1505; background: var(--gold); }
.nav-search {
  flex: 1; max-width: 380px; display: flex; align-items: center; gap: 9px; padding: 9px 12px; color: var(--muted);
  border-radius: 12px; border: 1px solid var(--line); text-align: left; font-size: 14px; transition: border-color .2s;
}
.nav-search:hover { border-color: oklch(1 0 0 / .22); }
.nav-search span { flex: 1; }
kbd { font: 500 11px var(--mono); padding: 2px 6px; border-radius: 6px; background: oklch(1 0 0 / .08); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.wallet { display: flex; align-items: baseline; gap: 6px; padding: 7px 13px; border-radius: 12px; background: oklch(.8 .1 85 / .1); border: 1px solid oklch(.8 .1 85 / .24); white-space: nowrap; }
.wallet small { color: var(--muted); font-size: 12px; }
.wallet b { font: 500 14.5px var(--mono); color: var(--gold); }
.wallet i { font-style: normal; color: var(--gold); }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font: 400 17px var(--serif); background: var(--ink-3); border: 1px solid var(--line); }

/* Hero */
main { padding-bottom: 40px; }
.hero { position: relative; margin: -68px 0 0; height: clamp(460px, 74vh, 720px); overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.slide.on { opacity: 1; visibility: visible; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; scale: 1.06; transition: scale 8s linear; }
.slide.on img { scale: 1; }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 0, transparent 34%), linear-gradient(90deg, oklch(.1 .01 165 / .78), transparent 62%); }
.slide-t { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: clamp(56px, 11vh, 110px); max-width: 640px; }
.slide-t h1 { font-size: clamp(42px, 6.6vw, 88px); margin: 12px 0 14px; text-wrap: balance; }
.slide-t p { color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); max-width: 46ch; }
.slide.on .slide-t > * { animation: rise .9s var(--ease) both; }
.slide.on .slide-t > :nth-child(2) { animation-delay: .08s; }
.slide.on .slide-t > :nth-child(3) { animation-delay: .16s; }
.slide.on .slide-t > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; translate: 0 18px; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-dots { position: absolute; z-index: 3; right: var(--gut); bottom: 56px; display: flex; gap: 6px; }
.hero-dots button { width: 26px; height: 24px; position: relative; }
.hero-dots button::after { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: oklch(1 0 0 / .3); transition: background .3s; }
.hero-dots button.on::after { background: var(--gold); }
@supports (animation-timeline: view()) {
  .slide-t { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 600px; }
  @keyframes drift { to { translate: 0 -70px; opacity: .15; } }
}

/* Salon kapıları */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: -14px var(--gut) 0; position: relative; z-index: 4; }
.door { position: relative; height: clamp(110px, 15vw, 170px); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.door img { position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; object-position: 50% 45%; mask-image: linear-gradient(90deg, transparent, #000 55%); z-index: -2; filter: saturate(.8) brightness(.62); transition: scale .7s var(--ease), filter .4s; }
.door::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, oklch(.1 .01 165 / .85), transparent 75%); }
.door span { position: absolute; left: 20px; bottom: 16px; display: grid; }
.door small { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.door b { font: 400 clamp(23px, 3vw, 36px)/1.1 var(--serif); }
.door:hover img { scale: 1.06; filter: saturate(1) brightness(.8); }
.door.on { border-color: oklch(.83 .1 85 / .55); }
.door.on b { color: var(--gold); }

/* Raflar */
.shelf { margin: 44px 0 0; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 var(--gut); margin-bottom: 14px; }
.shelf-head h2, .salon-head h2 { font-size: clamp(25px, 3vw, 36px); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(168px, 17vw, 236px); gap: 12px; overflow-x: auto;
  padding: 6px var(--gut) 14px; scroll-snap-type: x proximity; scroll-padding-left: var(--gut); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail .game { scroll-snap-align: start; }

/* Salon */
.salon { margin: 48px var(--gut) 0; container-type: inline-size; }
.salon-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.count { font: 500 13px var(--mono); color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.find { display: flex; align-items: center; gap: 9px; flex: 1 1 240px; max-width: 360px; padding: 0 13px; height: 42px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); color: var(--muted); }
.find:focus-within { border-color: var(--gold); }
.find input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); }
.find input::-webkit-search-cancel-button { display: none; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 13.5px; color: var(--muted); border: 1px solid var(--line); transition: all .2s; white-space: nowrap; }
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { color: #1c1505; background: var(--gold); border-color: var(--gold); }
.provs { display: flex; gap: 6px; overflow-x: auto; margin: 12px calc(var(--gut) * -1) 16px; padding: 2px var(--gut); scrollbar-width: none; }
.provs::-webkit-scrollbar { display: none; }
.provs .chip { flex: none; font-size: 13px; padding: 6px 12px; }
.provs .chip i { font: 500 11px var(--mono); font-style: normal; opacity: .6; margin-left: 5px; }

.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
@container (min-width: 1100px) { .grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; } }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* Oyun kartı */
.game {
  --mx: 50%; --my: 50%; position: relative; display: block; width: 100%; text-align: left; border-radius: 14px;
  background: var(--ink-3); overflow: hidden; aspect-ratio: 4 / 3; isolation: isolate;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .35s var(--ease), box-shadow .35s; content-visibility: auto; contain-intrinsic-size: auto 150px;
  animation: pop .45s var(--ease) both;
}
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }
.game img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: scale .5s var(--ease), filter .3s; }
.game .ph { position: absolute; inset: 0; z-index: -2; display: grid; place-items: center; padding: 12px; text-align: center; font: 400 17px/1.15 var(--serif); color: var(--gold); background: radial-gradient(circle at 50% 30%, var(--ink-3), var(--ink-2)); }
.game .ov {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 1px; padding: 10px 11px;
  background: linear-gradient(0deg, oklch(.1 .01 165 / .95), transparent 62%); opacity: 0; transition: opacity .25s;
}
.game .ov b { font-size: 13.5px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.game .ov small { font-size: 11.5px; color: var(--muted); }
.game .play { position: absolute; left: 50%; top: 42%; translate: -50% -50%; padding: 8px 18px; border-radius: 99px; font-weight: 800; font-size: 13px; color: #1c1505; background: var(--gold); scale: .8; opacity: 0; transition: all .25s var(--ease); }
.game::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(180px circle at var(--mx) var(--my), oklch(1 0 0 / .2), transparent 70%); transition: opacity .25s; }
.game .fav { position: absolute; top: 7px; right: 7px; z-index: 2; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: oklch(0 0 0 / .5); opacity: 0; transition: opacity .2s; }
.game .fav .ic { width: 15px; height: 15px; }
.game .fav.on { opacity: 1; color: var(--gold); }
.game .fav.on .ic { fill: currentColor; }
@media (hover: hover) {
  .game:hover { box-shadow: inset 0 0 0 1px oklch(.83 .1 85 / .6), 0 16px 34px -14px #000; }
  .game:hover img { scale: 1.07; filter: brightness(.72); }
  .game:hover :is(.ov, .fav), .game:hover::after { opacity: 1; }
  .game:hover .play { opacity: 1; scale: 1; }
}
@media (hover: none) {
  .game .ov { opacity: 1; background: linear-gradient(0deg, oklch(.1 .01 165 / .9), transparent 45%); }
  .game .ov small { display: none; }
  .game .fav.on { opacity: 1; }
}

/* Oyuncu */
dialog { color: var(--text); padding: 0; border: 0; }
.ib { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: oklch(1 0 0 / .07); }
.ib:hover { background: oklch(1 0 0 / .14); }
.spin { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; background: url(../img/logo.svg) center / contain no-repeat; animation: turn 1.4s var(--ease) infinite alternate; }
@keyframes turn { from { scale: .78; opacity: .55; } to { scale: 1.08; opacity: 1; } }

/* Palet + giriş */
dialog::backdrop { background: oklch(.08 .01 165 / .7); backdrop-filter: blur(6px); }
.palette { width: min(620px, calc(100vw - 24px)); margin: 10vh auto auto; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 80px -20px #000; }
.pal-in { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.pal-in input { flex: 1; min-width: 0; font-size: 17px; border: 0; outline: 0; background: none; color: var(--text); }
.pal-list { max-height: 54vh; overflow-y: auto; padding: 6px; }
.pal-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 7px 9px; border-radius: 10px; text-align: left; }
.pal-row:is(:hover, [aria-selected="true"]) { background: oklch(1 0 0 / .07); }
.pal-row img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; background: var(--ink-3); }
.pal-row small { display: block; color: var(--muted); font-size: 12px; }

.login-dlg { width: min(400px, calc(100vw - 24px)); margin: auto; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); overflow: visible; }
.login-dlg[open] { opacity: 1; translate: 0; transition: opacity .3s, translate .35s var(--ease); }
@starting-style { .login-dlg[open] { opacity: 0; translate: 0 14px; } }
.login-form { position: relative; display: grid; gap: 14px; padding: 28px; }
.login-form.plain { padding: 0; }
.login-form h1, .login-form h2 { font-size: 34px; }
.login-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.login-form input { height: 46px; padding: 0 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink); color: var(--text); font-size: 16px; font-weight: 500; }
.login-form input:focus { outline: 0; border-color: var(--gold); }
.login-note { padding: 10px 13px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--gold); background: oklch(.8 .1 85 / .1); border: 1px solid oklch(.8 .1 85 / .26); }
.x { position: absolute; top: 14px; right: 14px; color: var(--muted); }
.alert { padding: 10px 13px; border-radius: 10px; font-size: 14px; color: var(--red); background: oklch(.72 .16 25 / .1); border: 1px solid oklch(.72 .16 25 / .3); }
.alert.ok { color: var(--emerald); background: oklch(.72 .13 165 / .1); border-color: oklch(.72 .13 165 / .3); }

.auth { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100dvh; }
.auth-art { position: relative; overflow: hidden; }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-side { display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: var(--gut); max-width: 480px; margin: auto; width: 100%; }
.auth-side .login-form { padding: 0; }

/* Hesap */
.acct { padding: 44px var(--gut) 40px; }
.acct-top { display: flex; flex-wrap: wrap; align-items: end; gap: 28px; margin-bottom: 28px; }
.acct-top h1 { font-size: clamp(36px, 5vw, 56px); margin-top: 6px; }
.acct-top > div:first-child { flex: 1 1 260px; }
.acct-bal { display: grid; }
.acct-bal small { color: var(--muted); }
.acct-bal b { font: 500 clamp(24px, 3vw, 32px) var(--mono); color: var(--gold); }
.acct-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; align-items: start; }
.acct-side { display: grid; gap: 16px; }
.card { padding: 20px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); min-width: 0; }
.card h2 { font-size: 23px; margin-bottom: 14px; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; padding: 6px 8px; }
.tbl td { padding: 9px 8px; border-top: 1px solid var(--line); white-space: nowrap; }
.tbl .r { text-align: right; }
.num { font-family: var(--mono); font-size: 13px; }
.pos { color: var(--emerald); } .neg { color: var(--red); }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 26px var(--gut); margin-top: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: 90px; translate: -50% 20px; z-index: 90; max-width: calc(100vw - 32px); padding: 11px 18px; border-radius: 12px; background: var(--ink-3); border: 1px solid var(--line); opacity: 0; pointer-events: none; transition: all .3s var(--ease); }
.toast.on { opacity: 1; translate: -50% 0; }
.dock { display: none; }

/* Oyun sayfası */
.gp { position: relative; padding: 16px var(--gut) 40px; isolation: isolate; overflow-x: clip; }
.gp-amb { position: absolute; z-index: -1; left: 0; right: 0; top: -90px; width: 100%; height: 620px; object-fit: cover; filter: blur(90px) saturate(1.5); opacity: .3; pointer-events: none; mask-image: linear-gradient(#000 45%, transparent); }
.gp-top { display: flex; align-items: center; gap: 16px; max-width: 1280px; margin: 0 auto 12px; min-width: 0; }
.gp-top h1 { font-size: clamp(21px, 2.2vw, 28px); margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-back { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 8px 14px 8px 9px; border-radius: 99px; font-size: 13.5px; font-weight: 700; border: 1px solid var(--line); background: oklch(1 0 0 / .05); backdrop-filter: blur(10px); transition: background .2s, translate .2s var(--ease); }
.gp-back:hover { background: oklch(1 0 0 / .1); translate: -2px 0; }
.gp-wrap { --stage-w: min(100%, calc((100dvh - 214px) * 16 / 9)); width: var(--stage-w); max-width: 1280px; min-width: min(100%, 640px); margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); box-shadow: 0 30px 70px -30px #000; transition: width .35s var(--ease), max-width .35s var(--ease); }
.gp-wrap.wide { --stage-w: 100%; max-width: none; }
.gp-stage { position: relative; aspect-ratio: 16 / 9; background: #000; }
.gp-wrap.wide .gp-stage { aspect-ratio: auto; height: calc(100dvh - 190px); min-height: 360px; }
.gp-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gp-stage:fullscreen { aspect-ratio: auto; }
.gp-poster { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; overflow: hidden; background: #000; }
.gp-poster[hidden] { display: none; }
.gp-poster > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(22px) brightness(.4); scale: 1.1; }
.gp-msg { position: relative; display: grid; justify-items: center; gap: 12px; padding: 20px; text-align: center; }
.gp-msg b { font: 400 clamp(22px, 3vw, 32px) var(--serif); }
.gp-msg span { color: var(--muted); }
.gp-msg .spin { position: static; margin: 0; }
.gp-msg .spin[hidden] { display: none; }
.gp-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 8px 12px; border-top: 1px solid var(--line); }
.gp-tools { display: flex; gap: 6px; }
.gp-tools .ib[aria-pressed="true"] { color: var(--gold); background: oklch(.8 .1 85 / .14); }
.gp-fav.on .ic { fill: currentColor; }
.gp-fav.on { color: var(--gold); }
.gp-mark .brand-mark { width: 20px; height: 20px; }
.gp-mark .brand-t { font-size: 16px; }
.gp-bal { justify-self: end; font: 500 14px var(--mono); color: var(--gold); white-space: nowrap; }
.gp-bal small { margin-right: 6px; color: var(--muted); font-family: var(--sans); }
.ib { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: oklch(1 0 0 / .07); transition: background .2s; }
.ib:hover { background: oklch(1 0 0 / .14); }

.gp-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; max-width: 1280px; margin: 16px auto 0; align-items: start; }
.gp-info, .gp-side { padding: 18px; border-radius: var(--r); background: oklch(.2 .013 165 / .55); backdrop-filter: blur(12px); border: 1px solid var(--line); min-width: 0; }
.gp-head { display: flex; align-items: center; gap: 12px; }
.gp-head > div { display: grid; min-width: 0; }
.gp-head b { font: 400 22px var(--serif); }
.gp-head small { color: var(--muted); }
.gp-av { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; font: 400 22px var(--serif); color: var(--gold); background: oklch(.8 .1 85 / .12); border: 1px solid oklch(.8 .1 85 / .26); }
.gp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 16px; }
.gp-stats div { display: grid; padding: 11px 13px; border-radius: 12px; background: oklch(0 0 0 / .22); }
.gp-stats small { color: var(--muted); font-size: 12px; }
.gp-stats b { font: 500 17px var(--mono); }
.gp-info h2, .gp-side h2 { font-size: 22px; margin: 18px 0 8px; }
.gp-side h2 { margin-top: 0; }
.gp-row { display: flex; align-items: center; gap: 11px; padding: 6px; margin: 0 -6px; border-radius: 11px; transition: background .2s; }
.gp-row:hover { background: oklch(1 0 0 / .06); }
.gp-row img { width: 84px; height: 60px; flex: none; object-fit: cover; border-radius: 8px; background: var(--ink-3); }
.gp-row span { display: grid; min-width: 0; }
.gp-row b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-row small { color: var(--muted); font-size: 12px; }
.gp-shelf { max-width: 1280px; margin-left: auto; margin-right: auto; }
.gp-shelf .shelf-head { padding: 0; }
.gp-shelf .rail { padding-left: 0; padding-right: 0; }

@media (max-width: 1000px) { .gp-cols { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  body:has(.gp) { padding-bottom: 0; }
  body:has(.gp) .dock { display: none; }
  .gp { padding: 10px 0 24px; }
  .gp-top { padding: 0 12px; margin-bottom: 8px; }
  .gp-wrap, .gp-wrap.wide { --stage-w: 100%; min-width: 0; border-radius: 0; border-width: 1px 0; }
  .gp-stage, .gp-wrap.wide .gp-stage { aspect-ratio: auto; height: calc(100dvh - 176px); min-height: 400px; }
  .gp-wide, .gp-mark { display: none; }
  .gp-bar { grid-template-columns: 1fr auto; }
  .gp-cols, .gp-shelf { padding: 0 12px; }
}

@media (max-width: 1000px) {
  .nav-search { display: none; }
  .nav { gap: 10px; }
  .nav-end { margin-left: auto; }
  .acct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .nav { margin: 8px 8px 0; top: 8px; padding: 7px 8px 7px 12px; }
  .nav-tabs, .btn.ghost span, .nav-end .avatar { display: none; }
  .nav-end .btn.ghost { padding: 9px; }
  .brand-t { font-size: 18px; }
  .hero { height: 520px; margin-top: -60px; }
  .slide img { object-position: 78% 50%; }
  .slide::after { background: linear-gradient(0deg, var(--ink) 8%, oklch(.1 .01 165 / .55) 55%, transparent); }
  .hero-dots { bottom: 26px; }
  .doors { gap: 10px; }
  .door span { left: 13px; bottom: 11px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .find { max-width: none; flex-basis: 100%; }
  .dock {
    position: fixed; z-index: 60; inset: auto 0 0; display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: oklch(.17 .012 165 / .85); backdrop-filter: blur(18px); border-top: 1px solid var(--line);
    view-transition-name: dock;
  }
  .dock > * { display: grid; justify-items: center; gap: 2px; padding: 6px 0; font-size: 11px; font-weight: 700; color: var(--muted); }
  [data-page="slot"] .dock a:nth-child(1), [data-page="live"] .dock a:nth-child(2), [data-page="account"] .dock a:last-child { color: var(--gold); }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .toast { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}
