/* Dark Corner Prep. Real material: blackened gunmetal, brushed steel and machined brass, lit by lantern glow.
   Russo One headings, Inter body, self-hosted fonts. Squared or lightly rounded corners only (4 to 10px).
   No slanted type. Red for urgency only. Textures are pure CSS gradients plus one tiny SVG noise data URI. */
@font-face { font-family: "Russo One"; src: url("/fonts/russo-one-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-var-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --steel-black: #101214;
  --gunmetal: #1a1d20;
  --steel: #26292c;
  --titanium: #cdd0d3;
  --steel-mid: #8a9097;
  --brass: #b08d57;
  --brass-hi: #e0c48c;
  --brass-deep: #6e5230;
  --brass-ink: #1a1206;
  --cognac: #7a3f1d;
  --ink: var(--steel-black);
  --panel-a: #2c3034;
  --panel-b: #1e2124;
  --text: var(--titanium);
  --muted: var(--steel-mid);
  --line: rgba(205, 208, 211, 0.12);
  --line-soft: rgba(205, 208, 211, 0.12);
  --hilite: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(0, 0, 0, 0.7);
  --red: #dc143c;
  --ok: #6fbf8e;
  --r: 8px;
  --r-lg: 10px;

  /* Material: fine horizontal brushing, a steel dome rivet, a brass plate, a titanium plate. */
  --brush: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, rgba(0, 0, 0, 0.06) 1px 2px, rgba(255, 255, 255, 0.015) 2px 3px);
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.04'/></svg>");
  --rivet: radial-gradient(circle at 35% 30%, #f2f4f5 0, #b9bec3 16%, #6c7278 42%, #2a2d31 68%, rgba(0, 0, 0, 0.75) 78%, transparent 82%);
  --plate: linear-gradient(180deg, var(--panel-a), var(--panel-b));
  --brass-plate: linear-gradient(180deg, #6e5230 0%, #b08d57 18%, #e0c48c 48%, #b08d57 78%, #7d5f35 100%);
  --brass-plate-hi: linear-gradient(180deg, #7d5f35 0%, #c4a06a 18%, #efd8a4 48%, #c4a06a 78%, #8c6c3e 100%);
  --steel-band: linear-gradient(180deg, #43484d 0%, #31353a 48%, #25282c 100%);
  --titanium-plate: linear-gradient(180deg, #3a3f44 0%, #2a2e32 55%, #1f2225 100%);
}

* { box-sizing: border-box; }
html { font-size: 22px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--steel-black); }
@media (max-width: 700px) { html { font-size: 18px; } }
/* On steel plates the secondary text and links step up one tone so they keep AA contrast. */
.pn, .card, .app, .stat, .spokes li, .frame, .foot { --muted: #a3a9b0; }
.pn a:not(.btn), .card a:not(.btn), .app a:not(.btn) { color: var(--brass-hi); }
body { margin: 0; background: var(--steel-black); color: var(--text); font-family: "Inter", Arial, sans-serif; line-height: 1.55; min-height: 100vh; position: relative; overflow-x: hidden; }
.wrap { width: min(94vw, 1180px); margin: 0 auto; }

/* Atmosphere: gunmetal base, brushed grain, fine noise, a vignette and two dim cognac lantern glows. Never a flat fill. */
.atm { position: fixed; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(0, 0, 0, 0.6) 100%),
  radial-gradient(640px 440px at 10% 6%, rgba(122, 63, 29, 0.2), transparent 70%),
  radial-gradient(720px 500px at 94% 72%, rgba(122, 63, 29, 0.14), transparent 70%),
  var(--noise),
  repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0 1px, rgba(0, 0, 0, 0.05) 1px 3px),
  linear-gradient(180deg, #1a1d20 0%, #131518 55%, #101214 100%); }

.skip { position: absolute; left: -999px; top: 0; background: var(--brass-plate); color: var(--brass-ink); padding: 12px 16px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

/* Header: a dark steel bar with a brass hairline below it. */
.top { position: sticky; top: 0; z-index: 20; background: var(--brush), linear-gradient(180deg, #2a2e32 0%, #181a1d 100%); border-bottom: 1px solid var(--brass); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 #000, 0 10px 22px rgba(0, 0, 0, 0.55); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--titanium); text-decoration: none; font-family: "Russo One", Impact, sans-serif; font-size: 1.05rem; letter-spacing: 1px; text-transform: uppercase; min-height: 52px; text-shadow: 0 1px 0 #000; }
.mark { display: block; width: 40px; height: 40px; flex: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.7)); }
nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
nav a, nav .link { color: var(--text); text-decoration: none; min-height: 52px; display: inline-flex; align-items: center; font-size: 0.8rem; }
nav a:hover, nav .link:hover { color: var(--brass-hi); }
nav a.btn { color: var(--brass-ink); }
nav a.btn:hover { color: var(--brass-ink); }
.inline { display: inline; margin: 0; }
button.link { background: none; border: 0; cursor: pointer; font: inherit; font-size: 0.8rem; color: var(--text); padding: 0; }

/* Type. Page titles are stamped steel: titanium gradient text with a dark shadow beneath. */
h1, h2, h3, .title { font-family: "Russo One", Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0.6px; line-height: 1.1; color: var(--titanium); margin: 0 0 0.5em; text-wrap: balance; }
h1, .title { font-size: clamp(1.6rem, 4.4vw, 2.6rem); }
h2 { font-size: clamp(1.2rem, 2.8vw, 1.7rem); }
h3 { font-size: 1.05rem; }
.title, h1 { color: #e6e9eb; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .title, h1 { background-image: linear-gradient(180deg, #f2f4f5 0%, #aeb4ba 38%, #e6e9eb 62%, #8a9097 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.85)) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); }
  /* The slow sheen runs on the main title only. */
  h1.sheen { background-image: linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, 0.95) 50%, transparent 58%), linear-gradient(180deg, #f2f4f5 0%, #aeb4ba 38%, #e6e9eb 62%, #8a9097 100%); background-size: 260% 100%, 100% 100%; background-repeat: no-repeat; background-position: 130% 0, 0 0; animation: sheen 9s linear infinite; }
}
@keyframes sheen { to { background-position: -130% 0, 0 0; } }
p { margin: 0 0 1em; }
.lead { font-size: 1.1rem; color: var(--titanium); }
.small-print { font-size: 0.8rem; color: var(--muted); }
a { color: var(--brass-hi); }
a:hover { color: #f3e1b6; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--brass-hi); outline-offset: 2px; }

/* Brushed gunmetal plates with a bevel, a heavy shadow and four steel dome rivets. */
main { padding: 28px 0 48px; }
.pn, .card, .app, .stat, .frame { position: relative; background: var(--brush), var(--noise), var(--plate); border: 1px solid #0b0c0d; border-radius: var(--r-lg); box-shadow: var(--hilite), 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 38px rgba(0, 0, 0, 0.65), 0 4px 8px rgba(0, 0, 0, 0.5); }
.pn::before, .card::before, .app::before, .frame::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  var(--rivet) left 8px top 8px / 9px 9px no-repeat,
  var(--rivet) right 8px top 8px / 9px 9px no-repeat; }
.pn::after, .card::after, .app::after, .frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  var(--rivet) left 8px bottom 8px / 9px 9px no-repeat,
  var(--rivet) right 8px bottom 8px / 9px 9px no-repeat; }
.pn { padding: 28px 24px 24px; margin: 0 0 22px; }
/* The riveted steel header band for a section's number and title. */
.pn > h2:first-of-type { margin: -28px -24px 20px; padding: 15px 64px 13px 32px; background: var(--brush), var(--steel-band); border-bottom: 1px solid #08090a; border-radius: 9px 9px 0 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 0 rgba(176, 141, 87, 0.35), 0 3px 6px rgba(0, 0, 0, 0.45); color: var(--brass-hi); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.12); }
.pn .num { position: absolute; right: 28px; top: 12px; z-index: 1; font-family: "Russo One", Impact, sans-serif; font-size: 1.6rem; color: #c9a464; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.14); line-height: 1; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

/* Home hero: a wide riveted steel frame holding the full lodge room, with the heading, lead and buttons below on steel.
   Never text over the photo. */
.hero { padding: 28px 0 18px; }
.hero .lead { max-width: 40em; }
.frame { padding: 16px; background: var(--brush), linear-gradient(145deg, #4a4f55 0%, #2c3034 38%, #1b1e21 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(0, 0, 0, 0.6), 0 26px 50px rgba(0, 0, 0, 0.75), 0 6px 12px rgba(0, 0, 0, 0.6); }
.frame img { position: relative; display: block; width: 100%; height: auto; border: 1px solid #000; border-radius: 4px; box-shadow: 0 0 0 1px rgba(176, 141, 87, 0.4), inset 0 0 18px rgba(0, 0, 0, 0.8); }
.hero-banner { margin: 0 0 30px; }
.hero-banner picture { display: block; }
.hero-banner img { height: 560px; object-fit: cover; object-position: center; }
.banner { margin: 0 0 26px; padding: 16px; }
.banner img { height: 320px; object-fit: cover; object-position: center; }
.emblem-top { display: block; margin: 6px auto 20px; width: 200px; max-width: 60vw; }
.emblem-top img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.75)); }
@media (max-width: 759px) {
  .hero-banner img { height: auto; }
  .banner img { height: 200px; }
  .emblem-top { width: 140px; }
}

/* Buttons: machined brass plates. Primary brass, secondary a gunmetal plate with a brass hairline. */
.btn, button.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; background: var(--brass-plate); color: var(--brass-ink); border: 1px solid #4a3519; border-radius: var(--r); box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.75), inset 0 -2px 0 rgba(60, 40, 14, 0.55), 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 14px rgba(0, 0, 0, 0.6); font-family: "Russo One", Impact, sans-serif; font-size: 0.85rem; letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; text-shadow: 0 1px 0 rgba(255, 240, 200, 0.45); cursor: pointer; transition: filter 0.2s, box-shadow 0.2s, transform 0.1s; }
.btn:hover, button.btn:hover { background: var(--brass-plate-hi); color: var(--brass-ink); filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255, 250, 230, 0.9), inset 0 -2px 0 rgba(60, 40, 14, 0.5), 0 8px 20px rgba(0, 0, 0, 0.65), 0 0 18px rgba(224, 196, 140, 0.18); }
.btn:active, button.btn:active { transform: translateY(1px); filter: brightness(0.94); box-shadow: inset 0 3px 7px rgba(40, 26, 8, 0.7), inset 0 -1px 0 rgba(255, 240, 200, 0.25), 0 1px 0 rgba(255, 255, 255, 0.06); }
.btn.small { min-height: 52px; padding: 8px 18px; }
.btn.big { min-height: 60px; font-size: 1rem; }
.btn.ghost, button.btn.ghost { background: var(--brush), var(--titanium-plate); color: var(--titanium); border: 1px solid var(--brass); text-shadow: 0 1px 0 #000; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 0 rgba(0, 0, 0, 0.6), 0 6px 14px rgba(0, 0, 0, 0.6); }
.btn.ghost:hover, button.btn.ghost:hover { background: var(--brush), linear-gradient(180deg, #484d53 0%, #33373b 55%, #26292c 100%); color: #fff; filter: none; }
.btn.ghost:active { box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.8); }
.btn[disabled], .btn.off { opacity: 0.45; cursor: not-allowed; transform: none; filter: none; }
.btn.warn { background: linear-gradient(180deg, #4a121c, #2a0a10); color: #fff; border-color: var(--red); text-shadow: 0 1px 0 #000; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }

/* Forms: inset dark steel wells, titanium labels, a brass focus ring. */
form.stack > div, .field { margin: 0 0 22px; }
label, .lbl { display: block; font-weight: 600; margin: 0 0 6px; color: #e2e5e7; text-shadow: 0 1px 0 #000; }
.why { font-size: 0.8rem; color: var(--muted); margin: 4px 0 0; }
input[type=text], input[type=email], input[type=tel], input[type=password], select { width: 100%; min-height: 52px; padding: 10px 14px; background: linear-gradient(180deg, #0a0b0c, #141618); color: var(--titanium); border: 1px solid #4a4f55; border-top-color: #000; border-radius: var(--r); box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.85), 0 1px 0 rgba(255, 255, 255, 0.08); font: inherit; transition: box-shadow 0.15s, border-color 0.15s; }
input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus, input[type=password]:focus, select:focus { border-color: var(--brass-hi); box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.85), 0 0 0 3px rgba(224, 196, 140, 0.55); }
input::placeholder { color: #8f959c; }
.check { display: flex; gap: 14px; align-items: flex-start; }
.check input { width: 28px; height: 28px; margin: 4px 0 0; flex: none; accent-color: var(--brass); }
.check label { font-weight: 400; margin: 0; min-height: 36px; }
.alert { border: 2px solid var(--brass); background: rgba(176, 141, 87, 0.14); border-radius: var(--r); padding: 16px 18px; margin: 0 0 18px; font-weight: 700; color: var(--titanium); box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5); }
.alert.bad { border-color: var(--red); background: rgba(220, 20, 60, 0.14); }
.errors { border: 2px solid var(--red); background: rgba(220, 20, 60, 0.14); border-radius: var(--r); padding: 14px 18px 4px; margin: 0 0 22px; }
.errors ul { margin: 0 0 12px; padding-left: 1.2em; }
.notice { border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: var(--r); padding: 12px 16px; margin: 0 0 18px; background: rgba(10, 11, 12, 0.55); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5); }
.draft { display: inline-block; background: var(--red); color: #fff; font-weight: 800; letter-spacing: 1.5px; padding: 6px 12px; border-radius: 6px; font-size: 0.7rem; margin: 0 0 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 1px solid var(--line-soft); border-radius: var(--r); padding: 16px 18px 6px; margin: 0 0 22px; }
legend { float: left; width: 100%; padding: 0 0 8px; font-weight: 700; color: var(--brass-hi); }
legend + * { clear: both; }

/* Cards and lists: smaller plates, same material. */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { padding: 18px 20px; box-shadow: var(--hilite), 0 10px 22px rgba(0, 0, 0, 0.6); }
.card h3 { color: var(--titanium); text-shadow: 0 1px 0 #000; }
.spokes { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.spokes li { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; background: var(--brush), linear-gradient(180deg, #2a2e32, #1b1d20); border: 1px solid #0b0c0d; border-radius: var(--r); box-shadow: var(--hilite), 0 6px 12px rgba(0, 0, 0, 0.5); }
.lock { color: var(--brass-hi); flex: none; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 14px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; font-family: "Russo One", Impact, sans-serif; color: var(--brass-ink); background: var(--brass-plate); border: 1px solid #4a3519; border-radius: 6px; box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.7), inset 0 -2px 0 rgba(60, 40, 14, 0.5), 0 3px 6px rgba(0, 0, 0, 0.55); text-shadow: 0 1px 0 rgba(255, 240, 200, 0.45); }
.rules { padding-left: 1.2em; }
.rules li { margin: 0 0 8px; }
dl.faq dt { font-weight: 700; color: var(--brass-hi); margin-top: 18px; }
dl.faq dd { margin: 6px 0 0; }
.table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }

/* Admin queue */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 0 0 22px; }
.stat { border-top: 2px solid var(--brass); padding: 12px 16px; border-radius: 0 0 8px 8px; }
.stat b { display: block; font-family: "Russo One", Impact, sans-serif; font-size: 1.8rem; color: var(--titanium); font-weight: 400; }
.stat span { color: var(--muted); font-size: 0.8rem; }
.app { padding: 18px; margin: 0 0 16px; }
.app.grey { opacity: 0.6; }
.app h3 { margin: 0 0 8px; }
.app dl { display: grid; grid-template-columns: 8.5em 1fr; gap: 4px 12px; margin: 0 0 12px; font-size: 0.85rem; }
.app dt { color: var(--muted); }
.app dd { margin: 0; overflow-wrap: anywhere; }
.flag { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #fff; background: #5a1520; border: 1px solid var(--red); padding: 3px 8px; border-radius: 6px; margin: 0 6px 6px 0; }
details summary { cursor: pointer; min-height: 40px; color: var(--brass-hi); }

/* Footer: a riveted steel band. */
.foot { position: relative; border-top: 1px solid var(--brass); background: var(--brush), linear-gradient(180deg, #2a2e32 0%, #17191c 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 -10px 24px rgba(0, 0, 0, 0.5); padding: 24px 0 32px; }
.foot::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--rivet) left 10px top 10px / 9px 9px no-repeat, var(--rivet) right 10px top 10px / 9px 9px no-repeat; }
.foot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--rivet) left 10px bottom 10px / 9px 9px no-repeat, var(--rivet) right 10px bottom 10px / 9px 9px no-repeat; }
.foot .motto { font-family: 'Russo One', sans-serif; color: var(--brass-hi); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; margin: 0 0 10px; text-shadow: 0 -1px 0 #000; }
.disc { font-weight: 600; color: var(--titanium); margin: 0 0 12px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-size: 0.75rem; color: var(--muted); }
.meta a { color: var(--brass-hi); }
.sep { color: #6b7178; }
.light { display: inline-block; width: 14px; height: 14px; border-radius: 3px; background: #777; border: 1px solid #000; }
.light.ok { background: var(--ok); }
.light.stale, .light.starting { background: var(--brass); }
.light.failing { background: var(--red); }

@media (max-width: 700px) {
  .pn { padding: 24px 16px 18px; }
  .pn > h2:first-of-type { margin: -24px -16px 18px; padding: 14px 52px 12px 28px; }
  .pn .num { font-size: 1.3rem; right: 24px; top: 14px; }
  .app dl { grid-template-columns: 1fr; }
  .app dt { margin-top: 6px; }
}
/* Vault door entrance (door.js): a full-viewport overlay holding the door video. Opacity fades only. */
.door-overlay { position: fixed; inset: 0; z-index: 1000; background: #050505; opacity: 0; transition: opacity 0.4s ease; }
.door-overlay.door-in { opacity: 1; }
.door-overlay.door-out { opacity: 0; transition-duration: 0.4s; }
.door-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #050505; }
.door-skip { position: absolute; top: 18px; right: 18px; z-index: 1; min-height: 52px; min-width: 96px; padding: 10px 24px; background: var(--brush), var(--titanium-plate); color: var(--titanium); border: 1px solid var(--brass); border-radius: var(--r); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 0 rgba(0, 0, 0, 0.6), 0 6px 14px rgba(0, 0, 0, 0.6); font-family: "Russo One", Impact, sans-serif; font-size: 0.85rem; letter-spacing: 1.4px; text-transform: uppercase; text-shadow: 0 1px 0 #000; cursor: pointer; }
.door-skip:hover, .door-skip:focus-visible { color: #fff; outline: 2px solid var(--brass-hi); outline-offset: 2px; }
@media print { .door-overlay { display: none; } }
.vault-overlay { position: fixed; inset: 0; z-index: 1100; background: #050505; opacity: 1; transition: opacity 0.6s ease; overflow: hidden; }
.vault-overlay.vault-out { opacity: 0; pointer-events: none; }
.vault-overlay[hidden] { display: none; }
.vault-still, .vault-overlay picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vault-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #050505; opacity: 0; transition: opacity 0.3s ease; }
.vault-playing .vault-video { opacity: 1; }
.vault-card { position: absolute; left: 50%; bottom: 8vh; transform: translateX(-50%); width: min(92vw, 520px); display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 28px 26px 30px; background: var(--brush), var(--plate); border: 1px solid var(--brass); border-radius: var(--r-lg); box-shadow: var(--hilite), 0 18px 48px rgba(0, 0, 0, 0.75); text-align: center; transition: opacity 0.4s ease; }
.vault-card::before, .vault-card::after { content: ""; position: absolute; top: 10px; width: 10px; height: 10px; background: var(--rivet); }
.vault-card::before { left: 10px; }
.vault-card::after { right: 10px; }
.vault-line { margin: 0; font-family: "Russo One", Impact, sans-serif; font-size: 1.35rem; line-height: 1.25; color: var(--brass-hi); text-shadow: 0 1px 0 #000; }
.vault-go { width: 100%; min-height: 64px; font-size: 1.1rem; }
.vault-playing .vault-card { opacity: 0; pointer-events: none; }
.vault-skip { position: absolute; top: 18px; right: 18px; z-index: 2; min-height: 52px; min-width: 96px; padding: 10px 24px; background: var(--brush), var(--titanium-plate); color: var(--titanium); border: 1px solid var(--brass); border-radius: var(--r); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 0 rgba(0, 0, 0, 0.6), 0 6px 14px rgba(0, 0, 0, 0.6); font-family: "Russo One", Impact, sans-serif; font-size: 0.85rem; letter-spacing: 1.4px; text-transform: uppercase; text-shadow: 0 1px 0 #000; cursor: pointer; }
.vault-skip:hover, .vault-skip:focus-visible { color: #fff; outline: 2px solid var(--brass-hi); outline-offset: 2px; }
.vault-replay { display: inline-block; padding: 8px 0; }
@media (prefers-reduced-motion: reduce) { .vault-overlay, .vault-card { transition: none; } }
/* Preparedness tap plates: gunmetal when open, a brass plate when chosen (same material as the Wheel level chips). */
fieldset.prep { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.prep-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.prep-plate { position: relative; display: block; flex: 0 0 auto; }
.prep-plate input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.prep-plate-text { display: flex; align-items: center; justify-content: center; min-width: 48px; min-height: 52px; padding: 8px 6px; font-size: 18px; font-weight: 700; line-height: 1; color: var(--ink); background: var(--brush), linear-gradient(180deg, #3a3f44 0%, #2a2e32 55%, #1f2225 100%); border: 1px solid #0b0c0d; border-radius: var(--r); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 0 rgba(0, 0, 0, 0.6), 0 3px 6px rgba(0, 0, 0, 0.5); }
.prep-plate:hover .prep-plate-text { border-color: var(--brass-hi); filter: brightness(1.12); }
.prep-plate input:checked + .prep-plate-text { background: linear-gradient(180deg, #6e5230 0%, #b08d57 18%, #e0c48c 48%, #b08d57 78%, #7d5f35 100%); border-color: #4a3519; color: #1a1206; text-shadow: 0 1px 0 rgba(255, 240, 200, 0.45); box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.75), inset 0 -2px 0 rgba(60, 40, 14, 0.55), 0 3px 6px rgba(0, 0, 0, 0.55); }
.prep-plate input:focus-visible + .prep-plate-text { outline: 3px solid var(--brass-hi); outline-offset: 2px; }
@media (max-width: 480px) { .prep-row { display: grid; grid-template-columns: repeat(6, minmax(44px, 1fr)); } .prep-plate-text { min-width: 44px; } }
@media print { .vault-overlay { display: none; } }
@media print { .atm, .top, .btn, .frame, .emblem-top { display: none; } body { background: #fff; color: #000; } .pn { box-shadow: none; border-color: #999; background: #fff; } .pn::before, .pn::after { display: none; } h1, h2, .title { color: #000; -webkit-text-fill-color: #000; filter: none; background: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Score plates: numbers must read clearly on gunmetal (the inherited ink rendered too dark). */
.prep .prep-plate-text { color: #e6e9eb; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7); }
.prep .prep-plate input:checked + .prep-plate-text { color: #1a1206; text-shadow: 0 1px 0 rgba(255, 240, 200, 0.45); }
