/* DaevaMeter's website: the look of every page. Look A, "Daeva HUD", the same as the meter's windows (DESIGN.md):
   AION 2's own windows, deep navy glass with one thin steel edge, small square-ish corners, the game's blue for what
   you picked (a tab, a filter, a ticked box), gold only for the one main button (Download) and for you. The classes'
   colours where the meter uses them. System fonts only (the site loads nothing from elsewhere: see its content
   security policy). The Records' own pages add /site/site.css on top. */
:root {
  /* the page and its surfaces */
  --bg: #0a0f16;            /* the page behind everything */
  --bg2: #0e141d;           /* a window's glass: bars, the map's list */
  --panel: #121a25;         /* a card, a block of the page */
  --panel2: #16202c;        /* raised inside a card: a well, a selected row */
  --well: #0d131c;          /* inputs, lists' wells */
  --glass: linear-gradient(180deg, rgba(20, 29, 41, 0.94), rgba(15, 22, 32, 0.94));
  /* edges: one hairline, a stronger one for focus and hover */
  --line: rgba(140, 175, 215, 0.16);
  --line2: rgba(140, 175, 215, 0.24);
  --edge: rgba(140, 175, 215, 0.4);
  --track: rgba(140, 175, 215, 0.07);
  --hi: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  /* text */
  --fg: #e6ebf1;
  --sub: #a0acbd;
  --dim: #7b889a;           /* (the meter's --dim, made readable as page text) */
  --faint: #5f6b7b;
  --steel: #a9b9cd;         /* section heads in capitals */
  /* selection: the game's blue */
  --accent: #4fa3ef;
  --accent2: #9ccbf6;
  --accent-ink: #06101d;
  --sel: rgba(79, 163, 239, 0.2);
  --sel-edge: rgba(79, 163, 239, 0.62);
  --seg-on: linear-gradient(180deg, #2c5f8f, #214a72);
  --link: #6cb3f2;
  /* gold: the one main button, and you */
  --gold: #d6a548;
  --gold-hi: #f0cd78;
  --gold-btn: linear-gradient(180deg, #e4bb5c, #b98a31);
  --gold-ink: #1b1406;
  /* states */
  --good: #4cc985;
  --warn: #e6a23c;
  --bad: #e5554d;
  --live: #4ade80;
  --discord: #5865f2;
  /* shape */
  --wrap: 1120px;
  --r: 5px;                 /* windows and cards */
  --rc: 3px;                /* controls */
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.45); /* only under what floats: menus, cards over the map, notices */
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, Menlo, monospace;
  /* the classes' colours, as the meter has them */
  --gl: #e0894a; --te: #6f9bea; --as: #b77be8; --ra: #7cc56f; --so: #e86a6a; --sp: #4fc6c0; --cl: #f1e3a4; --ch: #e7b93e; --br: #ef7fb4;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; background: var(--bg); }
body {
  margin: 0;
  background: radial-gradient(1200px 620px at 72% -14%, rgba(36, 66, 108, 0.42), transparent 64%), radial-gradient(900px 520px at -8% 6%, rgba(28, 48, 78, 0.28), transparent 62%), var(--bg);
  background-repeat: no-repeat;
  color: var(--fg);
  font: 16px/1.6 var(--font);
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--accent2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--rc); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(25px, 3.2vw, 34px); font-weight: 600; letter-spacing: -0.005em; }
h3 { font-size: 18.5px; font-weight: 600; }
p { margin: 0 0 12px; }
code, kbd { font-family: var(--mono); font-size: 0.92em; }
kbd { display: inline-block; padding: 1px 7px; border: 1px solid var(--line2); border-bottom-width: 2px; border-radius: var(--rc); background: var(--well); color: var(--fg); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
@media (max-width: 420px) { .wrap { padding-inline: 16px; } }
.small { font-size: 14px; color: var(--sub); }
.eyebrow { font: 600 12px/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); margin: 0 0 12px; }
.lead { color: var(--sub); font-size: 18px; max-width: 64ch; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 8px 12px; background: var(--panel2); color: var(--fg); border: 1px solid var(--edge); border-radius: var(--rc); font-weight: 600; }
.skip:focus { left: 12px; }

/* buttons: the main one gold (one a page at most: Download), the others steel-edged; brand buttons in their colours */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--rc); border: 1px solid transparent; font: 600 15px/1.1 var(--font); text-decoration: none; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, filter 0.15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--gold-btn); border-color: var(--gold-hi); color: var(--gold-ink); box-shadow: 0 0 10px rgba(214, 165, 72, 0.22); }
.btn.primary:hover { color: var(--gold-ink); filter: brightness(1.08); box-shadow: 0 0 14px rgba(214, 165, 72, 0.32); }
/* (a page with its own Download (Home, Install, Is it safe?): the top bar's is a steel one, one gold button a page) */
body:has(main .btn.primary) .top-actions .btn.primary { background: var(--panel2); border-color: var(--line2); color: var(--fg); box-shadow: none; filter: none; }
body:has(main .btn.primary) .top-actions .btn.primary:hover { border-color: var(--edge); background: #1a2533; }
/* (Support: quiet, an outline with the heart in gold) */
.btn.support { background: transparent; border-color: rgba(214, 165, 72, 0.5); color: #e8c47c; }
.btn.support svg { fill: var(--gold); }
.btn.support:hover { border-color: var(--gold); color: #f3d79a; background: rgba(214, 165, 72, 0.07); }
.btn.discord { background: var(--discord); color: #fff; }
.btn.discord:hover { background: #6d78f5; color: #fff; }
.btn.ghost { border-color: var(--line2); color: var(--fg); background: var(--panel2); }
.btn.ghost:hover { border-color: var(--edge); color: var(--fg); background: #1a2533; }
/* (2.0.9, his request) PayPal, Patreon and Ko-fi, each with its logo, in its own colours */
.btn.paypal { background: #ffc439; color: #003087; }
.btn.paypal:hover { background: #ffd060; color: #003087; }
.btn.patreon { background: #ff424d; color: #fff; }
.btn.patreon:hover { background: #ff5c66; color: #fff; }
.btn.kofi { background: #29abe0; color: #fff; }
.btn.kofi:hover { background: #43b9e8; color: #fff; }
.btn.paypal svg, .btn.patreon svg, .btn.kofi svg { fill: currentColor; }
.foot-support a { display: inline-flex; align-items: center; gap: 8px; }
.foot-support a svg { width: 15px; height: 15px; fill: currentColor; flex: none; opacity: 0.85; }
#support { scroll-margin-top: 90px; }
.btn.big { padding: 14px 24px; font-size: 16.5px; }
.btn.small { padding: 7px 13px; font-size: 14px; }

/* the top bar: on every page (the game's own bars: glass, a hairline under it) */
.top { position: sticky; top: 0; z-index: 20; background: rgba(10, 15, 22, 0.86); backdrop-filter: saturate(130%) blur(12px); -webkit-backdrop-filter: saturate(130%) blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font: 600 18.5px/1 var(--display); letter-spacing: 0.01em; flex: none; }
.brand:hover { color: var(--fg); }
.brand .logo { width: 32px; height: 32px; border-radius: var(--rc); }
/* (the pages: tabs, the open one with the game's blue under it) */
.nav { display: flex; align-items: stretch; gap: 2px; margin-left: 12px; align-self: stretch; }
.nav a { display: flex; align-items: center; padding: 0 11px; color: var(--sub); text-decoration: none; font-weight: 600; font-size: 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.nav a:hover { color: var(--fg); background: var(--track); }
.nav a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--accent); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--rc); border: 1px solid var(--line2); color: var(--sub); background: transparent; cursor: pointer; }
.icon-btn:hover { color: var(--fg); border-color: var(--edge); }
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.icon-btn.discord:hover { color: #fff; background: var(--discord); border-color: var(--discord); }
.menu-btn { display: none; }
.menu-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* (2.0.12: seven pages in the top bar: folded into the menu a little sooner) */
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; align-self: auto; gap: 0; margin: 0; padding: 8px 16px 14px; background: rgba(11, 16, 24, 0.98); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .top.open .nav { display: flex; }
  .nav a { padding: 12px; font-size: 16px; border-bottom: 0; margin: 0; border-left: 2px solid transparent; }
  .nav a[aria-current="page"] { border-left-color: var(--accent); background: linear-gradient(90deg, var(--sel), transparent 80%); }
  .menu-btn { display: inline-grid; }
  .top-actions .btn.support span { display: none; }
  .top-actions .btn.support { padding: 7px 10px; }
}
@media (max-width: 560px) {
  .top-in { gap: 10px; }
  .top-actions { gap: 8px; }
  .top-actions .btn.primary span { display: none; }
  .top-actions .btn.primary { padding: 7px 10px; }
}
@media (max-width: 420px) { .top-actions .icon-btn.discord { display: none; } .brand-name { font-size: 17px; } }

/* sections */
.section { padding: 72px 0; }
.section.tight { padding: 50px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 10px; margin: 0 0 30px; max-width: 760px; }
.section-head p { color: var(--sub); font-size: 17px; margin: 0; }

/* the home page's opening: what it is, Download, the meter over the game */
.hero { padding: 60px 0 54px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.6vw, 62px); font-weight: 650; letter-spacing: -0.02em; }
.hero h1 .tagline { display: block; margin-top: 12px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; letter-spacing: 0; color: var(--steel); }
.hero .lead { margin: 22px 0 28px; }
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.get-meta { display: grid; gap: 2px; font-size: 14px; color: var(--sub); }
.get-meta b { color: var(--fg); font-weight: 600; }
.facts-line { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--sub); font-size: 14.5px; }
.facts-line li { display: inline-flex; align-items: center; gap: 8px; }
.facts-line li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.hero-media { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line2); background: #000; aspect-ratio: 928 / 490; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .still { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-media video { display: none; } .hero-media .still { display: block; } }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; gap: 32px; } .hero { padding-top: 40px; } }

/* the classes' colours as a thin band, the meter's bars (a signature of the site) */
.classbar { display: grid; grid-template-columns: repeat(9, 1fr); height: 3px; overflow: hidden; margin: 0 0 18px; max-width: 220px; opacity: 0.9; }
.classbar i:nth-child(1) { background: var(--gl); } .classbar i:nth-child(2) { background: var(--te); } .classbar i:nth-child(3) { background: var(--as); }
.classbar i:nth-child(4) { background: var(--ra); } .classbar i:nth-child(5) { background: var(--so); } .classbar i:nth-child(6) { background: var(--sp); }
.classbar i:nth-child(7) { background: var(--cl); } .classbar i:nth-child(8) { background: var(--ch); } .classbar i:nth-child(9) { background: var(--br); }

/* cards: a feature, a step, a fact (a window of the game: glass, one steel edge) */
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.two, .grid.three { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--hi); padding: 20px; min-width: 0; }
a.card { color: inherit; text-decoration: none; transition: border-color 0.15s, background-color 0.15s; }
a.card:hover { border-color: var(--edge); }
a.card:hover h3 { color: #fff; }
.card .shot { margin: -20px -20px 16px; border-bottom: 1px solid var(--line); border-radius: var(--r) var(--r) 0 0; overflow: hidden; background: #070a0e; aspect-ratio: 16 / 9; }
.card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.card h3 { margin: 0 0 8px; }
.card p { color: var(--sub); margin: 0; }
.card .more { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--link); font-size: 14.5px; }
a.card:hover .more { color: var(--accent2); }
/* (a feature's name over its heading: small capitals with a steel line, as the meter's section heads) */
.tag { display: flex; align-items: center; gap: 10px; max-width: 320px; font: 600 12px/1.4 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.tag::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line2), transparent); }
.tag.new { color: var(--good); }

/* "Is it safe?" in short, on the home page */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 800px) { .trust { grid-template-columns: 1fr; } }
.trust .card { padding: 22px; }
.trust .ico { width: 38px; height: 38px; border-radius: var(--rc); display: grid; place-items: center; margin: 0 0 14px; background: var(--well); border: 1px solid var(--line2); color: var(--steel); }
.trust .ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* the community: Discord and giving */
.community { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 800px) { .community { grid-template-columns: 1fr; } }
.discord-card .btn { align-self: flex-start; margin-top: 16px; }
.give-card p { margin-bottom: 14px; }
.give-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* a page's own heading (Features, Install, Help...) */
.page-hero { padding: 54px 0 18px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 48px); font-weight: 650; letter-spacing: -0.015em; margin: 0 0 14px; }
.page-hero .lead { margin: 0; }
/* (a page's parts: a row of quiet links) */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line2); border-radius: var(--rc); color: var(--sub); text-decoration: none; font-weight: 600; font-size: 14px; background: var(--well); }
.toc a:hover { color: var(--fg); border-color: var(--edge); }

/* a feature, told with its picture (the Features page) */
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.feature:nth-of-type(even) .feature-text { order: 2; }
.feature h2 { font-size: clamp(23px, 2.8vw, 30px); margin: 0 0 12px; }
.feature p { color: var(--sub); }
.feature ul { margin: 12px 0 0; padding-left: 20px; color: var(--sub); }
.feature li { margin: 4px 0; }
.feature li::marker { color: var(--faint); }
.feature li b { color: var(--fg); font-weight: 600; }
.feature .where { margin-top: 14px; font-size: 14.5px; color: var(--dim); }
.feature .where b { color: var(--sub); font-weight: 600; }
.shot-frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line2); background: #070a0e; }
.shot-frame.pad { padding: 18px; display: grid; place-items: center; }
.shot-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.shot-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature .card { align-self: center; }
.feature .tag { margin-bottom: 12px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 22px; } .feature:nth-of-type(even) .feature-text { order: 0; } }

/* steps (Install) */
.steps { counter-reset: step; display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--hi); padding: 22px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--rc); background: var(--well); border: 1px solid var(--line2); color: var(--steel); font: 600 19px/1 var(--display); font-variant-numeric: tabular-nums; }
.step h3 { margin: 6px 0 8px; font-size: 20px; }
.step p, .step li { color: var(--sub); }
.step ul { margin: 8px 0 0; padding-left: 20px; }
.step .demo { margin-top: 16px; }
@media (max-width: 600px) { .step { grid-template-columns: 1fr; gap: 12px; padding: 18px; } }

/* a Windows SmartScreen warning, drawn (Install): where to click (Windows' own look: kept) */
.smartscreen { max-width: 460px; border-radius: 4px; overflow: hidden; background: #2b5797; color: #fff; font: 14px/1.45 "Segoe UI", system-ui, sans-serif; }
.smartscreen .ss-body { padding: 22px 24px 18px; }
.smartscreen .ss-title { font-size: 22px; font-weight: 300; margin: 0 0 12px; }
.smartscreen p { color: #e8eefb; margin: 0 0 10px; font-size: 13.5px; }
.smartscreen .ss-link { color: #fff; text-decoration: underline; font-weight: 600; position: relative; }
.smartscreen .ss-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; background: rgba(0, 0, 0, 0.18); }
.smartscreen .ss-btn { padding: 6px 18px; border: 1px solid rgba(255, 255, 255, 0.6); background: transparent; color: #fff; font: inherit; font-size: 13.5px; }
.smartscreen .ss-btn.go { background: #fff; color: #1a3d73; border-color: #fff; font-weight: 600; }
.pointer { position: relative; }
.pointer::after { content: attr(data-n); position: absolute; top: -12px; right: -14px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font: 700 12px/22px var(--font); text-align: center; box-shadow: 0 0 0 3px rgba(214, 165, 72, 0.3); }

/* a small fold-out (Install: checking the file) */
.qa-mini { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--rc); background: var(--well); }
.qa-mini summary { cursor: pointer; padding: 9px 14px; font-weight: 600; color: var(--sub); }
.qa-mini summary:hover { color: var(--fg); }
.qa-mini[open] { padding-bottom: 12px; }
.qa-mini > p, .qa-mini > .code-line { margin: 8px 14px 0; }
.hash { overflow-wrap: anywhere; color: #cfe3ff; }

.block-title { margin: 0 0 18px; font-size: clamp(23px, 2.8vw, 29px); }

/* questions and answers (Help, Safety): rows that open; the question and its answer at one edge, the arrow on the right (his note: "the text is not aligned well") */
.qa { display: grid; gap: 8px; }
.qa details { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--hi); }
.qa details[open] { border-color: var(--line2); }
.qa summary { list-style: none; cursor: pointer; padding: 15px 48px 15px 20px; font: 600 16.5px/1.35 var(--display); position: relative; transition: color 0.15s; }
.qa summary:hover { color: #fff; }
.qa summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--r); }
.qa details[open] > summary { border-bottom: 1px solid var(--line); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: ""; position: absolute; right: 22px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--sub); border-bottom: 2px solid var(--sub); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s; }
.qa summary:hover::before { border-color: var(--fg); }
.qa details[open] summary::before { transform: translateY(-30%) rotate(-135deg); border-color: var(--accent); }
.qa .a { padding: 14px 20px 18px; color: var(--sub); }
.qa .a p:last-child { margin-bottom: 0; }
.qa .a ul, .qa .a ol { margin: 6px 0 10px; padding-left: 20px; }
@media (max-width: 560px) { .qa summary { padding: 14px 42px 14px 16px; } .qa summary::before { right: 18px; } .qa .a { padding: 12px 16px 16px; } }
.help-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.note { border-left: 2px solid var(--edge); background: var(--panel); padding: 14px 18px; border-radius: 0 var(--r) var(--r) 0; color: var(--sub); }
.note b { color: var(--fg); }
.note.warn { border-color: var(--warn); background: rgba(230, 162, 60, 0.06); }

/* lists of what it does and doesn't (Safety) */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--sub); }
.ticks li b { color: var(--fg); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: var(--rc); background: rgba(76, 201, 133, 0.13) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%234cc985' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: inset 0 0 0 1px rgba(76, 201, 133, 0.3); }
.ticks.no li::before { background: rgba(229, 85, 77, 0.13) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%23e5554d' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px no-repeat; box-shadow: inset 0 0 0 1px rgba(229, 85, 77, 0.3); }
.code-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--well); border: 1px solid var(--line2); border-radius: var(--rc); padding: 12px 14px; font-family: var(--mono); font-size: 14px; color: #cfe3ff; overflow-x: auto; }
.code-line code { white-space: nowrap; }

/* Download's details, and the other blocks with one action */
.dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; background: linear-gradient(180deg, rgba(36, 60, 92, 0.32), transparent 70%), var(--panel); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: var(--hi); padding: 28px; }
.dl > * { min-width: 0; }
.dl h2 { margin: 0 0 8px; }
.dl dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin: 14px 0 0; font-size: 14px; }
.dl dt { color: var(--dim); }
.dl dd { margin: 0; color: var(--sub); overflow-wrap: anywhere; }
.dl dd code { color: #cfe3ff; }
@media (max-width: 700px) { .dl { grid-template-columns: 1fr; padding: 22px; } }

/* the footer: on every page */
.bottom { margin-top: 40px; border-top: 1px solid var(--line); background: rgba(5, 8, 12, 0.45); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 46px; padding-bottom: 34px; }
.foot-brand p { color: var(--sub); font-size: 14.5px; margin: 12px 0 16px; max-width: 32ch; }
.foot-grid h4 { margin: 4px 0 12px; font: 600 12px/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.foot-grid nav { display: grid; gap: 9px; align-content: start; }
.foot-grid nav a { color: var(--sub); text-decoration: none; font-size: 15px; }
.foot-grid nav a:hover { color: var(--fg); }
.legal { padding-top: 18px; padding-bottom: 30px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.legal p { margin: 0 0 6px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* the Records' pages: the same page frame (their own look is in /site/site.css) */
main.data { padding-top: 36px; padding-bottom: 56px; }

/* two columns that stack on a phone (Safety, Privacy) */
.grid.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .grid.split { grid-template-columns: 1fr; gap: 28px; } }

/* how the meter gets its numbers, in four steps (Safety) */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr); align-items: stretch; gap: 8px; margin: 0 0 40px; }
.flow-step { display: grid; gap: 4px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--glass); box-shadow: var(--hi); min-width: 0; }
.flow-step.hl { border-color: var(--line2); box-shadow: inset 0 2px 0 var(--steel); }
.flow-k { font: 600 15px/1.2 var(--display); color: var(--fg); }
.flow-v { font-size: 14px; color: var(--sub); }
.flow-arrow { align-self: center; height: 1px; background: var(--edge); position: relative; }
.flow-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 4.5px solid transparent; border-left-color: var(--steel); border-right: 0; }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { justify-self: center; width: 1px; height: 18px; }
  .flow-arrow::after { right: -4px; top: auto; bottom: -1px; border: 4.5px solid transparent; border-top-color: var(--steel); border-bottom: 0; }
}

/* a table of plain facts (Safety, Privacy, the Guide's hotkeys) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); margin: 0 0 14px; }
.facts { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 13px 18px; border-top: 1px solid var(--line); }
.facts thead th { border-top: 0; font: 600 12px/1.2 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); background: rgba(0, 0, 0, 0.18); }
.facts tbody tr:hover th, .facts tbody tr:hover td { background: var(--track); }
.facts tbody th { font-weight: 600; color: var(--fg); width: 32%; }
.facts td { color: var(--sub); }
.facts.three tbody th { width: 22%; }
.facts.three td:last-child { width: 27%; }

/* a party on the Records, names off and on (Privacy): you with the gold edge, as on the meter */
.name-demo { border: 1px solid var(--line); border-radius: var(--r); background: var(--glass); box-shadow: var(--hi); padding: 18px 20px; display: grid; gap: 6px; }
.name-demo-title { margin: 0 0 6px; font: 600 12px/1.2 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.name-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 12px; border-radius: var(--rc); background: var(--track); }
.name-row .who { font-weight: 600; }
.name-row .cap { font-size: 13px; color: var(--dim); text-align: right; }
.name-row.me { background: linear-gradient(90deg, rgba(214, 165, 72, 0.12), rgba(214, 165, 72, 0.02)); box-shadow: inset 2px 0 0 var(--gold); }
.name-row.me .who { color: #ecc777; }
.name-sep { height: 1px; background: var(--line); margin: 6px 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.dot.c-cl { background: var(--cl); } .dot.c-te { background: var(--te); } .dot.c-so { background: var(--so); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.about-text p { color: var(--sub); font-size: 17px; max-width: 60ch; }
.about-big { font: 600 clamp(23px, 2.8vw, 30px)/1.25 var(--display); color: var(--fg) !important; margin-bottom: 18px; }
.about .give-row { margin-top: 22px; }
.about .discord-card { padding: 24px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Page not found */
.lost { padding: 90px 0 70px; text-align: left; }
.lost-code { margin: 0 0 4px; font: 650 clamp(64px, 12vw, 116px)/1 var(--display); letter-spacing: -0.03em; background: linear-gradient(180deg, #dbe6f2, #5f7a99); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost .give-row { margin-top: 26px; }

/* ===================================================================== the event timers */
.t-hero { padding-bottom: 8px; }
.t-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 22px; margin: 26px 0 0; }
.t-control { display: grid; gap: 7px; min-width: 0; }
.t-label { font: 600 12px/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
/* (one of a few: one joined bar, the chosen part in the game's blue) */
.seg { display: inline-flex; flex-wrap: wrap; max-width: 100%; }
.seg button { appearance: none; margin: 0 0 0 -1px; border: 1px solid var(--line2); border-radius: 0; padding: 7px 13px; background: var(--well); color: var(--sub); font: 600 14px/1.1 var(--font); cursor: pointer; white-space: nowrap; }
.seg button:first-child { margin-left: 0; border-radius: var(--rc) 0 0 var(--rc); }
.seg button:last-child { border-radius: 0 var(--rc) var(--rc) 0; }
.seg button:hover { color: var(--fg); background: #131c27; }
.seg button[aria-checked="true"], .seg button[aria-selected="true"] { position: relative; z-index: 1; background: var(--seg-on); border-color: #3f78ad; color: #fff; }
.seg button:focus-visible { position: relative; z-index: 2; outline-offset: 1px; }
.t-clock { margin: 0 0 0 auto; font: 600 14px/1.2 var(--mono); color: var(--sub); font-variant-numeric: tabular-nums; padding-bottom: 9px; }
@media (max-width: 700px) { .t-clock { margin-left: 0; padding-bottom: 0; } }

.t-now { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 860px) { .t-now { grid-template-columns: 1fr; } }
.t-next { --ev: var(--accent); position: relative; overflow: hidden; border: 1px solid var(--line2); border-radius: var(--r); padding: 24px 26px 22px; min-width: 0;
  background: radial-gradient(520px 240px at 0% 0%, color-mix(in srgb, var(--ev) 14%, transparent), transparent 70%), var(--glass); box-shadow: var(--hi); }
.t-next::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--ev); }
.t-kicker { margin: 0 0 6px; font: 600 12px/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ev); }
.t-next-name { font-size: clamp(23px, 3vw, 30px); margin: 0; }
.t-next-name a { color: var(--fg); text-decoration: none; }
.t-next-name a:hover { color: var(--accent2); }
.t-big { margin: 6px 0 2px; font: 600 clamp(54px, 8.6vw, 88px)/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--fg); }
.t-next-at { color: var(--sub); margin: 0 0 16px; }
.t-then { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.t-then-k { font: 600 12px/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.t-then ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
@media (max-width: 520px) { .t-then ol { grid-template-columns: 1fr; } }
.t-then li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 9px; font-size: 14.5px; min-width: 0; }
.t-then-name { color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-then-in { color: var(--sub); font-weight: 600; font-variant-numeric: tabular-nums; }
.t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ev, var(--accent)); flex: none; }

.t-running { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 18px; background: var(--glass); box-shadow: var(--hi); min-width: 0; }
.t-h { display: flex; align-items: center; gap: 10px; font: 600 12px/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); margin: 0 0 14px; }
.t-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.t-run-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.t-run-none { color: var(--sub); }
.t-run-top { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.t-run-name { font-weight: 600; }
.t-run-left { font-variant-numeric: tabular-nums; color: var(--ev, var(--accent)); }
.t-bar { height: 4px; background: var(--track); overflow: hidden; margin: 8px 0 4px; }
.t-bar i { display: block; height: 100%; width: 0; background: var(--ev, var(--accent)); }
.t-run-at { margin: 0; font-size: 13px; color: var(--dim); }

.t-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px; margin: 0 0 16px; }
.t-head .block-title { margin: 0; }
.t-head .small { margin: 0; }
.t-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); -webkit-overflow-scrolling: touch; }
.t-timeline { --t-label: 176px; position: relative; min-width: 780px; padding: 6px 0 30px; }
.t-axis, .t-row { display: grid; grid-template-columns: var(--t-label) minmax(0, 1fr); align-items: center; }
.t-axis { height: 30px; }
.t-hours { position: relative; height: 100%; margin-right: 16px; }
.t-hour { position: absolute; bottom: 4px; width: 1px; height: 5px; background: var(--line2); }
.t-hour.major { height: 9px; background: rgba(140, 175, 215, 0.34); }
.t-hour.major { font: 600 12px/1 var(--mono); color: var(--dim); }
.t-hour.major:not(:empty) { width: auto; height: auto; background: none; border-left: 1px solid rgba(140, 175, 215, 0.34); padding: 0 0 6px 5px; bottom: 0; white-space: nowrap; }
@media (max-width: 600px) {
  .t-timeline { --t-label: 116px; min-width: 680px; }
  .t-row-k { padding: 0 8px 0 12px; font-size: 12.5px; gap: 7px; }
}
.t-row { min-height: 40px; }
.t-row + .t-row { border-top: 1px solid var(--line); }
.t-row-k { display: flex; align-items: center; gap: 9px; padding: 0 12px 0 16px; font-size: 14px; font-weight: 600; color: var(--fg); text-decoration: none; min-width: 0; }
.t-row-k span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-row-k:hover { color: var(--accent2); }
.t-track { position: relative; height: 40px; margin-right: 16px; }
.t-grid { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(140, 175, 215, 0.04); }
.t-grid.major { background: rgba(140, 175, 215, 0.09); }
.t-mark { position: absolute; top: 12px; height: 16px; min-width: 5px; padding: 0; border: 0; border-radius: 2px; background: var(--ev, var(--accent)); cursor: pointer; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3); transition: transform 0.12s, filter 0.12s; }
.t-mark:hover, .t-mark:focus-visible { transform: scaleY(1.25); filter: brightness(1.2); z-index: 2; }
.t-mark.instant { width: 12px; height: 12px; top: 14px; margin-left: -6px; border-radius: 1px; transform: rotate(45deg); }
.t-mark.instant:hover, .t-mark.instant:focus-visible { transform: rotate(45deg) scale(1.25); }
.t-mark.past { opacity: 0.28; }
/* (now: gold, the one "you are here" on the timeline) */
.t-now-line { position: absolute; top: 36px; bottom: 30px; width: 2px; margin-left: -1px; background: var(--gold); box-shadow: 0 0 8px rgba(214, 165, 72, 0.45); pointer-events: none; z-index: 3; }
.t-now-line span { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); padding: 2px 6px; border-radius: 2px; background: var(--gold); color: var(--gold-ink); font: 700 10.5px/1.2 var(--font); letter-spacing: 0.06em; text-transform: uppercase; }
.t-row-next { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--dim); white-space: nowrap; }
.t-h2 { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.t-resets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.t-reset { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; gap: 2px 10px; }
.t-reset-name { font-weight: 600; }
.t-reset-in { font-variant-numeric: tabular-nums; color: var(--fg); }
.t-reset-at { grid-column: 2 / 4; font-size: 13px; color: var(--dim); }
.t-caption { margin: 10px 2px 0; min-height: 1.6em; font-size: 14.5px; color: var(--sub); }

.t-remind { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14.5px; color: var(--sub); }
.t-remind label { font-weight: 600; color: var(--fg); }
.t-remind select { appearance: auto; border: 1px solid var(--line2); border-radius: var(--rc); padding: 6px 8px; background: var(--well); color: var(--fg); font: inherit; }
.t-remind-note { color: var(--dim); font-size: 13.5px; }
.t-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; align-items: start; }
.t-card { --ev: var(--accent); position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--glass); box-shadow: var(--hi); min-width: 0; scroll-margin-top: 90px; }
.t-card::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 2px; background: var(--ev); }
.t-card:target { border-color: var(--edge); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ev) 30%, transparent); }
.t-card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.t-card-head h3 { margin: 0; font-size: 17.5px; flex: 1 1 auto; min-width: 0; }
.t-swatch { display: none; }
.t-conf { padding: 2px 8px; border-radius: var(--rc); font: 600 11.5px/1.4 var(--font); letter-spacing: 0.02em; white-space: nowrap; }
.t-conf.a, .t-conf.b { background: rgba(76, 201, 133, 0.12); color: #8fe0b2; box-shadow: inset 0 0 0 1px rgba(76, 201, 133, 0.28); }
.t-conf.c { background: rgba(230, 162, 60, 0.12); color: #f0c47a; box-shadow: inset 0 0 0 1px rgba(230, 162, 60, 0.28); }
.t-sched { margin: 0; color: var(--sub); font-size: 14.5px; }
.t-slot { display: grid; gap: 10px; }
.t-slot:empty { display: none; }
.t-when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.t-state { font: 600 12px/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.t-count { font: 600 24px/1.1 var(--display); font-variant-numeric: tabular-nums; color: var(--fg); }
.t-when.on .t-state { color: var(--ev); }
.t-when.on .t-count { color: var(--ev); }
.t-at { color: var(--sub); font-size: 14.5px; }
.t-times { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.t-times li { padding: 2px 8px; border: 1px solid var(--line2); border-radius: var(--rc); background: var(--well); font-size: 13px; color: var(--sub); font-variant-numeric: tabular-nums; }
/* (a reminder set: on, in the game's blue) */
.t-bell { justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid var(--line2); border-radius: var(--rc); background: var(--panel2); color: var(--sub); font: 600 14px/1.1 var(--font); cursor: pointer; }
.t-bell svg { width: 16px; height: 16px; fill: currentColor; }
.t-bell:hover { color: var(--fg); border-color: var(--edge); }
.t-bell[aria-pressed="true"] { color: #fff; background: var(--sel); border-color: var(--sel-edge); }
.t-bell[aria-pressed="true"] svg { fill: var(--accent); }
.t-more { border-top: 1px solid var(--line); padding-top: 8px; margin-top: auto; }
.t-more summary { cursor: pointer; color: var(--link); font-weight: 600; font-size: 14.5px; }
.t-more p { color: var(--sub); font-size: 14.5px; margin: 8px 0 0; }
.t-more b { color: var(--fg); font-weight: 600; }
.t-static-note[hidden] { display: none; }
.t-cta .btn { align-self: flex-start; margin-top: 14px; }

.t-toasts { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); }
.t-toast { position: relative; display: grid; gap: 2px; padding: 13px 40px 13px 16px; border: 1px solid var(--line2); border-radius: var(--r); background: #111924; box-shadow: var(--shadow), inset 2px 0 0 var(--gold); animation: t-in 0.25s ease-out; }
.t-toast b { color: var(--fg); }
.t-toast span { color: var(--sub); font-size: 14px; }
.t-toast-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: var(--rc); background: transparent; color: var(--dim); font-size: 20px; line-height: 1; cursor: pointer; }
.t-toast-x:hover { color: var(--fg); background: var(--track); }
@keyframes t-in { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }

/* (the home page's Discord row and the donation's one quiet line) */
.discord-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px 28px; }
.discord-row h2 { font-size: 21px; margin: 0 0 8px; }
.discord-row .btn { margin-top: 0; align-self: center; }
@media (max-width: 700px) { .discord-row { grid-template-columns: 1fr; padding: 22px; } .discord-row .btn { justify-self: start; } }
.give-line { margin: 18px 0 0; color: var(--sub); font-size: 15px; }
.give-line a { color: var(--fg); }
.give-line a:hover { color: var(--accent2); }

/* (the download's version, only when it's known: else the file's name alone) */
.ver[data-v$=".exe"] > span, .ver-row[data-v$=".exe"], .ver-line[data-v$=".exe"] { display: none; }
.ver-row { display: contents; }
/* (Features: the big windows full width; pictures one at a time; each opens full size) */
.feature.wide { grid-template-columns: minmax(0, 1fr); gap: 26px; }
.feature.wide .feature-text { order: 0; max-width: 780px; }
a.shot-frame { display: block; cursor: zoom-in; }
a.shot-frame:hover { border-color: var(--edge); }
.shots { display: grid; gap: 12px; min-width: 0; }
.shots .seg { justify-self: start; }
/* (2.1.5: each picture its own height, no room kept for the tallest: the tabs stay where they are when another is
   picked, the picture under them grows or shrinks) */
.feature > .shots { align-self: start; }
/* (the timeline: the time under the mouse, as the meter's rotation shows it) */
.t-hover { position: absolute; top: 4px; bottom: 30px; width: 0; pointer-events: none; z-index: 4; }
.t-hover::before { content: ""; position: absolute; top: 28px; bottom: 0; left: -0.5px; width: 1px; background: rgba(230, 235, 241, 0.5); }
.t-hover-t { position: absolute; top: 0; left: 0; transform: translateX(-50%); display: inline-flex; gap: 6px; align-items: baseline; padding: 3px 8px; border-radius: var(--rc); background: var(--panel2); border: 1px solid var(--line2); color: var(--fg); font: 600 12px/1.3 var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; box-shadow: var(--shadow); }
.t-hover-t small { color: var(--sub); font-weight: 400; font-size: 11.5px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---- 2.0.12 ---- */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Install: if your browser stops the download */
.blocked { margin-top: 18px; padding: 16px 18px; border: 1px solid rgba(230, 162, 60, 0.32); border-left-width: 2px; border-left-color: var(--warn); border-radius: var(--r); background: rgba(230, 162, 60, 0.04); scroll-margin-top: 90px; }
.blocked h4 { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--fg); }
.blocked-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; margin: 12px 0 10px; }
.blocked-b b { color: var(--fg); }
.blocked-b ol { margin: 6px 0 0; padding-left: 20px; color: var(--sub); font-size: 15px; }
.blocked-b li { margin: 3px 0; }
.blocked-b .small { margin: 6px 0 0; }
@media (max-width: 700px) { .blocked-grid { grid-template-columns: 1fr; } }
/* The guide: each part numbered, its words beside its picture */
.guide { padding-top: 12px; padding-bottom: 40px; } /* (its sides: the .wrap's gutter) */
.g-part { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.g-part:first-child { border-top: 0; }
.g-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--rc); background: var(--well); border: 1px solid var(--line2); color: var(--steel); font: 600 19px/1 var(--display); font-variant-numeric: tabular-nums; }
.g-body { min-width: 0; }
.g-body h2 { margin: 4px 0 10px; font-size: clamp(22px, 2.5vw, 27px); }
.g-body > p { color: var(--sub); max-width: 760px; }
.g-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; margin-top: 14px; }
.g-steps { margin: 12px 0 18px; padding-left: 22px; color: var(--sub); display: grid; gap: 6px; max-width: 820px; }
.g-steps li::marker { color: var(--steel); font-weight: 600; }
.g-steps b { color: var(--fg); font-weight: 600; }
.g-body .shots { margin-top: 6px; }
.g-body > .g-wide { margin-top: 18px; max-width: 1000px; }
.g-body .table-wrap { margin-top: 6px; }
@media (max-width: 900px) { .g-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .g-part { grid-template-columns: 1fr; gap: 10px; } }
/* The interactive map (2.1): a bar (zone, find, what it shows, full screen), the list beside the map (under it on a
   phone, as a panel from the bottom), the map with its zoom and a marker's card. Its list is the meter's map's list:
   every row that opens has its chevron at the very left, then its tick, its name, how many at the right. */
.wm-wrap { max-width: 1440px; }
.wm { display: flex; flex-direction: column; height: min(80vh, 920px); min-height: 480px; border: 1px solid var(--line2); border-radius: var(--r); overflow: hidden; background: var(--bg2); }
.wm-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: rgba(10, 15, 22, 0.9); }
.wm-zone select { appearance: auto; border: 1px solid var(--line2); border-radius: var(--rc); padding: 7px 10px; background: var(--well); color: var(--fg); font: 600 15px/1.2 var(--font); max-width: 100%; }
.wm-find { position: relative; flex: 1 1 240px; min-width: 0; max-width: 420px; }
.wm-find > svg { position: absolute; left: 11px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); fill: none; stroke: var(--dim); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.wm-find input { width: 100%; border: 1px solid var(--line2); border-radius: var(--rc); padding: 7px 12px 7px 34px; background: var(--well); color: var(--fg); font: 15px/1.2 var(--font); }
.wm-find input:hover { border-color: var(--edge); }
.wm-find input::placeholder { color: var(--dim); }
.wm-hits { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; max-height: min(420px, 60vh); overflow-y: auto; padding: 4px; border: 1px solid var(--line2); border-radius: var(--r); background: rgba(14, 20, 29, 0.98); box-shadow: var(--shadow); }
.wm-hit { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border: 0; border-radius: var(--rc); background: none; color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
.wm-hit:hover, .wm-hit:focus-visible { background: var(--track); outline: none; box-shadow: inset 2px 0 0 var(--accent); }
.wm-hit span { display: grid; min-width: 0; }
.wm-hit b { font-weight: 600; font-size: 14.5px; }
.wm-hit small { color: var(--dim); font-size: 12.5px; }
.wm-show { gap: 7px; }
.wm-show svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; width: 17px; height: 17px; }
.wm-show.on { border-color: var(--sel-edge); background: var(--sel); }
.wm-badge { min-width: 20px; padding: 1px 6px; border-radius: 2px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; text-align: center; }
.wm-full { margin-left: auto; }
.wm-full svg, .wm-zoom svg, .wm-x svg, .wm-focus svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wm-body { position: relative; flex: 1; display: flex; min-height: 0; }
.wm-panel { width: 310px; flex: none; overflow-y: auto; padding: 8px 10px 16px; border-right: 1px solid var(--line2); background: linear-gradient(180deg, rgba(14, 20, 30, 0.98), rgba(11, 16, 24, 0.98)); overscroll-behavior: contain; }
.wm-ph { display: flex; align-items: center; gap: 8px; margin: 2px 2px 6px; padding: 0 0 6px; border-bottom: 1px solid var(--line); }
.wm-ph b { font-weight: 600; color: #cfe3f7; }
.wm-clear { margin-left: auto; border: 0; border-radius: var(--rc); background: none; color: var(--sub); font: 600 13.5px/1 var(--font); cursor: pointer; padding: 5px 6px; }
.wm-clear:hover { color: var(--fg); background: var(--track); }
.wm-x { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: var(--rc); background: none; color: var(--sub); cursor: pointer; }
.wm-x:hover { background: var(--track); color: var(--fg); }
.wm-x svg { width: 16px; height: 16px; }
.wm-ph .wm-x { display: none; }
.wm-grp + .wm-grp { border-top: 1px solid rgba(140, 175, 215, 0.12); }
.wm-grp { padding: 2px 0; }
/* (a row's chevron, at its very left: a group's, a kind's own ones; or its empty place, so the ticks line up) */
.wm-cv { flex: none; display: grid; place-items: center; width: 22px; height: 26px; padding: 0; border: 0; border-radius: var(--rc); background: none; color: var(--sub); cursor: pointer; }
button.wm-cv:hover { background: var(--track); color: var(--fg); }
.wm-cv svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.12s; }
.wm-cv[aria-expanded="true"] svg { transform: rotate(90deg); }
.wm-gh { display: flex; align-items: center; gap: 6px; padding-right: 4px; }
.wm-gh input, .wm-kind input, .wm-nm input { width: 16px; height: 16px; margin: 0; accent-color: #3f8fd6; flex: none; cursor: pointer; }
.wm-gt { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 4px; border: 0; border-radius: var(--rc); background: none; color: #b9c8da; font: 600 12.5px/1.2 var(--font); letter-spacing: 0.08em; text-transform: uppercase; text-align: left; cursor: pointer; }
.wm-gt:hover { background: var(--track); color: var(--fg); }
.wm-gn { margin-left: auto; color: var(--sub); font-weight: 400; font-size: 12.5px; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.wm-gk { padding: 0 0 6px 18px; }
.wm-kind { display: flex; align-items: center; gap: 2px; border-radius: var(--rc); }
.wm-kind:hover { background: var(--track); }
.wm-kind > label { flex: 1; min-width: 0; display: grid; grid-template-columns: auto 24px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; cursor: pointer; font-size: 14px; }
.wm-kind.on > label { color: #fff; }
.wm-ki { width: 24px; height: 24px; flex: none; object-fit: contain; }
.wm-ki.round { border-radius: 50%; object-fit: cover; background: #07090d; }
.wm-ki.sq { border-radius: var(--rc); object-fit: cover; box-shadow: 0 0 0 1px var(--gold); }
.wm-ki.glyph { display: grid; place-items: center; color: var(--steel); }
.wm-ki.glyph svg { width: 18px; height: 18px; fill: currentColor; }
.wm-kl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-n { color: var(--sub); font-size: 12.5px; font-variant-numeric: tabular-nums; }
/* (a kind's own ones, to pick one by one: All, None, a search when the list is long) */
.wm-names { display: grid; gap: 2px; margin: 2px 0 8px 26px; padding-left: 8px; border-left: 1px solid var(--line); }
.wm-nh { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-bottom: 2px; padding-right: 4px; }
/* (All, None: quiet words, as the meter's lists have them) */
.wm-qbs { display: inline-flex; align-items: baseline; gap: 10px; flex: none; }
.wm-qb { padding: 2px 1px; border: 0; background: none; color: var(--sub); font: 600 13px/1.2 var(--font); cursor: pointer; white-space: nowrap; }
.wm-qb:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.wm-nq { width: 100%; min-width: 0; padding: 4px 8px; border: 1px solid var(--line2); border-radius: var(--rc); background: var(--well); color: var(--fg); font: 13.5px/1.3 var(--font); }
.wm-nq::placeholder { color: var(--dim); }
.wm-nm { display: grid; grid-template-columns: auto 24px minmax(0, 1fr); align-items: center; gap: 8px; padding: 3px 6px 3px 4px; border-radius: var(--rc); cursor: pointer; font-size: 13.5px; }
.wm-nm:hover { background: var(--track); }
.wm-nm .wm-ki { width: 22px; height: 22px; }
.wm-nn { display: grid; min-width: 0; line-height: 1.25; }
.wm-nn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-nn small { color: var(--dim); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-none { padding: 6px 4px; }
.wm-view { position: relative; flex: 1; min-width: 0; overflow: hidden; background: #0b0f15; cursor: grab; touch-action: pan-x pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.wm-view.drag { cursor: grabbing; }
.wm-view > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wm-edge polygon { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.wm-labels text { fill: rgba(240, 243, 248, 0.94); font-family: var(--font); font-weight: 600; text-anchor: middle; dominant-baseline: central; paint-order: stroke; stroke: rgba(8, 10, 14, 0.85); stroke-linejoin: round; pointer-events: none; }
.wm-view .mk { cursor: pointer; }
.wm-view .mk:hover image, .wm-view .mk:focus-visible image { filter: brightness(1.2); }
.wm-view .mk:focus { outline: none; }
.wm-view .mk:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wm-view .mk .ring { fill: none; stroke: #fff; stroke-width: 1.6px; vector-effect: non-scaling-stroke; }
.wm-view .mk .frame { fill: none; stroke: var(--gold); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.wm-view .mk .halo { fill: rgba(79, 163, 239, 0.22); stroke: var(--accent); stroke-width: 1.6px; vector-effect: non-scaling-stroke; }
.wm-view.focus .mk:not(.found) { opacity: 0.35; }
.wm-zoom { position: absolute; right: 12px; bottom: 12px; z-index: 10; display: grid; gap: 4px; }
.wm-zoom button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line2); border-radius: var(--rc); background: rgba(12, 18, 27, 0.9); color: var(--fg); cursor: pointer; box-shadow: var(--shadow); }
.wm-zoom button:hover { border-color: var(--edge); }
.wm-zoom svg { width: 18px; height: 18px; }
.wm-focus { position: absolute; top: 12px; left: 50%; z-index: 12; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; max-width: calc(100% - 24px); padding: 4px 4px 4px 12px; border: 1px solid var(--sel-edge); border-radius: var(--rc); background: rgba(14, 20, 29, 0.96); font-size: 14px; box-shadow: var(--shadow); }
.wm-focus span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-focus b { font-weight: 600; }
.wm-focus button { display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: var(--rc); background: none; color: var(--sub); cursor: pointer; }
.wm-focus button:hover { background: var(--track); color: var(--fg); }
.wm-focus svg { width: 14px; height: 14px; }
.wm-empty { position: absolute; left: 50%; top: 50%; z-index: 11; transform: translate(-50%, -50%); width: min(440px, calc(100% - 32px)); padding: 18px 20px; border: 1px solid var(--line2); border-radius: var(--r); background: rgba(14, 20, 29, 0.95); text-align: center; box-shadow: var(--shadow); cursor: default; }
.wm-empty p { margin: 0 0 12px; }
.wm-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.wm-quick .chip { font: inherit; font-size: 14px; padding: 5px 12px; border: 1px solid var(--line2); border-radius: var(--rc); background: var(--well); color: var(--fg); cursor: pointer; }
.wm-quick .chip:hover { border-color: var(--edge); }
.wm-card { position: absolute; z-index: 20; width: max-content; max-width: min(330px, calc(100% - 16px)); padding: 12px; border: 1px solid var(--line2); border-radius: var(--r); background: rgba(14, 20, 29, 0.97); box-shadow: var(--shadow); pointer-events: none; cursor: default; }
.wm-card.pin { pointer-events: auto; max-height: calc(100% - 16px); overflow-y: auto; overscroll-behavior: contain; padding-right: 36px; }
.wm-card.dock { left: 8px; right: 60px; top: auto; bottom: 8px; width: auto; max-width: none; max-height: 58%; } /* (the zoom buttons' column left free: Fable r3) */
.wm-card .wm-x { position: absolute; top: 6px; right: 6px; }
.wm-ch { display: flex; align-items: center; gap: 11px; }
.wm-pic { width: 46px; height: 46px; flex: none; object-fit: contain; }
.wm-pic.round { border-radius: 50%; object-fit: cover; background: #07090d; box-shadow: 0 0 0 1px var(--line2); }
.wm-pic.sq { border-radius: var(--rc); object-fit: cover; box-shadow: 0 0 0 1.5px var(--gold); }
.wm-ct { display: grid; min-width: 0; }
.wm-ct b { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.wm-ct small { color: var(--sub); font-size: 13px; line-height: 1.4; }
.wm-drops { list-style: none; margin: 10px 0 0; padding: 8px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.wm-drops li { display: flex; align-items: center; gap: 9px; min-width: 0; }
.wm-drops img { width: 28px; height: 28px; flex: none; border-radius: var(--rc); padding: 1px; background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1.5px var(--rc-c, rgba(255, 255, 255, 0.25)); }
.wm-drops span { display: grid; min-width: 0; }
.wm-drops b { font-weight: 600; font-size: 13.5px; line-height: 1.3; color: var(--rc-c, var(--fg)); overflow-wrap: anywhere; }
.wm-drops small { color: var(--dim); font-size: 12px; line-height: 1.3; }
/* (the items' rarity colours: the game's, kept as they are) */
.wm-drops .r-common, .wb-drops .r-common { --rc-c: #b8bec9; }
.wm-drops .r-rare, .wb-drops .r-rare { --rc-c: #52c27a; }
.wm-drops .r-epic, .wb-drops .r-epic { --rc-c: #4ea3ff; }
.wm-drops .r-unique, .wb-drops .r-unique { --rc-c: #e6b43c; }
.wm-drops .r-heroic, .wb-drops .r-heroic { --rc-c: #b77cff; }
.wm-drops .r-special, .wb-drops .r-special { --rc-c: #ff8a4c; }
.wm-also { display: block; margin-top: 8px; color: var(--dim); font-size: 12.5px; }
.wm-touch { position: absolute; inset: 0; z-index: 15; display: grid; place-items: center; padding: 20px; background: rgba(5, 7, 10, 0.3); color: #fff; font-weight: 600; font-size: 17px; text-align: center; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.wm-touch.on { opacity: 1; }
.wm-loading { position: absolute; top: 12px; right: 12px; z-index: 9; padding: 4px 10px; border-radius: var(--rc); background: rgba(14, 20, 29, 0.92); border: 1px solid var(--line2); color: var(--sub); font-size: 13px; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.wm.loading .wm-loading { opacity: 1; }
.wm-noscript { padding: 16px; }
.wm [hidden] { display: none !important; }
.wm-about { margin: 12px 2px 0; max-width: 900px; }
/* (full screen: the whole window; one finger moves the map there) */
.wm.full { position: fixed; inset: 0; z-index: 100; height: auto; min-height: 0; border: 0; border-radius: 0; }
.wm.full .wm-view { touch-action: none; }
html.wm-lock, html.wm-lock body { overflow: hidden; }
@media (max-width: 899px) {
  .wm { height: min(72vh, 680px); height: min(72svh, 680px); min-height: 420px; }
  .wm-panel { position: absolute; left: 0; right: 0; bottom: 0; z-index: 25; width: auto; max-height: 72%; border-right: 0; border-top: 1px solid var(--edge); border-radius: var(--r) var(--r) 0 0; box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.5); }
  .wm-ph .wm-x { display: inline-grid; }
  .wm-find { order: 5; flex-basis: 100%; max-width: none; }
  .wm-show span { display: none; }
  .wm-show { padding: 7px 10px; }
  .wm-zone { flex: 1 1 0; min-width: 0; }
  .wm-zone select { width: 100%; }
  .wm-full { margin-left: 0; }
  .wm-section.section.tight { padding-top: 8px; }
  .wm-hero { padding: 26px 0 6px; }
  .wm-hero h1 { font-size: 30px; margin-bottom: 8px; }
  .wm-hero .lead { font-size: 15px; }
}
@media (max-width: 899px) { .wm.full { height: auto; } }
/* The timers page's world bosses: each its picture, where it is, when it's back, its drops */
.wb-pick[hidden] { display: none; } /* (Codex r2: no server picker until a server has times) */
.wb-pick select { appearance: auto; border: 1px solid var(--line2); border-radius: var(--rc); padding: 6px 8px; background: var(--well); color: var(--fg); font: inherit; max-width: 100%; }
#world-bosses { scroll-margin-top: 80px; }
.wb-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; margin-top: 16px; }
.wb-card { border: 1px solid var(--line); border-radius: var(--r); background: var(--glass); box-shadow: var(--hi); padding: 14px; min-width: 0; }
.wb-top { display: flex; align-items: center; gap: 12px; }
.wb-pic { width: 54px; height: 54px; border-radius: var(--rc); object-fit: cover; flex: none; box-shadow: 0 0 0 1.5px var(--gold); background: #07090d; }
.wb-t { min-width: 0; flex: 1; }
.wb-t h3 { margin: 0; font-size: 16.5px; }
.wb-t p { margin: 2px 0 0; }
.wb-s { display: grid; justify-items: end; text-align: right; flex: none; }
.wb-st { font: 600 17px/1.2 var(--display); font-variant-numeric: tabular-nums; color: var(--fg); }
.wb-st.up { color: var(--good); }
.wb-st.due { color: var(--warn); font-size: 15px; }
.wb-when { color: var(--dim); font-size: 13px; }
.wb-drops { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.wb-drops img { width: 32px; height: 32px; border-radius: var(--rc); padding: 1px; background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1.5px var(--rc-c, rgba(255, 255, 255, 0.25)); }
.wb-drop { display: block; padding: 0; border: 0; border-radius: var(--rc); background: none; cursor: help; }
.wb-drop:hover img, .wb-drop:focus-visible img { filter: brightness(1.15); box-shadow: inset 0 0 0 2px var(--rc-c, rgba(255, 255, 255, 0.4)); }
/* (a drop's card: on hover, focus or a tap) */
.wb-tip { position: fixed; z-index: 60; max-width: min(280px, calc(100vw - 16px)); padding: 8px 11px; border: 1px solid var(--line2); border-radius: var(--r); background: rgba(14, 20, 29, 0.98); box-shadow: var(--shadow); pointer-events: none; font-size: 13.5px; line-height: 1.35; }
.wb-tip b { display: block; font-weight: 600; color: var(--fg); }
.wb-tip small { display: block; color: var(--sub); font-size: 12.5px; }
.wb-tip .r-common { color: #b8bec9; }
.wb-tip .r-rare { color: #52c27a; }
.wb-tip .r-epic { color: #4ea3ff; }
.wb-tip .r-unique { color: #e6b43c; }
.wb-tip .r-heroic { color: #b77cff; }
.wb-tip .r-special { color: #ff8a4c; }
.wb-tip[hidden] { display: none; }
.wb-empty { margin-top: 14px; }
/* (2.1.5, his note: each server has its own world boss times) the server choice at the top, beside the region; the
   chosen server's name over its bosses; the ones no meter has seen yet folded under one row, as the meter has them */
.t-select { appearance: auto; min-width: 11em; max-width: 100%; height: 2.25em; border: 1px solid var(--line2); border-radius: var(--rc); padding: 0 10px; /* (as tall as the buttons beside it: the labels in one line) */ background: var(--well); color: var(--fg); font: 600 14px/1.1 var(--font); cursor: pointer; }
.wb-for { margin: 12px 0 0; color: var(--fg); font-weight: 600; }
.wb-for[hidden], .wb-wait[hidden] { display: none; }
.wb-wait { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--glass); }
.wb-wait > summary { cursor: pointer; padding: 12px 14px; font-weight: 600; color: var(--sub); }
.wb-wait > summary b { margin-left: 4px; color: var(--dim); font-weight: 600; }
.wb-wait[open] > summary { border-bottom: 1px solid var(--line); }
.wb-wait > .wb-list { margin: 0; padding: 14px; }
