/* ShrinkingMen. One idea: the measuring tape. Tall condensed type against tiny type; tape-yellow ticks mark scale. */
:root {
  --night: #0f1a2e;   /* page */
  --deep: #172640;    /* raised surfaces */
  --line: #2b3f61;    /* borders */
  --steel: #7fb2de;   /* links: the brand blue, lifted for dark backgrounds */
  --tape: #f2c230;    /* measuring tape: actions, prices, ticks */
  --paper: #edf1f7;   /* text */
  --mist: #a9b7cc;    /* quiet text */
  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ticks: repeating-linear-gradient(to right, var(--tape) 0 2px, transparent 2px 12px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--night); color: var(--paper); font: 400 1.0625rem/1.6 var(--serif); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-underline-offset: 3px; }
a:hover { color: var(--paper); }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: .005em; margin: 0 0 .4em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.skip { position: absolute; left: -999px; top: 0; background: var(--tape); color: var(--night); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.preview-bar { background: var(--tape); color: var(--night); font: 600 .8rem/1 var(--serif); text-align: center; padding: 6px; }

/* Masthead: the logo is the joke. Big "Shrinking", small "Men". */
.masthead { display: flex; align-items: center; gap: 24px; max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter); }
.brand { display: flex; align-items: baseline; text-decoration: none; color: var(--paper); line-height: 1; flex: none; }
.brand-big { font: 800 2rem/1 var(--display); letter-spacing: .01em; }
.brand-small { font: 600 .7rem/1 var(--serif); margin-left: 3px; color: var(--tape); }
.masthead nav { flex: 1; overflow-x: auto; scrollbar-width: none; }
.masthead nav::-webkit-scrollbar { display: none; }
.masthead ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.masthead nav a, .account { font: 600 1.3rem/1 var(--display); letter-spacing: .02em; color: var(--paper); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.masthead nav a:hover, .masthead nav a[aria-current="page"] { border-bottom-color: var(--tape); }
.acct { flex: none; display: flex; align-items: center; gap: 18px; }
.basket-link { font: 600 1.2rem/1 var(--display); letter-spacing: .02em; color: var(--paper); text-decoration: none; padding: 6px 0; display: inline-flex; align-items: center; gap: 6px; }
.basket-n { background: var(--tape); color: var(--night); border-radius: 999px; min-width: 20px; height: 20px; padding: 0 6px; font: 800 .8rem/20px var(--display); text-align: center; }
.account-link { font: 600 1.2rem/1 var(--display); letter-spacing: .02em; color: var(--mist); text-decoration: none; padding: 6px 0; }
.account-link:hover { color: var(--paper); }
.library-btn { font: 800 1.1rem/1 var(--display); letter-spacing: .03em; background: var(--tape); color: var(--night); text-decoration: none; padding: 9px 16px; border-radius: 999px; }
.library-btn:hover { background: var(--paper); color: var(--night); }
.lib-signin-lede { color: var(--mist); }
/* phones: one row (logo, basket, Start free, Menu); the menu opens as a list below */
.menu-btn, .nav-acct { display: none; }
@media (max-width: 720px) {
  .masthead { flex-wrap: wrap; gap: 10px 12px; padding-block: 10px; }
  .masthead .logo { order: 1; margin-right: auto; }
  .acct { order: 2; gap: 12px; }
  .account-link { display: none; }
  .library-btn { padding: 8px 12px; font-size: 1rem; }
  .menu-btn { display: inline-block; order: 3; font: 600 1.15rem/1 var(--display); letter-spacing: .02em; color: var(--paper); background: none; border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; cursor: pointer; }
  .masthead nav { order: 4; flex-basis: 100%; overflow: visible; }
  .js .masthead nav { display: none; }
  .js .masthead.open nav { display: block; }
  .masthead ul { flex-direction: column; gap: 0; white-space: normal; }
  .masthead nav li { border-top: 1px solid var(--line); }
  .masthead nav a { display: block; padding: 13px 0; font-size: 1.3rem; border-bottom: 0; }
  .nav-acct { display: list-item; }
  .banner { display: none; }  /* the header logo is enough on a phone */
}
@media (max-width: 360px) { .basket-link { font-size: 1rem; } .library-btn { padding: 7px 10px; } }

main { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 64px; }

/* Hero: a tape measure down the left, the headline standing against it */
.hero { display: grid; grid-template-columns: 52px 1fr; gap: clamp(16px, 4vw, 48px); padding: clamp(24px, 6vw, 72px) 0 clamp(32px, 6vw, 64px); }
.tape { background: var(--tape); color: var(--night); border-radius: 3px; display: flex; flex-direction: column; overflow: hidden; }
.inch { flex: 1; min-height: 3.2rem; position: relative; border-top: 2px solid var(--night);
  background: repeating-linear-gradient(to bottom, transparent 0 calc(25% - 1px), var(--night) calc(25% - 1px) 25%) left / 14px 100% no-repeat; }
.inch::after { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 2px; background: var(--night); }
.inch b { position: absolute; right: 6px; top: 4px; font: 800 1rem/1 var(--display); }
.hero h1 { font-size: clamp(3rem, 10vw, 7.4rem); line-height: .86; margin-bottom: .25em; max-width: 11ch; }
.hero-small { font-size: .78rem; color: var(--mist); margin: 0 0 1.6rem; }
.hero-lede { max-width: 56ch; color: var(--paper); margin: 0 0 1.4rem; }
.btn { display: inline-block; background: var(--tape); color: var(--night); font: 800 1.15rem/1 var(--display); letter-spacing: .02em;
  padding: 13px 20px 12px; border: 2px solid var(--tape); border-radius: 3px; text-decoration: none; cursor: pointer; margin: 0 8px 8px 0; }
.btn:hover { background: var(--paper); border-color: var(--paper); color: var(--night); }
.btn.ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--paper); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Bands */
.band { padding: 40px 0 8px; }
.band-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px; padding-bottom: 8px; }
.band-head h2 { margin: 0; }
.band-head a { font: 600 1.05rem/1 var(--display); white-space: nowrap; }

/* Kink tiles: each is a strip of tape, the count is its length */
.kinks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.kink-tile { display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 14px; text-decoration: none;
  color: var(--paper); background: var(--deep) center / cover no-repeat; border: 1px solid var(--line); border-radius: 3px; position: relative; overflow: hidden; }
.kink-tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: var(--ticks); opacity: .8; }
.kink-tile.has-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,26,46,.92) 0%, rgba(15,26,46,.6) 28%, rgba(15,26,46,0) 62%); }
.kink-tile > span { position: relative; z-index: 1; }
.kink-name { font: 800 1.45rem/1 var(--display); }
.kink-count { font-size: .8rem; color: var(--mist); margin-top: 4px; }
.kink-tile:hover { border-color: var(--tape); }

/* Product grid */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 24px 16px; }
@media (max-width: 420px) { .grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; } }
.card a { display: flex; flex-direction: column; text-decoration: none; color: var(--paper); height: 100%; }
.cover { aspect-ratio: 1; background: var(--deep); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.card a:hover .cover { outline: 2px solid var(--tape); }
.card-format { font-size: .75rem; color: var(--mist); }
.card-title { font-weight: 600; font-size: .95rem; line-height: 1.3; margin: 2px 0 6px; flex: 1; }
.price { font: 800 1.1rem/1 var(--display); color: var(--tape); }
.price.free { color: var(--paper); }

/* Page heads, crumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 0 0; margin: 0; font-size: .8rem; color: var(--mist); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.page-head { padding: 24px 0 20px; max-width: 70ch; }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: .9; }
.page-head p { color: var(--mist); margin: 0; }
.also { color: var(--mist); font-size: .95rem; margin: 0 0 24px; }

/* Shop filters */
.filters { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; padding: 16px; background: var(--deep); border: 1px solid var(--line); border-radius: 3px; margin-bottom: 12px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; color: var(--mist); }
.filters .f-search { flex: 1 1 240px; }
.filters input[type=search], .filters select { font: inherit; font-size: 1rem; color: var(--paper); background: var(--night); border: 1px solid var(--line); border-radius: 3px; padding: 9px 10px; min-height: 44px; }
.filters .f-check { flex-direction: row; align-items: center; gap: 8px; min-height: 44px; font-size: .95rem; color: var(--paper); }
.filters input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--tape); }
.result-count { font-size: .85rem; color: var(--mist); margin: 0 0 16px; }

/* Product page */
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); padding: 20px 0 16px; }
@media (max-width: 800px) { .product { grid-template-columns: 1fr; } }
.product-cover img { border-radius: 3px; width: 100%; }
@media (min-width: 801px) { .product-cover { position: sticky; top: 16px; align-self: start; } }
.product-kind { font-size: .85rem; color: var(--mist); margin: 0 0 6px; }
.product h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: .9; }
.buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 12px 0 4px; }
.buy .btn { margin: 0; }
.price.big { font-size: 2.2rem; }
.buy-note { font-size: .8rem; color: var(--mist); margin: 0 0 16px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 24px; }
.chips a { display: inline-block; font: 600 1rem/1 var(--display); letter-spacing: .02em; text-decoration: none; color: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 8px 12px 7px; }
.chips a:hover { border-color: var(--tape); }
.prose { max-width: 66ch; }
.prose p { margin: 0 0 1em; }
.prose .sub { font-size: 1.5rem; margin: 1.4em 0 .4em; color: var(--paper); }
.featured { padding-left: 1.2em; columns: 2 220px; column-gap: 24px; margin: 0 0 1em; }
.featured li { break-inside: avoid; margin-bottom: 4px; }

/* Series list */
.series { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; }
.series a { display: block; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--paper); }
.series-name { display: block; font: 800 1.6rem/1 var(--display); margin-bottom: 4px; }
.series-blurb { font-size: .9rem; color: var(--mist); }
.series a:hover .series-name { color: var(--tape); }

/* Footer: a strip of tape along the top edge */
.site-foot { border-top: 12px solid transparent; border-image: var(--ticks) 12; margin-top: 32px; background: var(--deep); }
.foot-grid { max-width: var(--wrap); margin: 0 auto; padding: 32px var(--gutter) 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 40px; }
.site-foot h2 { font-size: 1.3rem; margin-bottom: .6em; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 0 0 10px; }
.site-foot a { color: var(--paper); text-decoration: none; }
.site-foot a:hover { color: var(--tape); }
.social .s-name { font: 800 1.2rem/1 var(--display); }
.social .s-handle { font-size: .8rem; color: var(--mist); }
.small-print { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter) 32px; font-size: .78rem; color: var(--mist); }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Logo: each letter of "Shrinking" a step shorter than the last; "Men" sits on a strip of tape */
.logo { display: inline-flex; align-items: flex-end; gap: 6px; text-decoration: none; color: var(--paper); flex: none; --h: 2.3rem; }
.logo-word { display: inline-flex; align-items: baseline; font: 800 var(--h)/.8 var(--display); letter-spacing: .005em; }
.logo-word span { font-size: calc(var(--h) * var(--s)); }
.logo-tape { font: 800 calc(var(--h) * .34)/1 var(--display); letter-spacing: .06em; color: var(--night); background: var(--tape);
  padding: 7px 6px 2px; margin-bottom: 1px; border-radius: 2px;
  background-image: repeating-linear-gradient(to right, var(--night) 0 1px, transparent 1px 5px); background-size: 100% 4px; background-repeat: no-repeat; }
.logo:hover .logo-word { color: var(--tape); }
.logo-big { --h: clamp(3.4rem, 12vw, 7.5rem); gap: 10px; }
.logo-big .logo-tape { padding: 12px 10px 4px; background-size: 100% 7px; }

/* Quiz */
.quiz-wrap { max-width: 860px; }
#quiz { padding: 8px 0 24px; }
.q-progress { height: 10px; background: var(--deep); border-radius: 2px; overflow: hidden; margin-bottom: 12px; }
.q-progress span { display: block; height: 100%; background: var(--ticks), var(--tape); background-color: var(--tape); }
.q-count { font-size: .85rem; color: var(--mist); margin: 0 0 6px; }
.q-set { border: 0; padding: 0; margin: 0; }
.q-text { font: 800 clamp(2rem, 5vw, 3.2rem)/.95 var(--display); margin-bottom: 20px; padding: 0; }
.q-answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.q-answer { font: 600 1.05rem/1.3 var(--serif); text-align: left; color: var(--paper); background: var(--deep); border: 1px solid var(--line);
  border-radius: 3px; padding: 16px 18px; min-height: 64px; cursor: pointer; }
.q-answer:hover { border-color: var(--tape); }
.q-answer[aria-pressed="true"] { border-color: var(--tape); box-shadow: inset 4px 0 0 var(--tape); }
.q-nav { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.q-result:focus { outline: none; }
.q-height { display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: end; padding: 12px 0 8px; }
.q-ruler { height: 260px; background: var(--deep); border: 1px solid var(--line); border-radius: 3px; position: relative; overflow: hidden; }
.q-ruler span { position: absolute; left: 0; right: 0; bottom: 0; height: var(--fill); background: var(--tape);
  background-image: repeating-linear-gradient(to bottom, var(--night) 0 2px, transparent 2px 26px); }
.q-big { font: 800 clamp(4rem, 14vw, 8rem)/.85 var(--display); color: var(--tape); margin: 0 0 8px; }
.q-height h2 { margin-bottom: .2em; }
.q-height p:last-child { color: var(--mist); max-width: 52ch; margin: 0; }
.q-sub { font-size: 1.9rem; margin: 32px 0 14px; }
.chips.big a { font-size: 1.2rem; padding: 10px 16px 9px; }
.q-why { font-size: .78rem; color: var(--mist); margin: -2px 0 6px; }
.q-games { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; }
.q-games a { display: block; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--paper); }
.q-track { margin-top: 24px; padding: 16px; background: var(--deep); border-left: 4px solid var(--tape); }
.quiz-band { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: center; background: var(--deep); border: 1px solid var(--line); border-radius: 3px; padding: 24px; margin-top: 40px; }
.quiz-band h2 { margin: 0 0 .2em; }
.quiz-band p { margin: 0; color: var(--mist); }
@media (max-width: 600px) { .quiz-band { grid-template-columns: 1fr; } }

/* Homepage banner: the big logo on a measuring-tape strip */
.banner { padding: clamp(20px, 5vw, 48px) 0 0; border-bottom: 1px solid var(--line); }
.banner .logo-big { margin-bottom: 14px; }
.banner-strip { height: 22px; background: var(--tape); border-radius: 2px;
  background-image: repeating-linear-gradient(to right, var(--night) 0 2px, transparent 2px 10%),
                    repeating-linear-gradient(to right, var(--night) 0 1px, transparent 1px 2.5%);
  background-size: 100% 60%, 100% 30%; background-repeat: no-repeat; background-position: left top, left top; margin-bottom: -1px; }
.hero { grid-template-columns: 1fr; }
.hero.has-art { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.hero-art { border-radius: 3px; width: 100%; height: auto; }
@media (max-width: 800px) { .hero.has-art { grid-template-columns: 1fr; } .hero-art { order: -1; max-height: 360px; object-fit: cover; } }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); max-width: 14ch; }

/* Library */
.lib-demo { background: var(--deep); border-left: 4px solid var(--tape); padding: 10px 14px; font-size: .9rem; }
.lib-tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 16px 0 0; scrollbar-width: none; }
.lib-tabs button { font: 800 1.2rem/1 var(--display); letter-spacing: .02em; color: var(--mist); background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 10px 10px; cursor: pointer; white-space: nowrap; }
.lib-tabs button span { font: 400 .8rem var(--serif); }
.lib-tabs button[aria-selected="true"] { color: var(--paper); border-bottom-color: var(--tape); }
.lib-list { list-style: none; margin: 0; padding: 0; }
.lib-item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lib-cover { width: 96px; aspect-ratio: 1; background: var(--deep); border-radius: 3px; overflow: hidden; }
.lib-cover img { width: 100%; height: 100%; object-fit: cover; }
.lib-name { display: block; font: 800 1.5rem/1 var(--display); margin: 2px 0 10px; }
.lib-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lib-files li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lib-files .btn { margin: 0; padding: 10px 14px 9px; font-size: 1.05rem; }
.lib-file { font-size: .85rem; color: var(--mist); flex-basis: 100%; }
.lib-size { font: 400 .75rem var(--serif); opacity: .8; }
.lib-wait { color: var(--mist); font-size: .9rem; margin: 0; }
.player { position: fixed; left: 0; right: 0; bottom: 0; background: var(--deep); border-top: 3px solid var(--tape); z-index: 20; }
.player-inner { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 12px; }
.player img { width: 48px; height: 48px; border-radius: 3px; object-fit: cover; }
.player-text { display: flex; flex-direction: column; min-width: 0; flex: 0 1 260px; }
.player-kind { font-size: .7rem; color: var(--mist); }
.player-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player audio { flex: 1; min-width: 0; }
.player-close { background: none; border: 1px solid var(--line); color: var(--paper); border-radius: 3px; padding: 8px 10px; cursor: pointer; }
@media (max-width: 600px) { .player-inner { flex-wrap: wrap; } .player audio { flex-basis: 100%; order: 3; } }
dialog.watch { width: min(1100px, 96vw); padding: 0; border: 0; background: #000; color: var(--paper); }
dialog.watch::backdrop { background: rgba(5, 10, 20, .85); }
.watch-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: var(--deep); font-weight: 600; }
.watch-head button { background: none; border: 1px solid var(--line); color: var(--paper); border-radius: 3px; padding: 6px 10px; cursor: pointer; }
dialog.watch video { width: 100%; display: block; max-height: 80vh; }

/* Reader */
.reader-body { background: #0a1120; }
.reader-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: var(--deep); border-bottom: 1px solid var(--line); }
.reader-back { font: 800 1.1rem/1 var(--display); color: var(--paper); text-decoration: none; }
.reader-back::before { content: "‹ "; color: var(--tape); }
.reader-title { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reader-page { font-size: .85rem; color: var(--mist); white-space: nowrap; }
.reader-tools { display: flex; gap: 6px; }
.reader-tools button, .reader-dl { font: 800 1.05rem/1 var(--display); color: var(--paper); background: none; border: 1px solid var(--line); border-radius: 3px; padding: 8px 12px; text-decoration: none; cursor: pointer; min-width: 40px; }
.reader-dl { background: var(--tape); color: var(--night); border-color: var(--tape); }
/* pages wider than the screen when zoomed: start at the left edge so every part can be scrolled to (centring would push
   the left side out of reach); auto margins still centre a page that fits */
.reader-pages { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 8px 80px; overflow-x: auto; }
.reader-pages > .reader-sheet { margin-inline: auto; flex-shrink: 0; }
.reader-sheet { background: #1a2338; box-shadow: 0 0 0 1px var(--line); max-width: none; }
.reader-note { color: var(--mist); padding: 40px 0; }
@media (max-width: 600px) { .reader-title { display: none; } .reader-page { flex: 1; } }

/* The scroll that shrinks you */
.shrink { position: relative; height: 340vh; margin-inline: calc(50% - 50vw); }
.shrink-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--night); }
.shrink-frame { position: absolute; inset: 0; opacity: 0; transform-origin: 50% 85%; will-change: transform, opacity; }
.shrink-frame:first-child { opacity: 1; }
.shrink-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.shrink-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(15,26,46,.88) 0%, rgba(15,26,46,.45) 38%, rgba(15,26,46,0) 62%), linear-gradient(0deg, rgba(15,26,46,.9) 0%, rgba(15,26,46,0) 30%); }
.shrink-copy { position: absolute; z-index: 2; left: calc(var(--gutter) + 76px); right: var(--gutter); bottom: clamp(32px, 9vh, 96px); max-width: 640px; }
.shrink h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: .88; margin: 0 0 .3em; transition: opacity .3s; opacity: calc(1 - var(--p, 0) * 6); }
.shrink-cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; font: 800 clamp(2.2rem, 6vw, 4.4rem)/.9 var(--display); opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .35s; pointer-events: none; }
.shrink-cap.on { opacity: 1; transform: none; pointer-events: auto; }
.shrink-cap:first-of-type.on { opacity: 0; } /* frame 1 shows the h1 instead */
.shrink-cap .hero-actions { font: 400 1rem var(--serif); margin-top: 20px; }
.shrink-cap small { display: block; font: 400 1.05rem/1.5 var(--serif); color: var(--paper); margin-top: 12px; max-width: 46ch; }
.shrink-tape { position: absolute; z-index: 3; left: var(--gutter); top: 0; bottom: 0; width: 52px; background: var(--tape); overflow: hidden; box-shadow: 4px 0 18px rgba(0,0,0,.35); }
.shrink-tape-ticks { position: absolute; left: 0; right: 0; top: 0; height: 330%;
  background: repeating-linear-gradient(to bottom, var(--night) 0 2px, transparent 2px 64px),
              repeating-linear-gradient(to bottom, var(--night) 0 1px, transparent 1px 16px);
  background-size: 28px 100%, 14px 100%; background-repeat: repeat-y; will-change: transform; }
/* the height readout sits high on the tape, well clear of the captions at the bottom */
.shrink-read { position: absolute; z-index: 4; left: calc(var(--gutter) + 64px); top: clamp(72px, 16vh, 170px); display: flex; flex-direction: column; }
.shrink-read span { font-size: .75rem; color: var(--paper); text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.shrink-read b { font: 800 clamp(2rem, 5vw, 3.4rem)/1 var(--display); color: var(--tape); text-shadow: 0 2px 12px rgba(0,0,0,.6); min-width: 4ch; }
.shrink-read { padding-left: 18px; }
.shrink-read::before { content: ""; position: absolute; left: -12px; top: 0; bottom: 0; margin: auto 0; width: 22px; height: 3px; background: var(--tape); box-shadow: 0 1px 4px rgba(0,0,0,.5); }
.shrink-skip { position: absolute; z-index: 4; right: var(--gutter); top: 16px; font-size: .8rem; color: var(--paper); background: rgba(15,26,46,.6); padding: 6px 10px; border-radius: 3px; }
.shrink-fallback { position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 40%, #24395e, var(--night) 70%); }
/* the first screen: headline plus two ways in, which fade as the shrinking starts */
.shrink .hero-first { margin: 4px 0 0; transition: opacity .3s; opacity: calc(1 - var(--p, 0) * 6); }
.shrink.moved .hero-first, .shrink.still .hero-first { visibility: hidden; }
.shrink.still .hero-first { display: none; }
@media (max-width: 700px) {
  .shrink-copy { left: calc(var(--gutter) + 60px); bottom: 28px; }
  .shrink:not(.still) .shrink-copy { bottom: 88px; }  /* clear of the header on first load */
  .shrink-tape { width: 40px; }
  .shrink-read { left: calc(var(--gutter) + 50px); top: 22%; }
  .shrink-stage::after { background: linear-gradient(0deg, rgba(15,26,46,.95) 0%, rgba(15,26,46,.55) 45%, rgba(15,26,46,.1) 70%); }
}
/* reduced motion: no scroll effect, show the last frame and the final words */
.shrink.still { height: auto; }
.shrink.still .shrink-stage { position: relative; height: 92vh; }
.shrink.still .shrink-frame { opacity: 0; } .shrink.still .shrink-frame:last-of-type { opacity: 1; }
.shrink.still .shrink-cap:last-of-type { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.shrink.still h1 { opacity: 1; }
.shrink.still .shrink-read b::after { content: ""; }

/* "New this month": the latest cover, big, with a slow push-in */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: 48px 0 16px; }
.feature-cover { overflow: hidden; border-radius: 3px; }
.feature-cover img { width: 100%; animation: pushin 18s ease-in-out infinite alternate; }
@keyframes pushin { from { transform: scale(1); } to { transform: scale(1.08); } }
.feature h2 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: .9; }
.feature .eyebrowless { color: var(--mist); font-size: .9rem; margin: 0 0 8px; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } }

/* The logo shrinks into place once, on the homepage */
.logo-big .logo-word span { animation: shrinkin 1.1s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc((1 - var(--s)) * 1.4s); }
@keyframes shrinkin { from { font-size: var(--h); } }
.card a:hover .cover img { transform: scale(.97); }
.cover img { transition: transform .25s; }
.kink-tile.has-art { background-size: cover; background-position: center; min-height: 200px; }
.kink-tile.has-art .kink-name { text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
@media (prefers-reduced-motion: reduce) { .logo-big .logo-word span, .feature-cover img { animation: none; } .cover img { transition: none; } }
/* reader navigation */
.reader-pages { padding-bottom: 96px; }
.reader-sheet img, .reader-sheet canvas { width: 100%; height: 100%; display: block; }
.reader-sheet.joined { margin-top: -12px; } /* slices of one long page sit flush */
.reader-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; align-items: center; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--deep); border-top: 3px solid var(--tape); }
.reader-pagebtn { flex: none; display: flex; align-items: center; gap: 8px; font: 800 1.05rem/1 var(--display); color: var(--paper); background: var(--night); border: 1px solid var(--line); border-radius: 3px; padding: 10px 12px; cursor: pointer; min-height: 44px; }
.reader-pagebtn .reader-page { color: var(--paper); font: inherit; }
.reader-caret { font-size: .7rem; color: var(--tape); transition: transform .2s; }
.reader-pagebtn[aria-expanded="true"] .reader-caret { transform: rotate(180deg); }
.reader-scrub { flex: 1; accent-color: var(--tape); height: 32px; min-width: 0; }
.reader-drawer { position: fixed; left: 0; right: 0; bottom: 67px; z-index: 6; max-height: min(62vh, 560px); overflow-y: auto; background: var(--deep); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px rgba(0,0,0,.45); padding: 12px 16px 16px; }
.reader-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; position: sticky; top: -12px; background: var(--deep); padding: 8px 0; z-index: 1; }
.reader-jump label { display: flex; align-items: center; gap: 8px; color: var(--paper); }
.reader-jump input { width: 5.5em; font: inherit; color: var(--paper); background: var(--night); border: 1px solid var(--line); border-radius: 3px; padding: 8px; min-height: 40px; }
.reader-jump .btn { margin: 0; padding: 9px 14px 8px; }
.reader-close { margin-left: auto; background: none; border: 1px solid var(--line); color: var(--paper); border-radius: 3px; padding: 8px 12px; cursor: pointer; }
.reader-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
.reader-thumbs li { cursor: pointer; text-align: center; border-radius: 3px; padding: 4px; outline-offset: 2px; }
.reader-thumbs li[aria-current] { background: var(--night); box-shadow: inset 0 0 0 2px var(--tape); }
.reader-thumb { display: block; aspect-ratio: 3 / 4; background: var(--night); overflow: hidden; border-radius: 2px; }
.reader-thumb img, .reader-thumb canvas { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.reader-thumb-n { font-size: .75rem; color: var(--mist); }
@media (min-width: 900px) { .reader-drawer { left: auto; width: 420px; top: 57px; bottom: 67px; max-height: none; border-left: 1px solid var(--line); } }

/* listening sample on audio product pages */
.sample { margin: 0 0 18px; padding: 12px 14px 14px; background: var(--deep); border: 1px solid var(--line); border-left: 3px solid var(--tape); border-radius: 10px; }
.sample figcaption { font-size: .9rem; color: var(--mist); margin: 0 0 8px; }
.sample figcaption strong { color: var(--paper); font-family: var(--display); font-size: 1.15rem; letter-spacing: .02em; margin-right: 6px; }
.sample audio { width: 100%; height: 40px; display: block; }

/* accounts, basket */
.narrow { max-width: 640px; padding-bottom: 48px; }
.auth { background: var(--deep); border: 1px solid var(--line); border-radius: 10px; padding: 18px 18px 8px; }
.auth-tabs { display: flex; gap: 6px; margin: 0 0 10px; }
.auth-tabs button { font: 600 1.05rem/1 var(--display); background: transparent; color: var(--mist); border: 0; border-bottom: 2px solid transparent; padding: 8px 4px; cursor: pointer; }
.auth-tabs button[aria-selected="true"] { color: var(--paper); border-bottom-color: var(--tape); }
.auth-hint, .muted { color: var(--mist); font-size: .9rem; }
.auth form { display: grid; gap: 12px; margin: 0 0 8px; }
.auth label { display: grid; gap: 4px; font-size: .95rem; }
.auth label.check { display: flex; gap: 10px; align-items: flex-start; }
.auth input[type=email], .auth input[type=password] { font: inherit; color: var(--paper); background: var(--night); border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; min-height: 44px; }
.auth input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--tape); margin-top: 3px; flex: none; }
.auth .btn { justify-self: start; }
.auth-msg { min-height: 1.2em; color: var(--steel); font-size: .95rem; }
.auth-msg.err { color: #ff9a8a; }
.auth-warn { background: rgba(242,194,48,.12); border-left: 3px solid var(--tape); padding: 10px 12px; border-radius: 4px; font-size: .95rem; }
.linkish { background: none; border: 0; color: var(--steel); font: inherit; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px 0; }
.owned-note { font: 800 1.2rem/1 var(--display); color: var(--tape); }
.bk-list { list-style: none; padding: 0; margin: 0 0 12px; }
.bk-item { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bk-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; background: var(--deep); }
.bk-main { display: grid; gap: 2px; min-width: 0; }
.bk-main a { color: var(--paper); font-weight: 600; text-decoration: none; }
.bk-kind { color: var(--mist); font-size: .85rem; }
.bk-price { font: 800 1.2rem/1 var(--display); color: var(--tape); }
.bk-skip .bk-price { color: var(--mist); }
.bk-total { text-align: right; font-size: 1.2rem; margin: 6px 0 18px; }
.bk-total b { font: 800 1.8rem/1 var(--display); color: var(--tape); margin-left: 8px; }
.bk-who { color: var(--mist); font-size: .9rem; margin: 0 0 8px; }
.btn.big { font-size: 1.4rem; padding: 14px 26px; }
.bk-done { background: var(--deep); border: 1px solid var(--line); border-left: 3px solid var(--tape); border-radius: 10px; padding: 18px; }
.lib-signin { background: var(--deep); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0 0 18px; }
.lib-signin p { margin: 0 0 8px; }
@media (max-width: 520px) { .bk-item { grid-template-columns: 52px 1fr auto; } .bk-item img { width: 52px; height: 52px; } .bk-item .linkish { grid-column: 2 / -1; justify-self: start; padding: 0; } }

.bk-form { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.commission-note { color: var(--paper); }

.link-box { margin-top: 16px; }
.link-box h2 { font-size: 1.5rem; margin: 0 0 6px; }

/* the big player: tap the bar and it opens across the middle of the screen */
.player-text, .player img { cursor: pointer; }
.player-expand { background: var(--tape); color: var(--night); border: 0; border-radius: 3px; padding: 8px 10px; font: 800 .95rem/1 var(--display); cursor: pointer; }
.player-big { position: fixed; inset: 0; z-index: 40; background: rgba(6, 10, 20, .78); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.player-big[hidden] { display: none; }
.pb-card { width: min(640px, 100%); background: var(--deep); border: 1px solid var(--line); border-top: 3px solid var(--tape); border-radius: 14px; padding: 18px 20px 22px; text-align: center; position: relative; }
.pb-min { position: absolute; top: 10px; right: 10px; background: none; border: 1px solid var(--line); color: var(--paper); border-radius: 999px; padding: 6px 12px; cursor: pointer; font: inherit; font-size: .85rem; }
.pb-cover { width: min(240px, 55vw); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin: 18px auto 10px; }
.pb-title { font: 800 1.5rem/1.05 var(--display); margin: 0 0 16px; }
.pb-seek { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
.pb-seek::-webkit-slider-runnable-track { height: 12px; border-radius: 999px; background: linear-gradient(to right, var(--tape) var(--fill, 0%), var(--line) var(--fill, 0%)); }
.pb-seek::-moz-range-track { height: 12px; border-radius: 999px; background: var(--line); }
.pb-seek::-moz-range-progress { height: 12px; border-radius: 999px; background: var(--tape); }
.pb-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -9px; border-radius: 50%; background: var(--paper); border: 4px solid var(--tape); box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.pb-seek::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 4px solid var(--tape); }
.pb-times { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; color: var(--mist); font-size: .95rem; margin: 2px 0 14px; }
.pb-ctl { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 0 0 14px; }
.pb-ctl button { background: none; border: 1px solid var(--line); color: var(--paper); border-radius: 999px; min-width: 64px; height: 48px; font: 700 1rem/1 var(--display); cursor: pointer; }
.pb-ctl .pb-play { background: var(--tape); color: var(--night); border: 0; width: 72px; height: 72px; font-size: 1.6rem; }
.pb-speed { display: inline-flex; gap: 6px; }
.pb-speed button { background: none; border: 1px solid var(--line); color: var(--mist); border-radius: 999px; padding: 6px 12px; cursor: pointer; font: inherit; font-size: .85rem; }
.pb-speed button[aria-pressed="true"] { color: var(--night); background: var(--paper); border-color: var(--paper); }
/* reader: welcome back, first-time intro */
.reader-toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 30; background: var(--deep); border: 1px solid var(--line); border-left: 3px solid var(--tape); border-radius: 10px; padding: 10px 12px; display: flex; gap: 12px; align-items: center; width: max-content; max-width: calc(100vw - 24px); box-shadow: 0 8px 30px rgba(0,0,0,.5); font-size: .95rem; transition: opacity .35s; }
.reader-toast.out { opacity: 0; }
.reader-toast button { background: none; border: 0; color: var(--steel); font: inherit; text-decoration: underline; cursor: pointer; padding: 4px; white-space: nowrap; }
.reader-toast [data-ok] { text-decoration: none; color: var(--mist); }
.reader-intro { max-width: 460px; width: calc(100vw - 32px); background: var(--deep); color: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--tape); border-radius: 14px; padding: 20px 22px; }
.reader-intro::backdrop { background: rgba(6, 10, 20, .7); }
.reader-intro h2 { font-size: 1.8rem; margin: 0 0 10px; }
.reader-intro ul { padding-left: 18px; margin: 0 0 16px; }
.reader-intro li { margin: 0 0 10px; line-height: 1.5; }

/* short laptop screens: smaller captions so they never climb into the readout */
@media (max-height: 720px) and (min-width: 701px) { .shrink-cap { font-size: clamp(2rem, 4.6vw, 3.4rem); } .shrink-cap small { font-size: .98rem; margin-top: 8px; } .shrink-cap .hero-actions { margin-top: 12px; } .shrink-copy { bottom: 28px; } }

/* ---------- Shrink Files 3D promo: the game site's warm dark and gold, so it reads as somewhere else to go ---------- */
.sf3d { --g-bg: #16121a; --g-panel: #1f1925; --g-line: #3b3043; --g-gold: #f2b53a; --g-soft: #d3c8bb; --g-dim: #a69b91; --g-ink: #fbf5ea;
  margin: 48px 0 8px; padding: clamp(18px, 4vw, 44px); border-radius: 16px; color: var(--g-ink); border: 1px solid var(--g-line);
  background: radial-gradient(90% 60% at 100% 0%, rgba(242, 181, 58, .13), transparent 60%), var(--g-bg); }
.sf3d a { color: inherit; }
.sf3d h3 { color: var(--g-ink); }
.sf3d-mark { font: 800 1rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--g-gold); margin: 0 0 12px; }
.sf3d-shrink { font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .92; margin: 0; color: var(--g-ink); }
.sf3d-shrink .big { display: block; }
.sf3d-shrink .w { display: inline-block; margin-right: .18em; color: var(--g-gold); }
.sf3d-shrink .w1 { font-size: .7em; } .sf3d-shrink .w2 { font-size: .6em; } .sf3d-shrink .w3 { font-size: .51em; } .sf3d-shrink .w4 { font-size: .43em; }
.sf3d-shrink .w5 { font-size: .36em; } .sf3d-shrink .w6 { font-size: .3em; } .sf3d-shrink .w7 { font-size: max(.25em, 13px); margin-right: 0; }
.sf3d-lede { max-width: 46em; margin: 14px 0 0; color: var(--g-soft); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.sf3d-hero { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(14px, 2vw, 24px); margin-top: clamp(20px, 3vw, 34px); }
.sf3d-tv { margin: 0; }
.sf3d-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.sf3d-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sf3d-cover { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; text-decoration: none; }
.sf3d-cover img { width: 100%; height: 100%; object-fit: cover; }
.sf3d-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(10, 6, 12, .1), rgba(10, 6, 12, .7)); }
.sf3d-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: clamp(64px, 8vw, 92px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--g-gold); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(242, 181, 58, .22); transition: transform .2s; }
.sf3d-play svg { width: 38%; height: 38%; margin-left: 8%; fill: #1a1206; }
.sf3d-cover:hover .sf3d-play { transform: translate(-50%, -50%) scale(1.06); }
.sf3d-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; background: linear-gradient(transparent, rgba(8, 5, 10, .85)); }
.sf3d-cap b { font: 800 clamp(1.3rem, 2.2vw, 1.8rem)/1 var(--display); }
.sf3d-cap span { font-size: .85rem; color: var(--g-soft); white-space: nowrap; }
.sf3d-tv figcaption { margin-top: 8px; font-size: .85rem; color: var(--g-dim); }
.sf3d-tv figcaption a { color: var(--g-gold); }
.sf3d-new { display: flex; flex-direction: column; background: var(--g-panel); border: 1px solid var(--g-line); border-radius: 12px; overflow: hidden; text-decoration: none; transition: border-color .15s; }
.sf3d-new:hover { border-color: var(--g-gold); }
.sf3d-new img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.sf3d-new-b { display: flex; flex-direction: column; gap: 10px; padding: clamp(14px, 1.8vw, 22px); flex: 1; }
.sf3d-badge { align-self: flex-start; font: 800 .85rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: #1a1206; background: var(--g-gold); border-radius: 999px; padding: 6px 11px 5px; }
.sf3d-new-h { font: 800 clamp(1.5rem, 2.4vw, 2rem)/1 var(--display); }
.sf3d-new-t { color: var(--g-soft); font-size: .95rem; }
.sf3d .btn { background: var(--g-gold); border-color: var(--g-gold); color: #1a1206; }
.sf3d .btn:hover, .sf3d-new:hover .btn { background: #ffc95e; border-color: #ffc95e; color: #1a1206; }
.sf3d .btn.ghost { background: transparent; color: var(--g-ink); border-color: var(--g-line); }
.sf3d .btn.ghost:hover { border-color: var(--g-gold); }
.sf3d-new .btn { margin: auto 0 0; align-self: flex-start; }
.sf3d-size { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 20px; margin-top: clamp(26px, 4vw, 44px); }
.sf3d-size h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0; }
.sf3d-size p { margin: 0; color: var(--g-dim); font-size: .95rem; }
.sf3d-tape { height: 28px; margin: 12px 0 16px; border-radius: 3px; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 10px 4px; font: 800 .8rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: #2a1c00;
  background: linear-gradient(90deg, rgba(40, 26, 0, .8) 1.5px, transparent 1.5px) 0 0 / 48px 13px repeat-x, linear-gradient(90deg, rgba(40, 26, 0, .5) 1px, transparent 1px) 0 0 / 12px 7px repeat-x, var(--tape); }
.sf3d-tape span { background: var(--tape); padding: 0 4px; }
.sf3d-games { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); }
.sf3d-g { display: flex; flex-direction: column; height: 100%; background: var(--g-panel); border: 1px solid var(--g-line); border-radius: 10px; overflow: hidden; text-decoration: none; transition: border-color .15s; }
.sf3d-g:hover { border-color: var(--g-gold); }
.sf3d-g img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sf3d-g-b { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.sf3d-g-t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sf3d-g-t b { font: 800 1.4rem/1 var(--display); }
.sf3d-g-t i { font: normal 800 1.15rem/1 var(--display); color: var(--g-gold); white-space: nowrap; }
.sf3d-you { font-size: .88rem; color: var(--g-soft); }
.sf3d-exp { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); margin-top: clamp(20px, 3vw, 32px); background: var(--g-panel); border: 1px solid var(--g-line); border-radius: 12px; overflow: hidden; }
.sf3d-exp > img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.sf3d-exp-b { padding: clamp(14px, 2vw, 26px); }
.sf3d-exp-b h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 4px; }
.sf3d-exp-b p { margin: 0; color: var(--g-dim); font-size: .95rem; }
.sf3d-exp-b ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.sf3d-exp-b li a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--g-line); text-decoration: none; }
.sf3d-exp-b li b { font: 800 1.15rem/1.1 var(--display); }
.sf3d-exp-b li i { font: normal 800 1rem/1.1 var(--display); color: var(--g-gold); white-space: nowrap; }
.sf3d-exp-b li a:hover b { color: var(--g-gold); }
.sf3d-foot { display: flex; flex-wrap: wrap; gap: 12px; margin: clamp(22px, 3vw, 34px) 0 0; padding-top: 20px; border-top: 1px solid var(--g-line); }
.sf3d-foot .btn { margin: 0; }
@media (max-width: 900px) { .sf3d-hero { grid-template-columns: 1fr; } .sf3d-games { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sf3d-exp { grid-template-columns: 1fr; } .sf3d-exp > img { min-height: 0; aspect-ratio: 2 / 1; } }
@media (max-width: 560px) { .sf3d-g-t { flex-direction: column; gap: 3px; } .sf3d-g-t b { font-size: 1.15rem; } .sf3d-you { font-size: .8rem; } .sf3d-exp-b ul { grid-template-columns: 1fr; } .sf3d-cap span { display: none; } .sf3d-foot .btn { width: 100%; text-align: center; } }

/* ---------- Resonance promo: violet, like its teaser ---------- */
.res { --v: #9b6bff; --v2: #5b2bd6; --v-soft: #d9d1ee; --v-line: #3a2a6b; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(18px, 4vw, 48px); align-items: center;
  margin: 48px 0 8px; padding: clamp(18px, 4vw, 44px); border-radius: 16px; border: 1px solid var(--v-line);
  background: radial-gradient(70% 90% at 85% 40%, rgba(155, 107, 255, .28), transparent 65%), radial-gradient(50% 60% at 0% 100%, rgba(91, 43, 214, .25), transparent 70%), #120d24; }
.res-mark { font: 800 1rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; color: #c9b2ff; margin: 0 0 12px; }
.res h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .92; margin: 0 0 14px; }
.res h2 em { font-style: normal; color: #c9b2ff; display: block; }
.res-lede { color: var(--v-soft); max-width: 40em; margin: 0 0 16px; }
.res-tiers { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; }
.res-tiers li { font: 800 .95rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; border: 1px solid #4b3a86; border-radius: 999px; padding: 8px 12px 7px; color: #e8e0ff; }
.res-tiers li:nth-child(2) { border-color: #7c5ce0; }
.res-tiers li:nth-child(3) { border-color: var(--v); background: rgba(155, 107, 255, .18); }
.res-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0; }
.res .btn { background: var(--v); border-color: var(--v); color: #0f0820; margin: 0; }
.res .btn:hover { background: #fff; border-color: #fff; color: #0f0820; }
.res-price { color: var(--v-soft); font: 600 1.1rem/1.2 var(--display); letter-spacing: .02em; }
.res-art { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.res-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 150px; }
.res-wave i { flex: 1; max-width: 8px; height: calc(100% * var(--h, .5)); border-radius: 4px; background: linear-gradient(#d8c6ff, var(--v2, #5b2bd6)); transform-origin: 50% 50%;
  animation: resbar 1.5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.13s); }
@keyframes resbar { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.res-sample { margin: 0; padding: 12px 14px 14px; background: rgba(15, 8, 32, .6); border: 1px solid var(--v-line); border-left: 3px solid var(--v); border-radius: 10px; }
.res-sample figcaption { font-size: .9rem; color: #cfc6e6; margin: 0 0 8px; }
.res-sample figcaption strong { color: #fff; font: 800 1.15rem/1 var(--display); letter-spacing: .02em; margin-right: 6px; }
.res-sample audio { width: 100%; height: 40px; display: block; }
.res-line { font-size: .95rem; color: var(--mist); margin: -6px 0 18px; }
.res-line a { color: #c9b2ff; }
@media (max-width: 800px) { .res { grid-template-columns: 1fr; } .res-wave { height: 90px; } }

/* shop: the two places that aren't in the catalogue's checkout */
.promo-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 24px; }
.ps { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); border-radius: 12px; overflow: hidden; text-decoration: none; color: #fbf5ea; min-height: 150px; transition: border-color .15s; }
.ps-games { background: #16121a; border: 1px solid #3b3043; }
.ps-res { background: radial-gradient(80% 100% at 20% 50%, rgba(155, 107, 255, .3), transparent 70%), #120d24; border: 1px solid #3a2a6b; }
.ps:hover { color: #fbf5ea; border-color: var(--tape); }
.ps > img { width: 100%; height: 100%; object-fit: cover; }
.ps .res-wave, .sister-res .res-wave { height: auto; padding: 18px; }
.ps-b { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; }
.ps-b b { font: 800 1.45rem/1 var(--display); }
.ps-b > span { font-size: .9rem; color: #d3c8bb; }
.ps-b > .ps-go { margin-top: auto; font: 800 1.1rem/1 var(--display); letter-spacing: .03em; color: #f2b53a; }
.ps-res .ps-b > .ps-go { color: #c9b2ff; }
@media (max-width: 760px) { .promo-strip { grid-template-columns: 1fr; } }

/* homepage series band: the two sister sites, with pictures */
.sister { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sister-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); height: 100%; min-height: 170px; border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--paper); background: #16121a; border: 1px solid #3b3043; }
.sister-card > img { width: 100%; height: 100%; object-fit: cover; }
.sister-res { background: radial-gradient(80% 100% at 20% 50%, rgba(155, 107, 255, .3), transparent 70%), #120d24; border-color: #3a2a6b; }
.sister-b { padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; }
.sister-card:hover { color: var(--paper); border-color: var(--tape); }
.sister-card:hover .series-name { color: var(--tape); }
@media (max-width: 700px) { .sister { grid-template-columns: 1fr; } }

/* game pages and /games/ */
.game-you { font: 800 1.35rem/1.1 var(--display); letter-spacing: .02em; color: var(--tape); margin: -4px 0 16px; }
.game-trailer { margin: 0 0 24px; }
.game-trailer video { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #000; display: block; }
.game-trailer figcaption { font-size: .85rem; color: var(--mist); margin-top: 6px; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px 16px; }
.shots figure { margin: 0; }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--deep); }
.shots figcaption { font-size: .9rem; color: var(--mist); margin-top: 6px; }
.band-lede { color: var(--mist); margin: -8px 0 16px; }
.faq dl { margin: 0; max-width: 72ch; }
.faq dt { font: 800 1.35rem/1.1 var(--display); margin: 18px 0 6px; }
.faq dd { margin: 0; color: var(--mist); }
.q-games-lede { color: var(--mist); margin: -6px 0 12px; }
@media (prefers-reduced-motion: reduce) { .res-wave i { animation: none; } .sf3d-play, .sf3d-g, .sf3d-new, .ps { transition: none; } }
/* create an account: first ask about an existing Games account */
.auth-ask { margin: 4px 0 8px; }
.auth-q { font: 800 1.5rem/1.1 var(--display); margin: 0 0 6px; }
.auth-hint.small { font-size: .82rem; margin: -6px 0 4px; }

/* ---------- blog (after hillsidespanish.com's: a calm single column of cards, tag + date + read time, accent in the title) ---------- */
.blog-head { padding: 28px 0 8px; max-width: 46em; }
.blog-kicker { font: 800 1rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--tape); margin: 0 0 10px; }
.blog-head h1 { font-size: clamp(2.8rem, 7vw, 5rem); line-height: .92; margin: 0 0 14px; }
.blog-head h1 em, .bc-t em, .post-head h1 em { font-style: normal; color: var(--tape); }
.blog-head p { color: var(--mist); margin: 0; }
.blog-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.chip-btn { font: 600 1rem/1 var(--display); letter-spacing: .02em; color: var(--paper); background: none; border: 1px solid var(--line); border-radius: 99px; padding: 8px 12px 7px; cursor: pointer; }
.chip-btn:hover { border-color: var(--tape); }
.chip-btn[aria-pressed="true"] { background: var(--tape); border-color: var(--tape); color: var(--night); }
.blog-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 900px; }
.blog-list-3 { max-width: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.blog-card > a { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 0; background: var(--deep); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--paper); transition: border-color .15s, transform .15s; height: 100%; }
.blog-card > a:hover { border-color: var(--tape); transform: translateY(-2px); }
.bc-img { order: 2; }
.bc-img img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; }
.bc-b { display: flex; flex-direction: column; gap: 8px; padding: clamp(16px, 2.4vw, 26px); }
.blog-list-3 .blog-card > a { grid-template-columns: 1fr; }
.blog-list-3 .bc-img { order: 0; }
.blog-list-3 .bc-img img { aspect-ratio: 16 / 9; min-height: 0; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: .82rem; color: var(--mist); margin: 0; }
.meta .tag { font: 800 .75rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--night); background: var(--tape); border-radius: 99px; padding: 5px 9px 4px; }
.meta .dot { opacity: .6; }
.bc-t { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1; margin: 2px 0 0; }
.blog-list-3 .bc-t { font-size: 1.5rem; }
.bc-s { color: var(--mist); font-size: .95rem; }
.bc-more { margin-top: auto; font: 800 .95rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.blog-card > a:hover .bc-more { color: var(--tape); }
.blog-more-wrap { margin: 24px 0 0; }
@media (max-width: 640px) { .blog-card > a { grid-template-columns: 1fr; } .bc-img { order: 0; } .bc-img img { aspect-ratio: 16 / 9; min-height: 0; } }

.post { max-width: 760px; margin: 0 auto; padding: 18px 0 8px; }
.post-head h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: .94; margin: 14px 0 20px; }
.post-hero { margin: 0 0 28px; }
.post-hero img { width: 100%; border-radius: 12px; }
.post-body { max-width: none; font-size: 1.12rem; }
.post-body h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 1.5em 0 .4em; }
.post-body h3 { font-size: 1.55rem; margin: 1.3em 0 .35em; }
.post-body h4 { font-size: 1.3rem; margin: 1.2em 0 .3em; }
.post-body ul, .post-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.post-body li { margin-bottom: .35em; }
.post-body blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--tape); font-style: italic; color: var(--paper); }
.post-body hr { border: 0; height: 12px; margin: 2em 0; background: var(--ticks); opacity: .55; }
.post-fig { margin: 1.6em 0; }
.post-fig img { width: 100%; height: auto; border-radius: 10px; background: var(--deep); }
.post-fig figcaption { font-size: .88rem; color: var(--mist); margin-top: 8px; }
.post-video { margin: 1.6em 0; }
.yt-single { display: block; }
.yt-single img { width: 100%; height: 100%; object-fit: cover; }
.post-products { margin: 1.4em 0; }
.post-foot { margin: 36px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.post-foot-h { font: 800 1.1rem/1 var(--display); margin: 0 0 12px; }
@media (prefers-reduced-motion: reduce) { .blog-card > a { transition: none; } .blog-card > a:hover { transform: none; } }

/* ---------- back office (/admin/) ---------- */
.adm { max-width: 1240px; }
.adm h2 { font-size: 1.9rem; margin: 0 0 .4em; }
.adm section { background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: clamp(14px, 2.4vw, 24px); margin: 0 0 16px; }
.adm-top { margin: 0 0 16px; }
.adm-pub-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.adm-pub-row p { margin: 0 0 4px; }
.adm-pub pre { white-space: pre-wrap; font-size: .8rem; max-height: 240px; overflow: auto; background: var(--night); padding: 10px; border-radius: 6px; }
.adm-ok { color: #7fd48a; } .adm-warn { color: #ffb36b; }
.adm-list ul { list-style: none; margin: 0; padding: 0; }
.adm-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.adm-list .btn { margin: 0; padding: 9px 14px 8px; font-size: 1rem; }
.adm-cover { width: 56px; height: 56px; border-radius: 4px; overflow: hidden; background: var(--night); flex: none; }
.adm-cover img { width: 100%; height: 100%; object-fit: cover; }
.adm-name { flex: 1 1 240px; display: flex; flex-direction: column; } .adm-name small { color: var(--mist); }
.adm-chip { font: 800 .75rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; border-radius: 99px; padding: 5px 9px 4px; border: 1px solid var(--line); }
.adm-ready { background: var(--tape); color: var(--night); border-color: var(--tape); } .adm-published { color: #7fd48a; border-color: #3d6b45; }
.adm-help ol { margin: 0; padding-left: 1.2em; } .adm-help li { margin-bottom: .4em; }
.adm-ed label { display: block; margin: 0 0 14px; font-weight: 600; }
.adm-ed input:not([type=checkbox]):not([type=file]), .adm-ed select, .adm-ed textarea { display: block; width: 100%; margin-top: 6px; font: 400 1rem/1.4 var(--serif); color: var(--paper); background: var(--night); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; }
.adm-ed textarea { resize: vertical; }
.adm-ed .check { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; margin: 0 14px 8px 0; }
.adm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 14px; align-items: end; }
.adm-free { align-self: center; }
.adm-slug { display: flex; align-items: center; gap: 2px; font-weight: 400; color: var(--mist); margin-top: 6px; }
.adm-slug input { display: inline-block !important; width: auto !important; flex: 1; margin: 0 !important; }
.adm-drop { display: flex !important; align-items: center; justify-content: center; gap: 10px; min-height: 96px; border: 2px dashed var(--line); border-radius: 10px; cursor: pointer; color: var(--mist); text-align: center; padding: 14px; }
.adm-drop.over, .adm-drop:hover { border-color: var(--tape); color: var(--paper); }
.adm-drop input { max-width: 220px; }
.adm-files { list-style: none; margin: 10px 0 0; padding: 0; } .adm-files li { padding: 6px 0; border-top: 1px solid var(--line); } .adm-files small { color: var(--mist); }
.adm-covers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; } .adm-covers img { width: 120px; height: 120px; object-fit: cover; border-radius: 6px; }
.adm-sample audio { width: 100%; }
.adm-tags { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px 4px; margin: 0 0 14px; } .adm-tags legend { font-weight: 600; padding: 0 6px; }
.adm-contents { list-style: none; padding: 0; margin: 0 0 12px; } .adm-contents li { padding: 5px 0; border-top: 1px solid var(--line); }
.adm-actions { position: sticky; bottom: 0; background: var(--night); padding: 12px 0; margin: 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.adm-actions .btn { margin: 0; }
.adm-tabs { display: flex; gap: 6px; margin: 0 0 16px; border-bottom: 1px solid var(--line); }
.adm-tabs button { font: 800 1.25rem/1 var(--display); letter-spacing: .02em; color: var(--mist); background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px 9px; cursor: pointer; }
.adm-tabs button[aria-selected="true"] { color: var(--paper); border-bottom-color: var(--tape); }
.adm-row { display: flex; gap: 10px; flex-wrap: wrap; } .adm-row input { flex: 1 1 260px; font: 400 1rem var(--serif); color: var(--paper); background: var(--night); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; }
.adm-row .btn { margin: 0; }
.adm-links { display: grid; gap: 12px; background: none !important; border: 0 !important; padding: 0 !important; }
.adm-link { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--deep); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--paper); }
.adm-link:hover { border-color: var(--tape); color: var(--paper); } .adm-link b { font: 800 1.5rem/1 var(--display); } .adm-link span { color: var(--mist); }
.adm-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; position: sticky; top: 0; z-index: 2; background: var(--deep); padding: 6px 0; }
.adm-toolbar button, .adm-tb-file { font: 600 .95rem/1 var(--display) !important; letter-spacing: .02em; color: var(--paper); background: var(--night); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; cursor: pointer; margin: 0 !important; display: inline-block !important; }
.adm-toolbar button:hover, .adm-tb-file:hover { border-color: var(--tape); }
.adm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.adm-split textarea { font: 400 .95rem/1.5 ui-monospace, Menlo, monospace !important; min-height: 520px; }
.adm-preview { background: var(--night); border: 1px solid var(--line); border-radius: 8px; padding: 6px 16px 16px; max-height: 640px; overflow: auto; margin-top: 28px; }
.adm-preview .post-body { font-size: 1rem; }
.adm-pv-cards { display: flex; flex-wrap: wrap; gap: 10px; margin: 1em 0; } .adm-pv-card { display: flex; flex-direction: column; width: 140px; font-size: .85rem; } .adm-pv-card img { width: 140px; height: 140px; object-fit: cover; border-radius: 4px; }
.adm-topic-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 14px; } .adm-topic-chips .chip-btn { font-size: .85rem; padding: 6px 9px 5px; }
@media (max-width: 860px) { .adm-split { grid-template-columns: 1fr; } .adm-preview { margin-top: 0; } }

/* reader: the text view (Kindle-style: the type grows inside the margins, pictures keep their size) */
body[data-rt-theme="paper"] { --rt-bg: #fbf8f3; --rt-fg: #1f1c19; --rt-muted: #6d655c; --rt-accent: #a5401f; --rt-rule: #ddd3c4; --rt-box: #f1ebe1; }
body[data-rt-theme="sepia"] { --rt-bg: #f3e9d2; --rt-fg: #3a2e20; --rt-muted: #75644d; --rt-accent: #8f4519; --rt-rule: #d8c7a3; --rt-box: #e9dcc0; }
body[data-rt-theme="dark"] { --rt-bg: #11192a; --rt-fg: #e4e0d8; --rt-muted: #9ba6b9; --rt-accent: #f2c230; --rt-rule: #2b3a57; --rt-box: #1a2540; }
body.rt-on { background: var(--rt-bg); }
.reader-pages.rt-main { display: block; padding: 0 0 110px; overflow: visible; }
.rt { max-width: var(--rt-col, 700px); margin: 0 auto; padding: 28px var(--rt-pad, 22px) 24px; color: var(--rt-fg); font: 400 var(--rt-size, 19px)/var(--rt-lh, 1.62) var(--serif); overflow-wrap: break-word; }
body[data-rt-font="sans"] .rt { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
body[data-rt-align="justify"] .rt p:not(.rt-c):not(.rt-cap):not(.rt-k):not(.rt-m):not(.rt-l):not(.rt-g):not(.rt-v) { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.rt p { margin: 0 0 .85em; }
.rt h2, .rt h3, .rt h4 { font-family: var(--display); font-weight: 800; line-height: 1.05; color: var(--rt-fg); margin: 1.5em 0 .55em; letter-spacing: .01em; }
.rt h2 { font-size: 2em; }
.rt h3 { font-size: 1.5em; }
.rt h4 { font-size: 1.2em; }
.rt a { color: var(--rt-accent); }
.rt b { font-weight: 600; }
.rt .rt-c { text-align: center; }
.rt .rt-s { font-size: .86em; color: var(--rt-muted); }
.rt .rt-k { font-size: .7em; letter-spacing: .18em; text-transform: uppercase; color: var(--rt-muted); text-align: center; }
.rt .rt-q { border-left: 3px solid var(--rt-rule); padding-left: .9em; }
.rt .rt-m { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .86em; line-height: 1.55; background: var(--rt-box); border-left: 3px solid var(--rt-accent); border-radius: 8px; padding: .7em .9em; }
.rt .rt-b { background: var(--rt-box); border-radius: 8px; padding: .7em .9em; }
/* numbered list (a magazine's "The Stories"): big accent number, title on its own line, then the blurb */
.rt .rt-l { display: grid; grid-template-columns: 1.8em 1fr; column-gap: .7em; align-items: baseline; margin: 0; padding: .95em 0; border-bottom: 1px solid var(--rt-rule); }
.rt h3 + .rt-l, .rt h4 + .rt-l { border-top: 1px solid var(--rt-rule); }
.rt .rt-l + :not(.rt-l) { margin-top: 1.6em; }
.rt-ln { font: 800 1.3em/1 var(--display); color: var(--rt-accent); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.rt-lb { font-size: .93em; line-height: 1.55; }
.rt-lt { display: block; font: 800 1.12em/1.25 var(--display); color: var(--rt-fg); letter-spacing: .01em; margin-bottom: .25em; }
/* a video link ("Hot YouTube videos"): one clean line each */
.rt .rt-v { margin: .15em 0 .8em; font-weight: 600; line-height: 1.4; }
.rt .rt-v a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* a row of tags (fetishes featured) */
.rt .rt-g { display: flex; flex-wrap: wrap; gap: .45em; margin: 0 0 1.6em; }
.rt-g span { font-size: .76em; line-height: 1.3; padding: .38em .8em; border: 1px solid var(--rt-rule); border-radius: 999px; background: var(--rt-box); color: var(--rt-fg); }
.rt .rt-cap { font-size: .8em; font-style: italic; text-align: center; color: var(--rt-muted); margin: -.4em 0 1.4em; }
.rt-fig { margin: 1.4em auto; max-width: 100%; }
.rt-fig img { width: 100%; height: auto; border-radius: 4px; cursor: zoom-in; background: var(--rt-box); }
.rt-fig.whole img { width: auto; max-width: 100%; max-height: 92vh; margin: 0 auto; }
.rt-hr { border: 0; height: 1px; width: 36%; margin: 2em auto; background: var(--rt-rule); }
.rt-end { margin: 3em 0 0; padding-top: 1.2em; border-top: 1px solid var(--rt-rule); text-align: center; font-size: .85em; color: var(--rt-muted); }
.rt-lightbox { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(5, 8, 15, .95); }
.rt-lightbox::backdrop { background: rgba(5, 8, 15, .95); }
.rt-lightbox img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-out; }
.rt-lb-close { position: fixed; top: 12px; right: 12px; font: 800 1.1rem/1 var(--display); color: var(--paper); background: var(--deep); border: 1px solid var(--line); border-radius: 3px; padding: 10px 13px; cursor: pointer; }
/* reading settings (Aa) */
.reader-aa { font-family: var(--serif) !important; font-weight: 600 !important; }
.reader-aa[aria-expanded="true"] { border-color: var(--tape) !important; }
.reader-settings { position: fixed; top: 60px; right: 12px; z-index: 8; width: min(380px, calc(100vw - 24px)); max-height: calc(100vh - 150px); overflow-y: auto; background: var(--deep); color: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--tape); border-radius: 12px; padding: 6px 16px 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.rs-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rs-label { font-size: .9rem; color: var(--mist); }
.rs-seg, .rs-size-ctl { display: flex; align-items: center; gap: 4px; }
.rs-seg button, .rs-size-ctl button { font: 600 .88rem/1 var(--serif); color: var(--paper); background: var(--night); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; min-height: 38px; cursor: pointer; }
.rs-size-ctl button { min-width: 46px; font-size: 1rem; }
.rs-size-ctl button:disabled { opacity: .4; cursor: default; }
.rs-seg button[aria-pressed="true"] { border-color: var(--tape); box-shadow: inset 0 0 0 1px var(--tape); }
.rs-size { min-width: 3.4em; text-align: center; font-variant-numeric: tabular-nums; }
.rs-seg .rs-sans { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.rs-themes .rs-paper { background: #fbf8f3; color: #1f1c19; }
.rs-themes .rs-sepia { background: #f3e9d2; color: #3a2e20; }
.rs-themes .rs-dark { background: #11192a; color: #e4e0d8; }
.rs-mode { padding-top: 14px; }
.rs-switch { width: 100%; margin: 0; }
.rs-note { font-size: .8rem; color: var(--mist); margin: 8px 0 0; line-height: 1.45; }
.reader-settings.pages-mode .rs-row { display: none; }
.reader-thumb.none { display: none; }
.reader-dl .dl-icon { display: none; }
@media (max-width: 420px) { .reader-tools { gap: 4px; } .reader-tools button, .reader-dl { padding: 8px 10px; min-width: 38px; } .reader-dl .dl-word { display: none; } .reader-dl .dl-icon { display: inline; } .rs-seg button { padding: 8px 8px; } }

/* back office: emails */
.adm-mail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.adm-mprev { position: sticky; top: 12px; }
.adm-mprev p { margin: 0 0 6px; }
.adm-mprev iframe { width: 100%; height: calc(100vh - 70px); min-height: 520px; border: 1px solid var(--line); border-radius: 10px; background: #0f1a2e; }
@media (max-width: 1000px) { .adm-mail { grid-template-columns: 1fr; } .adm-mprev { position: static; } .adm-mprev iframe { height: 680px; } }
.adm-mblk { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px 2px; margin: 0 0 10px; background: var(--night); }
.adm-mblk-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: .92rem; }
.adm-mblk-h .linkish { margin-left: 6px; }
.adm-mblk > input, .adm-mblk > textarea { margin: 0 0 10px !important; }
.adm-mimg { max-width: 220px; border-radius: 6px; margin: 4px 0 8px; }
.adm-madd .btn { margin: 4px 4px 0 0; padding: 8px 12px 7px; font-size: 1rem; }
.adm-picked { list-style: none; padding: 0; margin: 0 0 10px; } .adm-picked li { padding: 4px 0; border-top: 1px solid var(--line); }
.adm-mnums { display: flex; gap: 28px; flex-wrap: wrap; margin: 0 0 8px; } .adm-mnums p { margin: 0; }
.adm-mnums b { display: block; font: 800 2.2rem/1 var(--display); color: var(--tape); } .adm-mnums span { color: var(--mist); font-size: .9rem; }
.adm-maudf fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 4px; }
.adm-maudf .check { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px; }
.adm-maudf input[type=number], .adm-maudf select { display: inline-block !important; width: auto !important; margin: 0 !important; padding: 6px 8px !important; }
.adm-mcount { margin: 8px 0 0; }
.adm-mprog { display: flex; align-items: center; gap: 10px; margin: 8px 0; } .adm-mprog progress { flex: 1; height: 14px; accent-color: var(--tape); }
.adm-mtable { border-collapse: collapse; margin: 6px 0; } .adm-mtable th { text-align: left; font-weight: 600; padding: 4px 18px 4px 0; color: var(--mist); } .adm-mtable td { padding: 4px 0; }
.adm-m-sending, .adm-m-paused { color: var(--tape); border-color: var(--tape); } .adm-m-sent { color: #7fd48a; border-color: #3d6b45; }
.bk-news { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: .92rem; color: var(--mist); }
/* kink pages: the strongest matches get a small label */
.top-match { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--tape); color: var(--night); font-size: .68rem; font-weight: 700; letter-spacing: .02em; vertical-align: 1px; }
/* shop: Search and Clear buttons at the end of the filters */
.filters .f-actions { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.filters .f-go { min-height: 44px; padding: 0 22px; font-size: 1rem; cursor: pointer; }
.filters .f-clear { min-height: 44px; padding: 0 14px; background: none; border: 1px solid var(--line); border-radius: 3px; color: var(--paper); font: inherit; font-size: .95rem; cursor: pointer; }
.filters .f-clear:hover { border-color: var(--mist); }
@media (max-width: 600px) { .filters .f-actions { flex: 1 1 100%; } .filters .f-go { flex: 1; } }
.result-count { scroll-margin-top: 12px; }
/* formatted product descriptions (data/descriptions.json) */
.prose h2 { font: 800 1.45rem/1.15 var(--display); margin: 1.5em 0 .5em; color: var(--paper); letter-spacing: .01em; }
.prose h3 { font: 800 1.15rem/1.2 var(--display); margin: 1.4em 0 .4em; color: var(--tape); letter-spacing: .01em; }
.prose strong { color: #fff; font-weight: 700; }
.prose ul { margin: 0 0 1.1em; padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.4em; margin: .3em 0; }
.prose ul li::before { content: ""; position: absolute; left: .2em; top: .62em; width: .55em; height: .55em; background: var(--tape); border-radius: 1px; transform: rotate(45deg); }
.prose > p:first-child { font-size: 1.12rem; line-height: 1.55; }
.extract { margin: 1.6em 0; padding: 18px 22px 16px; background: linear-gradient(135deg, rgba(242, 194, 48, .10), rgba(242, 194, 48, .03)); border: 1px solid rgba(242, 194, 48, .35); border-left: 4px solid var(--tape); border-radius: 4px; }
.extract figcaption { font: 800 .8rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--tape); margin-bottom: 10px; }
.extract blockquote { margin: 0; padding: 0; border: 0; }
.extract p { font-style: italic; font-size: 1.04rem; line-height: 1.65; color: #e9edf5; margin: 0 0 .8em; }
.extract p:last-child { margin-bottom: 0; }
.prose h3 a { color: inherit; text-decoration: none; border-bottom: 2px solid rgba(242, 194, 48, .45); }
.prose h3 a:hover { border-bottom-color: var(--tape); }
.prose h3 a::after { content: " →"; font-size: .85em; }
.prose li a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(242, 194, 48, .45); }
.prose li a:hover { border-bottom-color: var(--tape); color: #fff; }

/* checkout: asking for immediate access to downloads (UK cancellation rules) */
.bk-consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 12px; font-size: 15px; line-height: 1.45; }
.bk-consent input { margin-top: 4px; flex: none; }
.bk-consent.needs { outline: 2px solid var(--tape, #f4c430); outline-offset: 6px; border-radius: 4px; }
/* About, Privacy, Terms, Age checks */
.info-page { max-width: 760px; }
.info-page .prose h2 { margin-top: 1.6em; }
/* kink guides: intro under the heading, three "Start here" picks, guide text and questions under the grid */
.kink-intro { max-width: 68ch; }
.kink-intro p { margin: 0 0 .7em; }
.start-here { margin: 8px 0 28px; }
.start-here h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.grid.picks { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
.pick-why { display: block; font-size: .9rem; line-height: 1.4; color: var(--mist); margin-top: 4px; }
.kink-guide { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.kink-guide h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-top: 1.2em; }
@media (max-width: 520px) { .grid.picks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; } .grid.picks .card-title { font-size: .9rem; } }
/* footer sign-up */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.foot-join { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter) 4px; display: grid; grid-template-columns: 1fr minmax(220px, 320px) auto; gap: 12px 16px; align-items: end; }
.foot-join h2 { font-size: 1.5rem; margin: 0 0 4px; }
.foot-join p { margin: 0; color: var(--mist); font-size: .95rem; }
.foot-join input[type=email] { width: 100%; font: inherit; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--night); color: var(--paper); }
.foot-join .fj-hp { position: absolute; left: -9999px; }
.foot-join .fj-msg { grid-column: 1 / -1; color: var(--tape); min-height: 1em; }
.foot-join.done .fj-field, .foot-join.done button { display: none; }
@media (max-width: 700px) { .foot-join { grid-template-columns: 1fr; } }
/* home: compact games band */
.sf3d-mini { --g-gold: #f2b53a; --g-soft: #d3c8bb; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 32px; align-items: center; margin-top: 48px; background: #17110c; border: 1px solid #3a2a18; border-radius: 6px; padding: 20px; }
.sf3d-mini-pic { position: relative; display: block; border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 9; }
.sf3d-mini-pic img { width: 100%; height: 100%; object-fit: cover; }
.sf3d-mini h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.sf3d-mini-go { margin-top: 14px; }
@media (max-width: 760px) { .sf3d-mini { grid-template-columns: 1fr; } }
/* kink index groups and capped kink lists */
.kink-group { margin-top: 28px; }
.kink-group h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.js .grid.capped > li:nth-child(n+25) { display: none; }
.show-all-wrap { text-align: center; margin: 24px 0 0; }
.show-all-wrap .show-all { display: none; }
.js .show-all-wrap .show-all { display: inline-block; }
/* a little larger small print */
.card-format { font-size: .82rem; }
.kink-count, .crumbs ol, .social .s-handle { font-size: .85rem; }
.buy-note { font-size: .88rem; }
.small-print, .q-why, .hero-small { font-size: .85rem; }
@media (max-width: 560px) { .sf3d-you { font-size: .88rem; } }
/* reader: note for multimedia issues */
.reader-banner { max-width: 880px; margin: 12px auto 0; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; background: var(--deep); border: 1px solid var(--line); border-left: 4px solid var(--tape); border-radius: 8px; color: var(--paper); }
.reader-banner p { margin: 0; flex: 1 1 320px; font-size: .98rem; line-height: 1.5; }
.reader-banner .btn { flex: none; }
body.rt-on .reader-banner { margin-inline: 12px; }
@media (min-width: 904px) { body.rt-on .reader-banner { margin-inline: auto; } }
/* floating Menu button: appears once the header has scrolled out of view */
.float-menu { position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 40; display: none; align-items: center; gap: 8px;
  font: 600 1.1rem/1 var(--display); letter-spacing: .02em; color: var(--paper); background: rgba(15, 26, 46, .92); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.float-menu.show { display: inline-flex; }
.float-menu:hover { border-color: var(--tape); }
.fm-bars { display: inline-flex; flex-direction: column; gap: 3px; } .fm-bars i { display: block; width: 16px; height: 2px; background: var(--tape); border-radius: 2px; }
.float-nav { position: fixed; top: calc(max(12px, env(safe-area-inset-top)) + 52px); right: 12px; z-index: 40; width: min(300px, calc(100vw - 24px)); max-height: calc(100vh - 90px); overflow: auto;
  background: var(--deep); border: 1px solid var(--line); border-top: 3px solid var(--tape); border-radius: 12px; padding: 4px 18px 8px; box-shadow: 0 14px 36px rgba(0, 0, 0, .55); }
.float-nav ul { list-style: none; margin: 0; padding: 0; }
.float-nav li + li { border-top: 1px solid var(--line); }
.float-nav a { display: block; padding: 12px 0; font: 600 1.3rem/1 var(--display); color: var(--paper); text-decoration: none; }
.float-nav a:hover { color: var(--tape); }
/* the hero's Skip link sits below the floating button */
.shrink-skip { top: 72px; }
@media print { .float-menu, .float-nav { display: none !important; } }
/* menu icons: a line drawing with a tiny man for each item, in the floating menu and the phone menu (not the desktop row) */
.mi { display: block; width: 28px; height: 28px; flex: none; }
.masthead nav .mi { display: none; }
@media (max-width: 720px) {
  .masthead nav a { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
  .masthead nav .mi { display: block; }
}
.float-nav a { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
/* account page: delete your account */
.del-box { margin-top: 16px; }
.del-box h2 { font-size: 1.5rem; margin: 0 0 6px; }
.auth form[hidden] { display: none; }
.del-box form { margin-top: 6px; }
.btn.danger { background: #ff9a8a; border-color: #ff9a8a; color: var(--night); }
.btn.ghost.danger { background: transparent; color: #ff9a8a; border-color: rgba(255, 154, 138, .5); }
.btn.danger:hover { background: var(--paper); border-color: var(--paper); color: var(--night); }
.del-done { margin: 0 0 14px; }
/* phone header: the basket is an icon (a tiny man peeking out) with its count, so the row still fits once the basket
   has something in it; the word stays for screen readers */
.bl-i { display: none; }
@media (max-width: 720px) {
  .masthead { column-gap: 8px; }
  .acct { gap: 8px; }
  .basket-link { gap: 2px; padding: 4px 0; }
  .bl-i { display: block; width: 30px; height: 30px; flex: none; }
  .bl-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-btn { padding: 7px 8px; }
}
@media (max-width: 400px) { .masthead .logo { --h: 2.05rem; } }
@media (max-width: 380px) { .masthead .logo { --h: 1.9rem; } .library-btn { padding: 8px 10px; font-size: .95rem; } }
@media (max-width: 340px) { .masthead .logo { --h: 1.65rem; } .library-btn { font-size: .88rem; padding: 7px 8px; } .menu-btn { padding: 6px 7px; font-size: 1.05rem; } .acct { gap: 6px; } .masthead { column-gap: 6px; } }

/* ---- full-screen page viewer (reader: tap a page; comics go panel by panel) ---- */
.reader-pages:not(.rt-main) .reader-sheet { cursor: zoom-in; }
html.pv-open, html.pv-open body { overflow: hidden; }
.pv { position: fixed; inset: 0; z-index: 1000; background: #05080f; color: #fff; touch-action: none; -webkit-user-select: none; user-select: none; }
.pv[hidden] { display: none; }
.pv-stage { position: absolute; inset: 0; overflow: hidden; cursor: grab; }
.pv-img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform; -webkit-user-drag: none; transition: opacity .18s; }
.pv-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 8px; padding: max(10px, env(safe-area-inset-top)) 12px 18px; background: linear-gradient(rgba(5, 8, 15, .88), rgba(5, 8, 15, 0)); transition: opacity .2s; }
.pv-where { font: 600 .92rem/1.2 var(--display); letter-spacing: .03em; text-shadow: 0 1px 2px #000; }
.pv-sp { flex: 1; }
.pv-btn { font: 800 .95rem/1 var(--display); letter-spacing: .02em; color: #fff; background: rgba(22, 32, 54, .9); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 10px 15px; cursor: pointer; }
.pv-btn:hover { background: rgba(40, 55, 88, .95); }
.pv-close { padding: 10px 13px; }
.pv-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 68px; font: 400 2.2rem/1 system-ui, sans-serif; color: #fff; background: rgba(22, 32, 54, .6); border: 0; border-radius: 12px; cursor: pointer; transition: opacity .2s, background .2s; }
.pv-nav:hover { background: rgba(40, 55, 88, .9); }
.pv-prev { left: 10px; } .pv-next { right: 10px; }
.pv.pv-quiet .pv-top, .pv.pv-quiet .pv-nav { opacity: 0; pointer-events: none; }
.pv-spot { position: absolute; left: 0; top: 0; border-radius: 3px; box-shadow: 0 0 0 200vmax rgba(5, 8, 15, .86); pointer-events: none; }
.pv-spot[hidden] { display: none; }
.pv-hint { position: absolute; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: min(92vw, 520px); margin: 0; text-align: center; background: rgba(22, 32, 54, .94); border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; padding: 10px 14px; font-size: .92rem; line-height: 1.4; pointer-events: none; }
@media (hover: none) { .pv-nav { display: none; } }

/* ---- price estimates in other currencies (account.js fx): under prices on product pages and the basket total ---- */
.fx { margin: 8px 0 14px; }
.fx-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; }
.fx-amt { font-weight: 700; font-size: 1.02rem; }
.fx-amt:empty { display: none; }
.fx select { font: inherit; font-size: .88rem; color: inherit; background: var(--deep); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; max-width: 100%; cursor: pointer; }
.fx-note { margin: 4px 0 0; font-size: .8rem; line-height: 1.45; color: var(--mist); max-width: 52ch; }
.fx-note[hidden] { display: none; }
.bk-total + .fx { text-align: right; }
.bk-total + .fx .fx-line { justify-content: flex-end; }
.bk-total + .fx .fx-note { margin-left: auto; }
