/* Home page (index.html). Sections appear in page order. */

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1fr 380px; gap: 64px; padding: 88px 0 96px; align-items: end; }
/* faint grid that fades out at the edges: the "under construction" touch of the hero */
.hero::before { content: ""; position: absolute; inset: 24px -32px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 72%); }
h1 { font: 700 clamp(60px, 8.4vw, 108px)/.9 var(--sans); letter-spacing: -.055em; margin: 22px 0 26px; }
h1 span { color: var(--cat); }
.lead { color: var(--soft); max-width: 580px; font-size: 18px; }
.role { margin-top: 32px; font: 12px/1.7 var(--mono); color: var(--soft); }
.cred { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 4px 10px 4px 6px; border: 1px solid var(--line-2); font: 11px/1 var(--mono); color: var(--ink); }
.cred img { display: block; width: 22px; height: 22px; }
.cred:hover { border-color: var(--accent); }

.hero-aside { display: flex; flex-direction: column; gap: 18px; }
.status { display: flex; gap: 8px; align-items: center; font: 12px/1 var(--mono); color: var(--mute); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 14px var(--ok); }
.hero-contact { margin: 38px 0 18px; display: flex; flex-direction: column; gap: 7px; font: 12px/1.3 var(--mono); color: var(--mute); }
.hero-contact .micro { margin-bottom: 4px; }
.hero-contact a { color: var(--ink); }
.hero-contact a:hover { color: var(--accent); }

.terminal { position: relative; background: var(--term-bg); border: 1px solid var(--term-line); border-radius: 8px; min-height: 200px; padding: 12px 14px; overflow: hidden; }
.terminal-top { font: 11px/1 var(--mono); color: var(--term-mute); }
.terminal p { margin-top: 30px; font: 13px/1.7 var(--mono); color: var(--term-ink); }
.terminal p b { color: var(--term-accent); font-weight: 400; }
.terminal-stack { display: block; margin-top: 12px; font: 10px/1.3 var(--mono); color: var(--term-mute); }
/* the sleeping cat: three stacked frames (sleep, yawn, awake) in one grid cell */
.catbed { position: absolute; display: grid; width: 400px; right: -52px; bottom: -22px; padding: 0; border: 0; background: none; }
.catbed img { grid-area: 1 / 1; display: block; width: 100%; image-rendering: pixelated; }
.catbed img[hidden] { display: none; }
.catbed:focus-visible { outline: 1px dashed var(--accent); outline-offset: -20px; }
.catbed.shake .f-sleep { animation: stir .35s; }
@keyframes stir { 30% { transform: translateX(-2px); } 60% { transform: translateX(2px); } }
.cat-caption { margin: -8px 0 0; font: 11px/1.4 var(--mono); color: var(--mute); }

/* ---------- stack band ---------- */
.band { padding: 40px 0 44px; border-top: 1px dashed var(--line-2); }
.band-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; margin-bottom: 18px; }
.band-tag { font: 9px/1 var(--pixel); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.band-note { font: 12px/1.3 var(--mono); color: var(--mute); }
.tape { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tape-track { display: flex; width: max-content; animation: tape 48s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-track span { position: relative; padding: 0 22px; font: 13px/1 var(--mono); color: var(--ink); white-space: nowrap; }
.tape-track span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; margin-top: -3px; border: 1px solid var(--accent); opacity: .7; }
@keyframes tape { to { transform: translateX(-50%); } }
.band-list { display: none; }
.band-foot { margin-top: 14px; font: 12px/1.6 var(--mono); color: var(--mute); }

/* ---------- sections: same left margin, dashed separator with a marker ---------- */
.section { position: relative; padding: 96px 0; border-top: 1px dashed var(--line-2); }
.section::before { content: ""; position: absolute; top: -5px; left: -4px; width: 9px; height: 9px; border: 1px solid var(--accent); background: var(--bg); }
.label { display: flex; gap: 10px; align-items: baseline; margin-bottom: 18px; font: 12px/1 var(--mono); color: var(--mute); }
.label b { font: 11px/1 var(--pixel); color: var(--accent); font-weight: 400; }
h2 { font: 700 clamp(32px, 4.2vw, 50px)/1.02 var(--sans); letter-spacing: -.045em; max-width: 820px; }
.section-copy { color: var(--soft); max-width: 680px; margin-top: 18px; }
.tag { font: 11px/1 var(--mono); color: var(--mute); letter-spacing: .04em; }
.tag b { color: var(--accent); font-weight: 400; }
/* work status stamps */
.st { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 7px; border: 1px solid var(--line-2); font: 10px/1 var(--pixel); color: var(--soft); }
.st::before { content: ""; width: 6px; height: 6px; background: var(--ok); }
.st.live::before { background: var(--accent); animation: blink 1.4s steps(1) infinite; }
.st.wip { color: var(--ink); border: 0; padding: 6px 8px; background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--accent) 22%, transparent) 0 6px, transparent 6px 12px); }
.st.wip::before { background: var(--accent); }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- what I have been building: one chapter per area ---------- */
.chapter { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding: 44px 0; border-top: 1px solid var(--line); }
.chapter:first-of-type { margin-top: 40px; }
.chapter > div { min-width: 0; }
.chapter h3 { font: 600 23px/1.2 var(--sans); letter-spacing: -.025em; margin: 14px 0 12px; }
.chapter p { color: var(--soft); font-size: 15px; }
.chapter p + p { margin-top: 10px; }
.stack-line { margin-top: 16px; font: 11px/1.7 var(--mono); color: var(--mute); }
.proof { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 18px; font: 12px/1.3 var(--mono); color: var(--soft); }
.proof strong { font: 700 22px/1 var(--sans); letter-spacing: -.03em; color: var(--accent); }
.impact { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-top: 14px; padding: 0; font: 12px/1.4 var(--mono); color: var(--mute); }
.impact li { position: relative; padding-left: 12px; }
.impact li::before { content: ""; position: absolute; left: 0; top: 6px; width: 5px; height: 5px; border: 1px solid var(--accent); }
.impact b { color: var(--ink); font-weight: 500; }

/* interactive figures: the only boxes of the section, drawn as dashed drafts */
.flow { position: relative; align-self: start; display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px dashed var(--line-2); }
.flow::before, .flow::after { content: ""; position: absolute; width: 9px; height: 9px; border: 1px solid var(--accent); background: var(--bg); }
.flow::before { top: -5px; left: -5px; }
.flow::after { bottom: -5px; right: -5px; }
.flow .cap { font: 11px/1.3 var(--mono); color: var(--mute); }
.flow .cap b { color: var(--accent); font-weight: 400; }
.flow svg { width: 100%; height: auto; overflow: visible; }
.flow .ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.run { font: 12px/1 var(--mono); color: var(--bg); background: var(--accent); border: 0; border-radius: 5px; padding: 8px 11px; }
.run:disabled { opacity: .5; cursor: default; }
.ghost { font: 12px/1 var(--mono); color: var(--soft); background: transparent; border: 1px solid var(--line-2); border-radius: 5px; padding: 7px 10px; }
.ghost:hover, .ghost.sel { color: var(--ink); border-color: var(--accent); }
.orq-msgs .ghost { font-size: 11px; }
.tog { display: inline-flex; gap: 6px; align-items: center; font: 11px/1.3 var(--mono); color: var(--soft); cursor: pointer; }
.tog input { accent-color: var(--accent); }
.log { min-height: 34px; padding-top: 10px; border-top: 1px solid var(--line); font: 11px/1.5 var(--mono); color: var(--soft); }
.log .ok { color: var(--ok); }
.log .bad { color: var(--bad); }
.log .hl { color: var(--accent); }

.n rect { fill: var(--surface); stroke: var(--line-2); transition: fill .25s, stroke .25s; }
.n text { fill: var(--ink); font: 10.5px var(--mono); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.n text.s { fill: var(--mute); font-size: 8.5px; }
.n { cursor: help; }
.n:hover rect { stroke: var(--soft); }
.n.lit rect { stroke: var(--accent); fill: var(--accent-bg); }
.n.bad rect { stroke: var(--bad); fill: color-mix(in srgb, var(--bad) 12%, var(--bg)); }
.n.dup rect { stroke: var(--mute); stroke-dasharray: 3 3; }
.e { stroke: var(--line-2); stroke-width: 1.2; fill: none; marker-end: url(#arrow); transition: stroke .25s; }
.e.async { stroke-dasharray: 4 4; animation: march 1.2s linear infinite; }
.e.ghostline { opacity: 0; transition: opacity .25s; }
.e.ghostline.on { opacity: 1; stroke: var(--bad); }
.e.on { stroke: var(--accent); }
@keyframes march { to { stroke-dashoffset: -16; } }
.packet { fill: var(--accent); filter: drop-shadow(0 0 3px var(--accent)); }
.packet.bad { fill: var(--bad); filter: drop-shadow(0 0 3px var(--bad)); }
.badge { font: 8.5px var(--mono); fill: var(--mute); opacity: 0; transition: opacity .3s; }
.badge.on { opacity: 1; }

/* fig. 03: the bulk load, one slice at a time */
.slices { display: grid; grid-template-columns: repeat(40, 1fr); gap: 3px; padding: 6px 0; }
.slices i { display: block; aspect-ratio: 1; border: 1px solid var(--line-2); border-radius: 1px; transition: background .25s, border-color .25s; }
.slices i.on { background: var(--accent); border-color: var(--accent); }
.slices i.busy { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 35%, transparent); }
.slices i.dead { border-color: var(--cat); background: color-mix(in srgb, var(--cat) 30%, transparent); }
.slices i.redo { background: var(--ink); border-color: var(--ink); }

/* fig. 05: the form assembled from configuration */
.mini { display: grid; gap: 5px; font: 11px/1.2 var(--mono); }
.mini span { display: flex; justify-content: space-between; padding: 7px 9px; background: var(--bg); border-radius: 4px; color: var(--soft); animation: pop .3s; }
.mini span b { color: var(--mute); font-weight: 400; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }

/* fig. 06: two queries racing */
.q { display: grid; gap: 8px; font: 11px/1 var(--mono); color: var(--soft); }
.q .bar { height: 10px; border-radius: 3px; background: var(--bg); overflow: hidden; }
.q .bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.q .row { display: flex; justify-content: space-between; }
.q .row + .bar + .row { margin-top: 8px; }
.q .row b { color: var(--ink); font-weight: 400; }

/* ---------- now: current study (a reserved slot until the next topic is picked) ---------- */
.study { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; margin-top: 40px; }
.study h3 { font: 600 24px/1.15 var(--sans); letter-spacing: -.03em; margin: 12px 0 10px; }
.study p { color: var(--soft); font-size: 15px; }
.study-slot { display: grid; place-items: center; min-height: 150px; outline: 1px dashed var(--line-2); background: repeating-linear-gradient(-45deg, var(--surface-2) 0 8px, transparent 8px 16px); font: 11px/1 var(--mono); color: var(--mute); }
.study-slot span { padding: 6px 10px; background: var(--bg); }
.study-checkpoints { margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); }
.checkpoint-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.checkpoint-controls { display: flex; align-items: center; gap: 7px; color: var(--soft); font: 10px/1 var(--mono); text-transform: capitalize; }
.checkpoint-controls button { width: 24px; height: 24px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); }
.checkpoint-controls button:disabled { opacity: .4; cursor: default; }
.checkpoint-calendar { display: grid; grid-auto-rows: 11px; grid-template-columns: repeat(7, 11px); gap: 4px; width: max-content; margin-top: 14px; }
.checkpoint-weekday { height: 11px; color: var(--mute); font: 9px/11px var(--mono); text-align: center; }
.checkpoint-day, .checkpoint-empty { width: 11px; height: 11px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--surface-2); }
.checkpoint-empty { visibility: hidden; }
.checkpoint-day.done { background: var(--accent); border-color: var(--accent); }
.checkpoint-day.today { outline: 1px solid var(--ink); outline-offset: 1px; }
.checkpoint-legend { margin-top: 10px; color: var(--mute); font: 9px/1.4 var(--mono); }

/* ---------- education ---------- */
.edu { margin-top: 40px; }
.edu article { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 20px 0; border-top: 1px solid var(--line); }
.edu time { font: 12px/1.6 var(--mono); color: var(--accent); }
.edu h3 { font: 600 17px/1.3 var(--sans); letter-spacing: -.015em; }
.edu p { color: var(--soft); font-size: 15px; margin-top: 4px; }
.cert-row { display: flex; gap: 20px; align-items: center; }
.cert-badge { flex: none; transition: transform .2s; }
.cert-badge:hover { transform: translateY(-2px); }
.cert-badge img { display: block; width: 96px; height: 96px; }
.cred-link { color: var(--accent); font: 12px/1 var(--mono); white-space: nowrap; }
.edu .sub { margin-top: 28px; padding-bottom: 10px; font: 12px/1 var(--mono); color: var(--mute); }
.edu .langs { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 18px; border-top: 1px solid var(--line); font: 13px/1 var(--mono); }

/* ---------- a year in blocks (with the cat that knocks them over) ---------- */
.year { margin-top: 36px; }
.year-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; font: 12px/1.4 var(--mono); color: var(--soft); }
.year-top b { color: var(--ink); font-weight: 500; }
.year-top a:hover { color: var(--accent); }
.year-status { color: var(--mute); }
.blocks .pad { visibility: hidden; }
.blocks-stage { position: relative; }
.blocks { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, auto); grid-auto-columns: minmax(10px, 1fr); gap: 3px; padding-bottom: 6px; }
.blocks i { aspect-ratio: 1; transition: transform .5s cubic-bezier(.23, 1, .32, 1), opacity .4s; }
.blocks i, .year-legend i { background: var(--surface-2); border-radius: 2px; }
.blocks i[data-l="1"], .year-legend i[data-l="1"] { background: color-mix(in srgb, var(--accent) 28%, var(--surface-2)); }
.blocks i[data-l="2"], .year-legend i[data-l="2"] { background: color-mix(in srgb, var(--accent) 52%, var(--surface-2)); }
.blocks i[data-l="3"], .year-legend i[data-l="3"] { background: color-mix(in srgb, var(--accent) 76%, var(--surface-2)); }
.blocks i[data-l="4"], .year-legend i[data-l="4"] { background: var(--accent); }
.blocks i.fallen { visibility: hidden; }
.year-legend { display: flex; gap: 4px; align-items: center; justify-content: flex-end; margin-top: 10px; font: 10px/1 var(--mono); color: var(--mute); }
.year-legend i { width: 10px; height: 10px; }
.swatter { --s: 1.7; position: absolute; left: 0; top: 0; z-index: 2; width: calc(72px * var(--s)); height: calc(57px * var(--s)); opacity: 0; pointer-events: none;
  background: url('../assets/cat-pet.png') no-repeat 0 calc(-456px * var(--s)) / calc(288px * var(--s)) calc(570px * var(--s)); image-rendering: pixelated; transition: opacity .15s; }
.swatter.on { opacity: 1; }
.debris { position: fixed; z-index: 25; pointer-events: none; border-radius: 2px; }
.rebuild { animation: rebuild .5s cubic-bezier(.23, 1, .32, 1); }
@keyframes rebuild { from { transform: translateY(-14px); opacity: 0; } }

/* ---------- projects call ---------- */
.next { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.next a { font: 13px/1 var(--mono); color: var(--bg); background: var(--accent); border-radius: 5px; padding: 12px 16px; white-space: nowrap; }
.next a:hover { background: var(--ink); }

/* ---------- console: the interactive terminal (always dark) ---------- */
.console { margin-top: 36px; overflow: hidden; background: var(--term-bg); border: 1px solid var(--term-line); border-radius: 10px; color: var(--term-ink); }
.console-top { display: flex; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--term-line); font: 11px/1 var(--mono); color: var(--term-mute); }
.console-out { height: 260px; overflow-y: auto; padding: 16px; font: 13px/1.7 var(--mono); color: #a7acb1; }
.console-out > div { white-space: pre-wrap; }
.console-out .cmd { color: var(--term-ink); }
.console-out .cmd::before { content: "guest@diotto ~ $ "; color: var(--term-accent); }
.console-out .hl { color: var(--term-accent); }
.console-out pre { margin: 4px 0; font: inherit; line-height: 1.15; color: #ff8a3d; }
.console-in { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--term-line); font: 13px/1 var(--mono); }
.console-in label { white-space: nowrap; color: var(--term-accent); }
.console-in input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--term-ink); font: inherit; caret-color: var(--term-accent); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 14px; }
.chips button { padding: 6px 9px; border: 1px solid var(--term-line); border-radius: 4px; background: #202124; color: #a7acb1; font: 11px/1 var(--mono); }
.chips button:hover { color: var(--term-ink); border-color: var(--term-accent); }

/* ---------- the fact game ---------- */
.game { position: relative; margin-top: 36px; border: 1px dashed var(--line-2); background: var(--surface); }
.game canvas { display: block; width: 100%; height: 240px; cursor: pointer; touch-action: none; }
.game .hud { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; padding: 10px 14px; border-top: 1px dashed var(--line-2); font: 11px/1 var(--pixel); color: var(--soft); }
.game .hud b { color: var(--accent); font-weight: 400; }
.game .keys { margin-left: auto; display: flex; gap: 6px; }
.game .keys button { padding: 7px 9px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: 10px/1 var(--pixel); }
.game .keys button:active { border-color: var(--accent); }
.game .fact { min-height: 50px; padding: 12px 14px 14px; border-top: 1px solid var(--line); font: 14px/1.5 var(--sans); color: var(--ink); }
.game .fact small { display: block; font: 10px/1.6 var(--pixel); color: var(--claude); }
.game .overlay { position: absolute; inset: 0 0 auto; height: 240px; display: grid; place-items: center; padding: 16px; text-align: center; background: color-mix(in srgb, var(--bg) 78%, transparent); font: 13px/1.7 var(--mono); color: var(--ink); }
.game .overlay b { display: block; margin-bottom: 8px; font: 14px/1 var(--pixel); color: var(--accent); }
.game .overlay small { display: block; color: var(--soft); font-size: 11px; }
.game .overlay .run { margin-top: 12px; }
.game .overlay[hidden] { display: none; }
.game .legend { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 14px; border-top: 1px dashed var(--line-2); font: 10px/1.4 var(--mono); color: var(--mute); }
.game .legend i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; vertical-align: -1px; }
.game .legend .agent { background: var(--claude); }
.game .legend .jump { background: var(--bad); }
.game .legend .duck { background: var(--mute); }

/* ---------- overlays: build intro, build meter, secret toast ---------- */
.build { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: var(--bg); transition: opacity .35s, visibility .35s; }
.build.done { opacity: 0; visibility: hidden; }
.build-box { width: min(400px, calc(100% - 48px)); font: 12px/1.9 var(--mono); color: var(--soft); }
.build-box .px { display: block; margin-bottom: 14px; font: 13px/1 var(--pixel); color: var(--accent); }
.build-box ul { padding: 0; }
.build-box li { list-style: none; opacity: 0; }
.build-box li.on { opacity: 1; }
.build-box li.on::after { content: " ok"; color: var(--ok); }
.build-box li.catline.on::after { content: " zzz"; color: var(--cat); }
.build-bar { height: 6px; margin-top: 16px; overflow: hidden; border-radius: 3px; background: var(--surface-2); }
.build-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s; }
.build-skip { margin-top: 14px; font: 10px/1 var(--mono); color: var(--mute); }
.build-skip kbd { padding: 2px 5px; border: 1px solid var(--line-2); border-radius: 3px; font: inherit; }
.buildmeter { position: fixed; right: 16px; bottom: 16px; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--bg); border: 1px dashed var(--line-2); font: 11px/1 var(--mono); color: var(--soft); }
.buildmeter .px { font: 9px/1 var(--pixel); color: var(--accent); }
.buildmeter .bm { width: 80px; height: 6px; overflow: hidden; background: var(--surface-2); }
.buildmeter .bm i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(-45deg, var(--accent) 0 4px, color-mix(in srgb, var(--accent) 55%, transparent) 4px 8px); }
.buildmeter.done .px { color: var(--ok); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 40; padding: 10px 14px; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; background: var(--surface); border: 1px solid var(--cat); border-radius: 6px; font: 12px/1.3 var(--mono); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast b { font: 10px/1 var(--pixel); color: var(--cat); font-weight: 400; }

@media (max-width: 860px) {
  .hero, .chapter, .study, .edu article { grid-template-columns: 1fr; }
  .hero { gap: 40px; padding: 56px 0 64px; }
  .hero::before { inset: 24px -16px; }   /* stay inside the 16px gutter: no horizontal scroll */
  .chapter { gap: 24px; }
  .edu article { gap: 6px; }
  .cert-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cert-badge img { width: 80px; height: 80px; }
  .next { flex-direction: column; align-items: flex-start; }
  .impact { grid-template-columns: 1fr; }
  .blocks { overflow-x: auto; }
  .buildmeter .bm { width: 50px; }
  .catbed { width: 340px; right: -44px; }
}

@media (prefers-reduced-motion: reduce) {
  .build { display: none; }
  .e.async { animation: none; }
  .tape { display: none; }
  .band-list { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 13px/1 var(--mono); }
}
