/* CATWONDERS LAIR — the stylesheet. One file, no framework.
   The look: a night-ink stage, cream lettering, the ginger orange of the studio's logo, a teal rim light.
   Each game brings its own colour as --accent. */

@font-face { font-family: 'Lilita One'; src: url('../fonts/lilita-one.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-var.woff2') format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --ink: #120C1C; --ink-2: #1B1229; --ink-3: #271A3B; --ink-0: #0B0712;
  --cream: #FFF3DF; --muted: #C3B6D2; --line: rgba(255, 243, 223, .13);
  --orange: #FF7A1A; --orange-d: #B94E00; --teal: #19E3D2; --pink: #FF4D7E;
  --accent: var(--orange);
  --cw-z: var(--orange); --cw-ink: var(--ink);
  --display: 'Lilita One', 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
  --text: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1240px; --r: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--text); font-size: 17px; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 44px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--orange); color: var(--ink); padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }
.paw { width: 1em; height: 1em; display: inline-block; vertical-align: -.12em; }

/* ── type ─────────────────────────────────────────────────────────────────────────────────────────────── */
.kicker { display: inline-flex; align-items: center; gap: .55em; font-weight: 700; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.kicker .paw { color: var(--accent); font-size: 1.15em; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.6vw, 3.7rem); line-height: 1.04; letter-spacing: .005em; text-wrap: balance; margin-bottom: 22px; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 62ch; margin-bottom: 14px; }
.sec { padding: clamp(70px, 9vw, 130px) 0; position: relative; }

/* ── buttons, pills, chips ────────────────────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1.15; text-align: center; background: none; transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease; }
.btn--main { background: var(--orange); color: #1A0D02; box-shadow: 0 5px 0 var(--orange-d); }
.btn--main:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--orange-d); }
.btn--ghost { border-color: rgba(255, 243, 223, .34); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(255, 243, 223, .08); }
.btn--play, .btn--live { background: var(--teal); color: #04221F; box-shadow: 0 5px 0 #0A8E83; }
.btn--play:hover, .btn--live:hover { transform: translateY(2px); box-shadow: 0 3px 0 #0A8E83; }
.btn--soon { border: 2px dashed rgba(255, 243, 223, .34); color: var(--cream); background: rgba(255, 243, 223, .04); }
span.btn--soon { cursor: default; }
a.btn--soon:hover { border-color: var(--cream); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .78rem; }
.btn--lg { min-height: 60px; padding: 16px 32px; font-size: 1.05rem; }
.btn__arrow { font-size: 1.1em; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 122, 26, .7); animation: pulse 1.9s infinite; flex: none; }
.btn--live .dot, .pill--live .dot { background: #063F3A; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 26, .65); } 70% { box-shadow: 0 0 0 10px rgba(255, 122, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); } }
.play { width: 0; height: 0; border-left: .78em solid currentColor; border-top: .5em solid transparent; border-bottom: .5em solid transparent; display: inline-block; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .6em; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; border: 2px dashed rgba(255, 243, 223, .34); }
.pill--live { background: var(--teal); color: #04221F; border: 2px solid var(--teal); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.chips li { padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--cream); background: rgba(255, 243, 223, .04); }
.chips .chips__hot { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* ── the header ───────────────────────────────────────────────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .25s ease, box-shadow .25s ease; }
.nav--solid { background: rgba(18, 12, 28, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.nav__logo { display: block; width: 240px; flex: none; color: var(--cream); }
.cw-logo { display: block; width: 100%; height: auto; }
.nav__logo:hover .cw-logo { animation: wag .5s ease; }
@keyframes wag { 0%, 100% { translate: 0 0; } 30% { translate: 0 -5px; } 60% { translate: 0 2px; } }
.nav__menu { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: .98rem; }
.nav__menu > a:not(.pill) { position: relative; padding: 6px 0; }
.nav__menu > a:not(.pill)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; border-radius: 3px; background: var(--orange); transition: right .2s ease; }
.nav__menu > a:not(.pill):hover::after { right: 0; }
.nav__toggle { display: none; width: 46px; height: 46px; border: 0; background: none; padding: 11px 9px; }
.nav__toggle span { display: block; height: 3px; border-radius: 3px; background: var(--cream); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }
.menu-open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── the home hero ────────────────────────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 128px 0 0; overflow: clip; }
.hero__glow { position: absolute; inset: -20% -10% auto -10%; height: 900px; pointer-events: none;
  background: radial-gradient(38% 46% at 22% 30%, rgba(25, 227, 210, .20), transparent 70%), radial-gradient(40% 50% at 80% 24%, rgba(255, 122, 26, .24), transparent 70%), radial-gradient(30% 34% at 52% 6%, rgba(255, 77, 126, .16), transparent 70%); }
.hero__top { position: relative; text-align: center; }
.hero__h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.3rem, 5.4vw, 4.8rem); line-height: 1; letter-spacing: .005em; margin: 6px auto 22px; text-wrap: balance; text-shadow: 0 .07em 0 rgba(0, 0, 0, .4); }
.hero__h1 span { display: block; }
.hero__h1 .hl { color: var(--orange); }
.hero__sub { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.28rem); max-width: 58ch; margin: 0 auto 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* the four slanted panels of key art: one grows under the pointer */
.panels { position: relative; display: flex; gap: 12px; height: clamp(340px, 58vh, 620px); margin: 50px 0 0; padding: 0 max(3.4vw, 50px); transform: skewX(-8deg); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 20px; background: var(--ink-2); border: 3px solid rgba(255, 243, 223, .1); transition: flex-grow .55s cubic-bezier(.2, .8, .2, 1), border-color .3s ease, box-shadow .3s ease; }
.panel__img { position: absolute; top: 0; left: 50%; height: 100%; max-width: none; transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .45s ease; }
.panel__img--tall { width: 100%; object-fit: cover; object-position: 50% 12%; transform-origin: 50% 30%; transform: translateX(-50%) skewX(8deg) scale(1.3); }
.panel__img--wide { width: auto; opacity: 0; transform: translateX(-50%) skewX(8deg) scale(1.16); }
/* a resting panel shows the character and a name bar; the bar covers the poster's own logo, which the slant would cut */
.panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 7, 18, 1) 0%, rgba(11, 7, 18, .97) 17%, rgba(11, 7, 18, 0) 40%); pointer-events: none; transition: opacity .4s ease; }
.panel__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 26px 20px 34px; transform: skewX(8deg); display: flex; flex-direction: column; gap: 2px; transition: opacity .3s ease; }
.panel__cap b { font-family: var(--display); font-weight: 400; font-size: clamp(1.1rem, 1.9vw, 1.7rem); line-height: 1.1; }
.panel__cap i { font-style: normal; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) and (min-width: 861px) {
  .panels:hover .panel { flex-grow: .7; }
  .panels .panel:hover, .panels .panel:focus-visible { flex-grow: 3.3; border-color: var(--accent); box-shadow: 0 0 60px -8px var(--accent); }
  .panel:hover .panel__img--wide, .panel:focus-visible .panel__img--wide { opacity: 1; transform: translateX(-50%) skewX(8deg) scale(1.1); }
  /* the grown panel shows the whole wide poster, logo included, so its bar and label step aside */
  .panel:hover::after, .panel:focus-visible::after, .panel:hover .panel__cap, .panel:focus-visible .panel__cap { opacity: 0; }
}

/* ── the ticker ───────────────────────────────────────────────────────────────────────────────────────── */
.ticker { position: relative; height: 62px; margin: 56px 0 0; background: var(--orange); color: #1A0D02; overflow: hidden; transform: rotate(-1.1deg) scale(1.03); box-shadow: 0 10px 40px -10px rgba(255, 122, 26, .5); }
.ticker__run { position: absolute; top: 0; left: 0; height: 100%; display: flex; align-items: center; gap: 26px; white-space: nowrap; width: max-content; padding-left: 26px; font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; animation: ticker 46s linear infinite; }
.ticker__run .paw { font-size: 1.1em; opacity: .75; flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── the games ────────────────────────────────────────────────────────────────────────────────────────── */
.game { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 86px); align-items: center; margin-top: clamp(60px, 9vw, 120px); }
.game--flip .game__art { order: 2; }
.game__art { position: relative; display: block; }
.game__poster { border-radius: var(--r); border: 3px solid rgba(255, 243, 223, .12); transform: rotate(-1.6deg); box-shadow: 0 40px 90px -40px var(--accent), 0 20px 50px -20px rgba(0, 0, 0, .8); transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-color .3s ease; width: 100%; }
.game--flip .game__poster { transform: rotate(1.6deg); }
.game__art:hover .game__poster { transform: rotate(0) scale(1.015); border-color: var(--accent); }
.phone { display: block; background: #07050B; padding: 3.4%; border-radius: 13% / 6.4%; box-shadow: 0 0 0 2px rgba(255, 243, 223, .16), 0 30px 60px -20px rgba(0, 0, 0, .9); }
.phone img { border-radius: 10% / 4.8%; width: 100%; }
.game__phone { position: absolute; width: 23%; right: -4%; bottom: -13%; transform: rotate(7deg); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.game--flip .game__phone { right: auto; left: -4%; transform: rotate(-7deg); }
.game__art:hover .game__phone { transform: rotate(3deg) translateY(-8px); }
.game--flip .game__art:hover .game__phone { transform: rotate(-3deg) translateY(-8px); }
.game__name { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.02; margin-bottom: 14px; }
.game__name a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 5px no-repeat; transition: background-size .3s ease; }
.game__name a:hover { background-size: 100% 5px; }
.game__name small { display: block; font-size: .42em; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-top: 10px; font-family: var(--text); font-weight: 700; }
.game__line { color: var(--muted); font-size: 1.14rem; max-width: 46ch; }

/* ── the cast ─────────────────────────────────────────────────────────────────────────────────────────── */
.sec--cast { background: linear-gradient(180deg, transparent, var(--ink-2) 18%, var(--ink-2) 82%, transparent); }
.cast { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 34px 22px; margin-top: 46px; }
.cast--big { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.cat { text-align: center; }
.cat a { display: block; }
.cat__pic { display: block; aspect-ratio: 1; border-radius: 50%; position: relative; margin: 0 auto 14px; width: min(100%, 190px); border: 3px solid var(--accent); background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--accent) 46%, var(--ink-3)), var(--ink-3) 72%); overflow: hidden; box-shadow: 0 16px 40px -18px var(--accent); }
/* the picture is seated by three figures the sync tool measures from the art (size, left, top, as fractions of the frame), so a
   drawing that the studio cut straight down a side fills the circle and its cut falls outside it; without them it is shown whole */
.cat__pic img { position: absolute; left: calc(var(--x, -.02) * 100%); top: calc(var(--y, -.02) * 100%); width: calc(var(--s, 1.04) * 100%); height: calc(var(--s, 1.04) * 100%); max-width: none; object-fit: contain; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.cat:hover .cat__pic img { transform: scale(1.08) rotate(-4deg); }
.cat b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.22rem; line-height: 1.15; }
.cat__role { display: block; color: var(--muted); font-size: .92rem; line-height: 1.35; margin-top: 4px; }
.cat i { display: block; font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-top: 8px; }

/* ── the studio ───────────────────────────────────────────────────────────────────────────────────────── */
.studio { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.facts { display: grid; gap: 14px; margin-top: 30px; }
.facts li { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; align-items: center; padding: 16px 20px; border-radius: 18px; background: var(--ink-2); border: 1.5px solid var(--line); }
.facts__n { grid-row: span 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #1A0D02; font-size: 1.4rem; }
.facts b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; line-height: 1.2; }
.facts p { color: var(--muted); font-size: .98rem; }
.studio__wall { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 20px 10px; }
.studio__wall > span { transform: rotate(-3deg); }
.studio__wall > span:nth-child(2n) { transform: rotate(3deg) translateY(34px); }
.studio__wall > span:nth-child(3) { transform: rotate(2deg); }
.studio__wall > span:nth-child(4) { transform: rotate(-2.5deg) translateY(34px); }
.studio__wall img { border-radius: 18px; border: 3px solid rgba(255, 243, 223, .12); box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .9); width: 100%; }

/* ── where to play ────────────────────────────────────────────────────────────────────────────────────── */
.playbox { position: relative; border-radius: 34px; padding: clamp(28px, 5vw, 64px); background: linear-gradient(135deg, var(--ink-3), var(--ink-2)); border: 2px solid var(--line); overflow: hidden; }
.playbox::before { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), transparent 68%); pointer-events: none; }
.playbox > * { position: relative; }
.playbox--game { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.playbox--game .lead { margin-bottom: 0; }
.playlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 12px; margin-top: 28px; }
.playlist .btn { white-space: nowrap; flex: none; }
.playlist li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-radius: 18px; background: rgba(11, 7, 18, .5); border: 1.5px solid var(--line); }
.playlist__name { font-family: var(--display); font-size: 1.2rem; line-height: 1.15; }
.playlist__name:hover { color: var(--orange); }

/* ── a game page ──────────────────────────────────────────────────────────────────────────────────────── */
.ghero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: center; padding: 130px 0 70px; overflow: clip; }
.ghero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ghero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(18, 12, 28, .96) 0%, rgba(18, 12, 28, .86) 38%, rgba(18, 12, 28, .34) 100%), linear-gradient(to top, var(--ink) 0%, rgba(18, 12, 28, 0) 34%); }
.ghero__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.crumb { display: flex; gap: 10px; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.crumb a { color: var(--teal); }
.crumb a:hover { text-decoration: underline; }
.ghero__h1 { margin-bottom: 8px; }
.ghero__h1 img { width: min(520px, 100%); filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .7)); }
.ghero__tag { font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.7rem); color: var(--accent); letter-spacing: .04em; text-transform: uppercase; margin: 12px 0 2px; }
.ghero__desc { font-size: clamp(1.02rem, 1.3vw, 1.2rem); max-width: 58ch; margin-top: 16px; }
.ghero__phone { justify-self: center; width: min(300px, 80%); transform: rotate(5deg); }
.ghero__phone .phone { box-shadow: 0 0 0 2px rgba(255, 243, 223, .18), 0 50px 100px -30px var(--accent), 0 30px 60px -20px #000; }

.world { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(26px, 6vw, 90px); align-items: center; }
.world__lead { font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.45; max-width: 44ch; margin-bottom: 20px; }
.world__art { justify-self: center; position: relative; }
.world__art::before { content: ''; position: absolute; inset: 8% -8% 0; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 66%); filter: blur(10px); }
.world__fig { position: relative; width: min(330px, 70vw); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)); }
.world__poster { position: relative; width: min(340px, 74vw); border-radius: var(--r); border: 3px solid rgba(255, 243, 223, .14); transform: rotate(3deg); box-shadow: 0 30px 60px -24px #000; }

.symgroups { display: flex; flex-wrap: wrap; gap: 30px 44px; margin-top: 34px; }
.symgroup { flex: 0 1 auto; min-width: 0; }
.symgroup h3 { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: flex; align-items: center; gap: 14px; }
.symgroup h3::after { content: ''; flex: 1; height: 1.5px; background: var(--line); }
.syms { display: flex; flex-wrap: wrap; gap: 14px; }
.sym { width: 136px; text-align: center; padding: 14px 10px 14px; border-radius: 20px; background: var(--ink-2); border: 1.5px solid var(--line); transition: transform .25s ease, border-color .25s ease; }
.sym:hover { transform: translateY(-5px); border-color: var(--accent); }
.sym__art { position: relative; display: block; aspect-ratio: 1; margin-bottom: 10px; }
.sym__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sym__art--plate .sym__plate { opacity: .95; }
/* a drawing that is cut (a bust, or sliced down a side by the studio) sits in a framed window, seated like a cast portrait */
.sym__art--window { overflow: hidden; border-radius: 16px; background: radial-gradient(circle at 50% 36%, color-mix(in srgb, var(--accent) 34%, var(--ink-3)), var(--ink-3) 78%); }
.sym__art--window img:not(.sym__plate) { inset: auto; left: calc(var(--x, 0) * 100%); top: calc(var(--y, 0) * 100%); width: calc(var(--s, 1) * 100%); height: calc(var(--s, 1) * 100%); max-width: none; }
.sym:hover .sym__art--window img:not(.sym__plate) { transform: scale(1.06); }
.sym b { display: block; font-weight: 600; font-size: .88rem; line-height: 1.25; }

.screens { display: flex; align-items: flex-end; justify-content: center; gap: clamp(14px, 3vw, 40px); margin-top: 40px; }
.screen { margin: 0; text-align: center; }
.screen figcaption { margin-top: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.screen--desk { flex: 0 1 58%; }
.screen--tab { flex: 0 1 21%; }
.screen--phone { flex: 0 1 12.5%; }
.desk { display: block; background: #07050B; padding: 2%; border-radius: 16px; box-shadow: 0 0 0 2px rgba(255, 243, 223, .16), 0 40px 80px -30px var(--accent), 0 30px 60px -24px #000; }
.desk img { border-radius: 8px; width: 100%; }
.tablet { display: block; background: #07050B; padding: 4%; border-radius: 7% / 5.2%; box-shadow: 0 0 0 2px rgba(255, 243, 223, .16), 0 30px 60px -24px #000; }
.tablet img { border-radius: 4% / 3%; width: 100%; }

.feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 34px; }
.feat { position: relative; padding: 24px 24px 22px; border-radius: var(--r); background: var(--ink-2); border: 1.5px solid var(--line); overflow: hidden; }
.feat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--accent); }
.feat__n { position: absolute; right: 18px; top: 14px; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--accent); opacity: .16; letter-spacing: .02em; }
.feat__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); margin-bottom: 12px; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.feat:hover .feat__ico { transform: rotate(-8deg) scale(1.1); }
.ficon { width: 28px; height: 28px; }
.feat b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.32rem; line-height: 1.15; margin: 4px 0 8px; }
.feat p { color: var(--muted); font-size: .98rem; }

.vidcard { position: relative; display: block; width: min(1000px, 100%); margin: 36px auto 0; padding: 0; border: 3px solid rgba(255, 243, 223, .14); border-radius: var(--r); overflow: hidden; background: #000; box-shadow: 0 40px 90px -40px var(--accent); }
.vidcard img { width: 100%; transition: transform .6s ease, filter .3s ease; filter: brightness(.82); }
.vidcard:hover img { transform: scale(1.03); filter: none; }
.vidcard__play { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: var(--orange); color: #1A0D02; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 6px 0 var(--orange-d), 0 0 0 12px rgba(255, 122, 26, .22); padding-left: 6px; transition: transform .2s ease; }
.vidcard:hover .vidcard__play { transform: scale(1.08); }

.more { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; margin-top: 34px; max-width: 980px; }
.more a { display: block; }
.more img { width: 100%; border-radius: 18px; border: 3px solid rgba(255, 243, 223, .12); transition: border-color .3s ease, box-shadow .3s ease; }
.more .eared { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.more a:hover .eared { transform: translateY(-8px) rotate(-1.5deg); }
.more a:hover img { border-color: var(--accent); box-shadow: 0 30px 60px -26px var(--accent); }
.more b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; margin-top: 12px; }

.lost { padding-top: 170px; text-align: center; }
.lost .lead { margin-inline: auto; }
.lost__n { font-family: var(--display); font-size: clamp(5rem, 18vw, 12rem); line-height: .9; color: var(--orange); text-shadow: 0 .06em 0 rgba(0, 0, 0, .4); }
.lost .more { margin-inline: auto; text-align: left; }

/* ── the footer ───────────────────────────────────────────────────────────────────────────────────────── */
.foot { background: var(--ink-0); border-top: 1.5px solid var(--line); padding: 64px 0 26px; margin-top: 40px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.foot__logo { display: block; width: 264px; color: var(--cream); }
.foot__age { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: .95rem; max-width: 46ch; margin-top: 22px; }
.age { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 2.5px solid var(--cream); display: grid; place-items: center; font-weight: 800; font-size: .92rem; color: var(--cream); }
.foot__nav { display: grid; gap: 9px; align-content: start; font-size: .98rem; color: var(--muted); }
.foot__nav b { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.foot__nav a:hover { color: var(--cream); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 46px; padding-top: 20px; border-top: 1.5px solid var(--line); color: var(--muted); font-size: .86rem; }
.foot__base a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

/* ── the video popup ──────────────────────────────────────────────────────────────────────────────────── */
.vid { border: 0; padding: 0; background: transparent; width: min(1120px, 94vw); max-width: none; max-height: none; overflow: visible; color: var(--cream); }
.vid::backdrop { background: rgba(7, 4, 12, .9); backdrop-filter: blur(6px); }
.vid__stage { border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; border: 3px solid rgba(255, 243, 223, .16); }
.vid__stage video { width: 100%; height: 100%; display: block; }
.vid__cap { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 14px; }
.vid__close { position: absolute; right: -6px; top: -54px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 243, 223, .4); background: var(--ink); font-size: 1.6rem; line-height: 1; }
.vid__close:hover { background: var(--orange); color: #1A0D02; border-color: var(--orange); }

/* ══ THE CAT DETAILS ══════════════════════════════════════════════════════════════════════════════════════
   Paw prints, ears, claw marks, eyes in the dark, a paw meter. All of it is decoration: none carries a fact
   that is not also written in words. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.btn .paw { font-size: 1.15em; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.btn:hover .paw { transform: rotate(-18deg) scale(1.15); }

/* a faint field of paw prints behind some sections */
.sec--cast, .foot, .sec--feats { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='%23FFF3DF' fill-opacity='.035'%3E%3Cg transform='translate(34 30) rotate(-24)'%3E%3Cpath d='M12 11.600c-3.300 0-6 2.700-6 5.400 0 1.900 1.400 3 3.200 3 1.100 0 1.800-.5 2.800-.5s1.700.5 2.800.5c1.800 0 3.200-1.100 3.200-3 0-2.700-2.700-5.400-6-5.400z'/%3E%3Cellipse cx='4.500' cy='10.300' rx='2.100' ry='2.800'/%3E%3Cellipse cx='9' cy='5.900' rx='2.200' ry='3'/%3E%3Cellipse cx='15' cy='5.900' rx='2.200' ry='3'/%3E%3Cellipse cx='19.500' cy='10.300' rx='2.100' ry='2.800'/%3E%3C/g%3E%3Cg transform='translate(140 120) rotate(18) scale(1.5)'%3E%3Cpath d='M12 11.600c-3.300 0-6 2.700-6 5.400 0 1.900 1.400 3 3.200 3 1.100 0 1.800-.5 2.800-.5s1.700.5 2.800.5c1.800 0 3.200-1.100 3.200-3 0-2.700-2.700-5.400-6-5.400z'/%3E%3Cellipse cx='4.500' cy='10.300' rx='2.100' ry='2.800'/%3E%3Cellipse cx='9' cy='5.900' rx='2.200' ry='3'/%3E%3Cellipse cx='15' cy='5.900' rx='2.200' ry='3'/%3E%3Cellipse cx='19.500' cy='10.300' rx='2.100' ry='2.800'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.sec--cast { background-image: linear-gradient(180deg, var(--ink), rgba(27, 18, 41, .6) 18%, rgba(27, 18, 41, .6) 82%, var(--ink)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='%23FFF3DF' fill-opacity='.05'%3E%3Cg transform='translate(34 30) rotate(-24)'%3E%3Cpath d='M12 11.600c-3.300 0-6 2.700-6 5.400 0 1.900 1.400 3 3.200 3 1.100 0 1.800-.5 2.800-.5s1.700.5 2.800.5c1.800 0 3.200-1.100 3.200-3 0-2.700-2.700-5.400-6-5.400z'/%3E%3Cellipse cx='4.500' cy='10.300' rx='2.100' ry='2.800'/%3E%3Cellipse cx='9' cy='5.900' rx='2.200' ry='3'/%3E%3Cellipse cx='15' cy='5.900' rx='2.200' ry='3'/%3E%3Cellipse cx='19.500' cy='10.300' rx='2.100' ry='2.800'/%3E%3C/g%3E%3Cg transform='translate(140 120) rotate(18) scale(1.5)'%3E%3Cpath d='M12 11.600c-3.300 0-6 2.700-6 5.400 0 1.900 1.400 3 3.200 3 1.100 0 1.800-.5 2.800-.5s1.700.5 2.800.5c1.800 0 3.200-1.100 3.200-3 0-2.700-2.700-5.400-6-5.400z'/%3E%3Cellipse cx='4.500' cy='10.300' rx='2.100' ry='2.800'/%3E%3Cellipse cx='9' cy='5.900' rx='2.200' ry='3'/%3E%3Cellipse cx='15' cy='5.900' rx='2.200' ry='3'/%3E%3Cellipse cx='19.500' cy='10.300' rx='2.100' ry='2.800'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }

/* three claw marks after a heading */
.h2--claw::after { content: ''; display: inline-block; width: .82em; height: .62em; margin-left: .32em; vertical-align: .02em; background: var(--accent); opacity: .9; transform: rotate(8deg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Cpath d='M10 6c12 18 20 40 24 68M48 4c9 20 15 44 17 72M88 8c7 18 11 40 11 66' fill='none' stroke='%23000' stroke-width='11' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Cpath d='M10 6c12 18 20 40 24 68M48 4c9 20 15 44 17 72M88 8c7 18 11 40 11 66' fill='none' stroke='%23000' stroke-width='11' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero__h1 .hl { position: relative; }
.hero__claw { position: absolute; right: -.62em; top: -.3em; width: .7em; height: auto; color: var(--pink); transform: rotate(14deg); opacity: .9; overflow: visible; }

/* eyes in the dark of the hero: they blink, and the pupils follow the pointer */
.hero__dark { position: absolute; inset: 0; pointer-events: none; }
.eyes { position: absolute; display: flex; gap: 16px; transform: scale(var(--s, 1)); transform-origin: left top; animation: eyes-in 1.4s ease both; animation-delay: var(--d, 0s); }
.eye { position: relative; width: 36px; height: 24px; border-radius: 50% / 62%; background: radial-gradient(circle at 50% 45%, #fff 0, var(--c) 34%, color-mix(in srgb, var(--c) 60%, #000) 100%); box-shadow: 0 0 22px 2px color-mix(in srgb, var(--c) 70%, transparent); transform: rotate(9deg); animation: blink 6.5s infinite; animation-delay: var(--d, 0s); }
.eye + .eye { transform: rotate(-9deg); }
.eye b { position: absolute; left: 50%; top: 50%; width: 7px; height: 20px; margin: -10px 0 0 -3.5px; border-radius: 50%; background: #0B0712; transform: translate(calc(var(--px, 0) * 9px), calc(var(--py, 0) * 2.5px)); transition: transform .12s ease-out; }
@keyframes blink { 0%, 91%, 100% { scale: 1 1; } 94.5% { scale: 1 .06; } }
@keyframes eyes-in { from { opacity: 0; } to { opacity: 1; } }

/* a trail of paw prints between two sections: it walks in when it comes on screen */
.trail { display: flex; justify-content: center; gap: clamp(14px, 3.2vw, 44px); padding: 6px 0; color: var(--orange); }
.trail i { font-size: clamp(1.1rem, 2vw, 1.7rem); transform: translateY(calc((var(--i) - 4) * (var(--i) - 4) * -1.1px + 10px)) rotate(calc(78deg + (var(--i) - 4) * 5deg)); opacity: .5; }
.trail i:nth-child(2n) { margin-top: 26px; color: var(--teal); }
.trail--flip { transform: scaleX(-1); }
.js-reveal .trail.reveal { opacity: 1; transform: none; }
.js-reveal .trail--flip.reveal { transform: scaleX(-1); }
.js-reveal .trail i { opacity: 0; transition: opacity .3s ease; transition-delay: calc(var(--i) * .11s); }
.js-reveal .trail.is-in i { opacity: .5; }

/* the volatility, drawn as paws beside its word */
.vol { display: inline-flex; align-items: center; gap: 5px; margin: 0 0 24px; font-size: 1.05rem; }
.vol i { color: rgba(255, 243, 223, .18); display: inline-flex; }
.vol i.on { color: var(--accent); }
.vol b { margin-left: 8px; font-size: .86rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.game__txt .chips, .ghero .chips { margin-bottom: 16px; }

/* the reel grid, cell by cell */
.gridicon { display: inline-grid; grid-template-columns: repeat(var(--c), 5px); grid-template-rows: repeat(var(--r), 5px); gap: 2px; vertical-align: middle; margin-right: 8px; }
.gridicon i { background: var(--accent); border-radius: 1.5px; opacity: .85; }
.chips__grid { display: inline-flex; align-items: center; }

/* cat ears on a framed picture: the tips show, the ears stand up under the pointer */
.eared { position: relative; display: block; isolation: isolate; }
.eared::before, .eared::after { content: ''; position: absolute; top: -17px; width: 15%; max-width: 46px; aspect-ratio: 1 / .9; background: var(--accent); clip-path: polygon(50% 0, 100% 100%, 0 100%); z-index: -1; transform: translateY(9px); transition: transform .35s cubic-bezier(.3, 1.7, .5, 1); }
.eared::before { left: 9%; rotate: -14deg; }
.eared::after { right: 9%; rotate: 14deg; }
a:hover .eared::before, a:hover .eared::after, .eared:hover::before, .eared:hover::after, a.eared:focus-visible::before, a.eared:focus-visible::after { transform: translateY(-2px); }

/* a large row: its number, and three of the game's own symbols around the art */
.game__num { position: absolute; left: -18px; top: -44px; z-index: 0; font-family: var(--display); font-size: clamp(4rem, 9vw, 8.5rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--accent) 55%, transparent); opacity: .55; pointer-events: none; }
.game--flip .game__num { left: auto; right: -18px; }
.game__poster { position: relative; z-index: 1; }
.game__phone { z-index: 3; }
/* THE SYMBOL FRAME (owner 2026-11-25): a floating symbol is never a bare cut-out - it sits in a square tile in the game's colour,
   on the studio's own plate when the symbol has one (cw_sym_tile() in cw_boot.inc.php). */
.symtile { display: block; aspect-ratio: 1; height: auto; overflow: hidden; border-radius: 22%;
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--accent) 52%, var(--ink-3)), var(--ink-2) 86%);
  border: 3px solid color-mix(in srgb, var(--accent) 62%, #FFE2B0);
  box-shadow: 0 12px 20px rgba(0, 0, 0, .62), inset 0 0 0 2px rgba(11, 7, 18, .55), inset 0 4px 0 rgba(255, 255, 255, .16), inset 0 -10px 16px rgba(0, 0, 0, .34); }
.symtile img { position: absolute; display: block; max-width: none; object-fit: contain; }
.symtile__plate { inset: 0; width: 100%; height: 100%; opacity: .92; }
.symtile__art { inset: 7%; width: 86%; height: 86%; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .55)); }
.game__float { position: absolute; z-index: 2; width: 14%; animation: bob 5s ease-in-out infinite; }
.game__float--0 { left: -6%; bottom: 6%; animation-delay: -1s; }
.game__float--1 { right: 24%; top: -9%; width: 11.5%; animation-delay: -2.4s; }
.game__float--2 { left: 30%; bottom: -10%; width: 10.5%; animation-delay: -3.6s; }
.game--flip .game__float--0 { left: auto; right: -6%; }
.game--flip .game__float--1 { right: auto; left: 24%; }
.game--flip .game__float--2 { left: auto; right: 30%; }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -4deg; } 50% { translate: 0 -12px; rotate: 5deg; } }

/* the grid of all games, for a long list */
.allgames { margin-top: clamp(70px, 9vw, 120px); }
.allgames__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; }
.allgames__count { display: inline-grid; place-items: center; min-width: 1.9em; height: 1.9em; padding: 0 .5em; margin-left: .3em; border-radius: 999px; background: var(--orange); color: #1A0D02; font-size: .55em; vertical-align: .2em; }
.search input { width: min(300px, 78vw); min-height: 46px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--line); background: rgba(255, 243, 223, .05); color: var(--cream); font: inherit; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--teal); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter { display: inline-flex; align-items: center; gap: .5em; min-height: 40px; padding: 7px 16px; border-radius: 999px; border: 2px solid var(--line); background: rgba(255, 243, 223, .04); font-weight: 600; font-size: .9rem; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.filter:hover { border-color: var(--cream); }
.filter.is-on { background: var(--orange); border-color: var(--orange); color: #1A0D02; }
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 40px 22px; }
.gcard[hidden] { display: none; }
.gcard__art { position: relative; display: block; }
.gcard__art img { width: 100%; border-radius: 18px; border: 3px solid rgba(255, 243, 223, .12); transition: border-color .3s ease, box-shadow .3s ease; }
.gcard__art .gcard__shot { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease, border-color .3s ease; }
.gcard__go { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 9px 10px; border-radius: 999px; background: var(--orange); color: #1A0D02; font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; text-align: center; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.gcard__art { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.gcard__art:hover, .gcard__art:focus-visible { transform: translateY(-6px); }
.gcard__art:hover img, .gcard__art:focus-visible img { border-color: var(--accent); box-shadow: 0 26px 50px -24px var(--accent); }
.gcard__art:hover .gcard__shot, .gcard__art:focus-visible .gcard__shot { opacity: 1; }
.gcard__art:hover .gcard__go, .gcard__art:focus-visible .gcard__go { opacity: 1; transform: none; }
.gcard__name { display: block; font-family: var(--display); font-weight: 400; font-size: 1.22rem; line-height: 1.15; margin: 12px 0 4px; }
.gcard__name a:hover { color: var(--accent); }
.gcard__meta { display: flex; align-items: center; color: var(--muted); font-size: .86rem; font-weight: 600; }
.gcard .vol { margin: 6px 0 0; font-size: .82rem; }
.gcard .vol b { font-size: .68rem; margin-left: 6px; }
.allgames__none { text-align: center; color: var(--muted); padding: 40px 0; }

/* the cast wall: two rows that walk in opposite directions and stop under the pointer */
.castrow { position: relative; height: 268px; overflow: hidden; margin-top: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.castrow__run { position: absolute; top: 12px; left: 0; display: flex; gap: 28px; width: max-content; padding-left: 28px; animation: castrun var(--dur, 80s) linear infinite; }
.castrow--back .castrow__run { animation-direction: reverse; }
.castrow:hover .castrow__run, .castrow:focus-within .castrow__run { animation-play-state: paused; }
.castrow .cat { width: 152px; flex: none; }
.castrow .cat__pic { width: 140px; }
.castrow .cat__role { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes castrun { to { transform: translateX(-50%); } }

/* where to play, with a long list */
.playlist li { border-left: 5px solid var(--accent); }
.playlist--many { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.playlist--many .playlist__name { font-size: 1.02rem; }

/* a game page takes the game's own world as its backdrop, and its own symbols drift in the hero */
body.gamepage::before { content: ''; position: fixed; inset: -60px; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(34px) saturate(1.25); opacity: .16; pointer-events: none; }
.ghero__floats { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.gfloat { position: absolute; width: var(--w, 96px); animation: bob var(--t, 6s) ease-in-out infinite; animation-delay: var(--dl, 0s); translate: calc(var(--mx, 0) * var(--k, 10) * 1px) calc(var(--my, 0) * var(--k, 10) * 1px); }
.gfloat--0 { right: 31%; top: 16%; --w: 104px; --t: 6.2s; --k: 16; }
.gfloat--1 { right: 4%; top: 24%; --w: 84px; --t: 5.1s; --dl: -1.5s; --k: 26; }
.gfloat--2 { right: 34%; bottom: 13%; --w: 78px; --t: 7s; --dl: -3s; --k: 22; }
.gfloat--3 { right: 3.5%; bottom: 20%; --w: 110px; --t: 5.6s; --dl: -2.2s; --k: 12; }
.gfloat--4 { right: 44%; top: 44%; --w: 62px; --t: 6.6s; --dl: -4s; --k: 30; }
.gfloat--5 { right: 18%; bottom: 5%; --w: 66px; --t: 5.4s; --dl: -.8s; --k: 20; }
.ghero__floats .gfloat { animation-name: bobfloat; }
@keyframes bobfloat { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-14px) rotate(6deg); } }

/* the symbol tiles wear the colour of their kind */
.symgroup--scatter .sym { border-top: 4px solid var(--teal); }
.symgroup--wild .sym { border-top: 4px solid var(--orange); }
.symgroup--bonus .sym { border-top: 4px solid var(--pink); }
.symgroup--character .sym, .symgroup--high .sym { border-top: 4px solid var(--accent); }
.sym img { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.sym:hover img:not(.sym__plate) { transform: scale(1.12) rotate(-4deg); }

/* previous game, next game */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.pager__a { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--r); background: var(--ink-2); border: 1.5px solid var(--line); font-size: 1.4rem; transition: border-color .25s ease, transform .25s ease; }
.pager__a:hover { border-color: var(--accent); transform: translateY(-3px); }
.pager__a--next { justify-content: flex-end; text-align: right; }
.pager__a i { display: block; font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pager__a b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.15; }

/* the way back up, and the paw a click leaves */
.totop { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #1A0D02; font-size: 1.6rem; box-shadow: 0 5px 0 var(--orange-d); opacity: 0; pointer-events: none; transform: translateY(16px); transition: opacity .3s ease, transform .3s ease; }
.is-deep .totop { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover .paw { transform: translateY(-3px); }
.totop .paw { transition: transform .2s ease; }
.pawstamp { position: fixed; z-index: 60; width: 30px; height: 30px; margin: -15px 0 0 -15px; color: var(--orange); pointer-events: none; animation: stamp .9s ease-out forwards; }
.pawstamp .paw { width: 100%; height: 100%; }
@keyframes stamp { 0% { opacity: .9; scale: .4; } 25% { opacity: .85; scale: 1.05; } 100% { opacity: 0; scale: 1; } }

@media (max-width: 1020px) {
  .ghero__floats, .hero__claw { display: none; }
  .eyes:nth-child(n+3) { display: none; }
}
@media (max-width: 860px) {
  .game__num { left: 0; top: -40px; }
  .game--flip .game__num { right: 0; }
  .castrow { height: 232px; }
  .castrow .cat { width: 118px; }
  .castrow .cat__pic { width: 108px; }
  .castrow__run { gap: 18px; }
  .eyes { display: none; }
  .pager { grid-template-columns: 1fr; }
  .gcards { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 34px 14px; }
}
@media (max-width: 520px) {
  .gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game__float { display: none; }
  .allgames__head .search, .search input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .castrow { height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .castrow__run { position: static; flex-wrap: wrap; justify-content: center; width: auto; padding: 0 22px; }
  .castrow .cat[aria-hidden="true"] { display: none; }
}
/* ── reveal on scroll ─────────────────────────────────────────────────────────────────────────────────── */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* ── smaller screens ──────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .studio, .world { grid-template-columns: minmax(0, 1fr); }
  .studio__wall { max-width: 520px; margin-inline: auto; }
  .world__art { order: -1; }
  .ghero__in { grid-template-columns: minmax(0, 1fr); }
  .ghero__phone { display: none; }
  .ghero::before { background: linear-gradient(180deg, rgba(18, 12, 28, .8) 0%, rgba(18, 12, 28, .9) 60%, var(--ink) 100%); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav__toggle { display: block; }
  .nav__logo { width: 176px; }
  .nav__menu { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 26px; background: rgba(18, 12, 28, .98); border-bottom: 1.5px solid var(--line); transform: translateY(-130%); transition: transform .3s ease; }
  .menu-open .nav__menu { transform: none; }
  .menu-open .nav { background: rgba(18, 12, 28, .98); }
  .nav__menu > a:not(.pill) { padding: 14px 0; border-bottom: 1.5px solid var(--line); font-size: 1.1rem; }
  .nav__menu > a:not(.pill)::after { display: none; }
  .nav__menu .pill { margin-top: 18px; justify-content: center; }
  .hero { padding-top: 120px; }
  /* a phone shows the four posters two by two: each poster already carries its game's name */
  .panels { transform: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; margin: 40px 0 0; padding: 0 18px; gap: 12px; }
  .panel { aspect-ratio: 539 / 800; border-radius: 16px; }
  .panel__img--wide { display: none; }
  .panel__img--tall { position: static; width: 100%; height: 100%; object-fit: cover; transform: none; }
  .panel::after, .panel__cap { display: none; }
  .ticker { height: 52px; margin-top: 44px; }
  .ticker__run { font-size: 1.1rem; }
  .game, .game--flip { grid-template-columns: minmax(0, 1fr); gap: 46px; }
  .game--flip .game__art { order: 0; }
  .game__phone { width: 21%; bottom: -9%; right: 2%; }
  .game--flip .game__phone { left: 2%; }
  .screens { flex-wrap: wrap; }
  .screen--desk { flex: 1 1 100%; }
  .screen--tab { flex: 0 1 46%; }
  .screen--phone { flex: 0 1 27%; }
  .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__brand { grid-column: 1 / -1; }
  .vid__close { right: 0; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 36px); }
  .btns .btn { flex: 1 1 100%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .cast, .cast--big { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .symgroups { gap: 26px 20px; }
  .syms { gap: 10px; }
  .sym { width: calc((100vw - 36px - 20px) / 3); padding: 10px 6px; border-radius: 16px; }
  .sym b { font-size: .76rem; }
  .playlist li { flex-direction: column; align-items: flex-start; }
  .playbox--game .btn { width: 100%; }
  .more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
