/* springseternalgame.wiki — "night to dawn" trail map.
   Motifs: Bayer-dithered gradients, numbered map pins, notched pixel boxes (no soft shadows),
   a light mist reading surface under a dark night header/footer. */
:root {
  --night: #17162b; --night2: #262449; --n3: #3b3563; --dusk: #6a4f86;
  --dawn: #f0a070; --sun: #ffd98c;
  --mist: #f3efe6; --card: #fbf9f4; --line: #d6cdb9;
  --ink: #1c1a2b; --ink2: #514c63;
  --teal: #1f6f6a; --pin: #c8452f; --pine: #234a40; --white: #ffffff;
  --tint-sun: #fbe9b9; --tint-rose: #f5d6cc;
  --wrap: 1120px; --px: 3px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body.se { margin: 0; background: var(--mist); color: var(--ink); font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; font-size: 1rem; line-height: 1.65; text-rendering: optimizeLegibility; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); background: var(--tint-sun); }
:focus-visible { outline: 3px solid var(--pin); outline-offset: 2px; }
.se-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.se-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--ink); padding: 8px 14px; font-weight: 700; }
.se-skip:focus { top: 10px; }
h1, h2, h3, h4, .se-pix { font-family: "Pixelify Sans", sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: 0.01em; }
.se-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* pixel-notched box: four offset shadows draw an outline with the corner pixels missing */
.se-box { --bd: var(--ink); margin: var(--px); background: var(--card); box-shadow: 0 calc(var(--px) * -1) 0 0 var(--bd), 0 var(--px) 0 0 var(--bd), calc(var(--px) * -1) 0 0 0 var(--bd), var(--px) 0 0 0 var(--bd); }
/* dither strip helpers (checker built from a conic gradient so every colour stays a variable) */
.se-dith { background: conic-gradient(var(--c, var(--night)) 25%, transparent 0 50%, var(--c, var(--night)) 0 75%, transparent 0) 0 0 / 6px 6px; }

/* ---------- header ---------- */
.se-hdr { background: var(--night); color: var(--mist); position: sticky; top: 0; z-index: 40; }
.se-hdr::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 9px; pointer-events: none; background: conic-gradient(var(--night) 25%, transparent 0 50%, var(--night) 0 75%, transparent 0) 0 0 / 6px 6px repeat-x, linear-gradient(var(--night), var(--night)) 0 0 / 100% 3px no-repeat; }
.se-hdr-in { display: flex; align-items: center; gap: 22px; max-width: var(--wrap); margin: 0 auto; padding: 10px 20px; min-height: 62px; }
.se-brand { display: flex; align-items: center; gap: 12px; color: var(--mist); text-decoration: none; flex: none; }
.se-brand:hover { background: none; color: var(--sun); }
.se-brand-mark { position: relative; display: grid; place-items: center; width: 34px; height: 34px; background: var(--pin); color: var(--white); font-family: "Pixelify Sans", sans-serif; font-weight: 700; font-size: 1.15rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); margin: 2px; box-shadow: 0 0 0 var(--px) var(--mist); }
.se-brand-mark > span { transform: rotate(45deg); }
.se-brand-name { font-family: "Pixelify Sans", sans-serif; font-weight: 700; font-size: 1.12rem; line-height: 1.1; }
.se-nav { display: flex; gap: 6px; counter-reset: stop; margin-left: auto; }
.se-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; color: var(--mist); text-decoration: none; font-weight: 600; font-size: 0.94rem; white-space: nowrap; }
.se-nav a::before { counter-increment: stop; content: counter(stop); display: inline-grid; place-items: center; min-width: 1.45em; height: 1.45em; background: var(--pin); color: var(--white); font-family: "Pixelify Sans", sans-serif; font-weight: 700; font-size: 0.8rem; }
.se-nav a:hover { background: var(--night2); color: var(--sun); }
.se-nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--sun); }
.se-search { position: relative; flex: none; width: 210px; }
.se-search input { width: 100%; background: var(--night2); border: 0; box-shadow: inset 0 0 0 2px var(--n3); color: var(--mist); padding: 8px 12px; font-size: 0.92rem; }
.se-search input::placeholder { color: var(--mist); opacity: 0.7; }
.se-search input:focus { box-shadow: inset 0 0 0 2px var(--sun); outline: none; }
.se-results { position: absolute; right: 0; top: calc(100% + 8px); width: min(380px, 92vw); background: var(--card); color: var(--ink); box-shadow: 0 0 0 var(--px) var(--ink); max-height: 70vh; overflow: auto; z-index: 60; }
.se-results a { display: block; padding: 10px 14px; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--line); }
.se-results a:last-child { border-bottom: 0; }
.se-results a:hover, .se-results a[data-active] { background: var(--tint-sun); }
.se-r-title { display: block; font-weight: 700; }
.se-r-meta { display: block; font-size: 0.82rem; color: var(--ink2); }
.se-r-note { margin: 0; padding: 12px 14px; color: var(--ink2); font-size: 0.92rem; }

/* ---------- buttons ---------- */
.se-btn { --bd: var(--ink); display: inline-block; margin: var(--px); padding: 10px 20px; background: var(--card); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: 0 calc(var(--px) * -1) 0 0 var(--bd), 0 var(--px) 0 0 var(--bd), calc(var(--px) * -1) 0 0 0 var(--bd), var(--px) 0 0 0 var(--bd); }
.se-btn:hover { background: var(--tint-sun); color: var(--ink); }
.se-btn--go { background: var(--dawn); }
.se-btn--go:hover { background: var(--sun); }
.se-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- home ---------- */
.se-hero-art { display: block; width: 100%; height: clamp(190px, 33vw, 400px); object-fit: cover; image-rendering: pixelated; background: var(--night); }
.se-hero-plate { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.se-hero-box { margin-top: -64px; max-width: 780px; padding: 26px 32px 30px; }
.se-eyebrow { margin: 0 0 8px; font-family: "Pixelify Sans", sans-serif; font-weight: 700; font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pin); }
.se-hero-title { margin: 0; font-size: clamp(2rem, 5.2vw, 3.3rem); }
.se-lead { margin: 14px 0 0; font-size: 1.12rem; color: var(--ink2); max-width: 62ch; }
.se-block { padding: 46px 0 6px; }
.se-h2 { margin: 0 0 18px; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.se-h2::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 12px; background: var(--dawn); box-shadow: 6px 6px 0 -1px var(--sun); vertical-align: -1px; }
.se-factbar { list-style: none; margin-bottom: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 34px; padding: 6px; }
.se-fact { background: var(--night); color: var(--mist); padding: 14px 16px 15px; }
.se-fact b { display: block; font-family: "Pixelify Sans", sans-serif; font-size: 1.75rem; line-height: 1; color: var(--sun); }
.se-fact span { display: block; margin-top: 6px; font-size: 0.86rem; }

.se-trail { list-style: none; margin: 0; padding: 0; counter-reset: stop; display: grid; gap: 0; }
.se-trail li { counter-increment: stop; position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding-bottom: 16px; }
.se-trail li:last-child { padding-bottom: 0; }
.se-trail li::before { content: counter(stop); position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; margin: 7px 0 0 7px; background: var(--pin); color: var(--white); font-family: "Pixelify Sans", sans-serif; font-weight: 700; font-size: 1.05rem; box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink); }
.se-trail li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 48px; bottom: -2px; border-left: 4px dotted var(--ink2); }
.se-stop { --bd: var(--ink); display: block; margin: var(--px); padding: 14px 18px; background: var(--card); color: var(--ink); text-decoration: none; box-shadow: 0 calc(var(--px) * -1) 0 0 var(--bd), 0 var(--px) 0 0 var(--bd), calc(var(--px) * -1) 0 0 0 var(--bd), var(--px) 0 0 0 var(--bd); }
.se-stop:hover { --bd: var(--pin); background: var(--tint-sun); color: var(--ink); }
.se-stop-t { display: block; font-family: "Pixelify Sans", sans-serif; font-weight: 700; font-size: 1.15rem; }
.se-stop-x { display: block; margin-top: 3px; color: var(--ink2); }

.se-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; padding: 6px; }
.se-tile { --bd: var(--ink); margin: var(--px); background: var(--card); box-shadow: 0 calc(var(--px) * -1) 0 0 var(--bd), 0 var(--px) 0 0 var(--bd), calc(var(--px) * -1) 0 0 0 var(--bd), var(--px) 0 0 0 var(--bd); display: flex; flex-direction: column; }
.se-tile::before { content: ""; height: 14px; background: conic-gradient(var(--c) 25%, transparent 0 50%, var(--c) 0 75%, transparent 0) 0 0 / 6px 6px, var(--c2); }
.se-tile:nth-child(3n+1) { --c: var(--night); --c2: var(--dusk); }
.se-tile:nth-child(3n+2) { --c: var(--dusk); --c2: var(--dawn); }
.se-tile:nth-child(3n) { --c: var(--dawn); --c2: var(--sun); }
.se-tile-in { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.se-tile-t { margin: 0; font-size: 1.35rem; }
.se-tile-t a { color: var(--ink); text-decoration: none; }
.se-tile-t a:hover { background: var(--tint-sun); }
.se-count { display: inline-block; margin-left: 8px; padding: 1px 8px; background: var(--night); color: var(--sun); font-size: 0.8rem; vertical-align: 3px; }
.se-tile-d { margin: 0; color: var(--ink2); }
.se-tile ul { margin: auto 0 0; padding: 12px 0 0; list-style: none; border-top: 3px dotted var(--line); display: grid; gap: 6px; }
.se-tile li a { font-weight: 600; }

/* ---------- list rows (cards) ---------- */
.se-list { display: grid; gap: 18px; padding: 6px; }
.se-list--2 { grid-template-columns: repeat(auto-fit, minmax(460px, 1fr)); }
.se-row { --bd: var(--ink); display: grid; grid-template-columns: 190px minmax(0, 1fr); margin: var(--px); background: var(--card); color: var(--ink); text-decoration: none; box-shadow: 0 calc(var(--px) * -1) 0 0 var(--bd), 0 var(--px) 0 0 var(--bd), calc(var(--px) * -1) 0 0 0 var(--bd), var(--px) 0 0 0 var(--bd); }
.se-row:hover { --bd: var(--pin); background: var(--tint-sun); color: var(--ink); }
.se-row-thumb { display: block; background: var(--night); min-height: 108px; overflow: hidden; }
.se-row-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.se-row-body { display: block; padding: 14px 18px 16px; }
.se-row-t { display: block; font-family: "Pixelify Sans", sans-serif; font-weight: 700; font-size: 1.18rem; line-height: 1.2; }
.se-row-x { display: block; margin-top: 6px; color: var(--ink2); font-size: 0.96rem; }
.se-row-m { display: block; margin-top: 8px; font-size: 0.82rem; color: var(--ink2); }
.se-home-body { padding-bottom: 20px; }

/* ---------- section pages and generic page heads ---------- */
.se-pagewrap { padding: 34px 20px 24px; max-width: var(--wrap); margin: 0 auto; }
.se-pagewrap--narrow { max-width: 780px; }
.se-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.9rem; color: var(--ink2); margin-bottom: 18px; }
.se-crumbs a { color: var(--ink2); }
.se-crumbs a:hover { color: var(--ink); }
.se-title { margin: 0; font-size: clamp(1.85rem, 4.6vw, 2.9rem); }
.se-pagehead { margin-bottom: 26px; }
.se-pagehead .se-lead { margin-top: 12px; }
.se-meta { margin: 12px 0 0; font-size: 0.88rem; color: var(--ink2); }
.se-filter { margin: 4px 0 18px; }
.se-filter input { width: 100%; max-width: 420px; background: var(--card); border: 0; padding: 10px 14px; box-shadow: 0 0 0 var(--px) var(--ink); margin: var(--px); }
.se-filter input:focus { outline: none; box-shadow: 0 0 0 var(--px) var(--pin); }
.se-group { margin-bottom: 30px; }

/* ---------- article ---------- */
.se-article { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 40px; max-width: 1040px; margin: 0 auto; padding: 30px 20px 30px; }
.se-rail { align-self: start; position: sticky; top: 86px; font-size: 0.9rem; }
.se-toc-t { margin: 0 0 8px; font-family: "Pixelify Sans", sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pin); }
.se-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 3px dotted var(--ink2); }
.se-toc a { display: block; padding: 4px 10px; color: var(--ink2); text-decoration: none; line-height: 1.35; }
.se-toc a:hover { color: var(--ink); background: var(--tint-sun); }
.se-toc a[data-active] { color: var(--ink); font-weight: 700; box-shadow: inset 3px 0 0 var(--pin); background: var(--card); }
.se-toc .se-toc-sub a { padding-left: 22px; font-size: 0.86rem; }
.se-doc { min-width: 0; max-width: 760px; }
.se-dochead .se-title { font-size: clamp(1.8rem, 4.2vw, 2.55rem); }
.se-cover { margin: 22px 0 22px; padding: 0; }
.se-cover img { display: block; width: 100%; image-rendering: pixelated; background: var(--night); }
.se-short { position: relative; margin: 24px 0 18px; padding: 18px 22px 20px 30px; background: var(--night); color: var(--mist); }
.se-short::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: conic-gradient(var(--dawn) 25%, transparent 0 50%, var(--dawn) 0 75%, transparent 0) 0 0 / 6px 6px, var(--pin); }
.se-short-l { margin: 0 0 4px; font-family: "Pixelify Sans", sans-serif; font-weight: 700; font-size: 0.84rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun); }
.se-short p:last-child { margin: 0; font-size: 1.1rem; line-height: 1.55; }
.se-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; padding: 4px; }
.se-chips > div { --bd: var(--line); margin: var(--px); padding: 6px 12px 7px; background: var(--card); box-shadow: 0 calc(var(--px) * -1) 0 0 var(--bd), 0 var(--px) 0 0 var(--bd), calc(var(--px) * -1) 0 0 0 var(--bd), var(--px) 0 0 0 var(--bd); }
.se-chips dt { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink2); }
.se-chips dd { margin: 0; font-weight: 700; }

.se-prose { font-size: 1.0625rem; line-height: 1.72; }
.se-prose > :first-child { margin-top: 0; }
.se-prose h2 { margin: 2.2em 0 0.6em; font-size: 1.65rem; }
.se-prose h2::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 10px; background: var(--dawn); box-shadow: 5px 5px 0 -1px var(--sun); vertical-align: 1px; }
.se-prose h3 { margin: 1.8em 0 0.5em; font-size: 1.25rem; }
.se-prose p, .se-prose ul, .se-prose ol { margin: 0 0 1.05em; }
.se-prose li { margin: 0.3em 0; }
.se-prose ul { padding-left: 1.3em; }
.se-prose ol { padding-left: 1.5em; }
.se-prose li::marker { color: var(--pin); font-weight: 700; }
.se-prose strong { font-weight: 700; }
.se-prose img { display: block; margin: 1.4em auto; }
.se-prose hr { border: 0; height: 9px; margin: 2em 0; background: conic-gradient(var(--line) 25%, transparent 0 50%, var(--line) 0 75%, transparent 0) 0 0 / 6px 6px; }
.se-prose code { display: inline-block; padding: 0 6px; margin: 0 1px; background: var(--card); box-shadow: 0 0 0 2px var(--ink), 0 3px 0 2px var(--ink); font-size: 0.88em; font-weight: 700; font-family: inherit; line-height: 1.45; }
.se-prose .se-pin { display: inline-grid; place-items: center; min-width: 1.7em; height: 1.55em; padding: 0 5px; margin: 0 2px; background: var(--pin); color: var(--white); box-shadow: 0 0 0 2px var(--ink); font-family: "Pixelify Sans", sans-serif; font-weight: 700; font-size: 0.86em; line-height: 1; vertical-align: 0.06em; }
.se-prose blockquote { margin: 1.3em 0; padding: 12px 18px; background: var(--card); box-shadow: inset 5px 0 0 var(--dusk); }
.se-prose blockquote > :last-child { margin-bottom: 0; }
.se-prose blockquote[data-spoiler] { padding-left: 24px; }
.se-prose blockquote[data-spoiler="none"] { background: var(--card); box-shadow: inset 7px 0 0 var(--teal); }
.se-prose blockquote[data-spoiler="light"] { background: var(--tint-sun); box-shadow: inset 7px 0 0 var(--dawn); }
.se-prose blockquote[data-spoiler="heavy"] { background: var(--tint-rose); box-shadow: inset 7px 0 0 var(--pin); }
.se-prose blockquote[data-spoiler] a { color: var(--ink); }
.se-veil { margin: 1em 0 1.4em; }
.se-veil > summary { cursor: pointer; display: inline-block; padding: 10px 18px; background: var(--ink); color: var(--white); font-weight: 700; list-style: none; box-shadow: 0 0 0 var(--px) var(--ink); margin: var(--px); }
.se-veil > summary::-webkit-details-marker { display: none; }
.se-veil > summary:hover { background: var(--pin); }
.se-veil[open] > summary { background: var(--pin); }
.se-veil-body { margin-top: 14px; padding-left: 16px; border-left: 4px dotted var(--pin); }

.se-scroll { overflow-x: auto; margin: 1.3em 0; padding: 4px; }
.se-prose table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 0.95rem; box-shadow: 0 0 0 var(--px) var(--ink); }
.se-prose thead th { background: var(--night); color: var(--mist); text-align: left; padding: 9px 12px; font-family: "Pixelify Sans", sans-serif; font-size: 0.86rem; letter-spacing: 0.04em; white-space: nowrap; }
.se-prose td { padding: 9px 12px; border-top: 2px solid var(--line); vertical-align: top; }
.se-prose tbody tr:nth-child(even) td { background: var(--mist); }
.se-prose tr[data-done] td { color: var(--ink2); }
.se-prose tr[data-done] td:nth-child(2) { text-decoration: line-through; text-decoration-thickness: 2px; }
.se-tick { position: relative; display: inline-block; width: 22px; height: 22px; vertical-align: middle; }
.se-tick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.se-tick span { position: absolute; inset: 0; background: var(--card); box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--card); }
.se-tick input:checked + span { background: var(--teal); }
.se-tick input:checked + span::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--white); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.se-tick input:focus-visible + span { outline: 3px solid var(--pin); outline-offset: 4px; }

.se-faq { margin-top: 2.4em; }
.se-faq details { margin: 10px 4px; background: var(--card); box-shadow: 0 0 0 var(--px) var(--ink); }
.se-faq summary { cursor: pointer; padding: 12px 46px 12px 16px; font-weight: 700; list-style: none; position: relative; }
.se-faq summary::-webkit-details-marker { display: none; }
.se-faq summary::after { content: "+"; position: absolute; right: 16px; top: 8px; font-family: "Pixelify Sans", sans-serif; font-size: 1.4rem; color: var(--pin); }
.se-faq details[open] summary::after { content: "−"; }
.se-faq details p { margin: 0; padding: 0 16px 14px; color: var(--ink2); }
.se-related { margin-top: 2.6em; }

/* tick-off progress pill */
.se-progress { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--night); color: var(--mist); box-shadow: 0 0 0 var(--px) var(--sun); font-size: 0.92rem; }
.se-progress b { font-family: "Pixelify Sans", sans-serif; font-size: 1.15rem; color: var(--sun); }
.se-progress button { cursor: pointer; background: transparent; border: 0; padding: 2px 4px; color: var(--mist); text-decoration: underline; }
.se-progress button:hover { color: var(--sun); }
.se-table-count { margin: 0 0 6px; font-size: 0.9rem; color: var(--ink2); }

/* ---------- footer ---------- */
.se-ftr { position: relative; margin-top: 64px; background: var(--night); color: var(--mist); }
.se-ftr::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 9px; background: conic-gradient(var(--night) 25%, transparent 0 50%, var(--night) 0 75%, transparent 0) 0 3px / 6px 6px repeat-x, linear-gradient(var(--night), var(--night)) 0 6px / 100% 3px no-repeat; }
.se-ftr-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; max-width: var(--wrap); margin: 0 auto; padding: 34px 20px 14px; }
.se-ftr-name { margin: 0 0 8px; font-family: "Pixelify Sans", sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--sun); }
.se-ftr p { margin: 0; }
.se-ftr-note { color: var(--mist); opacity: 0.88; font-size: 0.9rem; }
.se-ftr-h { margin: 0 0 8px; font-family: "Pixelify Sans", sans-serif; font-weight: 700; font-size: 0.84rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dawn); }
.se-ftr nav { display: grid; gap: 4px; align-content: start; }
.se-ftr a { color: var(--mist); }
.se-ftr a:hover { color: var(--sun); background: none; }
.se-ftr-copy { grid-column: 1 / -1; padding-top: 14px; border-top: 3px dotted var(--n3); font-size: 0.86rem; color: var(--mist); opacity: 0.85; }

.se-404 { text-align: left; padding-top: 70px; padding-bottom: 80px; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .se-article { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .se-rail { position: static; margin-bottom: 8px; order: -1; }
  .se-toc ol { display: flex; gap: 8px; overflow-x: auto; border-left: 0; padding: 4px 4px 10px; }
  .se-toc li { flex: none; }
  .se-toc a { background: var(--card); box-shadow: 0 0 0 2px var(--ink); padding: 5px 12px; white-space: nowrap; }
  .se-toc .se-toc-sub { display: none; }
  .se-toc a[data-active] { box-shadow: 0 0 0 2px var(--pin); }
  .se-ftr-in { grid-template-columns: 1fr 1fr; }
  .se-ftr-in > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .se-hdr-in { flex-wrap: wrap; gap: 10px 14px; padding: 8px 14px; }
  .se-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; padding-bottom: 4px; }
  .se-search { margin-left: auto; width: min(220px, 52vw); }
}
@media (max-width: 640px) {
  .se-wrap, .se-pagewrap, .se-article { padding-left: 14px; padding-right: 14px; }
  .se-hero-plate { padding: 0 14px; }
  .se-hero-box { margin-top: -40px; padding: 18px 18px 22px; }
  .se-row { grid-template-columns: 96px minmax(0, 1fr); }
  .se-row-thumb { min-height: 0; }
  .se-row-body { padding: 10px 12px 12px; }
  .se-list--2 { grid-template-columns: minmax(0, 1fr); }
  .se-prose { font-size: 1.02rem; }
  .se-prose table, .se-prose tbody, .se-prose tr, .se-prose td { display: block; }
  .se-prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .se-prose tr { padding: 8px 0; border-top: 3px solid var(--ink); }
  .se-prose tbody tr:first-child { border-top: 0; }
  .se-prose td { border: 0; padding: 3px 12px; background: transparent !important; }
  .se-prose td[data-label]::before { content: attr(data-label); display: block; font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink2); }
  .se-prose td:first-child[data-label="Found"]::before { display: none; }
  .se-ftr-in { grid-template-columns: 1fr; }
  .se-progress { left: 12px; right: 12px; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.se-row--text { grid-template-columns: minmax(0, 1fr); }
.se-intro { margin-bottom: 26px; }
.se-prose a, .se-prose li, .se-prose td { overflow-wrap: anywhere; }
