/* MetEco 98: the booth microsite as a 1998 desktop, and "Pocket 98" on phones (PLAN-98.md).
   Every length here is one 98-pixel. #root is zoomed so that one 98-pixel is a whole number of device pixels (98.js, fit()),
   which keeps the pixel font (pixel-exact at 13 px and its multiples), the bevels and the pictures crisp. Text sits in 15 px
   line boxes (or 30 / 45 / 60 at 2x / 3x / 4x) so every baseline lands on a whole pixel. */
@font-face { font-family: 'MetEco Sans 98'; src: url(assets/fonts/meteco-sans-98.woff2?1) format('woff2'); font-weight: 400; font-display: block; }
@font-face { font-family: 'MetEco Sans 98'; src: url(assets/fonts/meteco-sans-98-bold.woff2?1) format('woff2'); font-weight: 700; font-display: block; }

:root {
  --f: 'MetEco Sans 98', ui-monospace, monospace;
  --bv-win: inset -1px -1px #000, inset 1px 1px #dfdfdf, inset -2px -2px #808080, inset 2px 2px #fff;
  --bv-btn: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
  --bv-down: inset -1px -1px #fff, inset 1px 1px #000, inset -2px -2px #dfdfdf, inset 2px 2px #808080;
  --bv-field: inset -1px -1px #fff, inset 1px 1px #808080, inset -2px -2px #dfdfdf, inset 2px 2px #000;
  --bv-in1: inset -1px -1px #fff, inset 1px 1px #808080;
  --bv-out1: inset -1px -1px #808080, inset 1px 1px #fff;
  --etch: inset 0 1px #808080, inset 0 -1px #fff;
  --title: linear-gradient(90deg, #000080, #1084d0);
  --title-off: linear-gradient(90deg, #808080, #b5b5b5);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: #008080; }
body { font: 13px/15px var(--f); color: #000; -webkit-font-smoothing: none; font-kerning: none; font-variant-ligatures: none; text-rendering: optimizeSpeed; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; overscroll-behavior: none; }
#root { position: fixed; left: 0; top: 0; overflow: hidden; background: #008080; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
img, canvas, video.px { image-rendering: pixelated; }
img { display: block; }
button { font: inherit; color: inherit; margin: 0; padding: 0; border: 0; background: none; text-align: inherit; border-radius: 0; touch-action: manipulation; }
input, textarea, select { font: inherit; color: #000; margin: 0; border: 0; border-radius: 0; outline: 0; -webkit-appearance: none; appearance: none; user-select: text; -webkit-user-select: text; }
a { color: inherit; text-decoration: none; }
:focus { outline: none; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; }
b, strong, .b { font-weight: 700; }
.x2 { font-size: 26px; line-height: 30px; }
.x3 { font-size: 39px; line-height: 45px; }
.x4 { font-size: 52px; line-height: 60px; }
.dim { color: #808080; }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* cursors (desktop only; 98.js sets the --c-* values for this screen's pixel size) */
#root.desktop { cursor: var(--c-arrow, default); }
#root.desktop * { cursor: inherit; }
#root.desktop a.link, #root.desktop .hand { cursor: var(--c-hand, pointer); }
#root.desktop input, #root.desktop textarea { cursor: var(--c-text, text); }
#root.desktop .grip { cursor: var(--c-nwse, nwse-resize); }
#root.desktop .locked, #root.desktop .locked * { cursor: var(--c-no, not-allowed); }
#root.desktop.dragging, #root.desktop.dragging * { cursor: var(--c-move, move) !important; }
#root.desktop.sizing, #root.desktop.sizing * { cursor: var(--c-nwse, nwse-resize) !important; }
#root.desktop.busy, #root.desktop.busy * { cursor: var(--c-busy, progress) !important; }
#root.desktop .wait, #root.desktop .wait * { cursor: var(--c-wait, wait) !important; }

/* ---------- the parts every window is made of ---------- */
.raised { background: #c0c0c0; box-shadow: var(--bv-btn); }
.sunken { background: #fff; box-shadow: var(--bv-field); }
.etch { height: 2px; box-shadow: var(--etch); }
.btn { position: relative; display: inline-flex; align-items: flex-start; justify-content: center; min-width: 75px; height: 23px; padding: 4px 10px 0; background: #c0c0c0; box-shadow: var(--bv-btn); white-space: nowrap; color: #000; }
.btn > span { position: relative; }
.btn:active:not(:disabled), .btn.down { box-shadow: var(--bv-down); }
.btn:active:not(:disabled) > span, .btn.down > span { left: 1px; top: 1px; }
.btn.def { box-shadow: inset 0 0 0 1px #000, inset -2px -2px #000, inset 2px 2px #fff, inset -3px -3px #808080, inset 3px 3px #dfdfdf; }
.btn.def:active:not(:disabled) { box-shadow: inset 0 0 0 1px #000, inset 0 0 0 2px #808080; }
.btn:focus-visible::after, .btn.focus::after { content: ""; position: absolute; inset: 4px; outline: 1px dotted #000; }
.btn:disabled { color: #808080; text-shadow: 1px 1px #fff; }
.btn.big { height: 31px; padding-top: 8px; font-weight: 700; }
.btn .ic16 { margin: -1px 4px 0 -2px; }
.field { display: block; width: 100%; height: 21px; padding: 3px 4px; background: #fff; box-shadow: var(--bv-field); line-height: 15px; }
textarea.field { height: auto; resize: none; padding: 3px 4px; overflow-y: auto; }
.field::placeholder { color: #808080; opacity: 1; }
.field:disabled, .field[readonly].grey { background: #c0c0c0; }
.lbl { display: block; margin-bottom: 3px; }
.chk, .rad { display: inline-flex; align-items: flex-start; gap: 6px; padding: 1px 0; }
.chk > i { flex: none; width: 13px; height: 13px; margin-top: 1px; background: #fff center / 7px 7px no-repeat; box-shadow: var(--bv-field); }
.chk[aria-checked="true"] > i { background-image: url(assets/ui/check.png?1); }
.rad > i, i.rb { flex: none; width: 12px; height: 12px; margin-top: 1px; background: url(assets/ui/radio-ring.png?1) 0 0 / 12px 12px; position: relative; }
.rad[aria-checked="true"] > i::after, [aria-checked="true"] > i.rb::after, .sel > i.rb::after { content: ""; position: absolute; left: 4px; top: 4px; width: 4px; height: 4px; background: url(assets/ui/radio.png?1) 0 0 / 4px 4px; }
.chk:focus-visible > span, .rad:focus-visible > span { outline: 1px dotted #000; }
.group { position: relative; margin-top: 7px; padding: 12px 10px 10px; box-shadow: inset 1px 1px #808080, inset -1px -1px #808080, inset 2px 2px #fff; }
.group > .legend { position: absolute; left: 8px; top: -7px; padding: 0 2px; background: #c0c0c0; }
.prog { position: relative; height: 18px; padding: 2px; background: #fff; box-shadow: var(--bv-in1); }
.prog > i { display: block; height: 14px; background: repeating-linear-gradient(90deg, #000080 0 8px, transparent 8px 10px); }
.lcd { height: 23px; padding: 4px 6px 0; background: #000; color: #F5BD00; box-shadow: var(--bv-field); font-weight: 700; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link { color: #0000ff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.link:visited { color: #800000; }
.ic16 { flex: none; width: 16px; height: 16px; }
.ic32 { flex: none; width: 32px; height: 32px; }
.ic64 { flex: none; width: 64px; height: 64px; }
.white { background: #fff; box-shadow: var(--bv-field); }

/* scroll bars, the 1998 way (Chrome, Edge, Safari; Firefox gets plain grey ones) */
::-webkit-scrollbar { width: 16px; height: 16px; }
::-webkit-scrollbar-track { background: var(--chk-white, #dfdfdf) 0 0 / 2px 2px; }
::-webkit-scrollbar-thumb { background: #c0c0c0; box-shadow: var(--bv-btn); }
::-webkit-scrollbar-corner { background: #c0c0c0; }
::-webkit-scrollbar-button:single-button { display: block; width: 16px; height: 16px; background: #c0c0c0 no-repeat; box-shadow: var(--bv-btn); }
::-webkit-scrollbar-button:single-button:active { box-shadow: inset 0 0 0 1px #808080; }
::-webkit-scrollbar-button:single-button:vertical:decrement { background-image: url(assets/ui/up.png?1); background-position: 4px 6px; }
::-webkit-scrollbar-button:single-button:vertical:increment { background-image: url(assets/ui/down.png?1); background-position: 4px 6px; }
::-webkit-scrollbar-button:single-button:horizontal:decrement { background-image: url(assets/ui/left.png?1); background-position: 5px 4px; }
::-webkit-scrollbar-button:single-button:horizontal:increment { background-image: url(assets/ui/right.png?1); background-position: 6px 4px; }
::-webkit-scrollbar-button:vertical:start:increment, ::-webkit-scrollbar-button:vertical:end:decrement, ::-webkit-scrollbar-button:horizontal:start:increment, ::-webkit-scrollbar-button:horizontal:end:decrement { display: none; }
@supports not selector(::-webkit-scrollbar) { * { scrollbar-color: #c0c0c0 #dfdfdf; } }

/* ---------- windows ---------- */
.win { position: absolute; display: flex; flex-direction: column; padding: 3px; background: #c0c0c0; box-shadow: var(--bv-win); min-width: 120px; }
.tbar { flex: none; display: flex; align-items: flex-start; gap: 3px; height: 18px; padding: 1px 2px 0 2px; background: var(--title); color: #fff; font-weight: 700; }
.win:not(.active) > .tbar { background: var(--title-off); color: #c0c0c0; }
.tbar > img { margin-top: 0; }
.tbar .tt { flex: 1; min-width: 0; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbtns { display: flex; margin-top: 1px; }
.tbtn { width: 16px; height: 14px; background: #c0c0c0 no-repeat; box-shadow: var(--bv-btn); }
.tbtn:active:not(:disabled) { box-shadow: var(--bv-down); }
.tbtn.min { background-image: url(assets/ui/min.png?1); background-position: 4px 3px; }
.tbtn.max { background-image: url(assets/ui/max.png?1); background-position: 3px 2px; }
.tbtn.restore { background-image: url(assets/ui/restore.png?1); background-position: 4px 2px; }
.tbtn.help { background-image: url(assets/ui/help.png?1); background-position: 5px 2px; }
.tbtn.close { margin-left: 2px; background-image: url(assets/ui/close.png?1); background-position: 4px 3px; }
.tbtn.max + .tbtn.close, .tbtn.restore + .tbtn.close { margin-left: 2px; }
.tbtn:active:not(:disabled) { background-position-x: 5px; }
.tbtn.max:active:not(:disabled) { background-position: 4px 3px; }
.tbtn.restore:active:not(:disabled), .tbtn.help:active:not(:disabled) { background-position-y: 3px; }
.tbtn.min:active:not(:disabled), .tbtn.close:active:not(:disabled) { background-position-y: 4px; }
.tbtn:disabled { background-image: url(assets/ui/close-off.png?1); }
.wbody { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; margin-top: 1px; }
.win.max { box-shadow: none; padding: 0; }
.grip { position: absolute; right: 3px; bottom: 3px; width: 12px; height: 12px; background: url(assets/ui/grip.png?1) 0 0 / 12px 12px; }
.capanim { position: absolute; z-index: 9800; height: 18px; background: var(--title); box-shadow: inset 0 0 0 1px #c0c0c0; pointer-events: none; }
.win.flash > .tbar { background: var(--title-off); color: #c0c0c0; }

/* menu bars, status bars, tool bars */
.menubar { flex: none; display: flex; height: 19px; padding: 1px 0 0; }
.menubar > button { height: 18px; padding: 1px 6px 0; }
.menubar > button:hover, .menubar > button:focus-visible { box-shadow: var(--bv-out1); }
.menubar > button.open { box-shadow: var(--bv-in1); padding: 2px 5px 0 7px; }
u { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.sbar { flex: none; display: flex; gap: 2px; height: 20px; margin-top: 2px; }
.sbar > span { flex: 1; display: flex; align-items: flex-start; gap: 4px; min-width: 0; padding: 2px 4px 0; box-shadow: var(--bv-in1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbar > span.fixed { flex: none; }
.sbar > span:last-child { padding-right: 16px; }
.tools { flex: none; display: flex; align-items: center; gap: 1px; height: 26px; padding: 0 2px; box-shadow: var(--bv-out1); margin-top: 1px; }
.tool { display: inline-flex; align-items: flex-start; gap: 4px; height: 22px; padding: 4px 6px 0; }
.tool:hover:not(:disabled) { box-shadow: var(--bv-out1); }
.tool:active:not(:disabled) { box-shadow: var(--bv-in1); padding: 5px 5px 0 7px; }
.tool:disabled { color: #808080; text-shadow: 1px 1px #fff; }
.tool .ic16 { margin-top: -1px; }
.addr { flex: none; display: flex; align-items: flex-start; gap: 6px; height: 27px; padding: 3px 3px 0 4px; margin-top: 1px; box-shadow: var(--bv-out1); }
.addr > span { margin-top: 4px; }
.addr .field { flex: 1; display: flex; align-items: flex-start; gap: 3px; padding: 2px 3px; white-space: nowrap; overflow: hidden; }

/* popup menus */
.menu { position: absolute; z-index: 9600; min-width: 140px; padding: 3px; background: #c0c0c0; box-shadow: var(--bv-win); }
.menu .mi { position: relative; display: flex; align-items: flex-start; gap: 6px; width: 100%; height: 20px; padding: 2px 22px 0 4px; white-space: nowrap; color: #000; }
.menu .mi > .mic { width: 16px; height: 16px; flex: none; position: relative; }
.menu .mi > .mic > img { width: 16px; height: 16px; }
.menu .mi > span { margin-top: 1px; }
.menu .mi.hl { background: #000080; color: #fff; }
.menu .mi.dis { color: #808080; text-shadow: 1px 1px #fff; }
.menu .mi.dis.hl { text-shadow: none; }
.menu .mi.def > span { font-weight: 700; }
.menu .mi .arr { position: absolute; right: 7px; top: 6px; width: 4px; height: 7px; background: url(assets/ui/sub.png?1) 0 0 / 4px 7px; }
.menu .mi.hl .arr, .menu .mi.hl .chkm { filter: invert(1); }
.menu .mi .chkm { position: absolute; left: 6px; top: 6px; width: 7px; height: 7px; background: url(assets/ui/check.png?1) 0 0 / 7px 7px; }
.menu .msep { height: 2px; margin: 3px 1px 4px; box-shadow: var(--etch); }
.menu.start { display: flex; padding: 3px 3px 3px 3px; }
.menu.start .banner { flex: none; width: 21px; margin-right: 1px; background: #000080 url(assets/ui/banner.png?1) left bottom / 21px 300px no-repeat; }
.menu.start .items { flex: 1; min-width: 160px; }
.menu.start .mi { height: 34px; padding: 1px 26px 0 6px; gap: 8px; }
.menu.start .mi > .mic, .menu.start .mi > .mic > img { width: 32px; height: 32px; }
.menu.start .mi > span { margin-top: 10px; }
.menu.start .mi .arr { top: 14px; }

/* message boxes and dialogs */
.dlgshade { position: absolute; inset: 0; z-index: 9700; }
.dlgshade.dither { background: var(--chk-black) 0 0 / 2px 2px; }
.msg .mbody { display: flex; gap: 14px; padding: 14px 16px 6px 12px; max-width: 420px; }
.msg .mbody p + p { margin-top: 8px; }
.msg .mtext { padding-top: 2px; min-width: 150px; }
.msg .mbtns { display: flex; justify-content: center; gap: 6px; padding: 10px 10px 8px; }

/* tool tips and the balloon */
.tip { position: absolute; z-index: 9900; max-width: 260px; padding: 2px 4px 1px; background: #ffffe1; box-shadow: inset 0 0 0 1px #000; pointer-events: none; white-space: nowrap; }
.balloon { position: absolute; z-index: 30; width: 250px; padding: 6px 8px 8px; background: #ffffe1; box-shadow: inset 0 0 0 1px #000; }
.balloon .tail { position: absolute; left: 24px; top: -11px; width: 16px; height: 12px; }
.balloon b { display: flex; gap: 5px; align-items: flex-start; margin-bottom: 3px; }
.balloon b img { margin-top: -1px; }
.balloon .bx { position: absolute; right: 4px; top: 4px; width: 14px; height: 13px; background: url(assets/ui/close.png?1) 3px 3px / 8px 7px no-repeat; box-shadow: var(--bv-out1); }

/* ---------- the desktop ---------- */
#root.desktop .wall { position: absolute; inset: 0; background-color: #008080; }
.wall.block { background-image: url(assets/wall/block.png?1); background-size: 64px 48px; }
.wall.meteors { background-color: #000028; background-image: url(assets/wall/meteors.png?1); background-position: center; }
.icons { position: absolute; inset: 0 0 28px 0; }
.dicon { position: absolute; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 2px; color: #fff; }
.dicon .ic { position: relative; width: 32px; height: 32px; }
.dicon .ic img { width: 32px; height: 32px; }
.dicon .lb { max-width: 76px; padding: 0 2px 1px; text-align: center; overflow-wrap: anywhere; background: var(--lbbg, transparent); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.dicon.sel .ic::after { content: ""; position: absolute; inset: 0; background: var(--chk-navy) 0 0 / 2px 2px; -webkit-mask: var(--m) 0 0 / 32px 32px; mask: var(--m) 0 0 / 32px 32px; }
.dicon.sel .lb { background: #000080; -webkit-line-clamp: 5; }
.dicon:focus-visible .lb, .dicon.focus .lb { outline: 1px dotted #ffff7f; outline-offset: -1px; }
.dicon.ghost { opacity: .6; }
.band { position: absolute; z-index: 5; outline: 1px dotted #fff; outline-offset: -1px; pointer-events: none; mix-blend-mode: difference; }
.wins { position: absolute; inset: 0 0 28px 0; pointer-events: none; }
.wins > * { pointer-events: auto; }

.taskbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 9000; display: flex; align-items: flex-start; gap: 3px; height: 28px; padding: 4px 2px 0; background: #c0c0c0; box-shadow: inset 0 1px #dfdfdf, inset 0 2px #fff; }
.startbtn { flex: none; display: flex; align-items: flex-start; gap: 3px; height: 22px; padding: 3px 5px 0 3px; font-weight: 700; box-shadow: var(--bv-btn); }
.startbtn > img { width: 16px; height: 16px; }
.startbtn > span { margin-top: 1px; }
.startbtn.on { box-shadow: var(--bv-down); padding: 4px 4px 0 4px; }
.startbtn.on > span { outline: 1px dotted #000; }
.tbsep { flex: none; width: 2px; height: 22px; box-shadow: inset 1px 0 #808080, inset -1px 0 #fff; margin: 0 1px; }
.tasks { flex: 1; display: flex; gap: 3px; min-width: 0; }
.task { flex: 0 1 160px; min-width: 30px; display: flex; align-items: flex-start; gap: 3px; height: 22px; padding: 3px 4px 0; box-shadow: var(--bv-btn); }
.task > img { width: 16px; height: 16px; }
.task > span { margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.task.on { box-shadow: var(--bv-down); background: var(--chk-white) 0 0 / 2px 2px; font-weight: 700; padding: 4px 3px 0 5px; }
.tray { flex: none; display: flex; align-items: flex-start; gap: 4px; height: 22px; padding: 3px 8px 0 4px; box-shadow: var(--bv-in1); }
.tray > button { width: 16px; height: 16px; }
.tray .clock { margin-top: 1px; min-width: 52px; text-align: right; }

/* ---------- the apps (shared by both layouts) ---------- */
.pad { padding: 10px 12px; }
.row { display: flex; gap: 8px; align-items: flex-start; }
.btns { display: flex; justify-content: flex-end; gap: 6px; }
p + p { margin-top: 8px; }

/* Welcome: the same window on the desktop and, as the card above the icons, on a phone's home screen */
.welcome .wban { display: flex; align-items: flex-start; gap: 12px; height: 60px; padding: 10px 14px 0; background: #000; color: #fff; }
.welcome .wban .x2 span { color: #F5BD00; }
.welcome .wbody { padding: 12px; }
.welcome .wbody h1 { margin-bottom: 10px; }
.welcome .wbody .wtop { width: fit-content; max-width: 100%; text-align: center; } /* the heading and its second line share one centre: the line is centred under the heading, not across the window (Microsite Edits, 10 Nov) */
.welcome .wbody .wsub { margin: -6px 0 12px; }
.welcome .wsteps { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.welcome .wsteps li { display: flex; gap: 10px; align-items: flex-start; }
.welcome .wsteps li span { margin-top: 9px; }
.welcome .wtext { margin-bottom: 14px; }
.welcome .btn.big { width: 100%; height: 40px; padding-top: 12px; }
.welcome .wmore { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.welcome .wmore .btn { flex: 1 1 auto; height: 30px; padding-top: 7px; }
.welcome .wmetarow { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: 12px; }
.welcome .wmetarow .btn { margin-top: -4px; }
#root.pocket .welcome .wmore .btn { height: 36px; padding-top: 10px; }

/* for now: the Reset button (RESET_BUTTON in 98.js), on the taskbar and on a phone's home screen */
.rstbtn { flex: none; display: flex; align-items: flex-start; gap: 3px; height: 22px; padding: 3px 7px 0 4px; box-shadow: var(--bv-btn); }
.rstbtn > span { margin-top: 1px; }
.rstbtn:active { box-shadow: var(--bv-down); padding: 4px 6px 0 5px; }
.prst { flex: none; display: flex; align-items: flex-start; gap: 4px; height: 30px; padding: 7px 9px 0 7px; background: #c0c0c0; color: #000; font-weight: 400; box-shadow: var(--bv-btn); }
.prst:active { box-shadow: var(--bv-down); padding: 8px 8px 0 8px; }
#root.slim .prst ~ .pclock { display: none; }

/* the setup wizard */
.wiz { display: flex; flex-direction: column; }
.wiz .wmainp { display: flex; height: 314px; }
.wiz .wpic { flex: none; width: 164px; height: 314px; background: #000080 url(assets/ui/wizard.png?2) 0 0 / 164px 314px no-repeat; }
.wiz .wcont { flex: 1; min-width: 0; padding: 14px 14px 0 16px; background: #fff; overflow-y: auto; }
.wiz .wcont h2 { margin-bottom: 12px; }
/* Setup's first page: the two tracks, with square bullets (both layouts) */
.tracks { list-style: none; margin-top: 4px; }
.tracks li { position: relative; padding-left: 14px; }
.tracks li + li { margin-top: 3px; }
.tracks li::before { content: ''; position: absolute; left: 3px; top: 6px; width: 4px; height: 4px; background: currentColor; }
.tracks + p { margin-top: 8px; }
.wiz .whead { display: flex; justify-content: space-between; gap: 10px; height: 59px; padding: 10px 12px 0 16px; background: #fff; box-shadow: inset 0 -1px #fff, inset 0 -2px #808080; }
.wiz .whead p { margin: 3px 0 0 14px; }
.wiz .wbodyq { position: relative; display: flex; flex-direction: column; height: 255px; padding: 12px 18px 10px 30px; }
.wiz .wfoot { display: flex; justify-content: flex-end; align-items: flex-start; height: 44px; padding: 11px 10px 0; box-shadow: inset 0 1px #808080, inset 0 2px #fff; }
.wiz .wfoot .cancel { margin-left: 8px; }
/* the last page of either track (the vibe check, the docs call): "BONUS On Next Page (click finish)" as plain text at the footer's left, beside Back / Finish / Cancel */
.wiz .wfoot .wnote { flex: 1; min-width: 0; margin: 4px 10px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wiz .wprog { display: flex; align-items: flex-start; gap: 8px; margin-top: auto; }
.wiz .wprog > span { margin-top: 2px; }
.wiz .wprog .prog { flex: 1; }
/* the Dev track's page picker (the team's Microsite Edits, 13 Nov): the six pages as buttons, then the picked page right here, its name and address over
   a white box that scrolls by itself, so no other window opens (as on the booth's other page). On the desktop this step is taller than the others
   (--qph, set by sizeWin in 98.js as the screen allows), so the page has room to read. */
.wiz .wbodyq.q-page { height: var(--qph, 255px); }
.wiz .q-page .note { margin-bottom: 8px; }
.wiz .dpick { gap: 4px; margin-bottom: 8px; }
.wiz .dpick .chip { height: 23px; padding: 4px 8px 0; font-weight: 400; }
.wiz .dpick .chip[aria-checked="true"] { padding: 5px 7px 0 9px; }
.dpick .chip:focus-visible { outline: 1px dotted #000; outline-offset: -4px; }
.dsrc { flex: none; display: flex; align-items: flex-start; gap: 8px; margin: 0 0 3px 1px; }
.dsrc > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsrc > .link { flex: none; }
.demb-box { flex: 1 1 0; min-height: 0; overflow: auto; background: #fff; box-shadow: var(--bv-field); }
.demb-box:focus-visible { outline: 1px dotted #000; outline-offset: -4px; }
.demb-box .dv-doc { max-width: none; padding: 10px 12px 12px; }
.demb-box .dv-wait { padding: 0; color: #808080; }
.wiz .q-page .wprog { margin-top: 8px; }
/* the docs page and its questions on one page (Yash, 13 Nov): the page in its box, then questions 2 - 7 and the Finish line, all in a pane that
   scrolls (.wscroll), the step count under it; the box as tall as still shows the start of question 2 (--dbh, set by sizeWin) */
.wiz .q-page .wscroll { flex: 1; min-height: 0; overflow-y: auto; margin-right: -14px; padding: 0 12px 6px 0; }
.wiz .q-page .demb-box { flex: none; height: var(--dbh, 240px); }
.wiz .q-page .dqs > .group:first-child { margin-top: 14px; }
.wiz .q-page .blbl { margin-top: 16px; }
.wiz .q-page .clbl { margin: 16px 0 3px; }
.wiz .q-page .finishnote { margin: 12px 0 2px; }
.tree { height: 160px; overflow: auto; padding: 4px 4px; background: #fff; box-shadow: var(--bv-field); }
.tnode { position: relative; }
.ti { position: relative; display: flex; align-items: flex-start; gap: 4px; height: 18px; padding-top: 1px; white-space: nowrap; }
.ti .tw { flex: none; width: 9px; height: 9px; margin-top: 4px; }
.ti.folder .tw { background: #fff; box-shadow: inset 0 0 0 1px #808080; background-image: linear-gradient(#000, #000); background-size: 5px 1px; background-position: 2px 4px; background-repeat: no-repeat; }
.ti.folder[aria-expanded="false"] .tw { background-image: linear-gradient(#000, #000), linear-gradient(#000, #000); background-size: 5px 1px, 1px 5px; background-position: 2px 4px, 4px 2px; }
.ti.leaf .tw { visibility: hidden; }
.ti .tl { padding: 1px 2px 1px; margin-top: -1px; }
.ti[aria-selected="true"] .tl { background: #000080; color: #fff; }
.ti:focus .tl { outline: 1px dotted #000; outline-offset: -1px; }
.ti[aria-selected="true"]:focus .tl { outline-color: #ffff7f; }
.tkids { margin-left: 4px; padding-left: 16px; border-left: 1px dotted #808080; }
.tkids .ti::before { content: ""; position: absolute; left: -16px; top: 8px; width: 12px; border-top: 1px dotted #808080; }
.qfield { margin-top: 2px; }
/* the roast's tap questions, its starters, and the credit page */
.wiz .radios { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.wiz .wbodyq .group { margin-top: 18px; }
.wiz .wbodyq .note { margin-bottom: 6px; }
.starters { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.starters .btn { min-width: 0; padding: 4px 8px 0; }
/* the roast, step for step: combo boxes, rows of radios, the handles, the hint under the roast */
.combo { position: relative; display: inline-block; vertical-align: top; }
.combo select.field { width: 100%; padding-right: 22px; cursor: default; }
.combo select.field:focus-visible { outline: 1px dotted #000; outline-offset: -4px; }
.combo::after { content: ""; position: absolute; right: 2px; top: 2px; bottom: 2px; width: 16px; background: #c0c0c0 url(assets/ui/down.png?1) 4px 6px no-repeat; box-shadow: var(--bv-btn); pointer-events: none; }
.wiz .radios.row { flex-direction: row; flex-wrap: wrap; gap: 4px 14px; }
.wiz .two { display: flex; gap: 12px; }
.wiz .two > div { flex: 1; min-width: 0; }
.hlbl { margin-top: 10px; }
.hl { display: flex; gap: 6px; margin-bottom: 4px; }
.wiz .hl .combo { flex: none; width: 104px; }
.hl input.field { flex: 1; min-width: 0; }
.wiz .hl .rm { min-width: 0; padding: 4px 8px 0; }
.wiz .why { margin-top: 8px; }
.srow { display: flex; align-items: flex-start; gap: 8px; }
.wiz .srow .lbl { margin: 3px 0 0; }
.wiz .srow .combo { flex: none; width: 190px; }
.wiz .srow input.field { flex: 1; min-width: 0; }
.wiz .q-about .group { margin-top: 13px; }
.rlbl { margin-top: 10px; }
.hint { margin-top: 3px; }
/* This or That: the three pairs in one row, the first left, the second centred, the third right, with an etched line between each pair (the team's Microsite Edits, 10 Nov) */
.wiz .tot { display: grid; grid-template-columns: 1fr 1fr 1fr; }
/* each pair a block, its prompt over its two answers (the team's Microsite Edits, 13 Nov); the blocks left, centre and right in their thirds */
.wiz .tot > .totp { display: grid; align-content: start; justify-items: start; row-gap: 5px; padding: 1px 6px; }
.wiz .tot > .totp:nth-child(2) { justify-content: center; }
.wiz .tot > .totp:nth-child(3) { justify-content: end; }
.wiz .tot > .totp:not(:last-child) { border-right: 1px solid #808080; }
.wiz .tot > .totp + .totp { box-shadow: inset 1px 0 #fff; }
.wiz .tot .radios { gap: 5px; }
.totq { margin: 0; }
.wiz .wbodyq.q-guess { height: var(--qph, 255px); }
.guessfb { min-height: 15px; margin-top: 6px; }
.good { color: #008000; }
.quote { margin-bottom: 6px; }
/* 3/5: the 1-to-5 radios with the scale note beside the 5, a clear gap between (the team's Microsite Edits, 10 Nov) */
.wiz .clearrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.scale { margin: 0; }
.wlbl { margin-top: 12px; }
.callnote { margin-top: 10px; }
/* the call page's last line sits a little above the progress bar (the team's Microsite Edits, 11 Nov); the bar keeps to the bottom */
.sendanim { position: relative; height: 40px; margin: 6px 0 10px; }
.sendanim .from, .sendanim .to { position: absolute; top: 4px; }
.sendanim .from { left: 6px; }
.sendanim .to { right: 6px; }
.sendanim .paper { position: absolute; left: 34px; top: 2px; animation: fly 1s steps(10) infinite; }
@keyframes fly { 0% { transform: translate(0, 10px); } 50% { transform: translate(var(--fly, 160px), -6px); opacity: 1; } 51% { opacity: 0; } 100% { opacity: 0; } }

/* the launchpad builder: Setup's wizard with a taller body (it scrolls if a small screen needs it), a coin, a chart, trackbars */
.wiz.lpwiz .lpbody { display: flex; flex-direction: column; height: var(--lph, 290px); padding: 8px 12px 10px 18px; }
.wiz.lpwiz .lpscroll { flex: 1; min-height: 0; overflow-y: auto; padding: 0 6px 2px 0; }
.wiz.lpwiz .wprog { margin-top: 8px; }
.wiz.lpwiz .wfoot .sim { flex: 1; min-width: 0; margin: 4px 10px 0 2px; color: #800000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wiz.lpwiz .wmainp { height: calc(59px + var(--lph, 290px)); }
.wiz.lpwiz .wpic { height: auto; background: #000080 url(assets/ui/launchpad.png?1) 0 100% / 164px 314px no-repeat; }
.wiz.lpwiz .group { margin-top: 12px; }
.wiz.lpwiz .note { margin-bottom: 5px; }
.wiz.lpwiz .two { display: flex; gap: 10px; }
.wiz.lpwiz .two > * { flex: 1; min-width: 0; }
.wiz.lpwiz .radios { gap: 4px; }
.wiz.lpwiz .radios.row { gap: 4px 14px; }
.lpdraw { margin: 2px 0 10px; padding: 5px 8px 6px; background: #ffffe1; box-shadow: inset 0 0 0 1px #000; }
.lpdocs { margin-top: 10px; }
.lptok { display: flex; gap: 14px; }
.lptok .lpnames { flex: 1; min-width: 0; }
.lptk { margin-top: 8px; }
.lpimg { flex: none; width: 250px; }
.lpimgrow { display: flex; gap: 10px; align-items: flex-start; }
.lpimgrow .note { margin-bottom: 6px; }
.coinbox { flex: none; display: flex; align-items: center; justify-content: center; }
.coinbox.empty { width: 64px; height: 64px; background: #fff; box-shadow: var(--bv-field); }
.coin { display: block; }
.lpcurve { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; }
.lpcurve .lpsl { flex: 1; min-width: 0; }
.lpchart { flex: none; width: 214px; }
.lpplot { padding: 4px 2px 2px; }
.lpplot canvas { display: block; }
.lpcap { margin-top: 3px; }
.lpsls { padding-top: 7px; }
.lpsl + .lpsl { margin-top: 10px; }
.lpsl .slider { margin: 2px 6px 0; }
.lpex { margin-top: 10px; padding: 5px 8px 6px; background: #fff; box-shadow: var(--bv-field); }
.lprev { display: flex; gap: 10px; align-items: flex-start; }
.lpsum { flex: 1; min-width: 0; padding: 4px 6px; }
.lprow { display: flex; gap: 8px; padding: 1px 0; }
.lprow > b { flex: none; width: 78px; }
.lprow > span { flex: 1; min-width: 0; }
.lprow > a { flex: none; }
.lpem, .lpidl { margin-top: 10px; }
.lpsaved { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.lpsaved + p { margin-bottom: 8px; }
.lpnext { margin-top: 10px; }
.lpbonus { margin-top: 10px; }
.lpbonus .link { text-align: left; }
.pwiz.lpwiz .lpsub { margin-top: 8px; }
.pwiz.lpwiz .sim { margin-top: 6px; color: #800000; }
.pwiz.lpwiz .lptok { flex-direction: column; gap: 0; }
.pwiz.lpwiz .lptk { margin-top: 12px; }
.pwiz.lpwiz .lpimg { width: auto; margin-top: 16px; }
.pwiz.lpwiz .lpimg > .lbl { font-weight: 700; margin-bottom: 6px; }
.pwiz.lpwiz .lpimgrow .btn { height: 36px; padding-top: 10px; }
.pwiz.lpwiz .coinbox.empty { width: 80px; height: 80px; }
.pwiz.lpwiz .lpcurve { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 4px; }
.pwiz.lpwiz .lpchart { width: auto; }
.pwiz.lpwiz .lpsl { margin-top: 16px; }
.pwiz.lpwiz .lpsl .slider { height: 34px; margin: 4px 8px 0; }
.pwiz.lpwiz .lpsl .slider .groove { top: 15px; }
.pwiz.lpwiz .lpsl .slider .thumb { top: 2px; width: 15px; height: 29px; margin-left: -7px; }
.pwiz.lpwiz .lpsls { padding-top: 0; }
.pwiz.lpwiz .lpex { margin-top: 16px; }
.pwiz.lpwiz .lpdocs { margin-top: 8px; }
.pwiz.lpwiz .lpdocs .link { display: inline-block; padding: 12px 0; }
.pwiz.lpwiz .lprev { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
.pwiz.lpwiz .lprev .coinbox { align-self: center; }
.pwiz.lpwiz .lprow { flex-wrap: wrap; gap: 2px 8px; padding: 6px 2px; }
.pwiz.lpwiz .lprow + .lprow { box-shadow: inset 0 1px #dfdfdf; }
.pwiz.lpwiz .lprow > b { width: 100%; }
.pwiz.lpwiz .lprow > a { padding: 6px 4px; margin: -6px -4px; }
.pwiz.lpwiz .lpem, .pwiz.lpwiz .lpidl { margin-top: 16px; }
.pwiz.lpwiz .lpsaved { margin-bottom: 14px; }
.pwiz .lpbonus { margin-top: 14px; }
/* the phone's Setup complete page: Follow and BONUS, two buttons under the text, starting at its left edge, each as wide as the longer one's words (the team's Microsite Edits, mobile only) */
.pwiz .pdonebtns { display: inline-grid; grid-auto-rows: 1fr; gap: 8px; width: min(100%, 194px); margin-top: 12px; }   /* both as wide as BONUS's words (175 px in the pixel font) with 5 px each side and 9 px more to their right, or the text's width where that is less, so BONUS stays one line on a 375 px phone (the team's Microsite Edits, mobile only, 12 Nov) */
.pwiz .pdonebtns .btn { justify-content: flex-start; min-width: 0; height: auto; min-height: 36px; padding: 10px 5px 8px; white-space: normal; text-align: left; }   /* the words start at the left, so FOLLOW's F sits over BONUS's B (12 Nov); 5 px at the sides keep BONUS on one line on a 375 px phone */
.pwiz .pqhead.pdonehead { padding: 8px 12px; }
.pwiz .pqhead.pdonehead + .pqbody { padding-bottom: 10px; }   /* the two-line heading: tighter, so a 375 x 667 phone still does not scroll */
.pwiz .pdonebtns .btn b { font-weight: 700; }
/* the phone's last vibe check page: the Finish line and the BONUS line under 5/5, left aligned; the ticket emoji has a column of its own, so every row of words starts under "Click" */
.pwiz .pfin { display: grid; grid-template-columns: auto 1fr; gap: 4px 6px; margin-top: 12px; }
.pwiz .pfin > p { grid-column: 2; margin: 0; text-align: left; }

/* the prize wheel */
.wheelapp { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.wheelmain { display: flex; gap: 12px; padding: 10px; }
.wheelbox { position: relative; flex: none; }
.wheelbox canvas { display: block; }
.wheelside { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 150px; }
.wheelside .legend { flex: 1; min-height: 70px; padding: 4px; overflow: auto; background: #fff; box-shadow: var(--bv-field); }
.wheelside .legend li { display: flex; align-items: flex-start; gap: 6px; padding: 1px 0; list-style: none; }
.wheelside .legend li > i { flex: none; width: 11px; height: 11px; margin-top: 2px; box-shadow: inset 0 0 0 1px #000; }
.wheelside .legend li > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spinbtn { width: 100%; }
.wheelnote { min-height: 15px; }

/* the ticket */
.ticketapp { display: flex; flex-direction: column; gap: 10px; padding: 10px; }
.cert { padding: 5px; background: #fff; box-shadow: var(--bv-field); }
.cert-in { padding: 12px 14px 14px; box-shadow: inset 0 0 0 2px #000, inset 0 0 0 4px #fff, inset 0 0 0 5px #000; text-align: center; }
.cert-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; text-align: left; }
.cert-top .cert-brand { display: flex; gap: 6px; align-items: flex-start; }
.cert-top .cert-brand span { margin-top: 1px; }
.cert-k { margin-top: 12px; }
.cert-num { margin-top: 2px; }
.cert-prize { margin-top: 6px; color: #000080; text-transform: uppercase; overflow-wrap: anywhere; }
.cert-qr { display: flex; justify-content: center; align-items: center; min-height: 40px; margin-top: 8px; }
.cert-qr canvas { display: block; }
.cert-say { margin-top: 10px; font-weight: 700; }
.cert-meta { margin-top: 4px; color: #808080; }

/* media player */
.mp { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.mp-screen { position: relative; margin: 4px 4px 0; padding: 2px; background: #000; box-shadow: var(--bv-field); }
.mp-screen video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: cover; }
.mp-seek { position: relative; height: 22px; margin: 4px 10px 0; }
.mp-seek .groove { position: absolute; left: 0; right: 0; top: 9px; height: 4px; box-shadow: var(--bv-field); background: #fff; }
.mp-seek .thumb { position: absolute; top: 0; width: 11px; height: 21px; margin-left: -5px; background: #c0c0c0; box-shadow: var(--bv-btn); }
.mp-ctl { display: flex; align-items: flex-start; gap: 2px; padding: 2px 4px 4px; }
.mp-ctl .btn { min-width: 30px; width: 30px; padding: 0; height: 23px; }
.mp-ctl .btn i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-repeat: no-repeat; }
.mp-ctl .play i { background-image: url(assets/ui/right.png?1); background-position: 13px 8px; background-size: 4px 7px; }
.mp-ctl .pause i { background-image: linear-gradient(#000, #000), linear-gradient(#000, #000); background-size: 2px 7px, 2px 7px; background-position: 12px 8px, 16px 8px; }
.mp-ctl .stop i { background-image: linear-gradient(#000, #000); background-size: 7px 7px; background-position: 11px 8px; }
.mp-ctl .btn:active i { left: 1px; top: 1px; }
.mp-ctl .btn.down i { left: 1px; top: 1px; }
.mp-time { margin: 4px 0 0 auto; padding: 0 2px; }
/* the film starts in black and white (as the old loop was); Color takes the filter off. Unmute and Color are text buttons beside the transport */
.mp.bw .mp-screen video { filter: grayscale(1); }
.mp-ctl .mp-sound, .mp-ctl .mp-color { width: auto; padding: 4px 8px 0; }
.mp-ctl .mp-sound { min-width: 62px; margin-left: 6px; }
.mp-ctl .mp-color { min-width: 50px; }
.mp-opt { display: flex; gap: 6px; padding: 0 8px 8px; }
.mp-opt .btn { flex: 1; min-width: 0; height: 36px; padding-top: 10px; }

/* notepad */
.np { flex: 1; width: 100%; min-height: 0; padding: 2px 4px; background: #fff; box-shadow: var(--bv-field); resize: none; white-space: pre-wrap; line-height: 15px; }

/* browser, folders */
.web { flex: 1; min-height: 0; overflow: auto; margin-top: 2px; background: #fff; box-shadow: var(--bv-field); }
.web-in { padding: 14px 16px 18px; max-width: 520px; }
.web-in h1 { margin: 8px 0 6px; }
.web-in h3 { margin: 14px 0 4px; }
.web-in ul { list-style: none; }
.web-in li { margin: 4px 0; display: flex; gap: 6px; align-items: flex-start; }
.web-in li img { margin-top: -1px; }
.fview { flex: 1; min-height: 0; overflow: auto; margin-top: 2px; padding: 8px; background: #fff; box-shadow: var(--bv-field); display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px 4px; }
.fview.empty { display: block; color: #808080; }
.ficon { width: 76px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 2px; }
.ficon .ic { position: relative; }
.ficon .lb { max-width: 76px; padding: 0 2px 1px; text-align: center; overflow-wrap: anywhere; }
.ficon.sel .lb { background: #000080; color: #fff; }
.ficon.sel .ic::after { content: ""; position: absolute; inset: 0; background: var(--chk-navy) 0 0 / 2px 2px; -webkit-mask: var(--m) 0 0 / 32px 32px; mask: var(--m) 0 0 / 32px 32px; }
.ficon:focus-visible .lb { outline: 1px dotted #000; }
.thumbs { gap: 14px; padding: 14px; }
.thumb98 { width: 150px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.thumb98 .tile { display: flex; align-items: center; justify-content: center; width: 150px; height: 80px; padding: 12px; background: #000; box-shadow: inset 0 0 0 1px #808080; }
.thumb98 .tile img { max-width: 100%; max-height: 100%; image-rendering: auto; }
.thumb98 .lb { text-align: center; }

/* display properties */
.tabs { display: flex; padding: 0 0 0 2px; margin-top: 4px; position: relative; z-index: 1; }
.tab { height: 20px; padding: 3px 10px 0; margin-right: -1px; box-shadow: inset 1px 1px #fff, inset -1px 0 #808080, inset -2px 0 #000; background: #c0c0c0; position: relative; top: 2px; }
.tab.on { top: 0; height: 22px; padding: 3px 12px 0; margin: 0 -2px 0 -2px; z-index: 2; }
.tabpage { padding: 12px; box-shadow: var(--bv-win); }
.monitor { position: relative; width: 168px; height: 150px; margin: 0 auto 10px; }
.monitor .case { position: absolute; left: 14px; top: 0; width: 140px; height: 112px; padding: 10px; background: #dedac6; box-shadow: inset 0 0 0 1px #000, inset 2px 2px #f6f4e8, inset -2px -2px #a09c88; }
.monitor .scr { width: 120px; height: 90px; box-shadow: inset 0 0 0 1px #000; background: #008080 center / cover; image-rendering: pixelated; }
.monitor .neck { position: absolute; left: 64px; top: 112px; width: 40px; height: 12px; background: #a09c88; box-shadow: inset 0 0 0 1px #000; }
.monitor .foot { position: absolute; left: 34px; top: 124px; width: 100px; height: 10px; background: #dedac6; box-shadow: inset 0 0 0 1px #000; }
.lbox { height: 82px; overflow: auto; padding: 2px; background: #fff; box-shadow: var(--bv-field); }
.lbox > button { display: flex; align-items: flex-start; gap: 4px; width: 100%; height: 17px; padding: 1px 3px 0; }
.lbox > button.sel { background: #000080; color: #fff; }
.lbox > button:focus-visible { outline: 1px dotted #000; outline-offset: -1px; }
.slider { position: relative; height: 26px; margin: 4px 6px 0; }
.slider .groove { position: absolute; left: 0; right: 0; top: 10px; height: 4px; box-shadow: var(--bv-field); background: #fff; }
.slider input { position: absolute; inset: 0; width: 100%; opacity: 0; margin: 0; }
.slider .thumb { position: absolute; top: 2px; width: 11px; height: 21px; margin-left: -5px; background: #c0c0c0; box-shadow: var(--bv-btn); pointer-events: none; }
.slider .ticks { position: absolute; left: 0; right: 0; top: 24px; height: 4px; }
.slider .ticks i { position: absolute; top: 0; width: 1px; height: 4px; background: #000; }
.slider:focus-within .thumb { outline: 1px dotted #000; outline-offset: 1px; }
.sliderlbl { display: flex; justify-content: space-between; margin-top: 4px; }

/* help */
.helpapp { display: flex; flex: 1; min-height: 0; gap: 4px; padding: 4px; }
.helptoc { width: 170px; flex: none; overflow: auto; padding: 4px; background: #fff; box-shadow: var(--bv-field); }
.helptoc button { display: flex; gap: 4px; align-items: flex-start; width: 100%; padding: 1px 2px; text-align: left; }
.helptoc button > span { padding: 0 2px; }
.helptoc button.sel > span { background: #000080; color: #fff; }
.helptxt { flex: 1; overflow: auto; padding: 10px 12px; background: #fff; box-shadow: var(--bv-field); user-select: text; -webkit-user-select: text; }
.helptxt h3 { margin-bottom: 8px; }

/* ---------- boot, shut down, the meteor shower ---------- */
.boot { position: absolute; inset: 0; z-index: 10000; background: #000; color: #c0c0c0; overflow: hidden; }
.bios { position: absolute; left: 12px; top: 10px; white-space: pre; line-height: 15px; }
.bios .w { color: #fff; }
.splash { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #000; }
.splash img { flex: none; }
.splash .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(90deg, #6E45FF 0 64px, #F54B00 64px 128px, #F5BD00 128px 192px, #000080 192px 256px) 0 0 / 256px 8px; animation: bar 1s steps(32) infinite; }
@keyframes bar { to { background-position: 256px 0; } }
.boot .skip { position: absolute; right: 12px; bottom: 16px; color: #808080; }
.pboot { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.pboot .t span { color: #F5BD00; }
.safe { position: absolute; inset: 0; z-index: 10000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 20px; background: #000; color: #F54B00; text-align: center; }
.shower { position: absolute; inset: 0; z-index: 9850; pointer-events: none; }

/* ---------- Debugger (the game): the page is a canvas drawn at a whole-number size; panels sit over it ---------- */
.dbgapp { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.dbg-hud { flex: none; display: flex; gap: 4px; align-items: flex-start; margin: 4px 4px 0; }
.dbg-hud .lcd { flex: none; min-width: 58px; text-align: right; }
.dbg-hud .dbg-time { min-width: 44px; }
.dbg-time.hot { color: #ff4040; }
.dbg-time.slow { color: #00ffff; }
.dbg-mult { flex: none; height: 23px; padding: 4px 6px 0; background: #F5BD00; color: #000; font-weight: 700; box-shadow: var(--bv-btn); }
.dbg-docs { flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 4px; padding-top: 4px; }
.dbg-bar { flex: 1; min-width: 30px; height: 15px; margin-top: -1px; padding: 2px; background: #fff; box-shadow: var(--bv-in1); }
.dbg-bar > i { display: block; height: 11px; max-width: 100%; background: repeating-linear-gradient(90deg, #000080 0 6px, transparent 6px 8px); }
.dbg-bar.low > i { background: repeating-linear-gradient(90deg, #c00000 0 6px, transparent 6px 8px); }
.dbg-stage { position: relative; flex: none; align-self: center; margin: 4px; padding: 2px; background: #fff; box-shadow: var(--bv-field); }
.dbg-cv { display: block; touch-action: none; }
#root.desktop .dbg-cv { cursor: var(--c-swat, crosshair); }
#root.desktop .dbg-cv.down { cursor: var(--c-swat-down, crosshair); }
.dbg-over { position: absolute; inset: 2px; display: flex; flex-direction: column; justify-content: center; align-items: center; pointer-events: none; }
.dbg-over.bottom { justify-content: flex-end; }
.dbg-over.off { display: none; }
.dbg-panel { pointer-events: auto; display: flex; flex-direction: column; gap: 6px; width: calc(100% - 12px); max-width: 320px; margin: 6px; padding: 8px 10px 10px; background: #c0c0c0; box-shadow: var(--bv-win); }
.dbg-head { display: flex; align-items: center; gap: 8px; }
.dbg-legend { list-style: none; display: flex; flex-direction: column; gap: 3px; }
.dbg-legend li { display: flex; align-items: center; gap: 4px; min-height: 17px; }
.dbg-legend li span { margin: 1px 6px 0 2px; }
.spr { display: inline-block; flex: none; image-rendering: pixelated; }
.dbg-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.dbg-btns .btn { flex: 1 1 auto; min-width: 0; }
.dbg-btns .btn.def { flex-basis: 100%; }
.dbg-final { color: #000080; }
.dbg-top { display: flex; justify-content: space-between; gap: 8px; }
.dbg-slim { gap: 4px; padding-top: 6px; }
.dbg-slim > p { display: flex; align-items: baseline; gap: 8px; }
.dbg-new { color: #c00000; }
.dbg-check { min-height: 15px; }
.dbg-panel .link { text-align: left; }
.dbg-rows { list-style: none; display: flex; flex-direction: column; max-height: 180px; overflow-y: auto; padding: 2px 4px; background: #fff; box-shadow: var(--bv-field); }
.dbg-rows li { display: flex; gap: 6px; padding: 2px 2px 1px; }
.dbg-rows li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dbg-rows li i { font-style: normal; }
.dbg-rows li.me { background: #000080; color: #fff; }
.dbg-count { position: absolute; inset: 2px; display: flex; align-items: center; justify-content: center; font-size: 52px; line-height: 60px; font-weight: 700; color: #000080; pointer-events: none; text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff; }
.dbg-count.go { color: #F54B00; }
.dbg-banner { position: absolute; left: 2px; right: 2px; top: 8px; display: flex; flex-direction: column; align-items: center; padding: 8px 4px 6px; background: #c00000; color: #fff; font-size: 26px; line-height: 30px; font-weight: 700; text-align: center; pointer-events: none; animation: dbgblink .3s steps(2) infinite; }
@keyframes dbgblink { 50% { background: #000; } }
.dbg-tip { position: absolute; z-index: 5; max-width: 200px; padding: 4px 6px 3px; background: #ffffe1; box-shadow: inset 0 0 0 1px #000; pointer-events: none; }
.dbg-below { padding: 0 4px 8px; }
.dbg-below .dbg-panel { width: auto; max-width: none; margin: 0; }
@media (prefers-reduced-motion: reduce) { .dbg-banner { animation: none; } }

/* ---------- Pocket 98: the phone layout ---------- */
#root.pocket { display: flex; flex-direction: column; background: #008080; }
#root.pocket.wall-block { background: #008080 url(assets/wall/block.png?1) 0 0 / 64px 48px; }
#root.pocket.wall-meteors { background: #000028 url(assets/wall/meteors.png?1) center; }
.ptop { flex: none; position: relative; z-index: 20; display: flex; align-items: flex-start; gap: 6px; height: 36px; padding: 3px 3px 0 3px; background: var(--title); color: #fff; font-weight: 700; }
.pstart { flex: none; display: flex; align-items: flex-start; gap: 4px; height: 30px; padding: 7px 9px 0 7px; background: #c0c0c0; color: #000; box-shadow: var(--bv-btn); }
.pstart.on { box-shadow: var(--bv-down); padding: 8px 8px 0 8px; }
.ptitle { flex: 1; min-width: 0; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pclock { flex: none; margin: 8px 5px 0 0; font-weight: 400; }
.pclose { flex: none; width: 33px; height: 30px; background: #c0c0c0 url(assets/ui/close.png?1) 9px 8px / 16px 14px no-repeat; box-shadow: var(--bv-btn); }
.pclose:active { box-shadow: var(--bv-down); background-position: 10px 9px; }
.pmain { position: relative; flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.pbar { flex: none; position: relative; z-index: 10; display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 6px calc(6px + var(--safe-b, 0px)); background: #c0c0c0; box-shadow: inset 0 1px #dfdfdf, inset 0 2px #fff; }
.pbar .pnote { width: 100%; margin: 2px 0 0; text-align: center; }   /* a line of plain text above the buttons (the vibe check's BONUS line) */
/* the step count and progress bar above the buttons, as on the desktop (the pages whose header has the graphic instead) */
.pbar .pstep { width: 100%; display: flex; align-items: flex-start; gap: 8px; margin-bottom: -2px; }
.pbar .pstep > span { margin-top: 2px; white-space: nowrap; }
.pbar .pstep .prog { flex: 1; }
.pbar .btn { flex: 1; min-width: 0; height: 36px; padding-top: 10px; font-weight: 700; }
.pbar .btn.def:not(:disabled) { color: #000; }
.pbar .btn.narrow { flex: 0 0 auto; min-width: 84px; }
.papp { display: flex; flex-direction: column; min-height: 100%; background: #c0c0c0; }
.papp.white-bg { background: #fff; }
.phome { padding: 8px 8px 16px; max-width: 420px; margin: 0 auto; }
.pcard { position: relative; display: block; margin-bottom: 12px; }
.pcard .win { position: relative; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 4px; padding: 4px 0; }
.picon { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0; color: #fff; }
.picon .ic { position: relative; width: 64px; height: 64px; }
.picon .ic img { width: 64px; height: 64px; }
.picon .lb { padding: 0 3px 1px; text-align: center; background: var(--lbbg, transparent); }
.picon:active .lb, .picon.sel .lb { background: #000080; }
.picon:active .ic::after, .picon.sel .ic::after { content: ""; position: absolute; inset: 0; background: var(--chk-navy) 0 0 / 2px 2px; -webkit-mask: var(--m) 0 0 / 64px 64px; mask: var(--m) 0 0 / 64px 64px; }
.pmenu { position: absolute; z-index: 30; left: 3px; top: 33px; width: min(280px, calc(100% - 6px)); padding: 3px; background: #c0c0c0; box-shadow: var(--bv-win); display: flex; }
.pmenu .banner { flex: none; width: 21px; margin-right: 2px; background: #000080 url(assets/ui/banner.png?1) left bottom / 21px 300px no-repeat; }
.pmenu .items { flex: 1; min-width: 0; }
.pmenu .mi { display: flex; align-items: flex-start; gap: 10px; width: 100%; height: 40px; padding: 4px 8px 0; }
.pmenu .mi > img { width: 32px; height: 32px; }
.pmenu .mi > span { margin-top: 9px; }
.pmenu .mi:active { background: #000080; color: #fff; }
.pmenu .msep { height: 2px; margin: 4px 1px; box-shadow: var(--etch); }
.pshade { position: absolute; inset: 0; z-index: 25; }
.pdlg { position: absolute; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: 12px; background: var(--chk-black) 0 0 / 2px 2px; }
.pdlg .win { position: relative; width: 100%; max-width: 330px; }
.pdlg .mbody { max-width: none; }
.pdlg .mbtns { flex-direction: column; gap: 8px; padding: 6px 12px 12px; }
.pdlg .mbtns .btn { width: 100%; height: 36px; padding-top: 10px; }

/* the apps on a phone */
#root.pocket .wiz .wcont, #root.pocket .wiz .wbodyq { height: auto; overflow: visible; }
.pwiz { display: flex; flex-direction: column; min-height: 100%; background: #c0c0c0; }
.pwiz .pqhead { padding: 10px 12px 12px; background: #fff; box-shadow: inset 0 -1px #fff, inset 0 -2px #808080; }
.pwiz .pqhead .step { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.pwiz .pqhead .step > span { margin-top: 2px; white-space: nowrap; }
.pwiz .pqhead .step .prog { flex: 1; }
/* a phone header with a second line and the roasted doc graphic at its right, like the desktop's (the team's Microsite Edits, mobile only) */
.pwiz .pqhead.gfx { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 8px 12px; }
.pwiz .pqhead.gfx + .pqbody { padding-top: 8px; padding-bottom: 6px; }   /* with the tighter header, makes up for the taller bottom bar, so no phone newly scrolls */
.pwiz .pqhead.gfx p { margin: 4px 0 0; }
.pwiz .pqhead.gfx img { flex: none; }
.pwiz .pqbody { position: relative; padding: 12px 12px 18px; }
.pwiz .pqbody p.note { margin-bottom: 10px; }
.pwiz textarea.field { min-height: 108px; }
.pwiz .field { padding: 7px 7px 6px; height: 33px; }
.pwiz textarea.field { height: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip { height: 33px; padding: 9px 10px 0; background: #c0c0c0; box-shadow: var(--bv-btn); font-weight: 700; }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { box-shadow: var(--bv-down); background: var(--chk-white) 0 0 / 2px 2px; padding: 10px 9px 0 11px; }
.rows { display: flex; flex-direction: column; padding: 2px; background: #fff; box-shadow: var(--bv-field); }
.rows > .prow { display: flex; align-items: flex-start; gap: 10px; min-height: 36px; padding: 10px 10px 8px; text-align: left; }
.rows > .prow + .prow { box-shadow: inset 0 1px #dfdfdf; }
.rows > .prow[aria-checked="true"] { background: #000080; color: #fff; }
.rows > .prow > span { flex: 1; }
/* the phone's page picker: the pages as chips, then the picked page in a box as tall as the screen under the chips and the line (sizeBox in 98.js; a pick
   scrolls the chips to the top), which scrolls by itself (the team's Microsite Edits, 13 Nov). At its ends a swipe carries on to the page. */
.pwiz .dpick { margin-bottom: 8px; }
.pwiz .dsrc > .link { padding: 6px 0; margin: -6px 0; }
.pwiz .q-page .demb-box { flex: none; height: 240px; }
.pwiz .q-page .dqs > .qsub:first-child { margin-top: 14px; }
.pwiz .q-page .blbl { margin-top: 16px; }
.pwiz .demb-box .dv-doc { padding: 10px 10px 12px; }
.pwiz .pdonebox { display: flex; gap: 8px; align-items: flex-start; }
.pwiz .qsub { margin: 16px 0 6px; font-weight: 700; }
.pwiz .starters { gap: 6px; margin-bottom: 10px; }
.pwiz .starters .btn { height: 33px; padding: 9px 10px 0; }
.pwiz .two { display: flex; flex-direction: column; gap: 10px; }
.pwiz .hlbl { margin-top: 14px; }
.pwiz .hl { gap: 8px; margin-bottom: 8px; }
.pwiz .hl .combo { flex: none; width: 118px; }
.pwiz .hl .rm { min-width: 0; height: 33px; padding: 9px 10px 0; }
.pwiz .combo { display: block; }
.pwiz .combo::after { width: 20px; background-position: 6px 13px; }
.pwiz .combo select.field { padding-right: 26px; }
.pwiz .srow { flex-direction: column; gap: 6px; }
.pwiz .srow .combo, .pwiz .srow input.field { width: 100%; }
.pwiz .why { margin-top: 10px; }
.pwiz .rlbl { margin-top: 16px; }
.pwiz .hint { margin-top: 6px; }
.pwiz .chips { margin-bottom: 4px; }
/* the phone's This or That: the three chip pairs stacked, all left justified (Microsite Edits, mobile only, 11 Nov; they were left, centre and right), with an etched line between each pair (10 Nov) */
.pwiz .tot > .totp { padding: 8px 0; }
.pwiz .tot > .totp:first-child { padding-top: 0; }
.pwiz .tot > .totp + .totp { border-top: 1px solid #808080; box-shadow: inset 0 1px #fff; }
.pwiz .tot .totq { margin: 0 0 6px; }
.pwiz .tot .chips { margin-bottom: 0; }
.pwiz .prow.pathrow b { font-weight: 700; }
.pwiz .guessfb { margin-top: 8px; }
.pwiz .callnote { margin-top: 12px; }
.pwiz .callnote:empty { margin-top: 0; }   /* until an answer fills it, so the call page with its bottom-bar line fits a 360 x 640 phone without a scroll (the team's Microsite Edits, 11 Nov) */
.pwiz .wlbl { margin-top: 16px; }
/* the phone's 3/5: the note beside the chips when there is room (landscape), else under them */
.pwiz .clearrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-bottom: 4px; }
.pwiz .clearrow > .chips { margin-bottom: 0; }
#root.pocket .balloon { width: auto; left: 12px; right: 12px; }
#root.pocket .wheelmain { flex-direction: column; align-items: center; padding: 12px 12px 6px; }
#root.pocket .wheelside { width: 100%; }
#root.pocket .wheelside .legend { min-height: 0; }
#root.pocket .wheelside .legend ul { display: flex; flex-wrap: wrap; gap: 4px 12px; }
#root.pocket .lcd { height: 33px; padding-top: 9px; }
#root.pocket .ticketapp { padding: 12px; }
#root.pocket .mp-screen { margin: 8px 8px 0; }
#root.pocket .mp-ctl { padding: 6px 8px; gap: 6px; }
#root.pocket .mp-ctl .btn { width: 48px; height: 36px; }
#root.pocket .mp-ctl .play i { background-position: 22px 14px; }
#root.pocket .mp-ctl .pause i { background-position: 21px 14px, 25px 14px; }
#root.pocket .mp-ctl .stop i { background-position: 20px 14px; }
#root.pocket .mp-time { margin-top: 10px; }
#root.pocket .mp-seek { margin: 8px 18px 0; height: 30px; }
#root.pocket .mp-seek .groove { top: 13px; }
#root.pocket .mp-seek .thumb { top: 0; height: 29px; width: 15px; margin-left: -7px; }
#root.pocket .np { box-shadow: none; padding: 10px 12px; flex: 1; }
#root.pocket .web { margin: 0; box-shadow: none; }
#root.pocket .fview { margin: 0; box-shadow: none; }
#root.pocket .thumbs { justify-content: center; }
#root.pocket .helpapp { flex-direction: column; padding: 0; gap: 0; }
#root.pocket .helptoc { width: auto; box-shadow: var(--bv-out1); background: #c0c0c0; padding: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
#root.pocket .helptoc button { width: auto; height: 33px; padding: 9px 10px 0; box-shadow: var(--bv-btn); }
#root.pocket .helptoc button.sel { box-shadow: var(--bv-down); background: var(--chk-white) 0 0 / 2px 2px; }
#root.pocket .helptoc button.sel > span { background: none; color: #000; }
#root.pocket .helptxt { box-shadow: none; padding: 14px; }
#root.pocket .tabpage { box-shadow: none; padding: 12px; }
#root.pocket .lbox { height: auto; }
#root.pocket .lbox > button { height: 36px; padding: 10px 10px 0; }
#root.pocket .dbgapp { min-height: 100%; background: #c0c0c0; }
#root.pocket .dbg-mult { height: 33px; padding-top: 9px; }
#root.pocket .dbg-docs { padding-top: 9px; }
#root.pocket .dbg-panel .btn.big { height: 40px; padding-top: 12px; }
#root.pocket .dbg-rows li { padding: 6px 2px 5px; }

/* Meteora Docs (docs98.mjs): every page of docs.meteora.ag, copied into public98/docs by tools98/docs98.mjs. The window is Internet
   Explorer with Windows 98 Help's Contents and Search on the left; a page reads like a 1998 help page: the pixel font, bold headings,
   blue links, Courier for code, tooltip-yellow notes, buttons for the cards, group boxes for the release notes. */
.dv-wait { padding: 12px; }
.dv-fail { padding: 14px 16px; }
.dv-fail p { margin: 0 0 8px; }
.dv { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.dv .tools .tsep { flex: none; width: 2px; height: 20px; margin: 0 3px; box-shadow: inset 1px 0 #808080, inset -1px 0 #fff; }
.dv .tool[aria-pressed="true"] { box-shadow: var(--bv-in1); background: var(--chk-white) 0 0 / 2px 2px; padding: 5px 5px 0 7px; }
.dv-url { flex: 1; min-width: 0; height: 15px; padding: 0; background: none; line-height: 15px; }
.dv-main { flex: 1; min-height: 0; display: flex; margin-top: 2px; }
.dv-side { flex: none; width: var(--sidew, 220px); display: flex; flex-direction: column; min-height: 0; }
.dv-side .tabs { margin-top: 0; }
.dv-pane { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 6px; box-shadow: var(--bv-win); }
.dv-split { flex: none; width: 4px; }
#root.desktop .dv-split { cursor: col-resize; }
html.dv-sizing, html.dv-sizing * { cursor: col-resize !important; user-select: none !important; }
.dv-web { flex: 1; min-width: 0; margin-top: 0; }
.dv-toc { flex: 1; min-height: 0; overflow: auto; padding: 2px 0; background: #fff; box-shadow: var(--bv-field); }
.dv-toc ul { list-style: none; margin: 0; padding: 0; }
.dv-toc li[aria-expanded="false"] > ul { display: none; }
.dv-row { display: flex; align-items: flex-start; gap: 3px; min-width: 100%; width: max-content; padding: 1px 4px 0 calc(3px + var(--d) * 14px); white-space: nowrap; text-align: left; }
.dv-row > span { padding: 0 2px 1px; }
.dv-row.sel > span { background: #000080; color: #fff; }
.dv-row:focus-visible > span { outline: 1px dotted #000; outline-offset: -1px; }
.dv-row.sel:focus-visible > span { outline-color: #ffff00; }
.dv-row .ic16 { flex: none; margin-top: -1px; }
.dv-m { font-weight: 700; color: #000080; }
.dv-row.sel .dv-m { color: inherit; }
.dv-tog, .dv-tog0 { flex: none; width: 9px; height: 9px; margin: 3px 1px 0 0; }
.dv-tog { background: linear-gradient(#000, #000) center / 5px 1px no-repeat, #fff; box-shadow: inset 0 0 0 1px #808080; }
li[aria-expanded="false"] > .dv-row .dv-tog { background: linear-gradient(#000, #000) center / 5px 1px no-repeat, linear-gradient(#000, #000) center / 1px 5px no-repeat, #fff; }
li[aria-expanded="true"] > .dv-row .ic-c, li[aria-expanded="false"] > .dv-row .ic-o { display: none; }
.dv-find { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 4px; }
.dv-find > label { margin-top: 2px; }
.dv-qrow { display: flex; gap: 4px; }
.dv-qrow .field { flex: 1; min-width: 0; }
.dv-qrow .btn { flex: none; min-width: 0; padding: 4px 8px 0; }
.dv-qn { margin-top: 4px; }
.dv-res { flex: 1; min-height: 0; overflow: auto; padding: 2px; background: #fff; box-shadow: var(--bv-field); }
.dv-hit { display: block; width: 100%; padding: 2px 3px 4px; text-align: left; }
.dv-hit > b { display: block; }
.dv-hit > span { display: block; color: #404040; }
.dv-hit > span b { color: #000; }
.dv-hit.sel, .dv-hit.sel > span, .dv-hit.sel > span b { background: #000080; color: #fff; }

/* a page */
.dv-doc { max-width: 760px; padding: 12px 18px 18px; user-select: text; -webkit-user-select: text; -webkit-touch-callout: default; overflow-wrap: break-word; }
.dv-crumb { margin: 0 0 2px; color: #808080; }
.dv-h1 { margin: 0 0 6px; font-size: 26px; line-height: 30px; font-weight: 700; }
.dv-h1 .dv-meth { font-size: 13px; line-height: 15px; vertical-align: 6px; }
.dv-desc { margin: 0 0 12px; color: #404040; }
.dv-body p, .dv-body ul, .dv-body ol, .dv-body blockquote, .dv-body figure, .dv-body pre { margin: 0 0 10px; }
.dv-body ul { list-style: square; padding-left: 22px; }
.dv-body ol { list-style: decimal; padding-left: 26px; }
.dv-body li { margin: 0 0 3px; }
.dv-body li > ul, .dv-body li > ol, .dv-body li > p { margin: 3px 0; }
.dv-body h2 { margin: 22px 0 8px; padding-bottom: 4px; color: #000080; font-weight: 700; border-bottom: 1px solid #808080; box-shadow: 0 1px #fff; }
.dv-body h3 { margin: 16px 0 6px; font-weight: 700; }
.dv-body h4, .dv-body h5, .dv-body h6 { margin: 12px 0 4px; font-weight: 700; color: #404040; }
.dv-body a, .dv-desc a { color: #0000ff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
#root.desktop .dv-doc a[href] { cursor: var(--c-hand, pointer); }
.dv-body code, .dv-desc code { padding: 0 2px; background: #eeeeee; font: 12px/15px 'Courier New', Courier, monospace; }
.dv-body em, .dv-body i { font-style: italic; }
.dv-body hr { height: 2px; margin: 14px 0; border: 0; box-shadow: var(--etch); }
.dv-body blockquote { padding: 2px 10px; box-shadow: inset 2px 0 #808080; }
.dv-body img.dv-img { display: block; max-width: 100%; height: auto; margin: 0 0 10px; border: 1px solid #808080; image-rendering: auto; }
.dv-center { text-align: center; }
.dv-center > img.dv-img, .dv-center > p > img.dv-img { margin-left: auto; margin-right: auto; }
.dv-b, .dv-lg { font-weight: 700; }
.dv-noimg { color: #808080; }
.dv-i { display: inline-block; }
.dv-code { margin: 0 0 10px; padding: 2px; background: #fff; box-shadow: var(--bv-field); }
.dv-codeh { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; padding: 2px 2px 2px 6px; background: #c0c0c0; }
.dv-codeh > span { padding-top: 3px; color: #404040; }
.dv-copy { flex: none; height: 19px; padding: 2px 8px 0; background: #c0c0c0; box-shadow: var(--bv-btn); }
.dv-copy:active { box-shadow: var(--bv-down); }
.dv-code pre { margin: 0; padding: 6px 8px 8px; overflow: auto; font: 13px/16px 'Courier New', Courier, monospace; white-space: pre; tab-size: 2; }
.dv-code pre code { padding: 0; background: none; font: inherit; }
.dv-code .token.keyword, .dv-code .token.boolean, .dv-code .token.builtin, .dv-code .token.important, .dv-code .token.selector { color: #0000ff; }
.dv-code .token.string, .dv-code .token.char, .dv-code .token.template-string, .dv-code .token.attr-value, .dv-code .token.url { color: #800000; }
.dv-code .token.comment, .dv-code .token.prolog, .dv-code .token.doctype { color: #008000; }
.dv-code .token.number, .dv-code .token.constant { color: #008080; }
.dv-code .token.function, .dv-code .token.class-name { color: #000080; }
.dv-code .token.property, .dv-code .token.attr-name, .dv-code .token.variable, .dv-code .token.parameter { color: #800080; }
.dv-code .token.deleted { color: #800000; }
.dv-code .token.inserted { color: #008000; }
.dv-math { margin: 0 0 10px; padding: 6px 4px; overflow-x: auto; overflow-y: hidden; }
.dv-math math { font-size: 16px; }
.dv-tw { margin: 0 0 10px; overflow-x: auto; }
.dv-t { border-collapse: collapse; }
.dv-t th, .dv-t td { padding: 3px 6px 4px; border: 1px solid #808080; text-align: left; vertical-align: top; }
.dv-t th { background: #c0c0c0; font-weight: 700; }
.dv-t p { margin: 0 0 4px; }
.dv-t td > :last-child, .dv-t th > :last-child { margin-bottom: 0; }
.dv-t img.dv-img { margin: 4px auto; border: 0; }
.dv-call { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 10px; padding: 6px 10px 6px 8px; background: #ffffe1; box-shadow: inset 0 0 0 1px #000; }
.dv-call > .dv-i { flex: none; }
.dv-cb { flex: 1; min-width: 0; }
.dv-cb > :last-child { margin-bottom: 0; }
.dv-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; margin: 0 0 10px; }
.dv-cards[data-cols="1"] { grid-template-columns: minmax(0, 1fr); }
.dv-card { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 6px; row-gap: 3px; align-content: start; padding: 6px 8px 7px 6px; background: #c0c0c0; box-shadow: var(--bv-btn); color: #000; }
.dv-body a.dv-card { color: #000; text-decoration: none; }
#root.desktop .dv-doc a.dv-card { cursor: var(--c-hand, pointer); }
a.dv-card:active { box-shadow: var(--bv-down); }
.dv-card > .dv-i { grid-row: 1 / span 2; }
.dv-ct { font-weight: 700; }
.dv-cx p { margin: 0 0 4px; }
.dv-cx > :last-child { margin-bottom: 0; }
.dv-acc { margin: 0 0 4px; }
.dv-acc > summary { display: flex; align-items: flex-start; gap: 6px; padding: 2px 0 3px; font-weight: 700; list-style: none; }
.dv-acc > summary::-webkit-details-marker { display: none; }
.dv-acc > summary::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: 3px; box-shadow: inset 0 0 0 1px #808080; background: linear-gradient(#000, #000) center / 5px 1px no-repeat, linear-gradient(#000, #000) center / 1px 5px no-repeat, #fff; }
.dv-acc[open] > summary::before { background: linear-gradient(#000, #000) center / 5px 1px no-repeat, #fff; }
.dv-accb { padding: 2px 0 6px 15px; }
.dv-accb > :last-child { margin-bottom: 0; }
.dv-accs { margin: 0 0 10px; }
.dv-acc.dv-sub > summary { font-weight: 400; color: #000080; }
.dv-acc.dv-sub > .dv-sch { margin-left: 15px; }
.dv-tabs { margin: 0 0 10px; }
.dv-tabbar { display: flex; flex-wrap: wrap; padding: 0 0 0 2px; position: relative; z-index: 1; }
.dv-tabb { position: relative; top: 2px; height: 20px; padding: 3px 10px 0; margin-right: -1px; background: #c0c0c0; box-shadow: inset 1px 1px #fff, inset -1px 0 #808080, inset -2px 0 #000; }
.dv-tabb[aria-selected="true"] { top: 0; z-index: 2; height: 22px; padding: 3px 12px 0; margin: 0 -2px; }
.dv-tabp { padding: 10px 10px 2px; background: #c0c0c0; box-shadow: var(--bv-win); }
.dv-tabp > :last-child { margin-bottom: 8px; }
.dv-body .dv-steps { margin: 0 0 10px; padding: 0; list-style: none; counter-reset: dvst; }
.dv-step { position: relative; padding: 0 0 4px 32px; counter-increment: dvst; }
.dv-step::before { content: counter(dvst); position: absolute; left: 0; top: 0; width: 22px; height: 20px; padding-top: 3px; background: #c0c0c0; box-shadow: var(--bv-btn); font-weight: 700; text-align: center; }
.dv-stept { margin: 3px 0 6px; font-weight: 700; }
.dv-stepb > :last-child { margin-bottom: 6px; }
.dv-upd { position: relative; margin: 20px 0 12px; padding: 14px 10px 2px; box-shadow: inset 0 0 0 1px #808080, inset 1px 1px #fff; }
.dv-updh { position: absolute; left: 8px; top: -8px; max-width: calc(100% - 16px); padding: 0 4px; background: #fff; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-updd { color: #404040; }
.dv-frame { margin: 0 0 10px; }
.dv-frame > img.dv-img { margin-bottom: 4px; }
.dv-frame figcaption { color: #404040; text-align: center; }
.dv-vid { margin: 0 0 10px; padding: 2px; background: #000; box-shadow: var(--bv-field); }
.dv-vid video { display: block; width: 100%; height: auto; }
.dv-yt { position: relative; max-width: 560px; aspect-ratio: 16 / 9; margin: 0 0 10px; padding: 2px; background: #000; box-shadow: var(--bv-field); }
.dv-yt img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.dv-yt iframe { display: block; width: 100%; height: 100%; border: 0; }
.dv-ytplay { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px; background: #c0c0c0; box-shadow: var(--bv-btn); }
.dv-ytplay::after { content: ""; position: absolute; left: 26px; top: 14px; border-left: 14px solid #000; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.dv-ytplay:active { box-shadow: var(--bv-down); }
.dv-ytt { position: absolute; left: 2px; right: 2px; top: 2px; padding: 3px 6px 2px; background: var(--title); color: #fff; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-ep { display: flex; align-items: flex-start; gap: 6px; margin: 0 0 10px; padding: 4px 6px; background: #fff; box-shadow: var(--bv-field); overflow-x: auto; }
.dv-ep code { padding: 1px 0 0; background: none; white-space: nowrap; }
.dv-meth { display: inline-block; padding: 1px 4px 0; background: #000080; color: #fff; font-weight: 700; }
.dv-post { background: #008000; }
.dv-put, .dv-patch { background: #808000; }
.dv-delete { background: #800000; }
.dv-base { color: #404040; }
.dv-body .dv-sch { margin: 0 0 10px; padding: 0; list-style: none; }
.dv-body .dv-sch > li { margin: 0; padding: 5px 0 4px; border-top: 1px solid #dfdfdf; }
.dv-body .dv-sch .dv-sch { margin: 4px 0 0 14px; }
.dv-body code.dv-f { padding: 0; background: none; font-weight: 700; }
.dv-ty, .dv-in { color: #808080; }
.dv-in::before { content: "in "; }
.dv-rq { color: #800000; font-weight: 700; }
.dv-fd { margin-top: 2px; }
.dv-resp { margin: 0 0 12px; }
.dv-st { padding: 0 4px; background: #008000; color: #fff; font-weight: 700; }
.dv-st4, .dv-st5 { background: #800000; }
.dv-pn { display: flex; justify-content: space-between; gap: 8px; margin: 22px 0 8px; padding-top: 10px; box-shadow: inset 0 1px #808080, inset 0 2px #fff; }
.dv-pn .btn { min-width: 0; max-width: 48%; }
.dv-pn .btn > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-from { margin-top: 6px; color: #808080; }
mark.dv-hl { background: #000080; color: #fff; }

/* Meteora Docs on a phone: one column, the page or Contents and Search */
.papp.dvp { background: #fff; }
#root.pocket .dvp-page .dv-doc { padding: 12px 10px 16px; }
#root.pocket .dvp-nav { min-height: 100%; padding: 10px 8px 12px; background: #c0c0c0; }
#root.pocket .dvp-nav .dv-find { gap: 6px; }
#root.pocket .dvp-nav .dv-qrow .field { height: 34px; padding: 9px 6px 0; }
#root.pocket .dvp-nav .dv-qrow .btn { height: 34px; padding-top: 9px; min-width: 76px; font-weight: 700; }
#root.pocket .dvp-nav .dv-res { flex: none; }
#root.pocket .dvp-h { margin: 14px 0 6px; }
#root.pocket .dv-toc { flex: none; overflow: visible; }
#root.pocket .dv-row { width: 100%; min-height: 30px; padding: 7px 6px 0 calc(6px + var(--d) * 14px); white-space: normal; }
#root.pocket .dv-row > span { padding-bottom: 3px; }
#root.pocket .dv-hit { padding: 8px 6px; }
#root.pocket .dv-cards { grid-template-columns: minmax(0, 1fr); }
#root.pocket .dv-pn { flex-direction: column; }
#root.pocket .dv-pn .btn { max-width: none; height: 36px; padding-top: 10px; }
#root.pocket .dv-tabb { height: 30px; padding: 8px 10px 0; }
#root.pocket .dv-tabb[aria-selected="true"] { height: 32px; padding: 8px 12px 0; }
#root.pocket .dv-acc > summary { padding: 9px 0 8px; }
#root.pocket .dv-acc > summary::before { margin-top: 3px; }
#root.pocket .dv-copy { height: 28px; padding: 7px 10px 0; }
#root.pocket .dv-codeh > span { padding-top: 7px; }
#root.pocket .dv-ytplay { width: 72px; height: 50px; margin: -25px 0 0 -36px; }
#root.pocket .dv-ytplay::after { left: 30px; top: 17px; }

/* ---------------------------------------------------------------- the Dev track's docs box, dressed as docs.meteora.ag itself
   The team (15 Nov 2026): "is it possible to have the original look of the docs embedded? so it looks exactly like" the docs site.
   The live site can't be shown inside another site (docs.meteora.ag sends X-Frame-Options DENY), so the copy in the box (.dlook,
   docs98.mjs embed) takes the site's look as measured from it on a phone: dark (#0e0a0b) with the orange glow at the top, Inter, the
   group in Meteora orange over the title, cards with an icon (Lucide's nearest match: the site loads its own from its server), notes in
   their colours, code in VS Code's Dark+, and the docs' own logo along the top (.dl-bar). Inside the box the 98 zoom is undone (--zi,
   98.js fit()), so a px here is a real px, as on the site. The 98 frame round the box stays; the Meteora Docs window keeps the 98 look. */
@font-face { font-family: 'Inter'; src: url(fonts/inter-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(fonts/inter-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(fonts/inter-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(fonts/inter-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
.dv-ci { display: none; }
#root .demb-box.dlook { background: #0e0a0b; }
#root .demb-box.dlook:focus-visible { outline-color: #fff; }
#root .demb-box.dlook::-webkit-scrollbar { width: 8px; }   /* the box's own scrollbar: slim and dark, like the site's */
#root .demb-box.dlook::-webkit-scrollbar-track { background: #0e0a0b; }
#root .demb-box.dlook::-webkit-scrollbar-thumb { border: 2px solid #0e0a0b; border-radius: 4px; background: #3a3533; box-shadow: none; }
#root .demb-box.dlook::-webkit-scrollbar-button { display: none; }
/* the logo bar, 52 px tall as on the site; it stays at the top while the page scrolls under it, and draws the frame's top and sides it covers */
#root .dlook > .dl-bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; height: calc(52px * var(--zi, 1)); padding: 0 calc(20px * var(--zi, 1)); background: #0e0a0b;
  box-shadow: inset 1px 1px #808080, inset 2px 2px #000, inset -1px 0 #fff, inset -2px 0 #dfdfdf, inset 0 -1px rgba(255, 255, 255, .1); }
#root .dlook .dl-logo { display: block; width: auto; height: calc(20px * var(--zi, 1)); image-rendering: auto; }
#root .dlook .dl-name { font: 600 calc(16px * var(--zi, 1)) Inter, system-ui, sans-serif; color: #fff; -webkit-font-smoothing: antialiased; }
/* the page */
#root .dlook .dv-doc { zoom: var(--zi, 1); container: dl / inline-size; max-width: none; padding: 32px 20px 28px;
  font: 400 16px/28px Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; color: #a6a09e;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-kerning: normal; font-variant-ligatures: normal; text-rendering: optimizeLegibility;
  background: radial-gradient(ellipse 80% 420px at 58% 0, rgba(245, 75, 0, .1), rgba(245, 75, 0, 0)) no-repeat; }
#root .dlook .dv-doc ::selection { background: rgba(245, 75, 0, .35); color: #fff; }
#root .dlook .dv-doc ::-webkit-scrollbar { width: 8px; height: 8px; }
#root .dlook .dv-doc ::-webkit-scrollbar-track, #root .dlook .dv-doc ::-webkit-scrollbar-corner { background: transparent; }
#root .dlook .dv-doc ::-webkit-scrollbar-thumb { border-radius: 4px; background: rgba(255, 255, 255, .15); box-shadow: none; }
#root .dlook .dv-doc ::-webkit-scrollbar-button { display: none; }
#root .dlook .dv-wait { padding: 0; font-size: 14px; line-height: 20px; color: #a6a09e; }
#root .dlook .dv-fail { padding: 0; color: #e5e0de; }
#root .dlook .dv-crumb { margin: 0 0 10px; font-size: 14px; line-height: 20px; font-weight: 600; color: #f54b00; }
#root .dlook .dv-h1 { margin: 0; font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -.025em; color: #e5e0de; overflow-wrap: anywhere; }
#root .dlook .dv-desc { margin: 8px 0 0; font-size: 18px; line-height: 28px; color: #a6a09e; }
#root .dlook .dv-body { margin-top: 32px; }
@container dl (min-width: 600px) { #root .dlook .dv-h1 { font-size: 36px; line-height: 40px; } }
#root .dlook .dv-body p, #root .dlook .dv-body ul, #root .dlook .dv-body ol, #root .dlook .dv-body blockquote, #root .dlook .dv-body figure { margin: 20px 0; }
#root .dlook .dv-body > :first-child, #root .dlook .dv-cb > :first-child, #root .dlook .dv-cx > :first-child, #root .dlook .dv-accb > :first-child, #root .dlook .dv-tabp > :first-child { margin-top: 0; }
#root .dlook .dv-cb > :last-child, #root .dlook .dv-cx > :last-child, #root .dlook .dv-accb > :last-child, #root .dlook .dv-tabp > :last-child, #root .dlook .dv-stepb > :last-child { margin-bottom: 0; }
#root .dlook .dv-body b, #root .dlook .dv-body strong, #root .dlook .dv-desc b, #root .dlook .dv-desc strong { font-weight: 600; color: #faf5f2; }
#root .dlook .dv-body a, #root .dlook .dv-desc a { color: #faf5f2; font-weight: 600; text-decoration: none; border-bottom: 1px solid #f54b00; }
#root.desktop .dlook .dv-body a:hover { border-bottom-width: 2px; }
#root .dlook .dv-body h2 { margin: 36px 0 18px; padding: 0; border: 0; box-shadow: none; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -.025em; color: #fff; }
#root .dlook .dv-body h3 { margin: 32px 0 14px; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -.025em; color: #faf5f2; }
#root .dlook .dv-body h4, #root .dlook .dv-body h5, #root .dlook .dv-body h6 { margin: 24px 0 8px; font-size: 16px; line-height: 24px; font-weight: 600; color: #faf5f2; }
#root .dlook .dv-body ul { padding: 0; list-style: none; }
#root .dlook .dv-body ul > li { position: relative; margin: 8px 0; padding-left: 32px; }
#root .dlook .dv-body ul > li::before { content: ""; position: absolute; left: 8px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: #57524f; }
#root .dlook .dv-body ol { padding-left: 26px; list-style: decimal; }
#root .dlook .dv-body ol > li { margin: 8px 0; padding-left: 6px; }
#root .dlook .dv-body ol > li::marker { color: #a6a09e; }
#root .dlook .dv-body li > ul, #root .dlook .dv-body li > ol, #root .dlook .dv-body li > p { margin: 8px 0; }
#root .dlook .dv-body code, #root .dlook .dv-desc code { padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .05); color: #e5e0de;
  font: 500 .875em/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
#root .dlook .dv-body em, #root .dlook .dv-body i { font-style: italic; }
#root .dlook .dv-body hr { height: 0; margin: 32px 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .1); box-shadow: none; }
#root .dlook .dv-body blockquote { padding: 0 0 0 16px; border-left: 2px solid rgba(255, 255, 255, .2); box-shadow: none; }
#root .dlook .dv-math { color: #e5e0de; }
#root .dlook .dv-noimg { color: #8b8583; }
#root .dlook .dv-ci { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
/* code: a rounded block, the Copy button a small square at its top right (a tick once copied); a block with a file name shows it over the code */
#root .dlook .dv-code { position: relative; margin: 20px 0 32px; padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: #0b0c0e; box-shadow: none; }
#root .dlook .dv-codeh { position: absolute; top: 12px; right: 16px; z-index: 1; display: block; padding: 0; background: none; }
#root .dlook .dv-codeh > span { display: none; }
#root .dlook .dv-codeh:not([data-t]) { right: 0; padding: 0 16px 0 24px; background: linear-gradient(90deg, rgba(11, 12, 14, 0), #0b0c0e 22px); }   /* the code fades out under the button, as on the site */
#root .dlook .dv-codeh[data-t] { position: static; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px 10px 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
#root .dlook .dv-codeh[data-t] > span { display: block; min-width: 0; padding: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 16px; font-weight: 500; color: #e5e0de; }
#root .dlook .dv-copy { position: relative; display: block; flex: none; width: 26px; height: 26px; padding: 0; overflow: hidden; border-radius: 6px; background: #262626; box-shadow: none; font-size: 0; line-height: 0; color: transparent; }
#root .dlook .dv-copy::before { content: ""; position: absolute; left: 5px; top: 5px; width: 16px; height: 16px; background: rgba(255, 255, 255, .4);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='14' x='8' y='8' rx='2' ry='2'/%3E%3Cpath d='M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='14' x='8' y='8' rx='2' ry='2'/%3E%3Cpath d='M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2'/%3E%3C/svg%3E") center / 16px 16px no-repeat; }
#root .dlook .dv-copy[data-done]::before { background: #86efac;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
#root.desktop .dlook .dv-copy:hover::before { background: rgba(255, 255, 255, .6); }
#root .dlook .dv-copy:active { box-shadow: none; }
#root .dlook .dv-code pre { margin: 0; padding: 14px 16px; overflow: auto; white-space: pre; tab-size: 2; color: #d4d4d4; font: 400 14px/24px ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; }
#root .dlook .dv-codeh:not([data-t]) + pre { padding-right: 52px; }
#root .dlook .dv-code pre code { padding: 0; border-radius: 0; background: none; color: inherit; font: inherit; }
#root .dlook .dv-code .token.comment, #root .dlook .dv-code .token.prolog, #root .dlook .dv-code .token.doctype, #root .dlook .dv-code .token.cdata { color: #6a9955; }
#root .dlook .dv-code .token.keyword, #root .dlook .dv-code .token.boolean, #root .dlook .dv-code .token.important, #root .dlook .dv-code .token.selector { color: #569cd6; }
#root .dlook .dv-code .token.keyword.control-flow { color: #c586c0; }
#root .dlook .dv-code .token.string, #root .dlook .dv-code .token.char, #root .dlook .dv-code .token.template-string, #root .dlook .dv-code .token.attr-value, #root .dlook .dv-code .token.url, #root .dlook .dv-code .token.regex { color: #ce9178; }
#root .dlook .dv-code .token.number { color: #b5cea8; }
#root .dlook .dv-code .token.constant { color: #4fc1ff; }
#root .dlook .dv-code .token.function { color: #dcdcaa; }
#root .dlook .dv-code .token.class-name, #root .dlook .dv-code .token.builtin { color: #4ec9b0; }
#root .dlook .dv-code .token.property, #root .dlook .dv-code .token.attr-name, #root .dlook .dv-code .token.variable, #root .dlook .dv-code .token.parameter { color: #9cdcfe; }
#root .dlook .dv-code .token.operator, #root .dlook .dv-code .token.punctuation { color: #d4d4d4; }
#root .dlook .dv-code .token.deleted { color: #ce9178; }
#root .dlook .dv-code .token.inserted { color: #b5cea8; }
/* notes: Note, Info, Tip, Warning (and Check, Danger), each in the site's colours, with its icon */
#root .dlook .dv-call { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0; padding: 16px 20px; border: 1px solid #404040; border-radius: 16px; background: rgba(255, 255, 255, .1); box-shadow: none; color: #d4d4d4; font-size: 14px; line-height: 20px; }
#root .dlook .dv-call > .dv-i { display: none; }
#root .dlook .dv-call > .dv-ci { display: block; flex: none; width: 20px; height: 20px; stroke-width: 1.75; }
#root .dlook .dv-note > .dv-ci { width: 16px; height: 16px; margin: 2px; }
#root .dlook .dv-tip > .dv-ci, #root .dlook .dv-check > .dv-ci { width: 18px; height: 18px; margin: 1px; }
#root .dlook .dv-note { border-color: #1e3a8a; background: rgba(21, 93, 252, .2); color: #93c5fd; }
#root .dlook .dv-tip, #root .dlook .dv-check { border-color: #14532d; background: rgba(0, 166, 62, .2); color: #86efac; }
#root .dlook .dv-warn { border-color: #713f12; background: rgba(208, 135, 0, .2); color: #fde047; }
#root .dlook .dv-danger { border-color: #7f1d1d; background: rgba(231, 0, 11, .2); color: #fca5a5; }
#root .dlook .dv-cb { flex: 1; min-width: 0; }
#root .dlook .dv-cb p, #root .dlook .dv-cb ul, #root .dlook .dv-cb ol { margin: 12px 0; }
#root .dlook .dv-call .dv-body a, #root .dlook .dv-cb a { color: inherit; border-bottom-color: currentColor; }
#root .dlook .dv-cb b, #root .dlook .dv-cb strong { color: inherit; }
/* cards: one column in the box (two when it is wide), the icon in Meteora orange over the title */
#root .dlook .dv-cards { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 16px; row-gap: 0; margin: 20px 0; }
@container dl (min-width: 672px) {
  #root .dlook .dv-cards:not([data-cols="1"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #root .dlook .dv-cards[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #root .dlook .dv-cards[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
#root .dlook .dv-card, #root .dlook .dv-body a.dv-card { display: block; margin: 8px 0; padding: 20px 24px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: #0e0a0b; box-shadow: none; color: #a6a09e; font-weight: 400; }
#root.desktop .dlook .dv-body a.dv-card:hover { border-color: #f54b00; }
#root .dlook a.dv-card:active { box-shadow: none; }
#root .dlook .dv-card > .dv-i { display: none; }
#root .dlook .dv-card > .dv-ci { display: block; width: 24px; height: 24px; margin: 0 0 16px; color: #f54b00; }
#root .dlook .dv-ct { display: block; font-size: 16px; line-height: 24px; font-weight: 600; color: #fff; }
#root .dlook .dv-body .dv-ct a { color: #fff; }
#root .dlook .dv-cx { margin-top: 4px; font-size: 16px; line-height: 24px; color: #a6a09e; }
#root .dlook .dv-cx p, #root .dlook .dv-cx ul, #root .dlook .dv-cx ol { margin: 8px 0; }
/* accordions */
#root .dlook .dv-accs { margin: 20px 0; }
#root .dlook .dv-acc { margin: 0 0 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: #0b0c0e; }
#root .dlook .dv-acc > summary { display: flex; align-items: center; gap: 12px; padding: 14px 20px; cursor: pointer; list-style: none; font-size: 16px; line-height: 24px; font-weight: 500; color: #e5e0de; }
#root .dlook .dv-acc > summary::before { content: ""; flex: none; width: 0; height: 0; margin: 0 3px 0 5px; border-left: 6px solid #a6a09e; border-top: 4px solid transparent; border-bottom: 4px solid transparent; background: none; box-shadow: none; transition: transform .2s; }
#root .dlook .dv-acc[open] > summary::before { transform: rotate(90deg); }
#root.desktop .dlook .dv-acc > summary:hover { background: #262626; }
#root .dlook .dv-accb { padding: 0 24px 16px; }
#root .dlook .dv-acc.dv-sub { margin: 6px 0 0; border: 0; border-radius: 0; background: none; }
#root .dlook .dv-acc.dv-sub > summary { gap: 8px; padding: 2px 0; font-size: 14px; line-height: 20px; color: #a6a09e; }
#root.desktop .dlook .dv-acc.dv-sub > summary:hover { background: none; color: #e5e0de; }
#root .dlook .dv-acc.dv-sub > .dv-sch { margin-left: 16px; }
/* tabs: a line of names, the open one in orange and underlined */
#root .dlook .dv-tabs { margin: 20px 0; }
#root .dlook .dv-tabbar { display: flex; flex-wrap: nowrap; gap: 24px; margin: 0 0 24px; padding: 0 0 1px; overflow-x: auto; border-bottom: 1px solid rgba(232, 227, 225, .1); }
#root .dlook .dv-tabb, #root .dlook .dv-tabb[aria-selected="true"] { position: static; top: auto; z-index: auto; flex: none; height: auto; margin: 0 0 -1px; padding: 12px 0 10px; background: none; box-shadow: none;
  border-bottom: 1px solid transparent; white-space: nowrap; font-size: 14px; line-height: 24px; font-weight: 600; color: #e5e0de; }
#root .dlook .dv-tabb[aria-selected="true"] { color: #f54b00; border-bottom-color: #f54b00; }
#root .dlook .dv-tabp { padding: 0; background: none; box-shadow: none; }
/* steps: numbers in circles on a thin line */
#root .dlook .dv-body .dv-steps { margin: 40px 0 24px 14px; padding: 0; list-style: none; }
#root .dlook .dv-body .dv-steps > .dv-step { position: relative; margin: 0; padding: 0 0 20px 32px; }
#root .dlook .dv-step::before { content: counter(dvst); position: absolute; left: -14px; top: 8px; width: 28px; height: 28px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); box-shadow: none;
  font-size: 12px; line-height: 28px; font-weight: 600; color: #fafafa; text-align: center; }
#root .dlook .dv-step::after { content: ""; position: absolute; left: -.5px; top: 44px; bottom: 0; width: 1px; background: rgba(255, 255, 255, .1); }
#root .dlook .dv-body .dv-stept { margin: 8px 0 0;font-size: 16px; line-height: 28px; font-weight: 600; color: #e5e0de; }
#root .dlook .dv-stepb > :first-child { margin-top: 8px; }
/* tables */
#root .dlook .dv-tw { margin: 20px 0; overflow-x: auto; }
#root .dlook .dv-t { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
#root .dlook .dv-t th, #root .dlook .dv-t td { padding: 8px 8px 8px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); text-align: left; vertical-align: top; }
#root .dlook .dv-t th { padding-top: 0; background: none; border-bottom-color: rgba(255, 255, 255, .14); font-weight: 600; color: #fff; }
#root .dlook .dv-t td { min-width: 150px; color: #a6a09e; }
#root .dlook .dv-t p { margin: 0 0 8px; }
/* pictures, frames and clips */
#root .dlook .dv-body img.dv-img { margin: 32px auto; border: 0; border-radius: 8px; image-rendering: auto; }
#root .dlook .dv-t img.dv-img { margin: 4px 0; }
#root .dlook .dv-frame { margin: 32px 0; padding: 8px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; }
#root .dlook .dv-frame img.dv-img { margin: 0 auto; }
#root .dlook .dv-frame figcaption { margin-top: 8px; font-size: 14px; line-height: 20px; color: #a6a09e; text-align: center; }
#root .dlook .dv-vid { margin: 32px 0; padding: 0; overflow: hidden; border-radius: 8px; background: none; box-shadow: none; }
#root .dlook .dv-yt { margin: 32px 0; padding: 0; overflow: hidden; border-radius: 16px; box-shadow: none; }
#root .dlook .dv-ytplay { width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 14px; background: rgba(0, 0, 0, .75); box-shadow: none; }
#root .dlook .dv-ytplay::after { left: 27px; top: 15px; border-left: 16px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
#root .dlook .dv-ytt { left: 0; right: 0; top: 0; padding: 10px 12px 16px; background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)); font-size: 14px; line-height: 20px; font-weight: 500; }
/* the API pages: the endpoint, its fields, the answers */
#root .dlook .dv-ep { align-items: center; gap: 8px; margin: 20px 0; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: #0b0c0e; box-shadow: none; }
#root .dlook .dv-body .dv-ep code { padding: 0; background: none; font-size: 14px; }
#root .dlook .dv-meth { padding: 0 8px; border-radius: 8px; background: rgba(34, 197, 94, .2); font-size: 12px; line-height: 20px; font-weight: 600; color: #4ade80; }
#root .dlook .dv-post { background: rgba(59, 130, 246, .2); color: #60a5fa; }
#root .dlook .dv-put { background: rgba(234, 179, 8, .2); color: #facc15; }
#root .dlook .dv-patch { background: rgba(249, 115, 22, .2); color: #fb923c; }
#root .dlook .dv-delete { background: rgba(239, 68, 68, .2); color: #f87171; }
#root .dlook .dv-h1 .dv-meth { font-size: 14px; line-height: 24px; letter-spacing: 0; vertical-align: 5px; }
#root .dlook .dv-base { color: #a6a09e; }
#root .dlook .dv-body .dv-sch { margin: 12px 0 20px; padding: 0; }
#root .dlook .dv-body .dv-sch > li { margin: 0; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
#root .dlook .dv-body .dv-sch > li::before { content: none; }
#root .dlook .dv-body .dv-sch .dv-sch { margin: 8px 0 0 16px; }
#root .dlook .dv-body code.dv-f { padding: 0; background: none; font-weight: 600; color: #f54b00; }
#root .dlook .dv-ty, #root .dlook .dv-in { padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .05); font-size: 12px; line-height: 18px; color: #a6a09e; }
#root .dlook .dv-rq { font-size: 12px; font-weight: 500; color: #f87171; }
#root .dlook .dv-fd { margin-top: 6px; font-size: 14px; line-height: 22px; }
#root .dlook .dv-resp { margin: 20px 0; }
#root .dlook .dv-st { padding: 0 8px; border-radius: 8px; background: rgba(34, 197, 94, .2); font-weight: 600; color: #4ade80; }
#root .dlook .dv-st4, #root .dlook .dv-st5 { background: rgba(239, 68, 68, .2); color: #f87171; }
/* a changelog's updates */
#root .dlook .dv-upd { margin: 32px 0; padding: 0; box-shadow: none; }
#root .dlook .dv-updh { position: static; display: inline-block; max-width: 100%; margin: 0 0 8px; padding: 2px 10px; border-radius: 9999px; background: rgba(245, 75, 0, .15); font-size: 14px; line-height: 20px; font-weight: 600; color: #f54b00; }
#root .dlook .dv-body .dv-updd { margin: 0 0 8px;font-size: 14px; line-height: 20px; color: #a6a09e; }
/* where the copy comes from, under the page */
#root .dlook .dv-from { margin: 40px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; line-height: 20px; color: #8b8583; }

@media print {
  #root { display: none !important; }
  #print { display: block !important; padding: 24px; }
}
#print { display: none; }
@media (prefers-reduced-motion: reduce) { .splash .bar, .sendanim .paper { animation: none; } }

/* the ticket's claim (the USDC prize wheel, 19 Nov): the email the USDC goes to, and Claim */
.cert .claim { margin-top: 10px; }
.cert .claim .cert-say { margin-top: 0; }
.cert .claimrow { display: flex; gap: 6px; margin-top: 6px; text-align: left; }
.cert .claimrow .field { flex: 1; min-width: 0; }
.cert .claimrow .btn { min-width: 64px; }
.cert .claimnote { margin-top: 4px; }
#root.pocket .cert .claimrow .field { height: 33px; padding: 9px 6px; }
#root.pocket .cert .claimrow .btn { height: 33px; padding-top: 9px; font-weight: 700; }
