/* The site's shared style: the home page (one page that scrolls: hero, rules, join, footer) and the small reading pages. The colours are the brand's:
   violet on a dark ground, with a grey-violet white for text, never a pure white. */
:root {
  --ground: #09080e;
  --text1: #e6e0f2;
  --text2: #b9b2cb;
  --line: #424242;
  --accent: #8d71d8;
  --accent-hover: #a28ae6;
  --accent-light: #bba5e8;
  --face: Cambria, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --ground-o: .24;
  color-scheme: dark;
}
* { box-sizing: border-box; }
/* No scroll bar anywhere (his word of 2026-10-30, pop-ups included): the named points at the left do that job, and nothing slides sideways. */
* { scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }
html { scroll-behavior: smooth; }
html::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-user-select: none; user-select: none; margin: 0; background: var(--ground); color: var(--text1); font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif; overflow-x: hidden; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }

/* The emblem: very large, wider than the screen, fixed behind everything; it fades while the text is read. */
.ground { position: fixed; inset: 0; background: url(emblem.webp) center / auto 150% no-repeat; opacity: var(--ground-o); pointer-events: none; }

/* Buttons: the old site's slanted cut, black glass inside and a thin violet ring round it, drawn as a vector so the slanted edges stay smooth.
   Under the pointer the glass takes a violet veil and the ring lights up. */
.cut {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 52px; color: var(--accent-light);
  background: url(cut.svg) no-repeat 0 0 / 100% 100%;
  font: italic 700 18px var(--face); letter-spacing: .06em; text-decoration: none; cursor: pointer; border: 0; transition: color .25s, filter .25s;
}
.cut:hover, .cut:focus-visible { color: var(--text1); background-image: url(cut-hover.svg); filter: drop-shadow(0 0 8px rgba(141, 113, 216, .45)); }
.cut.small { min-height: 38px; padding: 0 30px; font-size: 15px; }
.link { font: italic 700 16px var(--face); color: var(--accent-light); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.link:hover, .link:focus-visible { color: var(--text1); text-decoration: underline; }
.corner { position: fixed; top: 18px; right: max(22px, env(safe-area-inset-right, 0px)); z-index: 5; display: flex; gap: 18px; align-items: center; }
.corner .link { font-size: 14px; }
.corner > span { display: flex; gap: 18px; align-items: center; }
.corner .who { font-size: 13px; color: var(--text2); }

/* The arrows at the right: one goes to the next part, one goes straight to the download. */
.arrows { position: fixed; right: max(26px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); z-index: 5; display: flex; flex-direction: column; gap: 14px; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--accent); background: rgba(4, 3, 8, .32); color: var(--accent-light); display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s, opacity .3s; }
.arrow:hover, .arrow:focus-visible { background: rgba(141, 113, 216, .24); color: var(--text1); }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.arrow.flip svg { transform: rotate(180deg); }
.arrow[hidden] { display: none; }
a.arrow { text-decoration: none; }
.arrow.branch { opacity: 0; pointer-events: none; }
.arrow.branch.on { opacity: 1; pointer-events: auto; }
.arrow:hover, .arrow:focus-visible { border-color: var(--accent-hover); box-shadow: 0 0 12px rgba(141, 113, 216, .5); }

/* The first screen: the lettering alone, in the middle of the emblem, and it lifts away as the page is scrolled. */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; text-align: center; }
.hero .lettering { display: flex; flex-direction: column; align-items: center; gap: 24px; will-change: transform, opacity; }
.hero h1 { margin: 0; line-height: 0; }
.hero h1 img { width: min(620px, 52vw); height: auto; display: block; }
#account-btn { margin-top: 30px; }
.tag { font: 700 11px/1 "Segoe UI", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-light); border: 1px solid var(--accent); border-radius: 12px; padding: 5px 11px; }

/* The rules: three fifths of the screen wide, one column. */
.rules { position: relative; padding: 14vh 0; }
.wrap { width: 60vw; min-width: min(900px, 94vw); margin: 0 auto; }
.eyebrow { margin: 0 0 6px; font: 700 12px/1 "Segoe UI", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-light); }
.pt { margin: 0 0 30px; font: italic 700 48px/1.1 var(--face); text-wrap: balance; }
.pt::after { content: ""; display: block; width: 60px; height: 1px; margin-top: 16px; background: var(--accent); box-shadow: 0 0 8px rgba(141, 113, 216, .5); }
.intro { margin-bottom: 18px; }
.intro p { margin: 0 0 14px; font-size: 17px; line-height: 1.7; color: var(--text2); }
.intro .quiet { font-size: 14px; }
.intro b { color: var(--text1); }
.rule { margin: 0 0 44px; scroll-margin-top: 24px; }
.rule h2, .rule h3 { margin: 0 0 14px; display: flex; align-items: baseline; gap: 16px; }
.num { min-width: 36px; font: italic 700 36px/1 var(--face); color: var(--accent); }
.rt { font: italic 700 28px/1.15 var(--face); text-wrap: balance; color: var(--accent-light); }
.body { padding: 2px 0 2px 24px; }
.body ul, .body ol { margin: 0 0 14px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; counter-reset: n; }
.body li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.65; color: var(--text2); }
.body ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.body ol li { counter-increment: n; }
.body ol li::before { content: counter(n) "."; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.body li b, .body p b { color: var(--text1); }
.body p { margin: 0 0 14px; font-size: 16px; line-height: 1.65; color: var(--text2); }
.body h4 { margin: 18px 0 10px; font: italic 700 19px var(--face); color: var(--accent-light); }
.body h4:first-child { margin-top: 0; }
.body p.state { font: italic 700 19px/1.5 var(--face); color: var(--text1); }
.body p.quiet { font-size: 14px; }
.body a, .intro a { color: var(--accent-light); }
.body a:hover, .intro a:hover { color: var(--text1); }

/* The dots: always at the left, one for each part of the page and one for each rule; the one on screen is lit. */
.rail { position: fixed; left: max(34px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); z-index: 4; display: flex; flex-direction: column; gap: 2px; max-height: 92vh; overflow: hidden; }
.rail a { display: flex; align-items: center; gap: 14px; padding: 4px 0; color: var(--text2); text-decoration: none; font: italic 700 15px var(--face); }
.rail i { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--accent); transition: background .15s, box-shadow .15s; }
.rail span { opacity: 0; transform: translateX(-6px); transition: opacity .15s, transform .15s; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.rail a:hover span, .rail a:focus-visible span, .rail a[aria-current=true] span { opacity: 1; transform: none; }
/* The named points (Home, Rules, Download; a text's own title on the legal page) always show their name. */
.rail a.grp { margin-top: 10px; font-size: 16px; }
.rail > a.grp:first-child { margin-top: 0; }
.rail a.grp span { opacity: .72; transform: none; }
.rail a.grp i { background: rgba(141, 113, 216, .35); }
.rail a.grp:hover span, .rail a.grp[aria-current=true] span { opacity: 1; }
/* Home and Download, the two a visitor may go straight to, are the pink of the titles in the text; the others keep the grey-violet. */
.rail a.grp[href="#top"] span, .rail a.grp[href="#join"] span { color: var(--accent-light); opacity: 1; }
.rail a.grp[href="#top"] i, .rail a.grp[href="#join"] i { background: rgba(187, 165, 232, .55); border-color: var(--accent-light); }
.rail a.grp[href="#top"][aria-current=true] i, .rail a.grp[href="#join"][aria-current=true] i { background: var(--accent-light); box-shadow: 0 0 12px rgba(187, 165, 232, .9); }
.rail a.grp[href="#top"]:hover span, .rail a.grp[href="#join"]:hover span, .rail a.grp[href="#top"][aria-current=true] span, .rail a.grp[href="#join"][aria-current=true] span { color: #f0e9fb; }
/* The dots of a text are folded away and open, smoothly, only while that text is on screen. */
.rail .sub { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s ease, opacity .4s ease; }
.rail .sub.open { grid-template-rows: 1fr; opacity: 1; }
.rail .sub-in { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 2px; padding-left: 0; }
.rail .sub-in a { padding: 3px 0 3px 1px; }
.rail a:hover, .rail a:focus-visible, .rail a[aria-current=true] { color: var(--text1); }
.rail a[aria-current=true] i { background: var(--accent); box-shadow: 0 0 10px rgba(141, 113, 216, .8); }

/* The last screen, set inside the diamond: the four acceptances in a column, then the download. It fills one screen exactly, so the dot for it
   brings its content to the middle of the screen. */
.join { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; width: min(460px, 90vw); }
.checks .accept { width: 100%; }
.join .row { margin-top: 18px; }
.accept input:disabled { cursor: default; }
.checks.out .accept { opacity: .62; }
.accept:has(input:checked:disabled) { cursor: default; }
.row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.accept { display: flex; align-items: center; gap: 14px; max-width: min(640px, 90vw); padding: 12px 18px; border: 1px solid var(--accent); border-radius: 8px; background: rgba(4, 3, 8, .32); font-size: 14px; line-height: 1.5; color: var(--text1); cursor: pointer; text-align: left; transition: box-shadow .25s, background .25s, border-color .25s; }
.accept:hover { background: rgba(141, 113, 216, .16); border-color: var(--accent-hover); box-shadow: 0 0 12px rgba(141, 113, 216, .35); }
.accept.need { box-shadow: 0 0 16px rgba(141, 113, 216, .8); }
/* The check box: a black square with a violet ring, a violet fill and a light tick once it is ticked. */
input[type=checkbox].tick { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1px solid var(--accent); border-radius: 5px; background: rgba(4, 3, 8, .6); cursor: pointer; display: grid; place-items: center; transition: background .2s, box-shadow .2s, border-color .2s; }
input[type=checkbox].tick:hover { border-color: var(--accent-hover); box-shadow: 0 0 8px rgba(141, 113, 216, .5); }
input[type=checkbox].tick::after { content: ""; width: 5px; height: 10px; border: solid var(--text1); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; transition: opacity .15s; }
input[type=checkbox].tick:checked { background: var(--accent); border-color: var(--accent-hover); }
input[type=checkbox].tick:checked::after { opacity: 1; }
input[type=checkbox].tick:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }
.cut[aria-disabled=true] { opacity: .55; }

/* The soft bands at the top and the bottom of the screen: the text fades behind them while the rules are read. */
.veil { position: fixed; left: 0; right: 0; height: 16vh; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .4s; }
.veil.top { top: 0; background: linear-gradient(var(--ground), rgba(9, 8, 14, 0)); }
.veil.bottom { bottom: 0; background: linear-gradient(rgba(9, 8, 14, 0), var(--ground)); }
.veil.on { opacity: 1; }

/* The foot: at the very end of the page, not fixed to the screen. */
.site-foot { position: relative; display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; padding: 22px 16px 28px; font-size: 12px; color: var(--text2); }
.site-foot a { color: var(--text2); text-decoration: none; }
.site-foot a:hover, .site-foot a:focus-visible { color: var(--text1); text-decoration: underline; }

/* A reading page (Purchases & Refunds, Terms, Privacy): the same look as the rules, with a clear way back at the top left. */
.back { position: fixed; left: max(28px, env(safe-area-inset-left, 0px)); top: 18px; z-index: 5; }

/* Behind the card, the page does not scroll. */
html.locked { overflow: hidden; }

input, textarea { -webkit-user-select: text; user-select: text; }

/* The pictures of the game: two to a row, each opening its full size in a tab of its own. */
.pictures .gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pictures figure { margin: 0; }
.pictures figure a { display: block; border: 1px solid rgba(141, 113, 216, .3); border-radius: 8px; overflow: hidden; background: rgba(3, 2, 6, .55); transition: border-color .25s, box-shadow .25s; }
.pictures figure a:hover, .pictures figure a:focus-visible { border-color: var(--accent-hover); box-shadow: 0 0 12px rgba(141, 113, 216, .45); }
.pictures img { display: block; width: 100%; height: auto; }
.pictures figcaption { margin: 8px 2px 0; font: italic 700 15px var(--face); color: var(--accent-light); }
@media (max-width: 700px) { .pictures .gallery { grid-template-columns: 1fr; } }
.pictures h3.adds { margin: 44px 0 14px; font: italic 700 26px var(--face); color: var(--text1); }
.pictures ul.adds { margin: 0; padding: 0 0 0 20px; display: grid; gap: 8px; font-size: 16px; line-height: 1.5; color: var(--text2); }
.pictures ul.adds li::marker { color: var(--accent); }
