/* xorinjornejolt.com — Victorian Staffordshire mantel figures: glazed spaniels in facing pairs on a slate mantelpiece,
   oxblood striped wallpaper, firelight shadows (lift 1 plinth · 2 figure · 3 card at the mirror).
   Elsie (display) + Elsie Swash Caps (wordmark) + Libre Caslon Text. Mobile first (Figma 360); desktop from 1024 (Figma 1368).
   The home hero on desktop is laid out in --u = min(1px, 100vw/1368). */
:root {
  --ink: #2B1714; --inkSoft: #5C3A2E; --oxblood: #7A1F1E; --oxdeep: #5A1515; --iron: #962E22; --glaze: #F4EEE3;
  --bisque: #E4D0BC; --bisque2: #D6BDA5; --gilt: #B8893A; --giltLt: #E3C47E; --slate: #292423; --slate2: #3D3634;
  --pad: 20px; --u: min(1px, calc(100vw / 1368));
  --disp: 'Elsie', Georgia, serif; --swash: 'Elsie Swash Caps', 'Elsie', Georgia, serif; --text: 'Libre Caslon Text', Georgia, serif;
  --l1: 0 1.2px 2.4px rgba(30, 12, 9, .036), 0 6px 12px rgba(30, 12, 9, .048), 0 16.8px 33.6px -4.8px rgba(30, 12, 9, .06);
  --l2: 0 2px 4px rgba(30, 12, 9, .06), 0 10px 20px rgba(30, 12, 9, .08), 0 28px 56px -8px rgba(30, 12, 9, .10);
  --l3: 0 3.6px 7.2px rgba(30, 12, 9, .108), 0 18px 36px rgba(30, 12, 9, .144), 0 50.4px 100.8px -14.4px rgba(30, 12, 9, .18);
  --d1: drop-shadow(0 1.2px 1.2px rgba(30, 12, 9, .036)) drop-shadow(0 6px 6px rgba(30, 12, 9, .048)) drop-shadow(0 16.8px 16.8px rgba(30, 12, 9, .06));
  --d2: drop-shadow(0 2px 2px rgba(30, 12, 9, .06)) drop-shadow(0 10px 10px rgba(30, 12, 9, .08)) drop-shadow(0 28px 28px rgba(30, 12, 9, .10));
}
@media (min-width: 600px) { :root { --pad: 32px; } }
@media (min-width: 1024px) { :root { --pad: 96px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bisque); color: var(--ink); font: 400 16px/1.55 var(--text); overflow-x: clip; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
hr { border: 0; height: 3px; background: var(--gilt); margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gilt); outline-offset: 3px; }
[id] { scroll-margin-top: 16px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--glaze); color: var(--ink); padding: 10px 14px; border: 3px solid var(--gilt); border-radius: 999px; font-weight: 700; }
.skip:focus { top: 8px; }
.in { width: 100%; max-width: 1368px; margin: 0 auto; padding-inline: var(--pad); }
.wall { background: var(--oxblood) url(/assets/img/wallpaper.png) 0 0 / 240px 240px; color: var(--glaze); }
.wall.dp { background-color: var(--oxdeep); }
.bq { background: var(--bisque) url(/assets/img/craze-bisque-21.png) 0 0 / 134.4px 134.4px; }
.gl { background: var(--glaze) url(/assets/img/craze-glaze-27.png) 0 0 / 134.4px 134.4px; }
.gl3 { background: var(--glaze) url(/assets/img/craze-glaze-30.png) 0 0 / 134.4px 134.4px; }
.bq3 { background: var(--bisque) url(/assets/img/craze-bisque-30.png) 0 0 / 134.4px 134.4px; }
.sc.gl { background-image: url(/assets/img/craze-glaze-30.png); }
.mantel { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: var(--slate); border-top: 4px solid var(--slate2); z-index: 2; }
@media (min-width: 1024px) { .mantel { height: 26px; } }

/* ---------- small pieces ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.chip > i { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--gilt); box-shadow: inset 0 0 0 1.5px var(--giltLt); }
.chip.top { align-items: flex-start; }
.chip.top > i { margin-top: 0; }
.chip.b { font-weight: 700; }
.al { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; text-decoration: none; align-self: flex-start; }
.al > span { text-decoration: underline; text-underline-offset: 2px; }
.al > b { color: var(--iron); }
.al:hover > span { color: var(--oxblood); }
.al.on-dark > b { color: var(--giltLt); }
.al.on-dark:hover > span { color: var(--giltLt); }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; align-self: flex-start; background: var(--oxblood); color: var(--glaze); border: 3px solid var(--gilt);
  border-radius: 999px; padding: 10px 19px; box-shadow: var(--l1); font: 700 15px/1.55 var(--text); text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s; }
.pill > b { color: var(--giltLt); font-size: 16px; }
.pill:hover, .pill:focus-visible { background: var(--oxdeep); box-shadow: var(--l2); transform: translateY(-2px); }
.pill.lt { background: var(--glaze); color: var(--ink); }
.pill.lt:hover, .pill.lt:focus-visible { background: var(--bisque); }
.pill.nr { border: 0; padding: 13px 22px; }
@media (min-width: 1024px) {
  .pill { padding: 12px 25px; font-size: 17px; }
  .pill > b { font-size: 18px; }
  .pill.nr { padding: 15px 28px; }
  .al { font-size: 17px; }
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.crumbs li { display: flex; gap: 10px; }
.crumbs li + li::before { content: '›'; color: var(--giltLt); }
.crumbs a { text-underline-offset: 2px; }
.crumbs a:hover { color: var(--giltLt); }

/* plate: the cover stands like a figure on a slate plinth with a gilt edge */
.plate { position: relative; display: flex; flex-direction: column; border-radius: 24px 24px 0 0; overflow: hidden; box-shadow: var(--l1); color: var(--glaze); text-decoration: none; }
.plate > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.plinth { display: flex; flex-direction: column; gap: 8px; background: var(--slate); border-top: 3px solid var(--gilt); padding: 13px 22px 20px; }
.pt { font: 900 22px/1.12 var(--disp); color: var(--giltLt); }
.plinth .chip { color: var(--glaze); font-size: 14px; }
@media (min-width: 1024px) { .pt { font-size: 30px; } }
a.plate { transition: transform .25s ease-out, box-shadow .25s ease-out; }
a.plate::after { content: ''; position: absolute; inset: 0; border: 3px solid transparent; border-radius: inherit; pointer-events: none; transition: border-color .25s; }
a.plate:hover, a.plate:focus-visible, .tile:hover a.plate, .tile:focus-within a.plate { transform: translateY(-12px); box-shadow: var(--l2); }
a.plate:hover::after, a.plate:focus-visible::after, .tile:hover a.plate::after, .tile:focus-within a.plate::after { border-color: var(--gilt); }
a.plate:focus-visible { outline: 0; }
.tile:hover .al > span, .tile:focus-within .al > span { color: var(--oxblood); }

/* scroll reveal: figures and plinths rise 24 px and their shadow grows (only with JS and motion allowed) */
.rvok .rv:not(.on) { transform: translateY(24px); box-shadow: none; }
.rvok .rv { transition: transform .6s ease-out, box-shadow .6s ease-out; }
.rvok .rvd:not(.on) { transform: translateY(24px); filter: var(--d1); }
.rvok .rvd { transition: transform .6s ease-out, filter .6s ease-out; }
.dog { filter: var(--d2); pointer-events: none; }

/* ---------- header: three tabs hang from a gilt rail ---------- */
.hd { background: var(--oxdeep); border-bottom: 3px solid var(--gilt); }
.hdi { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; align-self: flex-start; }
.mk { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--glaze); border: 3px solid var(--gilt); font: 900 20px/1 var(--swash); color: var(--oxblood); }
.lt { font: 900 22px/1.55 var(--swash); color: var(--glaze); }
.tabs { display: flex; align-items: flex-end; gap: 4px; }
.tab { display: block; padding: 10px 15px 12px; background: var(--oxblood); border: 1px solid var(--oxblood); border-bottom: 0; border-radius: 14px 14px 0 0; font-size: 15px; color: var(--glaze); text-decoration: none; }
.tab:hover { background: #8a2b29; }
.tab.on { background: var(--bisque); border: 3px solid var(--gilt); border-bottom: 0; padding: 10px 13px 12px; color: var(--ink); font-weight: 700; }
@media (min-width: 1024px) {
  .hdi { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 0; padding-top: 22px; }
  .logo { padding-bottom: 18px; align-self: auto; }
  .mk { width: 40px; height: 40px; font-size: 24px; }
  .lt { font-size: 28px; }
  .tabs { gap: 6px; }
  .tab { padding: 14px 27px 16px; font-size: 17px; }
  .tab.on { padding: 14px 25px 16px; }
}

/* ---------- footer: two lines on the slate mantel ---------- */
.ft { background: var(--slate); border-top: 3px solid var(--gilt); color: var(--glaze); }
.ft .in { display: flex; flex-direction: column; gap: 14px; padding-block: 23px 30px; }
.fl1, .fl2 { display: flex; flex-direction: column; gap: 12px; }
.fl2 { gap: 8px; }
.fb { font: 900 22px/1.55 var(--swash); color: var(--giltLt); }
.fline { font-size: 15px; }
.flinks { display: flex; flex-wrap: wrap; gap: 0 18px; font-size: 15px; }
.flinks a, .fck { color: var(--glaze); text-decoration: underline; text-underline-offset: 2px; }
.flinks a:hover, .fck:hover { color: var(--giltLt); }
.fck { background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; line-height: inherit; align-self: flex-start; }
.fl2 { font-size: 14px; color: var(--bisque); }
.fmail { color: var(--giltLt); text-underline-offset: 2px; align-self: flex-start; }
@media (min-width: 1024px) {
  .ft .in { padding-block: 27px 34px; }
  .fl1 { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 28px; }
  .fline { width: 420px; }
  .fl2 { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; }
  .fdis { width: 520px; }
}

/* ---------- hero: the facing pair on the mantelpiece ---------- */
.hero { position: relative; overflow: hidden; padding: 44px 0 64px; }
.hi { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding-inline: 20px; text-align: center; }
.hero h1 { display: flex; align-items: flex-end; justify-content: center; min-height: 206px; max-width: calc(100% - 112px); font: 900 32px/1.02 var(--disp); color: var(--glaze); }
.tshelf { position: relative; z-index: 1; align-self: stretch; height: 40px; margin: 18px -20px 0; }
.tshelf .mantel.thin { top: -4px; bottom: auto; height: 14px; border-top-width: 3px; box-shadow: inset 0 2px 0 var(--gilt); }
.sf { margin-top: 18px; font-size: 16px; line-height: 1.5; max-width: 520px; }
.athome { position: relative; margin-top: 18px; width: 100%; max-width: 588px; display: flex; flex-direction: column; gap: 14px; padding: 15px 15px 17px; background: var(--glaze); color: var(--ink);
  border: 3px solid var(--gilt); border-radius: 24px; box-shadow: var(--l3); text-align: left; }
.ah-t { font: 400 22px/1.05 var(--disp); color: var(--oxblood); text-align: center; padding-bottom: 14px; border-bottom: 2px solid var(--gilt); }
.ah { display: flex; flex-direction: column; gap: 14px; }
.ah li { display: flex; flex-direction: column; gap: 4px; }
.pn { font-style: italic; font-size: 14px; color: var(--inkSoft); }
.fn { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-weight: 700; font-size: 14px; }
.fn i { width: 8px; height: 8px; background: var(--gilt); transform: rotate(45deg); flex: none; }
.athome .pill { align-self: center; margin-top: 6px; }
.hero > .mantel { z-index: 0; height: 34px; box-shadow: inset 0 3px 0 var(--gilt); }
.hdd { position: absolute; z-index: 0; top: 18px; height: 250px; width: auto; }
.hdd.hd-l { left: -110px; }
.hdd.hd-r { right: -110px; }
@keyframes rise { from { transform: translateY(24px); filter: var(--d1); } to { transform: none; filter: var(--d2); } }
@keyframes cardin { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .dog { animation: rise .6s ease-out both; }
  .athome { animation: cardin .6s .45s ease-out both; }
}
@media (min-width: 1024px) {
  .hero { padding: calc(76 * var(--u)) 0 calc(120 * var(--u)); }
  .hi { padding: 0; }
  .hero h1 { display: block; min-height: 0; max-width: none; width: calc(700 * var(--u)); font-size: calc(68 * var(--u)); }
  .tshelf { display: none; }
  .sf { margin-top: calc(26 * var(--u)); width: calc(520 * var(--u)); max-width: none; font-size: calc(19 * var(--u)); }
  .athome { margin-top: calc(26 * var(--u)); width: calc(588 * var(--u)); max-width: none; gap: calc(14 * var(--u)); padding: calc(21 * var(--u)) calc(25 * var(--u)) calc(23 * var(--u)); }
  .ah-t { font-size: calc(26 * var(--u)); padding-bottom: calc(14 * var(--u)); }
  .ah { gap: calc(14 * var(--u)); }
  .ah li { flex-direction: row; align-items: center; gap: calc(12 * var(--u)); }
  .pn { width: calc(118 * var(--u)); flex: none; font-size: calc(14 * var(--u)); }
  .fn { gap: calc(12 * var(--u)); font-size: calc(15 * var(--u)); flex-wrap: nowrap; }
  .fn i { width: calc(8 * var(--u)); height: calc(8 * var(--u)); }
  .athome .pill { margin-top: calc(6 * var(--u)); padding: calc(15 * var(--u)) calc(28 * var(--u)); font-size: calc(17 * var(--u)); gap: calc(10 * var(--u)); }
  .athome .pill > b { font-size: calc(18 * var(--u)); }
  .hero > .mantel { height: calc(64 * var(--u)); }
  .hdd { z-index: 1; top: calc(140 * var(--u)); height: calc(800 * var(--u)); width: auto; }
  .hdd.hd-l { left: calc(-200 * var(--u)); }
  .hdd.hd-r { right: calc(-200 * var(--u)); }
}

/* ---------- G: pairs, one game per screen ---------- */
.gi { background: var(--bisque); padding: 44px 0 8px; }
.gi .in { display: flex; flex-direction: column; gap: 16px; }
.gi h2 { font: 900 34px/1.05 var(--disp); color: var(--oxblood); }
.gi p { font-size: 16px; }
.pshelf { background: var(--slate); border-top: 3px solid var(--gilt); color: var(--glaze); }
.pshelf .in { display: flex; flex-direction: column; gap: 6px; padding-block: 15px 20px; }
.pshelf h3 { font: 900 24px/1.05 var(--disp); color: var(--giltLt); }
.pshelf p { font-size: 15px; line-height: 1.5; white-space: pre-wrap; }
.scr { padding: 36px 0 48px; }
.si { display: flex; flex-direction: column; gap: 22px; }
.stx { display: flex; flex-direction: column; gap: 12px; }
.stx .chip { font-size: 15px; }
.stx h4 { font: 900 36px/1.04 var(--disp); color: var(--oxblood); }
.stx .ol { font-size: 17px; line-height: 1.48; }
.sf2 { display: flex; flex-direction: column; gap: 8px; padding: 6px 0; }
.sf2 > div { display: flex; gap: 12px; }
.sf2 dt { width: 120px; flex: none; font-style: italic; color: var(--inkSoft); }
.pw { font-style: italic; color: var(--inkSoft); line-height: 1.5; }
@media (min-width: 1024px) {
  .gi { padding: 84px 0 20px; }
  .gi .in { align-items: center; text-align: center; }
  .gi h2 { font-size: 56px; max-width: 760px; }
  .gi p { font-size: 19px; max-width: 640px; }
  .pshelf .in { flex-direction: row; align-items: center; gap: 32px; padding-block: 23px 26px; }
  .pshelf h3 { font-size: 34px; flex: none; }
  .pshelf p { font-size: 17px; max-width: 780px; }
  .scr { padding: 80px 0 92px; }
  .si { flex-direction: row; align-items: center; gap: clamp(40px, 6.4vw, 88px); }
  .si .plate { flex: 0 1 460px; }
  .stx { flex: 0 1 560px; gap: 18px; }
  .flip .si .plate { order: 2; }
  .stx h4 { font-size: 64px; }
  .stx .ol { font-size: 21px; }
  .sf2 dt { width: 180px; }
  .sf2 dd { max-width: 360px; }
}

/* ---------- P: Smash Room with a single figure ---------- */
.pf { position: relative; overflow: hidden; padding: 40px 0 230px; }
.pfi { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 24px; }
.pf .plate { box-shadow: var(--l2); }
.pf .pt { font-size: 26px; }
.ptx { display: flex; flex-direction: column; gap: 18px; }
.ptx h2 { font: 900 32px/1.06 var(--disp); }
.ptx p { font-size: 16px; }
.pdog { position: absolute; z-index: 3; right: -20px; bottom: -16px; height: 260px; width: auto; }
.pf > .mantel { height: 24px; }
@media (min-width: 1024px) {
  .pf { padding: 96px 0 120px; }
  .pfi { flex-direction: row; align-items: center; gap: 72px; padding-left: clamp(96px, calc(100% - 1008px), 360px); }
  .pf .plate { flex: 0 0 380px; }
  .ptx { flex: 0 1 440px; }
  .ptx h2 { font-size: 48px; }
  .ptx p { font-size: 18px; }
  .pdog { right: auto; left: calc(max(0px, 50% - 684px) + clamp(96px, calc(min(100vw, 1368px) - 1008px), 360px) - 330px); bottom: -30px; height: 600px; }
  .pf > .mantel { height: 40px; }
}

/* ---------- Y: controls and who it suits ---------- */
.sy { background: var(--bisque); padding: 44px 0 52px; }
.sy .in, .sc .in { display: flex; flex-direction: column; gap: 24px; }
.sy h2, .sc h2 { font: 900 32px/1.05 var(--disp); color: var(--oxblood); max-width: 760px; }
.lead { max-width: 640px; }
.yg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; align-items: start; }
.yc { display: flex; flex-direction: column; gap: 12px; }
.yp .plinth { padding: 9px 16px 14px; }
.yp .pt { font-size: 16px; }
.yc .chip { font-size: 13px; }
.fw { font-style: italic; font-size: 13px; line-height: 1.45; color: var(--inkSoft); }
@media (min-width: 1024px) {
  .sy { padding: 96px 0 100px; }
  .sy .in, .sc .in { gap: 40px; }
  .sy h2, .sc h2 { font-size: 52px; }
  .lead { font-size: 18px; }
  .yg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
  .yp > img { aspect-ratio: 365 / 300; }
  .yp .plinth { padding: 13px 22px 20px; }
  .yp .pt { font-size: 24px; }
  .yc .chip, .fw { font-size: 15px; }
}

/* ---------- C: what each kind asks ---------- */
.sc { padding: 44px 0 52px; }
.kinds { display: flex; flex-direction: column; gap: 16px; }
.kind { display: flex; flex-direction: column; gap: 12px; padding: 15px 15px 17px; background: var(--bisque); border: 3px solid var(--gilt); border-radius: 24px; box-shadow: var(--l1); }
.kc { font-size: 20px; font-weight: 700; color: var(--oxblood); }
.kind p { font-size: 15px; line-height: 1.5; }
.kind .al { font-size: 15px; }
@media (min-width: 1024px) {
  .sc { padding: 96px 0 100px; }
  .kinds { flex-direction: row; align-items: flex-start; gap: 24px; }
  .kind { flex: 1; padding: 23px 21px 25px; }
  .kc { font-size: 24px; }
}

/* ---------- X: every game side by side ---------- */
.sx { padding: 44px 0 56px; }
.sx .in { display: flex; flex-direction: column; gap: 20px; }
.sx h2 { font: 900 32px/1.05 var(--disp); max-width: 760px; }
.xt { display: flex; flex-direction: column; gap: 20px; }
.xh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.xr { display: flex; flex-direction: column; gap: 6px; padding: 11px 15px; background: var(--glaze); color: var(--ink); border: 3px solid var(--gilt); border-radius: 20px; box-shadow: var(--l2); }
.xg { font: 900 20px/1.05 var(--disp); color: var(--oxblood); }
.xg a { text-decoration: none; }
.xg a:hover { text-decoration: underline; }
.xc { display: flex; gap: 8px; font-size: 14px; }
.xl { width: 86px; flex: none; font-style: italic; font-size: 13px; color: var(--inkSoft); }
@media (min-width: 1024px) {
  .sx { padding: 96px 0 110px; }
  .sx .in, .xt { gap: 32px; }
  .sx h2 { font-size: 52px; }
  .xh, .xr { display: grid; grid-template-columns: 250fr 110fr 280fr 190fr 180fr 118fr; align-items: center; }
  .xh { position: static; width: auto; height: auto; overflow: visible; clip: auto; padding: 0 24px; font-style: italic; font-size: 14px; color: var(--giltLt); }
  .xr { padding: 13px 21px; border-radius: 40px; gap: 0; }
  .xr > span { padding-right: 8px; }
  .xc { font-size: 15px; line-height: 1.4; }
  .xl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .xg { line-height: 1.1; }
}

/* ---------- inner page head on the parlour wall ---------- */
.wh { position: relative; overflow: hidden; padding: 20px 0 44px; }
.wh .in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.wh h1 { font: 900 40px/1.04 var(--disp); max-width: calc(100% - 70px); }
.wh .lead { font-size: 16px; line-height: 1.5; max-width: calc(100% - 60px); }
.upd { font-style: italic; font-size: 14px; color: var(--giltLt); }
.whd { position: absolute; z-index: 1; right: 0; bottom: 16px; height: 190px; width: auto; transform: translate(45%, 28%); }
.rvok .whd:not(.on) { transform: translate(45%, calc(28% + 24px)); }
.dk-only { display: none; }
@media (min-width: 1024px) {
  .wh { padding: 36px 0 80px; }
  .wh .in { gap: 22px; }
  .wh h1 { font-size: 76px; max-width: 820px; }
  .wh .lead { font-size: 20px; max-width: 640px; }
  .whd, .dk-only { display: block; bottom: 26px; height: max(360px, calc(100% + 40px)); transform: translate(22%, 12%); }
  .rvok .whd:not(.on) { transform: translate(22%, calc(12% + 24px)); }
}

/* ---------- games: filterable tiles ---------- */
.cat { padding: 36px 0 52px; }
.cat .in { display: flex; flex-direction: column; gap: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border: 3px solid var(--gilt); border-radius: 999px; background: var(--glaze); color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; }
.fchip i { width: 9px; height: 9px; border-radius: 50%; background: var(--gilt); }
.fchip[aria-pressed="true"] { background: var(--oxblood); color: var(--glaze); }
.fchip[aria-pressed="true"] i { background: var(--giltLt); }
.fchip:hover { box-shadow: var(--l1); }
.tg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 40px; align-items: start; }
.tile { display: flex; flex-direction: column; gap: 12px; }
.tp > img { aspect-ratio: 320 / 300; }
.tp .pt { font-size: 26px; }
.tile .ol { font-size: 15px; line-height: 1.5; }
.tm { display: flex; flex-direction: column; gap: 16px; }
.fnone { font-style: italic; }
@media (min-width: 1024px) {
  .cat { padding: 64px 0 88px; }
  .cat .in { gap: 40px; }
  .filters { gap: 12px; }
  .fchip { padding: 7px 15px; }
  .tg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; }
  .tp > img { aspect-ratio: 365 / 340; }
  .tile .ol { font-size: 16px; }
}

/* ---------- game page ---------- */
.gh { position: relative; overflow: hidden; padding: 20px 0 52px; }
.ghi { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; }
.gcol { display: flex; flex-direction: column; gap: 18px; }
.gp { box-shadow: var(--l2); }
.gp > img { aspect-ratio: 320 / 300; }
.gp .pt { font-size: 26px; }
.gtx { display: flex; flex-direction: column; gap: 18px; }
.gtx h1 { font: 900 40px/1.02 var(--disp); }
.sum { font-size: 16px; line-height: 1.52; }
.meta { font-style: italic; font-size: 14px; color: var(--giltLt); }
.facts { display: flex; flex-direction: column; gap: 10px; padding: 13px 15px; background: var(--glaze); color: var(--ink); border: 3px solid var(--gilt); border-radius: 24px; box-shadow: var(--l3); }
.facts h2 { font: 400 22px/1.05 var(--disp); color: var(--oxblood); }
.facts dl { display: flex; flex-direction: column; gap: 10px; }
.facts dl > div { display: flex; flex-direction: column; gap: 2px; }
.facts dt .chip { font-style: italic; color: var(--inkSoft); }
.facts dd { font-size: 15px; }
.gb { padding: 36px 0 52px; }
.accs { max-width: 860px; }
.acc { border-bottom: 3px solid var(--gilt); }
.acc summary { display: flex; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary h2 { flex: 1; font: 900 24px/1.05 var(--disp); color: var(--oxblood); }
.acc summary::after { content: '→'; font: 700 22px/1.55 var(--text); color: var(--iron); }
.acc[open] summary::after { content: '↓'; }
.acc summary:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ab { display: flex; flex-direction: column; gap: 16px; padding-bottom: 18px; }
.tx { font-size: 16px; line-height: 1.6; }
.kl { font-weight: 700; font-size: 16px; color: var(--oxblood); }
.keys { display: flex; flex-direction: column; gap: 16px; }
.keys > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.keys dd, .facts dd { min-width: 0; overflow-wrap: anywhere; }
kbd { max-width: 100%; white-space: normal; }
.keys dt { flex: 0 1 auto; min-width: 0; }
kbd { display: inline-block; padding: 3px 11px; background: var(--bisque); border: 3px solid var(--gilt); border-radius: 999px; font: 700 14px/1.55 var(--text); }
.dots { display: flex; flex-direction: column; gap: 14px; }
.dots .chip { font-size: 16px; line-height: 1.6; gap: 12px; }
.dots .chip > i { margin-top: 9px; }
.sim { display: flex; flex-direction: column; gap: 20px; }
.sim a { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.sim img { width: 88px; height: 88px; border-radius: 14px 14px 0 0; border-bottom: 3px solid var(--gilt); box-shadow: var(--l1); flex: none; }
.sim a > span { display: flex; flex-direction: column; gap: 2px; }
.sim b { font: 900 20px/1.1 var(--disp); color: var(--oxblood); }
.sim a:hover b { text-decoration: underline; }
.sim a > span > span { font-size: 15px; }
.qa { display: flex; flex-direction: column; gap: 6px; }
.qa + .qa { padding-top: 14px; border-top: 1px solid var(--bisque2); }
.qa h3, .qa2 h3 { font-size: 17px; font-weight: 700; }
.qa p { font-size: 16px; }
.where { display: flex; flex-direction: column; gap: 10px; padding-top: 28px; }
.where h2 { font: 700 18px/1.55 var(--text); color: var(--oxblood); }
.where p { font-size: 15px; line-height: 1.5; color: var(--inkSoft); }
@media (min-width: 1024px) {
  .gh { padding: 36px 0 96px; }
  .ghi { flex-direction: row; align-items: flex-start; gap: 64px; }
  .gcol { flex: 0 0 440px; }
  .gp > img { aspect-ratio: 1; }
  .gtx { flex: 0 1 640px; padding-top: 52px; }
  .gtx h1 { font-size: 72px; }
  .sum { font-size: 20px; }
  .facts { padding: 17px 21px; }
  .facts dl > div { flex-direction: row; gap: 12px; }
  .facts dt { width: 200px; flex: none; }
  .gb { padding: 64px 0 88px; }
  .acc summary { padding: 26px 0; }
  .acc summary h2 { font-size: 34px; }
  .acc summary::after { font-size: 26px; }
  .ab { padding-bottom: 26px; }
  .tx { font-size: 18px; }
  .sim { flex-direction: row; flex-wrap: wrap; gap: 24px 40px; }
  .sim li { width: 400px; }
  .where { padding-top: 40px; }
}

/* ---------- about / legal body ---------- */
.lb { padding: 36px 0 52px; }
.col { display: flex; flex-direction: column; gap: 28px; max-width: 820px; }
.as { display: flex; flex-direction: column; gap: 12px; }
.as h2, .afaq h2 { font: 900 26px/1.05 var(--disp); color: var(--oxblood); }
.as p { font-size: 16px; line-height: 1.6; }
.afaq { display: flex; flex-direction: column; gap: 14px; }
.qa2 { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; border-top: 3px solid var(--gilt); }
.qa2 p { font-size: 16px; }
.contact { display: flex; flex-direction: column; gap: 12px; padding: 17px 15px; background: var(--bisque); border: 3px solid var(--gilt); border-radius: 24px; box-shadow: var(--l2); }
.contact h2 { font: 900 26px/1.05 var(--disp); color: var(--oxblood); }
.contact .rs { display: flex; flex-direction: column; gap: 12px; }
.contact .chip { font-size: 15px; }
.contact dl { display: flex; flex-direction: column; gap: 12px; }
.contact dl > div { display: flex; flex-direction: column; gap: 2px; }
.contact dt { width: 140px; flex: none; font-style: italic; font-size: 15px; color: var(--inkSoft); }
.contact dd { font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.lcol { max-width: 780px; gap: 22px; }
.ls { display: flex; flex-direction: column; gap: 10px; }
.ls h2 { font: 900 22px/1.05 var(--disp); color: var(--oxblood); }
.ls p { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.ls hr { width: 120px; }
@media (min-width: 1024px) {
  .lb { padding: 64px 0 88px; }
  .col { gap: 40px; }
  .as h2, .afaq h2 { font-size: 36px; }
  .as p { font-size: 18px; }
  .contact { padding: 25px 29px; }
  .contact h2 { font-size: 34px; }
  .contact dl > div { flex-direction: row; gap: 12px; }
  .lcol { gap: 30px; }
  .ls h2 { font-size: 28px; }
  .ls p { font-size: 17px; }
}

/* ---------- cookie: a glazed card at the mirror ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 50; width: min(500px, calc(100% - 32px)); display: flex; flex-direction: column; gap: 14px; padding: 19px 17px 21px;
  background: var(--glaze); color: var(--ink); border: 3px solid var(--gilt); border-radius: 24px; box-shadow: var(--l3); }
.cookie h2 { font: 900 24px/1.05 var(--disp); color: var(--oxblood); }
.cookie > p { font-size: 15px; line-height: 1.52; }
.ck-acts { display: flex; flex-direction: column; gap: 12px; }
.ck-acts .pill { align-self: stretch; box-shadow: none; }
.cookie .al { font-size: 14px; }
.ck-manage { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border: 2px solid var(--bisque2); border-radius: 16px; }
.ck-manage label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.ck-manage input { accent-color: var(--oxblood); margin-top: 4px; }
.pill.sm { font-size: 14px; padding: 6px 16px; }
@media (min-width: 420px) {
  .cookie { padding: 25px 27px 27px; }
  .cookie h2 { font-size: 28px; }
  .ck-acts { flex-direction: row; }
  .ck-acts .pill { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .pill, a.plate, a.plate::after { transition: none; }
  a.plate:hover, a.plate:focus-visible, .tile:hover a.plate, .tile:focus-within a.plate, .pill:hover { transform: none; }
}
/* social icons */
.socs { display: flex; align-items: center; gap: 10px; }
.socs a.sic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gilt); color: var(--bisque); text-decoration: none; transition: background .18s, color .18s, border-color .18s; }
.socs a.sic svg { display: block; width: 15px; height: 15px; fill: currentColor; }
.socs a.sic:hover { background: var(--giltLt); border-color: var(--giltLt); color: var(--slate); }
.socs a.sic:focus-visible { outline: 2px solid var(--giltLt); outline-offset: 3px; }
