/* raspberry: deep raspberry + chocolate on cream, every section a little widget */
:root {
  --page: #efe3d8; --check: #e7d7c9;
  --cream: #fdf6f0; --cream-2: #f3e4d8;
  --choc: #3e2422; --choc-2: #6b3f37;
  --rasp: #a8324f; --rasp-2: #c84a66;
  --pink: #eeb0bd; --pink-pale: #f8e0e5;
}
* { box-sizing: border-box; }
html { overflow-x: clip; background: #efe3d8; }
body { margin: 0; font: 600 15.5px/1.6 "Nunito", sans-serif; color: var(--choc);
  background: conic-gradient(var(--check) 25%, transparent 0 50%, var(--check) 0 75%, transparent 0) 0 0 / 64px 64px, var(--page); }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; }
[hidden] { display: none !important; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 18px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--cream); padding: 6px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--rasp-2); outline-offset: 2px; }

/* ---------- top bar ---------- */
.top { background: var(--choc); border-bottom: 4px solid var(--rasp); }
.top .wrap { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: var(--cream); font: italic 900 22px "Fraunces", serif; }
.logo i { width: 34px; height: 34px; border-radius: 11px; background: var(--rasp); border: 2px solid var(--pink); display: grid; place-items: center; color: var(--on-rasp, var(--cream)); }
.logo i svg { width: 17px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; background: #2c1817; border-radius: 14px; padding: 4px 4px 8px; }
.nav a { font: 800 14px "M PLUS Rounded 1c"; text-decoration: none; color: var(--pink-pale); padding: 5px 13px; border-radius: 10px; }
.nav a:hover { background: var(--choc-2); }
.nav a.on { background: var(--rasp); color: var(--on-rasp, #fff); box-shadow: 0 3px 0 var(--rasp-deep, #7d2139); }
.clock { font: 800 15px "M PLUS Rounded 1c"; background: var(--pink); color: var(--on-pink, var(--choc)); border-radius: 10px; padding: 4px 12px; box-shadow: 0 3px 0 #c97f90; min-width: 62px; text-align: center; }
.clock:empty { visibility: hidden; }

body { min-height: 100vh; display: flex; flex-direction: column; }
main.wrap { padding-top: 24px; padding-bottom: 40px; flex: 1; width: 100%; }

/* ---------- splash ---------- */
.splash { display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px; align-items: stretch; padding: 22px; border-radius: 26px; border: 3px solid var(--choc);
  background: linear-gradient(115deg, transparent 0 14%, rgba(255,255,255,.14) 14% 22%, transparent 22% 27%, rgba(255,255,255,.1) 27% 30%, transparent 30% 64%, rgba(255,255,255,.12) 64% 74%, transparent 74%), var(--rasp);
  box-shadow: 0 6px 0 var(--choc); color: var(--on-rasp, inherit); }
.splash .left { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 10px 6px 4px 12px; min-width: 0; }
.rounds-list { display: contents; }
.rounds { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.round { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--rasp-ink, var(--rasp)); border: 2.5px solid var(--choc); box-shadow: 0 4px 0 var(--choc); transition: transform .12s, box-shadow .12s; }
.round svg { width: 22px; height: 22px; }
.round:hover { transform: translateY(-3px) rotate(-6deg); }
.round:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--choc); }
.title { margin: 0; white-space: nowrap; font: italic 900 clamp(44px, 6.4vw, 72px)/1.02 "Fraunces", serif; color: var(--cream); -webkit-text-stroke: 3px var(--choc); paint-order: stroke fill; text-shadow: 0 5px 0 var(--choc); }
.tagline { align-self: flex-start; background: var(--cream); border: 2.5px solid var(--choc); border-radius: 14px; padding: 6px 14px; font-weight: 700; }
.pills { display: grid; gap: 8px; max-width: 320px; }
.pill { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-decoration: none; background: var(--cream); border: 2.5px solid var(--choc); border-radius: 999px; padding: 4px 5px 4px 16px; font: 800 14px "M PLUS Rounded 1c"; box-shadow: 0 3px 0 var(--choc); transition: transform .1s, box-shadow .1s; }
.pill i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--rasp); color: var(--on-rasp, #fff); display: grid; place-items: center; font-style: normal; font-size: 13px; }
.pill:hover { transform: translateY(2px); box-shadow: 0 1px 0 var(--choc); }
.splash .draw { border-radius: 18px; border: 3px solid var(--choc); box-shadow: 0 0 0 6px var(--cream); min-height: 330px; overflow: hidden;
  background: repeating-linear-gradient(0deg, rgba(168,50,79,.12) 0 16px, transparent 16px 32px), repeating-linear-gradient(90deg, rgba(168,50,79,.12) 0 16px, transparent 16px 32px), var(--pink-pale); color: var(--on-pink); }
.splash .draw img { width: 100%; height: 100%; object-fit: cover; }
/* layered splash: the background sits inside the frame, the characters on top spill out of it.
   both pictures are the same canvas; the frame shows the part from 14% to 94% across and 7% to 78% down */
.drawwrap { position: relative; display: flex; flex-direction: column; min-width: 0; }
.drawwrap > .draw { flex: 1 1 auto; position: relative; }
.splash:has(> .drawwrap.layered) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.drawwrap.layered { --fx: 14; --fy: 7; --fw: 80; --fh: 71; align-self: center; width: 100%; }
.drawwrap.layered > .draw { flex: none; min-height: 0; aspect-ratio: calc((2334 * var(--fw)) / (1566 * var(--fh))); }
.drawwrap img.canvas { position: absolute; max-width: none; object-fit: fill;
  width: calc(10000% / var(--fw)); height: calc(10000% / var(--fh)); left: calc(var(--fx) * -10000% / var(--fw) / 100); top: calc(var(--fy) * -10000% / var(--fh) / 100); }
.drawwrap > .pop { position: absolute; inset: 3px; z-index: 2; pointer-events: none; }
.drawwrap > .pop img.canvas { filter: drop-shadow(0 6px 10px rgba(62,36,34,.18)); }
.blk:has(.drawwrap.layered) { position: relative; z-index: 3; }

/* ---------- widgets ---------- */
.board { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: row dense; gap: 28px; margin-top: 34px; }
.board > * { min-width: 0; }
.w { background: var(--choc); border: 3px solid var(--choc); border-radius: 22px; overflow: hidden; box-shadow: 0 6px 0 var(--choc); display: flex; flex-direction: column; }
.w > :where(:not(.bar)) { background-color: var(--cream); }
.w.nu, .w.card { background: var(--cream); }
.w.wide { grid-column: span 2; }
.bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: var(--on-rasp, #fff); border-bottom: 3px solid var(--choc);
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.08) 0 8px, transparent 8px 16px), var(--rasp); }
.bar.c { background: repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 8px, transparent 8px 16px), var(--choc-2); color: #fff; }
.bar.p { background: repeating-linear-gradient(-45deg, rgba(255,255,255,.25) 0 8px, transparent 8px 16px), var(--pink); color: var(--on-pink, var(--choc)); }
.bar .ic { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--cream); color: var(--rasp-ink, var(--rasp)); display: grid; place-items: center; border: 2px solid var(--choc); }
.bar .ic svg { width: 15px; height: 15px; }
.bar h2 { margin: 0; font: italic 900 22px/1.1 "Fraunces", serif; min-width: 0; overflow-wrap: anywhere; }
.bar .r { margin-left: auto; display: flex; gap: 6px; align-items: center; flex: none; }
.count { font: 800 12px "M PLUS Rounded 1c"; background: rgba(0,0,0,.18); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.bar.p .count { background: rgba(255,255,255,.6); }
.arrow { width: 28px; height: 28px; border-radius: 9px; border: 2px solid var(--choc); background: var(--cream); color: var(--choc); display: grid; place-items: center; font-weight: 900; box-shadow: 0 2px 0 var(--choc); }
.arrow:active { transform: translateY(2px); box-shadow: none; }
.body { padding: 16px; flex: 1; display: flex; flex-direction: column; position: relative; }
.body::after { content: ""; position: absolute; inset: 7px; border: 2px dashed var(--cream-2); border-radius: 14px; pointer-events: none; }
.body > * { position: relative; z-index: 1; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; }
.go { display: inline-block; font: 800 13px "M PLUS Rounded 1c"; text-decoration: none; background: var(--choc); color: var(--cream); border-radius: 999px; padding: 4px 14px; transition: background .15s; }
.go:hover { background: var(--rasp); color: var(--on-rasp, inherit); }
.go.rasp { background: var(--rasp); color: var(--on-rasp, inherit); } .go.rasp:hover { background: var(--choc); }
.go.choc2 { background: var(--choc-2); } .go.choc2:hover { background: var(--rasp); color: var(--on-rasp, inherit); }
.empty { margin: 8px 0; padding: 18px; text-align: center; color: var(--on-pink, var(--choc-2)); font-weight: 700; background: var(--pink-pale); border-radius: 14px; }
.soft { color: var(--choc-2); font-size: 13px; font-weight: 700; }
.chip { display: inline-block; font: 800 11px "M PLUS Rounded 1c"; background: var(--pink-pale); color: var(--rasp-ink, var(--rasp)); border-radius: 999px; padding: 1px 9px; }
.chip.new { background: var(--rasp); color: var(--on-rasp, #fff); }

/* art: postage stamps */
.strip { display: flex; gap: 26px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scroll-padding-inline: 14px; padding: 10px 14px 12px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip .art { flex: 0 0 calc((100% - 78px) / 4); scroll-snap-align: start; }
.art { text-decoration: none; display: block; }
.stamp { display: block; padding: 8px; background: radial-gradient(circle, transparent 3.4px, #fff 3.8px) -5.5px -5.5px / 11px 11px;
  filter: drop-shadow(0 0 1px var(--choc)) drop-shadow(0 0 0 var(--choc)); transition: transform .15s; }
.art i { position: relative; display: block; aspect-ratio: 1; border: 1.5px solid var(--choc-2); overflow: hidden; font-style: normal;
  background: repeating-linear-gradient(-45deg, var(--pink-pale) 0 8px, #fff 8px 16px); }
.art:nth-child(even) i { background: repeating-linear-gradient(-45deg, var(--cream-2) 0 8px, #fff 8px 16px); }
.art i img { width: 100%; height: 100%; object-fit: cover; }
.art:hover .stamp { transform: translateY(-5px) rotate(-1.5deg); }
.art i b { position: absolute; top: 5px; left: 5px; font: 800 10px "M PLUS Rounded 1c"; background: var(--rasp); color: var(--on-rasp, #fff); border-radius: 999px; padding: 0 7px; }
.art i em { position: absolute; bottom: 4px; right: 5px; font: 800 10px "M PLUS Rounded 1c"; font-style: normal; color: var(--rasp-ink, var(--rasp)); background: rgba(255,255,255,.85); border-radius: 6px; padding: 0 4px; }
.art .cap { display: block; margin-top: 10px; font: 800 13px "M PLUS Rounded 1c"; text-align: center; overflow-wrap: anywhere; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--cream-2); border: 1.5px solid var(--choc-2); }
.dots i.on { background: var(--rasp); width: 22px; border-radius: 6px; color: var(--on-rasp, inherit); }

/* music player */
.player { display: grid; grid-template-columns: 118px 1fr; gap: 14px; align-items: center; }
.now { min-width: 0; }
.now small { font: 800 11px "M PLUS Rounded 1c"; letter-spacing: .08em; color: var(--rasp-ink, var(--rasp)); }
.now b { display: block; font: italic 900 20px/1.1 "Fraunces", serif; overflow-wrap: anywhere; }
.now span { font-size: 13px; color: var(--choc-2); }
.eq { display: flex; gap: 3px; align-items: flex-end; height: 18px; margin-top: 6px; }
.eq i { width: 4px; height: 30%; background: var(--rasp-2); border-radius: 2px; color: var(--on-rasp, inherit); }
.playing .eq i { animation: eq .8s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: .2s; } .eq i:nth-child(3) { animation-delay: .4s; } .eq i:nth-child(4) { animation-delay: .1s; } .eq i:nth-child(5) { animation-delay: .3s; }
@keyframes eq { to { height: 100%; } }
.ctrl { display: flex; justify-content: center; gap: 10px; margin: 14px 0 12px; }
.ctrl button { width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid var(--choc); background: var(--cream); box-shadow: 0 3px 0 var(--choc); display: grid; place-items: center; }
.ctrl button.play { width: 46px; height: 46px; background: var(--rasp); color: var(--on-rasp, #fff); }
.ctrl button:active { transform: translateY(3px); box-shadow: none; }
.ctrl svg { width: 14px; height: 14px; }
.seg { display: grid; background: var(--cream-2); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; border-radius: 9px; padding: 6px 4px; font: 800 12px "M PLUS Rounded 1c"; line-height: 1.2; }
.seg button.on { background: var(--choc); color: var(--cream); }
.plinks { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- record player ---------- */
.deck { --s: 118px; position: relative; flex: none; width: var(--s); height: var(--s); border-radius: 18%; border: 3px solid var(--choc);
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 2px, transparent 2px 7px), var(--choc-2); box-shadow: inset 0 0 0 4px rgba(255,255,255,.08), 0 4px 0 var(--choc); }
.deck.big { --s: 260px; border-width: 4px; box-shadow: inset 0 0 0 6px rgba(255,255,255,.08), 0 6px 0 var(--choc); }
.platter { position: absolute; left: 7%; top: 7%; width: 74%; height: 74%; border-radius: 50%; background: #2a1716; box-shadow: 0 0 0 calc(var(--s) * .02) #1d0f0e; }
.platter::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 210deg, transparent 0 8%, rgba(255,255,255,.16) 12%, transparent 18% 58%, rgba(255,255,255,.1) 62%, transparent 68%); }
.record { position: absolute; inset: 3%; border-radius: 50%;
  background: repeating-radial-gradient(circle, #241312 0 1.2px, #34201e 1.2px 2.6px); }
.record .label { position: absolute; left: 50%; top: 50%; width: 38%; height: 38%; transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle, transparent 0 62%, rgba(255,255,255,.18) 63% 66%, transparent 67%), var(--lab, var(--rasp)); box-shadow: 0 0 0 2px #1d0f0e; }
.record .label img { width: 100%; height: 100%; object-fit: cover; }
.hole { position: absolute; left: 50%; top: 50%; width: 7%; height: 7%; min-width: 5px; min-height: 5px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 2px var(--choc); }
.arm { position: absolute; right: 6%; top: 6%; width: 100%; height: 100%; pointer-events: none; }
.arm .pivot { position: absolute; right: 0; top: 0; width: 18%; height: 18%; border-radius: 50%; background: var(--cream-2); border: 2px solid var(--choc); box-shadow: inset 0 0 0 3px var(--pink); z-index: 2; }
.arm .rod, .arm .head { position: absolute; right: 7%; top: 7%; transform-origin: 50% 0; transform: rotate(4deg); transition: transform .6s cubic-bezier(.4,1.4,.5,1); }
.arm .rod { width: 5%; height: 56%; margin-right: -2.5%; border-radius: 99px; background: var(--cream-2); border: 2px solid var(--choc); z-index: 1; }
.arm .head { width: 11%; height: 60%; margin-right: -5.5%; z-index: 1; }
.arm .head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 14%; border-radius: 3px; background: var(--rasp); border: 2px solid var(--choc); }
.playing .arm .rod, .playing .arm .head { transform: rotate(26deg); }
.playing .record { animation: spin 1.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.deck.swap .platter { animation: swap .55s ease-in-out; }
@keyframes swap { 0% { transform: none; } 45% { transform: translateX(-70%) rotate(-120deg); opacity: 0; } 55% { transform: translateX(70%) rotate(120deg); opacity: 0; } 100% { transform: none; } }
.player .deck { justify-self: center; }
.play .ic-pause, .playing .play .ic-play { display: none; }
.playing .play .ic-pause { display: contents; }
.play .ic-play { display: contents; }
.minirec { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--choc);
  background: repeating-radial-gradient(circle, #241312 0 1px, #34201e 1px 2.2px); }
.minirec .label { position: absolute; left: 50%; top: 50%; width: 44%; height: 44%; transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden; background: var(--lab); }
.minirec .label img { width: 100%; height: 100%; object-fit: cover; }
.minirec .hole { width: 12%; height: 12%; min-width: 4px; min-height: 4px; box-shadow: 0 0 0 1px var(--choc); }

/* stories tabs */
.tabs { display: flex; gap: 4px; margin: -4px 0 10px; }
.tabs button { border: 2px solid var(--choc); background: var(--cream-2); border-radius: 10px 10px 0 0; border-bottom: 0; padding: 4px 12px; font: 800 12.5px "M PLUS Rounded 1c"; }
.tabs button.on { background: var(--rasp); color: var(--on-rasp, #fff); }
.list { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; text-decoration: none; background: #fff; border: 2px solid var(--cream-2); border-radius: 12px; padding: 8px 10px 8px 8px; transition: border-color .15s, transform .15s; }
.row::before { content: ""; height: 100%; min-height: 30px; border-radius: 4px; background: var(--rasp-2); }
.row:nth-child(2)::before { background: var(--pink); } .row:nth-child(3)::before { background: var(--choc-2); }
.row:hover { border-color: var(--rasp-2); transform: translateX(3px); }
.row b { font: 800 14.5px "M PLUS Rounded 1c"; overflow-wrap: anywhere; }
.row small { font: 800 11px "M PLUS Rounded 1c"; background: var(--pink-pale); color: var(--rasp-ink, var(--rasp)); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }

/* apps phone */
.phone { margin: 2px auto 0; width: 100%; max-width: 280px; background: var(--choc); border-radius: 26px; padding: 10px; }
.screen { border-radius: 18px; padding: 14px 12px 12px; background: radial-gradient(var(--pink) 1.5px, transparent 2px) 0 0 / 14px 14px, var(--pink-pale); color: var(--on-pink); }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; text-align: center; }
.apps a, .apps span { text-decoration: none; font: 800 9.5px/1.2 "M PLUS Rounded 1c"; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 1px 4px; }
.appicon { display: grid; place-items: center; aspect-ratio: 1; width: 100%; border-radius: 22%; margin-bottom: 4px; font-style: normal; overflow: hidden; background: var(--rasp); color: var(--on-rasp, #fff); border: 2px solid var(--choc); box-shadow: 0 3px 0 var(--choc); transition: transform .15s; }
.appicon img { width: 100%; height: 100%; object-fit: cover; }
.appicon svg { width: 40%; }
.appicon.lock { background: rgba(255,255,255,.6); border: 2px dashed var(--choc-2); color: var(--choc-2); box-shadow: none; }
.apps a:hover .appicon { transform: translateY(-3px) rotate(-4deg); }
.appicon.big { width: 96px; flex: none; border-width: 3px; }
.meter { margin-top: 12px; }
.meter span { font: 800 11px "M PLUS Rounded 1c"; letter-spacing: .06em; }
.meter div { height: 12px; border: 2px solid var(--choc); border-radius: 999px; background: #fff; overflow: hidden; margin-top: 3px; }
.meter div i { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--rasp) 0 6px, var(--rasp-2) 6px 12px); }

/* ---------- art page: a ring binder, each piece shared like a post ---------- */
.sq { display: block; aspect-ratio: 1; overflow: hidden; background: repeating-linear-gradient(-45deg, var(--pink-pale) 0 9px, #fff 9px 18px); }
.sq img { width: 100%; height: 100%; object-fit: cover; }
.bd { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr); background: var(--choc); border: 3px solid var(--choc); border-radius: 28px; padding: 16px; box-shadow: 0 7px 0 #2a1716; }
.bd-page { background: linear-gradient(rgba(107,63,55,.07) 1px, transparent 1px) 0 0 / 24px 24px, #fffaf5; padding: 26px; min-width: 0; }
.bd-page.left { border-radius: 16px 6px 6px 16px; }
.bd-page.right { border-radius: 6px 16px 16px 6px; }
.bd-rings { display: flex; flex-direction: column; justify-content: space-evenly; align-items: center; }
.bd-rings i { width: 46px; height: 16px; border-radius: 99px; background: linear-gradient(180deg, #f6e6dc, #c9a89c); border: 2.5px solid #1d0f0e; }
.bd-top .bd-page.left { display: grid; place-items: center; }
.bd-top .bd-page.right { display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; }
.bd-top .post-actions { margin-top: auto; }
.bd-head { display: flex; align-items: center; gap: 12px; }
.bd-head h1 { margin: 0; font: italic 900 34px "Fraunces", serif; color: var(--rasp-ink, var(--rasp)); }
.bd-feature, .bd-photo { position: relative; display: block; text-decoration: none; background: #fff; padding: 10px; box-shadow: 0 0 0 2px var(--choc), 5px 6px 0 rgba(62,36,34,.18); transition: transform .15s; }
.bd-feature::before, .bd-feature::after, .bd-photo::before, .bd-photo::after { content: ""; position: absolute; width: 26px; height: 26px; z-index: 1; background: var(--rasp); }
.bd-feature::before, .bd-photo::before { top: -4px; left: -4px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.bd-feature::after, .bd-photo::after { bottom: -4px; right: -4px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.bd-feature { width: min(100%, 360px); }
.bd-feature:hover, .bd-photo:hover { transform: translateY(-4px); }
.bd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; }
.bd-photo { padding: 8px 8px 46px; }
.bd-photo::before, .bd-photo::after { width: 20px; height: 20px; }
.bd-cap { position: absolute; left: 8px; right: 8px; bottom: 6px; display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.bd-cap b { max-width: 100%; font: italic 800 13.5px "Fraunces", serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-cap small { display: flex; align-items: center; gap: 3px; font: 800 10.5px "M PLUS Rounded 1c"; color: var(--choc-2); white-space: nowrap; }
.mini-heart { display: inline-flex; align-items: center; gap: 3px; color: var(--rasp-ink, var(--rasp)); }
.mini-heart svg { width: 11px; height: 11px; }
.post-by { display: flex; align-items: center; gap: 10px; }
.post-by b { display: block; font: 800 15px "M PLUS Rounded 1c"; line-height: 1.1; }
.post-by small { font: 700 12.5px "Nunito"; color: var(--choc-2); }
.ava { flex: none; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; color: var(--rasp-ink, var(--rasp)); border: 2.5px solid var(--choc); box-shadow: 0 0 0 3px #fff; background: radial-gradient(var(--pink) 1.5px, transparent 2px) 0 0 / 9px 9px, var(--pink-pale); }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.ava svg { width: 18px; }
.vw-title a { text-decoration: none; }
.post-no { font: 800 13px "M PLUS Rounded 1c"; font-style: normal; color: var(--rasp-ink, var(--rasp)); vertical-align: middle; }
.say { position: relative; margin: 2px 0 0 6px; padding: 12px 16px; background: #fff; border: 2.5px solid var(--choc); border-radius: 18px 18px 18px 4px; font-size: 15px; line-height: 1.6; box-shadow: 0 3px 0 var(--choc); }
.say::before { content: ""; position: absolute; left: -9px; top: 14px; width: 14px; height: 14px; background: #fff; border-left: 2.5px solid var(--choc); border-bottom: 2.5px solid var(--choc); transform: rotate(45deg); }
.post-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.post-actions .pill { flex: 0 1 auto; margin-left: auto; }
.heart-btn, .share-btn { display: inline-flex; align-items: center; gap: 7px; font: 800 14px "M PLUS Rounded 1c"; background: var(--cream); color: var(--choc); border: 2.5px solid var(--choc); border-radius: 999px; padding: 5px 14px; box-shadow: 0 3px 0 var(--choc); transition: transform .1s, box-shadow .1s, background .15s; }
.heart-btn:active, .share-btn:active { transform: translateY(3px); box-shadow: none; }
.hb-ic { display: grid; color: var(--rasp-ink, var(--rasp)); } .hb-ic svg { width: 18px; height: 18px; }
.heart-btn.on { background: var(--rasp); color: var(--on-rasp, #fff); } .heart-btn.on .hb-ic { color: #fff; }
.heart-btn.pop .hb-ic { animation: pop .45s ease; }
@keyframes pop { 30% { transform: scale(1.5) rotate(-10deg); } 60% { transform: scale(.9); } }
.share-btn.done { background: var(--pink-pale); color: var(--on-pink); }

/* ---------- a piece's own page ---------- */
.slide { animation: slidein .3s ease; }
@keyframes slidein { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.thumb { width: 58px; height: 58px; padding: 0; overflow: hidden; border-radius: 13px; border: 2.5px solid var(--choc); background: repeating-linear-gradient(-45deg, var(--pink-pale) 0 6px, #fff 6px 12px); box-shadow: 0 3px 0 var(--choc); opacity: .65; transition: opacity .15s, transform .15s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; transform: translateY(-2px); }
.thumb.on { opacity: 1; box-shadow: 0 0 0 3px var(--cream), 0 0 0 6px var(--rasp); }
.prose.thoughts { margin: 0; max-width: none; }
.prose.thoughts p { font-size: 16px; line-height: 1.8; }
.chip.tag { text-decoration: none; background: var(--cream-2); color: var(--choc); border: 2px solid var(--choc); padding: 1px 10px; }
.chip.tag:hover { background: var(--pink); color: var(--on-pink); }
/* previous / next piece, with their titles */
/* process: big prints zig-zagging down, overlapping on purpose */
  box-shadow: 0 0 0 3px var(--choc), 8px 10px 0 rgba(62,36,34,.2); transform: rotate(var(--r)); transition: transform .2s; }
dialog.zoom { border: 0; padding: 0; background: transparent; width: min(820px, 94vw); max-width: none; }
dialog.zoom::backdrop { background: rgba(40,20,22,.72); }
.zoom-card { background: var(--cream); border: 3px solid var(--choc); border-radius: 22px; overflow: hidden; }
.zoom-body { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px; }
.zoom-img img { display: block; width: 100%; max-height: 72vh; object-fit: contain; }
.zoom-ph { display: block; aspect-ratio: 1; width: min(100%, 62vh); margin: 0 auto; background: linear-gradient(rgba(107,63,55,.13) 1px, transparent 1px) 0 0 / 14px 14px, linear-gradient(90deg, rgba(107,63,55,.13) 1px, transparent 1px) 0 0 / 14px 14px, #fffdfb; border: 2px solid var(--cream-2); }
.more-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 26px; padding: 8px 6px; }

/* each kind gets its own placeholder pattern until a picture is added */
.arrow.big { width: 44px; height: 44px; border-radius: 50%; font-size: 22px; box-shadow: 0 3px 0 var(--choc); background: var(--cream); }
.arrow.big:hover { background: var(--pink-pale); color: var(--on-pink); }
.vw-no { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.vw-no small { font: 800 12px "M PLUS Rounded 1c"; letter-spacing: .12em; color: var(--rasp-ink, var(--rasp)); }
.vw-no b { font: italic 900 46px/1 "Fraunces", serif; color: var(--rasp-ink, var(--rasp)); }
.vw-no span { font: 800 13px "M PLUS Rounded 1c"; color: var(--choc-2); }
.vw-title { margin: 0 0 10px; font: italic 900 clamp(28px, 3.4vw, 40px)/1.1 "Fraunces", serif; overflow-wrap: anywhere; }
.vw-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill.watch { background: var(--rasp); color: var(--on-rasp, #fff); }
.pill.watch i { background: var(--cream); color: var(--rasp-ink, var(--rasp)); }

/* home stories: a page torn out of a book */
.leaf { position: relative; display: block; text-decoration: none; padding: 16px 18px 14px; border-radius: 4px 4px 4px 4px;
  background: #fffaf5; border: 2px solid var(--choc); box-shadow: 4px 4px 0 var(--cream-2), 4px 4px 0 2px var(--choc);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); transition: transform .15s; }
.leaf::after { content: ""; position: absolute; top: 0; right: 0; width: 20px; height: 20px; background: linear-gradient(225deg, transparent 50%, var(--pink) 50%); border-left: 2px solid var(--choc); border-bottom: 2px solid var(--choc); border-bottom-left-radius: 4px; }
a.leaf:hover { transform: translateY(-3px) rotate(-.4deg); }
.leaf-meta { display: block; font: 800 10.5px "M PLUS Rounded 1c"; letter-spacing: .12em; color: var(--rasp-ink, var(--rasp)); }
.leaf-title { display: block; margin: 4px 0 8px; font: italic 900 21px/1.15 "Fraunces", serif; color: var(--choc); overflow-wrap: anywhere; }
.leaf-text { margin: 0; font-size: 14px; line-height: 1.7; color: var(--choc-2); max-height: 7.2em; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.leaf-text::first-letter { float: left; font: italic 900 40px/.9 "Fraunces", serif; color: var(--rasp-ink, var(--rasp)); margin: 4px 6px 0 0; }
.leaf-more { display: inline-block; margin-top: 6px; font: 800 13px "M PLUS Rounded 1c"; color: var(--rasp-ink, var(--rasp)); border-bottom: 2px solid var(--pink); }
.leaf.blank { flex: 1; display: grid; place-items: center; min-height: 200px;
  background: repeating-linear-gradient(transparent 0 27px, var(--cream-2) 27px 29px) 0 14px, #fffaf5; }
.leaf.blank .leaf-text { -webkit-mask-image: none; mask-image: none; max-height: none; font: italic 800 17px/1.5 "Fraunces", serif; color: var(--choc-2); padding: 10px 6px; text-align: center; background: #fffaf5; border-radius: 8px; }
.leaf.blank .leaf-text::first-letter { float: none; font: inherit; color: inherit; margin: 0; }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -2px; background: var(--rasp); animation: blink 1.1s steps(2) infinite; color: var(--on-rasp, inherit); }
@keyframes blink { 50% { opacity: 0; } }
.also { margin-top: 14px; border-top: 2px solid var(--cream-2); }
.also a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 2px; border-bottom: 2px solid var(--cream-2); text-decoration: none; }
.also span { font: italic 800 15px "Fraunces", serif; overflow-wrap: anywhere; }
.also small { font: 800 11px "M PLUS Rounded 1c"; color: var(--choc-2); white-space: nowrap; }
.also a:hover span { color: var(--rasp-ink, var(--rasp)); }

/* home apps box: the whole box is one big button, the phone fills it */
.appsbox { text-decoration: none; transition: transform .15s, box-shadow .15s; }
.appsbox:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--choc); }
.appsbox:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--choc); }
.appsbox .phone { flex: 1; max-width: none; display: flex; }
.appsbox .screen { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 18px 16px 16px; }
.appsbox .apps { flex: 1; grid-template-columns: repeat(2, 1fr); align-content: space-evenly; gap: 16px 14px; }
.appsbox .apps span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; }
.appsbox .appicon { width: min(64px, 70%); margin: 0; }
.appsbox:hover .appicon:not(.lock) { transform: translateY(-3px) rotate(-4deg); }
.appsbox .meter { margin-top: 0; }

/* about id card */
.id { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; }
.face { width: 84px; height: 84px; border-radius: 18px; border: 2.5px solid var(--choc); box-shadow: 0 0 0 4px #fff, 0 0 0 6.5px var(--rasp); overflow: hidden; display: grid; place-items: center; color: var(--rasp-ink, var(--rasp));
  background: radial-gradient(var(--pink) 2px, transparent 2.5px) 0 0 / 11px 11px, var(--pink-pale); }
.face img { width: 100%; height: 100%; object-fit: cover; }
.face svg { width: 34px; }
.id b { display: block; font: italic 900 24px/1.1 "Fraunces", serif; }
.id small { font: 800 12px "M PLUS Rounded 1c"; color: var(--choc-2); }
.id.big { grid-template-columns: 130px 1fr; margin-bottom: 16px; }
.id.big .face { width: 130px; height: 130px; border-radius: 26px; }
.id.big b { font-size: 34px; }
.fields { margin-top: 12px; display: grid; gap: 6px; }
.fields div { display: flex; justify-content: space-between; gap: 12px; background: var(--cream-2); border-radius: 9px; padding: 4px 10px; font-size: 13.5px; text-align: right; }
.fields span { font: 800 11px "M PLUS Rounded 1c"; letter-spacing: .06em; color: var(--rasp-ink, var(--rasp)); align-self: center; text-align: left; }

/* ---------- inner pages ---------- */
.hero { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 26px; border: 3px solid var(--choc); border-radius: 24px; box-shadow: 0 6px 0 var(--choc); color: var(--on-rasp, var(--cream)); margin-bottom: 26px;
  background: linear-gradient(115deg, transparent 0 55%, rgba(255,255,255,.12) 55% 63%, transparent 63% 67%, rgba(255,255,255,.09) 67% 70%, transparent 70%), var(--rasp); }
.hero.pink { background: linear-gradient(115deg, transparent 0 55%, rgba(255,255,255,.3) 55% 63%, transparent 63% 67%, rgba(255,255,255,.22) 67% 70%, transparent 70%), var(--pink); color: var(--on-pink, var(--choc)); }
.hero.choc { background: linear-gradient(115deg, transparent 0 55%, rgba(255,255,255,.08) 55% 63%, transparent 63% 67%, rgba(255,255,255,.06) 67% 70%, transparent 70%), var(--choc-2); }
.hero-ic { flex: none; width: 58px; height: 58px; border-radius: 18px; background: var(--cream); color: var(--rasp-ink, var(--rasp)); border: 3px solid var(--choc); box-shadow: 0 4px 0 var(--choc); display: grid; place-items: center; }
.hero-ic svg { width: 26px; height: 26px; }
.hero-txt { flex: 1; min-width: 200px; }
.hero h1 { margin: 0; font: italic 900 clamp(36px, 5vw, 52px)/1 "Fraunces", serif; -webkit-text-stroke: 2.5px var(--choc); paint-order: stroke fill; text-shadow: 0 4px 0 var(--choc); color: var(--cream); }
.hero p { margin: 8px 0 0; font-weight: 700; }
.hero-side { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hchip { font: 800 13px "M PLUS Rounded 1c"; background: var(--cream); color: var(--choc); border: 2.5px solid var(--choc); border-radius: 999px; padding: 3px 14px; box-shadow: 0 3px 0 var(--choc); }
.hero .pill { min-width: 170px; color: var(--choc); }
.pill.inline { display: inline-flex; min-width: 180px; }

.toolbar { margin: 0 0 24px; }
.seg.wide-seg { display: flex; flex-wrap: wrap; background: var(--cream); border: 3px solid var(--choc); border-radius: 16px; padding: 5px; gap: 5px; box-shadow: 0 4px 0 var(--choc); }
.wide-seg a, .wide-seg button { flex: 1; min-width: max-content; text-align: center; text-decoration: none; border: 0; background: transparent; border-radius: 11px; padding: 7px 14px; font: 800 14px "M PLUS Rounded 1c"; }
.wide-seg a:hover, .wide-seg button:hover { background: var(--pink-pale); color: var(--on-pink); }
.wide-seg .on { background: var(--rasp) !important; color: var(--on-rasp, #fff); }
.wide-seg small { font-size: 11px; opacity: .75; margin-left: 3px; }

.ftitle { margin: 0 0 8px; font: italic 900 30px/1.1 "Fraunces", serif; overflow-wrap: anywhere; }
.prose.small { margin: 0; max-width: none; }
.prose.small p { font-size: 15.5px; line-height: 1.7; }
.plinks.left { justify-content: flex-start; }

/* art */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 34px 30px; padding: 8px; }
.gallery.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pager { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.pager a { min-width: 40px; text-align: center; font: 800 14px "M PLUS Rounded 1c"; text-decoration: none; background: var(--cream); border: 2.5px solid var(--choc); border-radius: 12px; padding: 5px 12px; box-shadow: 0 3px 0 var(--choc); }
.pager a.on { background: var(--rasp); color: var(--on-rasp, #fff); }
.pager a:active { transform: translateY(3px); box-shadow: none; }

.arrow.big { width: 42px; height: 42px; font-size: 22px; border-radius: 12px; }

.crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.crumbs .spacer { flex: 1; }
.back { font: 800 14px "M PLUS Rounded 1c"; text-decoration: none; background: var(--cream); border: 2.5px solid var(--choc); border-radius: 999px; padding: 4px 14px; box-shadow: 0 3px 0 var(--choc); display: inline-block; }
.back:active { transform: translateY(3px); box-shadow: none; }
.video { position: relative; aspect-ratio: 16/9; width: 100%; margin: 0 0 20px; border: 3px solid var(--choc); border-radius: 16px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.morestrip { margin-top: 30px; }

.prose { max-width: 680px; margin: 0 auto; }
.prose p { margin: 0 0 1.1em; font-size: 17px; line-height: 1.85; }
.prose .break { text-align: center; color: var(--rasp-ink, var(--rasp)); letter-spacing: .4em; }

/* stories */
.featured-story .body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 34px; align-items: center; padding: 30px 34px; }
.fs-cover { display: block; aspect-ratio: 3/4; border: 3px solid var(--choc); border-radius: 8px 16px 16px 8px; overflow: hidden; box-shadow: -6px 0 0 var(--rasp), 0 6px 0 var(--choc); transform: rotate(-2deg); transition: transform .2s; }
.fs-cover:hover { transform: rotate(0) translateY(-4px); }
.fs-cover img { width: 100%; height: 100%; object-fit: cover; }
.booky { display: grid; place-items: center; height: 100%; padding: 18px; text-align: center; background: repeating-linear-gradient(0deg, rgba(168,50,79,.12) 0 14px, transparent 14px 28px), repeating-linear-gradient(90deg, rgba(168,50,79,.12) 0 14px, transparent 14px 28px), var(--pink-pale); color: var(--on-pink); }
.booky b { font: italic 900 22px/1.1 "Fraunces", serif; background: var(--cream); border: 2px solid var(--choc); border-radius: 10px; padding: 8px 10px; }
.fs-txt p { margin: 0 0 10px; }
.booky small { display: block; margin-top: 8px; font: 800 11px "M PLUS Rounded 1c"; letter-spacing: .12em; text-transform: uppercase; color: var(--rasp-ink, var(--rasp)); }
.chip.kind { background: var(--choc); color: var(--cream); }
.page-blank { min-height: 220px; margin-top: 10px; }

/* each kind of writing laid out properly */
.prose .stanza { font-size: 17px; line-height: 1.9; margin: 0 0 1.6em; }
.prose.verse { max-width: 560px; }
.prose.script { max-width: 620px; }
.prose .say { margin: 0 0 1.1em; }
.prose .who, .leaf-text .who, .blurb .who, .fs-preview .who { font: 800 11.5px "M PLUS Rounded 1c"; letter-spacing: .12em; text-transform: uppercase; color: var(--rasp-ink, var(--rasp)); }
.prose .say .who { display: block; margin-bottom: 2px; }
.prose .say p { margin: 0; }
.prose .dir { font-style: italic; color: var(--choc-2); text-align: center; margin: .4em 0 1.2em; }
.standfirst { margin: 4px auto 12px; max-width: 620px; font: italic 800 20px/1.45 "Fraunces", serif; color: var(--choc-2); }
.leaf-text.verse, .leaf-text.script { line-height: 1.75; }
.leaf-text.verse::first-letter, .leaf-text.script::first-letter { float: none; font: inherit; color: inherit; margin: 0; }
.leaf-text.verse { font-style: italic; }
.fs-txt .pill { max-width: 260px; margin-top: 14px; }
.readtime { display: flex; align-items: center; gap: 10px; font: 800 12px "M PLUS Rounded 1c"; margin-top: 10px; }
.meter-mini { flex: 1; max-width: 140px; height: 10px; border: 2px solid var(--choc); border-radius: 999px; background: #fff; overflow: hidden; }
.meter-mini i { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--rasp) 0 5px, var(--rasp-2) 5px 10px); }
.featured-story { margin-bottom: 28px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.card { position: relative; display: flex; flex-direction: column; gap: 6px; text-decoration: none; padding: 26px 20px 18px 46px; background: #fffdfb repeating-linear-gradient(transparent 0 25px, #f1d9cf 25px 27px); background-position: 0 14px;
  border: 3px solid var(--choc); border-radius: 14px; box-shadow: 0 5px 0 var(--choc); transition: transform .15s; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 32px; top: 0; bottom: 0; border-left: 2px solid var(--rasp-2); }
.card:hover { transform: translateY(-4px) rotate(-.6deg); }
.card .hole { position: absolute; left: 10px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--page); border: 2px solid var(--choc); }
.card b { font: italic 900 22px/1.15 "Fraunces", serif; overflow-wrap: anywhere; padding-right: 64px; }
.card .blurb { font-size: 14px; }
.datestamp { position: absolute; top: 14px; right: 12px; width: 60px; height: 60px; border-radius: 50%; border: 2px dashed var(--rasp); color: var(--rasp-ink, var(--rasp)); display: grid; place-items: center; text-align: center; font: 800 10px/1.15 "M PLUS Rounded 1c"; transform: rotate(12deg); padding: 6px; }
.card[hidden] { display: none; }

.readbar { position: fixed; top: 0; left: 0; right: 0; height: 6px; z-index: 40; background: transparent; }
.readbar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(-45deg, var(--rasp) 0 6px, var(--pink) 6px 12px); }
.sizer { display: inline-flex; gap: 4px; background: var(--cream); border: 2.5px solid var(--choc); border-radius: 12px; padding: 3px; box-shadow: 0 3px 0 var(--choc); }
.sizer button { border: 0; background: transparent; border-radius: 8px; padding: 2px 10px; font: 800 14px "M PLUS Rounded 1c"; }
.sizer button:hover { background: var(--pink-pale); color: var(--on-pink); }
.reader-head { text-align: center; padding: 30px 22px 22px; border-bottom: 3px solid var(--choc);
  background: repeating-linear-gradient(0deg, rgba(168,50,79,.1) 0 16px, transparent 16px 32px), repeating-linear-gradient(90deg, rgba(168,50,79,.1) 0 16px, transparent 16px 32px), var(--pink-pale); color: var(--on-pink); }
.reader-head .hero-ic { margin: 0 auto 12px; }
.reader-head h1 { margin: 0 0 12px; font: italic 900 clamp(32px, 5vw, 46px)/1.1 "Fraunces", serif; overflow-wrap: anywhere; }
.reader-head .chips { justify-content: center; }
.reader .body { padding: 34px 26px; }
.storycover { max-width: 520px; margin: 0 auto 28px; border: 3px solid var(--choc); border-radius: 16px; overflow: hidden; }
.end { text-align: center; font: italic 900 22px "Fraunces", serif; color: var(--rasp-ink, var(--rasp)); margin: 34px 0 6px; }
.nextup { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.nu { padding: 16px 20px; text-decoration: none; transition: transform .15s; }
.nu:hover { transform: translateY(-3px); }
.nu.right { text-align: right; }
.nu small { font: 800 12px "M PLUS Rounded 1c"; color: var(--rasp-ink, var(--rasp)); }
.nu b { font: italic 900 20px/1.2 "Fraunces", serif; }

/* music */
.bigplayer .body { padding: 26px; }
.bp-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 34px; align-items: center; }
.bp-info h2 { margin: 8px 0 6px; font: italic 900 clamp(30px, 4vw, 42px)/1.05 "Fraunces", serif; overflow-wrap: anywhere; }
.bp-info p { margin: 0; min-height: 1.6em; }
.eq.big { height: 28px; gap: 4px; margin: 14px 0 4px; }
.eq.big i { width: 6px; }
.bp-info .ctrl { justify-content: flex-start; }
.sleeves { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px; margin-top: 26px; padding-top: 22px; border-top: 2px dashed var(--cream-2); }
.sleeve { border: 0; background: none; padding: 0; text-align: center; }
.sl-art { position: relative; display: block; aspect-ratio: 1; margin-right: 22%; }
.sl-art img, .sl-art::before { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; border: 3px solid var(--choc); border-radius: 8px; }
.sl-art::before { content: ""; background: repeating-linear-gradient(-45deg, var(--pink) 0 8px, var(--pink-pale) 8px 16px); }
.sl-art:has(img)::before { display: none; }
.sl-disc { position: absolute; top: 6%; left: 18%; width: 88%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--choc); background: radial-gradient(circle, var(--cream) 0 9%, var(--rasp) 10% 26%, var(--choc) 27%); z-index: 1; transition: transform .3s; }
.sleeve:hover .sl-disc, .sleeve.on .sl-disc { transform: translateX(22%) rotate(50deg); }
.sleeve b { display: block; margin-top: 10px; font: 800 14px "M PLUS Rounded 1c"; }
.sleeve.on b { color: var(--rasp-ink, var(--rasp)); }
.sleeve.on .sl-art img, .sleeve.on .sl-art::before { box-shadow: 0 0 0 4px var(--rasp-2); }
.playlist { margin-top: 30px; }
.playlist .body { padding: 22px; }
.tracks { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: t; }
.track { display: grid; grid-template-columns: 36px 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 14px; transition: background .15s; }
.track:nth-child(odd) { background: var(--cream-2); }
.track:hover { background: var(--pink-pale); color: var(--on-pink); }
.track .num { font: 800 15px "M PLUS Rounded 1c"; color: var(--rasp-ink, var(--rasp)); }
.track .tt b { display: block; font: 800 15px "M PLUS Rounded 1c"; overflow-wrap: anywhere; }
.track .tt small { color: var(--choc-2); font-weight: 700; }
.track .plinks { margin: 0; justify-content: flex-end; }
.track[hidden] { display: none; }

/* apps */
.appstage { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 34px; align-items: start; }
.bigphone { background: var(--choc); border-radius: 40px; padding: 14px; box-shadow: 0 8px 0 #2c1817; display: flex; flex-direction: column; }
.bigphone > .screen { flex: 1; }
.bigphone .screen { border-radius: 28px; padding: 30px 18px 18px; min-height: 520px; display: flex; flex-direction: column; position: relative; }
.notch { position: absolute; top: 10px; left: 50%; width: 90px; height: 18px; margin-left: -45px; background: var(--choc); border-radius: 999px; }
.apps.big { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 12px; margin-top: 10px; }
.apps.big button, .apps.big .emptyslot { border: 0; background: none; padding: 0; font: 800 10.5px/1.2 "M PLUS Rounded 1c"; min-width: 0; }
.apps.big span span, .apps.big button span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-bottom: 3px; }
.apps.big button.on .appicon { box-shadow: 0 0 0 3px var(--cream), 0 0 0 6px var(--rasp-2); }
.apps.big button:hover .appicon { transform: translateY(-3px) rotate(-4deg); }
.bigphone .meter { margin-top: auto; }
.dock { height: 16px; margin: 14px auto 0; width: 40%; border-radius: 999px; background: var(--choc); opacity: .5; }
.appinfo .body { padding: 26px; min-height: 260px; }
.appdetail { display: flex; gap: 24px; align-items: flex-start; }
.appdetail h2 { margin: 8px 0 6px; font: italic 900 34px/1.05 "Fraunces", serif; overflow-wrap: anywhere; }
.appdetail p { margin: 0 0 4px; }
.appicon.big { width: 110px; flex: none; border-width: 3px; }
.tip { margin-top: auto; padding-top: 18px; text-align: center; }

/* about */
.profile { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; margin-bottom: 28px; }
.profcard { text-align: center; }
.pc-top { padding: 26px 0 18px; border-bottom: 3px solid var(--choc); background: repeating-linear-gradient(-45deg, rgba(255,255,255,.08) 0 8px, transparent 8px 16px), var(--rasp); color: var(--on-rasp, inherit); }
.face.xl { width: 170px; height: 170px; margin: 0 auto; border-radius: 34px; box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--choc); }
.face.xl svg { width: 60px; }
.profcard .body { padding: 20px; align-items: center; }
.profcard h2 { margin: 0; font: italic 900 34px/1.1 "Fraunces", serif; }
.likes { margin-top: 16px; width: 100%; background: var(--cream-2); border-radius: 14px; padding: 10px 12px; }
.likes .chips { justify-content: center; margin-top: 6px; }
.lbl { font: 800 11px "M PLUS Rounded 1c"; letter-spacing: .08em; color: var(--rasp-ink, var(--rasp)); }
.profright { display: grid; gap: 28px; }
.quest .body { padding: 18px 20px; }
.questline { margin: 0; font: italic 900 22px/1.3 "Fraunces", serif; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 2px; background: var(--cream-2); border: 2px solid var(--cream-2); border-radius: 14px; padding: 12px 14px; text-decoration: none; }
.tile span { font: 800 11px "M PLUS Rounded 1c"; letter-spacing: .06em; color: var(--rasp-ink, var(--rasp)); text-transform: uppercase; }
.tile b { font: 800 15px "M PLUS Rounded 1c"; overflow-wrap: anywhere; }
.tile.link { background: #fff; border: 2.5px solid var(--choc); box-shadow: 0 4px 0 var(--choc); transition: transform .15s; }
.tile.link:hover { transform: translateY(-3px); }
.tile.link i { width: 34px; height: 34px; border-radius: 10px; background: var(--rasp); color: var(--on-rasp, #fff); display: grid; place-items: center; margin-bottom: 6px; }
.tile.link i svg { width: 16px; height: 16px; }
.findme { margin-top: 28px; }
main > section.w + section.w { margin-top: 28px; }
main > .profile + section.w { margin-top: 0; }

/* ---------- the binder: index tabs, an album that never shrinks, real page turns ---------- */
.bd { z-index: 1; }
.bd-page { position: relative; }
.bd-rings { position: relative; z-index: 3; }
.bd-hold { position: relative; }
.bd-hold + .bd-hold, .bd-gap { margin-top: 34px; }
/* index tabs tucked behind the binder's right edge (like the tabs in the binder ref) */
.bd-tabs { position: absolute; left: 100%; top: 30px; z-index: 0; display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-left: -10px; }
.tab { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 82px; padding: 7px 14px 7px 24px; transform: translateX(-12px); font: 800 14.5px "M PLUS Rounded 1c"; text-decoration: none; color: var(--choc); white-space: nowrap;
  border: 3px solid var(--choc); border-left: 0; border-radius: 0 14px 14px 0; box-shadow: 0 4px 0 var(--choc); transition: transform .35s cubic-bezier(.3, .7, .3, 1), background-color .25s ease, color .25s ease; }
.tab small { font-size: 12px; opacity: .65; }
.tab.t0 { background: var(--pink); color: var(--on-pink); } .tab.t1 { background: var(--cream-2); } .tab.t2 { background: var(--pink-pale); color: var(--on-pink); } .tab.t3 { background: #e9c6c0; }
.tab:hover, .tab:focus-visible { transform: translateX(0); }
.tab.on { background: var(--rasp); color: var(--on-rasp, #fff); transform: translateX(0); }
.tab.on small { opacity: .85; }


/* album pages: 9 sleeves each; empty sleeves keep the binder the same size */
.bd-album { perspective: 2600px; }
.bd-album .bd-page { padding-bottom: 20px; }
.bd-album .pg-no { line-height: 26px; }
.bd-sheet { display: flex; flex-direction: column; gap: 22px; height: 100%; }
.bd-sleeve { display: block; padding: 8px 8px 46px; border-radius: 3px; outline: 2px dashed rgba(107,63,55,.28); outline-offset: -2px;
  background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.25) 60%, rgba(255,255,255,.6)); }
.bd-sleeve::before { content: ""; display: block; aspect-ratio: 1; }
.pg-no { margin-top: auto; align-self: center; font: italic 900 16px "Fraunces", serif; color: var(--choc-2); }
/* turn buttons: in the page footer next to the page number, never over the art */
.bd-turn { position: absolute; bottom: 13px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
  font: 900 22px/1 "M PLUS Rounded 1c"; color: var(--choc); background: var(--cream); border: 2.5px solid var(--choc); box-shadow: 0 3px 0 var(--choc); transition: background-color .25s ease, color .25s ease; }
.bd-turn.prev { left: 22px; } .bd-turn.next { right: 22px; }
.bd-turn:hover { background: var(--rasp); color: var(--on-rasp, #fff); }
.bd-turn:active { transform: translateY(3px); box-shadow: none; }
/* the page that turns */
.turnleaf { position: absolute; z-index: 2; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.6, .05, .3, 1); pointer-events: none; will-change: transform; }
.turnleaf > .bd-page { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: rotateY(0deg); }
.turnleaf > .back { transform: rotateY(180deg); }
.turnleaf > .bd-page::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; }
.turnleaf > .front::after { background: linear-gradient(90deg, rgba(62,36,34,.22), rgba(62,36,34,.04)); }
.turnleaf > .back::after { background: linear-gradient(270deg, rgba(62,36,34,.22), rgba(62,36,34,.04)); }
.turnleaf.go > .front::after { animation: shade-out .9s ease-in forwards; }
.turnleaf.go > .back::after { animation: shade-in .9s ease-out forwards; }
@keyframes shade-out { to { opacity: 1; } }
@keyframes shade-in { from { opacity: 1; } to { opacity: 0; } }
.bd-album.fade .bd-sheet:not([hidden]) { animation: sheetin .35s ease; }
@keyframes sheetin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* switching character tab: the paper changes, the binder stays put */
.artbook.swap-out .bd-page > * { opacity: 0; transition: opacity .2s ease; }
.artbook.swap-in .bd-page > * { animation: sheetin .35s ease; }

/* the video: a chubby little TV standing on its own, as wide as the binder */
.tvset { position: relative; container-type: inline-size; display: flex; flex-direction: column; justify-content: center; scroll-margin-top: 16px; }
.tv-ant { position: relative; flex: none; align-self: center; width: 140px; height: 54px; margin-bottom: -6px; }
.tv-ant i { position: absolute; bottom: 0; left: 50%; width: 5px; height: 58px; background: var(--choc); border-radius: 3px; transform-origin: 50% 100%; }
.tv-ant i:first-child { transform: translateX(-50%) rotate(-32deg); } .tv-ant i:last-child { transform: translateX(-50%) rotate(28deg); }
.tv-ant i::before { content: ""; position: absolute; top: -9px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--pink); border: 3px solid var(--choc); }
.tv-ant::after { content: ""; position: absolute; bottom: -6px; left: 50%; width: 46px; height: 20px; margin-left: -23px; border-radius: 22px 22px 6px 6px; background: var(--choc-2); border: 3px solid var(--choc); }
.tv-body { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) clamp(40px, 8cqw, 82px); gap: clamp(10px, 1.8cqw, 18px); align-items: center;
  padding: clamp(10px, 1.6cqw, 16px); border: 4px solid var(--choc); border-radius: clamp(26px, 4cqw, 40px);
  background: radial-gradient(circle at 18% 12%, rgba(255,255,255,.22), transparent 40%), var(--rasp); box-shadow: inset 0 -7px 0 rgba(0,0,0,.14), inset 0 5px 0 rgba(255,255,255,.16), 0 7px 0 var(--choc); color: var(--on-rasp, inherit); }
.tv-bezel { padding: clamp(5px, .8cqw, 8px); background: var(--cream); border: 3px solid var(--choc); border-radius: clamp(18px, 3cqw, 30px); }
.tv-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: clamp(13px, 2.3cqw, 24px); background: #1d0f0e; border: 3px solid var(--choc); }
.tv-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(ellipse at 25% 15%, rgba(255,255,255,.14), transparent 45%); }
.tv-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.screen-out { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; border: 0; cursor: pointer; text-decoration: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 2px, transparent 2px 4px), radial-gradient(circle, rgba(200,74,102,.4), transparent 70%), #2a1716; }
.screen-out video, .screen-out img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.big-play { position: relative; width: clamp(54px, 9cqw, 86px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: var(--on-rasp, #fff); background: var(--rasp); border: 4px solid var(--cream); box-shadow: 0 5px 0 rgba(0,0,0,.35); transition: transform .3s cubic-bezier(.3, .7, .4, 1); }
.big-play svg { width: 38%; margin-left: 8%; }
.screen-out:hover .big-play { transform: scale(1.07); }
.tv-side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(10px, 1.8cqw, 18px); }
.knob { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--pink); border: 3px solid var(--choc); box-shadow: inset 0 -5px 0 rgba(0,0,0,.12); color: var(--on-pink); }
.knob::after { content: ""; position: absolute; top: 10%; left: 50%; width: 12%; height: 32%; margin-left: -6%; border-radius: 3px; background: var(--choc); }
.knob { --r: 0deg; transform: rotate(var(--r)); transition: transform .45s cubic-bezier(.3, .7, .3, 1.3); cursor: grab; touch-action: none; }
.knob + .knob { --r: 50deg; }
.knob.turning { transition: none; cursor: grabbing; }
.grille { width: 90%; aspect-ratio: 3 / 4; border-radius: 12px; background: radial-gradient(circle, var(--choc) 22%, transparent 26%) 0 0 / 33.3% 25%; opacity: .55; }
.tv-legs { position: relative; flex: none; height: 24px; margin: -6px 14% 0; display: flex; justify-content: space-between; }
.tv-legs i { width: clamp(28px, 4cqw, 44px); height: 30px; margin-top: -6px; border-radius: 0 0 14px 14px; background: var(--choc-2); border: 3px solid var(--choc); border-top: 0; }
.tv-alone { margin-bottom: 30px; }
/* TV next to the thoughts page: the TV sets the height, the page lines up with the TV's body exactly,
   and longer thoughts scroll inside the page */
.tv-duo { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; align-items: stretch; margin-bottom: 30px; }
.tv-duo.tv-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.tv-duo > .bd { height: 0; min-height: calc(100% - 72px); margin: 48px 0 24px; grid-template-rows: minmax(0, 1fr); }
.tv-duo .bd-page { display: flex; flex-direction: column; min-height: 0; }
.tv-duo .fade-scroll { flex: 1; min-height: 0; overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
.fade-scroll.more, .about-scroll.more { -webkit-mask-image: linear-gradient(#000 calc(100% - 56px), transparent); mask-image: linear-gradient(#000 calc(100% - 56px), transparent); }
/* watching the video big */
dialog.watch { width: min(1200px, 94vw); max-width: none; max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; }
dialog.watch::backdrop { background: rgba(40, 20, 22, .82); }
dialog.watch[open] { animation: watchin .3s cubic-bezier(.3, .7, .4, 1); }
@keyframes watchin { from { opacity: 0; transform: scale(.96); } }
.watch-frame { position: relative; padding: 10px; background: var(--cream); border: 4px solid var(--choc); border-radius: 26px; box-shadow: 0 8px 0 var(--choc); }
.watch-frame video, .watch-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: calc(94vh - 40px); border: 0; border-radius: 16px; background: #1d0f0e; }
.watch-x { position: absolute; top: -18px; right: -18px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 900 22px/1 "M PLUS Rounded 1c"; color: var(--on-rasp, #fff); background: var(--rasp); border: 3px solid var(--choc); box-shadow: 0 3px 0 var(--choc); transition: background-color .25s ease; }
.watch-x:hover { background: var(--rasp-2); color: var(--on-rasp, inherit); }
/* ---------- a piece's own page: the same binder ---------- */
.piecebook > .bd { margin-bottom: 30px; }
.bd-toptabs { position: relative; z-index: 0; display: flex; align-items: flex-end; gap: 10px; padding: 0 34px; margin-bottom: -3px; }
.bd-toptabs .sp { flex: 1; }
.bd-backtab.piece { background: var(--pink); color: var(--on-pink, var(--choc)); } .bd-backtab.piece:hover { background: var(--pink-pale); color: var(--on-pink); }
.bd-backtab { position: relative; z-index: 0; display: inline-block; margin: 0; padding: 6px 18px 7px; font: 800 14.5px "M PLUS Rounded 1c"; text-decoration: none; color: var(--on-rasp, #fff);
  background: var(--rasp); border: 3px solid var(--choc); border-bottom: 0; border-radius: 14px 14px 0 0; transition: background-color .25s ease; }
.bd-backtab:hover { background: var(--rasp-2); color: var(--on-rasp, inherit); }
/* labels at the top of a page */
.pg-label { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.pl-tag { display: inline-flex; align-items: center; gap: 9px; padding: 4px 16px 4px 5px; background: var(--rasp); color: var(--on-rasp, #fff); font: italic 900 19px/1.2 "Fraunces", serif; border: 2.5px solid var(--choc); border-radius: 12px; box-shadow: 0 3px 0 var(--choc); }
.pl-tag i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--rasp-ink, var(--rasp)); border: 2px solid var(--choc); }
.pl-tag svg { width: 14px; height: 14px; }
.pg-label .count { background: var(--choc); color: var(--cream); }
/* the top spread always fits the window: art on one page, about on the other */
.bd-piece { grid-template-columns: minmax(0, 1.35fr) 46px minmax(0, 1fr); height: clamp(540px, calc(100svh - 150px - var(--ebar, 0px)), 920px); }
.bd-piece.art-right { grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1.35fr); }
.pg-label .vw-no { margin: 0; } .pg-label .vw-no b { font-size: 34px; }
.bd-piece .bd-page { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.flip { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 16px; }
.flip-slides { flex: 1; min-height: 0; container-type: size; display: grid; }
.flip-row { flex: none; display: flex; align-items: center; justify-content: center; gap: 14px; }
.slide { display: grid; place-items: center; }
/* the art: a square print with photo corners, as big as the page allows */
.slide-img { position: relative; display: block; width: min(calc(100cqw - 24px), calc(100cqh - 24px)); aspect-ratio: 1; padding: 10px; background: #fff; box-shadow: 0 0 0 2px var(--choc), 6px 7px 0 rgba(62,36,34,.18); }
.slide-img::before, .slide-img::after { content: ""; position: absolute; width: 30px; height: 30px; z-index: 1; background: var(--rasp); }
.slide-img::before { top: -4px; left: -4px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.slide-img::after { bottom: -4px; right: -4px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.slide-img img { width: 100%; height: 100%; object-fit: contain; }
.slide-img:empty, .slide-img:not(:has(img)) { background: repeating-linear-gradient(-45deg, var(--pink-pale) 0 12px, #fff 12px 24px) content-box, #fff; }
.thumbs { flex: none; }
.about-scroll { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; padding: 4px 8px 4px 4px; scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
.about-scroll .vw-title { margin: 0; }
.bd-piece .post-actions { flex: none; padding-top: 16px; border-top: 2px dashed rgba(107,63,55,.25); margin-top: 12px; }
/* one wide page: rings down the left, like a notebook */
.bd.single { grid-template-columns: 46px minmax(0, 1fr); }
.bd.single .bd-page.right { border-radius: 6px 16px 16px 6px; }
.bd-bottom .bd-page { display: flex; flex-direction: column; }


/* ---------- pages are a grid of elements (Ana arranges them in edit mode) ----------
   48 columns, 7px rows. The 28px gaps are padding inside each element, so every edge
   lines up with every other edge, and heights grow to fit what's inside (nothing overlaps). */
.page-wrap { position: relative; }
.page-grid { display: grid; grid-template-columns: repeat(48, minmax(0, 1fr)); grid-auto-rows: minmax(7px, auto); margin: 0 -14px -28px; }
.blk { min-width: 0; padding: 0 14px 28px; display: flex; flex-direction: column; }
.blk-in { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.blk-in > :only-child { flex: 1 1 auto; }
.blk-in > :first-child { margin-top: 0 !important; }
.blk-in > :last-child { margin-bottom: 0 !important; }
.blk-in > .hero { margin-bottom: 0; }
/* a height Ana set: the element keeps it, and what's inside scrolls if it needs more room */
.blk.fh > .blk-in { flex: 0 0 auto; min-height: 0; }
.blk.fh > .blk-in > * { min-height: 0; max-height: 100%; }
.blk.fh > .blk-in > :only-child { overflow: auto; scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
.blk.fh > .blk-in > .w { overflow: hidden; }
.blk.fh > .blk-in > .w > .body { flex: 1 1 0; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
/* stickers float on top, anywhere */
.stickers { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.stk { position: absolute; display: block; transform: translate(-50%, -50%) rotate(var(--rot, 0deg)); filter: drop-shadow(0 4px 6px rgba(40,20,22,.18)); }
.stk svg, .stk img { display: block; width: 100%; height: auto; }
/* the basic elements */
.u-heading { margin: 0; font-family: "Fraunces", serif; font-style: italic; font-weight: 900; line-height: 1.1; color: var(--choc); overflow-wrap: anywhere; }
.u-heading.s-s { font-size: 22px; } .u-heading.s-m { font-size: 30px; } .u-heading.s-l { font-size: 42px; } .u-heading.s-xl { font-size: clamp(44px, 7vw, 76px); color: var(--rasp-ink, var(--rasp)); }
.a-left { text-align: left; } .a-center { text-align: center; } .a-right { text-align: right; }
.u-text { margin: 0; max-width: none; }
.u-text p { font-size: 17px; line-height: 1.75; }
.u-pic { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.u-pic-img { position: relative; display: block; width: 100%; min-height: 120px; background: repeating-linear-gradient(-45deg, var(--pink-pale) 0 12px, #fff 12px 24px); }
.u-pic-img img { display: block; width: 100%; height: auto; }
.u-pic-img:not(:has(img)) { aspect-ratio: 1; }
.u-pic { height: 100%; }
.blk.fh .u-pic-img { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
.blk.fh .u-pic-img img { height: 100%; object-fit: cover; }
.u-pic.f-photo .u-pic-img { padding: 10px; background-clip: content-box; background-color: #fff; box-shadow: 0 0 0 2px var(--choc), 6px 7px 0 rgba(62,36,34,.18); }
.u-pic.f-photo .u-pic-img::before, .u-pic.f-photo .u-pic-img::after { content: ""; position: absolute; width: 28px; height: 28px; z-index: 1; background: var(--rasp); }
.u-pic.f-photo .u-pic-img::before { top: -4px; left: -4px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.u-pic.f-photo .u-pic-img::after { bottom: -4px; right: -4px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.u-pic.f-plain .u-pic-img { border-radius: 18px; overflow: hidden; border: 3px solid var(--choc); }
.u-pic.f-round .u-pic-img { width: min(100%, 420px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 4px solid var(--choc); box-shadow: 0 0 0 6px var(--cream), 0 0 0 9px var(--choc); }
.u-pic.f-round img { height: 100%; object-fit: cover; }
.u-pic.f-polaroid .u-pic-img { padding: 12px 12px 54px; background-clip: content-box; background-color: #fff; box-shadow: 0 0 0 2px var(--choc), 6px 7px 0 rgba(62,36,34,.18); }
.u-pic figcaption { font: italic 800 16px "Fraunces", serif; color: var(--choc-2); text-align: center; }
.u-pic.f-polaroid figcaption { margin-top: -50px; position: relative; z-index: 1; }
.u-btn { display: flex; align-items: flex-start; }
.u-btn .pill { flex: 1 1 auto; min-width: 0; }
.u-btn .pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill.b-filled { background: var(--rasp); color: var(--on-rasp, #fff); } .pill.b-filled i { background: var(--cream); color: var(--rasp-ink, var(--rasp)); }
.pill.b-pink { background: var(--pink); color: var(--on-pink); }
.pill.b-dark { background: var(--choc); color: var(--cream); border-color: var(--choc); } .pill.b-dark i { background: var(--pink); color: var(--on-pink, var(--choc)); }
.u-div { align-self: stretch; margin: 8px 0; }
.u-div.l-stitch { border-top: 3px dashed var(--choc-2); opacity: .6; }
.u-div.l-chain { height: 14px; background: radial-gradient(circle at 7px 7px, transparent 3.5px, var(--choc) 4px 6px, transparent 6.5px) 0 0 / 14px 14px repeat-x; opacity: .7; }
.u-div.l-wave { height: 14px; background: radial-gradient(circle at 10px -4px, transparent 9px, var(--rasp) 10px 12px, transparent 12.5px) 0 0 / 20px 14px repeat-x; }
.u-div.l-hearts { display: flex; justify-content: center; } .u-div.l-hearts span { display: flex; gap: 14px; color: var(--rasp-ink, var(--rasp)); } .u-div.l-hearts svg { width: 16px; height: 16px; }
.u-space { min-height: 60px; }
.u-socials { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; }
.u-socials.arr-column { flex-direction: column; align-items: flex-start; }
.u-socials.arr-grid { display: grid; grid-template-columns: repeat(2, max-content); }
.u-socials.a-center { justify-content: center; align-items: center; } .u-socials.arr-grid.a-center { justify-content: center; }
.u-socials.a-right { justify-content: flex-end; align-items: flex-end; } .u-socials.arr-grid.a-right { justify-content: end; }
.u-socials.sz-s .round { width: 38px; height: 38px; } .u-socials.sz-s .round svg { width: 17px; height: 17px; }
.u-socials.sz-l .round { width: 64px; height: 64px; } .u-socials.sz-l .round svg { width: 28px; height: 28px; }
.rounds.solo { margin: 0; padding: 0; }
.blk-tv .tvset { max-width: 100%; }

/* ---------- every part fits whatever size Ana makes it ---------- */
.blk-in { container: el / inline-size; }
/* splash: drawing goes under the words when it's narrow */
@container el (max-width: 720px) { .splash, .splash:has(> .drawwrap.layered) { grid-template-columns: minmax(0, 1fr); } .splash .draw { min-height: 220px; } }
/* art strip: fewer stamps across as it gets narrower */
@container el (max-width: 600px) { .strip .art { flex-basis: calc((100% - 52px) / 3); } }
@container el (max-width: 440px) { .strip .art { flex-basis: calc((100% - 26px) / 2); } .bar .count { display: none; } }
@container el (max-width: 270px) { .strip .art { flex-basis: 100%; } .strip { gap: 14px; } }
/* mini record player + about card: stacked when narrow */
@container el (max-width: 320px) {
  .player { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .seg { grid-template-columns: minmax(0, 1fr) !important; }
  .id { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .fields div { flex-direction: column; gap: 0; text-align: left; }
  .foot { justify-content: center; }
}
/* banners */
@container el (max-width: 560px) { .hero { padding: 16px 18px; gap: 12px; } .hero h1 { font-size: 34px; } .hero-txt { min-width: 0; } .hero-ic { width: 46px; height: 46px; } }
/* writing spotlight + cards */
@container el (max-width: 640px) { .featured-story .body { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 22px; gap: 20px; } .fs-cover { width: 150px; } .featured-story .chips, .featured-story .readtime { justify-content: center; } }
@container el (max-width: 330px) { .cards { grid-template-columns: minmax(0, 1fr); } .card b { padding-right: 0; } }
/* big record player */
@container el (max-width: 660px) { .bp-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } .deck.big { --s: 200px; } .bp-info .ctrl, .bp-info .plinks.left { justify-content: center; } .sleeves { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 16px; } }
/* playlist rows */
@container el (max-width: 640px) { .track { grid-template-columns: 28px 36px minmax(0, 1fr); } .track .plinks { grid-column: 3; justify-content: flex-start; } }
@container el (max-width: 400px) { .track { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; } .track .num { display: none; } .track .plinks { grid-column: 2; } .wide-seg button { padding: 6px 8px; } }
/* phone + app info */
@container el (max-width: 740px) { .appstage { grid-template-columns: minmax(0, 1fr); } .appstage .bigphone { max-width: 340px; width: 100%; margin: 0 auto; } }
@container el (max-width: 480px) { .appdetail { flex-direction: column; align-items: center; text-align: center; } .appdetail .plinks.left { justify-content: center; } }
/* profile */
@container el (max-width: 740px) { .profile { grid-template-columns: minmax(0, 1fr); } }
/* the binder (spotlight, album, piece pages): pages stack when there isn't room for two */
@container el (max-width: 780px) {
  .bd, .bd.single, .bd-piece, .bd-piece.art-right { grid-template-columns: minmax(0, 1fr) !important; }
  .bd-rings { flex-direction: row; padding: 10px 0; }
  .bd-page.left, .bd-page.right, .bd.single .bd-page.right { border-radius: 16px; }
  .bd-piece { height: auto; } .bd-piece .bd-page { overflow: visible; }
  .flip-slides { flex: none; height: auto; container-type: inline-size; } .slide-img { width: min(calc(100cqw - 24px), 560px); }
  .bd-hold { display: flex; flex-direction: column-reverse; }
  .bd-tabs { position: static; flex-direction: row; align-items: flex-end; margin: 0 0 -17px 18px; overflow-x: auto; padding-top: 6px; padding-bottom: 14px; max-width: calc(100% - 18px); scrollbar-width: none; }
  .tab { flex: none; min-width: 0; border: 3px solid var(--choc); border-bottom: 0; border-radius: 14px 14px 0 0; box-shadow: none; padding: 6px 14px 24px; transform: translateY(6px); }
  .tab:hover, .tab:focus-visible, .tab.on { transform: translateY(0); }
}
@container el (max-width: 520px) { .bd { padding: 10px; } .bd-page { padding: 18px 14px; } .bd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
/* the binder's tabs: inside the element when it isn't full width (so they don't poke into a neighbour) */
@container el (min-width: 781px) { .blk:not([style*="span 48;"]) .artbook:has(.bd-tabs) { padding-right: 104px; } }
/* the binder's tabs poke out past it into the page margin; when the window is too narrow for that,
   they sit along the binder's top edge instead (like folder tabs), so the page keeps even sides */
@media (min-width: 921px) and (max-width: 1319px) {
  .bd-hold { display: flex; flex-direction: column-reverse; }
  .bd-tabs { position: static; flex-direction: row; align-items: flex-end; margin: 0 0 -17px 18px; overflow-x: auto; padding-top: 6px; padding-bottom: 14px; max-width: calc(100% - 18px); scrollbar-width: none; }
  .tab { flex: none; min-width: 0; border: 3px solid var(--choc); border-bottom: 0; border-radius: 14px 14px 0 0; box-shadow: none; padding: 6px 14px 24px; transform: translateY(6px); }
  .tab:hover, .tab:focus-visible, .tab.on { transform: translateY(0); }
  .blk:not([style*="span 48;"]) .artbook:has(.bd-tabs) { padding-right: 0; }
}

/* phones: one column, top to bottom */
@media (max-width: 760px) {
  .page-grid { grid-template-columns: minmax(0, 1fr); }
  .blk { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .u-heading.s-l { font-size: 34px; }
}

footer { margin-top: 40px; background: var(--choc); border-top: 4px solid var(--rasp); }
footer .wrap { display: flex; justify-content: center; padding-top: 14px; padding-bottom: 14px; }
footer span { font: 800 13px "M PLUS Rounded 1c"; color: var(--pink); }

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

@media (max-width: 920px) {
  .bd, .bd.single, .bd-piece, .bd-piece.art-right { grid-template-columns: 1fr; } .bd-rings { flex-direction: row; padding: 10px 0; } .bd-page.left, .bd-page.right, .bd.single .bd-page.right { border-radius: 16px; }
  .bd-piece { height: auto; } .bd-piece .bd-page { overflow: visible; } .flip-slides { flex: none; height: auto; container-type: inline-size; } .slide-img { width: min(calc(100cqw - 24px), 560px); }
  .bd-hold { display: flex; flex-direction: column-reverse; }
  .bd-tabs { position: static; flex-direction: row; align-items: flex-end; margin: 0 0 -17px 18px; overflow-x: auto; padding-top: 6px; padding-bottom: 14px; max-width: calc(100% - 18px); scrollbar-width: none; }
  .tab { flex: none; min-width: 0; border: 3px solid var(--choc); border-bottom: 0; border-radius: 14px 14px 0 0; box-shadow: none; padding: 6px 14px 24px; transform: translateY(6px); }
  .tab:hover, .tab:focus-visible, .tab.on { transform: translateY(0); }
  .bd-tabs { align-items: flex-end; }
  .tv-duo, .tv-duo.tv-right { grid-template-columns: 1fr; gap: 0; } .tv-duo > .bd { height: auto; min-height: 0; margin: 10px 0 0; } .tv-duo .fade-scroll { overflow: visible; }
  .more-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board { grid-template-columns: 1fr 1fr; }
  .w.wide { grid-column: 1 / -1; }
  .piece-grid, .appstage, .profile { grid-template-columns: 1fr; }
  .bigphone { max-width: 340px; width: 100%; margin: 0 auto; }
  .gallery.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .bd { padding: 10px; } .bd-page { padding: 18px 14px; } .bd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .post-actions .pill { margin-left: 0; }
  .zoom-body { grid-template-columns: 1fr; } .zoom-body .arrow.big { display: none; }
  .tv-body { grid-template-columns: 1fr; } .tv-side { display: none; }
  .bd-toptabs { padding: 0 12px; gap: 6px; } .bd-backtab { padding: 6px 11px 7px; font-size: 13px; }
  .watch-x { top: -14px; right: -6px; }
  .steps { gap: 30px 18px; } .stepcard { width: calc(50% - 9px); }
  .board { grid-template-columns: 1fr; }
  .splash, .splash:has(> .drawwrap.layered) { grid-template-columns: 1fr; padding: 16px; }
  .splash .draw { min-height: 230px; }
  .strip .art { flex-basis: calc((100% - 26px) / 2); }
  .clock { display: none; }
  .top .wrap { justify-content: center; }
  .logo { margin-right: 0; }
  .hero { padding: 18px; }
  .featured-story .body, .bp-grid { grid-template-columns: 1fr; }
  .featured-story .body { justify-items: center; text-align: center; }
  .fs-cover { width: 170px; }
  .readtime, .chips { justify-content: center; }
  .bp-grid { justify-items: center; text-align: center; }
  .bp-info .ctrl, .plinks.left { justify-content: center; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; padding: 4px; }
  .arrow.big { width: 36px; height: 36px; font-size: 18px; }
  .track { grid-template-columns: 28px 36px minmax(0, 1fr); }
  .track .plinks { grid-column: 3; justify-content: flex-start; }
  .appdetail { flex-direction: column; align-items: center; text-align: center; }
  .nextup { grid-template-columns: 1fr; }
  .nu.right { text-align: left; }
}


/* ================= writing: three looks (home.writing_look), all in the site's own fonts ================= */
/* shared */
.wl-k { font: 800 12px/1.3 "M PLUS Rounded 1c"; letter-spacing: .14em; text-transform: uppercase; color: var(--rasp-ink, var(--rasp)); }
.wl-title { display: block; font: italic 900 22px/1.15 "Fraunces", serif; color: var(--choc); overflow-wrap: anywhere; }
.wl-ex { display: block; font: 600 15px/1.6 "Nunito", sans-serif; color: var(--choc-2); }
.wl-ex.verse { font-style: italic; }
.wl-ex .who { font: 800 11px "M PLUS Rounded 1c"; letter-spacing: .1em; text-transform: uppercase; color: var(--rasp-ink, var(--rasp)); }
.wl-meta { margin: 0; font: 700 14px/1.5 "Nunito", sans-serif; color: var(--choc-2); }
.wl-go { font: 800 14px "M PLUS Rounded 1c"; color: var(--rasp-ink, var(--rasp)); }
.wl-pill { display: inline-flex; min-width: 170px; }
.wl-ava { flex: none; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--pink); color: var(--rasp-ink, var(--rasp)); border: 2px solid var(--choc); }
.wl-ava img { width: 100%; height: 100%; object-fit: cover; }
.wl-ava svg { width: 14px; }
.wl-toprow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wl-back { font: 800 14px "M PLUS Rounded 1c"; color: var(--choc-2); text-decoration: none; }
.wl-back:hover { color: var(--rasp-ink, var(--rasp)); }
.wl-sizer { display: flex; gap: 4px; border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; }
.wl-sizer button { min-width: 34px; height: 30px; padding: 0 6px; background: var(--cream); border: 2px solid var(--choc); border-radius: 9px; box-shadow: 0 2px 0 var(--choc); font: 800 13px "M PLUS Rounded 1c"; color: var(--choc); }
.wl-sizer button:active { transform: translateY(2px); box-shadow: none; }
.wl-edits { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.wl-cover { margin: 0 auto 30px; max-width: 680px; }
.wl-cover img { width: 100%; border-radius: 14px; border: 3px solid var(--choc); }
.wl-note { max-width: 660px; margin: 34px auto 0; padding: 14px 20px; border-radius: 16px; background: var(--pink-pale); border: 2.5px solid var(--choc); font: 600 16px/1.7 "Nunito", sans-serif; color: var(--on-pink, var(--choc-2)); }
.wl-note .wl-k { display: block; margin-bottom: 4px; }
.wl-note p { margin: 0 0 .6em; } .wl-note p:last-child { margin: 0; }
.wl-add { margin-left: auto; }
/* the writing itself */
.wl-read { font: 500 18.5px/1.85 "Nunito", sans-serif; color: var(--choc); }
.wl-read .prose { max-width: 660px; margin: 0 auto; }
.wl-read .prose p, .wl-read .prose .stanza { font-size: inherit; line-height: inherit; margin: 0 0 1.05em; }
.wl-read .prose:not(.verse):not(.script) > p:first-child::first-letter { float: left; font: italic 900 4.1em/.8 "Fraunces", serif; color: var(--rasp-ink, var(--rasp)); margin: .08em .12em 0 0; }
.wl-read .prose .break { text-align: center; color: var(--rasp-ink, var(--rasp)); letter-spacing: .5em; margin: 1.4em 0; }
.wl-read .prose.verse { text-align: center; }
.wl-read .prose.verse p.stanza { margin: 0 0 1.6em; font-style: italic; font-weight: 500; }
.wl-read .prose.script { max-width: 580px; }
.wl-read .prose.script .say { margin: 0 0 1.1em; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; font-size: inherit; line-height: inherit; }
.wl-read .prose.script .say::before { content: none; }
.wl-read .prose.script .say p { margin: 0; }
.wl-read .prose.script .who { display: block; font: 800 12px "M PLUS Rounded 1c"; letter-spacing: .14em; text-transform: uppercase; color: var(--rasp-ink, var(--rasp)); margin-bottom: 2px; }
.wl-read .prose.script .dir { font-style: italic; color: var(--choc-2); text-align: center; margin: .4em 0 1.2em; }
/* big title lettering, like the splash */
.wb-title h1, .wj-mast h1, .wj-ahead h1 { margin: 0; font: italic 900 clamp(52px, 8vw, 84px)/1 "Fraunces", serif; color: var(--cream); -webkit-text-stroke: 3px var(--choc); paint-order: stroke fill; text-shadow: 0 5px 0 var(--choc); overflow-wrap: anywhere; }

/* ---------- the book ---------- */
.wb-page { background: linear-gradient(rgba(107,63,55,.07) 1px, transparent 1px) 0 0 / 24px 24px, #fffaf5; min-width: 0; position: relative; }
.wb-home { display: flex; height: 100%; text-decoration: none; border-radius: 22px; border: 3px solid var(--choc); background: var(--choc); box-shadow: 0 6px 0 var(--choc); padding: 9px; }
.wb-sheet { flex: 1; display: flex; flex-direction: column; border-radius: 14px; padding: 20px 22px 18px; background: linear-gradient(rgba(107,63,55,.07) 1px, transparent 1px) 0 0 / 24px 24px, #fffaf5; }
.wb-krow { display: flex; justify-content: space-between; gap: 10px; }
.wb-sheet .wl-title { font-size: 28px; margin: 12px 0 10px; }
.wb-open { font: 600 15.5px/1.7 "Nunito", sans-serif; color: var(--choc-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.wb-open:not(.verse)::first-letter { float: left; font: italic 900 46px/.85 "Fraunces", serif; color: var(--rasp-ink, var(--rasp)); margin: 4px 8px 0 0; }
.wb-open.verse { font-style: italic; }
.wb-toc { display: block; margin-top: 14px; padding-top: 10px; border-top: 2px dashed rgba(107,63,55,.3); }
.wb-li { display: flex; align-items: baseline; gap: 8px; padding: 3px 0; font: italic 900 15.5px/1.4 "Fraunces", serif; }
.wb-li::after { content: ""; order: 1; flex: 1; border-bottom: 2px dotted rgba(107,63,55,.4); transform: translateY(-4px); }
.wb-li small { order: 2; font: 800 11px "M PLUS Rounded 1c"; letter-spacing: .1em; text-transform: uppercase; color: var(--choc-2); }
.wb-sheet .wl-go { margin-top: auto; padding-top: 12px; text-align: right; }
.wb-home:hover .wl-title { color: var(--rasp-ink, var(--rasp)); }
.wb-title { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 8px 0 0; position: relative; }
.wb-title p { margin: 0; max-width: 560px; font: 800 15px/1.5 "M PLUS Rounded 1c"; color: var(--choc-2); }
.wb-title .wl-add { position: absolute; right: 0; top: 4px; }
.wb-book { display: grid; grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr); background: var(--choc); border: 3px solid var(--choc); border-radius: 28px; padding: 16px; box-shadow: 0 7px 0 #2a1716; }
.wb-book > .wb-page { padding: 34px 36px 32px; }
.wb-left { border-radius: 16px 6px 6px 16px; }
.wb-right { border-radius: 6px 16px 16px 6px; }
.wb-left h2 { margin: 12px 0 6px; font: italic 900 clamp(34px, 4vw, 46px)/1.05 "Fraunces", serif; }
.wb-left h2 a { text-decoration: none; }
.wb-left h2 a:hover { color: var(--rasp-ink, var(--rasp)); }
.wb-text { margin: 22px 0 24px; font-size: 17px; }
.wb-text .prose { max-width: none; }
.wb-ch { margin: 0 0 4px; text-align: center; font: italic 900 40px/1.1 "Fraunces", serif; }
.wb-group { margin-top: 22px; }
.wb-group > .wl-k { display: block; text-align: center; margin-bottom: 4px; }
.wb-entry { display: block; position: relative; text-decoration: none; padding: 10px 0; border-bottom: 2px dashed rgba(107,63,55,.18); }
.wb-row { display: flex; align-items: baseline; gap: 10px; }
.wb-n { font: 800 12px "M PLUS Rounded 1c"; color: var(--choc-2); min-width: 26px; }
.wb-entry .wl-title { font-size: 21px; }
.wb-row::after { content: ""; flex: 1; order: 2; min-width: 16px; border-bottom: 2px dotted rgba(107,63,55,.4); transform: translateY(-5px); }
.wb-row small { order: 3; font: 800 11px "M PLUS Rounded 1c"; letter-spacing: .1em; text-transform: uppercase; color: var(--choc-2); white-space: nowrap; }
.wb-entry .wl-ex { margin: 2px 0 0 36px; font-size: 14.5px; font-style: italic; }
.wb-entry:hover .wl-title { color: var(--rasp-ink, var(--rasp)); }
.wb-new { flex: none; align-self: center; }
.wb-reading { width: 100%; max-width: 900px; margin: 0 auto; }
.wb-single { border-radius: 22px; border: 3px solid var(--choc); box-shadow: 0 0 0 9px var(--choc), 0 13px 0 9px #2a1716; margin: 9px; padding: 22px 60px 30px; }
.wb-running { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 2px dashed rgba(107,63,55,.25); }
.wb-running .wl-k { margin: 0 auto; color: var(--choc-2); text-align: center; }
.wb-phead { text-align: center; padding: 40px 0 34px; }
.wb-phead h1 { margin: 10px 0 12px; font: italic 900 clamp(40px, 6vw, 62px)/1.05 "Fraunces", serif; overflow-wrap: anywhere; }
.wb-folio { margin-top: 30px; text-align: center; font: italic 900 18px "Fraunces", serif; color: var(--rasp-ink, var(--rasp)); }
.wb-turn, .ww-turn { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 34px; }
.wb-turn a { display: block; text-decoration: none; background: var(--cream); border: 3px solid var(--choc); border-radius: 18px; box-shadow: 0 5px 0 var(--choc); padding: 12px 18px; transition: transform .12s, box-shadow .12s; }
.wb-turn a:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--choc); }
.wb-turn a.r, .ww-turn a.r { text-align: right; }
.wb-turn small, .ww-turn small { display: block; font: 800 12px "M PLUS Rounded 1c"; letter-spacing: .1em; text-transform: uppercase; color: var(--rasp-ink, var(--rasp)); }
.wb-turn b, .ww-turn b { font: italic 900 20px/1.2 "Fraunces", serif; }
@container el (max-width: 760px) {
  .wb-book { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 12px; }
  .wb-book .bd-rings { display: none; }
  .wb-book > .wb-page { padding: 26px 22px; border-radius: 16px; }
  .wb-single { padding: 18px 22px 26px; }
  .wb-running .wl-k { display: none; }
  .wb-running .wl-sizer { margin-left: auto; }
  .wb-title .wl-add { position: static; }
}

/* ---------- the magazine ---------- */
.wj-mast, .wj-ahead { position: relative; border-radius: 26px; border: 3px solid var(--choc); box-shadow: 0 6px 0 var(--choc); color: var(--on-rasp, var(--cream));
  background: linear-gradient(115deg, transparent 0 14%, rgba(255,255,255,.14) 14% 22%, transparent 22% 27%, rgba(255,255,255,.1) 27% 30%, transparent 30% 64%, rgba(255,255,255,.12) 64% 74%, transparent 74%), var(--rasp); }
.wj-mast { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 30px 34px 30px; }
.wj-mast h1 { font-size: clamp(64px, 10vw, 112px); }
.wj-mast-r { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.wj-mast-r p { margin: 0; max-width: 360px; font: 800 16px/1.5 "M PLUS Rounded 1c"; color: var(--cream); }
.wj-mast .count, .wj-ahead .count { background: var(--cream); color: var(--rasp-ink, var(--rasp)); }
.wj-lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: 32px 36px; background: var(--cream); border: 3px solid var(--choc); border-radius: 24px; box-shadow: 0 6px 0 var(--choc); position: relative; }
.wj-lead h2 { margin: 12px 0 12px; font: italic 900 clamp(38px, 5vw, 58px)/1.02 "Fraunces", serif; }
.wj-lead h2 a { text-decoration: none; }
.wj-lead h2 a:hover { color: var(--rasp-ink, var(--rasp)); }
.wj-stand { margin: 0 0 12px; font: 600 19px/1.55 "Nunito", sans-serif; color: var(--choc-2); }
.wj-lead .wl-meta { margin-bottom: 20px; }
.wj-pull { position: relative; margin: 0; padding: 30px 28px 24px; background: var(--pink-pale); border: 2.5px solid var(--choc); border-radius: 20px; box-shadow: 0 4px 0 var(--choc); font: italic 800 23px/1.4 "Fraunces", serif; color: var(--on-pink, var(--choc)); }
.wj-pull.verse { font-size: 20px; }
.wj-q { position: absolute; top: -26px; left: 18px; font: italic 900 72px/1 "Fraunces", serif; color: var(--rasp-ink, var(--rasp)); -webkit-text-stroke: 2px var(--choc); paint-order: stroke fill; }
.wj-pull cite { display: block; margin-top: 14px; font: 800 12px "M PLUS Rounded 1c"; font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--rasp-ink, var(--rasp)); }
.wj-cover img { width: 100%; border-radius: 16px; border: 3px solid var(--choc); }
.wj-forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; align-items: stretch; }
.wj-form .body { padding: 4px 18px 8px; }
.wj-piece { display: block; position: relative; padding: 14px 0; text-decoration: none; border-bottom: 2px dashed rgba(107,63,55,.2); }
.wj-piece:last-child { border-bottom: 0; }
.wj-piece .wl-title { font-size: 22px; margin-bottom: 4px; }
.wj-piece .wl-ex { margin-bottom: 6px; }
.wj-piece:hover .wl-title { color: var(--rasp-ink, var(--rasp)); }
.wj-piece .e-tools { position: absolute; top: 10px; right: 0; }
.wj-home { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: 22px; border: 3px solid var(--choc); background: var(--cream); box-shadow: 0 6px 0 var(--choc); overflow: hidden; }
.wj-band { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 18px; border-bottom: 3px solid var(--choc);
  background: linear-gradient(115deg, transparent 0 30%, rgba(255,255,255,.14) 30% 42%, transparent 42%), var(--rasp); color: var(--on-rasp, inherit); }
.wj-band-name { font: italic 900 24px/1 "Fraunces", serif; color: var(--cream); -webkit-text-stroke: 2px var(--choc); paint-order: stroke fill; text-shadow: 0 3px 0 var(--choc); }
.wj-band .wl-k { color: var(--pink-pale); }
.wj-homebody { flex: 1; display: flex; flex-direction: column; padding: 16px 20px 16px; }
.wj-homebody .wl-title { font-size: 28px; margin-bottom: 8px; }
.wj-homebody .wl-ex { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wj-list { display: block; margin-top: 12px; }
.wj-list > span, .wj-list > a { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-top: 2px dashed rgba(107,63,55,.2); font: italic 900 16px "Fraunces", serif; }
.wj-list em { font: 800 11px "M PLUS Rounded 1c"; font-style: normal; color: var(--rasp-ink, var(--rasp)); letter-spacing: .08em; }
.wj-by { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; font: 700 14px "Nunito"; color: var(--choc-2); }
.wj-by .wl-go { margin-left: auto; }
.wj-home:hover .wl-title { color: var(--rasp-ink, var(--rasp)); }
.wj-article { width: 100%; max-width: 920px; margin: 0 auto; }
.wj-ahead { padding: 20px 30px 30px; text-align: center; }
.wj-ahead .wl-back { color: var(--pink-pale); }
.wj-ahead .wl-k { display: inline-block; margin-top: 18px; color: var(--pink-pale); }
.wj-ahead h1 { margin: 10px 0 14px; font-size: clamp(44px, 7vw, 76px); }
.wj-ahead .wj-stand { max-width: 620px; margin: 0 auto 18px; color: var(--cream); font-weight: 700; }
.wj-ahead .wj-by { display: inline-flex; margin: 0; padding: 6px 16px 6px 6px; background: var(--cream); border: 2.5px solid var(--choc); border-radius: 999px; box-shadow: 0 3px 0 var(--choc); }
.wj-ahead .wj-by b { font: 800 14px "M PLUS Rounded 1c"; color: var(--choc); }
.wj-ahead .wl-edits .chip { background: var(--cream); }
.wj-paper { margin-top: 24px; padding: 44px 40px 40px; background: var(--cream); border: 3px solid var(--choc); border-radius: 24px; box-shadow: 0 6px 0 var(--choc); }
.wj-text { font-size: 19px; }
.wj-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 34px; }
.wj-next .w { text-decoration: none; }
.wj-next .w .bar h2 { font-size: 17px; }
.wj-next .body { padding: 14px 18px 16px; }
.wj-next .wl-ex { margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wj-next .w:hover .wl-title { color: var(--rasp-ink, var(--rasp)); }
@container el (max-width: 760px) {
  .wj-mast { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
  .wj-mast-r { align-items: flex-start; text-align: left; }
  .wj-lead { grid-template-columns: 1fr; gap: 34px; padding: 24px 22px; }
  .wj-ahead { padding: 18px 18px 24px; }
  .wj-paper { padding: 28px 20px; }
}

/* ---------- the window ---------- */
.ww-win { display: block; position: relative; background: var(--cream); border: 3px solid var(--choc); border-radius: 20px; box-shadow: 0 6px 0 var(--choc); overflow: hidden; color: var(--choc); text-decoration: none; }
.ww-titlebar { display: flex; align-items: center; gap: 12px; padding: 9px 14px; background: var(--choc); color: var(--pink-pale); }
.ww-dots { display: flex; gap: 6px; flex: none; }
.ww-dots i { width: 13px; height: 13px; border-radius: 50%; background: var(--rasp); border: 2px solid #1d0f0e; color: var(--on-rasp, inherit); }
.ww-dots i:nth-child(2) { background: var(--mint, var(--pink)); color: var(--on-mint); }
.ww-dots i:nth-child(3) { background: var(--cream); }
.ww-tt { min-width: 0; font: 800 13.5px "M PLUS Rounded 1c"; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ww-titlebar .e-add { margin-left: auto; }
.ww-hero .ww-herobody { display: flex; align-items: flex-end; gap: 20px; padding: 24px 30px 26px; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.25) 0 8px, transparent 8px 16px), var(--pink); color: var(--on-pink); }
.ww-herobody > div { min-width: 0; margin-right: auto; }
.ww-hero h1 { margin: 0; font: italic 900 clamp(52px, 8vw, 80px)/1 "Fraunces", serif; color: var(--cream); -webkit-text-stroke: 3px var(--choc); paint-order: stroke fill; text-shadow: 0 5px 0 var(--choc); overflow-wrap: anywhere; }
.ww-hero p { margin: 10px 0 0; font: 800 15px/1.5 "M PLUS Rounded 1c"; color: var(--choc); }
.ww-hero .count { background: var(--cream); color: var(--choc); border: 2px solid var(--choc); }
.ww-feat-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; padding: 30px 34px 34px; }
.ww-feature h2 { margin: 10px 0 8px; font: italic 900 clamp(36px, 4.6vw, 52px)/1.04 "Fraunces", serif; }
.ww-feature h2 a { text-decoration: none; }
.ww-feature h2 a:hover { color: var(--rasp-ink, var(--rasp)); }
.ww-feature .wl-ex { margin: 14px 0 0; font-size: 17px; }
.ww-feature .wl-pill { margin-top: 20px; }
.ww-preview { display: block; position: relative; height: 300px; overflow: hidden; padding: 24px 28px; background: linear-gradient(rgba(107,63,55,.07) 1px, transparent 1px) 0 0 / 24px 24px, #fffaf5; border: 2.5px solid var(--choc); border-radius: 14px; box-shadow: 5px 5px 0 var(--pink), 5px 5px 0 2.5px var(--choc); text-decoration: none; transition: transform .15s; }
.ww-preview:hover { transform: translateY(-3px); }
.ww-preview::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, #fffaf5); }
.ww-preview .wl-title { font-size: 22px; margin-bottom: 12px; text-align: center; }
.ww-preview-txt { font-size: 14px; line-height: 1.75; }
.ww-preview-txt .prose { max-width: none; }
.ww-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 10px 12px 0; background: var(--choc); border-bottom: 3px solid var(--choc); }
.ww-tabs button { border: 0; background: var(--choc-2); color: var(--pink-pale); font: 800 13.5px "M PLUS Rounded 1c"; padding: 8px 18px 7px; border-radius: 12px 12px 0 0; transition: background .15s, color .15s; }
.ww-tabs button:hover { background: #7d4a40; }
.ww-tabs button.on { background: var(--cream); color: var(--choc); }
.ww-list { padding: 4px 0; }
.ww-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 110px 110px; align-items: center; gap: 16px; position: relative; padding: 14px 24px; text-decoration: none; border-bottom: 2px dashed rgba(107,63,55,.18); transition: background .15s; }
.ww-row:last-child { border-bottom: 0; }
.ww-row:hover { background: var(--pink-pale); color: var(--on-pink); }
.ww-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--pink-pale); color: var(--rasp-ink, var(--rasp)); border: 2px solid var(--choc); }
.ww-row:hover .ww-ic { background: var(--cream); }
.ww-ic svg { width: 20px; }
.ww-name .wl-title { font-size: 21px; }
.ww-name .wl-ex { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; }
.ww-col { display: flex; gap: 6px; align-items: center; }
.ww-num { font: 700 13.5px "Nunito"; color: var(--choc-2); justify-content: flex-end; white-space: nowrap; }
.ww-row .e-tools { position: absolute; top: 6px; right: 8px; }
.ww-home { display: flex; flex-direction: column; height: 100%; }
.ww-in { flex: 1; display: flex; flex-direction: column; padding: 16px 20px 16px; }
.ww-in .wl-title { font-size: 28px; margin: 8px 0 8px; }
.ww-in .wl-ex { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ww-minifiles { display: block; margin-top: 12px; }
.ww-minifiles > span, .ww-minifiles > a { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-top: 2px dashed rgba(107,63,55,.2); }
.ww-minifiles i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--pink-pale); color: var(--rasp-ink, var(--rasp)); border: 2px solid var(--choc); flex: none; }
.ww-minifiles i svg { width: 14px; }
.ww-minifiles b { font: italic 900 15.5px "Fraunces", serif; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ww-minifiles small { margin-left: auto; font: 800 11px "M PLUS Rounded 1c"; letter-spacing: .08em; text-transform: uppercase; color: var(--choc-2); }
.ww-in .wl-go { margin-top: auto; padding-top: 12px; text-align: right; }
.ww-home:hover .wl-title { color: var(--rasp-ink, var(--rasp)); }
.ww-docwin { width: 100%; max-width: 940px; margin: 0 auto; }
.ww-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 14px; background: var(--pink-pale); border-bottom: 3px solid var(--choc); color: var(--on-pink); }
.ww-sp { flex: 1; }
.ww-btn { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 14px; background: var(--cream); border: 2px solid var(--choc); border-radius: 10px; box-shadow: 0 3px 0 var(--choc); font: 800 13.5px "M PLUS Rounded 1c"; color: var(--choc); text-decoration: none; transition: transform .1s, box-shadow .1s; }
.ww-btn.sq { width: 34px; padding: 0; font-size: 18px; }
.ww-btn:hover { transform: translateY(2px); box-shadow: 0 1px 0 var(--choc); }
.ww-toolbar .chip.kind { font-size: 12px; padding: 3px 12px; }
.ww-sheet { padding: 44px 64px 40px; background: linear-gradient(rgba(107,63,55,.06) 1px, transparent 1px) 0 0 / 24px 24px, #fffaf5; }
.ww-dochead { text-align: center; padding-bottom: 34px; }
.ww-dochead h1 { margin: 0 0 12px; font: italic 900 clamp(40px, 6vw, 62px)/1.05 "Fraunces", serif; overflow-wrap: anywhere; }
.ww-turn { margin: 0; padding: 14px 20px; gap: 20px; border-top: 3px solid var(--choc); background: var(--cream); }
.ww-turn a { text-decoration: none; }
.ww-turn a:hover b { color: var(--rasp-ink, var(--rasp)); }
@container el (max-width: 760px) {
  .ww-hero .ww-herobody { flex-wrap: wrap; padding: 20px 20px 22px; }
  .ww-preview { height: 220px; }
  .ww-row { grid-template-columns: 40px minmax(0, 1fr); padding: 12px 16px; }
  .ww-row .ww-col { display: none; }
  .ww-sheet { padding: 30px 22px 30px; }
}
.ww-quote { padding-top: 26px; }

/* writing shelves: a chunky tile for each kind of writing */
.wl-shelves .body { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 14px; padding: 16px; }
.ftile { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 104px; padding: 14px 14px 12px; border-radius: 16px; border: 3px solid var(--choc); box-shadow: 0 5px 0 var(--choc); text-decoration: none; color: var(--on-pink, var(--choc)); background: var(--pink-pale); transition: transform .12s, box-shadow .12s; }
.ftile:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--choc); }
.ftile b { font: italic 900 46px/1 "Fraunces", serif; }
.ftile span { font: 800 13px "M PLUS Rounded 1c"; letter-spacing: .08em; text-transform: uppercase; overflow-wrap: anywhere; }
.ftile.t1 { background: var(--rasp); color: var(--on-rasp, var(--cream)); }
.ftile.t2 { background: var(--pink); color: var(--on-pink); }
.ftile.t3 { background: var(--choc-2); color: var(--cream); }
.ftile.t4 { background: var(--mint, var(--cream)); color: var(--on-mint); }
.ftile:last-child:nth-child(odd) { grid-column: span 2; }
.wl-seeall { font: 800 12.5px "M PLUS Rounded 1c"; color: var(--cream); text-decoration: none; background: rgba(0,0,0,.2); border-radius: 999px; padding: 3px 11px; white-space: nowrap; }
.wl-seeall:hover { background: var(--rasp); color: var(--on-rasp, inherit); }
.ww-files { scroll-margin-top: 20px; }

/* notes (blog): posts with a tear-off date */
.wl-blog .body { padding: 12px 20px 14px; display: flex; flex-direction: column; flex: 1; }
.wl-post { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 16px; align-items: start; position: relative; text-decoration: none; padding: 12px 0; border-bottom: 2px dashed rgba(107,63,55,.2); }
.wl-post:last-of-type { border-bottom: 0; }
.cal { display: block; width: 62px; border-radius: 12px; border: 2.5px solid var(--choc); background: var(--cream); overflow: hidden; text-align: center; box-shadow: 0 3px 0 var(--choc); }
.cal small { display: block; background: var(--rasp); color: var(--on-rasp, var(--cream)); font: 800 11px "M PLUS Rounded 1c"; letter-spacing: .12em; text-transform: uppercase; padding: 2px 0; border-bottom: 2.5px solid var(--choc); }
.cal b { display: block; font: italic 900 28px/1.3 "Fraunces", serif; color: var(--choc); }
.wl-post-txt { min-width: 0; }
.wl-post .wl-title { font-size: 21px; margin-bottom: 4px; }
.wl-post .wl-ex { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wl-post.big .wl-title { font-size: 30px; }
.wl-post.big .wl-ex { font-size: 16px; -webkit-line-clamp: 3; }
.wl-post-pic { display: block; margin-top: 12px; }
.wl-post-pic img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; border: 2.5px solid var(--choc); }
.wl-post:hover .wl-title { color: var(--rasp-ink, var(--rasp)); }
.wl-post .chip.new { margin-top: 6px; }
.wl-post .e-tools { position: absolute; top: 10px; right: 0; }
.wl-more { align-self: flex-end; margin-top: auto; padding: 10px 0 0; background: none; border: 0; }
.wl-more:hover { text-decoration: underline; }
.wl-blog .bar .e-add { margin-left: 4px; }
/* a note's own page */
.wl-posthead { display: flex; gap: 22px; align-items: flex-start; max-width: 660px; margin: 0 auto 34px; }
.wl-posthead .cal { flex: none; width: 74px; }
.wl-posthead .cal b { font-size: 34px; }
.wl-posthead h1 { margin: 0 0 8px; font: italic 900 clamp(34px, 5vw, 52px)/1.05 "Fraunces", serif; overflow-wrap: anywhere; }
.wl-posthead .wl-edits { justify-content: flex-start; }
.wl-postpage .wl-read .prose:not(.verse):not(.script) > p:first-child::first-letter { float: none; font: inherit; color: inherit; margin: 0; }
@container el (max-width: 520px) { .wl-post { grid-template-columns: 50px minmax(0, 1fr); gap: 12px; } .wl-post .cal { width: 50px; } .wl-post .chip.new { display: none; } .wl-posthead .cal { width: 58px; } }
@container el (max-width: 600px) { .ww-feat-in { grid-template-columns: 1fr; padding: 22px 20px 26px; } }

/* ================= the listening corner (music) ================= */
.mc-console { display: flex; flex-direction: column; justify-content: center; height: 100%; border-radius: 26px; border: 3px solid var(--choc); box-shadow: 0 7px 0 var(--choc); padding: 26px 28px;
  background: linear-gradient(115deg, transparent 0 14%, rgba(255,255,255,.12) 14% 22%, transparent 22% 27%, rgba(255,255,255,.08) 27% 30%, transparent 30%), var(--rasp); color: var(--on-rasp, inherit); }
.mc-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.mc-console .deck.big { --s: clamp(180px, 40cqw, 300px); }
.mc-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mc-lcd { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; background: #2a1716; border: 3px solid var(--choc); color: #b8ffcf; font: 800 13px "M PLUS Rounded 1c"; letter-spacing: .08em; text-shadow: 0 0 6px rgba(120,255,170,.6); text-transform: uppercase; }
.mc-lcd b { font-size: 20px; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-lcd > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-lcd-row { display: flex; justify-content: space-between; gap: 10px; opacity: .85; }
.mc-console .ctrl { justify-content: flex-start; }
.mc-dials { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.mc-dial { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--cream); font: 800 11.5px "M PLUS Rounded 1c"; letter-spacing: .04em; text-align: center; }
.mc-dial .knob { width: 54px; display: grid; place-items: center; cursor: pointer; }
.mc-dial .knob::after { top: 3px; height: 14%; width: 9%; margin-left: -4.5%; }
.mc-dial .knob svg { width: 22px; height: 22px; color: var(--choc); transition: transform .45s cubic-bezier(.3,.7,.3,1.3); }
.mc-dial:hover .knob { --r: 40deg; }
.mc-dial:hover .knob svg { transform: rotate(-40deg); }
.mc-dial.off { opacity: .4; pointer-events: none; }
.editing .mc-dial.off { pointer-events: auto; }
/* the crate */
.mc-crate .body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 20px 0; overflow: hidden; }
.mc-sleeves { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 14px; padding: 46px 6px 0; }
.mc-sl { position: relative; cursor: pointer; text-align: left; transition: transform .25s cubic-bezier(.3,.7,.3,1.2); outline-offset: 4px; }
.mc-art { position: relative; z-index: 1; display: block; aspect-ratio: 1; border-radius: 10px; border: 3px solid var(--choc); box-shadow: 0 4px 0 var(--choc); background: var(--lab); overflow: hidden; }
.mc-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mc-art b { position: absolute; left: 9px; right: 9px; top: 9px; font: italic 900 18px/1.05 "Fraunces", serif; color: var(--cream); -webkit-text-stroke: 2px var(--choc); paint-order: stroke fill; overflow-wrap: anywhere; }
.mc-disc { position: absolute; left: 9%; top: -24%; width: 82%; aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, var(--rasp) 0 16%, #1d0f0e 17% 19%, #2a1716 20% 100%); border: 3px solid var(--choc); transition: top .3s ease; }
.mc-sl:hover { transform: translateY(-8px); }
.mc-sl.on { transform: translateY(-16px); }
.mc-sl.on .mc-disc { top: -34%; }
.mc-sl .e-tools { position: absolute; z-index: 2; top: 6px; right: 4px; opacity: 0; }
.mc-sl:hover .e-tools { opacity: 1; }
.mc-cratebox { margin: -34px -20px 0; height: 70px; position: relative; z-index: 4; border-top: 3px solid var(--choc);
  background: repeating-linear-gradient(0deg, transparent 0 21px, rgba(0,0,0,.14) 21px 24px), var(--choc-2); }
/* liner notes */
.mc-liner { display: flex; flex-direction: column; height: 100%; border-radius: 22px; border: 3px solid var(--choc); box-shadow: 0 6px 0 var(--choc); padding: 26px 26px 22px;
  background: linear-gradient(rgba(107,63,55,.07) 1px, transparent 1px) 0 0 / 24px 24px, #fffaf5; }
.mc-liner .wl-title { font-size: 34px; margin: 6px 0 8px; }
.mc-blurb { font: 600 15.5px/1.6 "Nunito"; color: var(--choc-2); margin: 0 0 16px; }
.mc-blurb:empty { display: none; }
.mc-side-a { margin: 4px 0 0; padding: 0; list-style: none; border-top: 2.5px solid var(--choc); }
.mc-side-a li { display: flex; align-items: baseline; gap: 10px; padding: 8px 4px; border-bottom: 2px dashed rgba(107,63,55,.2); font: italic 900 17px "Fraunces", serif; cursor: pointer; border-radius: 6px; transition: background .15s; }
.mc-side-a li:hover, .mc-side-a li.on { background: var(--pink-pale); color: var(--on-pink); }
.mc-side-a em { font: 800 11px "M PLUS Rounded 1c"; font-style: normal; color: var(--rasp-ink, var(--rasp)); min-width: 24px; }
.mc-side-a small { margin-left: auto; font: 700 12.5px "Nunito"; font-style: normal; color: var(--choc-2); }
/* the jukebox */
.mc-jukebox { display: flex; flex-direction: column; height: 100%; border-radius: 120px 120px 26px 26px; border: 3px solid var(--choc); box-shadow: 0 7px 0 var(--choc); overflow: hidden; background: var(--choc-2); padding: 0 18px 18px; }
.mc-jb-top { margin: 0 -18px; padding: 26px 20px 14px; text-align: center; background: repeating-linear-gradient(90deg, var(--rasp) 0 18px, var(--rasp-2) 18px 36px); border-bottom: 3px solid var(--choc); }
.mc-jb-top h2 { margin: 0; font: italic 900 34px/1 "Fraunces", serif; color: var(--cream); -webkit-text-stroke: 3px var(--choc); paint-order: stroke fill; text-shadow: 0 4px 0 var(--choc); }
.mc-jb-tabs { display: flex; justify-content: center; gap: 6px; margin: 14px 0 12px; flex-wrap: wrap; }
.mc-jb-tabs button { border: 2.5px solid var(--choc); background: var(--cream); color: var(--choc); font: 800 12.5px "M PLUS Rounded 1c"; padding: 4px 12px; border-radius: 999px; box-shadow: 0 3px 0 var(--choc); }
.mc-jb-tabs button.on { background: var(--pink); color: var(--on-pink); }
.mc-jb-gap { height: 16px; }
.mc-strips { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); align-content: start; gap: 10px; padding: 14px; border-radius: 16px; background: #2a1716; border: 3px solid var(--choc); }
.mc-strip { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 6px; background: #fffaf5; cursor: pointer;
  border-top: 4px solid var(--rasp); border-bottom: 4px solid var(--rasp); transition: transform .12s, background .15s; }
.mc-strip:nth-child(4n+2), .mc-strip:nth-child(4n+3) { border-color: var(--mint, var(--pink)); }
.mc-strip:hover { transform: scale(1.02); }
.mc-strip.on { background: var(--pink-pale); color: var(--on-pink); }
.mc-strip em { font: 800 13px "M PLUS Rounded 1c"; font-style: normal; color: var(--cream); background: var(--choc); border-radius: 6px; padding: 2px 7px; }
.mc-st { min-width: 0; }
.mc-st b { display: block; font: italic 900 16.5px/1.15 "Fraunces", serif; color: var(--choc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-st small { display: flex; gap: 6px; font: 700 12px "Nunito"; color: var(--choc-2); }
.mc-st small span + span::before { content: "·"; margin-right: 6px; }
.mc-has { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--rasp); color: var(--on-rasp, var(--cream)); }
.mc-has svg { width: 11px; margin-left: 2px; }
.mc-strip.hide { display: none; }
.mc-strips .empty { grid-column: 1 / -1; margin: 0; }
.mc-jb-foot { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 16px; }
.mc-jb-foot i { width: 46px; height: 18px; border-radius: 99px; background: var(--pink); border: 2.5px solid var(--choc); box-shadow: 0 3px 0 var(--choc); color: var(--on-pink); }
.mc-jb-foot i:nth-child(odd) { background: var(--cream); }
@container el (max-width: 500px) { .mc-top { grid-template-columns: 1fr; justify-items: center; } .mc-side { width: 100%; } }

/* ================= videos: the TV on a VCR + the tape shelf ================= */
.vc-corner { display: flex; flex-direction: column; height: 100%; }
.vc-corner .tvset { width: 100%; }
.vc-corner .big-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.vc-chan { position: absolute; top: 12px; right: 14px; z-index: 2; pointer-events: none; padding: 2px 9px; border-radius: 7px; background: rgba(29,15,14,.78); font: 800 15px "M PLUS Rounded 1c"; color: #b8ffcf; text-shadow: 0 0 6px rgba(120,255,170,.7); letter-spacing: .08em; }
.vc-vcr { position: relative; z-index: 0; margin: -4px 4% 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 18px; border: 3px solid var(--choc); background: var(--choc-2); box-shadow: 0 6px 0 var(--choc); }
.vc-slot { width: clamp(60px, 18cqw, 150px); height: 26px; border-radius: 8px; background: #1d0f0e; border: 3px solid var(--choc); box-shadow: inset 0 4px 0 rgba(0,0,0,.4); }
.vc-lcd { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 10px; background: #2a1716; border: 3px solid var(--choc); color: #b8ffcf; font: 800 14px "M PLUS Rounded 1c"; letter-spacing: .06em; text-shadow: 0 0 6px rgba(120,255,170,.6); }
.vc-lcd b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.vc-lcd [data-vlen] { margin-left: auto; white-space: nowrap; }
.vc-btns { display: flex; gap: 8px; }
.vc-btns i { width: 34px; height: 22px; border-radius: 6px; background: var(--pink); border: 2.5px solid var(--choc); box-shadow: 0 3px 0 var(--choc); color: var(--on-pink); }
.vc-btns i:first-child { background: var(--rasp); color: var(--on-rasp, inherit); }
.vc-legs { display: flex; justify-content: space-between; margin: 0 12%; }
.vc-legs i { width: 40px; height: 14px; border-radius: 0 0 10px 10px; background: var(--choc); }
.vc-about { margin-top: auto; padding: 26px 0 3px 10px; }
.vc-about .say { margin-bottom: 0; }
/* next to the TV, the shelf starts where the TV does (below the antenna) */
.page-grid:has(.blk-video_corner) .blk-video_tapes > .blk-in { padding-top: 48px; }
.vc-tapes .body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--choc-2) !important; }
.vc-tape { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 14px 9px 10px; border-radius: 10px; border: 3px solid var(--choc); background: #2a1716; box-shadow: 0 4px 0 #1d0f0e; text-decoration: none; transition: transform .18s ease; }
.vc-tape:hover { transform: translateX(-6px); }
.vc-tape > i { align-self: stretch; min-height: 30px; border-radius: 4px; background: var(--rasp); color: var(--on-rasp, inherit); }
.vc-tape:nth-child(4n+2) > i { background: var(--pink); color: var(--on-pink); } .vc-tape:nth-child(4n+3) > i { background: var(--mint, var(--cream)); color: var(--on-mint); } .vc-tape:nth-child(4n+4) > i { background: var(--rasp-2); color: var(--on-rasp, inherit); }
.vc-lab { min-width: 0; padding: 5px 12px; border-radius: 6px; background: var(--cream); border: 2px solid var(--choc); }
.vc-tape.on .vc-lab { background: var(--pink); color: var(--on-pink); }
.vc-lab b { display: block; font: italic 900 15.5px/1.2 "Fraunces", serif; color: var(--choc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-lab small { font: 800 11px "M PLUS Rounded 1c"; color: var(--choc-2); letter-spacing: .06em; }
.vc-len { font: 800 12px "M PLUS Rounded 1c"; color: var(--pink); }
.vc-tape .e-tools { position: absolute; top: -10px; right: -6px; opacity: 0; }
.vc-tape:hover .e-tools { opacity: 1; }
.vc-tapes .empty { margin: 0; }
@container el (max-width: 560px) { .vc-btns { display: none; } .vc-vcr { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 12px 14px; } }
.watch-frame img { display: block; max-width: 100%; max-height: calc(94vh - 40px); margin: 0 auto; border-radius: 16px; }

/* ================= apps: the desk, the advice pad, the coding log ================= */
.ad-desk { position: relative; border-radius: 26px; border: 3px solid var(--choc); box-shadow: 0 7px 0 var(--choc); overflow: hidden; padding: 34px 40px 0;
  background: repeating-linear-gradient(90deg, rgba(62,36,34,.06) 0 26px, transparent 26px 52px), var(--mint-pale, var(--pink-pale)); color: var(--on-mint); }
.ad-desk::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; border-top: 3px solid var(--choc);
  background: repeating-linear-gradient(0deg, transparent 0 14px, rgba(0,0,0,.08) 14px 16px), var(--choc-2); box-shadow: inset 0 6px 0 rgba(255,255,255,.12); }
.ad-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.ad-pc { padding-bottom: 30px; }
.ad-body { position: relative; border-radius: 30px 30px 18px 18px; border: 3px solid var(--choc); box-shadow: 0 7px 0 var(--choc); padding: 22px 22px 16px;
  background: linear-gradient(115deg, transparent 0 14%, rgba(255,255,255,.12) 14% 22%, transparent 22%), var(--rasp); color: var(--on-rasp, inherit); }
.ad-crt { border-radius: 26px; padding: 10px; background: var(--cream); border: 3px solid var(--choc); }
.ad-scr { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; border: 3px solid var(--choc); overflow: hidden; background: linear-gradient(rgba(107,63,55,.06) 1px, transparent 1px) 0 0 / 100% 4px, var(--pink-pale); color: var(--on-pink); }
.ad-win { position: absolute; inset: 5%; display: flex; flex-direction: column; border-radius: 14px; border: 3px solid var(--choc); background: #fffaf5; box-shadow: 0 5px 0 rgba(62,36,34,.25); overflow: hidden; }
.ad-win[hidden] { display: none; }
.ad-winbar { display: flex; align-items: center; gap: 8px; padding: 7px 12px; background: var(--choc); color: var(--pink-pale); font: 800 12.5px "M PLUS Rounded 1c"; }
.ad-winbar i, .ad-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--rasp); border: 2px solid #1d0f0e; color: var(--on-rasp, inherit); }
.ad-winbar i:nth-child(2), .ad-dots i:nth-child(2) { background: var(--mint, var(--pink)); color: var(--on-mint); } .ad-winbar i:nth-child(3), .ad-dots i:nth-child(3) { background: var(--cream); }
.ad-winbar span { margin-left: 4px; }
.ad-winin { position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 20px 22px; overflow: auto; scrollbar-width: thin; }
.ad-head { display: flex; align-items: center; gap: 16px; }
.ad-head h2 { margin: 4px 0 0; font: italic 900 clamp(26px, 4.6cqw, 34px)/1 "Fraunces", serif; overflow-wrap: anywhere; }
.ad-icon { flex: none; width: 76px; aspect-ratio: 1; border-radius: 22px; border: 3px solid var(--choc); box-shadow: 0 5px 0 var(--choc); background: var(--rasp); display: grid; place-items: center; color: var(--on-rasp, var(--cream)); overflow: hidden; }
.ad-icon img { width: 100%; height: 100%; object-fit: cover; }
.ad-icon svg { width: 36px; height: 36px; }
.ad-icon.soon { background: var(--cream-2); color: var(--choc-2); }
.ad-winin p { margin: 0; font: 600 15.5px/1.6 "Nunito"; color: var(--choc-2); }
.ad-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ad-btn { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 12px; border: 2.5px solid var(--choc); box-shadow: 0 3px 0 var(--choc); text-decoration: none; font: 800 13.5px "M PLUS Rounded 1c"; color: var(--choc); background: var(--cream); transition: transform .1s, box-shadow .1s; }
.ad-btn.main { background: var(--rasp); color: var(--on-rasp, var(--cream)); }
.ad-btn:hover { transform: translateY(2px); box-shadow: 0 1px 0 var(--choc); }
.ad-wait { display: inline-block; padding: 7px 16px; border-radius: 12px; border: 2.5px dashed var(--choc-2); font: 800 13.5px "M PLUS Rounded 1c"; color: var(--choc-2); }
.ad-winin .e-tools { position: absolute; top: 10px; right: 10px; }
.ad-front { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.ad-drive { position: relative; flex: none; width: clamp(110px, 30%, 210px); height: 28px; border-radius: 8px; background: var(--choc-2); border: 3px solid var(--choc); }
.ad-drive::after { content: ""; position: absolute; left: 14px; right: 14px; top: 8px; height: 6px; border-radius: 3px; background: #1d0f0e; }
.ad-led { width: 14px; height: 14px; border-radius: 50%; background: #3a201e; border: 2.5px solid var(--choc); transition: background .2s, box-shadow .2s; }
.booting .ad-led { background: #b8ffcf; box-shadow: 0 0 8px 2px rgba(120,255,170,.7); }
.booting .ad-win:not([hidden]) { animation: adboot .6s ease; }
@keyframes adboot { 0% { opacity: 0; transform: scale(.96); } 60% { opacity: 1; } 100% { transform: none; } }
.ad-vents { margin-left: auto; display: flex; gap: 6px; }
.ad-vents i { width: 6px; height: 26px; border-radius: 3px; background: rgba(0,0,0,.2); }
.ad-base { margin: 0 8%; height: 22px; border-radius: 0 0 16px 16px; background: var(--choc-2); border: 3px solid var(--choc); border-top: 0; }
.ad-side { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; align-self: stretch; padding-bottom: 34px; min-width: 0; }
.ad-note { position: relative; align-self: flex-start; max-width: 340px; padding: 26px 24px 22px; background: var(--cream); border: 3px solid var(--choc); border-radius: 6px; box-shadow: 0 5px 0 var(--choc); transform: rotate(-2deg); }
.ad-note::before { content: ""; position: absolute; top: -14px; left: 50%; width: 90px; height: 26px; margin-left: -45px; background: rgba(238,176,189,.85); border: 2px solid rgba(62,36,34,.35); transform: rotate(3deg); }
.ad-note .wl-title { font-size: 24px; margin: 6px 0 8px; }
.ad-note p { margin: 0; font: 600 15px/1.6 "Nunito"; color: var(--choc-2); }
.ad-disks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.ad-disk { position: relative; aspect-ratio: 1; border-radius: 10px; border: 3px solid var(--choc); box-shadow: 0 5px 0 var(--choc); background: var(--choc); cursor: pointer; transition: transform .2s cubic-bezier(.3,.7,.3,1.4); text-align: left; padding: 0; }
.ad-disk:nth-child(4n+2) { background: var(--rasp); color: var(--on-rasp, inherit); } .ad-disk:nth-child(4n+3) { background: var(--choc-2); } .ad-disk:nth-child(4n+4) { background: var(--rasp-2); color: var(--on-rasp, inherit); }
.ad-disk::before { content: ""; position: absolute; top: -3px; left: 24%; width: 46%; height: 30%; border-radius: 0 0 5px 5px; background: linear-gradient(90deg, #e9dcd4 0 62%, #1d0f0e 62% 78%, #e9dcd4 78%); border: 3px solid var(--choc); border-top: 0; }
.ad-lab { position: absolute; left: 7%; right: 7%; bottom: 8%; height: 52%; border-radius: 6px 6px 3px 3px; background: #fffaf5; border: 2.5px solid var(--choc); padding: 7px; display: flex; flex-direction: column; justify-content: space-between; }
.ad-lab b { font: italic 900 14px/1.1 "Fraunces", serif; color: var(--choc); overflow-wrap: anywhere; }
.ad-lab small { white-space: nowrap; font: 800 10px "M PLUS Rounded 1c"; letter-spacing: .1em; text-transform: uppercase; color: var(--rasp-ink, var(--rasp)); }
.ad-disk.soon .ad-lab { background: repeating-linear-gradient(-45deg, #fffaf5 0 8px, var(--pink-pale) 8px 16px); }
.ad-disk.soon .ad-lab small { color: var(--choc-2); }
.ad-disk:hover { transform: translateY(-5px) rotate(-3deg); }
.ad-disk.on { transform: translateY(-8px); box-shadow: 0 5px 0 var(--choc), 0 0 0 4px var(--cream), 0 0 0 7px var(--rasp); }
.ad-add { align-self: center; justify-self: center; }
@container el (max-width: 760px) { .ad-in { grid-template-columns: 1fr; } .ad-desk { padding: 26px 20px 0; } .ad-side { padding-bottom: 30px; } .ad-note { max-width: none; } }

/* the advice pad */
.ad-pad { position: relative; display: flex; flex-direction: column; height: 100%; padding: 46px 26px 20px; border-radius: 8px 8px 20px 20px; border: 3px solid var(--choc); box-shadow: 0 7px 0 var(--choc);
  background: linear-gradient(rgba(107,63,55,.08) 1px, transparent 1px) 0 14px / 100% 28px, #fffaf5; }
.ad-pad::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px; border-bottom: 3px solid var(--choc); border-radius: 5px 5px 0 0; background: var(--rasp); }
.ad-rings { position: absolute; left: 18px; right: 18px; top: -12px; display: flex; justify-content: space-between; }
.ad-rings i { width: 12px; height: 30px; border-radius: 99px; background: linear-gradient(90deg, #c9a89c, #f6e6dc, #c9a89c); border: 2.5px solid #1d0f0e; }
.ad-pad > .wl-k { margin-bottom: 10px; }
.ad-tip { position: relative; }
.ad-tipbig { margin: 0 0 10px; font: italic 900 25px/1.25 "Fraunces", serif; color: var(--choc); }
.ad-tiptext { margin: 0; font: 600 15px/1.65 "Nunito"; color: var(--choc-2); }
.ad-tip .e-tools { position: absolute; top: -34px; right: -8px; }
.ad-padfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; font: 800 12.5px "M PLUS Rounded 1c"; color: var(--choc-2); }
.ad-padbtn { width: 34px; height: 32px; display: grid; place-items: center; border-radius: 10px; border: 2.5px solid var(--choc); box-shadow: 0 3px 0 var(--choc); background: var(--cream); font: 800 16px "M PLUS Rounded 1c"; color: var(--choc); padding: 0; }
.ad-padbtn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--choc); }

/* the coding log: an old terminal */
.ad-term, .ad-upd { display: flex; flex-direction: column; border-radius: 20px; border: 3px solid var(--choc); box-shadow: 0 7px 0 var(--choc); overflow: hidden; background: #2a1716; }
.ad-term { height: 100%; }
.ad-termbar { display: flex; align-items: center; gap: 12px; padding: 9px 14px; background: var(--choc); color: var(--pink-pale); font: 800 13.5px "M PLUS Rounded 1c"; border-bottom: 3px solid #1d0f0e; }
.ad-dots { display: flex; gap: 6px; }
.ad-older { margin-left: auto; border: 0; background: none; padding: 0; color: var(--pink); font: 800 12.5px "M PLUS Rounded 1c"; }
.ad-termbar .e-add { margin-left: 8px; }
.ad-termin { flex: 1; padding: 18px 22px 20px; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 2px, transparent 2px 4px); font: 800 14.5px/1.6 "M PLUS Rounded 1c"; color: #b8ffcf; text-shadow: 0 0 6px rgba(120,255,170,.45); }
.ad-entry { position: relative; display: grid; grid-template-columns: 62px 128px minmax(0, 1fr); gap: 4px 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed rgba(184,255,207,.18); }
.ad-entry[hidden] { display: none; }
.ad-d { color: rgba(184,255,207,.6); }
.ad-tag { color: var(--pink); text-shadow: 0 0 6px rgba(238,176,189,.5); overflow-wrap: anywhere; }
.ad-entry b { font-weight: 800; color: #e6ffee; }
.ad-entry p, .ad-entry .ad-peek, .ad-entry .ad-open { grid-column: 3; }
.ad-entry p { margin: 0; font-weight: 700; color: rgba(184,255,207,.75); }
.ad-pic { margin-left: 8px; color: #2a1716; background: #b8ffcf; text-shadow: none; border-radius: 4px; padding: 0 5px; font-size: 11.5px; }
.ad-peek { display: block; width: min(100%, 300px); aspect-ratio: 16 / 10; margin-top: 6px; border-radius: 10px; border: 2.5px solid rgba(184,255,207,.6); overflow: hidden; box-shadow: 0 0 12px rgba(120,255,170,.25); }
.ad-peek img { width: 100%; height: 100%; object-fit: cover; }
.ad-open { justify-self: start; margin-top: 2px; color: var(--pink); text-decoration: none; text-shadow: 0 0 6px rgba(238,176,189,.5); border-bottom: 1.5px dashed rgba(238,176,189,.5); }
.ad-open:hover { color: #fff; }
.ad-entry .e-tools { position: absolute; top: 4px; right: 0; text-shadow: none; }
.ad-prompt { margin-top: 12px; }
.ad-prompt i { display: inline-block; width: 10px; height: 18px; margin-left: 4px; vertical-align: -3px; background: #b8ffcf; box-shadow: 0 0 8px rgba(120,255,170,.6); animation: adblink 1s steps(1) infinite; }
@keyframes adblink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ad-prompt i { animation: none; } }
@container el (max-width: 560px) { .ad-entry { grid-template-columns: auto minmax(0, 1fr); } .ad-entry b, .ad-entry p, .ad-entry .ad-peek, .ad-entry .ad-open { grid-column: 1 / -1; } }

/* one bigger update */
.ad-upd { width: 100%; max-width: 900px; margin: 0 auto; background: #fffaf5; }
.ad-updhead { padding: 22px 34px 24px; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 2px, transparent 2px 4px), #2a1716; border-bottom: 3px solid var(--choc); font: 800 15px "M PLUS Rounded 1c"; color: #b8ffcf; text-shadow: 0 0 6px rgba(120,255,170,.45); }
.ad-updhead .ad-tag { margin-left: 10px; }
.ad-updhead h1 { margin: 10px 0 0; font: italic 900 clamp(34px, 5vw, 50px)/1.05 "Fraunces", serif; color: var(--cream); -webkit-text-stroke: 3px var(--choc); paint-order: stroke fill; text-shadow: 0 4px 0 #1d0f0e; overflow-wrap: anywhere; }
.ad-updhead .wl-edits { justify-content: flex-start; text-shadow: none; }
.ad-updbody { padding: 34px 60px 40px; background: linear-gradient(rgba(107,63,55,.06) 1px, transparent 1px) 0 0 / 24px 24px, #fffaf5; }
.ad-updbody .prose:not(.verse):not(.script) > p:first-child::first-letter { float: none; font: inherit; color: inherit; margin: 0; }
.ad-gallery { max-width: 760px; margin: 28px auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.ad-gallery.n1 { grid-template-columns: 1fr; }
.ad-gallery.n2 { grid-template-columns: 1fr 1fr; }
.ad-gallery.n3 { grid-template-columns: 1.4fr 1fr; }
.ad-gallery.n3 .ad-gpic:first-child { grid-row: span 2; aspect-ratio: auto; }
.ad-gpic { position: relative; padding: 0; aspect-ratio: 4 / 3; border-radius: 14px; border: 3px solid var(--choc); box-shadow: 0 5px 0 var(--choc); background: var(--pink-pale); overflow: hidden; cursor: zoom-in; color: var(--on-pink); }
.ad-gpic img { width: 100%; height: 100%; object-fit: cover; }
.ad-gallery.n1 .ad-gpic { aspect-ratio: auto; } .ad-gallery.n1 .ad-gpic img { height: auto; }
@container el (max-width: 620px) { .ad-updbody { padding: 26px 22px; } .ad-updhead { padding: 18px 20px; } .ad-gallery, .ad-gallery.n2, .ad-gallery.n3 { grid-template-columns: 1fr; } }

/* the home page's apps box: a mini desk */
.ad-mini { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 22px; border: 3px solid var(--choc); box-shadow: 0 6px 0 var(--choc); overflow: hidden; padding: 54px 14px 0;
  background: repeating-linear-gradient(90deg, rgba(62,36,34,.06) 0 22px, transparent 22px 44px), var(--mint-pale, var(--pink-pale)); color: var(--on-mint); }
.ad-mini::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 74px; border-top: 3px solid var(--choc);
  background: repeating-linear-gradient(0deg, transparent 0 12px, rgba(0,0,0,.08) 12px 14px), var(--choc-2); box-shadow: inset 0 5px 0 rgba(255,255,255,.12); }
.ad-tagnote { position: absolute; top: 12px; left: 16px; z-index: 2; padding: 3px 14px; background: var(--cream); border: 2.5px solid var(--choc); border-radius: 5px; box-shadow: 0 3px 0 var(--choc); transform: rotate(-2deg); font: italic 900 19px/1.2 "Fraunces", serif; color: var(--choc); }
.ad-mini-in { position: relative; z-index: 1; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 52px; gap: 12px; align-items: end; }
.ad-mini .ad-pc { padding-bottom: 50px; }
.ad-mini .ad-body { padding: 12px 12px 10px; border-radius: 20px 20px 12px 12px; box-shadow: 0 5px 0 var(--choc); }
.ad-mini .ad-crt { padding: 6px; border-radius: 16px; }
.ad-mini .ad-scr { border-radius: 11px; }
.ad-mini .ad-win { inset: 5%; border-radius: 9px; border-width: 2.5px; }
.ad-mini .ad-winbar { padding: 4px 8px; gap: 5px; }
.ad-mini .ad-winbar i { width: 8px; height: 8px; border-width: 1.5px; }
.ad-mini .ad-winin { padding: 8px; gap: 8px; justify-content: center; }
.ad-mini .ad-head { gap: 8px; }
.ad-mini .ad-icon { width: 36px; border-radius: 11px; border-width: 2.5px; box-shadow: 0 3px 0 var(--choc); }
.ad-mini .ad-icon svg { width: 18px; height: 18px; }
.ad-mini .ad-head > div { min-width: 0; }
.ad-mini .ad-head h2 { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.ad-mini .ad-head .chip { font-size: 10px; }
.ad-mini .ad-front { margin-top: 8px; gap: 10px; }
.ad-mini .ad-drive { height: 18px; border-width: 2.5px; }
.ad-mini .ad-drive::after { top: 5px; height: 4px; left: 8px; right: 8px; }
.ad-mini .ad-led { width: 10px; height: 10px; border-width: 2px; }
.ad-mini .ad-base { height: 14px; }
.ad-mini .ad-disks { grid-template-columns: 1fr; gap: 8px; padding-bottom: 50px; }
.ad-mini .ad-disk { border-width: 2.5px; border-radius: 8px; box-shadow: 0 4px 0 var(--choc); }
.ad-mini .ad-disk::before { border-width: 2.5px; }
.ad-mini .ad-lab { border-width: 2px; height: 46%; }
.ad-mini .ad-lab b { display: none; }
.ad-mini-go { position: absolute; left: 16px; bottom: 14px; z-index: 2; font: 800 13.5px "M PLUS Rounded 1c"; color: var(--cream); text-decoration: none; background: var(--choc); border-radius: 999px; padding: 4px 14px; box-shadow: 0 3px 0 #1d0f0e; }
.ad-mini-go:hover { background: var(--rasp); color: var(--on-rasp, inherit); }

/* ================= about me: one little carrd-style card ================= */
.ac { width: 100%; max-width: 920px; margin: 0 auto; border-radius: 30px; border: 3px solid var(--choc); box-shadow: 0 8px 0 var(--choc); overflow: hidden; background: var(--choc); }
.ac-top { display: flex; align-items: center; gap: 12px; padding: 10px 18px; color: var(--pink-pale); font: 800 14px "M PLUS Rounded 1c"; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.04) 0 8px, transparent 8px 16px), var(--choc); }
.ac-face { width: 26px; height: 26px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; color: var(--rasp-ink, var(--rasp)); flex: none; }
.ac-face svg { width: 14px; }
.ac-ic { margin-left: auto; display: flex; gap: 10px; opacity: .8; }
.ac-ic svg { width: 16px; height: 16px; }
.ac-time { font-size: 15px; min-width: 42px; text-align: right; }
.ac-head { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 20px; border-top: 3px solid #1d0f0e; border-bottom: 3px dashed var(--choc);
  background: radial-gradient(circle, rgba(255,255,255,.55) 2px, transparent 2.5px) 0 0 / 18px 18px, var(--pink); color: var(--on-pink); }
.ac-av, .ac-pic { display: grid; place-items: center; aspect-ratio: 1; border-radius: 20px; border: 3px solid var(--choc); background: var(--pink-pale); box-shadow: 0 4px 0 var(--choc); overflow: hidden; color: var(--rasp-ink, var(--rasp)); }
.ac-av img, .ac-pic img { width: 100%; height: 100%; object-fit: cover; }
.ac-av > svg { width: 40%; } .ac-pic > svg { width: 30%; }
.ac-bubble { position: relative; padding: 10px 20px; border-radius: 999px; border: 3px solid var(--choc); background: #fffaf5; font: 800 18px "M PLUS Rounded 1c"; color: var(--choc); }
.ac-bubble::before { content: ""; position: absolute; left: -11px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: #fffaf5; border-left: 3px solid var(--choc); border-bottom: 3px solid var(--choc); transform: rotate(45deg); }
.ac-navs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.ac-nbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: 999px; border: 3px solid var(--choc); background: #fffaf5; font: 800 15px "M PLUS Rounded 1c"; color: var(--choc); text-decoration: none; box-shadow: 0 3px 0 var(--choc); transition: transform .1s, box-shadow .1s; }
.ac-nbtn::after { content: ""; position: absolute; inset: 3px; border: 2px dashed var(--rasp); border-radius: inherit; opacity: .55; pointer-events: none; }
.ac-nbtn svg { width: 17px; height: 17px; color: var(--rasp-ink, var(--rasp)); }
.ac-nbtn.g { background: var(--rasp); color: var(--on-rasp, var(--cream)); } .ac-nbtn.g::after { border-color: var(--cream); } .ac-nbtn.g svg { color: var(--cream); }
.ac-nbtn:hover { transform: translateY(2px); box-shadow: 0 1px 0 var(--choc); }
.ac-body { margin: 14px; border-radius: 24px; background: var(--cream-2); border: 3px solid var(--choc); overflow: hidden; }
.ac-plate { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 16px 18px; border-bottom: 3px solid var(--choc); background: repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 2px, transparent 2px 10px), var(--choc-2); }
.ac-btns { display: flex; flex-direction: column; gap: 4px; }
.ac-btns i { width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid var(--choc); background: var(--pink); display: grid; place-items: center; color: var(--on-pink); }
.ac-btns i:nth-child(2) { background: var(--rasp-2); margin-left: 14px; color: var(--on-rasp, inherit); }
.ac-btns.r i:first-child { margin-left: 14px; } .ac-btns.r i:nth-child(2) { margin-left: 0; }
.ac-btns i::before { content: ""; width: 10px; height: 10px; background: radial-gradient(circle, var(--choc) 1.6px, transparent 2px) 0 0 / 5px 5px; }
.ac-platein { flex: 1; max-width: 460px; text-align: center; padding: 8px 18px 10px; border-radius: 999px; border: 3px solid var(--choc); background: #fffaf5; box-shadow: 0 3px 0 var(--choc); }
.ac-platein b { display: block; font: italic 900 30px/1.1 "Fraunces", serif; color: var(--choc); }
.ac-platein small { font: 800 12.5px "M PLUS Rounded 1c"; color: var(--rasp-ink, var(--rasp)); }
.ac-prof { display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.ac-left { display: flex; flex-direction: column; gap: 16px; align-items: stretch; padding: 22px 18px; border-right: 3px dashed rgba(62,36,34,.35); background: radial-gradient(circle, rgba(62,36,34,.1) 2px, transparent 2.5px) 0 0 / 14px 14px, var(--mint-pale, var(--pink-pale)); color: var(--on-mint); }
.ac-pic { border-radius: 24px; }
.ac-note { padding: 12px 14px; border-radius: 18px; border: 2.5px dashed var(--choc); background: #fffaf5; text-align: center; font: 800 13.5px/1.5 "M PLUS Rounded 1c"; color: var(--choc); }
.ac-right { padding: 22px 26px 24px; background: #fffaf5; min-width: 0; }
.ac-right h1 { display: inline; margin: 0; font: italic 900 46px/1.1 "Fraunces", serif; color: var(--choc); background: linear-gradient(transparent 62%, var(--pink) 62% 88%, transparent 88%); }
.ac-info { display: flex; align-items: center; gap: 8px; margin: 8px 0 12px; font: 800 15px "M PLUS Rounded 1c"; color: var(--rasp-ink, var(--rasp)); }
.ac-info svg { width: 20px; height: 20px; flex: none; }
.ac-text p { margin: 0 0 10px; font: 600 16px/1.65 "Nunito"; color: var(--choc); }
.ac-text em { font-style: normal; color: var(--rasp-ink, var(--rasp)); font-weight: 800; }
.ac-wavy { height: 10px; margin: 14px 0 12px; background: radial-gradient(circle at 5px -2px, transparent 5px, var(--rasp) 5.5px 7px, transparent 7.5px) 0 0 / 10px 10px; opacity: .7; }
.ac-status { display: flex; flex-direction: column; gap: 8px; }
.ac-status div { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: baseline; gap: 12px; font: 700 16px "Nunito"; color: var(--choc); }
.ac-status b { justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 1px 10px 1px 8px; border-radius: 6px; background: var(--pink-pale); font: 800 12px "M PLUS Rounded 1c"; letter-spacing: .1em; color: var(--rasp-ink, var(--rasp)); text-transform: uppercase; }
.ac-status b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rasp); }
.ac-facts { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-top: 3px solid var(--choc); background: radial-gradient(circle, rgba(255,255,255,.08) 1.6px, transparent 2px) 0 0 / 10px 10px, var(--choc-2); color: var(--cream); }
.ac-tagp { flex: none; padding: 6px 18px; border-radius: 999px; border: 3px solid var(--choc); background: #fffaf5; font: italic 900 20px "Fraunces", serif; color: var(--choc); }
.ac-facts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font: 700 14.5px "Nunito"; min-height: 20px; flex: 1; }
.ac-facts li b { font-weight: 800; color: var(--pink); }
.ac-links { display: flex; align-items: center; gap: 12px; padding: 16px 18px; flex-wrap: wrap; border-top: 3px dashed #1d0f0e; background: repeating-linear-gradient(90deg, var(--pink) 0 28px, var(--mint, var(--pink-pale)) 28px 56px); }
.ac-lbl { position: relative; padding: 10px 22px; border-radius: 999px; border: 3px solid var(--choc); background: var(--rasp); font: italic 900 22px "Fraunces", serif; color: var(--on-rasp, var(--cream)); }
.ac-lbl::after { content: ""; position: absolute; inset: 3px; border: 2px dashed var(--cream); border-radius: inherit; opacity: .6; pointer-events: none; }
.ac-sqs { margin: 0; padding: 0; gap: 12px; }
.ac-sqs .round { position: relative; width: 58px; height: 58px; border-radius: 14px; border: 3px solid var(--choc); background: #fffaf5; box-shadow: 0 3px 0 var(--choc); }
.ac-sqs .round::after { content: ""; position: absolute; inset: 3px; border: 2px dashed var(--rasp); border-radius: 10px; opacity: .45; pointer-events: none; }
.ac-sqs .round:nth-child(3n+2) { background: var(--pink-pale); color: var(--on-pink); }
.ac-sqs .round svg { width: 26px; height: 26px; }
.ac-sqs .round:hover { transform: translateY(2px); box-shadow: 0 1px 0 var(--choc); }
.ac-foot { padding: 10px; text-align: center; font: 800 13px "M PLUS Rounded 1c"; color: var(--pink); }
@container el (max-width: 700px) { .ac-prof { grid-template-columns: 1fr; } .ac-left { border-right: 0; border-bottom: 3px dashed rgba(62,36,34,.35); } .ac-pic { max-width: 240px; width: 100%; align-self: center; } .ac-head { grid-template-columns: 80px minmax(0, 1fr); } .ac-status div { grid-template-columns: 1fr; gap: 2px; } .ac-facts { flex-direction: column; align-items: flex-start; } }
/* the home page's about box: a mini carrd */
.ac-mini { display: flex; flex-direction: column; height: 100%; max-width: none; border-radius: 22px; box-shadow: 0 6px 0 var(--choc); }
.ac-mini .ac-top { padding: 8px 14px; }
.ac-mini .ac-head { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 14px 16px; }
.ac-mini .ac-av { border-radius: 16px; }
.ac-mname { display: block; font: italic 900 34px/1.05 "Fraunces", serif; color: var(--choc); }
.ac-mtag { display: block; margin-top: 4px; font: 800 13.5px "M PLUS Rounded 1c"; color: var(--choc); }
.ac-mbody { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 16px 18px 18px; background: #fffaf5; }
.ac-mini .ac-status div { grid-template-columns: 110px minmax(0, 1fr); font-size: 15px; }
.ac-more { align-self: flex-end; margin-top: auto; padding: 7px 18px; font-size: 14px; }
.ac-mini .ac-time { margin-left: auto; }
@container el (min-width: 640px) {
  .ac-mini { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .ac-mini .ac-top { grid-column: 1 / -1; }
  .ac-mini .ac-head { border-bottom: 0; border-right: 3px dashed var(--choc); }
}

/* ================= phones ================= */
@media (max-width: 760px) {
  /* the menu: one row you can swipe sideways */
  .top .wrap { gap: 8px; padding-top: 8px; padding-bottom: 10px; }
  .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 4px 4px 7px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; padding: 5px 11px; font-size: 13.5px; }
  .clock { display: none; }
  main.wrap { padding-left: 14px; padding-right: 14px; }
  /* splash: the big title keeps clear of the edge */
  .splash .left { padding-right: 14px; }
  /* art album: three small prints a row, so the album isn't endless */
  .bd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px 10px !important; }
  .bd-photo { padding: 5px 5px 34px; }
  .bd-cap { bottom: 4px; left: 4px; right: 4px; }
  .bd-cap b { font-size: 11px; } .bd-cap small { font-size: 8.5px; }
  .page-grid:has(.blk-video_corner) .blk-video_tapes > .blk-in { padding-top: 0; }
  /* writing: filter tabs swipe sideways, smaller shelves and note titles */
  .ww-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ww-tabs button { flex: none; }
  .ftile { min-height: 78px; padding: 10px 12px; } .ftile b { font-size: 34px; } .ftile span { font-size: 11.5px; }
  .wl-post.big .wl-title { font-size: 24px; } .wl-post .wl-title { font-size: 19px; }
  /* music: the crate's names fit on their records */
  .mc-sleeves { gap: 10px; padding-top: 40px; }
  .mc-art b { font-size: 13.5px; left: 6px; right: 6px; top: 6px; overflow-wrap: normal; word-break: normal; -webkit-text-stroke-width: 1.5px; }
  .mc-jb-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 0 2px 4px; scrollbar-width: none; }
  .mc-jb-tabs button { flex: none; }
  /* apps: the computer's screen and the disk labels at phone size */
  .ad-desk { padding: 22px 14px 0; }
  .ad-body { padding: 12px 12px 10px; border-radius: 22px 22px 14px 14px; }
  .ad-crt { padding: 6px; border-radius: 18px; }
  .ad-win { inset: 4%; }
  .ad-winin { padding: 12px; gap: 10px; }
  .ad-head { gap: 10px; }
  .ad-icon { width: 46px; border-radius: 14px; }
  .ad-icon svg { width: 22px; height: 22px; }
  .ad-head h2 { font-size: 22px; overflow-wrap: normal; }
  .ad-winin p { font-size: 13.5px; line-height: 1.5; }
  .ad-btn { padding: 5px 12px; font-size: 12.5px; }
  .ad-disks { gap: 10px; }
  .ad-lab { padding: 5px; }
  .ad-lab b { font-size: 11.5px; overflow-wrap: normal; word-break: normal; }
  .ad-lab small { font-size: 8.5px; }
  .ad-note { padding: 22px 18px 18px; }
  .ad-note .wl-title { font-size: 21px; }
  /* about: a tidy header and a plate with room for its words */
  .ac-head { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .ac-bubble { font-size: 15px; padding: 8px 14px; border-radius: 22px; }
  .ac-navs { grid-column: 1 / -1; margin-top: 2px; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .ac-nbtn { flex: none; padding: 7px 14px; font-size: 13.5px; }
  .ac-body { margin: 10px; }
  .ac-plate { padding: 12px; }
  .ac-btns { display: none; }
  .ac-platein b { font-size: 24px; }
  .ac-right { padding: 18px 18px 20px; }
  .ac-right h1 { font-size: 38px; }
  .ac-left { padding: 18px; }
  .ac-pic { max-width: 220px; }
  .ac-sqs .round { width: 50px; height: 50px; }
  .ac-mini .ac-head { grid-template-columns: 70px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .nav { gap: 2px; }
  .nav a { padding: 5px 8px; font-size: 13px; }
  .ac-head > div { display: contents; }
  .ac-bubble { grid-column: 2; align-self: center; }
  .ac-navs { grid-column: 1 / -1; flex-wrap: wrap; overflow: visible; }
  .ad-winin p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ad-lab b { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 360px) { .nav a { padding: 5px 6px; font-size: 12.5px; } }
@media (max-width: 760px) {
  .ad-btn { padding: 4px 10px; font-size: 12px; border-radius: 10px; }
  .ad-btns { gap: 6px; }
  .ad-lab b { font-size: 10px; }
}

/* home boxes: their headers take you to the page (a little arrow says so) */
.bar-go { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit; text-decoration: none; }
.bar-arrow { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.22); font: 800 13px "M PLUS Rounded 1c"; transition: transform .2s ease, background .2s; flex: none; }
.bar.p .bar-arrow { background: rgba(255,255,255,.6); }
.bar-go:hover .bar-arrow, .ac-go:hover .bar-arrow, .ww-titlebar:hover .bar-arrow, .wj-band:hover .bar-arrow { transform: translateX(4px); background: var(--rasp); color: var(--on-rasp, #fff); }
.bar-go:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ac-go { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.ww-home .ww-titlebar, .wj-band { color: inherit; text-decoration: none; }
.ww-home .ww-titlebar .bar-arrow { margin-left: auto; }
.wj-band .bar-arrow { margin-left: 8px; }
.wl-tlink { text-decoration: none; }
.wl-tlink:hover { color: var(--rasp-ink, var(--rasp)); }
.ww-minifiles a, .wj-list a, .wb-toc a { color: inherit; text-decoration: none; }
.ww-minifiles a:hover b, .wj-list a:hover, .wb-toc a:hover span { color: var(--rasp-ink, var(--rasp)); }
.wl-homefoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.wl-homefoot .wl-go { text-decoration: none; }
.wl-homefoot .wl-go:hover { text-decoration: underline; }
.wl-allbtn { padding: 6px 14px; font-size: 13.5px; }
.wj-by .wl-allbtn { margin-left: auto; }
a.ad-tagnote { text-decoration: none; transition: transform .15s; }
a.ad-tagnote:hover { transform: rotate(-2deg) translateY(-2px); color: var(--rasp-ink, var(--rasp)); }
.ww-home .ww-in .wl-go { margin-top: 0; padding-top: 0; text-align: left; }
.wl-homefoot .wl-go { margin-top: 0; padding-top: 0; text-align: left; }
.ww-home .ww-titlebar { color: var(--pink-pale); }

/* ---------- lots of things: rows scroll sideways, long lists scroll inside, nothing grows forever ---------- */
.scrolly { scrollbar-width: thin; scrollbar-color: var(--choc-2) transparent; }
/* home music: artist buttons in one row that slides */
.seg:not(.wide-seg) { display: flex; overflow-x: auto; scrollbar-width: none; }
.seg:not(.wide-seg) button { flex: 1 0 auto; white-space: nowrap; padding: 6px 10px; }
/* the crate: records in one row you can flip through sideways */
.mc-sleeves { display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; padding: 66px 6px 0; scrollbar-width: none; }
.mc-sl { flex: 1 0 118px; max-width: 150px; scroll-snap-align: start; }
.mc-art b { font-size: 16px; overflow-wrap: normal; word-break: normal; hyphens: auto; }
/* every-song: artist buttons in one sliding row, songs scroll inside the jukebox */
.mc-jb-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: safe center; padding: 0 2px 5px; scrollbar-width: none; }
.mc-jb-tabs button { flex: none; white-space: nowrap; }
.mc-strips { max-height: 560px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
.mc-side-a { max-height: 480px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--choc-2) transparent; }
.mc-cratebox { display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.mc-flip { position: relative; z-index: 5; }
/* art: lots of characters → the side tabs scroll instead of hanging off the bottom of the binder */
.bd-tabs { max-height: calc(100% - 50px); overflow-y: auto; scrollbar-width: none; padding: 0 6px 6px 0; }
/* writing: lots of kinds → the folder tabs slide; lots of pieces → the list scrolls inside its window */
.ww-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.ww-tabs button { flex: none; white-space: nowrap; }
.ww-files .ww-list { max-height: 620px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--choc-2) transparent; }
/* videos: lots of tapes → the shelf scrolls */
.vc-tapes .body { max-height: 640px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
/* apps: lots of apps → the disks slide along the desk, three at a time */
.ad-disks { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; padding-top: 14px; margin-top: -14px; scrollbar-width: thin; scrollbar-color: var(--choc-2) transparent; }
.ad-disks > * { scroll-snap-align: start; }
.ad-diskrow { position: relative; }
.ad-flip { position: absolute; z-index: 3; top: 50%; left: -14px; transform: translateY(-50%); }
.ad-flip.r { left: auto; right: -14px; }
.ad-flip:disabled, .mc-flip:disabled { opacity: .35; cursor: default; }
/* list elements Ana has sized by hand: the box keeps her height and only the list inside scrolls */
.blk.fh > .blk-in > :is(.mc-liner, .mc-jukebox, .vc-tapes, .ww-files) { overflow: hidden; height: 100%; }
.blk.fh :is(.mc-strips, .mc-side-a, .ww-files .ww-list, .vc-tapes .body) { flex: 1 1 0; min-height: 60px; max-height: none; }
.blk.fh > .blk-in > .ww-files { display: flex; flex-direction: column; }
/* the home page's mini desk keeps its disks in one little column (the sliding row is only for the apps page) */
.ad-mini .ad-disks { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin-top: 0; padding-top: 0; scroll-snap-type: none; }
/* the home apps box can be any shape: the computer screen stretches to fill a tall box
   (instead of always staying 4:3, which made the box only resize "proportionally") */
.ad-mini-in { align-items: stretch; }
.ad-mini .ad-pc { display: flex; flex-direction: column; }
.ad-mini .ad-body { flex: 1 1 auto; display: flex; flex-direction: column; }
.ad-mini .ad-crt { flex: 1 1 auto; display: flex; flex-direction: column; }
.ad-mini .ad-scr { flex: 1 1 auto; min-height: 96px; }
.ad-mini .ad-front, .ad-mini .ad-base { flex: none; }
.ad-mini .ad-disks { align-self: end; }
/* a skinny apps box: the app's icon sits above its name so the name still fits */
@container el (max-width: 300px) {
  .ad-mini .ad-head { flex-direction: column; align-items: center; text-align: center; }
  .ad-mini .ad-head h2 { max-width: 100%; font-size: clamp(10px, 4.4cqi, 15px); }
}
/* boxes whose height used to be locked to their width */
/* home apps: unsized, the screen keeps its TV shape but never gets huge; sized by hand, it fills the box */
.blk:not(.fhmin):not(.fh) .ad-mini .ad-scr { max-height: 230px; }
.blk.fhmin .ad-mini .ad-scr, .blk.fh .ad-mini .ad-scr { aspect-ratio: auto; }
/* TVs keep their shape (videos need it) but stop growing in a very wide box: they sit in the middle */
.vc-corner > *, .blk-piece_tv .tvset { width: 100%; max-width: 860px; margin-inline: auto; }
/* reading pages: the page itself grows when the box is made taller */
.blk > .blk-in > article { flex: 1 1 auto; }
/* very narrow boxes: nothing pokes out the side */
.ww-feature h2 { font-size: clamp(26px, 7.5cqi, 52px); }
.mc-strips { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.flip-row .thumbs { flex: 1 1 auto; min-width: 0; }
/* home apps box made taller: instead of an empty stretched screen, it shows more of the app —
   first what it does, then its buttons (the screen measures its own size to decide) */
.ad-mini .ad-scr { container: scr / size; }
.ad-mini .ad-more, .ad-mini .ad-more-btns { display: none; }
.ad-mini .ad-more { font-size: 13.5px; line-height: 1.5; display: none; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.ad-mini .ad-more-btns { gap: 8px; }
@container el (max-width: 300px) { .ad-mini .ad-more { text-align: center; } .ad-mini .ad-more-btns { justify-content: center; } }
.ad-mini .ad-more-btns .ad-btn { padding: 5px 12px; font-size: 12.5px; }
@container scr (min-height: 220px) { .ad-mini .ad-more { display: -webkit-box; } }
@container scr (min-height: 300px) { .ad-mini .ad-more-btns { display: flex; } }
@container scr (min-height: 380px) { .ad-mini .ad-more { -webkit-line-clamp: 7; } }
.ad-mini .ad-more-btns .ad-btn { white-space: nowrap; }
@container scr (max-width: 170px) {
  .ad-mini .ad-winin { padding: 8px 6px; }
  .ad-mini .ad-more { font-size: 12px; line-height: 1.45; }
  .ad-mini .ad-more-btns { flex-direction: column; align-items: stretch; gap: 6px; }
  .ad-mini .ad-more-btns .ad-btn { justify-content: center; padding: 4px 2px; font-size: 10.5px; gap: 4px; min-width: 0; overflow: hidden; }
}


/* ---------- splash ----------
   computer: the original layout (name + buttons on the left, art on the right), with the name as a tilted sticker.
   phone / narrow box: the art on top, the name stuck on its corner, the buttons underneath. */
.splash .title { position: relative; z-index: 4; align-self: flex-start; transform: rotate(-4deg); transform-origin: left center; -webkit-text-stroke: 8px var(--choc); text-shadow: 0 6px 0 var(--choc); padding: 0 6px; margin-left: -6px; }
@container el (max-width: 560px) {
  .splash, .splash:has(> .drawwrap.layered) { --tsz: clamp(42px, 12cqi, 60px); position: relative; display: flex; flex-direction: column; gap: 12px; padding: 10px 10px 12px; margin-top: 0; }
  .splash > .drawwrap { order: 1; width: 100%; }
  .splash > .left { order: 2; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px; padding: clamp(44px, 17cqi, 72px) 2px 0; }
  .splash .title { position: absolute; top: calc(var(--tsz) * -.42); left: 10px; margin: 0; font-size: var(--tsz) !important; -webkit-text-stroke-width: 7px; text-shadow: 0 5px 0 var(--choc); }
  .splash .pills { order: -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 8px; width: 100%; max-width: none; }
  .splash .pills .pill { height: 40px; font-size: 13px; min-width: 0; }
  .splash .rounds { margin: 0 0 0 auto; padding: 0; flex-wrap: nowrap; }
}
/* a little room above the splash on a phone, for the sticker name poking out the top */
@media (max-width: 760px) { .blk-splash > .blk-in { padding-top: 26px; } }

/* ======================= phone layouts (mockups/05-phone/phone.html) ======================= */
.pdock, .top .here { display: none; }
@media (max-width: 760px) {
  /* top bar: logo, which page you're on, the clock. The menu moves to a dock at the bottom */
  .top .wrap { flex-direction: row !important; flex-wrap: nowrap !important; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .top .nav { display: none !important; }
  .top .logo { font-size: 20px; }
  .top .here { display: inline; font: 800 12.5px "M PLUS Rounded 1c"; color: var(--pink); white-space: nowrap; }
  .top .clock { display: inline-block !important; margin-left: auto; font-size: 13px; padding: 3px 10px; min-width: 0; }
  /* heights dragged on a computer don't apply on a phone: every panel fits what's in it */
  .page-grid > .blk > .blk-in { min-height: 0 !important; height: auto !important; }
  .pdock { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); display: flex; justify-content: space-between; padding: 7px 10px 6px; background: var(--choc); border-radius: 24px; box-shadow: 0 5px 0 #2a1716, 0 8px 24px rgba(40,20,22,.25); }
  .pdock a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font: 800 10px "M PLUS Rounded 1c"; color: var(--pink); text-decoration: none; min-width: 0; white-space: nowrap; }
  .pdock a span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--choc); border: 2px solid #2a1716; transition: transform .15s; }
  .pdock a span svg { width: 19px; height: 19px; }
  .pdock a.on { color: var(--cream); }
  .pdock a.on span { background: var(--rasp); color: var(--on-rasp, #fff); transform: translateY(-4px); box-shadow: 0 4px 0 #2a1716; }
  body { padding-bottom: 92px; }
  body.editing .pdock, body.previewing .pdock { bottom: 74px; }

  /* the page: a 10-column grid so panels can sit side by side again */
  .page-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); column-gap: 0; }
  .page-grid > .blk { grid-column: span 10 !important; grid-row: auto !important; }
  .page-grid > .blk-splash { order: 1; } .page-grid > .blk-home_art { order: 2; grid-column: span 6 !important; padding-right: 7px; }
  .page-grid > .blk-home_apps { order: 3; grid-column: span 4 !important; padding-left: 7px; }
  .page-grid > .blk-home_music { order: 4; } .page-grid > .blk-home_about { order: 5; grid-column: span 4 !important; padding-right: 7px; }
  .page-grid > .blk-home_writing { order: 6; grid-column: span 6 !important; padding-left: 7px; }
  .page-grid > .blk { padding-bottom: 18px; }

  /* home art: four stamps in a little square, the full gallery is a tap away */
  .blk-home_art .strip { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; padding: 4px; }
  .blk-home_art .strip > :nth-child(n+5) { display: none; }
  .blk-home_art .strip .art { flex-basis: auto !important; width: auto; }
  .blk-home_art .art b, .blk-home_art .art em, .blk-home_art .art small, .blk-home_art .count, .blk-home_art .bar .r, .blk-home_art .foot { display: none !important; }
  .blk-home_art .body { padding: 10px; }
  /* home music: a slim strip — record, what's showing, play */
  .blk-home_music .w { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 20px;
    background: repeating-linear-gradient(115deg, transparent 0 60%, rgba(255,255,255,.2) 60% 70%, transparent 70%), var(--rasp); }
  .blk-home_music .w > .bar, .blk-home_music .seg, .blk-home_music .plinks, .blk-home_music .foot, .blk-home_music .eq, .blk-home_music .ctrl [data-step] { display: none !important; }
  .blk-home_music .body { display: contents; }
  .blk-home_music .body::after { display: none; }
  .blk-home_music .player { display: contents; }
  .blk-home_music .now { background: #2a1716; border-radius: 10px; padding: 6px 10px; color: #b8ffcf; font: 800 12px/1.35 "M PLUS Rounded 1c"; min-width: 0; }
  .blk-home_music .now small { color: #b8ffcf; opacity: .8; font-size: 9.5px; }
  .blk-home_music .now b { display: block; font: 800 14px "M PLUS Rounded 1c"; color: #b8ffcf; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .blk-home_music .now span { display: block; font-size: 10px; color: #b8ffcf; opacity: .8; }
  .blk-home_music .ctrl { margin: 0; }
  /* home about: a small card — picture, name, the little line */
  .blk-home_about .ac-mini .ac-top, .blk-home_about .ac-status { display: none; }
  .blk-home_about .ac-mini { height: 100%; }
  .blk-home_about .ac-mini .ac-head { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 6px; padding: 12px; border-right: 0; border-bottom: 3px dashed var(--choc); }
  .blk-home_about .ac-mbody { padding: 0 12px 12px; }
  .blk-home_about .ac-more { font-size: 11.5px; padding: 4px 10px; }
  .blk-home_about .ac-mname { font-size: 24px; }
  .blk-home_about .ac-mtag { font-size: 11.5px; line-height: 1.35; }
  .blk-home_about .ac-av { width: 52px; height: 52px; }
  /* home writing: just the newest piece */
  .blk-home_writing :is(.ww-minifiles, .wj-list, .wb-toc, .wl-mini, .wl-go) { display: none !important; }
  /* home apps: just the computer (the disks are on the apps page) */
  .blk-home_apps .ad-mini { padding: 50px 8px 0; }
  .blk-home_apps .ad-mini-in { grid-template-columns: minmax(0, 1fr); }
  .blk-home_apps .ad-mini .ad-disks { display: none; }
  .blk-home_apps .ad-tagnote { font-size: 15px; left: 8px; top: 10px; }
  .blk-home_apps .ad-mini-go { left: 8px; right: 8px; text-align: center; font-size: 12px; padding: 4px 8px; }

  /* lists inside sized boxes go back to their own height on a phone */
  .blk.fh :is(.mc-strips, .mc-side-a, .ww-files .ww-list, .vc-tapes .body) { flex: none; }
  .blk.fh > .blk-in > :is(.mc-liner, .mc-jukebox, .vc-tapes, .ww-files) { height: auto; }
  /* music: turntable and its screen side by side, controls under the screen, the three dials in a row */
  .mc-console { padding: 14px; }
  .mc-console .mc-top { grid-template-columns: 128px minmax(0, 1fr); grid-template-areas: "deck lcd" "deck ctrl" "dials dials"; gap: 10px 12px; justify-items: stretch; }
  .mc-console .mc-side { display: contents; }
  .mc-console .deck.big { --s: 128px; grid-area: deck; align-self: center; }
  .mc-console .mc-lcd { grid-area: lcd; padding: 8px 10px; font-size: 10.5px; }
  .mc-console .mc-lcd b { font-size: 15px; }
  .mc-console .ctrl { grid-area: ctrl; gap: 6px; }
  .mc-console .mc-dials { grid-area: dials; justify-content: space-around; gap: 8px; margin-top: 4px; }
  .mc-console .mc-dial .knob { width: 44px; }
  .mc-side-a { max-height: 300px; }
  .mc-strips { max-height: 420px; }
  /* videos: the tapes slide along a shelf under the TV */
  .vc-tapes .body { flex-direction: row; overflow-x: auto; overflow-y: hidden; max-height: none; scroll-snap-type: x proximity; scrollbar-width: none; }
  .vc-tape { flex: 0 0 210px; scroll-snap-align: start; }
  /* writing: the quote tucks under the title, a little tilted and hanging off the edge */
  .ww-quote { padding-top: 30px; margin: 0 -8px 0 26px; }
  .ww-quote .wj-pull { transform: rotate(1.5deg); font-size: 15px; padding: 18px 16px 14px; }
  /* shelves: four book spines standing on a plank */
  .wl-shelves .body { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; align-items: end; gap: 6px; padding: 14px 12px 0; border-bottom: 14px solid var(--choc-2); }
  .wl-shelves .body::after { display: none; }
  .ftile { min-height: 0; justify-content: flex-start; align-items: center; gap: 8px; padding: 10px 4px; border-radius: 6px 6px 0 0; border-bottom: 0; box-shadow: none; }
  .ftile:hover { transform: none; box-shadow: none; }
  .ftile b { font-size: 26px; }
  .ftile span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10.5px; overflow-wrap: normal; white-space: nowrap; }
  .ftile.t1 { height: 128px; } .ftile.t2 { height: 108px; } .ftile.t3 { height: 120px; } .ftile.t4 { height: 100px; }
  /* apps: the note taped up above the computer, the screen tall enough for the whole description, disks on the desk */
  .ad-desk .ad-in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ad-desk .ad-side { display: contents; }
  .ad-desk .ad-note { order: -1; position: relative; z-index: 2; margin: 0 34px -12px 4px; padding: 16px 16px 14px; transform: rotate(-2deg); }
  .ad-desk .ad-note .wl-title { font-size: 19px; }
  .ad-desk .ad-diskrow { order: 2; margin-top: 18px; padding-bottom: 14px; }
  .ad-desk .ad-pc { padding-bottom: 0; }
  .ad-desk .ad-scr { aspect-ratio: auto; }
  .ad-desk .ad-win { position: relative; inset: auto; margin: 4%; }
  .ad-desk .ad-winin p { display: block; -webkit-line-clamp: unset; overflow: visible; }
  /* about: picture and name side by side, fun facts as little chips */
  .ac-body { margin: 8px; }
  .ac-prof { display: grid !important; grid-template-columns: 112px minmax(0, 1fr) !important; }
  .ac-prof .ac-left { padding: 12px 10px; border-right: 3px dashed rgba(62,36,34,.35); border-bottom: 0; }
  .ac-prof .ac-right { padding: 14px 14px 16px; }
  .ac-right h1 { font-size: 32px; }
  .ac-facts { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ac-facts ul { gap: 6px; }
  .ac-facts li { background: rgba(255,255,255,.12); border-radius: 999px; padding: 3px 11px; font-size: 13px; }
}

/* ======================= coming soon: boxes with nothing in them yet (mockups/06-coming-soon) ======================= */
.cs-soon { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; background: var(--cream); color: var(--choc); border: 2.5px solid var(--choc); border-radius: 999px; box-shadow: 0 4px 0 var(--choc);
  font: 800 13px "M PLUS Rounded 1c"; transform: rotate(-4deg); white-space: nowrap; }
.cs-soon::before { content: "♥"; color: var(--rasp-ink, var(--rasp)); }
.cs-soon.big { font-size: 15px; padding: 7px 16px; background: var(--rasp); color: var(--on-rasp, var(--choc)); }
.cs-soon.big::before { color: var(--choc); }
.cs-line { margin: 0; font: 600 13.5px/1.55 "Nunito"; color: var(--choc-2); }
.cs-blink, .cs-caret { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* home art */
.cs-stamps { display: flex; gap: 18px; padding: 6px 4px 12px; }
.cs-stamp { flex: 1; aspect-ratio: 1; max-width: 150px; border: 2px solid var(--choc); outline: 4px dotted #fff; outline-offset: -8px; display: grid; place-items: center;
  background: repeating-linear-gradient(-45deg, var(--pink-pale) 0 10px, #fff 10px 20px); }
.cs-stamp:first-child { background: #fff; }
.cs-stamp .cs-soon { font-size: 11px; padding: 3px 10px; }
/* art binder */
.cs-bd .bd-page { min-height: 320px; }
.cs-sleeve { position: relative; height: 100%; min-height: 280px; border: 3px dashed rgba(80,49,47,.35); border-radius: 8px; display: grid; place-items: center;
  background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--rasp) 18%, transparent) 0 12px, transparent 12px 24px), #fff; }
.cs-sleeve::before, .cs-sleeve::after { content: ""; position: absolute; border: 14px solid transparent; }
.cs-sleeve::before { left: -3px; top: -3px; border-left-color: var(--rasp); border-top-color: var(--rasp); }
.cs-sleeve::after { right: -3px; bottom: -3px; border-right-color: var(--rasp); border-bottom-color: var(--rasp); }
.cs-no { position: absolute; right: 16px; bottom: 12px; font: 800 12px "M PLUS Rounded 1c"; color: var(--rasp-ink, var(--rasp)); }
.cs-ghosts { display: flex; gap: 6px; margin-top: 6px; } .cs-ghosts i { width: 56px; height: 22px; border-radius: 999px; border: 2px dashed rgba(80,49,47,.3); }
/* the TV with static */
.cs-tv .tv-screen { display: grid; place-items: center; background: #3a2a29; }
.cs-static { position: absolute; inset: -50%; opacity: .55; animation: snow .3s steps(4) infinite;
  background: repeating-radial-gradient(circle at 17% 32%, #fff 0 1px, transparent 1px 3px), repeating-radial-gradient(circle at 73% 61%, #cfcfcf 0 1px, transparent 1px 4px), repeating-radial-gradient(circle at 41% 83%, #9a8f8e 0 1.5px, transparent 1.5px 5px); }
.cs-tv .tv-screen::before { content: ""; position: absolute; inset: 0; z-index: 1; background: repeating-linear-gradient(transparent 0 3px, rgba(0,0,0,.18) 3px 5px); pointer-events: none; }
@keyframes snow { 25% { transform: translate(3%, -2%); } 50% { transform: translate(-2%, 3%); } 75% { transform: translate(2%, 2%); } }
.cs-nosig { position: relative; z-index: 2; text-align: center; background: #2a1716; border: 3px solid var(--choc); border-radius: 12px; padding: 10px 20px; }
.cs-nosig b { display: block; color: #b8ffcf; font: 800 clamp(13px, 3.2cqi, 17px) "M PLUS Rounded 1c"; letter-spacing: .12em; }
.cs-nosig small { display: block; color: var(--pink); font: 800 12.5px "M PLUS Rounded 1c"; }
@media (prefers-reduced-motion: reduce) { .cs-static { animation: none; } }
.cs-tape { pointer-events: none; }
.cs-slot { display: block; height: 52px; flex: none; border-radius: 10px; border: 2.5px dashed rgba(253,246,240,.35); }
/* writing: the notebook */
.cs-notebook { position: relative; margin: 18px; padding: 20px 24px 28px 54px; min-height: 200px; border: 3px solid var(--choc); border-radius: 6px 16px 16px 6px; box-shadow: 0 5px 0 var(--choc); overflow: hidden;
  background: linear-gradient(90deg, transparent 38px, color-mix(in srgb, var(--rasp-ink, var(--rasp)) 40%, transparent) 38px 40px, transparent 40px), repeating-linear-gradient(transparent 0 29px, rgba(80,49,47,.14) 29px 31px), #fffaf3; }
.cs-holes { position: absolute; left: 10px; top: 16px; bottom: 16px; display: flex; flex-direction: column; justify-content: space-around; }
.cs-holes i { width: 14px; height: 14px; border-radius: 50%; background: var(--page); border: 2px solid var(--choc); }
.cs-writing { font: italic 900 24px/31px "Fraunces", serif; margin: 2px 0; }
.cs-caret { display: inline-block; width: 3px; height: 24px; background: var(--choc); vertical-align: -4px; margin-left: 4px; }
.cs-notebook .cs-line { max-width: 300px; }
.cs-pencil { position: absolute; right: -14px; bottom: 18px; width: 150px; transform: rotate(-28deg); }
.cs-nbwin .ww-titlebar { display: flex; align-items: center; gap: 8px; }
.cs-nbwin .ww-titlebar .e-add { margin-left: auto; }
.cs-wbox .cs-notebook { margin: 4px; min-height: 150px; }
/* shelves, notes, creative writing */
.cs-shelves .body { position: relative; display: flex; align-items: flex-end; gap: 8px; padding: 22px 18px 0; min-height: 170px; border-bottom: 16px solid var(--choc-2); }
.cs-shelves .body::after { display: none; }
.cs-spine { flex: 1; height: 110px; border: 2.5px dashed rgba(80,49,47,.35); border-bottom: 0; border-radius: 6px 6px 0 0; }
.cs-spine:nth-child(2) { height: 92px; } .cs-spine:nth-child(3) { height: 120px; } .cs-spine:nth-child(4) { height: 84px; }
.cs-shelves .cs-soon { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%) rotate(-5deg); }
.cs-cal { display: flex; gap: 14px; align-items: center; padding: 6px 4px; }
.cs-cal .cal b { color: var(--choc-2); }
.cs-cal .wl-title { font-size: 20px; }
.cs-files .ww-list { position: relative; padding: 10px 14px 18px; }
.cs-row { display: block; height: 46px; margin: 8px 0; border: 2px dashed rgba(80,49,47,.25); border-radius: 10px; }
.cs-files .cs-soon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-4deg); }
/* music */
.cs-console .mc-lcd b { font-size: 20px; }
.cs-rec { display: grid !important; place-items: center; background: repeating-linear-gradient(-45deg, var(--pink-pale) 0 10px, #fff 10px 20px) !important; }
.cs-rec .cs-soon { font-size: 11px; padding: 3px 10px; }
.cs-crate .mc-sleeves { justify-content: center; }
.cs-crate .mc-sl { flex: 0 0 120px; }
.cs-strips { display: grid; gap: 8px; }
.cs-first { pointer-events: none; }
.cs-strip { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 10px; border: 2px dashed rgba(253,246,240,.25); border-radius: 8px; }
.cs-strip em { font: 800 10px "M PLUS Rounded 1c"; font-style: normal; color: rgba(253,246,240,.6); background: rgba(253,246,240,.12); padding: 2px 6px; border-radius: 4px; }
.cs-liner .mc-side-a li { min-height: 36px; cursor: default; }
.cs-player .now b { white-space: nowrap; }
/* apps: the computer loading */
.cs-loading { background: #2a1716 !important; color: #b8ffcf; }
.cs-loading .ad-winin { justify-content: center; gap: 2px; font: 800 14px/1.7 "M PLUS Rounded 1c"; color: #b8ffcf; }
.cs-bar { display: block; width: 100%; height: 14px; margin-top: 8px; padding: 2px; border: 2px solid #b8ffcf; border-radius: 4px; }
.cs-bar i { display: block; height: 100%; width: 38%; background: repeating-linear-gradient(90deg, #b8ffcf 0 8px, transparent 8px 12px); animation: load 3s ease-in-out infinite alternate; }
@keyframes load { to { width: 74%; } }
.ad-mini .cs-loading .ad-winin { font-size: 11px; padding: 8px; }
.cs-disk { display: grid; place-items: center; aspect-ratio: 1; border-radius: 9px; border: 2.5px dashed rgba(80,49,47,.4); }
.cs-disk::after { content: "+"; font: 800 18px "M PLUS Rounded 1c"; color: rgba(80,49,47,.4); }
.cs-term { display: flex; flex-direction: column; gap: 4px; padding: 6px 2px; font: 800 14px/1.8 "M PLUS Rounded 1c"; color: #fff; }
.cs-term em { color: #b8ffcf; font-style: normal; } .cs-pinkt { color: var(--pink); }
@media (max-width: 760px) {
  .cs-bd .bd-page { min-height: 0; }
  .cs-sleeve { min-height: 220px; aspect-ratio: 1; }
  .cs-notebook { margin: 12px; padding: 16px 16px 26px 46px; }
  .cs-pencil { width: 110px; right: -16px; bottom: 14px; }
  .cs-writing { font-size: 21px; }
  .cs-shelves .body { min-height: 140px; }
  .cs-stamps { gap: 8px; } 
  .blk-home_art .cs-stamps { display: grid; grid-template-columns: 1fr 1fr; }
  .blk-home_art .cs-stamp:nth-child(3) { display: none; }
}
.cs-strips { grid-template-columns: minmax(0, 1fr) !important; }
.cs-first .mc-st b { white-space: normal; }
.cs-shelves .body { grid-template-columns: none; }
.cs-shelves .cs-spine { display: block; }
.cs-shelf { display: flex; align-items: flex-end; gap: 8px; width: 100%; }
.cs-shelf i { flex: 1 1 0; height: 110px; border: 2.5px dashed rgba(80,49,47,.35); border-bottom: 0; border-radius: 6px 6px 0 0; }
.cs-shelf i:nth-child(2) { height: 92px; } .cs-shelf i:nth-child(3) { height: 120px; } .cs-shelf i:nth-child(4) { height: 84px; }
/* the home page's little computer only has room for "loading…" and the bar */
.ad-mini .cs-loading .ad-winin > span:nth-child(2) { display: none; }
@container el (max-width: 300px) { .ad-mini .cs-loading .ad-winin { font-size: 10px; padding: 6px; } }
/* home boxes open their page when tapped anywhere; the whole header bar is the link, not just the arrow */
body:not(.editing) [data-go] { cursor: pointer; }
.bar-go { flex: 1 1 auto; }
.say-more { font-weight: 800; color: var(--rasp-ink, var(--rasp)); white-space: nowrap; }
/* square and portrait videos: the TV shows the whole picture (no cropping), with dark screen either side like a real TV */
.screen-out video { object-fit: contain; background: #1d0f0e; }
/* and the big player takes the video's own shape */
dialog.watch:has(video) { width: fit-content; }
.watch-frame video { width: auto; height: auto; aspect-ratio: auto; min-width: min(320px, 80vw); max-width: min(1200px, calc(94vw - 28px)); max-height: calc(94vh - 40px); }
/* a piece's page: who posted it + the title stay put, the words underneath scroll */
.about-head { flex: none; display: flex; flex-direction: column; gap: 10px; padding: 4px 8px 12px 4px; border-bottom: 2px dashed rgba(107,63,55,.22); margin-bottom: 12px; }
.about-head .vw-title { margin: 0; }
.mc-sleeves { padding-top: 84px; } /* room for the pulled-up record and its disc, so nothing is cut off at the top */

/* ======================= an artist's own page (mockups/07-artist-page) ======================= */
.back-pill { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 16px; font: 800 13.5px "M PLUS Rounded 1c"; color: var(--choc); background: var(--cream); border: 2.5px solid var(--choc); border-radius: 999px; padding: 4px 14px; box-shadow: 0 3px 0 var(--choc); text-decoration: none; }
.back-pill:hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--choc); }
/* the record sleeve */
.ar-sleeve { display: grid; grid-template-columns: clamp(150px, 30cqi, 220px) minmax(0, 1fr); gap: clamp(36px, 8cqi, 64px); align-items: center; padding: clamp(18px, 4cqi, 30px); border-radius: 26px; border: 3px solid var(--choc); box-shadow: 0 7px 0 var(--choc);
  background: linear-gradient(115deg, transparent 0 62%, rgba(255,255,255,.2) 62% 72%, transparent 72%), var(--rasp); color: var(--on-rasp, var(--cream)); }
.ar-cover { position: relative; aspect-ratio: 1; }
.ar-disc { position: absolute; top: 8%; left: 26%; width: 88%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(#2a1716 0 2px, #3a2220 2px 4px); border: 3px solid var(--choc); display: grid; place-items: center; }
.ar-disc::after { content: ""; width: 30%; aspect-ratio: 1; border-radius: 50%; background: var(--mint, var(--pink)); border: 3px solid var(--choc); }
.ar-art { position: relative; display: flex; align-items: flex-end; height: 100%; padding: 14px; overflow: hidden; border-radius: 14px; border: 3px solid var(--choc); box-shadow: 0 5px 0 var(--choc);
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.3) 0 14px, transparent 14px 28px), var(--lab, var(--rasp-2)); }
.ar-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar-art b { position: relative; font: italic 900 clamp(22px, 5cqi, 32px)/1 "Fraunces", serif; color: var(--cream); -webkit-text-stroke: 6px var(--choc); paint-order: stroke fill; }
.ar-who { position: relative; z-index: 1; min-width: 0; }
.ar-who .wl-k { color: var(--choc); }
.ar-who h1 { margin: 2px 0 6px; font: italic 900 clamp(38px, 9cqi, 56px)/1 "Fraunces", serif; color: var(--cream); -webkit-text-stroke: 8px var(--choc); paint-order: stroke fill; text-shadow: 0 6px 0 var(--choc); overflow-wrap: anywhere; }
.ar-who p { margin: 10px 0 16px; font: 700 15px/1.6 "Nunito"; color: var(--choc); max-width: 440px; }
.ar-links { display: flex; flex-wrap: wrap; gap: 8px; }
/* the little TV: mint instead of pink, with its tapes underneath */
.ar-tv { --rasp: var(--mint, #a6dcc3); height: 100%; }
.ar-tv .tvset { width: 100%; }
.ar-now { margin: 10px 4px 0; }
.ar-now .vc-lcd { display: block; width: 100%; }
.ar-tapes { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 6px; }
.ar-tapes .vc-tape { flex: 0 0 160px; }
.ar-tvhint { margin: 10px 4px 0; font: 700 12.5px/1.5 "Nunito"; color: var(--choc-2); }
/* what they've put out */
.ar-out .body { display: grid; gap: 22px; padding: 20px; }
.ar-release { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; align-items: start; }
.ar-rcover { aspect-ratio: 1; display: flex; align-items: flex-end; padding: 10px; border-radius: 10px; border: 3px solid var(--choc); box-shadow: 0 4px 0 var(--choc);
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.5) 0 10px, transparent 10px 20px), var(--lab, var(--pink)); }
.ar-rcover b { font: italic 900 18px/1 "Fraunces", serif; color: var(--cream); -webkit-text-stroke: 4px var(--choc); paint-order: stroke fill; overflow-wrap: anywhere; }
.ar-rhead { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ar-rhead h3 { margin: 0; font: italic 900 26px "Fraunces", serif; }
.ar-rhead .chip { background: var(--choc); color: var(--cream); }
.ar-rhead small { font: 800 12.5px "M PLUS Rounded 1c"; color: var(--choc-2); }
.ar-tracks { list-style: none; margin: 8px 0 0; padding: 0; border-top: 2.5px solid var(--choc); }
.ar-tracks li { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 4px; border-bottom: 2px dashed rgba(107,63,55,.2); font: italic 900 16px "Fraunces", serif; }
.ar-tracks li > em { font: 800 11px "M PLUS Rounded 1c"; font-style: normal; color: var(--rasp-ink, var(--rasp)); min-width: 22px; }
.ar-mv { font: 800 10px "M PLUS Rounded 1c"; font-style: normal; color: var(--choc); text-decoration: none; background: var(--mint, var(--pink)); border: 2px solid var(--choc); border-radius: 5px; padding: 0 5px; }
.ar-play { margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; padding: 0; background: var(--rasp); color: var(--on-rasp, #fff); border: 2.5px solid var(--choc); box-shadow: 0 2px 0 var(--choc); cursor: pointer; }
.ar-play svg { width: 12px; height: 12px; }
.ar-play.on { background: var(--choc); color: var(--cream); animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { to { transform: scale(1.08); } }
.ar-edit { position: static; transform: none; margin-left: 6px; }
/* more of my music: the other artists' records lead to their pages */
.ar-more .mc-sleeves { justify-content: flex-start; }
.ar-more .mc-sl { flex: 0 0 120px; text-decoration: none; color: inherit; }
/* links to an artist's page from the music page */
.ar-visit { display: inline-flex; align-self: flex-start; margin: 0 0 10px; font: 800 12.5px "M PLUS Rounded 1c"; color: var(--choc); text-decoration: none; background: var(--pink-pale); border: 2px solid var(--choc); border-radius: 999px; padding: 2px 12px; box-shadow: 0 2px 0 var(--choc); }
.ar-name { color: inherit; text-decoration: none; } .ar-name:hover { text-decoration: underline; }
@container el (max-width: 560px) {
  .ar-sleeve { grid-template-columns: 1fr; justify-items: start; gap: 16px; }
  .ar-cover { width: 150px; }
  .ar-release { grid-template-columns: 1fr; gap: 12px; }
  .ar-rcover { width: 120px; }
}
.blk-artist_sleeve > .blk-in { align-items: flex-start; }
.blk-artist_sleeve .ar-sleeve { align-self: stretch; flex: 1; }
.ar-links .go { background: var(--cream); color: var(--choc); border: 2.5px solid var(--choc); box-shadow: 0 3px 0 var(--choc); }
.ar-links .go:first-child { background: var(--choc); color: var(--cream); }
.ar-more .mc-sleeves { padding-top: 46px; }
.ar-rcover b { overflow-wrap: normal; word-break: normal; font-size: clamp(13px, 2.4cqi, 18px); }
@media (max-width: 760px) { .back-pill { width: auto !important; align-self: flex-start; } .blk-artist_sleeve > .blk-in { display: block; } .blk-artist_sleeve .back-pill { display: inline-flex; } }
/* my artists: every record leads to that artist's page; they all sit level, a tap lifts one a little */
.mc-crate .mc-sl { text-decoration: none; color: inherit; }
.mc-crate .mc-sl:hover, .mc-crate .mc-sl:focus-visible { transform: translateY(-10px); }
/* music video tapes: each tape is as wide as its song's name, so the whole name shows */
.ar-tapes .vc-tape { flex: 0 0 auto; max-width: 100%; }
.ar-tapes .vc-lab b { overflow: visible; text-overflow: clip; }
/* a release with its own album cover: just the picture (no writing over it), a bit bigger, tap to see it big */
.ar-release:has(.ar-rcover.has-img) { grid-template-columns: 190px minmax(0, 1fr); }
.ar-rcover.has-img { position: relative; padding: 0; overflow: hidden; background: var(--cream); }
.ar-rbig { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ar-rbig img { width: 100%; height: 100%; object-fit: cover; }
@container el (max-width: 560px) { .ar-release:has(.ar-rcover.has-img) { grid-template-columns: 1fr; } .ar-rcover.has-img { width: min(100%, 240px); } }
/* a cropped picture shows the part Ana slid it to */
img { object-position: var(--pos, 50% 50%); }
/* the sleeve and the TV start at the same height and end at the same height (no gap under the TV) */
.ar-sleeve { position: relative; height: 100%; padding-top: clamp(54px, 9cqi, 64px); }
.ar-back { position: absolute; top: 14px; left: 16px; margin: 0; z-index: 2; }
.ar-tv { display: flex; flex-direction: column; height: 100%; }
.ar-tv .ar-tapes { margin-top: auto; padding-top: 12px; }
.blk-artist_tv > .blk-in, .blk-artist_sleeve > .blk-in { height: 100%; }
/* extra art: a little wall of pictures pinned up slightly crooked */
.ar-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px; padding: 10px 6px 6px; }
.ar-pic { position: relative; aspect-ratio: 1; padding: 6px; border: 3px solid var(--choc); border-radius: 6px; background: #fff; box-shadow: 0 4px 0 var(--choc); transform: rotate(var(--tilt, 0deg)); cursor: zoom-in; transition: transform .2s; }
.ar-pic:hover { transform: rotate(0) scale(1.04); z-index: 1; }
.ar-pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.ar-pic.e-addpic { display: grid; place-items: center; border-style: dashed; box-shadow: none; color: var(--rasp-ink, var(--rasp)); cursor: pointer; transform: none; }
@container el (max-width: 560px) { .ar-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
/* artist page TV: the TV's body lines up exactly with the sleeve beside it, top to bottom.
   The antenna pokes up above the box, and the screen stretches to fill the height (videos keep their shape inside it). */
@media (min-width: 761px) {
  .ar-tv { display: flex; flex-direction: column; height: 100%; }
  .ar-tv .tvset { flex: 1 1 auto; min-height: 0; justify-content: stretch; }
  .ar-tv .tv-ant { position: absolute; left: 50%; bottom: 100%; margin: 0 0 -6px -70px; z-index: 0; }
  .ar-tv .tv-body { flex: 1 1 auto; height: 100%; align-items: stretch; }
  .ar-tv .tv-bezel { display: flex; }
  .ar-tv .tv-screen { flex: 1 1 auto; aspect-ratio: auto; min-height: 160px; }
  .ar-tv .ar-now { margin-top: 12px; }
  .ar-tv .ar-tapes { margin-top: 10px; padding-top: 0; }
  .page-grid:has(.blk-artist_tv) { margin-top: 40px; }
}
/* artist page, take two: the TV keeps its own TV shape (its width sets its height — make its box wider or narrower
   to resize it); the sleeve fills the same height beside it with its words centred. Only if the sleeve's words
   need more room does the TV's screen grow to keep them level. */
@media (min-width: 761px) {
  .ar-tv .tv-screen { aspect-ratio: 16 / 10; flex: 1 0 auto; min-height: 0; }
  .ar-tv .tv-bezel { flex-direction: column; }
}
.ar-sleeve { gap: clamp(20px, 6cqi, 56px); grid-template-columns: clamp(96px, 26cqi, 200px) minmax(0, 1fr); align-content: center; padding-bottom: clamp(16px, 3cqi, 26px); }
.ar-who h1 { font-size: clamp(28px, 7.5cqi, 56px); -webkit-text-stroke-width: clamp(5px, 1.2cqi, 8px); text-shadow: 0 4px 0 var(--choc); }
.ar-who p { margin: 6px 0 12px; }
.ar-links { gap: 6px; }
.ar-links .go { padding: 3px 11px; font-size: 12.5px; }
@container el (max-width: 560px) { .ar-sleeve { grid-template-columns: clamp(96px, 26cqi, 200px) minmax(0, 1fr); justify-items: stretch; } .ar-cover { width: auto; } }
@container el (max-width: 380px) { .ar-sleeve { grid-template-columns: 1fr; justify-items: start; } .ar-cover { width: 120px; } }
/* artist page TV dragged to a height: exactly that height, the screen fills whatever's left (videos keep their shape inside).
   The sleeve beside it always matches the row's height. */
@media (min-width: 761px) {
  .blk-artist_tv.fh > .blk-in { overflow: visible; }
  .blk-artist_tv.fh .ar-tv { height: 100%; overflow: visible; }
  .blk-artist_tv.fh .tvset { flex: 1 1 0; min-height: 0; }
  .blk-artist_tv.fh .tv-body { height: 100%; }
  .blk-artist_tv.fh .tv-screen { aspect-ratio: auto; flex: 1 1 0; min-height: 60px; }
  .blk-artist_sleeve > .blk-in { min-height: 0 !important; height: 100%; }
  .blk-artist_sleeve .ar-sleeve { height: 100%; overflow: hidden; }
}
@media (min-width: 761px) { .page-grid:has(.blk-artist_tv.fh) .blk-artist_sleeve > .blk-in { contain: size; } }
@media (min-width: 761px) {
  .blk-artist_tv.fh > .blk-in { min-height: 300px; }
  .blk-artist_tv.fh .tv-side { overflow: hidden; min-height: 0; }
  .blk-artist_tv.fh .tv-side .knob { flex: 0 1 auto; max-height: 40%; aspect-ratio: 1; height: auto; }
}
.blk.fh > .blk-in > .ar-tv { overflow: visible; }
/* the pair now always spans the same height: the sleeve just fills it (no more tricks) */
@media (min-width: 761px) {
  .page-grid:has(.blk-artist_tv.fh) .blk-artist_sleeve > .blk-in { contain: none; }
  .blk-artist_sleeve.fhmin > .blk-in { min-height: 0 !important; }
}
@media (min-width: 761px) {
  .blk-artist_tv.fh .tv-side { justify-content: center; gap: 8px; overflow: visible; }
  .blk-artist_tv.fh .tv-side .knob { width: clamp(24px, 70%, 40px); max-height: none; flex: none; }
}
/* artist page: the sleeve and the TV are separate boxes again — each takes exactly the height Ana drags it to */
@media (min-width: 761px) {
  .blk-artist_sleeve > .blk-in, .blk-artist_sleeve.fh > .blk-in { contain: none !important; }
  .blk-artist_sleeve.fh .ar-sleeve { height: 100%; overflow: hidden; }
  .blk-artist_sleeve:not(.fh) > .blk-in { height: auto; }
  .blk-artist_sleeve:not(.fh) .ar-sleeve { height: auto; }
}
/* an artist's row of pictures: six across, same size, framed like the art prints */
.ar-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 2cqi, 20px); }
.ar-row .ar-pic { position: relative; aspect-ratio: 1; padding: 0; border: 3px solid var(--choc); border-radius: 10px; overflow: hidden; background: var(--cream); box-shadow: 0 4px 0 var(--choc); cursor: zoom-in; transform: none; transition: transform .15s; }
.ar-row .ar-pic:hover { transform: translateY(-3px); }
.ar-row .ar-pic img { width: 100%; height: 100%; object-fit: cover; }
.ar-row .ar-pic.e-addpic { display: grid; place-content: center; justify-items: center; gap: 4px; border-style: dashed; box-shadow: none; color: var(--rasp-ink, var(--rasp)); cursor: pointer; }
.ar-row .ar-pic.e-addpic small { font: 800 11px "M PLUS Rounded 1c"; color: var(--choc-2); }
@container el (max-width: 700px) { .ar-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ar-row { grid-template-columns: repeat(var(--across, 6), minmax(0, 1fr)); }
@container el (max-width: 700px) { .ar-row { grid-template-columns: repeat(min(var(--across, 6), 3), minmax(0, 1fr)); } }
.ar-rowtools { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.ar-rowtools span { font: 800 12.5px "M PLUS Rounded 1c"; background: var(--cream); border: 2px solid var(--choc); border-radius: 999px; padding: 3px 12px; cursor: pointer; }
/* pictures never grow past a medium size: fewer across = bigger, but only up to ~240px; the row sits in the middle */
.ar-row { grid-template-columns: repeat(var(--across, 6), minmax(0, 240px)); justify-content: center; }
@container el (max-width: 700px) { .ar-row { grid-template-columns: repeat(min(var(--across, 6), 3), minmax(0, 1fr)); } }
/* an artist's pictures: record sleeves on a shelf you slide along (mockups/08-artist-pictures, option 4) */
.ar-slider { position: relative; background: var(--cream); border: 3px solid var(--choc); border-radius: 22px; box-shadow: 0 6px 0 var(--choc); padding-top: 24px; overflow: hidden; }
.ar-track { display: flex; gap: clamp(40px, 6cqi, 60px); padding: 4px clamp(56px, 8cqi, 80px) 6px clamp(20px, 3cqi, 30px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.ar-sp { position: relative; flex: 0 0 clamp(140px, 22cqi, 200px); aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: zoom-in; scroll-snap-align: start; }
.ar-sp img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border: 3px solid var(--choc); border-radius: 6px; box-shadow: 0 4px 0 var(--choc); background: #fff; transition: transform .25s; }
.ar-spdisc { position: absolute; top: 6%; left: 30%; width: 88%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(#2a1716 0 2px, #3a2220 2px 4px); border: 3px solid var(--choc); display: grid; place-items: center; transition: left .3s; }
.ar-spdisc::after { content: ""; width: 32%; aspect-ratio: 1; border-radius: 50%; background: var(--d, var(--rasp)); border: 3px solid var(--choc); }
.ar-sp:hover .ar-spdisc { left: 46%; }
.ar-sp:hover img { transform: translateY(-4px); }
.ar-sp.e-addpic { display: grid; place-content: center; justify-items: center; gap: 4px; border: 3px dashed var(--choc-2); border-radius: 6px; color: var(--rasp-ink, var(--rasp)); cursor: pointer; }
.ar-sp.e-addpic small { font: 800 11px "M PLUS Rounded 1c"; color: var(--choc-2); }
.ar-shelf { height: 18px; margin-top: 22px; background: var(--choc-2); border-top: 3px solid var(--choc); }
.ar-nav { position: absolute; z-index: 3; top: calc(50% - 20px); }
.ar-nav.l { left: 10px; } .ar-nav.r { right: 10px; }
.ar-nav:disabled { opacity: .35; }
.ar-track { padding-left: clamp(56px, 8cqi, 80px); scroll-padding-left: clamp(56px, 8cqi, 80px); }
/* a little empty space after the last sleeve (its record pokes out the side), so it never touches the edge */
.ar-track { padding-right: 0; }
.ar-track::after { content: ""; flex: 0 0 clamp(70px, 10cqi, 100px); }
/* sleeves sliding out of view fade away softly at the sides instead of being cut off by the border */
.ar-track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 44px, #000 calc(100% - 64px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 44px, #000 calc(100% - 64px), transparent 100%); }
.ar-nav { background: var(--cream); }
/* only whole sleeves on show: the shelf fits exactly --n sleeves (plus the record poking out of the last one),
   and sliding moves a whole page so nothing is ever cut off by the edge */
.ar-slider { container: shelf / inline-size; --n: 4; --g: 46px; --pl: 58px; }
@container shelf (max-width: 900px) { .ar-track { --n: 3; } }
@container shelf (max-width: 620px) { .ar-track { --n: 2; } }
@container shelf (max-width: 360px) { .ar-track { --n: 1; } }
.ar-track { -webkit-mask-image: none; mask-image: none; gap: var(--g); padding-left: var(--pl); padding-right: 0; scroll-padding-left: var(--pl); scroll-snap-type: x mandatory;
  --w: calc((100cqi - var(--pl) - 30px - (var(--n) - 1) * var(--g)) / (var(--n) + .2)); }
.ar-sp { flex: 0 0 var(--w); max-width: 220px; scroll-snap-align: start; }
.ar-track::after { flex: 0 0 calc(100cqi - var(--pl) - var(--w)); }
.ar-sp { max-width: none; }
@container shelf (min-width: 1150px) { .ar-track { --n: 5; } }
/* exact fit: each sleeve + its gap is one equal slot, so the next sleeve starts right at the edge (hidden) */
.ar-track { --w: calc((100cqi - var(--pl)) / (var(--n) * 1.25)); --g: calc(var(--w) * .25); gap: var(--g); }
.ar-track::after { flex: 0 0 calc(100cqi - var(--pl) - var(--w) - var(--g)); }
/* room on the right like on the left: the shelf's window stops before the border, and the › arrow sits in that space */
.ar-track { --r: 58px; margin-right: var(--r); --w: calc((100cqi - var(--pl) - var(--r)) / (var(--n) * 1.25)); }
.ar-track::after { flex: 0 0 calc(100cqi - var(--pl) - var(--r) - var(--w) - var(--g)); }
.ar-track { margin-right: calc(var(--r) + 6px); } .ar-track::after { flex-basis: calc(100cqi - var(--pl) - var(--r) - 6px - var(--w) - var(--g)); }
/* the shelf's window has edges on both sides (the arrows sit outside it), so a sleeve sliding away disappears cleanly */
.ar-track { --win: calc(100cqi - var(--pl) - var(--r) - 6px); margin-left: var(--pl); padding-left: 0; scroll-padding-left: 0; --w: calc(var(--win) / (var(--n) * 1.25)); }
.ar-track::after { flex-basis: calc(var(--win) - var(--w) - var(--g)); }
/* even space both sides: the gap from the border to the first sleeve = the gap from the last record (sticking out of
   its sleeve) to the border */
.ar-track { --w: calc((100cqi - 2 * var(--pl)) / (var(--n) * 1.25 - .07)); --r: calc(var(--pl) - 6px - var(--w) * .07); --win: calc(100cqi - var(--pl) - var(--r) - 6px); }
/* shelf, take three: room above the sleeves so a lifted one isn't clipped; hovering spins the record a little
   (instead of sliding it out past the shelf's edge); bigger arrows, centred on the sleeves */
.ar-track { padding-top: 12px; padding-bottom: 6px; scroll-snap-type: none; scroll-behavior: auto; }
.ar-sp:hover .ar-spdisc { left: 30%; transform: rotate(40deg); }
.ar-spdisc { transition: transform .6s cubic-bezier(.3,.7,.3,1); background: conic-gradient(from 20deg, rgba(255,255,255,.14) 0 8%, transparent 8% 50%, rgba(255,255,255,.1) 50% 56%, transparent 56%), repeating-radial-gradient(#2a1716 0 2px, #3a2220 2px 4px); }
.ar-sp:hover img { transform: translateY(-6px) rotate(-1deg); }
.ar-nav { top: 24px; bottom: 43px; margin: auto 0; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--choc); background: var(--cream); color: var(--choc); font: 900 22px/1 "M PLUS Rounded 1c"; box-shadow: 0 3px 0 var(--choc); display: grid; place-items: center; padding: 0 0 2px; }
.ar-nav:hover:not(:disabled) { background: var(--rasp); color: var(--on-rasp, var(--choc)); }
.ar-nav:disabled { opacity: .3; box-shadow: none; }
.ar-nav.l { left: calc((var(--pl, 58px) - 44px) / 2); } .ar-nav.r { right: calc((var(--pl, 58px) - 44px) / 2); }
/* what they've put out: a long list scrolls inside its box instead of making the page very long
   (drag the box's height in the editor to choose exactly how tall) */
.blk-artist_releases:not(.fh) .ar-out .body { max-height: 640px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--choc-2) transparent; }
.blk.fh > .blk-in > .ar-out { height: 100%; overflow: hidden; }
.blk.fh .ar-out .body { flex: 1 1 0; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--choc-2) transparent; }

/* the lyric sheet: a page of lined paper taped up, the song's title, a few lines of its words, and a little record to play a bit */
.ar-lyrics { position: relative; height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 30px clamp(22px, 5cqi, 40px) 24px clamp(48px, 9cqi, 64px); border: 3px solid var(--choc); border-radius: 8px 8px 18px 18px; box-shadow: 0 6px 0 var(--choc);
  background: linear-gradient(90deg, transparent calc(clamp(48px, 9cqi, 64px) - 16px), color-mix(in srgb, var(--rasp-ink, var(--rasp)) 40%, transparent) calc(clamp(48px, 9cqi, 64px) - 16px) calc(clamp(48px, 9cqi, 64px) - 14px), transparent 0), repeating-linear-gradient(transparent 0 31px, rgba(80,49,47,.13) 31px 33px), #fffaf3; }
.ar-lyrics::before { content: ""; position: absolute; top: -13px; left: 50%; width: 96px; height: 24px; margin-left: -48px; background: color-mix(in srgb, var(--rasp) 80%, transparent); border: 2px solid rgba(80,49,47,.3); transform: rotate(-3deg); }
.ar-lyr-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ar-lyr-pick { font: 800 12px "M PLUS Rounded 1c"; background: var(--cream); border: 2px solid var(--choc); border-radius: 999px; padding: 2px 10px; cursor: pointer; }
.ar-lyr-title { margin: 0; font: italic 900 clamp(26px, 6cqi, 40px)/1.05 "Fraunces", serif; color: var(--choc); }
.ar-lyr-lines { margin: 4px 0 0; padding: 0; font: italic 800 clamp(16px, 3.4cqi, 20px)/33px "Fraunces", serif; color: var(--choc-2); min-height: 66px; }
.ar-lyr-lines span { display: block; }
.ar-lyr-lines:empty::before { content: attr(data-ph); opacity: .5; }
.ar-lyr-foot { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 8px; }
.ar-lyr-foot small { font: 800 12.5px "M PLUS Rounded 1c"; color: var(--choc-2); }
.ar-lyr-play { position: relative; width: 58px; height: 58px; padding: 0; border: 0; background: none; cursor: pointer; flex: none; }
.ar-lyr-disc { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--choc); background: conic-gradient(from 20deg, rgba(255,255,255,.14) 0 8%, transparent 8% 50%, rgba(255,255,255,.1) 50% 56%, transparent 56%), repeating-radial-gradient(#2a1716 0 2px, #3a2220 2px 4px); box-shadow: 0 3px 0 var(--choc); }
.ar-lyr-play b { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; display: grid; place-items: center; background: var(--rasp); color: var(--on-rasp, var(--choc)); border: 2px solid var(--choc); }
.ar-lyr-play b svg { width: 11px; height: 11px; }
.ar-lyr-play.on .ar-lyr-disc { animation: spin 2.4s linear infinite; }
.ar-lyr-play.on { animation: none; transform: none; background: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ar-lyr-play.on .ar-lyr-disc { animation: none; } }
/* lyrics scroll inside the sheet: more words never make the box bigger (5 lines show unless the box is dragged taller) */
.ar-lyr-lines { flex: 0 1 auto; max-height: calc(33px * 5); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--choc-2) transparent; padding-right: 6px; }
.blk.fh > .blk-in > .ar-lyrics { height: 100%; overflow: hidden; }
.blk.fh .ar-lyr-lines { flex: 1 1 0; min-height: 66px; max-height: none; }
/* a soft fade at the edge where there is more to scroll to (it goes away when you reach the end) */
.ar-lyr-lines.more-below { -webkit-mask-image: linear-gradient(#000 calc(100% - 46px), transparent); mask-image: linear-gradient(#000 calc(100% - 46px), transparent); }
.ar-lyr-lines.more-above { -webkit-mask-image: linear-gradient(transparent, #000 34px); mask-image: linear-gradient(transparent, #000 34px); }
.ar-lyr-lines.more-above.more-below { -webkit-mask-image: linear-gradient(transparent, #000 34px, #000 calc(100% - 46px), transparent); mask-image: linear-gradient(transparent, #000 34px, #000 calc(100% - 46px), transparent); }

/* ======================= an app's own page (mockups/09-app-page, option B) ======================= */
.ad-pagebtn { background: var(--choc) !important; color: var(--cream) !important; }
/* tall column of screenshots, scrolling down */
.ap-phones { height: 100%; min-height: 520px; max-height: 820px; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 0; background: var(--choc-2); border: 3px solid var(--choc); border-radius: 24px; box-shadow: 0 6px 0 var(--choc); overflow: hidden; }
.ap-phones .wl-k { color: var(--cream); }
.ap-phonelist { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; gap: 22px; overflow-y: auto; padding: 4px 4px 22px; scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
.ap-ph { flex: none; width: 100%; aspect-ratio: 9 / 19; padding: 7px; border-radius: 26px; border: 4px solid var(--choc); background: #2a1716; box-shadow: 0 5px 0 var(--choc); cursor: zoom-in; overflow: hidden; }
.ap-ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.ap-ph-soon { display: grid; place-items: center; background: repeating-linear-gradient(-45deg, #3a2220 0 12px, #2a1716 12px 24px); cursor: default; }
.ap-ph.e-addpic { display: grid; place-content: center; justify-items: center; gap: 4px; aspect-ratio: 9 / 8; border-style: dashed; background: none; color: var(--cream); cursor: pointer; }
.ap-ph.e-addpic small { font: 800 11px "M PLUS Rounded 1c"; color: var(--cream); }
/* the app itself */
.ap-main { position: relative; height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 28px 28px; border: 3px solid var(--choc); border-radius: 22px; box-shadow: 0 6px 0 var(--choc);
  background: repeating-linear-gradient(90deg, rgba(80,49,47,.04) 0 26px, transparent 26px 52px), var(--mint-pale, var(--pink-pale)); }
.ap-main .back-pill { margin: 0 0 6px; }
.ap-icon { width: clamp(90px, 20cqi, 130px); border-radius: 30px; }
.ap-main h1 { margin: 2px 0 0; font: italic 900 clamp(36px, 8cqi, 52px)/1 "Fraunces", serif; color: var(--cream); -webkit-text-stroke: 7px var(--choc); paint-order: stroke fill; text-shadow: 0 5px 0 var(--choc); }
.ap-main p { margin: 4px 0 0; font: 700 16px/1.55 "Nunito"; max-width: 480px; }
/* its log: the coding-log terminal, just for this app */
.ap-log { height: 100%; }
.blk.fh > .blk-in > .ap-log { overflow: hidden; } .blk.fh .ap-log .ad-termin { flex: 1 1 0; min-height: 0; overflow-y: auto; }
/* what's new + the buttons */
.ap-side { display: flex; flex-direction: column; gap: 26px; }
.ap-new { position: relative; padding: 34px 22px 20px; background: #fffaf3; border: 3px solid var(--choc); border-radius: 8px 8px 18px 18px; box-shadow: 0 6px 0 var(--choc); transform: rotate(-2deg); }
.ap-new::before { content: ""; position: absolute; top: -13px; left: 50%; width: 90px; height: 24px; margin-left: -45px; background: color-mix(in srgb, var(--mint, var(--pink)) 85%, transparent); border: 2px solid rgba(80,49,47,.3); transform: rotate(-3deg); }
.ap-new h3 { margin: 2px 0 10px; font: italic 900 24px "Fraunces", serif; } .ap-new h3 small { margin-left: 8px; font: 800 12px "M PLUS Rounded 1c"; color: var(--choc-2); }
.ap-new ul { margin: 0; padding: 0; list-style: none; min-height: 24px; }
.ap-new li { display: flex; gap: 10px; padding: 6px 0; border-bottom: 2px dashed rgba(80,49,47,.15); font-weight: 700; line-height: 1.4; }
.ap-new li::before { content: "♥"; color: var(--rasp-ink, var(--rasp)); }
.ap-new ul:empty::before { content: attr(data-ph); opacity: .5; }
.ap-btns { display: grid; gap: 12px; }
.ap-btns a, .ap-wait { display: block; text-align: center; font: 800 15px "M PLUS Rounded 1c"; padding: 12px; border-radius: 16px; border: 3px solid var(--choc); box-shadow: 0 4px 0 var(--choc); text-decoration: none; color: var(--choc); }
.ap-store { background: var(--rasp); color: var(--on-rasp, var(--choc)) !important; } .ap-site { background: var(--cream); } .ap-wait { background: var(--cream-2); color: var(--choc-2); box-shadow: none; border-style: dashed; }
@media (max-width: 760px) {
  .page-grid > .blk-app_main { order: 1; } .page-grid > .blk-app_side { order: 2; } .page-grid > .blk-app_phones { order: 3; } .page-grid > .blk-app_log { order: 4; }
  .ap-phones { min-height: 0; max-height: none; height: auto; padding-bottom: 14px; }
  .ap-phonelist { flex-direction: row; overflow-x: auto; overflow-y: hidden; padding-bottom: 8px; }
  .ap-ph { width: 150px; }
}
@media (max-width: 760px) { .ap-phonelist { flex: none; } .ap-ph { flex: 0 0 150px; } }
.ad-win[data-go] { cursor: pointer; } .editing .ad-win[data-go] { cursor: auto; }

/* music credits: the fine print on the back of a CD */
.mcr { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 4px 6px; color: var(--choc); }
.mcr p { margin: 0; max-width: 640px; text-align: center; font: 700 12.5px/1.5 "M PLUS Rounded 1c"; letter-spacing: .04em; opacity: .75; }
.mcr-bars { flex: none; width: 46px; height: 16px; opacity: .55; background: repeating-linear-gradient(90deg, var(--choc) 0 2px, transparent 2px 4px, var(--choc) 4px 5px, transparent 5px 8px, var(--choc) 8px 11px, transparent 11px 13px); }
@media (max-width: 760px) { .mcr { gap: 8px; } .mcr-bars { width: 22px; } .mcr p { font-size: 11.5px; } }
/* a thin line of text has no box edge, so drop the usual space under it or the page bottom looks too big */
.page-grid > .blk-music_credits { padding-bottom: 0; }

/* about page: no little picture in the header (the big drawing is the only one), so the bubble and buttons take the whole width */
.ac-head.solo, .ac-mini .ac-head.solo { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) { .ac-head.solo .ac-bubble { grid-column: 1; } }
.ac-head.solo .ac-bubble::before { display: none; }
