/* The look of every page except the homepage, which has its own (home.css). tools/site-look.cjs adds this
   stylesheet when the site is built, after each page's own stylesheets, and tags <html> with
   data-myth-theme = product | guide | docs | play and data-myth-shell. Most of the work is the shared
   shell.css tokens; the rest fixes colours page stylesheets hard-code for a light background. */
:root{
 --bg:#16191e;--bg-soft:#1b1f25;--panel:rgba(33,38,46,.82);--panel-solid:#21262e;--panel-strong:#282d37;
 --ink:#e9ebee;--muted:#979ea9;--line:rgba(215,218,224,.14);--line-strong:rgba(215,218,224,.26);
 --accent:#c8323f;--accent-dark:#a8242f;--accent-soft:rgba(200,50,63,.26);--on-accent:#ffffff;
 --blue:#e8c06a;--blue-soft:rgba(232,192,106,.14);--green:#5fb3a6;
 --header:#16191e;--shadow:0 30px 70px -24px rgba(0,0,0,.75);--shadow-soft:0 16px 40px -18px rgba(0,0,0,.6);
 --v10-soft:#c9cdd3;--v10-gold:#e8c06a;--v10-gold-2:#f4d78f;--v10-teal:#5fb3a6;--v10-serif:Georgia,'Times New Roman',serif;
 color-scheme:dark}
html,body{background:var(--bg)!important;color:var(--ink)}
::selection{color:#ffffff;background:var(--accent)}
:focus-visible{outline-color:var(--v10-gold)}

/* ---------- shell: header, menu, section bar, breadcrumbs, footer, buttons ---------- */
.site-header{background:rgba(19,22,26,.9)!important;backdrop-filter:blur(14px);border-bottom:1px solid var(--line)!important;box-shadow:none!important}
.site-header .brand-copy strong{font-family:var(--v10-serif);font-weight:400;font-size:24px;letter-spacing:-.01em;color:var(--ink)}
.site-nav a{color:var(--v10-soft)!important;background:transparent!important}
.site-nav a:not(.nav-social):hover{color:var(--ink)!important;background:transparent!important}
.site-nav a.is-active,.site-nav .nav-group-link.is-active{color:var(--ink)!important;background:transparent!important;box-shadow:inset 0 -2px 0 var(--v10-gold)!important;border-radius:0!important}
.nav-group-link::after{border-color:var(--v10-soft)!important}
.nav-submenu{background:#1b1e25!important;border:1px solid var(--line-strong)!important;box-shadow:var(--shadow)!important}
.nav-submenu::before{background:#1b1e25!important;border-color:var(--line-strong)!important}
.site-nav .nav-submenu a:hover,.site-nav .nav-submenu a.is-active{color:var(--ink)!important;background:rgba(255,255,255,.06)!important;box-shadow:none!important}
.nav-toggle{border-color:var(--line-strong)!important;background:transparent!important}
.nav-toggle>span:not(.sr-only){background:var(--ink)!important}
.header-cta,.button-primary{background:var(--accent)!important;color:#ffffff!important;border:1px solid transparent!important;border-radius:999px!important;box-shadow:0 10px 30px rgba(200,50,63,.28)!important}
.header-cta:hover,.button-primary:hover{background:var(--accent-dark)!important}
.button-secondary{background:transparent!important;color:var(--ink)!important;border:1px solid var(--line-strong)!important;border-radius:999px!important;box-shadow:none!important}
.button-secondary:hover{background:rgba(255,255,255,.07)!important}
.button{border-radius:999px}
.section-bar{background:rgba(27,31,37,.92)!important;border-bottom:1px solid var(--line)!important;backdrop-filter:blur(10px)}
.section-bar-title{color:var(--ink)!important}
.section-bar-tag{color:var(--v10-soft)!important;background:rgba(255,255,255,.05)!important;border-color:var(--line-strong)!important}
.breadcrumbs a,.breadcrumbs li{color:var(--muted)!important}
.breadcrumbs a:hover,.breadcrumbs [aria-current="page"]{color:var(--ink)!important}
.site-footer{background:var(--bg)!important;border-top:1px solid var(--line)!important;color:var(--muted)!important}
.site-footer a{color:var(--v10-soft)!important}
.site-footer p{color:var(--muted)!important}
a{text-underline-offset:4px}

/* ---------- product pages: Get, Learn, Tutorials, Build a Game, Packs ---------- */
[data-myth-theme=product] main :is(h1,h2,h3){font-family:var(--v10-serif)!important;font-weight:400!important;letter-spacing:-.01em!important;color:var(--ink)}
[data-myth-theme=product] main h1{font-size:clamp(44px,5.4vw,76px)!important;line-height:1.04!important}
[data-myth-theme=product] main h3{color:var(--ink)}
[data-myth-theme=product] main :is(p,li,small,.section-lede){color:var(--v10-soft)}
[data-myth-theme=product] main strong{color:var(--ink)}
[data-myth-theme=product] :is(section,.page-hero,.playtest-hero,.learning-library-hero,.packs-hero,.home-hero,.get-top,.license-terms-section,.workflow-section){background:transparent!important}
[data-myth-theme=product] main :is(.license-term-card,.community-card,.learn-cell,.recipe-card,.pack-card,.price-card,.fact-card,.reference-card,.step-card,.page-hero-card,.docs-callout,.docs-block,.notice,.feature-showcase,.editor-frame,.packs-toolbar,.coming-soon-copy,.requirements-row){background:var(--panel-solid)!important;border:1px solid var(--line)!important;color:var(--ink);box-shadow:none!important;border-radius:16px!important}
[data-myth-theme=product] main :is(.license-term-card,.community-card,.learn-cell,.recipe-card,.pack-card):hover{border-color:var(--line-strong)!important}
[data-myth-theme=product] main :is(.license-term-label,.community-label,.recipe-card-facts,.pack-card-meta){color:var(--v10-gold)!important;letter-spacing:.12em}
[data-myth-theme=product] main .license-term-list li::before{background:var(--accent)!important;color:var(--accent)!important}
[data-myth-theme=product] main :is(.text-link,.learn-cell-action){color:var(--v10-gold-2)!important}
[data-myth-theme=product] main .packs-grid:empty,[data-myth-theme=product] main [data-packs-empty]{background:var(--panel-solid)!important}
/* Collection filters (Tutorials, Build a Game). */
[data-myth-theme=product] main :is(.tutorial-collections,.packs-sort) :is(a,button){background:transparent!important;color:var(--v10-soft)!important;border:1px solid var(--line-strong)!important;border-radius:999px!important}
[data-myth-theme=product] main :is(.tutorial-collections,.packs-sort) :is(a,button):is([aria-current],[aria-pressed=true],.is-active){background:var(--ink)!important;color:#111111!important;border-color:var(--ink)!important}
[data-myth-theme=product] main img{border-radius:10px}
[data-myth-theme=product] main .learn-cell-meta{color:var(--muted)!important}
/* License dialog and image lightbox. */
:is(.license-dialog,.image-lightbox){background:#1b1f25!important;color:var(--ink)!important;border:1px solid var(--line-strong)!important}
:is(.license-dialog,.image-lightbox)::backdrop{background:rgba(13,15,18,.86)!important}
.license-dialog-content{color:var(--v10-soft)!important}

/* ---------- guides (Quarto books: Build a Game, tutorial books) ---------- */
[data-myth-theme=guide],[data-myth-theme=guide] body{
 --bs-body-bg:#16191e;--bs-body-color:#d9dce2;--bs-emphasis-color:#ffffff;--bs-heading-color:#e9ebee;--bs-secondary-color:rgba(217,220,226,.72);
 --bs-tertiary-color:rgba(217,220,226,.55);--bs-border-color:rgba(215,218,224,.16);--bs-link-color:#f4d78f;--bs-link-hover-color:#ffffff;--bs-link-color-rgb:244,215,143;
 --bs-code-color:#f4d78f;--bs-secondary-bg:#282d37;--bs-tertiary-bg:#21262e;--bs-table-color:#d9dce2;--bs-table-bg:transparent}
[data-myth-theme=guide] main :is(h1,h2){font-family:var(--v10-serif)!important;font-weight:400!important;letter-spacing:-.01em!important}
[data-myth-theme=guide] :is(h1,h2,h3,h4,h5,.title){color:var(--ink)}
[data-myth-theme=guide] .subtitle{color:var(--v10-soft)!important}
[data-myth-theme=guide] a{color:var(--v10-gold-2)}
[data-myth-theme=guide] #quarto-sidebar,[data-myth-theme=guide] .sidebar{background:transparent!important}
[data-myth-theme=guide] .sidebar-title,[data-myth-theme=guide] .sidebar-title a{color:var(--ink)!important}
[data-myth-theme=guide] .sidebar-item a,[data-myth-theme=guide] .sidebar-item-text,[data-myth-theme=guide] .sidebar-section .sidebar-item-section{color:var(--v10-soft)!important}
[data-myth-theme=guide] .sidebar-item a:hover{color:#ffffff!important}
[data-myth-theme=guide] .sidebar-item a.active,[data-myth-theme=guide] .sidebar-link.active{background:rgba(232,192,106,.12)!important;color:var(--v10-gold-2)!important;border-radius:8px}
[data-myth-theme=guide] .sidebar-link.active .chapter-number,[data-myth-theme=guide] .sidebar-link.active .menu-text{color:var(--v10-gold-2)!important}
[data-myth-theme=guide] #TOC a,[data-myth-theme=guide] #TOC h2,[data-myth-theme=guide] .toc-actions a{color:var(--muted)!important}
[data-myth-theme=guide] #TOC a.active{color:var(--v10-gold-2)!important;border-left-color:var(--v10-gold)!important}
[data-myth-theme=guide] main :not(pre)>code:not(.mcard code){color:var(--v10-gold-2);background:rgba(255,255,255,.06)}
[data-myth-theme=guide] pre,[data-myth-theme=guide] div.sourceCode{background:#1b1f25!important;border-color:var(--line)!important}
[data-myth-theme=guide] .table,[data-myth-theme=guide] table{--bs-table-color:#d9dce2;--bs-table-bg:transparent;--bs-table-border-color:var(--line);color:#d9dce2}
[data-myth-theme=guide] .callout{background:var(--panel-solid)!important;border-color:var(--line)!important;color:#d9dce2}
[data-myth-theme=guide] .callout .callout-header{background:rgba(255,255,255,.04)!important}
[data-myth-theme=guide] .nav-page a,[data-myth-theme=guide] .page-navigation a{color:var(--v10-soft)!important}
[data-myth-theme=guide] .nav-page a:hover{color:#ffffff!important}
[data-myth-theme=guide] #quarto-search .aa-Form{background:transparent!important}
[data-myth-theme=guide] .section-bar #quarto-search :is(.aa-Label svg,.aa-LoadingIndicator svg,svg.aa-SubmitIcon){color:var(--ink)!important}
[data-myth-theme=guide] :is(#quarto-header,.quarto-secondary-nav,.headroom,#quarto-header nav:not(.site-nav)){background:var(--bg-soft)!important;border-color:var(--line)!important;color:var(--ink)!important}
[data-myth-theme=guide] .quarto-secondary-nav :is(button,i,.bi){color:var(--ink)!important}
[data-myth-theme=guide] .pagination-link{background:var(--panel-solid)!important;border:1px solid var(--line)!important;box-shadow:none!important;color:var(--ink)!important;border-radius:14px!important}
[data-myth-theme=guide] .pagination-link:hover{border-color:var(--line-strong)!important;background:var(--panel-strong)!important}
[data-myth-theme=guide] .pagination-link *{color:inherit}
[data-myth-theme=guide] hr{border-color:var(--line)!important;opacity:1}
[data-myth-theme=guide] figure img,[data-myth-theme=guide] .figure img{border-radius:10px}
/* The guide's own boxes (Goal, Play it, How it works, Challenge, Watch out...) become v10 cards; their accent edge stays. */
[data-myth-theme=guide] .myth-box{background:var(--panel-solid)!important;border-color:var(--line)!important;box-shadow:none!important;color:#d9dce2}
[data-myth-theme=guide] .myth-box-title{color:var(--v10-gold)!important}
[data-myth-theme=guide] :is(.myth-goal,.myth-challenge){border-left-color:var(--v10-gold)!important}
[data-myth-theme=guide] :is(.myth-play-it,.myth-watch-out){border-left-color:var(--accent)!important}
[data-myth-theme=guide] :is(.myth-play-it,.myth-watch-out) .myth-box-title{color:#ff8f98!important}
[data-myth-theme=guide] .myth-how-it-works{border-left-color:var(--v10-teal)!important}
[data-myth-theme=guide] .myth-how-it-works .myth-box-title{color:var(--v10-teal)!important}
[data-myth-theme=guide] .myth-story{background:rgba(255,255,255,.04)!important;color:#d9dce2;border:1px solid var(--line)}
[data-myth-theme=guide] .myth-story-label{color:var(--v10-gold)!important}
[data-myth-theme=guide] .myth-opener{background:#1b1f25!important;border-color:var(--v10-gold)!important}
[data-myth-theme=guide] :is(.myth-game-hint,.myth-download-hint){color:var(--muted)!important}
[data-myth-theme=guide] .myth-download-button{background:var(--accent)!important;border-radius:999px!important;box-shadow:0 10px 30px rgba(200,50,63,.28)!important}
[data-myth-theme=guide] .myth-download-button:hover{background:var(--accent-dark)!important}
/* Logic cards stay white "paper" cards (their colours are their meaning); they only lose the light-page shadow. */
[data-myth-theme=guide] .mcard{box-shadow:0 20px 50px -24px rgba(0,0,0,.8)!important;border-color:rgba(255,255,255,.18)!important}
[data-myth-theme=guide] .sidebar-section .sidebar-item-section,[data-myth-theme=guide] .sidebar-item-section .sidebar-item-text,[data-myth-theme=guide] .sidebar-item-section .menu-text{color:#a9aeb8!important;opacity:1!important}
[data-myth-theme=guide] .header-section-number,[data-myth-theme=guide] .chapter-number{color:var(--muted)!important;opacity:1!important}
[data-myth-theme=guide] .myth-download-button .myth-download-meta{color:rgba(255,255,255,.92)!important}

/* ---------- interactive lessons (tutorials/lesson.css) ---------- */
.lesson-shell .lesson-kicker{color:var(--v10-gold)!important}
.lesson-player{background:#111317!important;border-color:var(--line)!important}
.lesson-play-cover{background:linear-gradient(transparent 55%,rgba(17,19,23,.85))!important}
.lesson-checkpoint{background:rgba(95,179,166,.08)!important;border-color:rgba(95,179,166,.35)!important;border-left-color:var(--v10-teal)!important;color:var(--ink)}
.lesson-check input{accent-color:var(--v10-teal)}
.lesson-badge{color:var(--v10-teal)!important}
.lab-settings-field input{background:#1b1f25!important;color:var(--ink)!important;border-color:var(--line-strong)!important}
:is(.lab-settings-open,.lab-settings-dialog,.lab-settings-close){background:#1b1f25!important;color:var(--ink)!important;border-color:var(--line-strong)!important}

/* ---------- documentation (Starlight; most colours already follow the tokens above) ---------- */
[data-myth-theme=docs]{--sl-color-white:#e9ebee;--sl-color-gray-1:#d9dce2;--sl-color-gray-2:#c9cdd3;--sl-color-gray-3:#9fa5b0;--sl-color-gray-4:#6d817c;--sl-color-gray-5:#353d4a;--sl-color-gray-6:#21262e;--sl-color-gray-7:#1b1f25;
 --sl-color-black:#16191e;--sl-color-text:#d9dce2;--sl-color-text-accent:#f4d78f;--sl-color-accent-low:rgba(200,50,63,.22);--sl-color-accent-high:#f4d78f;--sl-color-hairline:var(--line);--sl-color-hairline-light:var(--line);--sl-color-hairline-shade:var(--line);--sl-color-bg-inline-code:#282d37}
[data-myth-theme=docs] main :is(h1,h2){font-family:var(--v10-serif)!important;font-weight:400!important;letter-spacing:-.01em!important}
[data-myth-theme=docs] .sl-markdown-content a,[data-myth-theme=docs] main a:not(.button):not([class*=button]){color:var(--v10-gold-2)}
[data-myth-theme=docs] nav.sidebar a[aria-current=page],[data-myth-theme=docs] .sidebar-content a[aria-current=page]{background:rgba(232,192,106,.14)!important;color:var(--v10-gold-2)!important}
/* Code blocks: Expressive Code keeps a dark (--0) and a light (--1) colour per token; use the dark one. */
[data-myth-theme=docs] .expressive-code .ec-line span[style*="--0:"]{color:var(--0)!important}
[data-myth-theme=docs] .expressive-code :is(pre,.frame){background:#1b1f25!important;border-color:var(--line)!important}
[data-myth-theme=docs] .expressive-code :is(figcaption,.header){background:#21262e!important;color:var(--v10-soft)!important;border-color:var(--line)!important}
[data-myth-theme=docs] .myth-docs-edition,[data-myth-theme=docs] .myth-docs-edition p{color:var(--muted)!important}
[data-myth-theme=docs] site-search button,[data-myth-theme=docs] .search-input,[data-myth-theme=docs] input{background:#1b1f25!important;color:var(--ink)!important;border-color:var(--line-strong)!important}

/* ---------- game play pages ---------- */
[data-myth-theme=play] body{background:#0e1014!important}

/* v11b shell for every page other than the homepage (served by site-server.cjs with MYTH_SHELL=v11b, after
   theme-v10.css): the footer every page shares, with the tagline and the ember line, and the Buy button. */
.myth-footer{position:relative;padding:56px 0 40px!important;border-top:0!important;background:#121519!important;color:#e9ebee;text-align:left}
.myth-footer::before,.myth-footer::after{content:"";position:absolute;top:0;left:50%;transform:translate(-50%,-50%);pointer-events:none}
.myth-footer::before{width:min(620px,72%);height:1px;background:linear-gradient(90deg,transparent,rgba(200,50,63,.6) 30%,rgba(232,192,106,.85) 50%,rgba(200,50,63,.6) 70%,transparent)}
.myth-footer::after{width:7px;height:7px;border-radius:50%;background:#ffd88a;box-shadow:0 0 10px 3px rgba(244,161,74,.75),0 0 26px 8px rgba(200,50,63,.35)}
.myth-footer .mf-inner{width:min(1240px,calc(100% - 64px));margin-inline:auto;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:18px 40px}
.myth-footer .mf-brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none!important;color:#e9ebee!important;font-family:Georgia,'Times New Roman',serif;font-size:22px}
.myth-footer .mf-brand img{width:40px;height:40px;margin:0}
.myth-footer p{margin:0}
.myth-footer .mf-tagline{justify-self:end;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:clamp(20px,2.2vw,28px);line-height:1.3;color:#f4d78f!important}
.myth-footer .mf-nav{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px 26px;padding-top:18px;border-top:1px solid rgba(215,218,224,.14)}
.myth-footer .mf-nav a{color:#c9cdd3!important;text-decoration:none!important;font-size:15px;min-height:44px;display:inline-flex;align-items:center}
.myth-footer .mf-nav a:hover{color:#ffffff!important}
.myth-footer .mf-copy{grid-column:1/-1;color:#979ea9!important;font-size:14px}
/* Starlight and Quarto put the footer inside narrower columns; let it span its column cleanly. */
[data-myth-theme=docs] .myth-footer .mf-inner,[data-myth-theme=guide] .myth-footer .mf-inner{width:100%}
[data-myth-theme=docs] .myth-footer,[data-myth-theme=guide] .myth-footer{padding-inline:24px!important}
/* Header: the Buy button stays on phones, before the menu button, as on the homepage. */
[data-myth-shell] .header-cta .buy-short{display:none}
@media (max-width:1120px){
 [data-myth-shell] .header-cta{order:2;justify-self:end}
 [data-myth-shell] .nav-toggle{order:3;margin:0 0 0 10px}
}
@media (max-width:780px){
 [data-myth-shell] .site-header{grid-template-columns:auto 1fr auto!important}
 [data-myth-shell] .header-cta{display:inline-flex!important;align-items:center;min-height:44px;padding:8px 18px}
 [data-myth-shell] .header-cta .buy-full{display:none}
 [data-myth-shell] .header-cta .buy-short{display:inline}
 [data-myth-shell] .brand-copy{display:block!important}
 [data-myth-shell] .brand-mark,[data-myth-shell] .brand-mark img{width:40px!important;height:40px!important}
}
@media (max-width:700px){
 .myth-footer .mf-inner{width:calc(100% - 32px);grid-template-columns:1fr}
 .myth-footer .mf-tagline{justify-self:start}
}

/* v12 shell, after theme-v10.css and shell-v11b.css: no serif fonts and no italics on any page (owner, 2026-10-29:
   "Don't use serif fonts"). Headings use the site's own sans, bold, like the v12 homepage. */
html[data-myth-shell]{--v10-serif:Inter,'Segoe UI',Arial,sans-serif}
html[data-myth-shell] .site-header .brand-copy strong{font-weight:700;font-size:22px;letter-spacing:-.01em}
html[data-myth-shell][data-myth-theme=product] main :is(h1,h2,h3),
html[data-myth-shell][data-myth-theme=guide] main :is(h1,h2),
html[data-myth-shell][data-myth-theme=docs] main :is(h1,h2){font-weight:700!important;letter-spacing:-.02em!important}
html[data-myth-shell] .myth-footer .mf-brand{font-family:Inter,'Segoe UI',Arial,sans-serif;font-weight:700;letter-spacing:-.01em}
html[data-myth-shell] .myth-footer .mf-tagline{font-family:Inter,'Segoe UI',Arial,sans-serif;font-style:normal;font-weight:600}
/* No text cursor when plain text is clicked; no highlighting on buttons, menus and labels. */
html[data-myth-shell]{caret-color:transparent;-webkit-tap-highlight-color:transparent}
html[data-myth-shell] :is(input,textarea,select,[contenteditable]:not([contenteditable=false])){caret-color:auto}
html[data-myth-shell] :is(button,.button,.button-primary,.button-secondary,.btn,.header-cta,.site-header,.site-nav,.section-bar,nav,summary,label,
 .pagination-link,.nav-page,.sidebar-item,.sidebar-link,.breadcrumbs,.breadcrumb,.myth-footer .mf-brand,.myth-footer .mf-nav,img,video,svg,canvas){-webkit-user-select:none;user-select:none}
html[data-myth-shell] img{-webkit-user-drag:none}

/* The top-left logo matches the v13 homepage on every page (bold, 21px, 19px on
   phones, centred on a 40px mark). */
html[data-myth-shell] .site-header .brand{gap:10px;align-items:center}
html[data-myth-shell] .site-header .brand-mark,html[data-myth-shell] .site-header .brand-mark img{width:40px!important;height:40px!important}
html[data-myth-shell] .site-header .brand-copy{display:block!important;font-size:21px;line-height:1}
html[data-myth-shell] .site-header .brand-copy strong{display:block;font-weight:700;font-size:21px;line-height:1;letter-spacing:-.015em}
@media (max-width:700px){
 html[data-myth-shell] .site-header .brand-copy,html[data-myth-shell] .site-header .brand-copy strong{font-size:19px}
 html[data-myth-shell] .site-header .brand-mark,html[data-myth-shell] .site-header .brand-mark img{width:34px!important;height:34px!important}
}

/* v15 (review/v15/build_v15.py): the price cards on the Get page and in each game guide (tools/site-look.cjs). */
.myth-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0 28px;font-family:Inter,'Segoe UI',Arial,sans-serif}
.myth-card{display:flex;flex-direction:column;padding:24px;border-radius:18px;border:1px solid var(--line-strong);background:linear-gradient(160deg,#282d37 0%,#21262e 100%);box-shadow:var(--shadow-soft)}
.myth-card-demo{border-color:rgba(232,192,106,.55);box-shadow:0 0 0 1px rgba(232,192,106,.25),var(--shadow-soft)}
.myth-card .myth-card-name{margin:0;font-size:18px;font-weight:700;letter-spacing:-.01em;color:var(--v10-gold-2)!important}
.myth-card .myth-card-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin:8px 0 14px;font-size:44px;font-weight:700;line-height:1;letter-spacing:-.03em;color:var(--ink)!important}
.myth-card-price span{font-size:20px;letter-spacing:0;color:var(--v10-gold-2)}
.myth-card .myth-card-lead{margin:0 0 16px;font-size:17px;line-height:1.55;color:var(--v10-soft)!important}
.myth-card ul{list-style:none!important;margin:0 0 18px!important;padding:0!important;display:grid;gap:9px}
.myth-card li{position:relative;margin:0!important;padding-left:28px!important;font-size:16px;line-height:1.5;color:var(--v10-soft)!important}
.myth-card li::before{content:"";position:absolute;left:3px;top:.4em;width:12px;height:7px;border-left:2px solid var(--v10-gold);border-bottom:2px solid var(--v10-gold);transform:rotate(-45deg)}
.myth-card .myth-card-limit{margin:-6px 0 18px;font-size:14px;color:var(--muted)!important}
.myth-card .myth-card-button{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:12px 20px;border-radius:999px;background:var(--accent);color:#fff!important;font-weight:700;font-size:16px;text-decoration:none!important;transition:background .2s}
.myth-card .myth-card-button:hover{background:var(--accent-dark)}
.myth-card .myth-card-note{margin:12px 0 0;min-height:3em;font-size:13px;line-height:1.5;color:var(--muted)!important}
.get-v15 .myth-cards{max-width:980px;margin:44px auto 0;gap:24px}
.get-v15 .myth-card{padding:36px}
.get-v15 .myth-card .myth-card-price{font-size:clamp(52px,6vw,80px);margin:10px 0 16px}
.get-v15 .section-heading{margin-bottom:0}
.get-license{margin:22px 0 0;text-align:center}
.get-license button{background:none;border:0;padding:10px;font:inherit;font-size:14px;color:var(--v10-gold-2);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.get-faq{max-width:860px;margin:0 auto}
.get-faq details{border-bottom:1px solid var(--line)}
.get-faq summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:60px;cursor:pointer;font-weight:600;list-style:none;color:var(--ink)}
.get-faq summary::-webkit-details-marker{display:none}
.get-faq summary::after{content:"+";font-size:24px;font-weight:300;color:var(--v10-gold);transition:transform .3s}
.get-faq details[open] summary::after{transform:rotate(45deg)}
.get-faq details p{margin:0;padding:0 0 18px}
.get-discord{max-width:860px;margin:40px auto 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.get-discord p{margin:0}
@media (max-width:700px){.myth-cards{grid-template-columns:1fr}.get-v15 .myth-card{padding:26px 22px}}

/* v16 (review/v16/build_v16.py) */
/* 5. Under the guide cards, the Starter Kit and finished-game downloads are dark buttons, so the demo and Buy are the only red pair. */
[data-myth-theme=guide] .myth-download-button{background:#21262e!important;border:1px solid rgba(215,218,224,.26)!important;box-shadow:none!important}
[data-myth-theme=guide] .myth-download-button:hover{background:#282d37!important}
@media (max-width:700px){.myth-card .myth-card-button{font-size:15px;white-space:nowrap;padding:12px 14px}}
/* 11. Guide and tutorial card lines show in two lines before they are cut. */
.recipe-card-desc{white-space:normal!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
@media (max-width:700px){.recipe-card-desc{-webkit-line-clamp:4}}
/* 14, 18, 20. Get page: ticks in the main text colour, the risk line, the first steps after download. */
.get-v15 .myth-card li{color:var(--ink)!important}
.get-risk{max-width:980px;margin:22px auto 0!important;text-align:center;font-size:17px}
.get-steps{max-width:980px;margin:26px auto 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 26px}
.get-steps p{margin:0;color:var(--ink)!important;font-weight:600}
.get-steps ol{display:flex;flex-wrap:wrap;gap:12px 26px;margin:0!important;padding:0!important;list-style:none!important}
.get-steps li{display:flex;align-items:center;gap:10px;margin:0!important}
.get-steps li span{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:50%;border:1px solid var(--line-strong);font-size:14px;color:var(--ink)}
/* 12. The Get page's buttons fit the first screen of a short laptop. */
@media (min-width:861px) and (max-height:800px){
 [data-myth-theme=product] main.get-v15 h1{font-size:54px!important}
 .get-v15 .get-top{padding-top:24px!important}
 .get-v15 .section-heading{margin-bottom:0!important}
 .get-v15 .myth-cards{margin-top:24px;max-width:1120px}
 .get-v15 .myth-card{padding:26px 30px}
 .get-v15 .myth-card .myth-card-price{font-size:56px;margin:6px 0 10px}
 .get-v15 .myth-card .myth-card-lead{font-size:16px;margin-bottom:10px}
 .get-v15 .myth-card ul{gap:6px;margin-bottom:14px!important}
 .get-v15 .myth-card li{font-size:15px}
}

/* v17 (review/v17/build_v17.py) */
/* Hidden text for screen readers, on every page (guide pages don't load site.css); the guides' skip link. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
[data-myth-theme=guide] .skip-link{position:absolute;left:-9999px;top:12px;z-index:2000;padding:10px 16px;border-radius:10px;background:#f4d78f;color:#16191e!important;font-weight:600}
[data-myth-theme=guide] .skip-link:focus{left:16px}
/* A8 */
[data-myth-shell] :is(h1,h2,h3),.get-faq summary{text-wrap:balance}
.myth-card :is(p,li),.get-faq p{text-wrap:pretty}
.nowrap{white-space:nowrap}
.recipe-card-facts{flex-wrap:wrap;white-space:normal}
.recipe-card-facts li{white-space:normal;overflow:visible;text-overflow:clip}
/* A14, A17. One price card: radius 16, a calmer price, 56 px buttons, ticks in the main text colour. */
.myth-card{border-radius:16px}
.myth-card .myth-card-name{margin:0;font-size:20px!important;font-weight:600!important;letter-spacing:-.01em!important;line-height:1.2;color:var(--ink)!important;font-family:Inter,'Segoe UI',Arial,sans-serif!important}
.get-v15 .myth-card .myth-card-price{font-size:clamp(44px,5vw,72px)}
.myth-card .myth-card-price span{font-size:.4em;font-weight:600;font-style:normal;color:var(--v10-soft)!important}
.myth-card li{color:var(--ink)!important;font-size:16px;line-height:1.55}
.myth-card .myth-card-button{min-height:56px;font-weight:600;gap:10px}
.myth-card .myth-card-button svg{width:16px;height:16px}
@media (max-width:700px),(max-height:760px){.myth-card .myth-card-button{min-height:52px}}
.myth-cards-note{margin:-14px 0 28px;font-size:14px;color:var(--muted)!important}
.get-v15 .myth-card{padding:32px}
#get-full-card{scroll-margin-top:84px}
/* A11 gate: on a short laptop the Get page's buttons stay on the first screen. */
@media (min-width:861px) and (max-height:800px){.get-v15 .myth-card{padding:24px 30px}.get-v15 .myth-card .myth-card-price{font-size:52px;margin:4px 0 8px}.get-v15 .section-heading .section-lede{margin-bottom:0!important}.get-v15 .myth-cards{margin-top:20px}}
/* A17. The header matches the homepage's: nav 15/500 in the soft grey, a 44 px button without glow. */
[data-myth-shell] .site-nav a,[data-myth-shell] .site-nav .nav-group-link{font-size:15px!important;font-weight:500!important}
[data-myth-shell] .header-cta{min-height:44px!important;box-shadow:none!important;font-weight:600}
/* A18. The last kicker-like labels go; the licence text can be copied. */
.license-dialog-copy{-webkit-user-select:text;user-select:text}
[data-myth-theme=guide] .sidebar-item-section .sidebar-item-text,[data-myth-theme=guide] .sidebar-item-section .menu-text{text-transform:none!important;letter-spacing:0!important;font-size:14px!important;font-weight:600!important}
.recipe-card-facts,.recipe-card-facts li{letter-spacing:0!important;font-size:14px!important;color:var(--v10-soft)!important;text-transform:none!important}
/* A16. The guide list's thumbnails are the homepage's 16:10 tiles. */
.recipe-card-desc{-webkit-line-clamp:3!important}
@media (max-width:700px){.recipe-card-desc{-webkit-line-clamp:4!important}}
.recipe-card-media{aspect-ratio:16/10!important;height:auto!important;align-self:start!important;overflow:hidden;background:none!important}
.recipe-card-media img{width:100%!important;height:100%!important;object-fit:cover!important;aspect-ratio:auto!important}
@media (min-width:701px){.recipe-card{grid-template-columns:200px minmax(0,1fr)!important}}
/* A19. Guide pages: focus never hides under the sliding header; the questions' "+" is not read aloud. */
[data-myth-theme=guide]{scroll-padding-top:150px}
.get-faq summary::after{content:"+" / ""}

/* B4 (proposal). No ember dividers or button glows. */
.myth-footer::before,.myth-footer::after{content:none!important}
.header-cta,.button-primary,.myth-card .myth-card-button{box-shadow:none!important}

/* v18 (review/v18/build_v18.py): the twelve-lens rubric's roadmap. */
/* 2.3, 1.4: one card spec on the Get page and the guide pages; one shared small-print row under the cards. */
.myth-card .myth-card-plain{margin:0 0 12px;font-size:15px;line-height:1.5;color:var(--v10-soft)!important}
.myth-small{margin:-8px 0 26px;font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:14px;line-height:1.55;color:var(--muted)}
.myth-small p{margin:0!important;color:var(--muted)!important;font-size:14px!important}
.myth-small-links{display:flex;flex-wrap:wrap;gap:2px 22px;margin-top:4px!important}
.myth-small-links a,.myth-small-links button{display:inline-flex;align-items:center;min-height:40px;padding:0;background:none;border:0;font:inherit;font-size:14px;color:var(--v10-gold-2)!important;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.get-v15 .myth-small{max-width:980px;margin:18px auto 0;text-align:center}
.get-v15 .myth-small-links{justify-content:center}
.get-answer{max-width:780px;margin:10px auto 0!important;text-align:center;font-size:16px;color:var(--v10-soft)!important}
.get-answer .text-link{font-size:16px}
#requirements,#refunds,#license,#trial-limits,#why-pay,#questions{scroll-margin-top:96px}
.get-risk{margin-top:18px!important}
/* 2.4: the six games on the Get page, linked to their guides. */
.get-games{max-width:1120px;margin:36px auto 0!important;padding:0!important;list-style:none!important;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.get-games li{margin:0!important;padding:0!important}
.get-games li::before{content:none!important}
.get-games a{display:flex;flex-direction:column;gap:2px;text-decoration:none!important;color:var(--ink)!important}
.get-games img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:10px;border:1px solid var(--line);margin-bottom:6px}
.get-game-name{font-weight:600;font-size:16px;line-height:1.3}
.get-game-kind{font-size:14px;line-height:1.4;color:var(--muted)}
.get-games a:hover .get-game-name{text-decoration:underline;text-underline-offset:4px}
@media (max-width:1100px){.get-games{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:700px){.get-games{grid-template-columns:repeat(2,minmax(0,1fr))}.get-v15 .myth-small,.get-answer{text-align:left}.get-v15 .myth-small-links{justify-content:flex-start}}
/* 2.1, 1.1: guide welcome pages: what Myth Engine is, the free route, Chapter 1 in one click (a secondary button). */
.myth-intro{margin:6px 0 22px;font-family:Inter,'Segoe UI',Arial,sans-serif}
.myth-intro-line{margin:0 0 14px!important;font-size:17px;line-height:1.6;color:var(--ink)!important}
.myth-start{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin:0!important}
.myth-start-button{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 20px;border-radius:999px;background:#21262e;border:1px solid rgba(215,218,224,.26);color:var(--ink)!important;font-weight:600;font-size:16px;text-decoration:none!important}
.myth-start-button:hover{background:#282d37}
.myth-start-button svg{width:16px;height:16px}
.myth-start-link{font-size:15px;color:var(--v10-gold-2)!important;text-underline-offset:4px}
/* 3.2: the game's still holds its space until Play is pressed. */
.myth-game-frame{position:relative;display:grid;place-items:center;width:100%;border-radius:12px;overflow:hidden;background:#101317;border:1px solid var(--line)}
.myth-game-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.9}
.myth-game-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;aspect-ratio:auto!important}
.myth-game-start{position:relative;z-index:1;display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 24px;border-radius:999px;border:1px solid rgba(215,218,224,.3);background:rgba(17,20,24,.86);color:#fff;font:600 17px/1 Inter,'Segoe UI',Arial,sans-serif;cursor:pointer}
.myth-game-start:hover{background:rgba(17,20,24,.96)}
.myth-end-cards{margin-top:40px}
.myth-still-stuck{margin-top:14px!important}
/* 3.5: a visible word beside the chapter icon on phones. */
.myth-toggle-label{margin-left:8px;font:600 15px/1 Inter,'Segoe UI',Arial,sans-serif}
/* 3.1: guide buttons cannot be highlighted by dragging (focus rings stay). */
.myth-card a,.myth-card .button,.myth-card-button,.myth-download-button,.myth-start-button,.myth-game-start,.myth-small-links,.get-games a,.quarto-btn-toggle{-webkit-user-select:none;user-select:none}
/* 3.5: body text in the guides keeps a readable line length, and one gold focus ring everywhere. */
[data-myth-theme=guide] main.content>:is(p,ul,ol,blockquote,.myth-intro){max-width:36em}
[data-myth-theme=guide] main.content section>:is(p,ul,ol,blockquote){max-width:36em}
[data-myth-theme=guide] :focus-visible,.quarto-btn-toggle:focus-visible{outline:3px solid var(--v10-gold)!important;outline-offset:3px;box-shadow:none!important}
/* 4.5: on the guide list, "Open the guide" takes the secondary style; red stays for the demo and Buy. */
a.button.button-primary[href^="/cookbooks/"]{background:#21262e!important;border:1px solid rgba(215,218,224,.26)!important;color:var(--ink)!important;box-shadow:none!important}
a.button.button-primary[href^="/cookbooks/"]:hover{background:#282d37!important}
