/* hazeljs-examples: what the oracles' pages share, beside style.css (the Petri example's, for Hazel's listings) */
main.oracle { max-width: 1500px; }
.app-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.app-head h1 { margin: 0; }
.app-links { color: var(--muted); font-size: 0.92em; }
.app-foot { color: var(--muted); font-size: 0.88em; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 10px; }
/* (Matthew, 2026-11-15, ^ticket(737): "I'd prefer the code on the LHS in double-column mode. In single column mode, it makes sense
   for the UI to come first, then the hazel code below it.") The reading comes first in the page, so one column shows it first;
   two columns place the code on the left and the reading on the right, which stays in view (scrolling inside itself when it is
   taller than the window) while the code scrolls past. */
/* (^ticket(739)) a divider between them, dragged to share the width: --split is the code column's width, set by shared/divider.js */
.oracle-grid { display: grid; grid-template-columns: minmax(0, var(--split, 1.25fr)) 14px minmax(300px, 1fr); grid-template-areas: "code split ui"; column-gap: 6px; row-gap: 24px; align-items: start; margin-top: 16px; }
.oracle-divider { grid-area: split; align-self: stretch; display: flex; justify-content: center; align-items: flex-start; cursor: col-resize; touch-action: none; border-radius: 4px; }
.oracle-divider::before { content: ""; position: sticky; top: 45vh; margin-top: 48px; width: 5px; height: 56px; border-radius: 3px; background: var(--cx); }
.oracle-divider:hover::before, .oracle-divider:focus-visible::before, .oracle-divider.drag::before { background: var(--accent); height: 96px; }
.oracle-divider:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
html.dragging-split, html.dragging-split * { cursor: col-resize !important; user-select: none; -webkit-user-select: none; }
html.dragging-split iframe { pointer-events: none; }  /* (a frame under the pointer would take its moves) */
.oracle-ui { grid-area: ui; position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; min-width: 0; }
.oracle-code { grid-area: code; min-width: 0; }
@media (max-width: 900px) {
  .oracle-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ui" "code"; }
  .oracle-divider { display: none; }
  .oracle-ui { position: static; max-height: none; overflow: visible; }
}
.controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.controls button { font: inherit; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.controls button.primary { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--paper)); font-weight: 600; }
.controls button:disabled { opacity: 0.5; cursor: default; }
.method { border: 1px solid var(--line); border-radius: 8px; padding: 2px 10px 6px; margin: 0; }
.method legend { font-size: 0.85em; color: var(--muted); padding: 0 4px; }
.method label { margin-right: 10px; white-space: nowrap; }
.status { margin: 10px 0; padding: 6px 10px; border-radius: 6px; font-size: 0.92em; border-left: 3px solid var(--line); }
.status.ok { border-color: var(--good); background: color-mix(in srgb, var(--good) 8%, transparent); }
.status.no { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 8%, transparent); }
.status.wait { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 8%, transparent); }
.eng { font: 0.78em ui-monospace, monospace; padding: 1px 6px; border-radius: 9px; border: 1px solid var(--line); white-space: nowrap; }
.eng.hazel, .eng.compiled { border-color: var(--accent); color: var(--accent); }
.eng.compiled { border-style: double; border-width: 3px; }
.eng.js { border-color: var(--warn); color: var(--warn); }
.ed { margin-top: 14px; }
.ed-head { font-size: 0.92em; margin-bottom: 4px; }
.nojs { display: block; }
body.js .nojs { display: none; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fresh { animation: arrive 0.5s ease-out; }

/* the I Ching: a hexagram is six lines, the first at the bottom */
.hexes { display: flex; gap: 28px; flex-wrap: wrap; margin: 16px 0 8px; }
.hex { margin: 0; }
.hex figcaption { margin-top: 8px; font-size: 0.95em; max-width: 220px; }
.hex-lines { display: flex; flex-direction: column-reverse; gap: 10px; width: 200px; }
.hl { position: relative; display: flex; gap: 22px; height: 18px; }
.hl .bar { flex: 1; background: var(--ink); border-radius: 2px; }
.hl.yang .bar + .bar { display: none; }
.hl.empty { border: 1px dashed var(--cx); border-radius: 2px; }
.hl.old .bar { background: var(--accent); }
.hl .mark { position: absolute; right: -24px; top: -4px; color: var(--accent); font-weight: 700; }
.relating .hl .bar { background: var(--muted); }
.casts { padding-left: 1.4em; margin: 10px 0; }
.casts li { margin: 4px 0; }
.verdict { font-size: 1.02em; }

/* the series' front page */
.series { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 20px 0; }
.series a.series-card { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); text-decoration: none; }
.series a.series-card:hover { border-color: var(--accent); }
.series .series-card h2, .series .series-card h3 { margin: 6px 0; font-size: 1.25em; }
.toc { margin: 4px 0 8px; }
h2[id] { scroll-margin-top: 12px; }
.series .series-card svg { display: block; height: 92px; }
/* (0.0.14, Matthew: "please center the thumbnails, and make the width of each in this form bigger") */
.series .series-card img.thumb { display: block; height: 168px; width: auto; margin: 4px auto 14px; }
.series .series-card.soon { opacity: 0.7; padding: 16px; border: 1px dashed var(--line); border-radius: 12px; }

/* the Tarot: a table of cards, each in its place in the spread */
.table { display: grid; gap: 12px; margin: 16px 0; justify-content: start; overflow-x: auto; padding: 4px 4px 2.2em; }
.table.One { grid-template-areas: "p1"; }
.table.Three { grid-template-areas: "p1 p2 p3"; }
.table.CelticCross { grid-template-areas: ". p5 . . p10" "p4 p1 p6 . p9" ". p3 . . p8" ". . . . p7"; }
.table.CelticCross { column-gap: 44px; }
/* the second card lies across the first; turned sideways it is wider than its column, so the columns keep room for it */
.table.CelticCross .card:nth-child(2) { grid-area: p1 !important; transform: rotate(90deg); z-index: 1; }
.table.CelticCross .card:nth-child(2) .where { display: none; }
.table .card { position: relative; width: var(--cw, 104px); height: var(--ch, 168px); padding: 0; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; font: inherit; }
.table .card .back { height: 100%; display: grid; place-items: center; font-size: 2em; color: var(--accent); border-radius: 9px;
  background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--accent) 14%, transparent) 0 6px, transparent 6px 12px); }
.table .card .where { position: absolute; left: -4px; right: -4px; top: 100%; margin-top: 3px; font-size: 0.72em; line-height: 1.15; color: var(--muted); }
.table { row-gap: 2.8em; }
.table .card.up { cursor: default; }
.table .card.rev .face { transform: rotate(180deg); }
/* (0.0.14) the woodcut faces (tarot/woodcut, a submodule): each card's SVG has its own paper, border and caption, at 250 by 430 */
.table.wood .card { --ch: calc(var(--cw, 104px) * 1.72); border-color: transparent; background: transparent; }
.table.wood .card .face.wood, .table.wood .card .back.wood { padding: 0; display: block; height: 100%; background: none; }
.face.wood img, .back.wood img { display: block; width: 100%; height: 100%; object-fit: contain; }
.faces-credit { font-size: 0.85em; }
.face { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 8px 4px; box-sizing: border-box; }
.face .num { font-weight: 700; font-size: 0.9em; }
.face .big { font-size: 2.2em; color: var(--accent); }
.face .nm { font-size: 0.72em; text-align: center; line-height: 1.15; }
.face .pips { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 2px 6px; flex: 1; font-size: 1.15em; }
.face.wands .pips, .face.wands .big { color: #b45309; }
.face.cups .pips, .face.cups .big { color: #1d4ed8; }
.face.swords .pips, .face.swords .big { color: var(--muted); }
.face.pentacles .pips, .face.pentacles .big { color: #15803d; }
.read li { margin: 4px 0; }
.read li.dealt-by { list-style: none; margin-top: 8px; }

.outlink { margin: 6px 0 12px; padding: 8px 10px; border: 1px dashed var(--cx); border-radius: 8px; font-size: 0.92em; }
.outlink a { font-weight: 600; margin-right: 4px; }

/* the history panel (shared/history.js) */
.reading-head { margin: 14px 0 4px; font-size: 1.1em; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.reading-head.past { color: var(--accent); }
.reading-head button { font: inherit; font-size: 0.8em; padding: 2px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.history { margin: 18px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.history > summary { cursor: pointer; padding: 8px 12px; font-weight: 600; }
.history-body { padding: 0 12px 10px; }
.history-list { list-style: none; margin: 0; padding: 0; max-height: 50vh; overflow: auto; }
.history-list > li { border-top: 1px solid var(--line); }
.history-list > li.open { background: color-mix(in srgb, var(--accent) 10%, transparent); }
/* (0.0.16) each reading's row: open it, its emoji, a note, forget it; under it, the emoji's choices, its notes, a note being written */
.history-row { display: flex; gap: 2px; align-items: stretch; }
.history-emoji, .history-note-add { background: none; border: 0; cursor: pointer; padding: 0 5px; font-size: 1.05em; color: var(--ink); }
.history-emoji.none { color: var(--muted); opacity: 0.55; }
.history-note-add { opacity: 0.55; }
.history-emoji:hover, .history-emoji:focus-visible, .history-note-add:hover, .history-note-add:focus-visible { opacity: 1; }
.history-picker { display: flex; flex-wrap: wrap; gap: 2px; padding: 0 4px 6px; }
.history-pick { font: inherit; font-size: 1.1em; line-height: 1.3; background: none; border: 1px solid transparent; border-radius: 6px; cursor: pointer; padding: 0 4px; color: var(--ink); }
.history-pick:hover, .history-pick.on { border-color: var(--accent); }
.history-pick.off { font-size: 0.8em; color: var(--muted); }
.history-notes { list-style: none; margin: 0 0 6px 12px; padding: 0 4px 0 10px; border-left: 2px solid var(--line); }
.history-notes > li { padding: 3px 0; max-width: none; }
.history-notes .history-when { font-size: 0.78em; }
.history-n-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.9em; }
.history-n-hidden { font-size: 0.8em; font-style: italic; }
.history-n-tools button { font: inherit; font-size: 0.76em; background: none; border: 0; color: var(--link); cursor: pointer; padding: 0 4px; }
.history-compose { padding: 2px 4px 8px 12px; }
.history-compose textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 0.92em; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); resize: vertical; }
.history-compose textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.history-compose-btns { display: flex; gap: 6px; margin-top: 4px; }
.history-compose-btns button { font: inherit; font-size: 0.85em; padding: 2px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.history-compose-btns button.primary { border-color: var(--accent); font-weight: 600; }
.history-open { flex: 1; text-align: left; font: inherit; background: none; border: 0; color: var(--ink); padding: 6px 4px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.history-open:hover .history-what { text-decoration: underline; }
.history-when { font-size: 0.8em; color: var(--muted); }
.history-what { font-size: 0.92em; }
.history-x { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0 8px; }
.history-x:hover { color: var(--bad); }
.history-note { font-size: 0.85em; margin: 8px 0 0; }
.history-clear { font: inherit; font-size: 0.85em; margin-left: 6px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; }

/* the other spreads' shapes (layoutOf in tarot/app.js: the spread's kind, and nN for its number of cards) */
.table.Relationship { grid-template-areas: "p1 p3 p2" "p4 p6 p5"; }
.table.Choice.n7 { grid-template-areas: ". p1 ." "p2 . p5" "p3 . p6" "p4 . p7"; column-gap: 28px; }
.table.Choice.n10 { grid-template-areas: ". p1 ." "p2 p5 p8" "p3 p6 p9" "p4 p7 p10"; }
/* the year ahead, a ring of months from the top left, clockwise; the year's own card, when there is one, in the middle */
.table.YearAhead.n12 { grid-template-areas: "p1 p2 p3 p4" "p12 . . p5" "p11 . . p6" "p10 p9 p8 p7"; }
.table.YearAhead.n13 { grid-template-areas: "p2 p3 p4 p5" "p13 p1 p1 p6" "p12 p1 p1 p7" "p11 p10 p9 p8"; }
.table.YearAhead.n13 .card:first-child { justify-self: center; align-self: center; }
.spread-use { margin: 8px 0 0; font-size: 0.92em; }
.controls select { font: inherit; max-width: 100%; }

/* (^ticket(737)) on a phone: smaller cards, so the year ahead's ring and the Celtic Cross fit across a 375-wide screen; the
   Celtic Cross loses the empty column between the cross and the staff (the turned card needs 22px either side, so the columns
   keep that gap) */
@media (max-width: 560px) {
  .table { --cw: 68px; --ch: 110px; row-gap: 3.4em; }
  .table .card .back { font-size: 1.4em; }
  .face { padding: 5px 2px; }
  .face .big { font-size: 1.5em; }
  .face .num { font-size: 0.75em; }
  .face .nm { font-size: 0.6em; }
  .face .pips { font-size: 0.8em; gap: 1px 3px; }
  .table.CelticCross { grid-template-areas: ". p5 . p10" "p4 p1 p6 p9" ". p3 . p8" ". . . p7"; column-gap: 22px; padding-left: 2px; padding-right: 2px; }
  .table.Choice.n7 { column-gap: 12px; }
}

/* each turned card's meaning on other sites (^ticket(738)) */
.read .meanings { display: block; font-size: 0.88em; margin-top: 2px; }
.read .meanings a { white-space: nowrap; }
.read li.meanings-note { list-style: none; font-size: 0.82em; margin-top: 6px; }

/* (ticket 745) the I Ching's question, asked before the lines are cast, shown under the reading's heading */
.question-label { display: block; font-weight: 600; margin: 4px 0 4px; }
.question { width: 100%; box-sizing: border-box; font: inherit; padding: 8px 10px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); }
.question:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.question[readonly] { background: color-mix(in srgb, var(--line) 35%, var(--paper)); }
.reading-q { margin: 0 0 6px; font-style: italic; color: var(--muted); }

/* (ticket 768) astrology: the birth's form, the wheel, the notes */
.astro-form { display: flex; flex-direction: column; gap: 8px; }
.astro-form .method label { display: inline-block; margin: 2px 10px 2px 0; }
.astro-form input, .astro-form select { font: inherit; padding: 3px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); max-width: 100%; }
.astro-form input[type="number"] { width: 7.5em; }
.astro-form input[type="checkbox"] { padding: 0; }
.wheel-fig { margin: 12px 0; }
.wheel { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; }
.wheel .ring { fill: none; stroke: var(--ink); stroke-width: 0.3; }
.wheel .ring.faint { stroke: var(--cx); stroke-dasharray: 0.8 0.8; }
.wheel .cusp { stroke: var(--muted); stroke-width: 0.25; }
.wheel .axis { stroke: var(--ink); stroke-width: 0.45; }
.wheel .axis-name { font: 600 3.2px ui-sans-serif, system-ui, sans-serif; fill: var(--muted); }
/* (Matthew 2026-11-21: "can we label the houses by number and label?") each house's number and word, on a halo over the aspect lines */
.wheel .house text { paint-order: stroke; stroke: var(--bg, #fff); stroke-width: 0.7px; stroke-linejoin: round; }
.wheel .house-num { font: 700 2.7px ui-sans-serif, system-ui, sans-serif; fill: var(--ink); }
.wheel .house-word { font: 500 2px ui-sans-serif, system-ui, sans-serif; fill: var(--muted); }
.wheel .house.hot .house-num, .wheel .house.hot .house-word { fill: var(--accent); }
.wheel .aspect { stroke-width: 0.35; opacity: 0.85; }
.wheel .aspect.soft { stroke: var(--link); }
.wheel .aspect.hard { stroke: var(--bad); }
.wheel .sign.fire { color: #c2410c; } .wheel .sign.earth { color: #4d7c0f; }
.wheel .sign.air { color: #0e7490; } .wheel .sign.water { color: #4338ca; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wheel .sign.fire { color: #fb923c; } :root:not([data-theme="light"]) .wheel .sign.earth { color: #a3e635; }
  :root:not([data-theme="light"]) .wheel .sign.air { color: #67e8f9; } :root:not([data-theme="light"]) .wheel .sign.water { color: #a5b4fc; } }
.wheel .body.natal { color: var(--ink); }
.wheel .body.today { color: var(--accent); }
/* (0.0.19) the hover: what the pointer meets (a disc under each glyph, a wide twin of each line), the element lit, its tooltip,
   and the notes it lights */
.wheel .hit { fill: transparent; pointer-events: all; }
.wheel .hit-line { stroke: transparent; stroke-width: 2.6; pointer-events: stroke; }
.wheel use { pointer-events: none; }
.wheel [data-k] { cursor: help; }
.wheel g.hot line.cusp, .wheel g.hot line.axis { stroke: var(--accent); stroke-width: 0.8; }
.wheel g.hot line.aspect { stroke-width: 0.9; opacity: 1; }
.wheel g.hot .hit { fill: color-mix(in srgb, var(--accent) 28%, transparent); stroke: var(--accent); stroke-width: 0.35; }
.wheel-fig { position: relative; }
.wheel-tip { position: absolute; z-index: 5; max-width: 270px; padding: 7px 10px; border-radius: 8px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28); font-size: 0.86em; line-height: 1.4; pointer-events: none; }
.wheel-tip b { display: block; margin-bottom: 2px; }
/* (0.0.21) a sign's constellation in its tooltip, in the sign's element color, with a line on what it is */
.wheel-tip { max-width: 290px; }
.wheel-tip .tip-figure { display: block; margin: 4px 0 6px; text-align: center; }
.wheel-tip .tip-con { display: block; margin: 0 auto; }
.wheel-tip .tip-con.fire { color: #c2410c; } .wheel-tip .tip-con.earth { color: #4d7c0f; } .wheel-tip .tip-con.air { color: #0e7490; } .wheel-tip .tip-con.water { color: #4338ca; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wheel-tip .tip-con.fire { color: #fb923c; } :root:not([data-theme="light"]) .wheel-tip .tip-con.earth { color: #a3e635; }
  :root:not([data-theme="light"]) .wheel-tip .tip-con.air { color: #67e8f9; } :root:not([data-theme="light"]) .wheel-tip .tip-con.water { color: #a5b4fc; } }
.wheel-tip .tip-cap { display: block; color: var(--muted); font-size: 0.86em; margin-top: 3px; text-align: left; }
.wheel-tip[hidden] { display: none; }
.notes .note { border-radius: 6px; transition: background-color 0.15s, box-shadow 0.15s; }
/* (0.0.20) a note lights the wheel too: a transit it names drawn from today's body to the birth's */
.wheel .transit-line { stroke: var(--accent); stroke-width: 0.6; stroke-dasharray: 1.4 1; pointer-events: none; }
.note-glyph[data-k] { cursor: help; }
.notes .note.lit { background: color-mix(in srgb, var(--accent) 13%, transparent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 13%, transparent), -5px 0 0 2px var(--accent); }
.wheel-fig figcaption { font-size: 0.88em; margin-top: 6px; }
.notes .note-group h3 { margin: 18px 0 6px; font-size: 0.95em; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.notes .note { margin: 0 0 14px; }
/* (0.0.18) a note: its heading, the chart's facts in the reading's fixed form, quiet, with the wheel's glyphs; its words, emphasized */
.notes .note-head { display: block; color: var(--muted); font-size: 0.9em; font-weight: 400; margin-bottom: 2px; }
.notes .note-text { display: block; color: var(--ink); font-size: 1.04em; font-weight: 500; line-height: 1.5; }
.note-glyph { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.22em; margin: 0 0.18em 0 0.08em; }
.note-glyph.body.natal { color: var(--ink); } .note-glyph.body.today { color: var(--accent); }
.note-glyph.sign.fire { color: #c2410c; } .note-glyph.sign.earth { color: #4d7c0f; } .note-glyph.sign.air { color: #0e7490; } .note-glyph.sign.water { color: #4338ca; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .note-glyph.sign.fire { color: #fb923c; } :root:not([data-theme="light"]) .note-glyph.sign.earth { color: #a3e635; }
  :root:not([data-theme="light"]) .note-glyph.sign.air { color: #67e8f9; } :root:not([data-theme="light"]) .note-glyph.sign.water { color: #a5b4fc; } }
.note-glyph.aspect.soft { color: var(--link); } .note-glyph.aspect.hard { color: var(--bad); } .note-glyph.aspect { color: var(--ink); }
.notes .reading-foot { font-size: 0.85em; }
.astro-form .app-birth { margin: 0; font-size: 0.88em; }
/* (0.0.22) births saved under names: the picker, the name, Save and Delete (Delete asks once more, in place); (0.0.23) Now, for today's sky */
.astro-form .saved-charts input[type="text"] { width: 11em; }
.astro-form .form-buttons { display: inline-flex; gap: 6px; margin: 2px 10px 2px 0; vertical-align: middle; }
.astro-form .form-buttons button { font: inherit; padding: 3px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.astro-form .form-buttons button:hover, .astro-form .form-buttons button:focus-visible { border-color: var(--accent); }
.astro-form .form-buttons button:disabled { opacity: 0.5; cursor: default; }
.astro-form .form-buttons button.armed { border-color: var(--bad); color: var(--bad); }
.astro-form .cstate { display: inline-block; font-size: 0.85em; }
.astro-form .cstate.changed { color: var(--warn); }

/* (0.0.16; Matthew, 2026-11-18: "for each ancient oracle app, in two-column mode, let's provide a full screen button at the top
   of the main interactive elements -- in this mode, we ignore the Hazel listings and only show the main components, organized
   into the geometry of the full browser window.") Full screen (shared/fullscreen.js): html.oracle-fs hides all but the
   reading's column, which fills the window as a grid: the controls in a column on the left, the oracle's picture in the
   middle as large as the window allows, and the words on the right, each column scrolling on its own. */
.fs-bar { display: flex; justify-content: flex-end; margin: 0 0 4px; }
.fs-button { font: inherit; font-size: 0.85em; padding: 3px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.fs-button:hover, .fs-button:focus-visible { border-color: var(--accent); }
/* (0.0.57; Matthew, 2026-11-22: "let's make the link back to the 'main menu' of hazeljs activities easier to find, even in
   fullscreen mode"; "can we use the hazel nut icon instead of that home emoji?") Hazel's hazelnut and Activities beside ⛶ Full
   screen in every mode (fullscreen.js), larger in full screen, for a finger; and the page head's link home a button with the
   hazelnut (shared/hazelnut.svg, Hazel's own, as a mask in a hazelnut brown) */
.hz-nut { display: inline-block; width: 1.25em; height: 1.25em; margin-right: 0.35em; vertical-align: -0.28em; background: #b97a3c;
  -webkit-mask: url(hazelnut.svg) center / contain no-repeat; mask: url(hazelnut.svg) center / contain no-repeat; }
.fs-bar { gap: 8px; align-items: center; }
.fs-home { font-size: 0.85em; padding: 3px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  text-decoration: none; white-space: nowrap; font-weight: 600; }
.fs-home:hover, .fs-home:focus-visible { border-color: var(--accent); }
html.oracle-fs .fs-home { font-size: 1.05em; padding: 6px 14px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); }
.app-links > a:first-child { display: inline-block; padding: 2px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); font-weight: 600; text-decoration: none; }
.app-links > a:first-child::before { content: ""; display: inline-block; width: 1.2em; height: 1.2em; margin-right: 0.3em; vertical-align: -0.25em;
  background: #b97a3c; -webkit-mask: url(hazelnut.svg) center / contain no-repeat; mask: url(hazelnut.svg) center / contain no-repeat; }
.app-links > a:first-child:hover, .app-links > a:first-child:focus-visible { border-color: var(--accent); }
/* (0.0.48; Matthew, 2026-11-22: "let's offer full screen for every activity in single column mode") the button in one column too:
   it was shown only in two-column mode; full screen in one column is laid out below ("a window narrower than two columns") */
html.oracle-fs, html.oracle-fs body { height: 100%; overflow: hidden; }
html.oracle-fs main.oracle { max-width: none; margin: 0; padding: 0; }
html.oracle-fs main.oracle > :not(.oracle-grid), html.oracle-fs .oracle-code, html.oracle-fs .oracle-divider { display: none !important; }
html.oracle-fs .oracle-grid { display: block; margin: 0; }
html.oracle-fs .oracle-ui { position: fixed; inset: 0; z-index: 50; max-height: none; overflow: hidden; background: var(--bg); padding: 14px 20px;
  display: grid; column-gap: 26px; align-items: start; }
html.oracle-fs .oracle-ui > * { min-width: 0; }
html.oracle-fs .fs-bar { position: absolute; top: 10px; right: 14px; z-index: 2; margin: 0; }
html.oracle-fs .oracle-ui .nojs { display: none; }
/* (0.0.24) the one button that casts a whole reading, in the picture's place, while none is cast */
.fs-cast[hidden], html:not(.oracle-fs) .fs-cast { display: none; }
html.oracle-fs .fs-cast { font-size: 1.45em; padding: 0.85em 1.9em; border-radius: 14px; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22); white-space: nowrap; }
html.oracle-fs .oracle-ui > .fs-cast { grid-column: 2; grid-row: 1; align-self: center; justify-self: center; z-index: 2; }
html.oracle-fs .fs-cast-at { position: relative; }
html.oracle-fs .fs-cast-in { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; }
html.oracle-fs .oracle-ui .status { margin: 8px 0; }
html.oracle-fs .reading-head { margin-top: 6px; }
/* the two dividers (shared/fullscreen.js), each in the gap beside the picture, placed by the script */
.fs-divider { display: none; }
html.oracle-fs .fs-divider { display: flex; position: fixed; top: 0; bottom: 0; width: 14px; transform: translateX(-50%); z-index: 3;
  align-items: center; justify-content: center; cursor: col-resize; touch-action: none; border-radius: 4px; }
html.oracle-fs .fs-divider::before { content: ""; width: 5px; height: 56px; border-radius: 3px; background: var(--cx); }
html.oracle-fs .fs-divider:hover::before, html.oracle-fs .fs-divider:focus-visible::before, html.oracle-fs .fs-divider.drag::before { background: var(--accent); height: 96px; }
html.oracle-fs .fs-divider:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* (0.0.18) the left column's parts, gathered by shared/fullscreen.js into .fs-left, which scrolls on its own: as rows of the
   grid they were squeezed together when the window was shorter than they are tall (Matthew's laptop, at high zoom) */
html.oracle-fs .oracle-ui { grid-template-rows: minmax(0, 1fr); }
html.oracle-fs .fs-left { grid-column: 1; grid-row: 1 / -1; align-self: stretch; overflow-y: auto; min-height: 0; padding-right: 2px; }
html.oracle-fs .fs-left > * { max-width: 100%; }
/* a fieldset is never narrower than its contents unless told: the place's latitude, longitude and zone ran past the column */
.astro-form fieldset { min-width: 0; }
.astro-form select { max-width: 100%; }
/* (a label and its control wrap within the fieldset: the time zones' menu is as wide as its longest zone) */
.astro-form .method label { max-width: 100%; }
.astro-form #elsewhere label { white-space: normal; }

/* astrology: the form on the left, the wheel in the middle as tall as the window, the notes on the right */
/* (the wheel's column as wide as the window is tall, at most half its width, and narrower before the sides go under their least) */
html.oracle-fs .astro-ui { grid-template-columns: var(--fs-cols, minmax(240px, 1fr) minmax(0, min(calc(100vh - 28px), 50vw)) minmax(260px, 1fr)); }
html.oracle-fs .astro-ui > .wheel-fig { grid-column: 2; grid-row: 1; align-self: stretch; margin: 0; display: flex; flex-direction: column; justify-content: center; min-height: 0; }
html.oracle-fs .astro-ui > .wheel-fig[hidden] { display: none; }
html.oracle-fs .astro-ui .wheel { max-width: none; width: 100%; height: auto; max-height: calc(100vh - 70px); }
html.oracle-fs .astro-ui > .notes { grid-column: 3; grid-row: 1; align-self: stretch; overflow-y: auto; min-height: 0; padding: 34px 4px 0 0; }
html.oracle-fs .astro-ui > .notes .note-group:first-child h3 { margin-top: 0; }
/* (0.0.20) birth and today side by side: the toggle, in full screen only; with it on, the form, the status and the history put
   away, the birth's heading and when and where at the top of the left column, the birth's notes under them */
.split-toggle { display: none; }
html.oracle-fs .split-toggle { display: inline-block; font: inherit; font-size: 0.85em; padding: 3px 10px; margin: 0 0 8px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
html.oracle-fs .split-toggle[aria-pressed="true"] { border-color: var(--accent); }
.notes-birth { display: none; }
html.astro-split .notes-birth { display: block; margin-top: 10px; }
html.astro-split .notes-birth .note-group h3 { margin-top: 6px; }
html.astro-split .astro-form, html.astro-split .astro-ui #status, html.astro-split .astro-ui #history { display: none; }
html.astro-split .astro-ui #reading-head { margin-top: 0; }

/* the I Ching: the question and the casting on the left, the hexagrams large in the middle, the verdict and the lines cast on the right */
html.oracle-fs .iching-ui { grid-template-columns: var(--fs-cols, minmax(280px, 1fr) minmax(0, 2.6fr)); }
html.oracle-fs .iching-ui > .reading { grid-column: 2; grid-row: 1; align-self: stretch; min-height: 0; display: grid; column-gap: 26px;
  grid-template-columns: var(--fs-cols-in, minmax(0, 1.5fr) minmax(280px, 1fr)); grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "hexes verdict" "hexes outlink" "hexes casts"; }
/* (the two hexagrams side by side, never wrapping: at a narrow window they stacked past the top and bottom) */
html.oracle-fs .iching-ui .hexes { grid-area: hexes; align-self: center; justify-content: center; flex-wrap: nowrap; gap: 3.5vw; margin: 0; min-width: 0; }
html.oracle-fs .iching-ui .hex-lines { width: min(13vw, 30vh); gap: 2.2vh; }
html.oracle-fs .iching-ui .hl { height: 4vh; gap: min(2.2vw, 4.4vh); }
html.oracle-fs .iching-ui .hl .mark { right: -1.6em; top: 0; font-size: 1.5em; line-height: 4vh; }
html.oracle-fs .iching-ui .hex figcaption { max-width: min(13vw, 30vh); font-size: 1.05em; }
html.oracle-fs .iching-ui .outlink { grid-area: outlink; margin: 4px 0 10px; }
html.oracle-fs .iching-ui .verdict { grid-area: verdict; margin: 34px 0 6px; font-size: 1.1em; }
html.oracle-fs .iching-ui .casts { grid-area: casts; align-self: stretch; overflow-y: auto; margin: 0; }

/* the Tarot: the spread's choices on the left, the table of cards in the middle, as large as its shape allows, the woodcut
   credit under it, the cards' words on the right */
html.oracle-fs .tarot-ui { grid-template-columns: var(--fs-cols, minmax(260px, 0.9fr) minmax(0, 3fr) minmax(280px, 1fr)); grid-template-rows: minmax(0, 1fr) auto; }
html.oracle-fs .tarot-ui > .table { grid-column: 2; grid-row: 1; align-self: stretch; min-height: 0; margin: 0; align-content: center; justify-content: center;
  overflow: auto; --cw: min(11vh, 8vw); --ch: calc(var(--cw) * 1.62); font-size: calc(var(--cw) / 6.5); }
html.oracle-fs .tarot-ui > .table.One { --cw: min(30vh, 18vw); }
html.oracle-fs .tarot-ui > .table.Three { --cw: min(28vh, 13vw); }
html.oracle-fs .tarot-ui > .table.Relationship { --cw: min(17vh, 12vw); }
html.oracle-fs .tarot-ui > .table.YearAhead { --cw: min(10vh, 9vw); }
html.oracle-fs .tarot-ui > .read { grid-column: 3; grid-row: 1 / -1; align-self: stretch; min-height: 0; overflow-y: auto; margin: 34px 0 0; padding-left: 1.4em; }
html.oracle-fs .tarot-ui > .faces-credit { grid-column: 2; grid-row: 2; margin: 6px 0 0; text-align: center; max-width: none; }

/* full screen in a window narrower than two columns (made narrow after the button was pressed): one column, scrolling, no dividers */
@media (max-width: 900px) {
  html.oracle-fs .oracle-ui { display: block; overflow-y: auto; }
  /* (0.0.48) one column from the start too, now the button shows there: ✕ Leave full screen at the top; the parts in a column,
     each its own height; the big button within the width; and in a game (the opponents, the one-player games), the board or
     table first, as large as the window lets it be, its controls and status under it. An oracle keeps its question and its
     controls first: they are filled in before the cast. */
  html.oracle-fs .oracle-ui { display: flex; flex-direction: column; }
  html.oracle-fs .oracle-ui > * { flex: none; }
  html.oracle-fs .oracle-ui > .fs-bar { order: -1; align-self: flex-end; margin: 0 0 6px; }
  html.oracle-fs .oracle-ui > .fs-cast:not([hidden]) { max-width: 100%; box-sizing: border-box; white-space: normal; }
  html.oracle-fs :is(.go-ui, .ck-ui, .mj-ui, .ms-ui, .pb-ui, .dh-ui, .bk-ui, .sn-ui, .tr-ui, .sw-ui, .cp-ui, .dg-ui, .solitaire-ui, .sweeper-ui) > .fs-left { order: 10; margin-top: 10px; }
  html.oracle-fs .oracle-ui .reading { display: block; }
  html.oracle-fs .fs-left { overflow: visible; }
  html.oracle-fs .fs-divider { display: none; }
  html.oracle-fs .fs-bar { position: static; }
  html.oracle-fs .oracle-ui > .fs-cast:not([hidden]) { display: block; margin: 12px auto; }
  html.oracle-fs .astro-ui .wheel { max-height: none; }
}

/* (0.0.24) ⚙️ Advanced, 📲 use it with no connection */
.advanced .offline-status { margin: 4px 0 6px; }
.advanced .offline-steps { margin: 8px 0; }
.advanced .offline-steps ol { margin: 4px 0 0; padding-left: 1.5em; }
.advanced .offline-steps li { margin: 2px 0; }
.advanced .offline-extra { margin: 8px 0; }
.advanced .offline-others > summary { cursor: pointer; color: var(--muted); margin: 6px 0; }

/* (0.0.27; M, on a tablet: "in FS mode, landscape, we want to hide the LHS by default, with some little icon to reveal it")
   In full screen on a landscape screen, the left column (the controls) is hidden until ☰ shows it (fullscreen.js), and the
   picture takes its room. */
.fs-left-toggle, .fs-tools { display: none; }
@media (orientation: landscape) and (min-width: 901px) {
  html.oracle-fs .fs-left-toggle { display: flex; position: absolute; top: 10px; left: 12px; z-index: 4; width: 36px; height: 36px; padding: 0;
    align-items: center; justify-content: center; font-size: 19px; line-height: 1; border-radius: 9px; }
  html.oracle-fs .fs-left-toggle[aria-pressed="true"] { border-color: var(--accent); }
  html.oracle-fs:not(.fs-left-hidden) .oracle-ui { padding-top: 52px; }
  html.oracle-fs.fs-left-hidden .oracle-ui { padding-left: 58px; }
  html.oracle-fs.fs-left-hidden .fs-left, html.oracle-fs.fs-left-hidden .fs-divider.left { display: none !important; }
  /* (an app's own buttons under ☰ while the left column is hidden: Solitaire's 💡 hint) */
  html.oracle-fs.fs-left-hidden .fs-tools { display: flex; flex-direction: column; gap: 8px; position: absolute; top: 56px; left: 12px; z-index: 4; }
  html.oracle-fs .fs-tool { width: 36px; height: 36px; padding: 0; display: flex; align-items: center; justify-content: center; font-size: 19px; line-height: 1;
    border-radius: 9px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
  html.oracle-fs .fs-tool:hover, html.oracle-fs .fs-tool:focus-visible { border-color: var(--accent); }
  html.oracle-fs .fs-tool:disabled { opacity: 0.4; cursor: default; }
  html.oracle-fs.fs-left-hidden .astro-ui { grid-template-columns: 0 minmax(0, 1.4fr) minmax(260px, 1fr) !important; }
  html.oracle-fs.fs-left-hidden .iching-ui { grid-template-columns: 0 minmax(0, 1fr) !important; }
  html.oracle-fs.fs-left-hidden .tarot-ui { grid-template-columns: 0 minmax(0, 3fr) minmax(280px, 1fr) !important; }
  html.oracle-fs.fs-left-hidden .solitaire-ui, html.oracle-fs.fs-left-hidden .sweeper-ui { grid-template-columns: 0 minmax(0, 1fr) !important; }
  html.oracle-fs.fs-left-hidden .go-ui, html.oracle-fs.fs-left-hidden .ck-ui, html.oracle-fs.fs-left-hidden .mj-ui, html.oracle-fs.fs-left-hidden .ms-ui { grid-template-columns: 0 minmax(0, 1fr) !important; }
  /* (0.0.59; Matthew, a screenshot: "star wave isn't centered in fullscreen mode") the one-player games of 0.0.49 on, as Pinball
     does: with the left column hidden, no track kept for it and no gap after it, and the same room either side, so the field is
     in the middle of the window */
  html.oracle-fs.fs-left-hidden :is(.dh-ui, .bk-ui, .sn-ui, .tr-ui, .sw-ui, .cp-ui, .dg-ui) { grid-template-columns: 0 minmax(0, 1fr) !important; column-gap: 0; padding-left: 20px; padding-right: 20px; }
}

/* (0.0.68; Matthew, 2026-11-22: "let's put the controls and score into a HUD and stretch the game to full height in full screen.
   Same for all examples.") The games in full screen (fullscreen.js, html.fs-hud-on): the field, board or table (.fs-play) fills
   the window, as tall as it is, a canvas as large as its shape allows; over it, at the top left, the heads-up display (.fs-hud):
   ☰, the score and the controls, each on a dark glass; ☰ adds the status and the notes under them. The game's own buttons
   (.fs-pad) at the bottom right, or, on a tall screen, the bottom middle; Activities and ✕ at the top right. */
html.oracle-fs.fs-hud-on .oracle-ui { display: block !important; padding: 0 !important; overflow: hidden !important; }
html.oracle-fs.fs-hud-on .fs-play { position: absolute !important; inset: 0 !important; margin: 0 !important; min-height: 0 !important;
  width: auto !important; height: auto !important; max-width: none !important; max-height: none !important;
  justify-self: stretch !important; align-self: stretch !important; }   /* (an absolute box aligned otherwise shrinks to its contents, none under size containment) */
html.oracle-fs.fs-hud-on .fs-play:is(.fit-canvas, .fit-square) { display: flex !important; align-items: center !important; justify-content: center !important;
  container-type: size !important; }
html.oracle-fs.fs-hud-on .fs-play.fit-canvas > canvas { width: min(100cqw, calc(100cqh * var(--fs-ar, 0.75))) !important; height: auto !important;
  max-width: none !important; max-height: none !important; }
html.oracle-fs.fs-hud-on .fs-play.fit-square > :first-child { width: min(100cqw, calc(100cqh - 12px)) !important; max-width: none !important; flex: none; }
/* (the tables fit themselves, in the room right of the HUD: Solitaire's stock and Mahjong's west seat are at the left) */
html.oracle-fs.fs-hud-on .fs-play.fit-self { left: 270px !important; padding: 8px !important; box-sizing: border-box; overflow: auto !important; }
html.oracle-fs.fs-hud-self .fs-hud { max-width: 250px; }
html.oracle-fs.fs-hud-on .fs-hud { position: absolute; top: 10px; left: 10px; z-index: 6; display: flex; flex-direction: column; align-items: flex-start;
  gap: 6px; max-width: min(440px, max(250px, calc((100vw - 100vh * var(--fs-ar, 0.75)) / 2 - 20px))); max-height: calc(100vh - 20px); pointer-events: none; }
html.oracle-fs.fs-hud-on .fs-hud > * { pointer-events: auto; margin: 0 !important; max-width: 100%; box-sizing: border-box; }
html.oracle-fs.fs-hud-on .fs-hud > :not(.fs-hud-top):not(.fs-tools) { background: rgb(12 15 22 / 0.62); color: #f8fafc; border-radius: 12px;
  padding: 6px 10px; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
html.oracle-fs.fs-hud-on .fs-hud .muted { color: #cbd5e1; }
html.oracle-fs.fs-hud-on .fs-hud-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
html.oracle-fs.fs-hud-on .fs-hud-top > .fs-bar { position: static !important; margin: 0 !important; }
/* (0.0.70; Matthew: "should be a way to hide this HUD") ☰ hides the HUD but itself; ⓘ beside ✕ shows the status and the notes */
html.oracle-fs.fs-hud-on.fs-hud-hidden .fs-hud > :not(.fs-hud-top), html.oracle-fs.fs-hud-on.fs-hud-hidden .fs-hud-top > :not(.fs-left-toggle) { display: none !important; }
html.oracle-fs.fs-hud-on.fs-hud-hidden .fs-hud-top > .fs-left-toggle { opacity: 0.75; }
html.oracle-fs.fs-hud-on .fs-info-toggle { width: 36px; height: 36px; padding: 0; font-size: 19px; line-height: 1; border-radius: 9px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); cursor: pointer; }
html.oracle-fs.fs-hud-on .fs-info-toggle[aria-pressed="true"] { border-color: var(--accent); }
html.oracle-fs.fs-hud-on .fs-hud-top > .fs-left-toggle { display: flex; position: static; width: 40px; height: 40px; padding: 0; align-items: center;
  justify-content: center; font-size: 20px; line-height: 1; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); }
html.oracle-fs.fs-hud-on .fs-hud > .controls { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
html.oracle-fs.fs-hud-on .fs-hud > .fs-left { position: static; overflow-y: auto; min-height: 0; max-height: 50vh; width: min(380px, calc(100vw - 20px)); }
html.oracle-fs.fs-hud-on.fs-left-hidden .fs-hud > .fs-left { display: none !important; }
html.oracle-fs.fs-hud-on .fs-hud > .fs-tools { display: none !important; }   /* (the controls are in the HUD, so ☰'s shortcuts are not needed) */
html.oracle-fs.fs-hud-on .fs-pad { position: absolute !important; right: 12px; bottom: 12px; left: auto; z-index: 6; margin: 0 !important;
  width: min(300px, max(200px, calc((100vw - 100vh * var(--fs-ar, 0.75)) / 2 - 24px))) !important; max-width: none !important; opacity: 0.92; }
html.oracle-fs.fs-hud-on .fs-pad button { background: rgb(12 15 22 / 0.55); color: #f8fafc; border-color: rgb(255 255 255 / 0.25); }
/* (Mahjong: its calls, Pong and the rest, at the right, half way down, clear of your hand; the hand's end in the middle) */
html.oracle-fs.fs-hud-on .mj-ui > .mj-acts.fs-pad { top: 50%; bottom: auto; transform: translateY(-50%); width: min(250px, 30vw) !important; }
html.oracle-fs.fs-hud-on .mj-ui > .mj-end { position: absolute; left: calc(50% + 135px); top: 50%; transform: translate(-50%, -50%); z-index: 6; margin: 0; }
html.oracle-fs.fs-hud-on .oracle-ui > .fs-cast:not([hidden]) { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 6; margin: 0; }
/* (on a tall screen, a phone: the HUD above the field, not over it; the field all the height left; its buttons under it) */
@media (orientation: portrait) {
  html.oracle-fs.fs-hud-on .oracle-ui { display: flex !important; flex-direction: column !important; align-items: stretch !important; }
  html.oracle-fs.fs-hud-on .fs-hud { position: static; order: 0; flex: none; max-width: none; max-height: none; padding: 8px 8px 4px; }
  html.oracle-fs.fs-hud-on .fs-hud > .fs-left { max-height: 38vh; width: auto; }
  html.oracle-fs.fs-hud-on .fs-play { position: relative !important; inset: auto !important; order: 1 !important; flex: 1 1 0 !important; min-height: 0 !important; }
  html.oracle-fs.fs-hud-on .fs-hud { order: 0 !important; }
  html.oracle-fs.fs-hud-on .fs-hud .controls > *, html.oracle-fs.fs-hud-on .fs-hud > .fs-left * { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  html.oracle-fs.fs-hud-on .fs-play.fit-self { left: auto !important; }
  html.oracle-fs.fs-hud-on .fs-pad { position: static !important; order: 2 !important; flex: none !important; transform: none; margin: 6px auto 10px !important; width: min(340px, 86vw) !important; }
  html.oracle-fs.fs-hud-on .mj-ui > .mj-acts.fs-pad { transform: none; }
  html.oracle-fs.fs-hud-on .mj-ui > .mj-end { left: 50%; }
}

/* (0.0.27; Matthew: "messed up dress up also has a feature that pops up when there's a new live version. Can we do that here,
   somehow?") A newer version (shared/offline.js): the card at the top of the window, over full screen too; the 🆕 chip after the
   page's title; ⚙️ Advanced's switch and its pop-up toggle. */
#ask-new { position: fixed; z-index: 2147483600; left: 0; right: 0; top: 14px; margin: 0 auto; width: fit-content; max-width: min(92vw, 440px);
  box-sizing: border-box; text-align: center; background: var(--paper); color: var(--ink); border: 2px solid var(--accent); border-radius: 16px;
  padding: 12px 16px; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35); }
#ask-new p { margin: 0 0 6px; font-weight: 600; }
#ask-new .ask-new-hint { font-weight: 400; color: var(--muted); font-size: 0.85em; margin-bottom: 10px; }
.ask-new-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
#ask-new button, .advanced-newer button, .newer-chip { font: inherit; padding: 6px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); cursor: pointer; }
#ask-new button.primary, .advanced-newer button.primary { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--paper)); font-weight: 600; }
.newer-chip { font-size: 0.85em; padding: 2px 10px; border-radius: 999px; border-color: var(--accent); color: var(--accent); align-self: center; }
.advanced .advanced-newer { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.advanced-newer:empty { display: none; }
.ask-new-toggle[aria-pressed="true"] { border-color: var(--accent); }

/* (0.0.53) ⏸ the pause of the games whose time runs on its own (shared/pause.js): a card over the board while paused */
.pause-host { position: relative; }
.pause-card { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: rgba(10, 12, 24, 0.55); color: #ffffff; border-radius: 14px; cursor: pointer; text-align: center; padding: 12px; -webkit-tap-highlight-color: transparent; }
.pause-card[hidden] { display: none; }
.pause-card b { font-size: 1.8em; }
.pause-card span { font-size: 0.95em; opacity: 0.9; }
.pause-btn { font: inherit; }
