@import url('/styles/controls.css');
/* Purist's design tokens and shared controls (controls.css), for every page of the site (index.html, council.html, about.html, changelog.html, stats.html);
   a page's own stylesheet builds on these. Design tokens. Every colour, radius, type size and shadow in the pages' rules is one of these;
     a value off a scale becomes a token here first. #000 and #fff, and their alpha overlays, are the
     only colours written in place. Item quality, colour swatches and backdrops are content, not
     chrome, and keep their own values. */
  :root {
    /* Surfaces, darkest first: sunk (wells, tracks, thumbnails), page, field (inputs, the item drawer),
       panel, raised (cards, menus, toasts), control (buttons, chips), hover. */
    --s-sunk:#0b0c0d; --bg:#0f1011; --s-field:#131416; --panel:#151618; --s-raised:#1b1c1f; --s-control:#1e2023; --s-hover:#24262a;
    /* Edges: a divider, a control's, an emphasised one, a hovered one. */
    --line:#26282b; --line-control:#2e3034; --line-strong:#383b40; --line-hover:#4a4e55;
    /* Text: body, brightest, secondary, decorative. Ink is text on a gold or bronze fill; a violet one, darker, takes the brightest. */
    --text:#e6eef2; --text-strong:#fff; --muted:#9c9fa4; --faint:#5a5e65; --ink:#1c1604;
    /* Gold is Purist's own: the mark, what is selected, the main action. Bronze is Chronicle's. Violet is
       Lookit's, and transmog's wherever it shows (the Chronicle's transmogged slots too). Gold and bronze run light, base, dim, edge and fill. */
    --gold-light:#ffe27a; --gold:#fece00; --gold-dim:#a68c2a; --gold-line:#6b5810; --gold-bg:#2b2408; --gold-wash:color-mix(in srgb, var(--gold) 8%, transparent);
    --gold-grad:linear-gradient(180deg, #FFD21A 0%, #FECE00 45%, #F97E0C 100%); /* the wordmark's, for gold fills and outlines */
    --bronze-light:#e2aa72; --bronze:#d4975a; --bronze-dim:#9c7045; --bronze-line:#6e4b28; --bronze-bg:#2e2012; --bronze-wash:color-mix(in srgb, var(--bronze) 12%, transparent);
    --bronze-grad:linear-gradient(180deg, #EDB57E 0%, #D4975A 45%, #A8622A 100%); /* the gold gradient's shape in bronze, for Chronicle's fills and outlines */
    --lookit:#ea6fdc; --lookit-wash:color-mix(in srgb, var(--lookit) 12%, transparent);
    --lookit-grad:linear-gradient(180deg, #EA6FDC 0%, #8B35A6 100%); /* the game's transmog slot frames, in the gold gradient's shape, for Lookit's fills and outlines */
    --lookit-pink:var(--lookit); --lookit-pink-wash:var(--lookit-wash); --lookit-pink-grad:var(--lookit-grad); /* (Lookit's own, kept where the Doctor's panel turns --lookit white) */
    --doctor:#fff; --doctor-wash:color-mix(in srgb, #fff 8%, transparent); --doctor-grad:linear-gradient(180deg, #fff 0%, var(--muted) 100%); /* the Doctor's: its switch, panel, marks and card */
    /* Signals: removing or missing, done or imported, Battle.net, enchant, CurseForge. */
    --danger-light:#ff7b6e; --danger:#e0685c; --ok:#3ddc84; --teal:#4fe3cf; --info:#1e9bff; --enchant:#b48cff; --curse-light:#ff7a4d; --curse:#f16436;
    /* Type: system UI text; the wordmark and display titles in Cinzel. */
    --fs-xs:11px; --fs-sm:12px; --fs-md:13px; --fs-base:14px; --fs-lg:16px; --fs-xl:18px; --fs-2xl:22px; --fs-display:26px;
    /* Corners: inner details, small controls, controls and rows, cards and menus, dialogs, pills. */
    --r-xs:3px; --r-sm:4px; --r-md:6px; --r-lg:8px; --r-xl:12px; --r-pill:999px;
    /* The floating buttons' height: Lookit's switcher, the Chronicle button, Exit Chronicle. */
    --h-float:32px;
    /* How far down the top row of floating buttons sits: the Lookit switcher and, level with it, the buttons over the model. */
    --top-float:16px;
    /* Elevation: a badge or knob, a card, anything floating. */
    --shadow-sm:0 1px 3px #000a; --shadow-md:0 2px 10px #0008; --shadow-lg:0 8px 24px #000a;
    /* The close button, as the game's: a red square edged in gold. */
    --x-bg:linear-gradient(180deg, #8c2418 0%, #5a120b 55%, #3a0a06 100%); --x-bg-hover:linear-gradient(180deg, #b0301f 0%, #741810 55%, #4a0d08 100%); --x-edge:#9c7a34; --x-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 1.5l7 7M8.5 1.5l-7 7' stroke='%23000' stroke-opacity='.6' stroke-width='3.4' stroke-linecap='round' transform='translate(0 .5)'/%3E%3Cpath d='M1.5 1.5l7 7M8.5 1.5l-7 7' stroke='%23fece00' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); --x-glyph-hover:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 1.5l7 7M8.5 1.5l-7 7' stroke='%23000' stroke-opacity='.6' stroke-width='3.4' stroke-linecap='round' transform='translate(0 .5)'/%3E%3Cpath d='M1.5 1.5l7 7M8.5 1.5l-7 7' stroke='%23ffe27a' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
    --q0:#9d9d9d; --q1:#fff; --q2:#1eff00; --q3:#0070dd; --q4:#a335ee; --q5:#ff8000; }

/* The site's popup (<purist-dialog>, components/purist-dialog.js), which draws itself; until it is defined, nothing. */
  purist-dialog:not(:defined) { display:none; }

/* What a page writes in a floating card (<purist-card>, components/purist-card.js, which draws the card, its
   heading and ×): its headings, muted text and a row of actions; the page places the card (index.css). */
  purist-card[hidden], purist-card:not(:defined) { display:none; }
  purist-card p { margin:0 0 12px; font-size:var(--fs-md); line-height:1.45; color:var(--muted); }
  purist-card .acts { display:flex; gap:8px; flex-wrap:wrap; }

/* The site's header (<purist-header>, components/purist-header.js), which draws itself: until it is defined its
   bar stands and the page's parts in it stay hidden, so nothing shifts as it renders. */
  purist-header { display:flex; height:52px; background:var(--s-sunk); border-bottom:1px solid var(--line); flex:none; }
  purist-header:not(:defined) > * { visibility:hidden; }
