/* The web daily, sized in the app's points: UI pixel 2px, art pixel 3px,
   buddy pixel 2px, big numerals 4px. Four Shades; tiers and ores carry the
   colour. No radius, shadow, blur or gradient. */

@font-face { font-family: "Krilliant Pixel"; src: url("/fonts/KrilliantPixel-Regular.ttf") format("truetype"); font-weight: 400; font-display: block; }
@font-face { font-family: "Krilliant Pixel"; src: url("/fonts/KrilliantPixel-Bold.ttf") format("truetype"); font-weight: 700; font-display: block; }

:root {
  --ink: #16140F; --umber: #4B463A; --stone: #958D78; --bone: #EBE4CF;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: var(--ink); overflow: hidden; overscroll-behavior: none; }
body { font-family: "Krilliant Pixel", monospace; -webkit-font-smoothing: none; font-smooth: never; -webkit-text-size-adjust: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Full-bleed at every size. Past 720px wide play.js adds .wide: the same
   world across the window, the play in the middle (see the end of this
   file). */
.game { --top: env(safe-area-inset-top, 0px); --bottom: env(safe-area-inset-bottom, 0px);
  position: relative; width: 100vw; height: 100dvh; overflow: hidden; background: var(--ink); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.layer { position: absolute; inset: 0; }
#world { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }

/* Body type: Krilliant Pixel on an 8px em at 2px a glyph pixel, upper case. */
.t { font-size: 16px; line-height: 20px; text-transform: uppercase; color: var(--bone); }
.b { font-weight: 700; }
/* Wrapped lines sit 4px apart, as pixelText's lineSpacing; a single line
   stays 20px tall. */
p.t { line-height: 25px; margin: -2.5px 0; }
.ink { color: var(--ink); } .umber { color: var(--umber); } .stone { color: var(--stone); } .bone { color: var(--bone); }
.big { font-size: 24px; line-height: 30px; font-weight: 700; text-transform: uppercase; }
.mid { font-size: 16px; line-height: 20px; font-weight: 700; }

/* Floating panel: ink, a little see-through, hard umber frame. */
.float { background: rgba(22, 20, 15, .86); box-shadow: inset 0 0 0 2px var(--umber); }

/* The start screen: the name in the sky. */
.title { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: var(--top); pointer-events: none; color: var(--ink); }
.title .word { margin-top: 16px; font-size: 32px; line-height: 40px; font-weight: 700; text-transform: uppercase; color: var(--ink); }
.title.live .icons { pointer-events: auto; }
.title .legal { display: flex; gap: 16px; }
.title .legal a { color: var(--umber); text-decoration: none; padding: 4px 0; }
.title.live .legal { pointer-events: auto; }
/* Apple's badge as Apple draws it: not pixelated, not recoloured. */
.title .store { display: block; line-height: 0; margin-top: 2px; }
.title .store img { display: block; width: 120px; height: 40px; }
.title.live .store { pointer-events: auto; }
/* Settings and sound: bone squares with ink icons on a 2px umber base. */
.icons { align-self: stretch; display: flex; align-items: flex-start; gap: 8px; padding: 0 12px; }
.icons .gap { flex: 1; }
.disc { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.disc + .disc { margin-left: -16px; }
.disc canvas { width: 27px; height: 27px; image-rendering: pixelated; }
.disc:active canvas { transform: translateY(2px); }
/* This week, Monday to Sunday, and the coins beside it. */
.week { margin-top: 4px; display: flex; align-items: center; gap: 12px; }
.streak { display: flex; gap: 6px; }
.streak b { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 16px; font-weight: 700; color: var(--umber); box-shadow: inset 0 0 0 2px var(--umber); }
.streak b.done { color: var(--bone); background: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.streak b.today { color: var(--ink); background: var(--bone); box-shadow: inset 0 0 0 2px var(--ink); }
.coins { display: flex; align-items: center; gap: 4px; }
.coins img { image-rendering: pixelated; }

/* Plus as a blimp in the sky between the title and the bubble. */
.blimp { position: absolute; left: 0; display: flex; flex-direction: column; align-items: center; padding: 12px; }
.blimp .balloon { position: relative; display: block; width: 176px; height: 98px; overflow: hidden; }
.blimp .balloon img { position: absolute; left: 0; top: -30px; width: 176px; height: 160px; image-rendering: pixelated; }
.blimp .banner { position: absolute; left: 30px; top: 26px; width: 120px; height: 18px; display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 16px; font-weight: 400; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.blimp .sign { display: flex; flex-direction: column; align-items: center; transform: translateX(8px); }
.blimp .ropes { display: flex; gap: 42px; }
.blimp .ropes i { display: block; width: 2px; height: 12px; background: var(--umber); }
.blimp .board { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 8px; background: var(--bone); box-shadow: inset 0 0 0 2px var(--umber); font-size: 16px; line-height: 20px; text-transform: uppercase; color: var(--ink); white-space: nowrap; }

/* DAILY | ENDLESS | DUEL, right above DIG. The chosen one is ink. */
.modes { position: relative; display: flex; margin: 0 2px 2px 0; background: var(--bone); box-shadow: 2px 2px 0 var(--umber); }
.modes::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px var(--ink); pointer-events: none; }
.modes button { flex: 1; min-height: 32px; font-size: 16px; line-height: 20px; font-weight: 700; text-transform: uppercase; color: var(--ink); }
.modes button + button { box-shadow: -2px 0 0 var(--ink); margin-left: 2px; }
.modes button.on { color: var(--bone); background: var(--ink); }
.title .t { color: var(--ink); }

/* The buddy's speech bubble. */
.bubble { position: absolute; cursor: pointer; transform-origin: bottom left; }
.bubble .patch { position: absolute; left: 0; top: 0; image-rendering: pixelated; pointer-events: none; }
.bubble .box { position: relative; background: none; box-shadow: none; padding: 12px 12px 12px 27px; display: flex; flex-direction: column; gap: 8px; }
.bubble.squash { transform: scaleY(.92); }

/* HUD: depth, seven pips, points; the wordmark under it. */
.hud { position: absolute; left: 0; right: 0; top: var(--top); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.hud .row { position: relative; width: 100%; padding: 0 12px; display: flex; justify-content: space-between; align-items: center; min-height: 37px; }
.hud .chip { padding: 8px 10px; background: rgba(22, 20, 15, .7); box-shadow: inset 0 0 0 2px var(--umber); white-space: nowrap; }
.pips { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 4px; padding: 6px; background: rgba(22, 20, 15, .7); }
.pips canvas, .pips i { display: block; width: 13px; height: 13px; }
.pips i { background: var(--umber); }
.pips i.live { background: var(--stone); }
/* A run's strip: its last five tiles and the count (RunStrip). */
.pips.run { align-items: center; }
.pips .count { margin-left: 2px; font-size: 16px; line-height: 13px; font-weight: 400; color: var(--bone); }
.hud.over .row { justify-content: center; min-height: 0; }
.hud.over .chip { display: none; }
.hud.over .pips { position: static; transform: none; }
/* KRILLIANT in bone ringed in ink, one UI pixel. */
.mark { font-weight: 700; text-transform: uppercase; color: var(--bone); font-size: 16px; line-height: 20px; padding: 2px;
  text-shadow: -2px -2px 0 var(--ink), 0 -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 0 0 var(--ink), 2px 0 0 var(--ink), -2px 2px 0 var(--ink), 0 2px 0 var(--ink), 2px 2px 0 var(--ink); }
.mark.large { font-size: 32px; line-height: 36px; }
.zone { padding: 6px 10px; background: rgba(22, 20, 15, .8); box-shadow: inset 0 0 0 2px var(--umber); white-space: nowrap; }
/* The end's caption: what happened, then the ore (ShaftView EndCaption). */
.caption.foot { position: absolute; left: 50%; bottom: calc(var(--bottom) + 16px); transform: translateX(-50%); width: max-content; pointer-events: none; }
.caption { max-width: calc(100% - 40px); padding: 8px 12px; text-align: center; display: grid; gap: 4px; white-space: normal; }

/* The prompt card: no panel, every glyph ringed in ink, on a dark patch the
   world canvas draws behind it. */
.card { position: absolute; padding: 12px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; pointer-events: none; }
.card .t, .card .big, .card .mid, .card p {
  text-shadow: -2px -2px 0 var(--ink), 0 -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 0 0 var(--ink), 2px 0 0 var(--ink), -2px 2px 0 var(--ink), 0 2px 0 var(--ink), 2px 2px 0 var(--ink); }
.card .one { white-space: nowrap; overflow: hidden; text-overflow: clip; max-width: 100%; }
.tier { position: relative; font-size: 24px; line-height: 28px; font-weight: 700; text-transform: uppercase; white-space: nowrap; transform-origin: left center; }
.tier canvas { position: absolute; left: -16px; top: -16px; image-rendering: pixelated; pointer-events: none; }

/* Bottom controls. */
/* --kb: how much of the page an on-screen keyboard covers (iOS Safari covers
   rather than shrinks), so the ask row rides just above it, as in the app. */
.controls { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 12px calc(max(var(--bottom), var(--kb, 0px)) + 8px); display: flex; flex-direction: column; gap: 10px; }
.controls .stack { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.controls .line { text-align: center; }
.controls .fill { display: grid; }
.controls .fill > .panel-col { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; }
.controls .fill > .sizer { visibility: hidden; }
.controls .panel-col > .btn.big { flex: 1; }
.ask { display: flex; flex-direction: column; gap: 8px; }
.ask .row { display: flex; align-items: flex-start; gap: 8px; }
.declined { align-self: flex-start; padding: 6px 10px; }
.dial { position: relative; flex: none; width: 62px; height: 62px; }
.dial canvas { width: 62px; height: 62px; image-rendering: pixelated; }
.dial span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--bone); font-variant-numeric: tabular-nums; }
.dial span.dim { color: var(--stone); }
.field { flex: 1; min-width: 0; height: 62px; padding: 0 10px; font: 400 16px/20px "Krilliant Pixel", monospace; text-transform: uppercase; color: var(--bone); caret-color: var(--bone);
  background: rgba(22, 20, 15, .9); border: 0; box-shadow: inset 0 0 0 2px var(--bone); outline: none; border-radius: 0; -webkit-appearance: none; appearance: none; }

/* Buttons: a frame on a 2px umber base; pressing drops the face onto it. */
.btn { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; margin: 0 2px 2px 0;
  font-weight: 700; font-size: 16px; line-height: 20px; text-transform: uppercase; white-space: nowrap; color: var(--ink); background: var(--bone); box-shadow: 2px 2px 0 var(--umber); text-decoration: none; }
.btn:active { transform: translate(2px, 2px); box-shadow: none; }
.btn.big { min-height: 64px; font-size: 24px; line-height: 28px; }
.btn.outline { color: var(--bone); background: var(--ink); box-shadow: inset 0 0 0 2px var(--bone), 2px 2px 0 var(--umber); }
.btn.outline:active { box-shadow: inset 0 0 0 2px var(--bone); }
.btn.dig { flex: none; width: 128px; }
.btn[disabled] { color: var(--stone); background: var(--ink); box-shadow: inset 0 0 0 2px var(--umber); transform: none; }
.btn .arrow { width: 10px; height: 10px; margin-left: 6px; image-rendering: pixelated; }
.pair { display: flex; gap: 8px; }
.pair .btn { flex: 1; }

/* The end page: the reveal shows through the first screen, the actions at
   its foot, the report under it. */
.end { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.end::-webkit-scrollbar { display: none; }
.end .first { min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 0 12px calc(var(--bottom) + 8px); }
.end .first .clear { flex: 1; }
.report { display: flex; flex-direction: column; gap: 16px; padding: 0 12px 16px; }
.section { position: relative; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.section > canvas.patch { position: absolute; left: 0; top: 0; z-index: -1; image-rendering: pixelated; pointer-events: none; }
.section { isolation: isolate; }
.landed { display: flex; align-items: center; gap: 8px; }
.strip { position: relative; height: 30px; }
.strip .cells { position: absolute; left: 0; right: 0; top: 14px; display: flex; gap: 2px; }
.strip .cells i { display: block; height: 16px; background: var(--umber); }
.strip .cells i.on { background: var(--bone); }
.strip canvas { position: absolute; top: 4px; width: 10px; height: 6px; image-rendering: pixelated; }
.scale { display: flex; justify-content: space-between; }
.ladder { display: flex; flex-direction: column; gap: 6px; }
.ladder .rung { display: flex; align-items: center; gap: 8px; }
.ladder img { width: 32px; height: 32px; image-rendering: pixelated; opacity: .35; }
.ladder .lit img { opacity: 1; }
.ladder .pts { margin-left: auto; }
.box { background: var(--ink); box-shadow: inset 0 0 0 2px var(--umber); }
.box .q { display: flex; align-items: flex-start; gap: 8px; padding: 6px 10px; background: var(--stone); }
.box .q p { flex: 1; }
.box .q canvas { flex: none; width: 26px; height: 26px; padding: 2px; background: var(--ink); box-sizing: content-box; image-rendering: pixelated; }
.box .a { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.box .group { display: flex; flex-direction: column; gap: 4px; }
.rule { display: flex; align-items: center; gap: 6px; }
.rule i { display: block; height: 2px; }
.rule i:first-child { width: 12px; flex: none; }
.rule i:last-child { flex: 1; }
.ans { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.you { padding: 0 4px; color: var(--ink); font-weight: 700; }
.log { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.next { text-align: center; padding: 12px 0; }

/* The KRILLIANT moment's flash: bone, full then dithered. */
.flash { position: absolute; inset: 0; pointer-events: none; }
.flash.full { background: rgba(235, 228, 207, .85); }
.flash.half { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6' shape-rendering='crispEdges'%3E%3Crect width='3' height='3' fill='%23EBE4CF' fill-opacity='.85'/%3E%3Crect x='3' y='3' width='3' height='3' fill='%23EBE4CF' fill-opacity='.85'/%3E%3C/svg%3E"); }

/* Pop-ups: a panel over a dimmed screen. */
.scrim { position: absolute; inset: 0; background: rgba(22, 20, 15, .6); display: flex; align-items: center; justify-content: center; padding: 24px; }
.panel { width: 100%; padding: 12px; display: flex; flex-direction: column; gap: 12px; background: var(--ink); box-shadow: inset 0 0 0 2px var(--umber); }
.panel .head { display: flex; justify-content: space-between; align-items: center; }
.panel .x { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.panel .x canvas { width: 14px; height: 14px; image-rendering: pixelated; }

/* The share card in its panel, and the text that goes with it. */
.share-card { display: block; width: 100%; max-width: 300px; align-self: center; image-rendering: pixelated; }
.share-text { text-transform: none; white-space: pre-wrap; user-select: text; -webkit-user-select: text; color: var(--stone); }
.panel { max-height: 100%; overflow-y: auto; }

/* Settings as a sheet over the screen (Theme/Sheet.swift PixelSheet). */
.scrim.sheet { align-items: stretch; padding: calc(var(--top) + 16px) 12px calc(var(--bottom) + 16px); }
.scrim.sheet .panel { padding: 16px; gap: 16px; }
.panel .back { align-self: center; padding: 0 24px; }
.sheet-section { display: flex; flex-direction: column; gap: 6px; }
/* The reward reveal: the surface over everything, its panel at the foot. */
.reveal { position: absolute; inset: 0; overflow: hidden; }
.reveal canvas { position: absolute; left: 0; top: 0; image-rendering: pixelated; }
.reveal .panel { position: absolute; left: 12px; right: 12px; bottom: calc(var(--bottom) + 12px); width: auto; align-items: center; text-align: center; background: rgba(22, 20, 15, .92); }
.reveal .panel canvas { position: static; }
.reveal .panel .btn { align-self: stretch; }
.wide .reveal .panel { left: 50%; right: auto; width: 100%; max-width: 480px; transform: translateX(-50%); }
/* DUEL BOT: nine buddies, easiest to hardest. */
.bots { display: flex; flex-direction: column; gap: 6px; }
.bot { display: flex; align-items: center; gap: 12px; padding: 8px; text-align: left; box-shadow: inset 0 0 0 2px var(--umber); }
.bot .pic { width: 64px; height: 64px; flex: none; display: flex; align-items: center; justify-content: center; }
.bot img { image-rendering: pixelated; }
.bot .who { display: flex; flex-direction: column; gap: 4px; }
/* A duel rival: their name and depth over their line, and off screen a marker at that edge. */
.rival-tag { position: absolute; padding: 0 4px; background: var(--ink); white-space: nowrap; pointer-events: none; }
.rival-mark { position: absolute; width: 63px; height: 78px; pointer-events: none; }
.rival-mark canvas { position: absolute; left: 0; top: 0; width: 63px; height: 78px; }
.rival-mark .face { position: absolute; left: 0; top: 0; width: 63px; height: 63px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.rival-mark.up .face { top: 15px; }
.rival-mark img { transform: scaleX(-1); image-rendering: pixelated; }
.rival-mark p { white-space: nowrap; }
/* The leaderboard: Today | Week | All time, then each miner with a tunnel dug as far as they went. */
.scopes { display: flex; box-shadow: inset 0 0 0 2px var(--umber); }
.scopes button { flex: 1; min-height: 28px; text-transform: uppercase; color: var(--bone); }
.scopes button.on { color: var(--ink); background: var(--bone); }
.board { display: flex; flex-direction: column; gap: 6px; }
.board .entry { display: flex; flex-direction: column; gap: 4px; padding: 4px 6px; }
.board .entry.me { background: var(--bone); color: var(--ink); }
.board .entry.me p { color: var(--ink); }
.board .head { display: flex; gap: 8px; }
.board .rank { width: 40px; text-align: right; color: var(--stone); }
.board .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .entry i { display: block; height: 4px; margin-left: 48px; background: var(--umber); max-width: calc(100% - 48px); }
.board .rule { height: 2px; background: var(--umber); }
/* Out the far side (BreakOutView): the antipode's sky, ink type, centred. */
.breakout { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; color: var(--ink); }
.breakout .sky { position: absolute; inset: 0; z-index: -1; display: flex; flex-direction: column; }
.breakout .sky i { flex: 1; }
.breakout p { color: var(--ink); max-width: 320px; }
/* Badges: a three-column grid, each a framed 32px badge at 2px and its name. */
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; align-items: start; }
.badge { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.badge .art { align-self: stretch; display: flex; justify-content: center; padding: 6px; box-shadow: inset 0 0 0 2px var(--umber); }
.badge.on .art { box-shadow: inset 0 0 0 2px var(--stone); }
.badge canvas, .badge-card canvas { image-rendering: pixelated; }
.badge-card { position: fixed; inset: 0; z-index: 5; background: rgba(22, 20, 15, .7); display: flex; align-items: center; justify-content: center; padding: 24px; }
.badge-card .card-box { max-width: 260px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; background: var(--ink); box-shadow: inset 0 0 0 2px var(--umber); }
.sheet-section .rows { box-shadow: inset 0 0 0 2px var(--umber); }
.sheet-section .row { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 10px; color: inherit; text-decoration: none; }
.sheet-section .row + .row { border-top: 2px solid var(--umber); }
.sheet-section .row canvas { width: 18px; height: 18px; flex: none; image-rendering: pixelated; }
.sheet-section .gap { flex: 1; }
.switch { width: 44px; height: 24px; padding: 4px; display: flex; justify-content: flex-start; background: var(--umber); }
.switch i { display: block; width: 16px; height: 16px; background: var(--stone); }
.switch.on { justify-content: flex-end; background: var(--bone); }
.switch.on i { background: var(--ink); }
.units { display: flex; flex: none; margin-left: auto; }
.units button { height: 24px; padding: 0 4px; background: var(--umber); color: var(--stone); }
.units button.on { background: var(--bone); color: var(--ink); }

/* A wide window. Reading type goes from 16px to 24px, a glyph pixel from 2px
   to 3px, and its ink ring with it. The start buttons, the answer row and
   the end page's details are placed by play.js (placeWide). */
.wide { --top: 16px; --bottom: 0px; }
.wide .icons { padding: 0 16px; }
.wide .hud .row { max-width: var(--play); }
.wide .title .word { margin-top: 4px; font-size: 64px; line-height: 72px; }
.wide .title > .t, .wide .coins .t { font-size: 24px; line-height: 30px; }
.wide .week { gap: 18px; }
.wide .streak { gap: 9px; }
.wide .streak b { width: 33px; height: 33px; font-size: 24px; line-height: 24px; box-shadow: inset 0 0 0 3px var(--umber); }
.wide .streak b.done, .wide .streak b.today { box-shadow: inset 0 0 0 3px var(--ink); }
.wide .coins { gap: 6px; }
.wide .coins img { width: 24px; height: 24px; }
/* The bubble's type at one and a half times, at most 480px wide. */
.wide .bubble .box { padding: 18px 18px 18px 33px; gap: 12px; }
.wide .bubble p.t { font-size: 24px; line-height: 36px; margin: -3px 0; }
/* The blimp at 3px a sprite pixel, its banner and sign with it. */
.wide .blimp { padding: 18px; }
.wide .blimp .balloon { width: 264px; height: 147px; }
.wide .blimp .balloon img { top: -45px; width: 264px; height: 240px; }
.wide .blimp .banner { left: 45px; top: 39px; width: 180px; height: 27px; font-size: 24px; line-height: 24px; }
.wide .blimp .sign { transform: translateX(12px); }
.wide .blimp .ropes { gap: 63px; }
.wide .blimp .ropes i { width: 3px; height: 18px; }
.wide .blimp .board { gap: 3px; padding: 9px 12px; box-shadow: inset 0 0 0 3px var(--umber); font-size: 24px; line-height: 30px; }
.wide .card { padding: 18px; gap: 15px; }
.wide .card .t { font-size: 24px; line-height: 30px; }
.wide .card p.t { line-height: 36px; margin: -3px 0; }
.wide .card .big { font-size: 36px; line-height: 45px; }
.wide .card .mid { font-size: 24px; line-height: 30px; }
.wide .card .tier { font-size: 36px; line-height: 42px; }
.wide .card .t, .wide .card .big, .wide .card .mid, .wide .card p, .wide .card .tier {
  text-shadow: -3px -3px 0 var(--ink), 0 -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), -3px 3px 0 var(--ink), 0 3px 0 var(--ink), 3px 3px 0 var(--ink); }
.wide .controls { right: auto; padding: 0; }
.wide .field { font-size: 24px; line-height: 30px; }
.wide .panel { max-width: 480px; }
/* The end page in one centred column, where the window is too narrow for
   the details beside the ore. */
.wide .end:not(.side) > .first, .wide .end:not(.side) > .report { width: 100%; max-width: 624px; margin: 0 auto; }
/* Beside it: the share buttons under the card, the details scrolling on
   their own on the right. */
.wide .end.side { overflow: hidden; pointer-events: none; }
.wide .end.side > .first, .wide .end.side > .report { position: absolute; pointer-events: auto; }
.wide .end.side .first { min-height: 0; padding: 0; }
.wide .end.side .first .clear { display: none; }
.wide .end.side > .report { top: 112px; bottom: 0; padding: 0 0 24px; overflow-y: auto; scrollbar-width: none; }
.wide .end.side > .report::-webkit-scrollbar { display: none; }
.box .more { text-decoration: none; }
