/* Orrery Hall · brass, glass and a night sky */

@font-face { font-family: "Marcellus"; src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("../fonts/space-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("../fonts/space-mono-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --night: #0b1026;
  --night-2: #121a3a;
  --night-3: #1a2450;
  --line: rgba(217, 178, 95, .22);
  --line-2: rgba(244, 236, 216, .12);
  --brass: #d9b25f;
  --brass-2: #f0d48f;
  --copper: #c8794a;
  --star: #f4ecd8;
  --mist: #aeb4cf;
  --dim: #8189ad;
  --good: #8fd3a8;
  --bad: #f19b84;
  --r: 14px;
  --serif: "Marcellus", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --wrap: 1200px;
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--night); }
html.is-veiled { overflow: hidden; }
body {
  margin: 0; color: var(--star); font: 400 16.5px/1.65 var(--sans); overflow-x: hidden; min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(200, 121, 74, .14), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(80, 100, 190, .18), transparent 60%),
    var(--night);
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 72% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 33% 72%, #f0d48f 50%, transparent 51%), radial-gradient(1px 1px at 88% 64%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 38%, #cfd6ff 50%, transparent 51%), radial-gradient(1px 1px at 8% 88%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 94% 92%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 62% 86%, #f0d48f 50%, transparent 51%);
  background-size: 640px 640px;
}
body > * { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass-2); text-decoration-color: rgba(240, 212, 143, .45); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .01em; color: #fff; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .85em; color: var(--brass-2); }
.oh-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.oh-skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--brass); color: var(--night); padding: .5em 1em; border-radius: 8px; }
.oh-skip:focus { left: 8px; }
.oh-g { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.oh-eyebrow { font: 400 .78rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--brass); margin: 0 0 .7em; }
.oh-lead { font-size: 1.14rem; color: #e3e0d5; max-width: 66ch; }
.oh-fine { font-size: .84rem; color: var(--dim); }
.oh-intro { color: var(--mist); max-width: 70ch; }
.oh-centre { text-align: center; margin-top: 28px; }

/* ---------- buttons ---------- */
.oh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.4em;
  font: 700 .92rem/1 var(--sans); letter-spacing: .03em; color: var(--night); text-decoration: none; cursor: pointer;
  background: linear-gradient(180deg, var(--brass-2), var(--brass) 55%, #b98f3e); border: 1px solid #f6dea4; border-radius: 999px;
  box-shadow: 0 6px 18px -8px rgba(217, 178, 95, .7), inset 0 1px 0 rgba(255, 255, 255, .5); transition: transform .15s, filter .15s;
}
.oh-btn:hover { color: var(--night); filter: brightness(1.06); transform: translateY(-1px); }
.oh-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; filter: grayscale(.4); }
.oh-btn--ghost { background: transparent; color: var(--star); border-color: var(--line); box-shadow: none; }
.oh-btn--ghost:hover { background: rgba(217, 178, 95, .1); color: #fff; border-color: var(--brass); }
.oh-btn--text { background: none; border: 0; box-shadow: none; color: var(--mist); text-decoration: underline; }
.oh-btn--sm { min-height: 38px; padding: .5em 1.1em; font-size: .84rem; }
.oh-btn--wide { width: 100%; }
.oh-btn--go { min-width: 150px; font-size: 1.02rem; }
.oh-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--brass-2); text-decoration: underline; cursor: pointer; }

/* ---------- header ---------- */
.oh-top { position: sticky; top: 0; z-index: 50; background: rgba(11, 16, 38, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.oh-top__in { max-width: var(--wrap); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 18px; }
.oh-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.oh-brand img { border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.oh-brand__name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .04em; }
.oh-menu { display: flex; gap: 2px; margin-left: auto; }
.oh-menu__a { display: flex; align-items: center; gap: 6px; padding: 8px 11px; white-space: nowrap; border-radius: 999px; color: var(--mist); text-decoration: none; font-weight: 600; font-size: .9rem; }
.oh-menu__a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.oh-menu__a.is-here { color: var(--night); background: var(--brass); }
.oh-dash { display: flex; align-items: center; gap: 8px; flex: none; }
.oh-dust { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; text-decoration: none; padding: 5px 14px 5px 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(217, 178, 95, .06); color: var(--brass-2); }
.oh-dust .oh-g { grid-row: span 2; width: 22px; height: 22px; fill: rgba(217, 178, 95, .25); }
.oh-dust__n { font: 700 1rem/1.1 var(--mono); color: #fff; }
.oh-dust__t { font-size: .64rem; color: var(--dim); letter-spacing: .04em; }
.oh-shutterbtn { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--star); font: 600 .84rem var(--sans); cursor: pointer; }
.oh-shutterbtn:hover { border-color: var(--brass); }
.oh-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; padding: 12px 11px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.oh-burger span { display: block; height: 2px; background: var(--star); border-radius: 2px; transition: transform .2s, opacity .2s; }
.oh-burger.is-x span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.oh-burger.is-x span:nth-child(2) { opacity: 0; }
.oh-burger.is-x span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.oh-band { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; padding: 6px 16px; font: 400 .7rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--night); background: linear-gradient(90deg, #b98f3e, var(--brass-2), #b98f3e); }
.oh-band b { background: var(--night); color: var(--brass-2); padding: 0 6px; border-radius: 4px; }

/* ---------- layout ---------- */
.oh-main { max-width: var(--wrap); margin: 0 auto; padding: 0 20px 40px; }
.oh-sec { margin: 64px 0; }
.oh-sec__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 22px; }
.oh-sec__h .oh-eyebrow { width: 100%; margin: 0; }
.oh-sec__h .oh-h2 { margin: 0; flex: 1; }
.oh-h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.oh-more { display: inline-flex; align-items: center; gap: 6px; color: var(--brass-2); font-weight: 600; text-decoration: none; }
.oh-more:hover { gap: 10px; }
.oh-more .oh-g { width: 18px; height: 18px; }
.oh-pagehead { padding: 56px 0 8px; max-width: 860px; }
.oh-crumb { font: 400 .78rem var(--mono); color: var(--dim); letter-spacing: .06em; }
.oh-crumb a { color: var(--mist); }
.oh-card-box { background: linear-gradient(180deg, rgba(26, 36, 80, .7), rgba(18, 26, 58, .7)); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .8); }
.oh-two { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.oh-two > *, .oh-ins__grid > *, .oh-logtop > * { min-width: 0; }
.oh-prose h2 { font-size: 1.5rem; margin-top: 1.4em; }
.oh-prose h2:first-child { margin-top: 0; }
.oh-prose ul, .oh-prose ol { padding-left: 1.2em; }
.oh-prose li { margin-bottom: .45em; }
.oh-callout { border-left: 3px solid var(--brass); padding: 12px 16px; background: rgba(217, 178, 95, .08); border-radius: 0 10px 10px 0; color: #ece6d4; }

/* ---------- hero ---------- */
.oh-hero { position: relative; margin: 0 -20px; min-height: min(78vh, 680px); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }
.oh-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oh-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 16, 38, .95) 0%, rgba(11, 16, 38, .7) 45%, rgba(11, 16, 38, .1) 100%), linear-gradient(0deg, var(--night) 0%, transparent 35%); }
.oh-hero__in { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; width: 100%; padding: 80px 20px 64px; }
.oh-hero__in h1 { max-width: 15ch; }
.oh-hero__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- game tiles ---------- */
.oh-orbit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.oh-tile { position: relative; display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: #fff; aspect-ratio: 16 / 11; background: var(--night-2); }
.oh-tile--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.oh-orbit .oh-tile:nth-child(6), .oh-orbit .oh-tile:nth-child(7) { grid-column: span 2; aspect-ratio: 16 / 7; }
.oh-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.oh-tile:hover img { transform: scale(1.05); }
.oh-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 16, 38, .95), rgba(11, 16, 38, .2) 55%, transparent); }
.oh-tile__txt { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 16px 18px; display: flex; flex-direction: column; }
.oh-tile__txt small { font: 400 .68rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.oh-tile__txt b { font: 400 1.35rem/1.15 var(--serif); }
.oh-tile--wide .oh-tile__txt b { font-size: 2rem; }
.oh-tile__txt em { font-style: normal; font-size: .86rem; color: var(--mist); }

/* ---------- session strip ---------- */
.oh-session { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 18px 24px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(18, 26, 58, .7); }
.oh-session__h { margin: 0; font-family: var(--serif); font-size: 1.2rem; }
.oh-session dl { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; flex: 1; }
.oh-session dt, .oh-panel__dl dt { font: 400 .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.oh-session dd, .oh-panel__dl dd { margin: 0; font: 700 1rem var(--mono); color: #fff; }

/* ---------- three / rules ---------- */
.oh-three { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.oh-three li { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(18, 26, 58, .55); }
.oh-three span { font-family: var(--serif); font-size: 2.2rem; color: var(--brass); line-height: 1; display: block; margin-bottom: 10px; }
.oh-three p { color: var(--mist); margin: 0; }
.oh-rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.oh-rules > div { background: var(--night-2); padding: 24px; }
.oh-rules .oh-g { width: 28px; height: 28px; color: var(--brass); margin-bottom: 12px; }
.oh-rules h3 { font-size: 1.15rem; }
.oh-rules p { font-size: .92rem; color: var(--mist); margin: 0; }

/* ---------- sky cards ---------- */
.oh-skyrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.oh-skycard { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--night-2); padding-bottom: 14px; }
.oh-skycard img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 10px; }
.oh-skycard b, .oh-skycard small { padding: 0 14px; }
.oh-skycard b { font: 400 1.12rem var(--serif); }
.oh-skycard small { color: var(--mist); font-size: .82rem; }
.oh-skycard:hover { border-color: var(--brass); }
.oh-logband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 30px; border-radius: var(--r); border: 1px solid var(--line); background: radial-gradient(500px 200px at 90% 50%, rgba(217, 178, 95, .16), transparent), var(--night-2); }
.oh-logband > div { max-width: 720px; }
.oh-logband p { color: var(--mist); margin: 0; }
.oh-obsrow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.oh-obsrow a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(18, 26, 58, .6); color: #fff; text-decoration: none; font-weight: 600; }
.oh-obsrow a:hover { border-color: var(--brass); }
.oh-obsrow small { display: block; font: 400 .68rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
.oh-faq details { border-bottom: 1px solid var(--line-2); padding: 14px 0; }
.oh-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.oh-faq summary::-webkit-details-marker { display: none; }
.oh-faq summary::after { content: "+"; color: var(--brass); font: 700 1.2rem var(--mono); }
.oh-faq details[open] summary::after { content: "−"; }
.oh-faq p { color: var(--mist); margin: 10px 0 0; }

/* ---------- star charts ---------- */
.oh-charts { display: grid; gap: 16px; }
.oh-chart { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--night-2); }
.oh-chart__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.oh-chart__body { padding: 22px 26px; }
.oh-chart__body h3 { font-size: 1.6rem; margin-bottom: .1em; }
.oh-chart__body h3 a { color: #fff; text-decoration: none; }
.oh-chart__line { color: var(--brass-2); font-weight: 600; }
.oh-chart__body > p:not(.oh-chart__line) { color: var(--mist); }
.oh-chart__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.oh-gauges { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.oh-gauges--row { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.oh-gauges li { display: flex; align-items: center; gap: 10px; font: 400 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.oh-gauges li span { min-width: 54px; }
.oh-gauge { display: inline-flex; gap: 3px; }
.oh-gauge i { width: 18px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); }
.oh-gauge i.on { background: var(--brass); }

/* ---------- instrument page ---------- */
.oh-ins { padding-top: 28px; }
.oh-ins__head h1 { margin-bottom: 0; }
.oh-ins__line { color: var(--brass-2); font-weight: 600; margin-bottom: 18px; }
.oh-ins__grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; align-items: start; }
.oh-stage { position: relative; border-radius: 20px; padding: clamp(14px, 2.4vw, 26px); border: 1px solid rgba(217, 178, 95, .45); background: radial-gradient(800px 400px at 50% 0%, rgba(217, 178, 95, .12), transparent 70%), linear-gradient(180deg, rgba(18, 26, 58, .82), rgba(11, 16, 38, .92)), var(--bg) center / cover; box-shadow: inset 0 0 0 6px rgba(11, 16, 38, .6), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.oh-shutbar { display: flex; gap: 10px; align-items: center; padding: 12px 16px; margin-bottom: 14px; border-radius: 12px; background: rgba(241, 155, 132, .1); border: 1px solid rgba(241, 155, 132, .4); }
.oh-shutbar p { margin: 0; }
.is-shut .oh-stage { filter: grayscale(.8) brightness(.6); pointer-events: none; }

.oh-board { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 8px; padding: 10px; border-radius: 14px; background: rgba(5, 8, 22, .75); border: 1px solid var(--line); }
.oh-reel { display: grid; grid-template-rows: repeat(var(--rows), minmax(0, 1fr)); gap: 8px; }
.oh-cell { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #0d1433; border: 1px solid rgba(255, 255, 255, .06); transition: box-shadow .2s, transform .2s; }
.oh-cell img { width: 100%; height: 100%; object-fit: cover; }
.oh-cell.is-blur img { filter: blur(2px) brightness(.85); transform: translateY(4px); }
.oh-cell.is-held { box-shadow: inset 0 0 0 2px #9fd3ff, 0 0 18px rgba(159, 211, 255, .35); }
.oh-cell.is-win { box-shadow: inset 0 0 0 2px var(--brass-2), 0 0 22px rgba(240, 212, 143, .55); transform: scale(1.03); z-index: 2; }
.oh-board--brass-telescope { max-width: 480px; margin: 0 auto; }

.oh-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
.oh-stakebox { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(5, 8, 22, .6); }
.oh-step { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(217, 178, 95, .14); color: var(--brass-2); font: 700 1.2rem var(--mono); cursor: pointer; }
.oh-step:hover { background: rgba(217, 178, 95, .3); }
.oh-stakebox__v { margin: 0; min-width: 72px; text-align: center; line-height: 1.05; }
.oh-stakebox__v b { display: block; font: 700 1.1rem var(--mono); }
.oh-stakebox__v small { font-size: .64rem; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; }
.oh-msg { text-align: center; margin: 14px 0 0; min-height: 1.6em; color: var(--mist); }
.oh-msg b { color: var(--brass-2); font-family: var(--mono); }

.oh-felt { border-radius: 16px; padding: 22px; background: radial-gradient(600px 300px at 50% 40%, #1d2a6a, #0d1433 70%); border: 1px solid var(--line); min-height: 340px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.oh-felt__h { margin: 0; font: 400 .76rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); text-align: center; }
.oh-felt__rule { margin: 6px 0; text-align: center; font-family: var(--serif); color: var(--brass); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px 0; font-size: .92rem; }
.oh-total { display: inline-block; margin-left: 8px; padding: 1px 10px; border-radius: 999px; background: rgba(217, 178, 95, .18); color: #fff; font-weight: 700; }
.oh-hand { display: flex; justify-content: center; gap: 10px; min-height: 120px; flex-wrap: wrap; }
.oh-card { width: 82px; height: 116px; border-radius: 10px; background: linear-gradient(160deg, #fffaf0, #efe5cc); color: #1a2045; border: 1px solid #c8b78a; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .8); position: relative; display: grid; place-items: center; animation: oh-deal .35s ease both; }
.oh-card.is-red { color: #b8322a; }
.oh-card.is-down { background: repeating-linear-gradient(45deg, #1d2a5c 0 6px, #16204a 6px 12px); border-color: var(--brass); }
.oh-card.is-down::after { content: "✦"; color: var(--brass); font-size: 1.6rem; }
.oh-card__r { position: absolute; top: 6px; left: 8px; font: 700 1.05rem var(--mono); }
.oh-card__r--b { top: auto; left: auto; bottom: 6px; right: 8px; transform: rotate(180deg); }
.oh-card__s { font-size: 2.2rem; }
.oh-card.is-small { width: 46px; height: 64px; animation: none; }
.oh-card.is-small .oh-card__s { font-size: 1.2rem; }
.oh-card.is-small .oh-card__r { font-size: .7rem; top: 3px; left: 4px; }
.oh-card.is-small .oh-card__r--b { display: none; }
@keyframes oh-deal { from { opacity: 0; transform: translateY(-14px) rotate(-3deg); } to { opacity: 1; transform: none; } }
.oh-meridian { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.oh-meridian__card .oh-card { width: 110px; height: 156px; }
.oh-meridian__card .oh-card__s { font-size: 3rem; }
.oh-meridian__dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px; margin: 0; }
.oh-meridian__dl dt { font: 400 .66rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.oh-meridian__dl dd { margin: 0; font: 700 1.3rem var(--mono); }
.oh-trail { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; min-height: 64px; }

.oh-wheelwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.oh-wheel { width: 100%; max-width: 380px; margin: 0 auto; display: block; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); }
.oh-wheel__spin { transform-origin: 100px 100px; }
.oh-wheel__g { font-size: 15px; font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols", sans-serif; }
.oh-bets__h { margin: 12px 0 6px; font: 400 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.oh-bets__h small { color: var(--brass); margin-left: 6px; }
.oh-bets__row { display: flex; flex-wrap: wrap; gap: 6px; }
.oh-chip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(5, 8, 22, .55); color: var(--star); font: 600 .8rem var(--sans); cursor: pointer; }
.oh-chip:hover { border-color: var(--brass); }
.oh-chip[aria-pressed="true"] { background: var(--brass); color: var(--night); border-color: var(--brass-2); }
.oh-chip--fire { border-color: rgba(224, 112, 63, .6); } .oh-chip--earth { border-color: rgba(127, 154, 90, .7); }
.oh-chip--air { border-color: rgba(155, 183, 217, .6); } .oh-chip--water { border-color: rgba(79, 134, 184, .8); }

.oh-panel { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(18, 26, 58, .85); position: sticky; top: 120px; }
.oh-panel__h { margin: 0 0 10px; font-family: var(--serif); font-size: 1.12rem; }
.oh-panel__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 18px; }
.oh-panel__dl .wide { grid-column: span 2; }
.oh-panel__last { list-style: none; padding: 0; margin: 0 0 16px; font: 400 .74rem/1.6 var(--mono); color: var(--mist); }
.oh-panel__last li { border-left: 2px solid var(--line); padding-left: 8px; margin-bottom: 3px; text-transform: capitalize; }

.oh-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 34px 0 -30px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.oh-tabs a { padding: 6px 12px; border-radius: 999px; color: var(--mist); text-decoration: none; font: 400 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.oh-tabs a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.oh-facts dl { margin: 0 0 16px; }
.oh-facts dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.oh-facts dt { color: var(--dim); font-size: .88rem; }
.oh-facts dd { margin: 0; text-align: right; font-weight: 600; }
.oh-steps { counter-reset: s; list-style: none; padding: 0; }
.oh-steps li { counter-increment: s; position: relative; padding-left: 42px; margin-bottom: 14px; }
.oh-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--brass); color: var(--brass-2); font: 700 .82rem var(--mono); }
.oh-pay { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: .92rem; }
.oh-pay th, .oh-pay td { padding: 9px 10px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: middle; }
.oh-pay thead th { font: 400 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.oh-pay tbody th { font-weight: 600; }
.oh-pay tbody th img { display: inline-block; vertical-align: middle; width: 36px; height: 36px; border-radius: 6px; margin-right: 10px; }
.oh-pay td { font-family: var(--mono); color: var(--brass-2); }
.oh-pay__wild img { display: inline-block; vertical-align: middle; width: 36px; height: 36px; border-radius: 6px; }
.oh-lines summary { cursor: pointer; color: var(--brass-2); font-weight: 600; }
.oh-lines__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; margin-top: 12px; }
.oh-lines__grid svg { width: 100%; height: auto; border-radius: 6px; }
.oh-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.oh-mini { text-decoration: none; color: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--night-2); }
.oh-mini img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.oh-mini span { display: flex; flex-direction: column; padding: 8px 10px 10px; }
.oh-mini b { font: 400 .98rem var(--serif); }
.oh-mini small { font-size: .74rem; color: var(--dim); }
.oh-mini:hover { border-color: var(--brass); }

/* ---------- logbook ---------- */
.oh-logtop { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; }
.oh-rank__name { font: 400 2.4rem/1 var(--serif); color: var(--brass-2); margin: 0 0 14px; }
.oh-rank__bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-bottom: 8px; }
.oh-rank__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--copper), var(--brass-2)); }
.oh-ranks { padding-left: 1.2em; color: var(--mist); }
.oh-ranks b { color: #fff; font-weight: 600; }
.oh-stars { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.oh-star { padding: 18px; border-radius: 12px; border: 1px dashed var(--line); background: rgba(18, 26, 58, .5); display: flex; flex-direction: column; gap: 4px; }
.oh-star svg { width: 30px; height: 30px; fill: none; stroke: var(--dim); stroke-width: 1.4; }
.oh-star b { font: 400 1.15rem var(--serif); }
.oh-star span { font-size: .86rem; color: var(--mist); }
.oh-star small { font: 400 .68rem var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.oh-star.is-lit { border-style: solid; border-color: var(--brass); background: radial-gradient(240px 120px at 0 0, rgba(217, 178, 95, .2), transparent), var(--night-2); }
.oh-star.is-lit svg { fill: var(--brass-2); stroke: var(--brass-2); filter: drop-shadow(0 0 8px rgba(240, 212, 143, .7)); }
.oh-star.is-lit small { color: var(--brass); }
.oh-played { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.oh-played li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(18, 26, 58, .5); }
.oh-played li.is-played { border-color: var(--line); }
.oh-played span { font: 400 .8rem var(--mono); color: var(--dim); }

/* ---------- forms ---------- */
.oh-form { display: grid; gap: 14px; max-width: 620px; }
.oh-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.oh-form input:not([type="checkbox"]):not([type="radio"]), .oh-form select, .oh-form textarea { font: 400 1rem var(--sans); color: #fff; background: rgba(5, 8, 22, .6); border: 1px solid var(--line); border-radius: 10px; padding: .75em .9em; width: 100%; }
.oh-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brass) 50%), linear-gradient(135deg, var(--brass) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2em; }
.oh-form [aria-invalid="true"] { border-color: var(--bad); }
.oh-check { display: flex !important; align-items: center; grid-template-columns: none; gap: 10px !important; font-weight: 400 !important; }
.oh-check input { width: 20px; height: 20px; accent-color: var(--brass); }
.oh-err { color: var(--bad); font-size: .86rem; margin: -8px 0 0; }
.oh-alert { padding: 12px 16px; border-radius: 10px; background: rgba(241, 155, 132, .12); border: 1px solid rgba(241, 155, 132, .5); }
.oh-hp { position: absolute; left: -9999px; }
.oh-plan { display: flex !important; flex-wrap: wrap; align-items: end; max-width: none; }
.oh-plan label { flex: 1 1 200px; }
.oh-plan__out, .oh-quiz__out { margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: rgba(217, 178, 95, .1); border-left: 3px solid var(--brass); }
.oh-plan__out:empty { display: none; }
.oh-quiz fieldset { border: 0; border-bottom: 1px solid var(--line-2); padding: 12px 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.oh-quiz legend { float: left; width: 100%; font-weight: 600; margin-bottom: 6px; }
.oh-quiz label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.oh-quiz input { accent-color: var(--brass); width: 18px; height: 18px; }
.oh-quiz .oh-btn { margin-top: 16px; }
.oh-help li { margin-bottom: .7em; }

/* ---------- observations / sky ---------- */
.oh-obslist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.oh-obs h2 { font-size: 1.45rem; }
.oh-obs h2 a { color: #fff; text-decoration: none; }
.oh-obs p { color: var(--mist); }
.oh-read { max-width: 860px; }
.oh-read__body { font-size: 1.05rem; }
.oh-read__body p { color: #e4e1d6; }
.oh-read__end { font: 400 .74rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); border-top: 1px solid var(--line); padding-top: 14px; }
.oh-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.oh-filter > span { font-weight: 600; margin-right: 6px; }
.oh-skygrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.oh-skyitem { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--night-2); display: flex; flex-direction: column; }
.oh-skyitem img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.oh-skyitem__b { padding: 20px 22px 22px; position: relative; flex: 1; display: flex; flex-direction: column; }
.oh-skyitem__b h2 { font-size: 1.5rem; margin-bottom: .2em; }
.oh-skyitem__b h2 a { color: #fff; text-decoration: none; }
.oh-skyitem__b > p { color: var(--mist); }
.oh-skyitem__n { position: absolute; right: 20px; top: 18px; font: 400 .8rem var(--mono); color: var(--dim); margin: 0; }
.oh-skyitem .oh-chart__act { margin-top: auto; }
.oh-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.oh-tags span { font: 400 .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--brass-2); }
.oh-mini-dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.oh-mini-dl dt { font: 400 .62rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.oh-mini-dl dd { margin: 0; font-size: .86rem; font-weight: 600; }
.oh-skyhero { margin: 10px 0 26px; }
.oh-skyhero img { border-radius: var(--r); border: 1px solid var(--line); width: 100%; }
.oh-skyhero figcaption { font-size: .8rem; color: var(--dim); margin-top: 8px; }
.oh-legal table { font-size: .88rem; }
.oh-legal td { color: var(--star); font-family: var(--sans); }
.oh-lost { padding: 110px 0; }

/* ---------- dialogs ---------- */
.oh-veil { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(5, 8, 22, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.oh-veil__card { width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; text-align: center; padding: 34px 28px; border-radius: 20px; border: 1px solid var(--brass); background: radial-gradient(400px 200px at 50% 0, rgba(217, 178, 95, .2), transparent), var(--night-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.oh-veil__card img { margin: 0 auto 14px; border-radius: 50%; }
.oh-veil__card h2 { font-size: 1.6rem; }
.oh-veil__card p { color: var(--mist); }
.oh-veil__btns { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.oh-veil__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.oh-note { position: fixed; left: 16px; bottom: 16px; z-index: 90; width: min(420px, calc(100% - 32px)); padding: 18px 20px; border-radius: 16px; border: 1px solid var(--brass); background: var(--night-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.oh-note__h { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 6px; }
.oh-note p { font-size: .88rem; color: var(--mist); }
.oh-note__btns { display: flex; gap: 10px; }
.oh-toast { position: fixed; right: 16px; bottom: 16px; z-index: 95; max-width: 360px; padding: 12px 16px; border-radius: 12px; background: var(--brass); color: var(--night); font-weight: 600; font-size: .9rem; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }

/* ---------- footer ---------- */
.oh-foot { border-top: 1px solid var(--line); background: rgba(5, 8, 22, .7); margin-top: 60px; }
.oh-foot__notice { max-width: var(--wrap); margin: 0 auto; padding: 28px 20px 0; }
.oh-foot__notice p { margin: 0 0 8px; padding-left: 14px; border-left: 3px solid var(--brass); font-size: .9rem; color: #e3e0d5; }
.oh-foot__grid { max-width: var(--wrap); margin: 0 auto; padding: 34px 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 28px; }
.oh-foot__h { font: 400 .72rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.oh-foot ul { list-style: none; padding: 0; margin: 0; }
.oh-foot li { margin-bottom: 8px; font-size: .9rem; color: var(--mist); }
.oh-foot a { color: var(--star); }
.oh-foot__base { max-width: var(--wrap); margin: 0 auto; padding: 18px 20px 30px; border-top: 1px solid var(--line-2); font-size: .8rem; color: var(--dim); }
.oh-foot__base p { margin: 0 0 4px; }

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

/* ---------- responsive ---------- */
@media (max-width: 1260px) {
  .oh-menu__a .oh-g { display: none; }
}
@media (max-width: 1100px) {
  .oh-orbit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oh-orbit .oh-tile:nth-child(6), .oh-orbit .oh-tile:nth-child(7) { grid-column: auto; aspect-ratio: 16 / 11; }
  .oh-tile--wide { grid-row: auto; aspect-ratio: 16 / 9; }
  .oh-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oh-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .oh-stars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .oh-burger { display: flex; }
  .oh-menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 10px 16px 16px; background: var(--night); border-bottom: 1px solid var(--line); display: none; }
  .oh-menu.is-open { display: flex; }
  .oh-menu__a span { display: inline; }
  .oh-menu__a { padding: 12px; border-radius: 10px; }
  .oh-dash { margin-left: auto; }
  .oh-ins__grid, .oh-two, .oh-logtop { grid-template-columns: minmax(0, 1fr); }
  .oh-panel { position: static; }
  .oh-chart { grid-template-columns: minmax(0, 1fr); }
  .oh-three, .oh-skyrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oh-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oh-wheelwrap { grid-template-columns: minmax(0, 1fr); }
  .oh-skygrid, .oh-obslist { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .oh-top__in { padding: 8px 14px; gap: 10px; }
  .oh-brand__name { display: none; }
  .oh-dust__t { display: none; }
  .oh-shutterbtn span { display: none; }
  .oh-band { font-size: .6rem; gap: 2px 10px; }
  .oh-band span:nth-child(n+4) { display: none; }
  .oh-main { padding: 0 16px 30px; }
  .oh-hero { margin: 0 -16px; min-height: 560px; }
  .oh-hero__in { padding: 60px 16px 40px; }
  .oh-orbit { grid-template-columns: minmax(0, 1fr); }
  .oh-tile--wide, .oh-orbit .oh-tile:nth-child(7) { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 11; }
  .oh-tile--wide .oh-tile__txt b { font-size: 1.5rem; }
  .oh-three, .oh-rules, .oh-skyrow, .oh-obsrow, .oh-stars, .oh-foot__grid { grid-template-columns: minmax(0, 1fr); }
  .oh-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oh-board { gap: 4px; padding: 6px; }
  .oh-reel { gap: 4px; }
  .oh-cell { border-radius: 6px; }
  .oh-card { width: 62px; height: 88px; }
  .oh-card__s { font-size: 1.6rem; }
  .oh-mini-dl { grid-template-columns: minmax(0, 1fr); }
  .oh-sec { margin: 44px 0; }
  .oh-pay { font-size: .82rem; }
  .oh-pay th, .oh-pay td { padding: 7px 5px; }
  .oh-pay tbody th img { width: 28px; height: 28px; margin-right: 6px; }
  .oh-veil__grid { grid-template-columns: minmax(0, 1fr); }
  .oh-controls .oh-btn--ghost:not(.oh-btn--sm) { flex: 1 1 40%; }
}

/* plain pages (Night Sky): no casino notices */
.oh-foot--plain .oh-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .oh-foot--plain .oh-foot__grid { grid-template-columns: minmax(0, 1fr); } }
