/* Rowan-TV: Rowan Allcorn's portfolio as a 2000s kids' TV channel you can touch.
   A fuzzy tufted remote for a header, the games as shows (each with its own set and a toy to play with), Art inside a
   paint program made into a plastic object, Design on a shareware desktop, Info as a room to click around.
   Brand colours from the old site: title blue, yellow, red, sky-blue, butter; outlines in near-black ink. */

:root {
  --ink: #2b2626;
  --title: #286d95;
  --yellow: #fcc308;
  --red: #f5585c;
  --sky: #54a8ee;
  --butter: #ffde5f;
  --orange: #ff8a2b;
  --green: #8fd14f;
  --teal: #2ec4b6;
  --purple: #7a4fd6;
  --pink: #ff8fc8;
  --cream: #fff8ea;
  --text: #333c3c;
  --display: 'Chelsea Market', 'Comic Sans MS', cursive;
  --chunky: 'Lilita One', 'Arial Black', sans-serif;
  --pixel: 'Silkscreen', 'Courier New', monospace;
  --body: 'Open Sans', system-ui, sans-serif;
  /* tufted yarn: tiny loops in rows, laid over whatever colour sits underneath */
  --yarn: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .28) 0 1.4px, transparent 2px) 0 0 / 6px 6px,
          radial-gradient(circle at 50% 50%, rgba(0, 0, 0, .14) 0 1.6px, transparent 2.2px) 3px 3px / 6px 6px;
  --static: url('../media/fx-static.webp');
  /* the cursor is a fuzzy rug of a cursor */
  --cur: url('cursor.png') 3 2, auto;
  --cur-hand: url('cursor-hand.png') 3 2, pointer;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; color: var(--text); font: 15.5px/1.6 var(--body); overflow-x: clip; min-height: 100vh; display: flex; flex-direction: column; cursor: var(--cur); background: #1b1430; }
main { flex: 1; }
a, button, summary, [role="button"], .lb, .thumb, label { cursor: var(--cur-hand); }
a { color: var(--title); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-weight: normal; margin: 0; }
p { margin: 0 0 12px; }
[hidden] { display: none !important; }
.fx { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 10px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; font: 15px var(--chunky); transition: top .2s; }
.skip:focus { top: 10px; }
:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

/* ================================================================ the remote: a tufted rug with four channel keys */
.remote { position: relative; z-index: 30; padding: 22px 18px 6px; }
.rug { position: relative; isolation: isolate; max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 18px 34px 20px; }
.rug::before, .rug::after { content: ''; position: absolute; z-index: -1; pointer-events: none; }
.rug::before { inset: 0; border-radius: 46px 38px 44px 40px; background: var(--yarn), var(--yellow); filter: url(#fuzz) drop-shadow(0 7px 0 #c48f00) drop-shadow(0 14px 16px rgba(0, 0, 0, .35)); }
.rug::after { inset: 11px; border-radius: 36px; border: 7px solid var(--red); filter: url(#fuzz); opacity: .9; }
.me { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.headshot { width: 88px; aspect-ratio: 1; flex: none; filter: drop-shadow(0 0 0 #fff) drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 4px 4px rgba(0, 0, 0, .3)); transition: rotate .4s cubic-bezier(.3, 1.6, .5, 1); }
.headshot img { width: 100%; height: 100%; object-fit: cover; -webkit-mask: url('flower.svg') center / contain no-repeat; mask: url('flower.svg') center / contain no-repeat; }
.me:hover .headshot { rotate: -14deg; }
.who { display: flex; flex-direction: column; }
.name { font: 38px/1 var(--display); color: var(--title); text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 0 5px 0 rgba(0, 0, 0, .15); }
.tagline { width: fit-content; font: 19px/1.3 var(--display); margin-top: 6px; padding: 3px 12px 2px; background: #fff; border: 3px solid var(--ink); border-radius: 20px; rotate: -2deg; }
.tagline .y { color: #d99a00; } .tagline .r { color: #e2363b; }
/* remote keys in the four colours every remote has: red, blue, green, yellow */
.channels { display: flex; gap: 12px; }
.ch { --k: var(--red); --kd: #b8282d; position: relative; display: grid; place-items: center; align-content: center; width: 98px; height: 66px; padding-top: 2px; text-decoration: none; color: #fff; border: 4px solid var(--ink); border-radius: 16px 16px 22px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .35), transparent 45%), var(--k); box-shadow: 0 7px 0 var(--ink), inset 0 -5px 0 var(--kd); transition: translate .12s, box-shadow .12s; }
.ch:nth-child(2) { --k: var(--sky); --kd: #2a7cc4; } .ch:nth-child(3) { --k: var(--green); --kd: #5e9e27; } .ch:nth-child(4) { --k: var(--butter); --kd: #e0ae00; color: var(--ink); }
/* the Clippings key: black, with its name in cut-out letters */
.ch.clip { --k: #f1ead8; --kd: #ddd4bd; color: #1d1a1a; width: 128px; }
.ch.clip span { text-shadow: none; }
.ch.clip:hover .clip-word .cut i { animation: jitter .25s steps(2) 2; }
@keyframes jitter { 50% { translate: 0 -2px; rotate: calc((var(--n) * 53 % 9 - 4) * 3deg); } }
.ch.clip::after { background: #5b1d1d; }
.clip-chan { display: grid; place-items: center; background: radial-gradient(circle, rgba(29, 26, 26, .12) 1px, transparent 1.5px) 0 0 / 7px 7px, #f1ead8; }
.clip-card { text-align: center; color: #1d1a1a; }
.clip-card .clip-word { font-size: clamp(30px, 6vw, 64px); }
.clip-card p { margin: 14px 0 0; font: clamp(11px, 1.6vw, 15px) var(--pixel); }
.guide li.late a { background: #1c1a1a; color: #f5e6c8; margin-top: 6px; }
.guide li.late a:hover { background: #3a0d0d; }
.guide li.late time { background: #c0262d; }
.guide li.late small { color: #c9b9a0; }
.ch small { font: 11px/1 var(--pixel); opacity: .85; letter-spacing: .05em; }
.ch span { font: 21px/1.1 var(--chunky); letter-spacing: .02em; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.ch:nth-child(4) span { text-shadow: 0 2px 0 rgba(255, 255, 255, .5); }
.ch:hover { translate: 0 -3px; box-shadow: 0 10px 0 var(--ink), inset 0 -5px 0 var(--kd); }
.ch:hover span { animation: squish .45s cubic-bezier(.3, 1.6, .5, 1); }
.ch:active, .ch[aria-current] { translate: 0 5px; box-shadow: 0 2px 0 var(--ink), inset 0 4px 0 var(--kd); }
/* the key you're on has its little light lit */
.ch::after { content: ''; position: absolute; top: -12px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #5b1d1d; border: 2px solid var(--ink); }
.ch[aria-current]::after { background: #ff3b30; box-shadow: 0 0 8px 3px rgba(255, 59, 48, .8); animation: blink 1.6s steps(1) infinite; }
@keyframes squish { 30% { transform: scale(1.25, .8); } 60% { transform: scale(.9, 1.12); } }
@keyframes blink { 50% { opacity: .35; } }

/* ================================================================ the credits (footer) */
.credits { position: relative; z-index: 5; background: #141218; color: #e9e4f5; }
.bars { display: flex; height: 16px; }
.bars i, .bars-big i { flex: 1; }
.bars i:nth-child(1), .bars-big i:nth-child(1) { background: #c0c0c0; } .bars i:nth-child(2), .bars-big i:nth-child(2) { background: #f6e300; }
.bars i:nth-child(3), .bars-big i:nth-child(3) { background: #00e5e5; } .bars i:nth-child(4), .bars-big i:nth-child(4) { background: #10d010; }
.bars i:nth-child(5), .bars-big i:nth-child(5) { background: #e010e0; } .bars i:nth-child(6), .bars-big i:nth-child(6) { background: #e81818; }
.bars i:nth-child(7), .bars-big i:nth-child(7) { background: #1028e8; }
.credits-in { max-width: 1180px; margin: 0 auto; padding: 22px 20px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font: 14px var(--pixel); }
.credits-in p { margin: 0; }
.credits a { color: var(--butter); }
.social { display: flex; gap: 12px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; transition: translate .15s, background .15s; }
.social a:hover { translate: 0 -3px; background: var(--butter); }
.social svg { width: 20px; height: 20px; fill: #141218; }

/* ================================================================ chunky buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; align-items: center; }
.btn { --b: var(--yellow); --f: var(--ink); display: inline-flex; align-items: center; gap: 8px; font: 18px/1 var(--chunky); letter-spacing: .02em; padding: 11px 20px 10px; border-radius: 14px; border: 4px solid var(--ink); background: linear-gradient(180deg, rgba(255, 255, 255, .45), transparent 50%), var(--b); color: var(--f);
  text-decoration: none; box-shadow: 0 6px 0 var(--ink); transition: translate .12s, box-shadow .12s; font-family: var(--chunky); }
.btn:hover { translate: 0 -2px; box-shadow: 0 8px 0 var(--ink); }
.btn:active { translate: 0 5px; box-shadow: 0 1px 0 var(--ink); }
.btn.play { --b: var(--green); }
.btn.play::after { content: '▶'; font-size: 13px; }
.btn.alt { --b: #fff; }
.btn.go { --b: var(--sky); --f: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
button.btn { font-size: 18px; }

/* ================================================================ media box, galleries, lightbox, butterflies */
.viewer { grid-area: media; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.viewer .stage, .viewer .yt { display: block; aspect-ratio: 16 / 9; border: 4px solid var(--ink); border-radius: 12px; background: #222 center / cover; overflow: hidden; position: relative; }
.viewer .stage img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.viewer .stage:hover img { transform: scale(1.04); }
.yt { display: grid !important; place-items: center; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { all: unset; cursor: var(--cur-hand); width: 78px; height: 78px; border-radius: 50%; background: var(--red); border: 4px solid var(--ink); box-shadow: 0 6px 0 var(--ink); color: #fff; font-size: 28px; display: grid; place-items: center; padding-left: 5px; box-sizing: border-box; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.yt-play:hover { transform: scale(1.12) rotate(-6deg); }
.thumbs { display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px; align-items: stretch; background: var(--ink); border-radius: 12px; }
.track { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0; }
.track::-webkit-scrollbar { display: none; }
.thumb { all: unset; cursor: var(--cur-hand); flex: 0 0 calc((100% - 12px) / 3); scroll-snap-align: start; aspect-ratio: 4 / 3; box-sizing: border-box; outline-offset: -3px; border-radius: 6px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .15s; }
.thumb:hover img, .thumb.on img { opacity: 1; }
.thumb.on { outline: 3px solid var(--yellow); }
.arrow { all: unset; cursor: var(--cur-hand); color: #fff; font: 30px/1 var(--body); display: grid; place-items: center; }
.arrow:hover { color: var(--yellow); }

/* justified galleries: each picture grows in proportion to its shape (--r), so rows come out even, edge to edge */
.gallery { display: flex; flex-wrap: wrap; gap: 12px; }
.gallery::after { content: ''; flex-grow: 1000000; }
.gallery .lb { position: relative; display: block; flex: calc(var(--r, 1) * 100) 1 calc(var(--r, 1) * 200px); aspect-ratio: var(--r, 1); border-radius: 6px; overflow: hidden; background: #eee; border: 3px solid var(--ink); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(.2, .8, .3, 1); }
.gallery .lb:hover img { transform: scale(1.06); }
.cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font: 14px/1.4 var(--body); background: linear-gradient(transparent, rgba(20, 18, 30, .85));
  opacity: 0; translate: 0 8px; transition: opacity .25s, translate .3s cubic-bezier(.3, 1.4, .5, 1); pointer-events: none; }
.cap b { display: block; font: 17px var(--display); font-weight: normal; color: var(--butter); }
.lb:hover .cap, .lb:focus-visible .cap { opacity: 1; translate: 0 0; }
@media (hover: none) { .cap { opacity: 1; translate: none; padding: 18px 10px 8px; } .cap span { display: none; } .cap b { font-size: 13px; } }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(16, 12, 28, .92); display: grid; place-items: center; padding: 30px 80px; animation: lb-in .2s ease; }
.lightbox::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0 3px, rgba(255, 255, 255, .025) 3px 4px); pointer-events: none; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 8px; border: 4px solid #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); background: #fff; animation: lb-pic .3s cubic-bezier(.2, .9, .3, 1.1); }
@keyframes lb-pic { from { opacity: 0; transform: scale(.94); } }
.lightbox figcaption { color: #fff; text-align: center; max-width: 640px; font: 15px/1.5 var(--body); }
.lightbox figcaption b { display: block; font: 22px var(--display); font-weight: normal; color: var(--butter); }
.lightbox figcaption b:empty { display: none; }
.lb-count { position: absolute; left: 20px; top: 20px; color: #8dff8d; font: 16px var(--pixel); text-shadow: 0 0 8px rgba(80, 255, 80, .6); }
.lightbox button { all: unset; position: absolute; cursor: var(--cur-hand); color: #fff; font: 46px/1 var(--body); width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; transition: background .15s; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255, 255, 255, .15); }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox button[hidden] { display: none; }
.lightbox .lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: 12px; top: 50%; translate: 0 -50%; }
@media (max-width: 600px) { .lightbox { padding: 60px 10px 70px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 8px; translate: none; } }

/* butterflies cut out of real specimen photos: wings fold up over the body in 3D and open again */
.bfly { position: absolute; z-index: 6; perspective: 520px; transition: translate .9s cubic-bezier(.3, .8, .3, 1), scale .9s; }
.bfly .perch { position: absolute; inset: 0; transform-style: preserve-3d; }
.bfly img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bfly .body { transform: translateZ(1.5px); }
.bfly .wing { transform-origin: 50% 50%; --s: 1; animation: fold 3.4s ease-in-out infinite; }
.bfly .wing.r { --s: -1; animation-delay: .05s; }
@keyframes fold { 0%, 10% { transform: rotateY(0deg); } 30% { transform: rotateY(calc(var(--s) * 84deg)); } 50%, 62% { transform: rotateY(0deg); } 76% { transform: rotateY(calc(var(--s) * 70deg)); } 94%, 100% { transform: rotateY(0deg); } }
.bfly.spooked { translate: var(--fx, 0) var(--fy, -40px); scale: 1.08; transition: translate .45s cubic-bezier(.2, .9, .3, 1), scale .45s; }
.bfly.spooked .wing { animation-duration: .38s; }

/* ================================================================ GAMES: the living room */
body.games { background: #3d6b2a; }
.living { position: relative; max-width: 1200px; margin: 0 auto; padding: 70px 20px 120px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr); gap: 50px; align-items: center; }
/* the floor and a round tufted rug under the TV */
.living::before { content: ''; position: absolute; left: 50%; top: -220px; bottom: 0; width: 100vw; translate: -50% 0; z-index: -2;
  background: linear-gradient(transparent 70%, rgba(20, 30, 10, .25)), url('../media/bg-cornfield.webp') center 78% / cover; }
/* the bees from the old cornfield, buzzing about the field */
.bee { position: absolute; z-index: 4; width: 92px; animation: hover 6s ease-in-out infinite alternate; }
.bee img { width: 100%; animation: buzz .12s linear infinite alternate; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)) drop-shadow(0 14px 10px rgba(0, 0, 0, .4)); transition: transform .9s cubic-bezier(.3, .9, .3, 1); }
.bee.b0 { left: 2%; top: 20px; } .bee.b0 img { scale: -1 1; }
.bee.b1 { right: 1%; bottom: 60px; width: 76px; animation-delay: -3s; }
@keyframes buzz { from { translate: 0 0; } to { translate: .6px -1px; } }
@keyframes hover { 0% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(40px, -24px) rotate(6deg); } 100% { transform: translate(-20px, 16px) rotate(-2deg); } }

.tv-wrap { position: relative; padding-top: 110px; }
.tv { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 20px; padding: 24px; border: 5px solid var(--ink); border-radius: 34px;
  background: repeating-linear-gradient(92deg, rgba(0, 0, 0, .08) 0 3px, transparent 3px 11px), linear-gradient(#a06a3c, #7a4a26); box-shadow: inset 0 0 0 7px rgba(255, 255, 255, .12), inset 0 -10px 0 rgba(0, 0, 0, .2), 0 14px 0 var(--ink), 0 30px 40px rgba(0, 0, 0, .35); }
.antenna { position: absolute; left: 48%; bottom: 100%; width: 0; height: 0; }
.antenna::before { content: ''; position: absolute; left: -36px; bottom: -8px; width: 72px; height: 30px; border-radius: 40px 40px 6px 6px; background: #3b3f45; border: 4px solid var(--ink); }
.antenna i { position: absolute; bottom: 14px; left: -2px; width: 6px; height: 120px; background: #9aa3a8; border: 2px solid var(--ink); border-radius: 3px; transform-origin: 50% 100%; rotate: -28deg; animation: wiggle-l 4s ease-in-out infinite; }
.antenna i + i { rotate: 32deg; animation-name: wiggle-r; }
.antenna i::after { content: ''; position: absolute; top: -10px; left: -6px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 3px solid var(--ink); }
@keyframes wiggle-l { 50% { rotate: -22deg; } } @keyframes wiggle-r { 50% { rotate: 38deg; } }
.tv .perched { left: auto; right: 12%; top: -76px; width: 170px; aspect-ratio: 700 / 467; rotate: 8deg; z-index: 3; }
.tv .perched .wing { animation-duration: 6.5s; }
.tv .perched:hover .wing { animation-duration: .9s; }
.screen { position: relative; aspect-ratio: 4 / 3; border-radius: 46px / 38px; overflow: hidden; background: #0c0c10; border: 7px solid var(--ink); box-shadow: 0 0 0 6px #4a3a2e; }
.chan { position: absolute; inset: 0; opacity: 0; transition: opacity .05s; }
.chan.on { opacity: 1; }
.chan img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.25) contrast(1.08); }
.chan.on img { animation: zoomy 7s ease-out both; }
@keyframes zoomy { from { transform: scale(1.12); } }
.static { position: absolute; inset: 0; background: var(--static) 0 0 / 160px; opacity: 0; pointer-events: none; animation: snow .24s steps(4) infinite; }
.screen.flip .static { opacity: 1; }
@keyframes snow { 0% { background-position: 0 0; } 25% { background-position: -53px 31px; } 50% { background-position: -97px -22px; } 75% { background-position: 37px -71px; } 100% { background-position: 0 0; } }
.glass { position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .28), transparent 40%), repeating-linear-gradient(transparent 0 2px, rgba(0, 0, 0, .18) 2px 4px), radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .55)); }
.osd { position: absolute; top: 18px; right: 26px; font: 26px var(--pixel); color: #6dff6d; text-shadow: 0 0 8px rgba(80, 255, 80, .8), 2px 2px 0 #063; z-index: 2; }
.tv-title { position: absolute; left: 22px; bottom: 26px; z-index: 2; text-decoration: none; padding: 8px 18px 6px; background: var(--yellow); border: 4px solid var(--ink); border-radius: 10px; rotate: -3deg; box-shadow: 0 5px 0 var(--ink); transition: rotate .2s; }
.tv-title span { font: 30px/1 var(--chunky); color: var(--ink); }
.tv-title::after { content: ' ▶'; font: 16px var(--chunky); color: var(--ink); }
.tv-title:hover { rotate: 2deg; }
.screen.flip .tv-title { animation: pop .4s cubic-bezier(.3, 1.6, .5, 1) .2s both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.tv-panel { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 16px 0; border-radius: 16px; background: rgba(0, 0, 0, .18); border: 3px solid rgba(0, 0, 0, .3); }
.knob { all: unset; cursor: var(--cur-hand); width: 64px; height: 64px; border-radius: 50%; border: 4px solid var(--ink); background: conic-gradient(from 0deg, #d8d2c4 0 10deg, #9e978a 10deg 20deg) , #c9c2b3; box-shadow: 0 5px 0 var(--ink); position: relative; transition: rotate .3s cubic-bezier(.3, 1.5, .5, 1); }
.knob::after { content: ''; position: absolute; left: 50%; top: 5px; width: 6px; height: 20px; margin-left: -3px; background: var(--red); border-radius: 3px; border: 2px solid var(--ink); }
.knob { background: repeating-conic-gradient(#d8d2c4 0 8deg, #b5ae9f 8deg 16deg); }
.knob:hover { scale: 1.06; }
.knob:focus-visible { outline: 4px solid var(--yellow); }
.grille { width: 70px; height: 90px; border-radius: 10px; background: repeating-linear-gradient(transparent 0 6px, var(--ink) 6px 10px); opacity: .7; }
.power { width: 14px; height: 14px; border-radius: 50%; background: #ff3b30; border: 3px solid var(--ink); box-shadow: 0 0 10px 3px rgba(255, 59, 48, .7); animation: blink 2.4s steps(1) infinite; }

/* the program guide, a paper magazine */
.guide { position: relative; background: var(--cream); border: 5px solid var(--ink); border-radius: 6px; padding: 0 0 18px; rotate: 2deg; box-shadow: 12px 14px 0 rgba(0, 0, 0, .28); }
.guide::after { content: ''; position: absolute; right: -5px; top: -5px; width: 46px; height: 46px; background: linear-gradient(225deg, #6b3fc4 0 50%, #e8dcc0 50%); border-left: 4px solid var(--ink); border-bottom: 4px solid var(--ink); }
.guide h2 { background: var(--red); color: #fff; padding: 14px 20px 12px; font: 34px/1 var(--display); border-bottom: 5px solid var(--ink); text-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.guide h2 small { display: block; font: 12px var(--pixel); color: var(--butter); margin-bottom: 6px; text-shadow: none; }
.guide ol { list-style: none; margin: 0; padding: 8px 12px 0; }
.guide li + li { border-top: 2px dashed rgba(43, 38, 38, .3); }
.guide a { display: grid; grid-template-columns: 58px 1fr; gap: 0 12px; align-items: center; padding: 10px 8px; text-decoration: none; color: var(--ink); border-radius: 8px; transition: background .15s, translate .15s; }
.guide a:hover { background: var(--butter); translate: 4px 0; }
.guide time { grid-row: span 2; font: 14px var(--pixel); background: var(--ink); color: #fff; padding: 6px 0; text-align: center; border-radius: 6px; }
.guide li:first-child time { background: #ff3b30; }
.guide b { font: 20px/1.1 var(--chunky); font-weight: normal; }
.guide small { font-size: 13px; color: #6a5f5f; }
.guide-foot { margin: 12px 20px 0; font: 12px var(--pixel); color: #8a7f7f; }

/* ================================================================ GAMES: every show */
.show { position: relative; isolation: isolate; overflow: hidden; padding: 120px 20px 120px; border-top: 6px solid var(--ink); }
.set { position: absolute; inset: 0; z-index: -1; }
.set .photo { position: absolute; inset: -40px 0; background: center / cover; transform: translateY(calc(var(--p, 0) * 40px)); }
.bump { position: absolute; z-index: 3; top: 24px; left: 0; right: 0; display: flex; align-items: center; gap: 14px; padding: 0 4vw; font: 14px var(--pixel); color: #fff; pointer-events: none; }
.bump-ch { background: var(--ink); color: #6dff6d; padding: 5px 10px; border-radius: 6px; text-shadow: 0 0 6px rgba(80, 255, 80, .7); }
.bump-txt { background: #ff3b30; padding: 5px 10px; border-radius: 6px; border: 3px solid var(--ink); }
.bump-line { flex: 1; height: 4px; background: repeating-linear-gradient(90deg, #fff 0 14px, transparent 14px 24px); opacity: .7; }
.ep { position: relative; max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "head media" "text media"; align-items: start; gap: 6px 38px; }
.ep-head { grid-area: head; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.ep-text { grid-area: text; }
.ep-title { font: 44px/1.05 var(--display); }
.yr { font: 15px var(--pixel); background: var(--ink); color: #fff; padding: 4px 9px; border-radius: 6px; }
.role { font-size: 14px; }
/* the moment a show tunes in: a burst of static over it */
.burst { position: absolute; inset: 0; z-index: 8; background: var(--static) 0 0 / 160px, #777; opacity: 0; pointer-events: none; animation: snow .24s steps(4) infinite; }
.show.tuned .burst { animation: snow .24s steps(4) infinite, tune .6s steps(6) forwards; }
@keyframes tune { 0% { opacity: 1; } 60% { opacity: .9; clip-path: inset(0 0 0 0); } 85% { opacity: .5; clip-path: inset(40% 0 45% 0); } 100% { opacity: 0; clip-path: inset(50% 0 50% 0); } }
.hint { position: absolute; z-index: 2; left: 50%; translate: -50% 0; top: 64px; margin: 0; font: 14px var(--pixel); color: #fff; background: rgba(0, 0, 0, .45); padding: 5px 12px; border-radius: 20px; white-space: nowrap; pointer-events: none; }

/* ---- Boddle: a glossy kids' game arena, gems to pop */
.t-boddle .arena { position: absolute; inset: 0; background: url('boddle-map.svg') center / cover, #3fb6f0; }
.t-boddle .arena::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 25%, rgba(255, 255, 255, .9) 0 1.5px, transparent 2.5px) 0 0 / 110px 110px; animation: motes 14s linear infinite; }
@keyframes motes { to { background-position: 0 -110px; } }
.trail { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.trail path { fill: none; stroke: #fff8ea; stroke-width: 10; stroke-dasharray: 2 18; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 3px 0 rgba(31, 59, 42, .6)); }
.nodes { position: absolute; inset: 0; }
.node { all: unset; position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: var(--cur-hand); box-sizing: border-box;
  background: radial-gradient(circle at 35% 30%, #fff 0 20%, #e8f4ff 21%), #fff; border: 5px solid #1f3b2a; box-shadow: 0 6px 0 #1f3b2a, 0 10px 14px rgba(0, 0, 0, .25); transition: scale .2s cubic-bezier(.3, 1.6, .5, 1); }
.node b { font: 22px/1 var(--chunky); color: #2a7cc4; font-weight: normal; }
.node:hover { scale: 1.12; }
.node:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; }
.node.done { background: radial-gradient(circle at 35% 30%, #fff6b0 0 20%, #ffcf2e 21%); }
.node.done b { color: #8a5a00; }
.node .stars { position: absolute; bottom: 100%; left: 50%; translate: -50% 4px; display: flex; gap: 0; pointer-events: none; }
.node .stars i { font-style: normal; font-size: 20px; color: #ffcf2e; -webkit-text-stroke: 1.5px #1f3b2a; opacity: 0; scale: .2; transition: opacity .2s, scale .4s cubic-bezier(.3, 1.8, .5, 1); }
.node .stars i:nth-child(2) { translate: 0 -8px; font-size: 24px; }
.node.done .stars i { opacity: 1; scale: 1; }
.node.done .stars i:nth-child(2) { transition-delay: .12s; } .node.done .stars i:nth-child(3) { transition-delay: .24s; }
.token { position: absolute; z-index: 2; left: 0; top: 0; width: 34px; height: 46px; translate: var(--tx, -200px) var(--ty, -200px); transition: translate .45s cubic-bezier(.3, 1.4, .5, 1); pointer-events: none;
  background: var(--red); border: 4px solid #1f3b2a; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; clip-path: none; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .3)); }
.token::after { content: ''; position: absolute; left: 50%; top: 9px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; border: 3px solid #1f3b2a; }
.token.hop { animation: token-hop .45s ease-out; }
@keyframes token-hop { 40% { margin-top: -26px; } }
.t-boddle .hint { top: auto; bottom: 18px; }
.gem { --gc: var(--teal); all: unset; position: absolute; left: var(--x); top: var(--y); width: calc(58px * var(--s)); aspect-ratio: 1; border: 4px solid var(--ink); border-radius: 14px; rotate: 45deg; cursor: var(--cur-hand); pointer-events: auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, .75) 0 20%, transparent 21% 70%, rgba(0, 0, 0, .2) 71%), var(--gc); box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 0 22px 6px rgba(255, 240, 160, .55), 0 10px 20px rgba(0, 0, 0, .3); animation: bob 3s var(--d) ease-in-out infinite alternate; transition: scale .3s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; }
.gem.g1 { --gc: var(--pink); } .gem.g2 { --gc: var(--yellow); border-radius: 50%; } .gem.g3 { --gc: var(--green); } .gem.g4 { --gc: var(--orange); border-radius: 50% 8px; }
.gem:hover { scale: 1.15; }
.gem.popped { scale: 1.8; opacity: 0; pointer-events: none; }
@keyframes bob { to { translate: 0 -18px; } }
.plus { position: absolute; z-index: 9; font: 26px var(--chunky); color: var(--butter); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; pointer-events: none; animation: float-up .9s ease-out forwards; }
@keyframes float-up { to { translate: 0 -70px; opacity: 0; scale: 1.4; } }
.spark { position: absolute; z-index: 9; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--ink); background: var(--c, var(--butter)); pointer-events: none; animation: fly .6s ease-out forwards; }
@keyframes fly { to { translate: var(--dx) var(--dy); scale: .2; opacity: 0; } }
.hud { position: absolute; z-index: 2; top: 70px; right: 4vw; display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 12px; background: linear-gradient(#fff, #d9eeff); border: 4px solid var(--ink); border-radius: 30px; box-shadow: 0 5px 0 var(--ink); font: 16px var(--chunky); color: var(--purple); }
.hud span::before { content: '★'; margin-right: 6px; color: #ffcf2e; -webkit-text-stroke: 1.5px var(--ink); font-size: 20px; }
.hud b { font-weight: normal; font-size: 22px; color: var(--ink); min-width: 1.4em; text-align: center; }
.hud.bump-up b { animation: squish .4s; }
.panel { max-width: 960px; padding: 34px; border-radius: 30px; border: 7px solid #fff; outline: 4px solid var(--ink); background: linear-gradient(180deg, #f4fbff, #cbe8ff); box-shadow: 0 14px 0 #1f4a2e, 0 24px 40px rgba(0, 0, 0, .35); }
.boddle-logo { font: 70px/1 var(--chunky); color: var(--butter); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; text-shadow: 0 6px 0 var(--orange), 0 10px 0 var(--ink); rotate: -3deg; letter-spacing: .02em; }
.live { position: absolute; top: -22px; left: 34px; font: 15px var(--pixel); color: #fff; background: #ff3b30; border: 4px solid var(--ink); border-radius: 20px; padding: 4px 14px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 59, 48, .25); } }
.t-boddle .role b { color: var(--purple); }
.t-boddle { padding: 150px 20px 160px; }
.t-boddle .btn.play { --b: #3fd15a; font-size: 22px; padding: 14px 26px 12px; border-radius: 40px; }

/* ---- Snapshot Isle: seen through a camera's viewfinder; the card is a postcard */
.t-snapshot-isle { cursor: crosshair; padding-bottom: 150px; }
.t-snapshot-isle .photo { filter: saturate(1.15) contrast(1.05); background-position: 0% 40% !important; }
.vf { position: absolute; inset: 0; pointer-events: none; color: #fff; font: 14px var(--pixel); text-shadow: 0 2px 0 rgba(0, 0, 0, .5); }
.vf .c { position: absolute; width: 70px; height: 70px; border: 0 solid #fff; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .4)); }
.vf .tl { top: 70px; left: 3vw; border-width: 6px 0 0 6px; } .vf .tr { top: 70px; right: 3vw; border-width: 6px 6px 0 0; }
.vf .bl { bottom: 30px; left: 3vw; border-width: 0 0 6px 6px; } .vf .br { bottom: 30px; right: 3vw; border-width: 0 6px 6px 0; }
.vf .rec { position: absolute; top: 84px; left: calc(3vw + 90px); color: #ff4d4d; animation: blink 1s steps(1) infinite; }
.vf .meta { position: absolute; bottom: 44px; left: calc(3vw + 90px); }
.vf .count { position: absolute; bottom: 44px; right: calc(3vw + 90px); }
.vf .batt { position: absolute; top: 86px; right: calc(3vw + 90px); width: 40px; height: 18px; border: 3px solid #fff; border-radius: 3px; background: linear-gradient(90deg, #fff 0 70%, transparent 70%) 2px 2px / calc(100% - 4px) calc(100% - 4px) no-repeat; }
.vf .batt::after { content: ''; position: absolute; right: -8px; top: 3px; width: 4px; height: 6px; background: #fff; }
.reticle { position: absolute; left: var(--mx, 50%); top: var(--my, 50%); width: 90px; height: 64px; translate: -50% -50%; pointer-events: none; opacity: 0; transition: opacity .2s, left .12s ease-out, top .12s ease-out;
  background: linear-gradient(#fff, #fff) 0 0 / 18px 3px, linear-gradient(#fff, #fff) 0 0 / 3px 14px, linear-gradient(#fff, #fff) 100% 0 / 18px 3px, linear-gradient(#fff, #fff) 100% 0 / 3px 14px,
    linear-gradient(#fff, #fff) 0 100% / 18px 3px, linear-gradient(#fff, #fff) 0 100% / 3px 14px, linear-gradient(#fff, #fff) 100% 100% / 18px 3px, linear-gradient(#fff, #fff) 100% 100% / 3px 14px; background-repeat: no-repeat; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }
.t-snapshot-isle:hover .reticle { opacity: 1; }
.reticle.focus { animation: focus .35s; }
@keyframes focus { 50% { scale: .7; } }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 7; }
.flash.go { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .95; } 100% { opacity: 0; } }
.prints { position: absolute; left: calc(3vw + 10px); bottom: 50px; width: 200px; height: 190px; pointer-events: none; z-index: 2; }
.print { position: absolute; left: 0; bottom: 0; width: 130px; padding: 8px 8px 28px; background: #fffef8; box-shadow: 0 6px 14px rgba(0, 0, 0, .35); rotate: var(--rot); animation: print-in .6s cubic-bezier(.2, .9, .3, 1.2) both; }
.print i { display: block; aspect-ratio: 1; background-repeat: no-repeat; animation: develop 3s ease-out both; }
@keyframes print-in { from { translate: 0 120px; rotate: 0deg; } }
@keyframes develop { from { filter: sepia(1) brightness(2.4) blur(2px) contrast(.6); } }
.t-snapshot-isle .b1 { left: 30%; top: 12%; width: 110px; aspect-ratio: 700 / 620; rotate: -20deg; }
.t-snapshot-isle .b2 { left: 4%; top: 70%; width: 100px; aspect-ratio: 700 / 546; rotate: 24deg; }
.t-snapshot-isle .b2 .wing { animation-duration: 4.1s; animation-delay: -1.6s; }
.postcard { cursor: var(--cur); padding: 36px 38px 34px; border-radius: 6px; rotate: -1deg; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  background: repeating-linear-gradient(0deg, transparent 0 29px, rgba(84, 168, 238, .18) 29px 30px), #fffaf0; box-shadow: 0 2px 0 #e8dcc4, 0 20px 40px rgba(0, 0, 0, .35); }
.postcard::before { content: ''; position: absolute; inset: 10px; border: 3px solid transparent; border-image: repeating-linear-gradient(45deg, var(--red) 0 12px, #fff 12px 24px, var(--sky) 24px 36px, #fff 36px 48px) 6; pointer-events: none; }
.stamp { position: absolute; top: 24px; right: 26px; width: 92px; height: 108px; padding: 8px; background: #fff; rotate: 4deg; z-index: 2; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle at center, transparent 3.4px, #000 4px) -6px -6px / 12px 12px; mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle at center, transparent 3.4px, #000 4px) -6px -6px / 12px 12px; }
.stamp img { width: 100%; height: 100%; object-fit: cover; }
.postmark { position: absolute; top: 46px; right: 92px; z-index: 3; width: 92px; height: 92px; display: grid; place-items: center; text-align: center; border: 3px solid rgba(40, 60, 110, .65); border-radius: 50%; font: 9px/1.3 var(--pixel); color: rgba(40, 60, 110, .75); rotate: -16deg; padding: 10px; }
.postmark::after { content: ''; position: absolute; left: 70%; top: 34%; width: 110px; height: 30px; background: repeating-linear-gradient(transparent 0 6px, rgba(40, 60, 110, .55) 6px 8px); -webkit-mask: linear-gradient(90deg, #000 60%, transparent); }
.t-snapshot-isle .ep-head { padding-right: 160px; }
.t-snapshot-isle .ep-title { font: 60px/.95 var(--chunky); letter-spacing: .01em; background: url('../media/bg-snapshot-isle.webp') center 40% / 300%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 2.5px #17325a; filter: drop-shadow(4px 4px 0 var(--red)); text-transform: uppercase; }
.greet { flex-basis: 100%; margin: 0 0 4px; font: 30px var(--display); color: var(--title); rotate: -4deg; transform-origin: 0 50%; }
.postcard .viewer { margin-top: 120px; }
.t-snapshot-isle .yr { background: var(--title); }
.t-snapshot-isle .viewer { gap: 14px; }
.t-snapshot-isle .viewer .stage { border: 0; border-radius: 2px; padding: 10px 10px 40px; background: #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .3); rotate: 2deg; aspect-ratio: auto; }
.t-snapshot-isle .viewer .stage img { aspect-ratio: 16 / 9; height: auto; }
.t-snapshot-isle .thumbs { background: #e9dfc9; border: 3px dashed #b9a98b; }
.t-snapshot-isle .arrow { color: var(--ink); }
.t-snapshot-isle .btn.play { --b: var(--sky); --f: #fff; }

/* ---- Glorbo's Kingdom: the game's sky, clouds, huts and beeple; a cannon that fires pearbles */
.t-glorbo-s-kingdom { background: #8fd8f5; cursor: crosshair; padding-bottom: 170px; }
.t-glorbo-s-kingdom .set { background: linear-gradient(#7fcff2, #bfeaff); }
.cloud { position: absolute; width: 260px; opacity: .95; animation: drift 40s linear infinite; }
.cloud.k0 { top: 90px; left: -10%; } .cloud.k1 { top: 200px; left: 30%; width: 320px; animation-duration: 55s; animation-delay: -20s; }
.cloud.k2 { top: 130px; left: 65%; animation-duration: 48s; animation-delay: -8s; } .cloud.k3 { top: 40%; left: 85%; width: 220px; animation-duration: 60s; animation-delay: -30s; }
@keyframes drift { from { translate: -20vw 0; } to { translate: 110vw 0; } }
.ground { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(#6cc24a 0 18px, #c8a57c 18px); border-top: 4px solid #3a7a2a; }
.ground::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; background: radial-gradient(circle at 10px 14px, #6cc24a 9px, transparent 10px) 0 0 / 20px 14px; }
.hut { position: absolute; bottom: 70px; width: 130px; } .hut.h0 { left: 2%; } .hut.h1 { right: 3%; transform: scaleX(-1); }
.beeple { position: absolute; bottom: 100px; width: 36px; left: 0; animation: walk 18s linear infinite, waddle .5s ease-in-out infinite alternate; }
.beeple.w1 { animation-duration: 24s, .45s; animation-delay: -6s, 0s; } .beeple.w2 { animation-duration: 21s, .55s; animation-delay: -12s, 0s; } .beeple.w3 { animation-duration: 27s, .5s; animation-delay: -3s, 0s; animation-direction: reverse, alternate; }
@keyframes walk { from { left: -5%; } to { left: 102%; } }
@keyframes waddle { from { rotate: -8deg; } to { rotate: 8deg; translate: 0 -3px; } }
.beeple.born { left: var(--bx); bottom: 100px; animation: born-walk 9s linear forwards, waddle .45s ease-in-out infinite alternate; }
@keyframes born-walk { 0% { translate: 0 -40px; opacity: 1; } 6% { translate: 0 0; } 90% { opacity: 1; } 100% { translate: var(--away) 0; opacity: 0; } }
.cannon { position: absolute; left: 14%; bottom: 76px; width: 100px; z-index: 1; }
.cannon .barrel { transform-origin: 61px 70px; transform: rotate(var(--ang, 20deg)); transition: transform .2s; }
.cannon.boom { animation: recoil .3s; }
@keyframes recoil { 30% { translate: -6px 4px; } }
.pear { position: absolute; z-index: 3; width: 44px; pointer-events: none; }
.sketch { padding: 34px 36px; background: #fffef9; border: 4px solid var(--ink); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; box-shadow: 7px 9px 0 var(--ink); cursor: var(--cur); }
.sketch .ep-title { font: 58px/1 'Gochi Hand', var(--display); color: var(--ink); rotate: -2deg; }
.sketch .yr { background: #fff; color: var(--ink); border: 3px solid var(--ink); font-family: 'Gochi Hand', var(--display); font-size: 20px; }
.sketch .role { font: 19px/1.35 'Gochi Hand', var(--display); }
.sketch .viewer .stage, .sketch .thumbs { border-radius: 20px 8px 18px 10px; }
.sketch .btn { border-radius: 20px 8px 18px 10px; }
.sketch .btn.play { --b: #ffd34d; }
.sketch .btn.alt { --b: #c9f0ff; }

/* ---- rePAIR: the toymaker's pegboard, rocking horses, a plywood crate, a hammer for a cursor */
.t-repair .photo { filter: grayscale(.6) brightness(.85); }
.t-repair .set::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(#9b7ee0, #7a5cc8); mix-blend-mode: multiply; pointer-events: none; }
.mat { position: absolute; z-index: 2; left: -10%; right: -10%; bottom: 0; height: 48%; transform: perspective(700px) rotateX(38deg); transform-origin: 50% 100%;
  background: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) 0 0 / 100% 2px, linear-gradient(90deg, rgba(255, 255, 255, .55) 2px, transparent 2px) 0 0 / 120px 100%,
    linear-gradient(rgba(255, 255, 255, .55) 2px, transparent 2px) 0 0 / 100% 60px, linear-gradient(90deg, rgba(255, 255, 255, .25) 1px, transparent 1px) 0 0 / 24px 100%, linear-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px) 0 0 / 100% 12px, #3d9e5a;
  border-top: 6px solid #2a6e3e; box-shadow: inset 0 30px 40px rgba(0, 0, 0, .25); }
.xylo { position: absolute; z-index: 3; left: 4%; bottom: 40px; display: flex; align-items: end; gap: 6px; rotate: -8deg; }
.xylo i { width: 34px; height: calc(110px - var(--n) * 14px); border: 4px solid var(--ink); border-radius: 8px; background: var(--c); box-shadow: 0 6px 0 rgba(0, 0, 0, .35); }
.xylo i:nth-child(1) { --n: 0; --c: #f5585c; } .xylo i:nth-child(2) { --n: 1; --c: #ff9a3c; } .xylo i:nth-child(3) { --n: 2; --c: #fcc308; } .xylo i:nth-child(4) { --n: 3; --c: #54a8ee; } .xylo i:nth-child(5) { --n: 4; --c: #7a4fd6; }
.t-repair .set::after { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, transparent 40%, rgba(30, 10, 50, .5)); pointer-events: none; }
.t-repair .horse { z-index: 3; top: auto; bottom: 50px; }
.horse { position: absolute; z-index: 1; top: 34%; width: 260px; pointer-events: auto; }
.horse img { width: 100%; transform-origin: 50% 92%; animation: rock 2.2s ease-in-out infinite alternate; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .45)); }
.horse.h0 { left: -40px; } .horse.h1 { right: -40px; } .horse.h1 img { scale: -1 1; animation-delay: -1.1s; }
.horse:hover img { animation-duration: .38s; }
@keyframes rock { from { rotate: -7deg; } to { rotate: 6deg; } }
.crate { padding: 40px 38px 34px; border: 5px solid var(--ink); border-radius: 6px; cursor: var(--cur);
  background: repeating-linear-gradient(90deg, rgba(120, 70, 20, .08) 0 2px, transparent 2px 9px), repeating-linear-gradient(0deg, transparent 0 98px, rgba(110, 60, 20, .35) 98px 102px), linear-gradient(170deg, #f1d39c, #ddb26e);
  box-shadow: inset 0 0 0 12px rgba(120, 70, 20, .18), 0 16px 0 #5a3414, 0 26px 40px rgba(0, 0, 0, .45); }
.crate::before, .crate::after { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #eee, #777); border: 2px solid var(--ink); top: 14px; left: 14px; box-shadow: calc(1080px - 56px) 0 0 -2px #999; }
.crate::after { top: auto; bottom: 14px; }
.tape { position: absolute; z-index: 2; font: 15px var(--chunky); letter-spacing: .15em; color: #fff; background: var(--red); padding: 5px 34px; border: 3px solid var(--ink); box-shadow: 0 3px 0 rgba(0, 0, 0, .3); }
.tape.t1 { top: 20px; right: -16px; rotate: 32deg; }
.tape.t2 { bottom: 18px; right: -18px; rotate: -28deg; background: var(--yellow); color: var(--ink); }
.t-repair .ep-title { font: 62px/1 'Bungee', var(--chunky); color: #fff; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); }
.t-repair .ep-title span { color: var(--red); font: 54px 'Pacifico', var(--display); -webkit-text-stroke: 2px var(--ink); margin-right: 2px; }
.t-repair .yr { background: var(--red); }
.t-repair .viewer .stage { border-width: 5px; box-shadow: 0 0 0 6px #fff, 0 0 0 10px var(--ink); }
.t-repair .btn.play { --b: var(--red); --f: #fff; }
.bonk { position: absolute; z-index: 9; width: 120px; height: 90px; translate: -50% -50%; display: grid; place-items: center; pointer-events: none; font: 22px 'Bungee', var(--chunky); color: var(--ink); animation: bonk .7s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.bonk::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--butter); border: 0; clip-path: polygon(50% 0, 61% 26%, 92% 8%, 76% 38%, 100% 52%, 72% 62%, 86% 94%, 56% 74%, 40% 100%, 34% 70%, 4% 86%, 22% 56%, 0 36%, 30% 32%, 18% 4%, 42% 24%); filter: drop-shadow(0 0 0 var(--ink)); }
@keyframes bonk { 0% { scale: .2; rotate: -20deg; } 40% { scale: 1.1; rotate: 6deg; } 80% { scale: 1; opacity: 1; } 100% { scale: .9; opacity: 0; } }
.bolt { position: absolute; z-index: 9; width: 14px; height: 14px; border-radius: 3px; background: linear-gradient(#ddd, #888); border: 2px solid var(--ink); pointer-events: none; animation: fly .7s ease-out forwards; }

/* ---- Jungle Bungler: a tabletop over mossy bark, the game's own tiles, a die and a pawn */
.t-jungle-bungler { padding: 200px 20px 210px; }
.t-jungle-bungler .set { background: radial-gradient(ellipse at center, transparent 35%, rgba(20, 16, 4, .6)),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Crect width='120' height='120' fill='%235a5624'/%3E%3Cpath d='M60 6 L114 60 L60 114 L6 60Z' fill='none' stroke='%23c9a24a' stroke-width='5'/%3E%3Cpath d='M60 26 L94 60 L60 94 L26 60Z' fill='%23474318' stroke='%23a8863a' stroke-width='3'/%3E%3Ccircle cx='60' cy='60' r='12' fill='%23c9a24a'/%3E%3Ccircle cx='60' cy='60' r='5' fill='%235a5624'/%3E%3Cpath d='M0 0 L12 0 L0 12Z M120 0 L108 0 L120 12Z M0 120 L12 120 L0 108Z M120 120 L108 120 L120 108Z' fill='%23c9a24a'/%3E%3C/svg%3E") 0 0 / 120px; }
.board { position: absolute; inset: 70px 3vw 40px; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto 1fr auto; gap: 14px; perspective: 1400px; }
.tile { position: relative; aspect-ratio: 1; max-height: 140px; justify-self: center; width: min(100%, 140px); transform-style: preserve-3d; transform: rotateY(180deg); transition: transform .7s cubic-bezier(.3, 1.3, .5, 1); transition-delay: calc(var(--i) * .07s); }
.tile:nth-child(n + 7) { grid-row: 3; }
.tile:nth-child(7) { grid-column: 6; } .tile:nth-child(8) { grid-column: 5; } .tile:nth-child(9) { grid-column: 4; } .tile:nth-child(10) { grid-column: 3; } .tile:nth-child(11) { grid-column: 2; } .tile:nth-child(12) { grid-column: 1; }
.show.tuned .tile { transform: rotateY(0deg) rotate(var(--rot, 0deg)); }
.tile .face, .tile .back { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 6px; }
.tile .back { inset: 14%; box-shadow: 0 6px 0 rgba(0, 0, 0, .35); }
.tile .face img { width: 100%; height: 100%; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .35)); transition: filter .3s; }
.tile .back { transform: rotateY(180deg); background: radial-gradient(circle, #f3d08a 0 18%, transparent 19%) 0 0 / 26px 26px, #8a4b2a; border: 5px solid #f3d08a; }
.tile.here .face img { filter: drop-shadow(0 0 0 var(--butter)) drop-shadow(4px 0 0 var(--butter)) drop-shadow(-4px 0 0 var(--butter)) drop-shadow(0 4px 0 var(--butter)) drop-shadow(0 -4px 0 var(--butter)) drop-shadow(0 6px 0 rgba(0, 0, 0, .35)); }
.pawn { position: absolute; z-index: 2; left: 0; top: 0; width: 40px; height: 64px; translate: var(--px, 50px) var(--py, 50px); transition: translate .3s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none;
  background: #fffaf0; border-radius: 6px; padding: 2px; filter: drop-shadow(0 0 0 #2b2626) drop-shadow(2px 0 0 #2b2626) drop-shadow(-2px 0 0 #2b2626) drop-shadow(0 6px 4px rgba(0, 0, 0, .45)); }
.pawn svg { width: 100%; height: 100%; display: block; }
.lid { padding: 40px 40px 34px; background: #f3d08a; border: 6px solid #8a4b2a; outline: 4px solid var(--ink); border-radius: 8px; box-shadow: inset 0 0 0 6px #f3d08a, inset 0 0 0 9px #8a4b2a, 0 16px 0 #3c2410, 0 28px 40px rgba(0, 0, 0, .5); }
.lid .ep-title { font: 52px/1 'Rye', var(--display); color: #5a2d14; text-shadow: 3px 3px 0 #f9e3b0, 5px 5px 0 rgba(90, 45, 20, .5); }
.lid .ep-title::before { content: '🗝'; font-size: 38px; margin-right: 8px; filter: sepia(1) saturate(2); }
.lid .yr { background: #8a4b2a; }
.lid .role b { color: #8a4b2a; }
.lid .btn.play { --b: #e8a43c; }
.die-btn { --b: #fff; padding: 8px 18px 8px 10px; }
.die { position: relative; width: 30px; height: 30px; transform-style: preserve-3d; transform: rotateX(var(--rx, -20deg)) rotateY(var(--ry, 25deg)); transition: transform 1s cubic-bezier(.2, .8, .3, 1.1); }
.die i { position: absolute; inset: 0; background: #fff; border: 2px solid var(--ink); border-radius: 5px; --d: radial-gradient(circle, var(--ink) 0 2.6px, transparent 3px); }
.die .f1 { transform: translateZ(15px); background: var(--d) 50% 50% / 30px 30px no-repeat, #fff; }
.die .f2 { transform: rotateY(90deg) translateZ(15px); background: var(--d) 25% 25% / 13px 13px no-repeat, var(--d) 85% 85% / 13px 13px no-repeat, #fff; }
.die .f3 { transform: rotateY(180deg) translateZ(15px); background: var(--d) 15% 15% / 10px 10px no-repeat, var(--d) 50% 50% / 10px 10px no-repeat, var(--d) 85% 85% / 10px 10px no-repeat, #fff; }
.die .f4 { transform: rotateY(-90deg) translateZ(15px); background: var(--d) 20% 20% / 12px 12px no-repeat, var(--d) 80% 20% / 12px 12px no-repeat, var(--d) 20% 80% / 12px 12px no-repeat, var(--d) 80% 80% / 12px 12px no-repeat, #fff; }
.die .f5 { transform: rotateX(90deg) translateZ(15px); background: var(--d) 20% 20% / 10px 10px no-repeat, var(--d) 80% 20% / 10px 10px no-repeat, var(--d) 50% 50% / 10px 10px no-repeat, var(--d) 20% 80% / 10px 10px no-repeat, var(--d) 80% 80% / 10px 10px no-repeat, #fff; }
.die .f6 { transform: rotateX(-90deg) translateZ(15px); background: var(--d) 22% 15% / 10px 10px no-repeat, var(--d) 78% 15% / 10px 10px no-repeat, var(--d) 22% 50% / 10px 10px no-repeat, var(--d) 78% 50% / 10px 10px no-repeat, var(--d) 22% 85% / 10px 10px no-repeat, var(--d) 78% 85% / 10px 10px no-repeat, #fff; }

/* ---- Ed's Diner: lights out; flip the breakers to light the lamps; the ghosts don't like it */
.t-ed-s-diner { --lit: 0; padding-bottom: 170px; }
.t-ed-s-diner .photo { filter: saturate(1.3); }
.photo.pixel { image-rendering: pixelated; }
.t-ed-s-diner .dark { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, rgba(10, 8, 30, .7), rgba(5, 4, 18, .95)); opacity: calc(1 - var(--lit) * .17); transition: opacity .6s; }
.lamp { position: absolute; top: 0; left: var(--x); width: 90px; translate: -50% 0; z-index: 1; animation: sway 5s ease-in-out infinite alternate; transform-origin: 50% 0; }
.lamp:nth-of-type(2n) { animation-delay: -2s; }
.lamp::before { content: ''; display: block; width: 4px; height: 60px; margin: 0 auto; background: #111; }
.lamp i { display: block; position: relative; height: 44px; border-radius: 60px 60px 6px 6px; background: linear-gradient(#ffd34d, #d99a00); border: 4px solid var(--ink); }
.lamp i::after { content: ''; position: absolute; left: 50%; top: 100%; width: 26px; height: 16px; translate: -50% -4px; border-radius: 0 0 14px 14px; background: #555; border: 3px solid var(--ink); transition: background .3s, box-shadow .3s; }
.lamp i::before { content: ''; position: absolute; left: 50%; top: 100%; width: 300px; height: 520px; translate: -50% 0; background: radial-gradient(ellipse at 50% 0, rgba(255, 230, 150, .55), transparent 65%); clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.lamp.on i::after { background: #fff6c0; box-shadow: 0 0 20px 8px rgba(255, 230, 140, .9); }
.lamp.on i::before { opacity: 1; }
@keyframes sway { from { rotate: -2deg; } to { rotate: 2deg; } }
.ghost { position: absolute; z-index: 2; width: 70px; opacity: .85; filter: drop-shadow(0 0 4px #b36bff) drop-shadow(0 0 16px rgba(160, 90, 255, .9)); animation: haunt 9s ease-in-out infinite alternate; transition: opacity .8s, translate 1.2s; pointer-events: none; }
.ghost.g0 { left: 6%; top: 30%; width: 120px; } .ghost.g1 { left: 80%; top: 22%; animation-delay: -3s; } .ghost.g2 { left: 90%; top: 62%; animation-delay: -5s; width: 60px; }
.ghost.g3 { left: 3%; top: 70%; animation-delay: -1s; } .ghost.g4 { left: 45%; top: 84%; width: 40px; animation-delay: -6s; }
@keyframes haunt { 0% { transform: translate(0, 0) rotate(-6deg); } 50% { transform: translate(30px, -26px) rotate(5deg); } 100% { transform: translate(-20px, 14px) rotate(-2deg); } }
.t-ed-s-diner.open .ghost { opacity: 0; translate: 0 -200px; }
.neon { position: absolute; bottom: 34px; right: 7vw; z-index: 2; font: 54px/1 'Monoton', var(--display); color: #3a2a3a; padding: 10px 18px; border: 4px solid #3a2a3a; border-radius: 16px; rotate: 4deg; transition: color .3s, border-color .3s; }
.t-ed-s-diner.open .neon { color: #ff5fb0; border-color: #5ff6ff; text-shadow: 0 0 6px #ff5fb0, 0 0 18px #ff2a90, 0 0 34px #ff2a90; box-shadow: 0 0 12px #5ff6ff, inset 0 0 12px #5ff6ff; animation: flicker 3s steps(1) infinite; }
@keyframes flicker { 0%, 18%, 22%, 60%, 100% { opacity: 1; } 20%, 61% { opacity: .4; } }
.checks { position: absolute; left: -10%; right: -10%; bottom: 0; height: 120px; background: repeating-conic-gradient(#151515 0 25%, #f2efe6 0 50%) 0 0 / 60px 60px; transform: perspective(400px) rotateX(50deg); transform-origin: 50% 100%; opacity: calc(.35 + var(--lit) * .13); }
.menu { padding: 52px 38px 34px; border-radius: 10px; color: #f2efe6; border: 6px solid #6b6f74; outline: 4px solid var(--ink);
  background: repeating-linear-gradient(transparent 0 25px, rgba(0, 0, 0, .35) 25px 27px), linear-gradient(#2a2d31, #1d1f22); box-shadow: 0 0 0 10px #a9b0b5, 0 0 0 14px var(--ink), 0 26px 40px rgba(0, 0, 0, .6); }
.menu .ep-title { font: 50px/1.05 'Monoton', var(--display); color: #ff6b6b; text-shadow: 0 0 6px #ff3b3b, 0 0 18px #ff1f1f, 0 0 34px #c80000; }
.menu .yr { background: #ff5fb0; color: #1d1f22; }
.menu .role b { color: #ffde5f; }
.menu a:not(.btn) { color: #ffb3b3; }
.scoreboard { position: absolute; top: -34px; left: 26px; z-index: 3; display: flex; gap: 14px; padding: 8px 14px; background: #120808; border: 4px solid var(--ink); border-radius: 8px; box-shadow: 0 6px 0 var(--ink); font: 15px var(--pixel); color: #ff5a5a; text-shadow: 0 0 6px rgba(255, 60, 60, .8); }
.scoreboard b { font-weight: normal; color: #ffd0d0; }
.t-ed-s-diner.open .scoreboard { color: #7dff8a; text-shadow: 0 0 6px rgba(80, 255, 100, .8); }
.menu .btn.play { --b: #ff5fb0; }
.menu .thumbs { background: #0f1012; }
.breaker { position: absolute; top: -34px; right: 26px; z-index: 3; padding: 8px 12px 10px; border: 4px solid var(--ink); border-radius: 8px; background: linear-gradient(#c3cacf, #8e979c); box-shadow: 0 6px 0 var(--ink), inset 0 2px 0 #fff; }
.bk-label { display: block; font: 10px var(--pixel); color: var(--ink); text-align: center; margin-bottom: 4px; }
.sws { display: flex; gap: 7px; }
.sw { all: unset; cursor: var(--cur-hand); position: relative; width: 22px; height: 44px; border-radius: 5px; background: #3a3f44; border: 3px solid var(--ink); box-sizing: border-box; }
.sw i { position: absolute; left: 2px; right: 2px; bottom: 2px; height: 18px; border-radius: 3px; background: var(--red); border: 2px solid var(--ink); transition: bottom .15s; }
.sw[aria-pressed="true"] i { bottom: 18px; background: var(--green); }
.sw:focus-visible { outline: 3px solid var(--yellow); }
.breaker.nudge { animation: nudge 1s ease-in-out 2; }
@keyframes nudge { 20%, 60% { rotate: -4deg; } 40%, 80% { rotate: 4deg; } }

/* ---- off the air: a test card */
.offair { background: #141218; padding: 90px 20px 100px; border-top: 6px solid var(--ink); }
.testcard { position: relative; max-width: 760px; margin: 0 auto; display: grid; place-items: center; gap: 20px; text-align: center; color: #fff; }
.bars-big { display: flex; width: 100%; height: 220px; border: 5px solid #fff; border-radius: 12px; overflow: hidden; }
.sign { position: relative; margin: -150px 0 40px; padding: 16px 30px 14px; background: #fff; color: var(--ink); border: 5px solid var(--ink); border-radius: 50px; font: 30px var(--display); box-shadow: 0 8px 0 var(--ink); }
.lost .sign { font-size: 40px; }

/* ================================================================ ART: a paint program, made into a plastic object */
body.art { background: #b9a6e8; }
.wallpaper { position: fixed; inset: 0; z-index: -2; background: center / cover; }
.wallpaper::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(196, 170, 255, .55), rgba(255, 170, 220, .35)); mix-blend-mode: multiply; }
.room-art { --accent: var(--purple); max-width: 1260px; margin: 34px auto 90px; padding: 0 16px; }
.paint { --tx: 0px; --ty: 0px; translate: var(--tx) var(--ty); position: relative; padding: 12px; border: 6px solid var(--ink); border-radius: 30px; background: linear-gradient(180deg, #e3e6ee, #bfc4d0);
  box-shadow: inset 0 5px 0 rgba(255, 255, 255, .8), inset 0 -7px 0 #8f95a3, 0 18px 0 #5f6470, 0 18px 0 6px var(--ink), 0 40px 60px rgba(0, 0, 0, .35); }
.titlebar { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-radius: 18px 18px 6px 6px; border: 4px solid var(--ink); background: linear-gradient(90deg, var(--title), var(--sky)); color: #fff; font: 16px var(--pixel); }
.app-ico { width: 24px; height: 24px; border-radius: 4px; border: 3px solid var(--ink); background: conic-gradient(var(--red) 0 25%, var(--yellow) 0 50%, var(--green) 0 75%, var(--sky) 0); }
.titlebar .t { flex: 1; }
.wbtns { display: flex; gap: 6px; }
.wbtns button { all: unset; cursor: var(--cur-hand); display: grid; place-items: center; width: 30px; height: 26px; border-radius: 6px; border: 3px solid var(--ink); background: #e3e6ee; color: var(--ink); font: 14px var(--pixel); box-shadow: inset -2px -2px 0 #9aa1ad, inset 2px 2px 0 #fff; box-sizing: border-box; }
.wbtns button:active { box-shadow: inset 2px 2px 0 #9aa1ad; }
.wbtns button:focus-visible { outline: 3px solid var(--yellow); }
.wbtns .w-close { background: var(--red); color: #fff; }
.menubar { display: flex; gap: 20px; padding: 8px 14px 6px; font: 13px var(--pixel); color: var(--ink); }
.menubar span:first-letter { text-decoration: underline; }
.paint-body { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; align-items: start; }
.side { position: sticky; top: 14px; display: grid; gap: 10px; }
.toolbox { display: grid; gap: 8px; padding: 10px; border: 4px solid var(--ink); border-radius: 12px; background: #d6dae3; box-shadow: inset 3px 3px 0 #fff, inset -3px -3px 0 #9aa1ad; }
.tool { display: grid; justify-items: center; gap: 4px; padding: 8px 4px 7px; border-radius: 8px; border: 3px solid var(--ink); background: #eef0f5; text-decoration: none; color: var(--ink); box-shadow: inset -3px -3px 0 #a6adba, inset 3px 3px 0 #fff; transition: background .15s; }
.tool .ico { width: 34px; height: 34px; display: block; }
.tool svg { width: 100%; height: 100%; }
.tool .tl { font: 10px/1.2 var(--pixel); text-align: center; }
.tool:hover { background: #fff; }
.tool:hover .ico { animation: squish .45s; }
.tool.on { background: var(--butter); box-shadow: inset 3px 3px 0 #c9a400, inset -2px -2px 0 #fff3b0; }
.canvas { position: relative; min-width: 0; padding: 30px 30px 40px; border: 4px solid var(--ink); border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px #ccc; }
.canvas::after { content: ''; position: absolute; right: -9px; bottom: -9px; width: 12px; height: 12px; background: var(--title); border: 2px solid #fff; outline: 2px solid var(--ink); }
.layer { scroll-margin-top: 20px; }
.layer + .layer { margin-top: 56px; }
.layer-h { position: relative; display: inline-block; margin: 0 0 20px; padding: 6px 16px 4px; font: 32px/1.2 var(--display); color: var(--accent); }
/* marching ants: the dashed "selected" box from a paint program, walking round */
.layer-h::after, .selection::after, .gallery .lb::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 50%, transparent 0) 0 0 / 12px 2px repeat-x, linear-gradient(90deg, var(--ink) 50%, transparent 0) 0 100% / 12px 2px repeat-x,
    linear-gradient(0deg, var(--ink) 50%, transparent 0) 0 0 / 2px 12px repeat-y, linear-gradient(0deg, var(--ink) 50%, transparent 0) 100% 0 / 2px 12px repeat-y; animation: ants .6s linear infinite; }
@keyframes ants { to { background-position: 12px 0, -12px 100%, 0 -12px, 100% 12px; } }
.gallery .lb::after { inset: 4px; opacity: 0; transition: opacity .15s; z-index: 2; background-color: transparent; filter: invert(1); }
.canvas .gallery .lb:hover::after { opacity: 1; }
.lede { max-width: 640px; }
.selections { display: grid; gap: 30px; }
.selection { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 26px; padding: 22px; align-items: center; }
.selection:nth-child(even) .cover { order: 2; }
.selection .cover { display: block; border: 4px solid var(--ink); border-radius: 8px; overflow: hidden; box-shadow: 8px 8px 0 var(--accent); transition: rotate .3s cubic-bezier(.3, 1.6, .5, 1); }
.selection .cover img { width: 100%; max-height: 420px; object-fit: cover; }
.selection:hover .cover { rotate: -2deg; }
.selection h3 { font: 28px/1.15 var(--display); color: var(--ink); }
.selection .role { color: #777; font: 12px var(--pixel); margin: 4px 0 12px; }
.fight .lb { flex-basis: calc(var(--r, 1) * 130px); }
.pens { display: grid; gap: 26px; }
.pen h3 { font: 22px var(--display); margin-bottom: 8px; }
.pen iframe { width: 100%; border: 4px solid var(--ink); border-radius: 8px; margin-top: 8px; background: #1e1f26; }
.palette { display: grid; justify-items: center; gap: 8px; padding: 10px 6px; border: 4px solid var(--ink); border-radius: 12px; background: #d6dae3; box-shadow: inset 3px 3px 0 #fff, inset -3px -3px 0 #9aa1ad; }
.palette .cur { position: relative; width: 46px; height: 46px; flex: none; }
.palette .cur::before, .palette .cur i { content: ''; position: absolute; width: 30px; height: 30px; border: 3px solid var(--ink); }
.palette .cur::before { right: 0; bottom: 0; background: #fff; }
.palette .cur i { left: 0; top: 0; background: var(--accent); z-index: 1; }
.swatches { display: grid; grid-template-columns: repeat(3, 24px); gap: 5px; }
.palette .sw { all: unset; cursor: var(--cur-hand); width: 24px; height: 24px; background: var(--c); border: 3px solid var(--ink); box-sizing: border-box; box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .2); transition: scale .15s; }
.palette .sw:hover { scale: 1.2; }
.palette .sw:focus-visible { outline: 3px solid var(--yellow); }
.statusbar { display: flex; justify-content: space-between; gap: 20px; margin-top: 8px; padding: 6px 12px; border: 3px solid #9aa1ad; border-radius: 8px; font: 12px var(--pixel); color: #4a4f5a; box-shadow: inset 2px 2px 0 #9aa1ad; }
.back { margin: 0 0 22px; }
.proc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: start; }
.proc .hero img { width: 100%; max-height: 560px; object-fit: cover; object-position: top; }
.proc .hero .lb { display: block; border: 4px solid var(--ink); border-radius: 8px; overflow: hidden; box-shadow: 8px 8px 0 var(--accent); }
.proc h3 { font: 20px var(--display); color: var(--accent); margin: 16px 0 6px; }
.steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 22px; }
.steps .lb { display: block; aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 6px; overflow: hidden; }
.steps img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.steps .lb:hover img { transform: scale(1.06); }

/* ================================================================ DESIGN: a shareware desktop */
body.design { padding-bottom: 50px; background: radial-gradient(circle, rgba(255, 255, 255, .12) 1px, transparent 1.5px) 0 0 / 6px 6px, linear-gradient(160deg, #1d8f8f, #2a6fb0); background-attachment: fixed; }
.desktop { position: relative; max-width: 1260px; margin: 34px auto 80px; padding: 0 16px; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 26px; align-items: start; }
.icons { position: sticky; top: 16px; display: grid; gap: 18px; }
.dicon { display: grid; justify-items: center; gap: 6px; padding: 8px 4px; text-decoration: none; color: #fff; border-radius: 8px; }
.dicon svg { width: 56px; height: 48px; filter: drop-shadow(2px 3px 0 rgba(0, 0, 0, .35)); transition: translate .2s cubic-bezier(.3, 1.6, .5, 1); }
.dicon span { font: 12px/1.3 var(--pixel); text-align: center; padding: 2px 4px; border-radius: 3px; text-shadow: 1px 1px 0 rgba(0, 0, 0, .6); }
.dicon:hover svg { translate: 0 -4px; }
.dicon:hover span, .dicon:focus-visible span { background: #1838a8; text-shadow: none; }
.win { --tx: 0px; --ty: 0px; position: relative; margin-bottom: 36px; border: 4px solid var(--ink); border-radius: 10px; background: #dfe3ea; translate: var(--tx) var(--ty);
  box-shadow: inset -4px -4px 0 #9aa1ad, inset 4px 4px 0 #fff, 12px 12px 0 rgba(0, 0, 0, .3); }
.win-bar { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; margin: 6px 6px 0; border-radius: 6px; border: 3px solid var(--ink); background: linear-gradient(90deg, var(--purple), var(--pink)); color: #fff; touch-action: none; user-select: none; }
.win:nth-child(2) .win-bar { background: linear-gradient(90deg, #e2363b, var(--orange)); }
.win:nth-child(3) .win-bar { background: linear-gradient(90deg, #2a8a3a, var(--green)); }
.win-ico svg { width: 26px; height: 22px; display: block; }
.win-bar h2 { flex: 1; font: 16px var(--pixel); text-shadow: 1px 1px 0 rgba(0, 0, 0, .4); }
.win-btns { display: flex; gap: 5px; }
.win-btns button { all: unset; cursor: var(--cur-hand); display: grid; place-items: center; width: 30px; height: 26px; border-radius: 5px; border: 3px solid var(--ink); background: #e3e6ee; color: var(--ink); font: 15px/1 var(--pixel); box-shadow: inset -2px -2px 0 #9aa1ad, inset 2px 2px 0 #fff; box-sizing: border-box; }
.win-btns button:active { box-shadow: inset 2px 2px 0 #9aa1ad; }
.win-btns .w-close { background: var(--red); color: #fff; }
.win-btns button:focus-visible { outline: 3px solid var(--yellow); }
.win-menu { display: flex; gap: 18px; padding: 6px 16px; font: 12px var(--pixel); color: var(--ink); }
.win-menu span:last-child { margin-left: auto; color: #6a707c; }
.win-body { margin: 0 8px 8px; padding: 16px; border: 3px solid var(--ink); border-radius: 4px; background: #fff; box-shadow: inset 2px 2px 0 #9aa1ad; }
.design .gallery .lb { flex-basis: calc(var(--r, 1) * 170px); }
.win.minimised .win-menu, .win.minimised .win-body { display: none; }
.win.closed { display: none; }
.win.maxed { position: fixed; inset: 10px 10px 56px; z-index: 70; margin: 0; overflow: auto; translate: none; }
.win.dragging { z-index: 40; cursor: grabbing; }
.win.dragging .win-bar { cursor: grabbing; }
@media (hover: hover) and (min-width: 1000px) { .win-bar { cursor: grab; } }
.win.puff { animation: puff .3s ease-in forwards; }
@keyframes puff { to { scale: .6; opacity: 0; } }
.taskbar { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; height: 50px; display: flex; align-items: center; gap: 8px; padding: 0 8px; background: #d6dae3; border-top: 4px solid var(--ink); box-shadow: inset 0 3px 0 #fff; }
.start { all: unset; cursor: var(--cur-hand); display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 8px; border: 3px solid var(--ink); border-radius: 8px; background: var(--green); font: 18px var(--chunky); color: var(--ink); box-shadow: inset -3px -3px 0 #5e9e27, inset 3px 3px 0 #c9f29a; box-sizing: border-box; }
.start[aria-expanded="true"] { box-shadow: inset 3px 3px 0 #5e9e27; }
.start .logo { width: 22px; height: 18px; border-radius: 5px; border: 3px solid var(--ink); background: repeating-linear-gradient(transparent 0 2px, rgba(0, 0, 0, .2) 2px 3px), var(--sky); position: relative; }
.start .logo::after { content: ''; position: absolute; left: 6px; bottom: -7px; width: 4px; height: 4px; background: var(--ink); }
.startmenu { position: absolute; left: 8px; bottom: 54px; width: 240px; display: grid; padding: 10px 10px 10px 48px; background: #dfe3ea; border: 4px solid var(--ink); border-radius: 10px; box-shadow: inset -3px -3px 0 #9aa1ad, inset 3px 3px 0 #fff, 8px 8px 0 rgba(0, 0, 0, .3); }
.startmenu b { position: absolute; left: 0; top: 0; bottom: 0; width: 38px; display: grid; place-items: center; writing-mode: vertical-rl; rotate: 180deg; font: 16px var(--chunky); color: #fff; background: linear-gradient(var(--purple), var(--pink)); border-radius: 0 6px 6px 0; }
.startmenu a { padding: 8px 10px; font: 18px var(--chunky); color: var(--ink); text-decoration: none; border-radius: 6px; }
.startmenu a:hover, .startmenu a:focus-visible { background: #1838a8; color: #fff; }
.startmenu hr { border: 0; border-top: 2px solid #9aa1ad; margin: 4px 0; }
.tasks { flex: 1; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.task { all: unset; cursor: var(--cur-hand); flex: 0 1 200px; min-width: 0; height: 34px; padding: 0 12px; display: flex; align-items: center; border: 3px solid var(--ink); border-radius: 6px; background: #e3e6ee; font: 12px var(--pixel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: inset -2px -2px 0 #9aa1ad, inset 2px 2px 0 #fff; box-sizing: border-box; }
.task.on { background: #fff; box-shadow: inset 2px 2px 0 #9aa1ad; }
.task.gone { opacity: .55; }
.clock { padding: 0 12px; height: 34px; display: grid; place-items: center; font: 14px var(--pixel); border-radius: 6px; box-shadow: inset 2px 2px 0 #9aa1ad, inset -2px -2px 0 #fff; }

/* ================================================================ INFO: a point-and-click room */
body.info { background: #ffd98a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Crect x='0' width='40' height='120' fill='%23ffcf75'/%3E%3C/svg%3E") 0 0 / 120px; }
.adventure { max-width: 1320px; margin: 30px auto 80px; padding: 0 16px; display: grid; gap: 18px; }
.stage { position: relative; border: 6px solid var(--ink); border-radius: 22px; overflow: hidden; background: #2b2626; box-shadow: 0 12px 0 var(--ink), 0 30px 50px rgba(0, 0, 0, .25); }
.viewport { position: relative; overflow: hidden; }
.cam { position: relative; transform-origin: 0 0; transition: transform .8s cubic-bezier(.6, .05, .25, 1); }
.room-svg { display: block; width: 100%; height: auto; }
.room-svg .night { opacity: 0; transition: opacity .7s; }
.adventure.dark .room-svg .night { opacity: .8; }
.adventure.dark .lamp-desk .glow { opacity: 0; }
.hud-top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 10px; align-items: center; pointer-events: none; z-index: 4; }
.hud-top > * { pointer-events: auto; }
.found { font: 13px var(--pixel); background: var(--ink); color: #fff; padding: 7px 12px; border-radius: 8px; border: 3px solid #fff; }
.found b { color: var(--butter); }
.hud-btn { all: unset; cursor: var(--cur-hand); font: 13px var(--pixel); background: #fff; color: var(--ink); padding: 6px 12px; border-radius: 8px; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.hud-btn:active { translate: 0 3px; box-shadow: 0 1px 0 var(--ink); }
.hud-btn.lights { margin-left: auto; }
.hud-btn:focus-visible { outline: 3px solid var(--yellow); }
/* the adventure-game hover label that follows the cursor */
.label { position: absolute; z-index: 5; left: 0; top: 0; translate: var(--lx, 0) var(--ly, 0); pointer-events: none; font: 14px var(--pixel); color: #fff; background: rgba(43, 38, 38, .88); padding: 5px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; transition: opacity .12s; }
.label.on { opacity: 1; }
.swipe { display: none; }
.hot { cursor: var(--cur-hand); outline: none; animation: beckon 2.8s ease-in-out infinite; }
.hot:nth-of-type(2n) { animation-delay: -1.4s; }
.hot.found { animation: none; }
.hot:hover, .hot:focus-visible, .hot.lit { animation: none; filter: drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff) drop-shadow(0 6px 4px rgba(0, 0, 0, .3)); }
.hot:focus-visible { filter: drop-shadow(4px 0 0 var(--yellow)) drop-shadow(-4px 0 0 var(--yellow)) drop-shadow(0 4px 0 var(--yellow)) drop-shadow(0 -4px 0 var(--yellow)); }
.hot.boing { transform-box: fill-box; transform-origin: 50% 100%; animation: boing .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes beckon { 0%, 72%, 100% { filter: none; } 82% { filter: drop-shadow(0 0 6px rgba(255, 255, 255, .95)) drop-shadow(0 0 16px rgba(255, 222, 95, .95)); } }
@keyframes boing { 30% { transform: scale(1.08, .92); } 60% { transform: scale(.96, 1.05) translateY(-8px); } }
.lamp-desk, .robin, .specimen { cursor: var(--cur-hand); outline: none; }
.lamp-desk:focus-visible, .robin:focus-visible { filter: drop-shadow(0 0 0 var(--yellow)) drop-shadow(3px 0 0 var(--yellow)) drop-shadow(-3px 0 0 var(--yellow)); }
.lamp-desk .glow { animation: glow 4s ease-in-out infinite; transition: opacity .5s; }
@keyframes glow { 50% { opacity: .6; } }
.steam path { animation: steam 2.4s ease-in-out infinite; transform-box: fill-box; }
.steam path:nth-child(2) { animation-delay: -.8s; } .steam path:nth-child(3) { animation-delay: -1.6s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(10px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-16px); } }
.curtain { transform-box: fill-box; transform-origin: 50% 0; animation: curtain 6s ease-in-out infinite alternate; }
.curtain.r { animation-delay: -3s; }
@keyframes curtain { from { transform: skewX(-1.5deg); } to { transform: skewX(1.5deg); } }
.clock line { transform-box: view-box; transform-origin: 1040px 150px; }
.specimen { transform-box: fill-box; transform-origin: 50% 0; }
.specimen:hover { animation: swing .8s ease-in-out; }
@keyframes swing { 25% { transform: rotate(4deg); } 60% { transform: rotate(-3deg); } }
.handset { transform-box: fill-box; transform-origin: 50% 100%; }
.hot[data-note="phone"]:hover .handset { animation: ring .12s linear infinite alternate; }
@keyframes ring { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.ransom { animation: tvflick 4s steps(1) infinite; }
@keyframes tvflick { 0%, 92%, 100% { opacity: 1; } 94%, 97% { opacity: .2; } }
.robin .r-head { transform-box: fill-box; transform-origin: 70% 90%; animation: peck 5s ease-in-out infinite; }
.robin .r-tail { transform-box: fill-box; transform-origin: 0% 20%; animation: flick 3.2s ease-in-out infinite; }
.robin .robin-in { overflow: visible; }
.robin.sing .robin-in > g { animation: hop-now .6s ease-out; transform-box: fill-box; }
@keyframes hop-now { 40% { transform: translateY(-20px) rotate(-6deg); } 100% { transform: none; } }
@keyframes peck { 0%, 30%, 100% { transform: none; } 36% { transform: rotate(-10deg); } 44% { transform: rotate(6deg) translateY(2px); } 52% { transform: none; } 70% { transform: rotate(-4deg); } 76% { transform: none; } }
@keyframes flick { 0%, 80%, 100% { transform: none; } 86% { transform: rotate(-14deg); } 92% { transform: rotate(4deg); } }
.note-pop { position: absolute; z-index: 6; font: 30px var(--display); color: var(--title); pointer-events: none; animation: float-up 1.2s ease-out forwards; text-shadow: 2px 2px 0 #fff; }
/* the bugs that wander the room; click one and it scurries off */
.bug { position: absolute; z-index: 3; width: 3%; min-width: 24px; aspect-ratio: 1; left: 0; top: 0; translate: var(--bx) var(--by); rotate: var(--ba); cursor: var(--cur-hand); transition: translate .5s linear, rotate .3s; }
.bug svg { width: 100%; height: 100%; overflow: visible; }
.bug .legs { animation: legs .18s linear infinite alternate; transform-origin: center; transform-box: fill-box; }
@keyframes legs { to { transform: scaleY(.8) rotate(4deg); } }
.bug.scurry { transition: translate .7s cubic-bezier(.5, 0, .9, .5), rotate .1s; }
.complete { position: absolute; z-index: 6; left: 50%; top: 40%; translate: -50% -50%; display: grid; place-items: center; padding: 18px 40px; background: var(--butter); border: 5px solid var(--ink); border-radius: 18px; box-shadow: 0 8px 0 var(--ink); font: 34px var(--display); color: var(--ink); opacity: 0; scale: .4; pointer-events: none; transition: opacity .3s, scale .5s cubic-bezier(.3, 1.6, .5, 1); }
.complete span { font: 16px var(--pixel); color: var(--red); }
.complete.on { opacity: 1; scale: 1; }
.confetti { position: absolute; z-index: 6; top: -20px; width: 12px; height: 18px; border: 2px solid var(--ink); pointer-events: none; animation: fall 2.6s cubic-bezier(.3, .2, .6, 1) forwards; }
@keyframes fall { to { translate: var(--dx) 900px; rotate: 720deg; } }
/* the console under the room: Rowan talking, and what you've found so far */
.console { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 18px; align-items: stretch; }
.dialog { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: start; padding: 20px 24px; min-height: 170px; background: #fffdf6; border: 5px solid var(--ink); border-radius: 18px; box-shadow: 0 8px 0 var(--ink); }
.dialog::after { content: '▼'; position: absolute; right: 16px; bottom: 10px; font-size: 14px; color: var(--red); animation: blink 1s steps(1) infinite; }
.portrait { width: 96px; aspect-ratio: 1; filter: drop-shadow(3px 0 0 var(--ink)) drop-shadow(-3px 0 0 var(--ink)) drop-shadow(0 3px 0 var(--ink)) drop-shadow(0 -3px 0 var(--ink)); }
.portrait img { width: 100%; height: 100%; object-fit: cover; -webkit-mask: url('flower.svg') center / contain no-repeat; mask: url('flower.svg') center / contain no-repeat; }
.dialog.talk .portrait { animation: talk .25s ease-in-out 6 alternate; }
@keyframes talk { to { transform: translateY(-3px) rotate(-3deg); } }
.speaker { display: block; font: 22px var(--display); color: var(--title); margin-bottom: 4px; }
.line p { font-size: 16.5px; line-height: 1.6; margin: 0 0 10px; }
.line .ch-in { opacity: 0; animation: ch-in .01s forwards; animation-delay: calc(var(--i) * 16ms); }
.dialog.instant .line .ch-in { animation: none; opacity: 1; }
@keyframes ch-in { to { opacity: 1; } }
.line .links { opacity: 0; animation: ch-in .2s forwards; animation-delay: var(--after, 0s); }
.dialog.instant .line .links { animation: none; opacity: 1; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.links a:not(.btn) { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 3px solid var(--ink); border-radius: 30px; background: #fff; text-decoration: none; color: var(--ink); font: 16px var(--chunky); box-shadow: 0 4px 0 var(--ink); transition: translate .12s; }
.links a:not(.btn):hover { translate: 0 -2px; background: var(--butter); }
.links svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--ink); fill: #fff; }
.inventory { padding: 16px 18px 18px; background: #6b4a2e; border: 5px solid var(--ink); border-radius: 18px; box-shadow: 0 8px 0 var(--ink), inset 0 0 0 4px #8a6240; }
.inventory h2 { font: 14px var(--pixel); color: var(--butter); margin-bottom: 10px; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.slot { all: unset; box-sizing: border-box; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: #4a3220; box-shadow: inset 0 4px 0 rgba(0, 0, 0, .35); border: 3px solid #2b1d12; }
.slot .q { font: 18px var(--pixel); color: #8a6240; }
.slot:not(:disabled) { cursor: var(--cur-hand); background: #fff8ea; border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); animation: pop .4s cubic-bezier(.3, 1.6, .5, 1); }
.slot:not(:disabled):hover { background: var(--butter); }
.slot.now { outline: 4px solid var(--yellow); outline-offset: 2px; }
.slot svg { width: 82%; height: 82%; }
.slot:focus-visible { outline: 4px solid var(--yellow); }
.readall { padding: 14px 20px; background: #fffdf6; border: 4px solid var(--ink); border-radius: 14px; }
.readall summary { font: 14px var(--pixel); color: var(--title); }
.readall p { margin: 12px 0 0; }

/* ================================================================ arrivals, page changes, and calm */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .6s ease, transform .9s cubic-bezier(.2, .9, .25, 1.1); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .postcard[data-reveal].in { transform: rotate(-1deg); }
@view-transition { navigation: auto; }
::view-transition { background: #000; }
::view-transition-old(root) { animation: crt-off .34s cubic-bezier(.6, 0, .9, .4) forwards; }
::view-transition-new(root) { animation: crt-on .42s .3s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes crt-off { 0% { transform: none; filter: brightness(1); } 60% { transform: scale(1, .004); filter: brightness(4); } 100% { transform: scale(0, .004); filter: brightness(8); } }
@keyframes crt-on { 0% { transform: scale(0, .004); filter: brightness(8); } 40% { transform: scale(1, .004); filter: brightness(4); } 100% { transform: none; filter: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .tile { transform: none; }
  .burst { display: none; }
}

/* ================================================================ smaller screens */
@media (max-width: 1100px) {
  .rug { flex-direction: column; gap: 14px; padding: 20px 22px 24px; }
  .living { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .living { padding-bottom: 90px; }
  .living::after { display: none; }
  .guide { rotate: 0deg; max-width: 560px; margin: 0 auto; width: 100%; }
  .horse { width: 180px; top: auto; bottom: 30px; }
  .board { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 860px) {
  .ep { grid-template-columns: 1fr; grid-template-areas: "head" "text" "media"; gap: 10px; }
  .ep-title { font-size: 38px; }
  .boddle-logo { font-size: 56px; }
  .t-snapshot-isle .ep-title { font-size: 44px; }
  .t-snapshot-isle .ep-head { padding-right: 110px; }
  .stamp { width: 70px; height: 84px; }
  .postmark { right: 66px; top: 36px; width: 74px; height: 74px; }
  .postcard { padding: 30px 24px; }
  .paint-body { grid-template-columns: 1fr; }
  .side { position: sticky; top: 6px; z-index: 10; grid-template-columns: minmax(0, 1fr) auto; }
  .toolbox { grid-auto-flow: column; grid-auto-columns: minmax(84px, 1fr); overflow-x: auto; }
  .palette { display: none; }
  .selection { grid-template-columns: 1fr; padding: 16px; }
  .selection:nth-child(even) .cover { order: 0; }
  .proc { grid-template-columns: 1fr; }
  .desktop { grid-template-columns: 1fr; }
  .icons { position: static; grid-auto-flow: column; justify-content: start; overflow-x: auto; scrollbar-width: none; }
  .postcard .viewer { margin-top: 10px; }
  .console { grid-template-columns: 1fr; }
  .viewport { overflow-x: auto; scrollbar-width: none; }
  .cam { width: 900px; transition: none; transform: none !important; }
  .swipe { display: block; position: absolute; z-index: 4; left: 50%; bottom: 12px; translate: -50% 0; margin: 0; font: 12px var(--pixel); color: #fff; background: rgba(43, 38, 38, .8); padding: 5px 12px; border-radius: 20px; pointer-events: none; transition: opacity .4s; }
  .adventure.started .swipe { opacity: 0; }
  .label { display: none; }
  .t-jungle-bungler { padding: 150px 14px 150px; }
  .board { inset: 60px 10px 20px; gap: 6px; }
  .hut { width: 80px; }
  .cannon { left: 6%; width: 70px; }
  .neon { font-size: 36px; bottom: 24px; }
  .horse { display: none; }
  .prints { display: none; }
  .node { width: 40px; height: 40px; border-width: 4px; } .node b { font-size: 17px; }
  .xylo { display: none; }
  .scoreboard { font-size: 12px; left: 12px; gap: 8px; padding: 6px 8px; }
  .bee { width: 60px; } .bee.b1 { width: 50px; }
}
@media (max-width: 600px) {
  .remote { padding: 14px 10px 4px; }
  .me { gap: 10px; }
  .headshot { width: 64px; }
  .name { font-size: 29px; }
  .tagline { font-size: 17px; }
  .channels { gap: 8px; width: 100%; }
  .ch { flex: 1; width: auto; height: 58px; }
  .ch span { font-size: 15px; }
  .channels { gap: 6px; }
  .ch { height: 54px; border-width: 3px; }
  .ch.clip { flex: 1.5; }
  .show { padding: 100px 14px 110px; }
  .show.t-boddle { padding: 130px 34px 140px; }
  .ep-title { font-size: 34px; }
  .tv { grid-template-columns: 1fr; padding: 16px; }
  .tv-panel { flex-direction: row; justify-content: center; padding: 8px; gap: 14px; }
  .knob { width: 48px; height: 48px; }
  .grille { width: 60px; height: 40px; }
  .tv .perched { width: 120px; top: -54px; }
  .tv-title span { font-size: 22px; }
  .osd { font-size: 18px; }
  .panel, .sketch, .crate, .lid, .menu { padding: 26px 18px; }
  .menu { padding-top: 60px; }
  .breaker { right: 12px; }
  .hud { top: 62px; }
  .vf .meta, .vf .rec { left: calc(3vw + 74px); } .vf .count, .vf .batt { right: calc(3vw + 74px); }
  .vf .c { width: 50px; height: 50px; }
  .vf .meta { display: none; }
  .canvas { padding: 20px 14px 26px; }
  .layer-h { font-size: 26px; }
  .menubar { gap: 12px; font-size: 11px; overflow: hidden; }
  .titlebar { font-size: 13px; }
  .tile { width: 100%; }
  .dialog { grid-template-columns: 64px minmax(0, 1fr); padding: 16px; gap: 12px; }
  .portrait { width: 64px; }
  .tasks .task { flex-basis: 110px; }
}

/* ---- jumping into a show from the TV: its screen grows to fill the window, crackling */
.tv-zoom { position: fixed; z-index: 95; border-radius: 46px / 38px; background: #000 center / cover; border: 7px solid var(--ink); overflow: hidden; transition: left .6s cubic-bezier(.6, 0, .3, 1), top .6s cubic-bezier(.6, 0, .3, 1), width .6s cubic-bezier(.6, 0, .3, 1), height .6s cubic-bezier(.6, 0, .3, 1), border-radius .6s, opacity .45s; }
.tv-zoom .static { opacity: .55; }
.tv-zoom.go { left: 0 !important; top: 0 !important; width: 100vw !important; height: 100vh !important; border-radius: 0; border-width: 0; }
.tv-zoom.out { opacity: 0; }

/* ---- the paint window behaves like a window: minimise to its title bar, maximise to fill the screen, close (an
   icon on the wallpaper opens it again), and on big screens drag it by its title bar */
.paint.minimised .menubar, .paint.minimised .paint-body, .paint.minimised .statusbar { display: none; }
.paint.maxed { position: fixed; inset: 8px; z-index: 70; overflow: auto; translate: none; border-radius: 16px; }
.paint.maxed .side { top: 0; }
.paint.closed { display: none; }
.paint.puff { animation: puff .3s ease-in forwards; }
.paint.dragging { z-index: 40; }
@media (hover: hover) and (min-width: 1000px) { .titlebar { cursor: grab; } .paint.dragging .titlebar { cursor: grabbing; } }
.titlebar { touch-action: none; user-select: none; }
.desk-icon { all: unset; cursor: var(--cur-hand); display: grid; justify-items: center; gap: 6px; width: 110px; margin: 10px 0 0 10px; color: #fff; font: 12px/1.3 var(--pixel); text-align: center; text-shadow: 1px 1px 0 rgba(0, 0, 0, .7); }
.desk-icon .di { width: 58px; height: 50px; border: 3px solid var(--ink); border-radius: 6px; background: conic-gradient(var(--red) 0 25%, var(--yellow) 0 50%, var(--green) 0 75%, var(--sky) 0); box-shadow: 3px 4px 0 rgba(0, 0, 0, .35); animation: pop .4s cubic-bezier(.3, 1.6, .5, 1); }
.desk-icon:hover .di { translate: 0 -4px; }
.desk-icon:focus-visible span:last-child, .desk-icon:hover span:last-child { background: #1838a8; }

/* ---- the big galleries show two rows, then a button opens the rest */
.gallery.fold.shut { max-height: var(--fold, 520px); overflow: hidden; -webkit-mask: linear-gradient(#000 calc(100% - 90px), transparent); mask: linear-gradient(#000 calc(100% - 90px), transparent); }
.fold-btn { display: flex; justify-content: center; margin-top: 14px; }
.fold-btn .btn { --b: var(--accent); --f: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.fold-btn .btn::after { content: ' ▾'; }
.fold-btn.open .btn::after { content: ' ▴'; }

/* ---- featured projects: each its own colour, numbered like a layer, the cover taped on at a tilt */
.selection { --t: #8fd14f; --tb: #eef9e2; background: var(--tb); border-radius: 18px; padding: 26px; }
.selection.s1 { --t: #2ec4b6; --tb: #e0f7f4; } .selection.s2 { --t: #54a8ee; --tb: #e3f0fd; }
.selection::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--t) 35%, transparent) 1.5px, transparent 2px) 0 0 / 16px 16px; opacity: .8; }
.selection .cover { position: relative; overflow: visible; border-radius: 6px; rotate: -2.5deg; box-shadow: 10px 10px 0 var(--t), 0 14px 24px rgba(0, 0, 0, .2); transition: rotate .35s cubic-bezier(.3, 1.6, .5, 1), translate .35s cubic-bezier(.3, 1.6, .5, 1); }
.selection .cover img { border-radius: 3px; }
.selection:nth-child(even) .cover { rotate: 2.5deg; }
.selection:hover .cover, .selection:nth-child(even):hover .cover { rotate: 0deg; translate: 0 -6px; }
.tapebit { position: absolute; z-index: 2; left: 50%; top: -14px; width: 110px; height: 28px; margin-left: -55px; background: color-mix(in srgb, var(--t) 55%, #fff); opacity: .9; rotate: -4deg; box-shadow: 0 2px 3px rgba(0, 0, 0, .15);
  -webkit-mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent 0) , repeating-linear-gradient(#000 0 4px, transparent 4px 6px); }
.layer-tag { display: inline-block; font: 11px var(--pixel); color: #fff; background: var(--t); padding: 4px 10px; border-radius: 20px; border: 3px solid var(--ink); margin-bottom: 10px; }
.selection h3 { font-size: 32px; text-shadow: 3px 3px 0 color-mix(in srgb, var(--t) 45%, transparent); }
.selection .btn.go { --b: var(--t); }
.sel-text { position: relative; }

/* ---- creative coding: each piece at the size it was made for; the two CSS animations side by side */
.pen .frames { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.pen iframe { height: 646px; }

/* ---- Design: Rowan's wallpaper behind the desktop */
body.design { background: #1d1a10 url('../media/bg-desktop.webp') center / cover fixed; }
body.design::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle, rgba(0, 0, 0, .18) 1px, transparent 1.5px) 0 0 / 4px 4px; }
.dicon span { background: rgba(0, 0, 0, .45); }

/* ---- Clippings' wordmark, as on its own home page: "Clip" in cut-out letters, "pings" in blackletter */
.clip-word { display: inline-flex; align-items: center; gap: .04em; line-height: 1; white-space: nowrap; }
.clip-word .cut { display: inline-flex; }
.clip-word .cut i { font-style: normal; display: inline-block; padding: .1em .13em .05em; line-height: 1; font-size: .9em; filter: drop-shadow(1px 1.5px 0 rgba(29, 26, 26, .3)); }
.clip-word .bubble { display: inline-block; font: 1.12em/1 'UnifrakturMaguntia', 'Old English Text MT', serif; color: #1d1a1a; text-shadow: 2px 2px 0 rgba(178, 48, 29, .35); }
.clip-word .bubble::first-letter { color: #e8333a; }
.ch.clip .clip-word { font-size: 15px; }
.guide li.late .clip-word { font-size: 20px; }
.guide li.late .bubble { color: #f1ead8; }
.btn.clip-btn { --b: #f1ead8; --f: #1d1a1a; gap: 10px; }
.btn.clip-btn .clip-word { font-size: 20px; }

/* ---- the TV's little wooden table in the cornfield */
.tv-stand { position: relative; height: 120px; margin: -6px 26px 0; }
.tv-stand .top { position: absolute; left: 0; right: 0; top: 0; height: 24px; border: 5px solid var(--ink); border-radius: 8px; background: linear-gradient(#c98a52, #a86f3d); box-shadow: 0 6px 0 rgba(0, 0, 0, .25); z-index: 2; }
.tv-stand .shelf { position: absolute; left: 7%; right: 7%; top: 64px; height: 18px; border: 4px solid var(--ink); border-radius: 4px; background: #9b6a3c; display: flex; gap: 6px; padding: 0 14px; align-items: flex-end; }
.tv-stand .shelf b { width: 34px; height: 26px; margin-bottom: 14px; background: #1c1a1a; border: 3px solid var(--ink); border-radius: 3px; box-shadow: inset 0 -8px 0 #f5585c; }
.tv-stand .shelf b:nth-child(2) { box-shadow: inset 0 -8px 0 #fcc308; } .tv-stand .shelf b:nth-child(3) { box-shadow: inset 0 -8px 0 #54a8ee; }
.tv-stand .leg { position: absolute; top: 18px; bottom: 0; width: 18px; border: 4px solid var(--ink); border-radius: 4px; background: #8a5a33; }
.tv-stand .leg.l { left: 4%; rotate: 4deg; transform-origin: top; } .tv-stand .leg.r { right: 4%; rotate: -4deg; transform-origin: top; }

/* ---- bees: the body stays, a copy of the wing flaps (a fast blur, like a real bee's) */
.bee { width: 92px; aspect-ratio: 520 / 341; }
.bee img { position: absolute; inset: 0; width: 100%; height: 100%; animation: none; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)) drop-shadow(0 14px 10px rgba(0, 0, 0, .4)); transition: none; }
.bee .bod { animation: buzz .12s linear infinite alternate;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 341' preserveAspectRatio='none'%3E%3Cpath fill-rule='evenodd' d='M0 0H520V341H0Z M228 0 L520 0 L520 90 L440 82 L300 58 L238 42Z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 341' preserveAspectRatio='none'%3E%3Cpath fill-rule='evenodd' d='M0 0H520V341H0Z M228 0 L520 0 L520 90 L440 82 L300 58 L238 42Z'/%3E%3C/svg%3E") 0 0 / 100% 100%; }
.bee .wing { clip-path: polygon(43.8% 0, 100% 0, 100% 26.4%, 84.6% 24%, 57.7% 17%, 45.8% 12.3%); transform-origin: 45% 10%; animation: flap .07s linear infinite alternate; filter: blur(.3px) drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); opacity: .92; }
@keyframes flap { from { transform: rotate(-26deg) scaleY(.9); } to { transform: rotate(8deg); } }
.bee:hover .wing { animation-duration: .035s; }
.bee:hover .bod { animation-duration: .06s; }
.bee:hover img { transform: none; }
.bee.b0 .bod, .bee.b0 .wing { scale: -1 1; }

/* ---- butterflies stay put; a hover just makes them flap faster */
.bfly { pointer-events: auto; }
.bfly .wing { animation-duration: 3.4s; }
.bfly:hover .wing { animation-duration: .7s !important; }
.postcard .bfly { position: absolute; z-index: 4; }
.postcard .b1 { left: auto; right: 132px; top: -44px; width: 96px; aspect-ratio: 700 / 620; rotate: -8deg; }
.postcard .b2 { left: -36px; top: auto; bottom: 90px; width: 84px; aspect-ratio: 700 / 546; rotate: -96deg; }
.postcard .b2 .wing { animation-duration: 4.1s; animation-delay: -1.6s; }

/* ---- the taskbar's buttons show their whole name */
.task { flex: 0 0 auto; max-width: none; }

/* ---- Art sits on a desktop with a taskbar, like Design */
body.art { padding-bottom: 50px; }
.desktop.room-art { max-width: 1340px; }
.menubar .mb-back { margin-right: 8px; padding: 2px 10px; border: 3px solid var(--ink); border-radius: 6px; background: var(--butter); color: var(--ink); text-decoration: none; font: 13px var(--pixel); box-shadow: 0 3px 0 var(--ink); }
.menubar .mb-back:hover { background: #fff; }
.menubar span:first-letter { text-decoration: underline; }

/* ---- featured covers at their own proportions */
.selection .cover { justify-self: center; width: fit-content; max-width: 100%; }
.selection .cover img { width: auto; max-width: 100%; max-height: 640px; height: auto; object-fit: contain; }
.hint.low { top: auto; bottom: 26px; }

/* ---- the remote keys' lights are little domes sitting on top of each key */
.ch::after { top: -11px; width: 18px; height: 10px; margin-left: -9px; border-radius: 10px 10px 2px 2px; border: 2px solid var(--ink); border-bottom-width: 3px;
  background: radial-gradient(ellipse at 35% 30%, rgba(255, 255, 255, .45) 0 25%, transparent 30%), #5b1d1d; }
.ch[aria-current]::after { background: radial-gradient(ellipse at 35% 30%, rgba(255, 255, 255, .8) 0 25%, transparent 30%), #ff3b30; box-shadow: 0 -2px 10px 3px rgba(255, 59, 48, .75); }
.dicon span { overflow-wrap: anywhere; }
/* the Clippings key is the widest: its hover wobble stays small so the word stays on the key */
.ch.clip:hover > span { animation: squish-sm .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes squish-sm { 30% { transform: scale(1.06, .94); } 60% { transform: scale(.97, 1.04); } }

/* ---- the Info room as cut paper: each piece a separate layer with a scissor edge and a shadow beneath */
.papers > g, .papers > image, .papers > rect:not(:first-child) { filter: url(#rm-cut); }
.papers > rect:nth-child(-n + 3) { filter: none; }
.papers > .hot:hover, .papers > .hot:focus-visible, .papers > .hot.lit { filter: url(#rm-cut) drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff); }
.papers > .hot:focus-visible { filter: url(#rm-cut) drop-shadow(4px 0 0 var(--yellow)) drop-shadow(-4px 0 0 var(--yellow)) drop-shadow(0 4px 0 var(--yellow)) drop-shadow(0 -4px 0 var(--yellow)); }
@keyframes beckon { 0%, 72%, 100% { filter: url(#rm-cut); } 82% { filter: url(#rm-cut) drop-shadow(0 0 6px rgba(255, 255, 255, .95)) drop-shadow(0 0 16px rgba(255, 222, 95, .95)); } }
/* the lit dome blinks by glowing, never by fading: lit, its outline brightens too (the base line stays dark) */
.ch[aria-current]::after { animation: dome 1.6s steps(1) infinite; }
@keyframes dome {
  0% { background: radial-gradient(ellipse at 35% 30%, rgba(255, 255, 255, .85) 0 25%, transparent 30%), #ff3b30; box-shadow: 0 -2px 10px 3px rgba(255, 59, 48, .75); }
  50% { background: radial-gradient(ellipse at 35% 30%, rgba(255, 255, 255, .35) 0 25%, transparent 30%), #8a1d18; box-shadow: none; }
}

/* ---- the TV's table is close to you: big, wider than the TV, its legs running off the bottom of the scene */
.living { padding-bottom: 0; align-items: end; }
.living .guide { margin-bottom: 120px; align-self: center; }
.tv-stand { height: 300px; margin: -8px -60px 0; }
.tv-stand .top { height: 54px; border-width: 6px; border-radius: 10px 10px 6px 6px;
  background: linear-gradient(#d39a5e 0 34%, #8a5a33 34% 38%, #b07a46 38%); box-shadow: 0 10px 0 rgba(0, 0, 0, .22); }
.tv-stand .shelf { top: 150px; left: 9%; right: 9%; height: 26px; border-width: 5px; }
.tv-stand .shelf b { width: 48px; height: 36px; margin-bottom: 20px; }
.tv-stand .leg { top: 44px; bottom: -10px; width: 36px; border-width: 6px; background: linear-gradient(90deg, #9b6a3c, #7d5230); }
.tv-stand .leg.l { left: 5%; rotate: 0deg; } .tv-stand .leg.r { right: 5%; rotate: 0deg; }
@media (max-width: 1100px) { .living .guide { margin-bottom: 0; } .tv-stand { height: 200px; margin: -8px -20px 0; } .tv-stand .shelf { top: 110px; } }

/* ---- bees, take two: the whole bee stays as photographed; a see-through copy of its wing beats from the wing's root
   (so it never comes loose), and one soft shadow under the whole bee */
.bee { filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .3)); }
.bee img { filter: none; }
.bee .bod { -webkit-mask: none; mask: none; }
.bee .wing { transform-origin: 44% 9%; opacity: .7; animation: flap2 .06s linear infinite alternate; filter: blur(.4px); }
@keyframes flap2 { from { transform: rotate(-13deg) scaleY(.92); } to { transform: rotate(3deg); } }
.bee:hover .wing { animation-duration: .03s; }

/* ---- the TV's knobs: the dial turns, its base and shadow stay put */
.knob { background: #8f887b; rotate: none !important; }
.knob::after { content: none; }
.knob .dial { position: absolute; inset: 4px; border-radius: 50%; background: repeating-conic-gradient(#d8d2c4 0 8deg, #b5ae9f 8deg 16deg); transition: rotate .3s cubic-bezier(.3, 1.5, .5, 1); }
.knob .dial::after { content: ''; position: absolute; left: 50%; top: 2px; width: 6px; height: 18px; margin-left: -3px; background: var(--red); border-radius: 3px; border: 2px solid var(--ink); }
.knob:hover { scale: 1.04; }

/* ---- Boddle back in the pine forest: a little haze, sparkling motes, and the gems glowing among the trees */
.t-boddle .photo.forest { filter: saturate(1.15) brightness(1.05); }
.t-boddle .set::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 15% 25%, rgba(255, 250, 200, .9) 0 1.5px, transparent 2.5px) 0 0 / 110px 110px, radial-gradient(circle at 60% 70%, rgba(255, 250, 200, .7) 0 1.5px, transparent 2.5px) 0 0 / 150px 150px, radial-gradient(ellipse at 50% 60%, transparent 35%, rgba(10, 30, 20, .4)); animation: motes 14s linear infinite; }
.t-boddle .hud span::before { content: ''; display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: -2px; rotate: 45deg; border-radius: 4px; border: 3px solid var(--ink); background: var(--teal); -webkit-text-stroke: 0; font-size: 0; }
/* the keys' hover bounce is for the key's own label only, never the pieces inside the Clippings logo */
.ch:hover span { animation: none; }
.ch:hover > span { animation: squish .45s cubic-bezier(.3, 1.6, .5, 1); }
.ch.clip:hover > span { animation: squish-sm .45s cubic-bezier(.3, 1.6, .5, 1); }
/* the TV stand: about as wide as the TV, and chunkier */
.tv-stand { margin: -8px -14px 0; }
.tv-stand .top { height: 84px; border-width: 7px; background: linear-gradient(#d39a5e 0 30%, #8a5a33 30% 34%, #b07a46 34%); }
.tv-stand .leg { top: 70px; width: 58px; border-width: 7px; }
.tv-stand .leg.l { left: 7%; } .tv-stand .leg.r { right: 7%; }
.tv-stand .shelf { top: 176px; left: 12%; right: 12%; height: 32px; }
@media (max-width: 1100px) { .tv-stand { margin: -8px -6px 0; } .tv-stand .top { height: 60px; } .tv-stand .leg { top: 50px; width: 40px; } .tv-stand .shelf { top: 120px; } }

/* ---- the Program Guide as a real printed sheet: paper grain, no outline, a soft shadow, a folded-down corner
   (the cornfield shows where the corner was) and a header printed in slightly faded red ink */
.guide { --fold: 44px; border: 0; background: none; box-shadow: none; isolation: isolate; filter: drop-shadow(0 2px 1px rgba(40, 25, 10, .25)) drop-shadow(8px 14px 14px rgba(20, 15, 5, .35)); }
.guide::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 2px;
  background: url('../media/fx-paper.webp') 0 0 / 320px, linear-gradient(170deg, #fbf5e6, #efe5cd); background-blend-mode: multiply;
  clip-path: polygon(0 0, calc(100% - var(--fold)) 0, 100% var(--fold), 100% 100%, 0 100%); }
.guide::after { right: 0; top: 0; width: var(--fold); height: var(--fold); border: 0; z-index: 3;
  background: linear-gradient(225deg, transparent 50%, #ddd0b2 50%, #cdbf9e); filter: drop-shadow(-3px 4px 3px rgba(40, 25, 10, .3)); }
.guide h2 { border-bottom: 0; background: url('../media/fx-paper.webp') 0 0 / 320px, #d8443a; background-blend-mode: multiply; color: #fbf1dd; text-shadow: none;
  clip-path: polygon(0 0, calc(100% - var(--fold)) 0, 100% var(--fold), 100% 100%, 0 100%); }
.guide h2 small { color: #ffe08a; }
.guide time { background: #2b2626; border-radius: 3px; opacity: .92; }
.guide a:hover { background: rgba(252, 195, 8, .35); }
.guide li + li { border-top: 1.5px dashed rgba(43, 38, 38, .35); }
.guide li.late a { background: #2b2626; }
/* the Clippings key bounces like the others: the same squash and stretch up and down, a little less sideways */
.ch.clip:hover > span { animation: squish-clip .45s cubic-bezier(.3, 1.6, .5, 1); transform-origin: 50% 60%; }
@keyframes squish-clip { 30% { transform: scale(1.12, .8); } 60% { transform: scale(.95, 1.12); } }

/* ---- the TV stand as real wood, in 3D: a lit top surface you see going back, a shaded front edge with long grain,
   rounded legs (and a darker back pair further away), soft shadows instead of outlines */
.tv-stand { --grain: repeating-linear-gradient(90deg, rgba(70, 35, 10, .16) 0 1.5px, transparent 1.5px 7px, rgba(255, 225, 180, .1) 7px 9px, transparent 9px 19px, rgba(70, 35, 10, .1) 19px 21px, transparent 21px 31px);
  --grain-v: repeating-linear-gradient(0deg, rgba(70, 35, 10, .16) 0 1.5px, transparent 1.5px 7px, rgba(255, 225, 180, .1) 7px 9px, transparent 9px 19px); }
.tv-stand .top { border: 0; border-radius: 6px; height: 84px; overflow: visible; background: none; box-shadow: none; }
/* the top surface, seen from a little above: lit, narrowing towards the back */
.tv-stand .top::before { content: ''; position: absolute; left: 0; right: 0; top: -26px; height: 30px; clip-path: polygon(3% 0, 97% 0, 100% 100%, 0 100%);
  background: var(--grain), url('../media/fx-paper.webp') 0 0 / 320px, linear-gradient(#e7b57a, #cf9658); background-blend-mode: normal, multiply, normal; }
/* the front edge: darker, the grain running along it, a soft highlight on its top lip */
.tv-stand .top::after { content: ''; position: absolute; inset: 4px 0 0; border-radius: 3px 3px 8px 8px;
  background: linear-gradient(rgba(255, 220, 170, .45) 0 3px, transparent 3px), var(--grain-v), url('../media/fx-paper.webp') 0 0 / 320px, linear-gradient(#b67b42, #8a5a2e 70%, #6e4522);
  background-blend-mode: normal, normal, multiply, normal; box-shadow: 0 14px 18px rgba(30, 15, 5, .45), inset 0 -6px 10px rgba(40, 20, 5, .35); }
.tv-stand .leg { border: 0; border-radius: 6px 6px 10px 10px; width: 58px; top: 80px;
  background: linear-gradient(90deg, #5c3a1c, #a8713c 30%, #c48850 45%, #8a5a2e 75%, #5c3a1c), var(--grain-v); background-blend-mode: normal;
  box-shadow: 6px 0 14px rgba(30, 15, 5, .35); }
.tv-stand .leg::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--grain-v), url('../media/fx-paper.webp') 0 0 / 320px; mix-blend-mode: multiply; opacity: .7; }
/* the back legs, further away: shorter, darker, tucked in */
.tv-stand::before, .tv-stand::after { content: ''; position: absolute; top: 60px; bottom: -10px; width: 44px; border-radius: 6px; z-index: -1;
  background: linear-gradient(90deg, #3e2612, #6e4522 45%, #3e2612); filter: brightness(.8); }
.tv-stand::before { left: 17%; } .tv-stand::after { right: 17%; }
.tv-stand .shelf { border: 0; border-radius: 4px; height: 30px; top: 186px;
  background: linear-gradient(rgba(255, 220, 170, .35) 0 2px, transparent 2px), var(--grain-v), linear-gradient(#a06a38, #6e4522); box-shadow: 0 10px 14px rgba(30, 15, 5, .4); }
.tv-stand .shelf b { border: 0; border-radius: 2px; box-shadow: inset 0 -9px 0 #f5585c, 2px -2px 5px rgba(0, 0, 0, .35); background: linear-gradient(90deg, #111, #2c2a2a 50%, #111); }
.tv-stand .shelf b:nth-child(2) { box-shadow: inset 0 -9px 0 #fcc308, 2px -2px 5px rgba(0, 0, 0, .35); }
.tv-stand .shelf b:nth-child(3) { box-shadow: inset 0 -9px 0 #54a8ee, 2px -2px 5px rgba(0, 0, 0, .35); }
@media (max-width: 1100px) { .tv-stand .leg { top: 56px; width: 40px; } .tv-stand .shelf { top: 130px; } .tv-stand::before, .tv-stand::after { top: 44px; width: 30px; } }

/* ---- Boddle's elemental shards (lightning, earth, water, fire) floating among the pines, glowing */
.gem.shard { width: calc(66px * var(--s)); aspect-ratio: auto; height: auto; border: 0; border-radius: 0; rotate: none; background: none; box-shadow: none;
  filter: drop-shadow(0 0 10px rgba(255, 245, 190, .75)) drop-shadow(0 8px 8px rgba(0, 0, 0, .3)); }
.gem.shard img { width: 100%; display: block; }
.gem.shard:nth-of-type(2n) { rotate: 12deg; } .gem.shard:nth-of-type(3n) { rotate: -10deg; }

/* ================================================================ the TV and its table as real 3D wooden boxes
   Both are veneered in a real wood photo and drawn the same way: a front, a lit top going back to the right and a
   shaded right side (the same angle on both, so they sit in one space). No black outlines: light and shade only.
   The table's top runs behind the TV (the TV stands on it), so nothing covers the TV. */
.living .tv { z-index: 2; border: 0; border-radius: 14px; background: linear-gradient(180deg, rgba(255, 225, 180, .16), rgba(0, 0, 0, .16)), url('../media/tex-wood.webp') center / cover;
  box-shadow: inset 0 3px 0 rgba(255, 228, 190, .45), inset 0 -10px 16px rgba(30, 10, 0, .45), inset 3px 0 0 rgba(255, 228, 190, .14), -6px 10px 18px rgba(20, 10, 0, .25); }
.living .tv::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 34px; border-radius: 12px 12px 0 0; transform-origin: 0 100%; transform: skewX(-50deg);
  background: linear-gradient(rgba(255, 232, 195, .38), rgba(255, 232, 195, .14)), url('../media/tex-wood.webp') center / cover; box-shadow: inset 0 2px 0 rgba(255, 240, 215, .5); }
.living .tv::after { content: ''; position: absolute; top: 0; left: 100%; width: 40px; height: 100%; border-radius: 0 12px 12px 0; transform-origin: 0 0; transform: skewY(-40deg);
  background: linear-gradient(90deg, rgba(20, 8, 0, .6), rgba(20, 8, 0, .38)), url('../media/tex-wood-v.webp') center / cover; }
.living .tv .screen { border-color: #1a1412; box-shadow: 0 0 0 5px #3b2a1e, 0 0 0 7px rgba(255, 228, 190, .25); }
.living .tv-panel { border: 0; background: rgba(0, 0, 0, .2); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35), 0 1px 0 rgba(255, 228, 190, .2); }
.living .antenna { bottom: calc(100% + 17px); left: calc(50% + 20px); }
.living .tv .perched { top: -104px; right: 10%; }

/* the table: the TV stands on its top, which runs back behind it */
.living .tv-stand { position: relative; z-index: 1; height: 300px; margin: 20px 4px 0 -8px; }
.living .tv-stand .top { position: absolute; inset: 0 0 auto 0; height: 54px; border: 0; border-radius: 4px 4px 8px 8px; overflow: visible; z-index: 2;
  background: linear-gradient(rgba(255, 228, 190, .4) 0 3px, transparent 3px, rgba(0, 0, 0, .32)), url('../media/tex-wood.webp') center / cover; box-shadow: 0 16px 20px rgba(20, 10, 0, .45); }
.living .tv-stand .top::before { content: ''; position: absolute; inset: auto 0 100% 0; top: auto; height: 34px; border-radius: 6px 6px 0 0; clip-path: none; transform-origin: 0 100%; transform: skewX(-50deg);
  background: linear-gradient(rgba(255, 232, 195, .34), rgba(255, 232, 195, .1)), url('../media/tex-wood.webp') center / cover; background-blend-mode: normal; box-shadow: none; }
.living .tv-stand .top::after { content: ''; position: absolute; inset: 0 auto auto 100%; width: 40px; height: 100%; border-radius: 0 6px 8px 0; transform-origin: 0 0; transform: skewY(-40deg);
  background: linear-gradient(90deg, rgba(20, 8, 0, .62), rgba(20, 8, 0, .4)), url('../media/tex-wood-v.webp') center / cover; background-blend-mode: normal; box-shadow: none; }
.living .tv-stand .leg { top: 50px; bottom: -10px; width: 52px; border: 0; border-radius: 4px; rotate: none; z-index: 1; box-shadow: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(255, 222, 175, .16) 38%, rgba(0, 0, 0, .1) 60%, rgba(0, 0, 0, .5)), url('../media/tex-wood-v.webp') center / cover; }
.living .tv-stand .leg::after { content: none; }
.living .tv-stand .leg.l { left: 7%; } .living .tv-stand .leg.r { right: 7%; }
/* the back legs, one depth further back: up and to the right, in shadow */
.living .tv-stand::before, .living .tv-stand::after { content: ''; position: absolute; top: 20px; bottom: -10px; width: 46px; border-radius: 4px; z-index: 0; filter: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .42)), url('../media/tex-wood-v.webp') center / cover; }
.living .tv-stand::before { left: calc(7% + 40px); } .living .tv-stand::after { left: auto; right: calc(7% - 40px); }
.living .tv-stand .shelf { display: none; }
@media (max-width: 1100px) {
  .living .tv-stand { height: 200px; }
  .living .tv-stand .leg { width: 40px; } .living .tv-stand::before, .living .tv-stand::after { width: 34px; }
}
@media (max-width: 600px) {
  .living .tv::before { height: 20px; } .living .tv::after { width: 24px; }
  .living .tv-stand .top::before { height: 20px; } .living .tv-stand .top::after { width: 24px; }
  .living .tv-stand::before { left: calc(7% + 24px); } .living .tv-stand::after { right: calc(7% - 24px); }
  .living .antenna { bottom: calc(100% + 10px); left: calc(50% + 12px); }
}
.t-boddle .hud span::before { width: 22px; height: 22px; border: 0; border-radius: 0; rotate: none; vertical-align: -5px; background: url('../media/deco-shard-lightning.webp') center / contain no-repeat; }

/* ---- Snapshot Isle: the stamp shows one of the island's landmarks, and casts a little shadow on the postcard
   (the shadow sits on a wrapper, so the stamp's perforated edge doesn't cut it off) */
.stamp-wrap { position: absolute; top: 24px; right: 26px; z-index: 2; rotate: 4deg; filter: drop-shadow(1px 2px 1px rgba(40, 30, 20, .35)) drop-shadow(3px 6px 6px rgba(40, 30, 20, .3)); }
.stamp-wrap .stamp { position: static; display: block; rotate: none; filter: none; }
/* the butterflies sit on the postcard the way butterflies do: upright-ish, never on their side, off the words */
.postcard .b1 { right: 128px; top: -46px; rotate: -10deg; }
.postcard .b2 { left: auto; right: 42px; top: auto; bottom: -30px; rotate: 12deg; }
@media (max-width: 860px) { .stamp-wrap { width: 70px; } .postcard .b1 { right: 96px; width: 70px; } .postcard .b2 { width: 64px; } }

/* ---- Glorbo's Kingdom, playable: the game strip across the top of the show, the card beneath */
.show.t-glorbo-s-kingdom { padding-bottom: 110px; background: #bfeaff; cursor: auto; }
.t-glorbo-s-kingdom .set { position: relative; inset: auto; z-index: 1; max-width: 1240px; margin: 0 auto 34px; background: none; }
.glorbo-game { position: relative; border: 4px solid var(--ink); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; overflow: hidden; box-shadow: 7px 9px 0 var(--ink); background: #8fd8f5; }
.gg-canvas { display: block; width: 100%; aspect-ratio: 3 / 1; cursor: crosshair; touch-action: none; }
.gg-bubble, .gg-over { position: absolute; left: 50%; top: 50%; translate: -50% -50%; max-width: 560px; padding: 18px 24px 16px; background: #fff; border: 4px solid var(--ink); border-radius: 26px 10px 24px 12px; box-shadow: 5px 6px 0 var(--ink); text-align: center; font: 26px/1.25 'Gochi Hand', var(--display); color: var(--ink); }
.gg-bubble img { display: inline; height: 1.3em; vertical-align: middle; }
.gg-bubble p, .gg-over p { margin: 0 0 10px; }
.gg-ok, .gg-again { all: unset; cursor: var(--cur-hand); font: 22px 'Gochi Hand', var(--display); padding: 4px 20px; border: 3px solid var(--ink); border-radius: 14px 6px 12px 6px; background: #ffd34d; box-shadow: 0 4px 0 var(--ink); }
.gg-ok:active, .gg-again:active { translate: 0 3px; box-shadow: 0 1px 0 var(--ink); }
.gg-hint { position: absolute; left: 14px; bottom: 10px; margin: 0; display: flex; align-items: center; gap: 6px; font: 18px 'Gochi Hand', var(--display); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); pointer-events: none; transition: opacity .4s; }
.gg-hint img { height: 32px; }
.glorbo-game:not(.playing) .gg-hint { opacity: 0; }
@media (max-width: 860px) { .gg-canvas { aspect-ratio: 16 / 10; } .gg-bubble, .gg-over { font-size: 19px; max-width: 88%; padding: 12px 14px; } }

/* ---- the end of the night: full SMPTE colour bars (the bars, the reversed strip, the bottom blocks), a running
   clock, scanlines and a faint flicker, with the station's sign-off card on top */
.offair { position: relative; padding: 0; border-top: 6px solid var(--ink); background: #000; overflow: hidden; }
.smpte { position: relative; display: grid; grid-template-rows: 67fr 8fr 25fr; height: min(78vh, 640px); min-height: 460px; animation: tc-flicker 6s steps(1) infinite; }
.smpte > div { display: flex; }
.smpte i { flex: 1; }
.bars-top i:nth-child(1) { background: #c0c0c0; } .bars-top i:nth-child(2) { background: #c0c000; } .bars-top i:nth-child(3) { background: #00c0c0; }
.bars-top i:nth-child(4) { background: #00c000; } .bars-top i:nth-child(5) { background: #c000c0; } .bars-top i:nth-child(6) { background: #c00000; } .bars-top i:nth-child(7) { background: #0000c0; }
.bars-mid i:nth-child(1) { background: #0000c0; } .bars-mid i:nth-child(2) { background: #131313; } .bars-mid i:nth-child(3) { background: #c000c0; }
.bars-mid i:nth-child(4) { background: #131313; } .bars-mid i:nth-child(5) { background: #00c0c0; } .bars-mid i:nth-child(6) { background: #131313; } .bars-mid i:nth-child(7) { background: #c0c0c0; }
.bars-low i:nth-child(1) { flex: 1.25; background: #00214c; } .bars-low i:nth-child(2) { flex: 1.25; background: #fff; } .bars-low i:nth-child(3) { flex: 1.25; background: #32006a; }
.bars-low i:nth-child(4) { flex: 1.25; background: #131313; } .bars-low i:nth-child(5) { flex: .33; background: #090909; } .bars-low i:nth-child(6) { flex: .33; background: #131313; }
.bars-low i:nth-child(7) { flex: .33; background: #1d1d1d; } .bars-low i:nth-child(8) { flex: 1; background: #131313; }
.smpte::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(transparent 0 2px, rgba(0, 0, 0, .18) 2px 4px), radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .45)); }
@keyframes tc-flicker { 0%, 100% { filter: none; } 47% { filter: brightness(1.06); } 48% { filter: brightness(.94); } 49% { filter: none; } }
.tc-clock { position: absolute; z-index: 2; right: 3vw; top: 22px; font: 22px var(--pixel); color: #fff; background: rgba(0, 0, 0, .55); padding: 4px 10px; letter-spacing: .08em; }
.offair .testcard { position: absolute; inset: 0; display: grid; place-items: center; max-width: none; padding: 20px; }
.tc-card { display: grid; justify-items: center; gap: 10px; width: min(560px, 92%); padding: 26px 30px 24px; border-radius: 50% / 22%; background: radial-gradient(circle, #1b1b1b, #000);
  border: 6px solid #fff; box-shadow: 0 0 0 10px #000, 0 0 0 13px #fff, 0 20px 50px rgba(0, 0, 0, .6); color: #fff; text-align: center; }
.tc-station { margin: 0; font: 44px/1 var(--pixel); letter-spacing: .14em; color: #fff; text-shadow: 3px 0 0 #e81818, -3px 0 0 #00e5e5; }
.tc-card .sign { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; color: #fff; font: 28px var(--display); }
.tc-small { margin: 0; font: 13px var(--pixel); color: #bbb; letter-spacing: .06em; }
.tc-card .buttons { justify-content: center; margin-top: 8px; }
@media (max-width: 600px) { .tc-station { font-size: 28px; } .tc-card .sign { font-size: 21px; } .tc-card { border-radius: 26px; padding: 20px 16px; } }

/* ---- every show the same height (the tallest one's), its card centred in it: like channels of one broadcast */
@media (min-width: 861px) {
  .show { display: flex; flex-direction: column; justify-content: center; min-height: var(--show-h, 0px); }
  .show > .ep { width: 100%; }
}

/* ================================================================ the three scenes, take two: real backdrops, no game UI */
/* Glorbo: the game's scene fills the show behind the card; the ground, the king and the cannon show below it */
.show.t-glorbo-s-kingdom { padding-bottom: 330px; background: #c8efff; cursor: crosshair; }
.t-glorbo-s-kingdom .set { position: absolute; inset: 0; z-index: -1; max-width: none; margin: 0; }
.t-glorbo-s-kingdom .glorbo-game { position: absolute; inset: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
.t-glorbo-s-kingdom .gg-canvas { width: 100%; height: 100%; aspect-ratio: auto; cursor: crosshair; }
.t-glorbo-s-kingdom .ep { cursor: var(--cur); }
/* Jungle Bungler: the real mossy bark, and the game's tiles lying on it (point at one and it turns over) */
.t-jungle-bungler .set { background: none; }
.t-jungle-bungler .photo { filter: brightness(.82) saturate(1.1); }
.t-jungle-bungler .set::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 40%, rgba(15, 25, 8, .55)); pointer-events: none; }
.t-jungle-bungler .board { z-index: 1; }
.show.tuned .tile { pointer-events: auto; }
.show.tuned .tile:hover { transform: rotateY(180deg); transition-delay: 0s; }
.tile .face img { filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .45)); }
/* Ed's Diner: the real diner after hours, the game's ghosts; the lights come on when you click */
.show.t-ed-s-diner { cursor: var(--cur-hand); }
.t-ed-s-diner .ep { cursor: var(--cur); }
.t-ed-s-diner .photo { filter: saturate(1.15); }
.t-ed-s-diner .dark { background: radial-gradient(ellipse at 50% 40%, rgba(10, 8, 30, .72), rgba(5, 4, 18, .94)); opacity: 1; transition: opacity .5s; }
.t-ed-s-diner .glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(ellipse at 20% 0%, rgba(255, 220, 150, .35), transparent 45%), radial-gradient(ellipse at 50% 0%, rgba(255, 220, 150, .35), transparent 45%), radial-gradient(ellipse at 80% 0%, rgba(255, 220, 150, .35), transparent 45%); }
.t-ed-s-diner.open .dark { opacity: .08; }
.t-ed-s-diner.open .glow { opacity: 1; }
.t-ed-s-diner.flicker .dark { animation: lights-out .9s steps(1) forwards; }
@keyframes lights-out { 0% { opacity: .08; } 20% { opacity: .9; } 35% { opacity: .1; } 55% { opacity: .9; } 70% { opacity: .2; } 100% { opacity: 1; } }
.t-ed-s-diner.open .ghost { opacity: 0; translate: 0 -160px; }
.ghost { filter: drop-shadow(0 0 4px #b36bff) drop-shadow(0 0 16px rgba(160, 90, 255, .9)); }

/* ================================================================ Ed's Diner, the breaker box puzzle back on */
.show.t-ed-s-diner { cursor: auto; --lit: 0; }
.t-ed-s-diner .dark { opacity: calc(1 - var(--lit) * .82); transition: opacity .35s; animation: none; }
.t-ed-s-diner.open .dark { opacity: .06; }
.t-ed-s-diner .glow { display: none; }
/* pendant lamps like a real diner's: a cord, a red enamel shade with a shine, a bulb, and a pool of warm light */
.t-ed-s-diner .lamp { position: absolute; top: 0; left: var(--x); width: 96px; translate: -50% 0; z-index: 1; animation: sway 5s ease-in-out infinite alternate; transform-origin: 50% 0; }
.t-ed-s-diner .lamp:nth-of-type(2n) { animation-delay: -2.5s; }
.t-ed-s-diner .lamp::before { content: none; }
.t-ed-s-diner .lamp i { display: block; position: absolute; left: 50%; translate: -50% 0; border: 0; }
.t-ed-s-diner .lamp .cord { top: 0; width: 3px; height: 58px; background: linear-gradient(90deg, #111, #555, #111); }
.t-ed-s-diner .lamp .shade { top: 56px; width: 92px; height: 42px; border-radius: 50px 50px 6px 6px; z-index: 2;
  background: radial-gradient(ellipse at 32% 28%, rgba(255, 255, 255, .55) 0 10%, transparent 30%), linear-gradient(180deg, #e0444a, #9b1a20 75%, #6e0f13); box-shadow: inset 0 -5px 8px rgba(0, 0, 0, .45), 0 4px 8px rgba(0, 0, 0, .5); }
.t-ed-s-diner .lamp .shade::before { content: ''; position: absolute; left: 50%; top: -6px; width: 18px; height: 10px; translate: -50% 0; border-radius: 4px 4px 0 0; background: linear-gradient(90deg, #444, #bbb, #444); }
.t-ed-s-diner .lamp .bulb { top: 92px; width: 34px; height: 14px; border-radius: 0 0 20px 20px; z-index: 1; background: #4a443a; transition: background .25s, box-shadow .25s; }
.t-ed-s-diner .lamp .pool { top: 100px; width: 380px; height: 560px; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(ellipse at 50% 0, rgba(255, 226, 150, .5), rgba(255, 210, 130, .18) 40%, transparent 70%); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); }
.t-ed-s-diner .lamp.on .bulb { background: #fff6c8; box-shadow: 0 0 16px 6px rgba(255, 226, 140, .95), 0 0 46px 14px rgba(255, 200, 110, .5); }
.t-ed-s-diner .lamp.on .pool { opacity: 1; }
/* the breaker box on the diner's menu board: brushed metal, switches with numbered plates, a status light */
.t-ed-s-diner .breaker { top: -40px; right: 26px; padding: 10px 14px 12px; border: 0; border-radius: 8px; display: grid; justify-items: center; gap: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .25), transparent 40%), repeating-linear-gradient(90deg, #a9b1b6 0 2px, #9aa2a7 2px 4px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 -3px 0 rgba(0, 0, 0, .25), 0 10px 18px rgba(0, 0, 0, .55); }
.t-ed-s-diner .bk-label { font: 11px var(--pixel); color: #2b2626; margin: 0; }
.t-ed-s-diner .sws { gap: 8px; }
.t-ed-s-diner .sw { all: unset; cursor: var(--cur-hand); position: relative; width: 26px; height: 50px; border-radius: 5px; background: linear-gradient(90deg, #1c1e20, #3a3f44, #1c1e20); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .5); box-sizing: border-box; }
.t-ed-s-diner .sw i { position: absolute; left: 3px; right: 3px; height: 20px; bottom: 3px; border: 0; border-radius: 3px; background: linear-gradient(#f2f2f2, #b9bcbe); box-shadow: 0 2px 3px rgba(0, 0, 0, .6); transition: bottom .12s; }
.t-ed-s-diner .sw.up i { bottom: 27px; }
.t-ed-s-diner .sw small { position: absolute; left: 50%; bottom: -15px; translate: -50% 0; font: 10px var(--pixel); color: #2b2626; }
.t-ed-s-diner .sw:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.t-ed-s-diner .sw:disabled { cursor: default; }
.t-ed-s-diner .sws { margin-bottom: 12px; }
.t-ed-s-diner .bk-status { display: flex; align-items: center; gap: 6px; font: 11px var(--pixel); color: #2b2626; }
.t-ed-s-diner .bk-led { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff9c9c, #c0161d); box-shadow: 0 0 6px rgba(255, 40, 40, .8); }
.t-ed-s-diner.open .bk-led { background: radial-gradient(circle at 35% 35%, #c9ffb0, #2ea043); box-shadow: 0 0 8px rgba(80, 255, 100, .9); }
.t-ed-s-diner .bk-again { all: unset; cursor: var(--cur-hand); font: 11px var(--pixel); color: #fff; background: #2b2626; padding: 3px 10px; border-radius: 4px; }
.t-ed-s-diner .bk-again:focus-visible { outline: 3px solid var(--yellow); }
.t-ed-s-diner .menu { padding-top: 64px; }
.t-ed-s-diner.open .ghost { opacity: 0; translate: 0 -200px; }

/* ================================================================ round 16 */

/* ---- buttons that feel good to press: they lift and lean on hover with a shine sweeping across, sink right in when
   pressed, and the play arrow nudges forward */
.btn { position: relative; overflow: hidden; isolation: isolate; border-width: 4px; box-shadow: 0 6px 0 var(--ink), 0 10px 14px rgba(0, 0, 0, .2);
  transition: translate .16s cubic-bezier(.3, 1.6, .5, 1), rotate .16s cubic-bezier(.3, 1.6, .5, 1), box-shadow .16s, filter .16s; }
.btn::before { content: ''; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: -60%; width: 40%; rotate: 18deg; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); translate: -100% 0; }
.btn:hover { translate: 0 -4px; rotate: -1.5deg; box-shadow: 0 10px 0 var(--ink), 0 16px 20px rgba(0, 0, 0, .25); filter: saturate(1.15) brightness(1.04); }
.btn:hover::before { animation: shine .7s ease-out; }
@keyframes shine { to { translate: 520% 0; } }
.btn:active { translate: 0 5px; rotate: 0deg; box-shadow: 0 1px 0 var(--ink), 0 2px 4px rgba(0, 0, 0, .2); transition-duration: .05s; }
.btn.play { padding: 13px 22px 12px 24px; font-size: 20px; }
.btn.play::after { content: ''; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; margin-left: 4px; transition: translate .2s cubic-bezier(.3, 1.6, .5, 1); }
.btn.play:hover::after { translate: 5px 0; animation: nudge-arrow .6s ease-in-out infinite alternate .2s; }
@keyframes nudge-arrow { to { translate: 9px 0; } }

/* ---- the video's play button: a glossy red button with a ring that pulses out; a label underneath */
.yt-play { width: 92px; height: 92px; border: 5px solid #fff; background: radial-gradient(circle at 35% 30%, #ff8a8a, #e2363b 55%, #b8282d); box-shadow: 0 8px 0 rgba(0, 0, 0, .35), 0 0 0 6px rgba(0, 0, 0, .25); font-size: 0; padding: 0; }
.yt-play::before { content: ''; width: 0; height: 0; margin-left: 7px; border-style: solid; border-width: 17px 0 17px 28px; border-color: transparent transparent transparent #fff; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .25)); }
.yt-play::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .8); animation: ring 1.8s ease-out infinite; pointer-events: none; }
@keyframes ring { from { scale: .9; opacity: .9; } to { scale: 1.5; opacity: 0; } }
.yt-play:hover { transform: scale(1.1); }
.yt::after { content: 'Play video'; position: absolute; bottom: 12px; left: 50%; translate: -50% 0; font: 14px var(--pixel); color: #fff; background: rgba(0, 0, 0, .6); padding: 4px 12px; border-radius: 20px; pointer-events: none; }
.yt:has(iframe)::after { content: none; }
.yt { position: relative; }

/* ---- the Start menu sits flush on the taskbar, like the real thing */
.startmenu { left: 0; bottom: calc(100% + 0px); border-radius: 0 10px 0 0; border-bottom: 0; box-shadow: inset -3px -3px 0 #9aa1ad, inset 3px 3px 0 #fff, 6px -4px 0 rgba(0, 0, 0, .25); }

/* ---- the top bar: your picture spins when clicked; the bee is lower so it never tucks under the bar */
.headshot { cursor: var(--cur-hand); }
.headshot.spin { animation: head-spin .8s cubic-bezier(.3, 1.3, .5, 1); }
@keyframes head-spin { to { transform: rotate(360deg); } }
.bee.b0 { top: 170px; }

/* ---- the TV and its table at a gentler angle (less of the right side showing) */
.living .tv::before { height: 16px; transform: skewX(-48deg); }
.living .tv::after { width: 18px; transform: skewY(-42deg); }
.living .antenna { bottom: calc(100% + 8px); left: calc(50% + 8px); }
/* a bedside table: a top that overhangs a little, a cabinet with a drawer (and its knob) and an open cubby, short legs */
.living .tv-stand { height: 330px; margin: 10px 28px 0 6px; }
.living .tv-stand .top { height: 34px; inset: 0 -14px auto -14px; border-radius: 6px; }
.living .tv-stand .top::before { height: 14px; transform: skewX(-48deg); }
.living .tv-stand .top::after { width: 16px; transform: skewY(-42deg); }
.living .tv-stand .body { position: absolute; left: 0; right: 0; top: 30px; height: 230px; z-index: 1; border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .25), transparent 12%, transparent 88%, rgba(0, 0, 0, .3)), linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .1)), url('../media/tex-wood-v.webp') center / cover; box-shadow: 0 12px 18px rgba(20, 10, 0, .35); }
.living .tv-stand .body::after { content: ''; position: absolute; top: 0; bottom: 0; left: 100%; width: 16px; transform-origin: 0 0; transform: skewY(-42deg); background: linear-gradient(90deg, rgba(20, 8, 0, .62), rgba(20, 8, 0, .42)), url('../media/tex-wood-v.webp') center / cover; }
.living .tv-stand .drawer { position: absolute; left: 7%; right: 7%; top: 16px; height: 72px; border-radius: 4px; display: grid; place-items: center;
  background: linear-gradient(rgba(255, 228, 190, .18), rgba(0, 0, 0, .12)), url('../media/tex-wood.webp') center / cover; box-shadow: inset 0 2px 0 rgba(255, 230, 195, .35), inset 0 -3px 5px rgba(0, 0, 0, .35), 0 3px 4px rgba(0, 0, 0, .35); }
.living .tv-stand .knob { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3cf, #c9a24a 45%, #7a5a1a); box-shadow: 0 3px 4px rgba(0, 0, 0, .5); }
.living .tv-stand .cubby { position: absolute; left: 7%; right: 7%; top: 104px; bottom: 16px; border-radius: 4px; background: linear-gradient(#1a0f08, #3a2414); box-shadow: inset 0 10px 18px rgba(0, 0, 0, .7); }
.living .tv-stand .leg { top: 252px; bottom: -10px; width: 34px; }
.living .tv-stand .leg.l { left: 5%; } .living .tv-stand .leg.r { right: 5%; }
.living .tv-stand::before, .living .tv-stand::after { top: 240px; width: 30px; }
.living .tv-stand::before { left: calc(5% + 16px); } .living .tv-stand::after { right: calc(5% - 16px); }
@media (max-width: 1100px) { .living .tv-stand { height: 260px; } .living .tv-stand .body { height: 180px; } .living .tv-stand .cubby { top: 96px; } .living .tv-stand .leg { top: 200px; } }
/* the monarch now rests on the program guide's top right corner */
.guide .perched { position: absolute; left: auto; right: -34px; top: -62px; width: 150px; aspect-ratio: 700 / 467; rotate: 14deg; z-index: 5; }
.guide .perched .wing { animation-duration: 6.5s; }

/* ---- the end of the night: shorter, just the station card, and a way back up */
.smpte { height: 360px; min-height: 0; }
.tc-card { gap: 12px; padding: 22px 28px 18px; }
.tc-up { font: 13px var(--pixel); color: #ddd; text-decoration: none; }
.tc-up:hover { color: var(--butter); }

/* ---- a green, gooey cursor */
:root { --cur: url('cursor-goo.png') 4 3, auto; --cur-hand: url('cursor-goo-hand.png') 4 3, pointer; }

/* ---- Boddle: the counter is just words and a number; specks of light at random; an even outline on the logo; the
   pictures get more room */
.t-boddle .hud span::before { content: none; }
.t-boddle .set::after { background: radial-gradient(ellipse at 50% 60%, transparent 35%, rgba(10, 30, 20, .4)); animation: none; }
.mote { position: absolute; border-radius: 50%; background: #fffbe0; box-shadow: 0 0 6px 2px rgba(255, 250, 200, .7); pointer-events: none; animation: twinkle var(--tw) ease-in-out var(--dl) infinite alternate; }
@keyframes twinkle { from { opacity: .15; transform: translateY(0); } to { opacity: 1; transform: translateY(var(--dy)); } }
.boddle-logo { -webkit-text-stroke: 0; paint-order: normal;
  text-shadow: 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink), 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink),
    0 7px 0 var(--orange), 3px 7px 0 var(--ink), -3px 7px 0 var(--ink), 0 10px 0 var(--ink); }
@media (min-width: 861px) { .t-boddle .ep { grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); max-width: 1180px; } .t-boddle .panel { max-width: 1180px; } }
.t-boddle .thumb { flex-basis: calc((100% - 6px) / 2); aspect-ratio: 16 / 9; }

/* ---- Snapshot Isle: a camera's screen (no "recording"), colourful lettering, both lines at the same angle */
.vf .rec { color: #fff; animation: none; display: flex; align-items: center; gap: 8px; }
.vf .rec b { font-weight: normal; border: 2px solid #fff; padding: 0 4px; }
.vf .rec .focus-dot { width: 10px; height: 10px; border-radius: 50%; background: #6dff6d; box-shadow: 0 0 6px #6dff6d; }
.t-snapshot-isle .ep-head { rotate: -4deg; transform-origin: 0 50%; }
.greet { rotate: none; }
.t-snapshot-isle .ep-title { background: url('../media/13d5e9ce81db-1800.webp') 30% 60% / 220%; filter: drop-shadow(4px 4px 0 var(--red)) saturate(1.4); }

/* ---- rePAIR: the crate's wood stays round the edge; the words sit on clean paper */
.crate { background: linear-gradient(#fbf3e2, #f3e6cc); box-shadow: inset 0 0 0 14px #d6a764, inset 0 0 0 17px rgba(120, 70, 20, .35), 0 16px 0 #5a3414, 0 26px 40px rgba(0, 0, 0, .45); padding: 48px 46px 40px; }

/* ---- Ed's Diner: the whole diner in view; neater lamps; a proper breaker panel */
.t-ed-s-diner .photo { inset: 0; background-size: 100% auto !important; background-position: center top !important; background-color: #0c0a08; transform: none; }
.t-ed-s-diner .lamp { width: 70px; }
.t-ed-s-diner .lamp .cord { height: 44px; width: 2px; }
.t-ed-s-diner .lamp .shade { top: 42px; width: 64px; height: 30px; border-radius: 40px 40px 4px 4px; }
.t-ed-s-diner .lamp .shade::before { width: 12px; height: 7px; top: -4px; }
.t-ed-s-diner .lamp .bulb { top: 68px; width: 26px; height: 10px; }
.t-ed-s-diner .lamp .pool { top: 70px; width: 260px; height: 300px; clip-path: none; background: radial-gradient(ellipse 50% 60% at 50% 0, rgba(255, 226, 150, .42), rgba(255, 210, 130, .12) 55%, transparent 75%); }
.t-ed-s-diner .breaker { top: -46px; right: 30px; padding: 12px 16px 14px; border-radius: 6px; gap: 8px;
  background: linear-gradient(160deg, #d9dde0, #a9b0b5 60%, #959ca1); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0, 0, 0, .3), 0 12px 20px rgba(0, 0, 0, .6); }
.t-ed-s-diner .breaker::before, .t-ed-s-diner .breaker::after { content: ''; position: absolute; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #777); box-shadow: 0 1px 1px rgba(0, 0, 0, .5); }
.t-ed-s-diner .breaker::before { left: 7px; } .t-ed-s-diner .breaker::after { right: 7px; }
.t-ed-s-diner .bk-label { font: 10px var(--pixel); color: #1a1a1a; background: repeating-linear-gradient(45deg, #ffd23f 0 8px, #1a1a1a 8px 16px); padding: 3px 0; width: 100%; text-align: center; }
.t-ed-s-diner .bk-label { color: transparent; height: 10px; overflow: hidden; }
.t-ed-s-diner .sws { padding: 8px 10px 16px; background: #1b1d1f; border-radius: 4px; box-shadow: inset 0 3px 8px rgba(0, 0, 0, .8); margin: 0; }
.t-ed-s-diner .sw { width: 24px; height: 46px; background: linear-gradient(90deg, #0d0e0f, #2b2f33 50%, #0d0e0f); border-radius: 3px; }
.t-ed-s-diner .sw i { height: 18px; background: linear-gradient(#ff8a3d, #d95b14); }
.t-ed-s-diner .sw.up i { background: linear-gradient(#a8f07a, #4bb52a); }
.t-ed-s-diner .sw small { color: #ddd; bottom: -14px; }
.t-ed-s-diner .bk-status { color: #1a1a1a; }

/* ---- Jungle Bungler: real cards, face down to start; point at one and it turns over and stays */
.tile { width: min(100%, 132px); aspect-ratio: 198 / 204; max-height: none; transform: rotateY(180deg) rotate(var(--rot, 0deg)); transition: transform .6s cubic-bezier(.3, 1.3, .5, 1); transition-delay: 0s; pointer-events: auto; cursor: var(--cur-hand); }
.show.tuned .tile { transform: rotateY(180deg) rotate(var(--rot, 0deg)); }
.show.tuned .tile:hover { transform: rotateY(180deg) rotate(var(--rot, 0deg)); }
.tile.shown, .show.tuned .tile.shown, .show.tuned .tile.shown:hover { transform: rotateY(0deg) rotate(var(--rot, 0deg)); }
.tile .face, .tile .back { inset: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 8px 12px rgba(0, 0, 0, .45); }
.tile .face img, .tile .back img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.tile .back:not(.real) { inset: 0; border: 5px solid #8a8a6a; background: radial-gradient(circle, #e8b9a0 0 22%, transparent 23%) center / 100% 100% no-repeat, repeating-conic-gradient(#9a9a80 0 25%, #85856a 0 50%) 0 0 / 22px 22px; }

/* ---- the featured illustrations at their own proportions, everywhere (the featured layer and the process window) */
.selection .cover img { width: auto; height: auto; max-width: 100%; max-height: 720px; object-fit: contain; }
.proc .hero .lb { width: fit-content; max-width: 100%; }
.proc .hero img { width: auto; height: auto; max-width: 100%; max-height: 760px; object-fit: contain; }

/* ---- Info: no flashing hints (finding things is the point); the string lights glow softly */
.hot, .hot:nth-of-type(2n) { animation: none; }
.string-lights .bulbs circle { filter: drop-shadow(0 0 6px currentColor); animation: bulb 3s ease-in-out infinite alternate; }
.string-lights .bulbs circle:nth-child(2n) { animation-delay: -1.5s; }
@keyframes bulb { from { opacity: .65; } to { opacity: 1; } }
body.info { background-color: #241f2e; background-image: none; }

/* ---- the table: no legs, a drawer twice as tall, the cubby running off the bottom; the Boddle show's top edge cuts it off */
.living { z-index: 0; }
.living .tv-stand { height: 420px; }
.living .tv-stand .leg, .living .tv-stand::before, .living .tv-stand::after { display: none; }
.living .tv-stand .body { height: auto; bottom: -40px; border-radius: 0; }
.living .tv-stand .drawer { height: 144px; top: 18px; }
.living .tv-stand .cubby { top: 178px; bottom: -40px; }
@media (max-width: 1100px) { .living .tv-stand { height: 320px; } .living .tv-stand .drawer { height: 110px; } .living .tv-stand .cubby { top: 142px; } }
.bee.b0 { top: 128px; }

/* ---- the Design Tools window: a short write-up and a button on one side, the five tools on the other, in the tools'
   own vellum-and-blackletter print style */
.tools-win .win-bar { background: linear-gradient(90deg, #7a1f24, #c0262d); }
.tools-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 26px; align-items: start; background: #f3ecd8; }
.tools-intro h3 { font: 34px/1.05 'UnifrakturMaguntia', serif; color: #1d1a1a; margin-bottom: 10px; }
.tools-intro h3::first-letter { color: #c0262d; }
.tools-intro p { margin: 0 0 16px; }
.tools-intro .btn.go { --b: #c0262d; }
.tools-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tools-list a { display: grid; gap: 2px; padding: 10px 14px; text-decoration: none; color: #1d1a1a; background: #fbf7ea; border: 2px solid #1d1a1a; outline: 1px solid #1d1a1a; outline-offset: -6px; transition: translate .12s, box-shadow .12s; }
.tools-list a:hover { translate: -2px -2px; box-shadow: 4px 4px 0 #c0262d; }
.tools-list b { font: 24px/1 'UnifrakturMaguntia', serif; font-weight: normal; }
.tools-list b::first-letter { color: #c0262d; }
.tools-list span { font-size: 14px; color: #5a504a; }
@media (max-width: 860px) { .tools-body { grid-template-columns: 1fr; } }

/* ---- window buttons that say what they do: a chevron (folds the window up to its title bar, and back down) and
   full-screen arrows (out to fill the screen; in, to come back) */
.w-min .chev { display: block; width: 9px; height: 9px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; rotate: -135deg; translate: 0 2px; transition: rotate .2s; }
.minimised .w-min .chev { rotate: 45deg; translate: 0 -2px; }
.w-max .arrows { position: relative; display: block; width: 14px; height: 14px; }
.w-max .arrows::before, .w-max .arrows::after { content: ''; position: absolute; width: 6px; height: 6px; border: 0 solid currentColor; }
.w-max .arrows::before { right: 0; top: 0; border-width: 3px 3px 0 0; }
.w-max .arrows::after { left: 0; bottom: 0; border-width: 0 0 3px 3px; }
.w-max.on .arrows::before { right: auto; left: 5px; top: 5px; border-width: 0 0 3px 3px; }
.w-max.on .arrows::after { left: 5px; bottom: 5px; border-width: 3px 3px 0 0; }
.win-btns button, .wbtns button { color: var(--ink); }
.wbtns .w-close, .win-btns .w-close { color: #fff; }

/* ---- the Design Tools window: intro across the top, then the tools as picture cards */
.tools-body { grid-template-columns: 1fr; gap: 18px; }
.tools-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: end; }
.tools-intro h3 { grid-column: 1 / -1; margin: 0; }
.tools-intro p { margin: 0; max-width: 620px; }
.tools-list { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.tools-list a { padding: 6px 6px 12px; gap: 6px; }
.tools-list b, .tools-list span { padding: 0 6px; }
.tools-list .art { height: 110px; border: 1px solid #1d1813; display: grid; place-items: center; position: relative; overflow: hidden; margin-bottom: 4px; }
.tools-list .art.font { background: repeating-linear-gradient(-45deg, rgba(29, 24, 19, .16) 0 1px, transparent 1px 5px), #e7d8b6; }
.tools-list .art.font span { font: 80px/1 'UnifrakturMaguntia', serif; color: #1d1813; }
.tools-list .art.font span::first-letter { color: #b2301d; }
.tools-list .art.pal { display: flex; } .tools-list .art.pal i { flex: 1; height: 100%; border-right: 1px solid #1d1813; } .tools-list .art.pal i:last-child { border: 0; }
.tools-list .art.dots { background: url('../../clippings/design-tools/halftone-press/card.jpg') center / cover, #e7d8b6; }
.tools-list .art.arc { background: #e7d8b6; } .tools-list .art.arc svg { width: 100%; height: 100%; }
.tools-list .art.contrast { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; place-items: stretch; }
.tools-list .art.contrast b { display: grid; place-items: center; font: bold 26px/1 Georgia, serif; position: relative; padding: 0; }
.tools-list .art.contrast b:nth-child(odd) { border-right: 1px solid #1d1813; } .tools-list .art.contrast b:nth-child(-n + 2) { border-bottom: 1px solid #1d1813; }
.tools-list .art.contrast i { position: absolute; right: 5px; bottom: 4px; font: bold 12px Georgia, serif; font-style: normal; color: #3c7a5c; background: #f4ead3; border-radius: 50%; width: 16px; height: 16px; display: grid; place-items: center; }
.tools-list .art.contrast i.no { color: #fff; background: #b2301d; }
@media (max-width: 700px) { .tools-intro { grid-template-columns: 1fr; } }

/* ---- windows with only a couple of pictures (Diagrams) show them big */
.design .gallery.few .lb { flex-basis: calc(var(--r, 1) * 420px); }
/* featured covers are cropped to a tidy frame on the Featured layer (their true shapes are in the process window) */
.selection .cover { width: 100%; justify-self: stretch; }
.selection .cover img { width: 100%; height: 380px; max-height: none; object-fit: cover; }

/* ================================================================ CH 13: Clippings, late night
   Clippings' own look: newsprint and red ink on black. The card is a cut-out clipping, taped down. */
.t-clippings { background: #141012; }
.t-clippings .set { background: radial-gradient(circle, rgba(232, 51, 58, .14) 1.2px, transparent 1.6px) 0 0 / 12px 12px, radial-gradient(ellipse at center, #2a1d1f, #0e0b0c 75%); }
.scraps i { position: absolute; width: 170px; height: 110px; background: repeating-linear-gradient(transparent 0 9px, rgba(29, 26, 26, .35) 9px 11px) 12px 34px / calc(100% - 24px) 60px no-repeat, linear-gradient(#1d1a1a, #1d1a1a) 12px 12px / 60% 14px no-repeat, #e9e0c8;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .5); opacity: .85; clip-path: polygon(0 4%, 12% 0, 30% 3%, 52% 0, 75% 4%, 100% 1%, 98% 50%, 100% 96%, 80% 100%, 55% 97%, 30% 100%, 8% 97%, 2% 60%); }
.scraps i:nth-child(1) { left: 3%; top: 14%; rotate: -12deg; } .scraps i:nth-child(2) { right: 4%; top: 10%; rotate: 9deg; width: 140px; }
.scraps i:nth-child(3) { left: 6%; bottom: 12%; rotate: 7deg; width: 120px; } .scraps i:nth-child(4) { right: 7%; bottom: 16%; rotate: -8deg; }
.scraps i:nth-child(5) { left: 44%; top: 3%; rotate: 4deg; width: 110px; height: 70px; } .scraps i:nth-child(6) { left: 40%; bottom: 3%; rotate: -5deg; width: 130px; height: 80px; }
.clipping { padding: 40px 40px 36px; color: #1d1a1a; background: url('../media/fx-paper.webp') 0 0 / 320px, #f1ead8; background-blend-mode: multiply; rotate: -.6deg;
  clip-path: polygon(0 1.5%, 6% 0, 14% 1.2%, 25% .2%, 37% 1.4%, 50% 0, 63% 1.3%, 76% .3%, 88% 1.5%, 100% .4%, 99.4% 25%, 100% 50%, 99.3% 75%, 100% 99%, 88% 100%, 75% 98.8%, 62% 100%, 50% 98.9%, 37% 100%, 24% 98.7%, 12% 100%, 0 99%, .7% 75%, 0 50%, .6% 25%);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .6)); }
.js .clipping[data-reveal].in { transform: rotate(-.6deg); }
.clipping .tape { position: absolute; z-index: 3; width: 120px; height: 30px; background: rgba(243, 230, 184, .85); box-shadow: 0 2px 3px rgba(0, 0, 0, .2); }
.clipping .tape.t1 { top: 6px; left: 8%; rotate: -6deg; } .clipping .tape.t2 { top: 8px; right: 10%; rotate: 5deg; }
.clipping .ep-title .clip-word { font-size: 64px; }
.clipping .yr { background: #e8333a; }
.clipping .role { font: 18px var(--display); }
.clipping .role b { color: #c0262d; font-weight: normal; }
.clip-games { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.clip-games span { font: 15px 'Special Elite', monospace; padding: 4px 10px; background: #1d1a1a; color: #f1ead8; rotate: calc(var(--r, 0) * 1deg); }
.clip-games span:nth-child(2n) { background: #e8333a; rotate: 2deg; } .clip-games span:nth-child(3n) { background: #ddd4bd; color: #1d1a1a; rotate: -2deg; }
.clipping .btn.play { --b: #e8333a; --f: #fff; }
.clipping .btn.alt { --b: #f1ead8; }
.clip-preview { grid-area: media; position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border: 5px solid #1d1a1a; background: #f1ead8; box-shadow: 8px 8px 0 #e8333a; rotate: 1.5deg; transition: rotate .3s cubic-bezier(.3, 1.6, .5, 1), translate .3s; }
.clip-preview iframe { position: absolute; left: 0; top: 0; width: 250%; height: 250%; border: 0; transform: scale(.4); transform-origin: 0 0; pointer-events: none; }
.clip-preview:hover { rotate: 0deg; translate: 0 -4px; }
.clip-open { position: absolute; right: 10px; bottom: 10px; font: 14px var(--pixel); color: #fff; background: #1d1a1a; padding: 5px 10px; }
@media (max-width: 860px) { .clipping .ep-title .clip-word { font-size: 44px; } .clipping { padding: 34px 20px 28px; } }
.clip-games span:nth-child(3n) { box-shadow: inset 0 0 0 2px #1d1a1a; }

/* ---- folded windows: the title bar keeps the window's rounded corners and sits snug, no thick ledge underneath */
.win.minimised { padding-bottom: 6px; box-shadow: inset -3px -3px 0 #9aa1ad, inset 3px 3px 0 #fff, 12px 12px 0 rgba(0, 0, 0, .3); }
.win.minimised .win-bar { border-radius: 6px; }
.paint.minimised { padding-bottom: 12px; box-shadow: inset 0 5px 0 rgba(255, 255, 255, .8), inset 0 -4px 0 #8f95a3, 0 8px 0 #5f6470, 0 8px 0 6px var(--ink), 0 24px 40px rgba(0, 0, 0, .35); }
.paint.minimised .titlebar { border-radius: 18px; }
/* ---- the paint program's icon: a brush */
.app-ico { background: #fff; display: grid; place-items: center; padding: 1px; }
.app-ico svg { width: 18px; height: 18px; }
/* ---- "Show all" buttons on the Design desktop: a proper colour, not white on white */
.desktop { --accent: #7a4fd6; }
/* ---- Design Tools: heading and button on one line, the write-up under them */
.tools-intro { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 24px; }
.tools-intro h3 { grid-column: 1; }
.tools-intro .btn { grid-column: 2; grid-row: 1; justify-self: end; }
.tools-intro p { grid-column: 1 / -1; }
/* ---- the taskbar rides along the bottom of the screen until the footer comes into view, then sits just above it */
body.design, body.art { padding-bottom: 0; }
.taskbar { position: sticky; bottom: 0; left: auto; right: auto; width: 100%; }

/* ---- Art: one window per .csp file; a slimmer side bar of mediums; full width while any window is open */
.room-art .wins { display: grid; gap: 30px; }
.room-art .paint-body { grid-template-columns: 78px minmax(0, 1fr); }
.room-art .toolbox { padding: 7px; gap: 6px; }
.room-art .tool { padding: 7px 2px 6px; }
.room-art .tool .ico { width: 28px; height: 28px; }
.room-art .tool .tl { font-size: 8.5px; }
.room-art .palette { padding: 8px 4px; }
.room-art .swatches { grid-template-columns: repeat(2, 20px); gap: 4px; }
.room-art .palette .sw { width: 20px; height: 20px; }
.desktop.room-art.has-open { grid-template-columns: minmax(0, 1fr); }
.desktop.room-art.has-open .icons { display: none; }
@media (max-width: 860px) { .room-art .paint-body { grid-template-columns: 1fr; } }

/* ---- the video play button: no ring; a soft, rounded arrow sitting visually centred */
.yt-play::after { content: none; }
.yt-play::before { width: 34px; height: 36px; margin: 0 0 0 6px; border: 0; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .25));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 36'%3E%3Cpath d='M7 5 L29 18 L7 31 Z' fill='white' stroke='white' stroke-width='7' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---- the TV: the antenna is tall and rises up behind the top bar, so the TV and the guide can start higher up;
   the knobs and antenna are shaded like real chrome and plastic; tidy corners where the box's faces meet */
.living { padding-top: 10px; }
.tv-wrap { padding-top: 40px; }
.living .antenna { z-index: -1; }
.antenna i { height: 260px; width: 8px; border: 0; border-radius: 4px; background: linear-gradient(90deg, #6b7378, #f2f5f7 40%, #b9c1c6 60%, #5d6569); box-shadow: 1px 0 2px rgba(0, 0, 0, .3); rotate: -24deg; }
.antenna i + i { rotate: 26deg; }
.antenna i::after { width: 16px; height: 16px; top: -12px; left: -4px; border: 0; background: radial-gradient(circle at 35% 30%, #fff, #c9d0d4 35%, #5d6569); box-shadow: 0 2px 3px rgba(0, 0, 0, .4); }
.antenna::before { width: 84px; height: 34px; left: -42px; bottom: -10px; border: 0; border-radius: 42px 42px 6px 6px; background: radial-gradient(ellipse at 40% 25%, #8a9095, #3b3f45 55%, #1d2023); box-shadow: 0 4px 6px rgba(0, 0, 0, .45); }
@keyframes wiggle-l { 50% { rotate: -19deg; } } @keyframes wiggle-r { 50% { rotate: 31deg; } }
.knob { border: 0; background: radial-gradient(circle at 50% 50%, #2a2622 0 62%, #8d877c 63% 66%, #3a352f 67%); box-shadow: 0 5px 8px rgba(0, 0, 0, .55), inset 0 2px 2px rgba(255, 255, 255, .2); }
.knob .dial { inset: 7px; background: radial-gradient(circle at 38% 30%, rgba(255, 255, 255, .55), transparent 45%), repeating-conic-gradient(#d8d2c4 0 6deg, #a39c8e 6deg 12deg); box-shadow: 0 3px 4px rgba(0, 0, 0, .5), inset 0 -3px 5px rgba(0, 0, 0, .35); }
.knob .dial::after { border: 0; width: 5px; height: 16px; margin-left: -2.5px; background: linear-gradient(90deg, #a51d22, #ff6b6b, #a51d22); box-shadow: 0 1px 1px rgba(0, 0, 0, .4); }
.living .tv { border-radius: 6px; }
.living .tv::before { border-radius: 5px 5px 0 0; left: 0; right: -1px; }
.living .tv::after { border-radius: 0 5px 5px 0; top: -1px; }
.bee.b0 { top: 34px; left: 40%; }

/* ---- Snapshot Isle's postcard, take two: real lettering (no picture inside it), snug under "Greetings from"; the
   gallery gets the room (the stamp sits up on the card's top edge, out of its way) */
.t-snapshot-isle .ep-title { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #2a9bd8; -webkit-text-stroke: 0; filter: none;
  font: 62px/.92 var(--chunky); letter-spacing: .01em;
  text-shadow: 2px 0 0 #17325a, -2px 0 0 #17325a, 0 2px 0 #17325a, 0 -2px 0 #17325a, 2px 2px 0 #17325a, -2px 2px 0 #17325a, 2px -2px 0 #17325a, -2px -2px 0 #17325a, 5px 5px 0 #f5585c, 7px 7px 0 #17325a; }
.greet { margin: 0 0 -2px; line-height: 1; }
.t-snapshot-isle .ep-head { padding-right: 0; row-gap: 0; }
.postcard { grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); gap: 10px 40px; padding: 44px 40px 36px; }
.postcard .viewer { margin-top: 0; gap: 16px; }
.t-snapshot-isle .viewer .stage { rotate: .6deg; padding: 8px 8px 30px; }
.stamp-wrap { top: -34px; right: 34px; }
.postmark { top: -14px; right: 108px; }
.postcard .b1 { top: -70px; right: 170px; width: 84px; }
.postcard .b2 { bottom: -28px; right: 26px; width: 70px; }
/* Jungle Bungler's cards are exact squares, front and back */
.tile { aspect-ratio: 1; }
.tile .face img, .tile .back img { object-fit: cover; }
/* ---- Ed's Diner, take three: five lamps; the diner photo stays dim and soft behind them, so the lamps' pools of
   light do the work; the ghosts float in the open, beside the card and under it, where you can see them */
.t-ed-s-diner .photo { filter: saturate(1.1) blur(3px); inset: -8px; }
.t-ed-s-diner .dark { background: linear-gradient(rgba(5, 4, 18, .55), transparent 30%, transparent 70%, rgba(5, 4, 18, .6)), radial-gradient(ellipse at 50% 45%, rgba(10, 8, 30, .7), rgba(5, 4, 18, .95));
  opacity: calc(1 - var(--lit) * .4); }
.t-ed-s-diner.open .dark { opacity: .45; }
.t-ed-s-diner .ghost { z-index: 2; opacity: .95; }
.t-ed-s-diner .ghost.g0 { left: max(2px, calc(50% - 652px)); top: 26%; width: 104px; }
.t-ed-s-diner .ghost.g3 { left: max(10px, calc(50% - 632px)); top: 60%; width: 78px; }
.t-ed-s-diner .ghost.g1 { left: min(calc(100% - 96px), calc(50% + 548px)); top: 22%; width: 88px; }
.t-ed-s-diner .ghost.g2 { left: min(calc(100% - 84px), calc(50% + 560px)); top: 56%; width: 74px; }
.t-ed-s-diner .ghost.g4 { left: 22%; top: auto; bottom: 34px; width: 64px; }

/* ---- CH 13, take two: built from Clippings' own paper kit, so it looks like the site it shows. A torn card of
   paper on the dark riso board, masking tape with ragged ends, typewriter text, cut-paper buttons, newsprint
   scraps, and the preview printed out and taped down */
.t-clippings { --c-paper: #f7f1e3; --c-news: #ddd4bd; --c-red: #e8333a; --c-ink: #1d1a1a; --c-shadow: rgba(10, 6, 4, .55);
  --c-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --c-fibers: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5 0.35' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.15 0 0 0 0.12 -0.03'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  background: #1d1a1a; }
.t-clippings .set { background: radial-gradient(circle at 30% 30%, rgba(232, 51, 58, .55) 0 1.5px, transparent 2px) 0 0 / 11px 11px, var(--c-noise), radial-gradient(ellipse at center, #2a2222, #141010 80%); }
/* the clipping itself: smooth card paper, torn all round, a close hard shadow like the site's sheets */
.clipping { background: var(--c-fibers), var(--c-noise), var(--c-paper); background-blend-mode: normal, multiply, normal; background-size: auto, 240px, auto;
  filter: drop-shadow(4px 5px 0 var(--c-shadow)) drop-shadow(0 14px 18px rgba(0, 0, 0, .45));
  clip-path: polygon(0 1.2%, 2% .3%, 4% 1%, 6% .1%, 9% .9%, 12% .2%, 15% 1.1%, 18% .4%, 21% 1%, 24% 0, 27% .8%, 30% .3%, 33% 1.2%, 36% .2%, 39% .9%, 42% .1%, 45% 1%, 48% .3%, 51% 1.1%, 54% .2%, 57% .9%, 60% 0, 63% 1%, 66% .4%, 69% 1.2%, 72% .2%, 75% .8%, 78% .1%, 81% 1%, 84% .3%, 87% 1.1%, 90% .2%, 93% .9%, 96% .1%, 98% 1%, 100% .3%,
    99.6% 6%, 100% 12%, 99.5% 19%, 100% 26%, 99.6% 33%, 100% 40%, 99.5% 47%, 100% 54%, 99.6% 61%, 100% 68%, 99.5% 75%, 100% 82%, 99.6% 89%, 100% 95%, 99.7% 100%,
    97% 99.1%, 94% 99.9%, 91% 99%, 88% 99.8%, 85% 98.9%, 82% 99.9%, 79% 99.1%, 76% 100%, 73% 99%, 70% 99.8%, 67% 98.9%, 64% 99.9%, 61% 99.2%, 58% 100%, 55% 99%, 52% 99.8%, 49% 98.9%, 46% 99.9%, 43% 99.1%, 40% 100%, 37% 99%, 34% 99.8%, 31% 99.1%, 28% 100%, 25% 99%, 22% 99.8%, 19% 98.9%, 16% 99.9%, 13% 99.2%, 10% 100%, 7% 99%, 4% 99.8%, 1% 99.1%, 0 99.8%,
    .4% 94%, 0 88%, .5% 81%, 0 74%, .4% 67%, 0 60%, .5% 53%, 0 46%, .4% 39%, 0 32%, .5% 25%, 0 18%, .4% 11%, 0 5%); }
.t-clippings .clipping { font: 16px/1.55 'Courier Prime', 'Courier New', monospace; }
.clipping .ep-text p { font: inherit; }
.clipping .role { font: 18px/1.35 'Special Elite', monospace; }
.clipping .role b { color: var(--c-red); }
/* the year: a strip of black paper */
.clipping .yr { font: 15px 'Archivo Black', sans-serif; letter-spacing: .06em; color: var(--c-paper); background: var(--c-ink); border: 0; border-radius: 0; box-shadow: none; padding: 5px 10px 3px; rotate: -3deg;
  clip-path: polygon(0 6%, 20% 0, 45% 5%, 70% 0, 100% 4%, 98% 50%, 100% 96%, 75% 100%, 50% 95%, 25% 100%, 0 96%, 2% 50%); }
/* masking tape, ragged at both ends, a little see-through */
.t-clippings .tape { width: 110px; height: 28px; background: rgba(236, 226, 196, .8) linear-gradient(90deg, rgba(255, 255, 255, .18), rgba(0, 0, 0, .04) 60%, rgba(255, 255, 255, .12)); box-shadow: none;
  clip-path: polygon(3% 0, 8% 12%, 4% 25%, 9% 40%, 3% 55%, 8% 72%, 4% 88%, 7% 100%, 94% 100%, 98% 86%, 93% 70%, 97% 55%, 92% 40%, 97% 24%, 93% 10%, 97% 0); }
.clipping .tape.t1 { top: -2px; left: 7%; rotate: -5deg; } .clipping .tape.t2 { top: -2px; right: 9%; rotate: 4deg; }
/* the games: little strips of paper, Clippings' own */
.clip-games span { font: 13px 'Archivo Black', sans-serif; text-transform: uppercase; letter-spacing: .05em; padding: 5px 11px 3px; box-shadow: none !important;
  clip-path: polygon(0 8%, 30% 0, 60% 6%, 100% 0, 98% 50%, 100% 94%, 65% 100%, 35% 94%, 0 100%, 2% 50%); }
.clip-games span:nth-child(3n) { background: var(--c-news); }
/* the buttons: cut from black and red paper, uneven scissor edges */
.cbtn { display: inline-flex; align-items: center; gap: .5em; padding: 14px 24px 12px; font: 15px 'Archivo Black', sans-serif; text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  color: var(--c-paper); background: var(--c-ink); rotate: -.8deg; transition: rotate .12s, translate .12s; filter: drop-shadow(2px 3px 0 rgba(29, 26, 26, .3));
  clip-path: polygon(0 4%, 6% 0, 18% 3%, 34% 0, 52% 4%, 70% 0, 86% 3%, 100% 0, 99% 30%, 100% 62%, 98% 100%, 82% 96%, 64% 100%, 46% 97%, 28% 100%, 12% 96%, 0 100%, 1% 66%, 0 34%); }
.cbtn.red { background: var(--c-red); }
.cbtn.red::after { content: '\2192'; font-family: 'Courier Prime', monospace; font-weight: 700; }
.cbtn.paper { background: var(--c-news); color: var(--c-ink); rotate: .8deg; }
.cbtn:hover { rotate: .4deg; translate: 0 -2px; }
.cbtn:focus-visible { outline: 3px dashed var(--c-red); outline-offset: 4px; }
.clipping .buttons { gap: 14px; }
/* the preview: printed out on paper with a white border and taped to the card */
.clip-preview { overflow: visible; border: 0; padding: 10px 10px 34px; background: var(--c-fibers), #fbf8f0; box-shadow: 3px 4px 0 rgba(29, 26, 26, .28), 0 10px 16px rgba(0, 0, 0, .18); aspect-ratio: auto; rotate: 1.4deg; }
.pv-frame { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-paper); }
.t-clippings .clip-preview .tape.p1 { top: -12px; left: -22px; rotate: -38deg; width: 96px; }
.t-clippings .clip-preview .tape.p2 { bottom: 12px; right: -24px; rotate: -32deg; width: 96px; }
.clip-open { left: 12px; right: auto; bottom: 8px; padding: 0; background: none; color: var(--c-ink); font: 15px 'Special Elite', monospace; }
.clip-preview:hover .clip-open { color: var(--c-red); }
/* the scraps on the board: torn newsprint with columns of type and a red halftone picture, each taped down */
.scraps i { background: linear-gradient(var(--c-ink), var(--c-ink)) 12px 12px / 62% 12px no-repeat,
    repeating-linear-gradient(transparent 0 7px, rgba(29, 26, 26, .45) 7px 9px) 12px 34px / calc(48% - 14px) calc(100% - 46px) no-repeat,
    radial-gradient(circle, var(--c-red) 0 1.4px, transparent 1.8px) calc(52% + 4px) 34px / 5px 5px,
    var(--c-noise), var(--c-news);
  background-blend-mode: normal, normal, normal, multiply, normal; opacity: 1; box-shadow: none; filter: drop-shadow(3px 4px 0 rgba(0, 0, 0, .55)); }
.scraps i:nth-child(2n) { background: linear-gradient(var(--c-paper), var(--c-paper)) 12px 12px / 55% 12px no-repeat,
    repeating-linear-gradient(transparent 0 7px, rgba(247, 241, 227, .4) 7px 9px) 12px 34px / calc(100% - 24px) calc(100% - 46px) no-repeat, var(--c-noise), var(--c-red);
  background-blend-mode: normal, normal, multiply, normal; }
.scraps i:nth-child(3n) { background: linear-gradient(var(--c-ink), var(--c-ink)) 12px 12px / 40% 10px no-repeat,
    repeating-linear-gradient(transparent 0 7px, rgba(29, 26, 26, .4) 7px 9px) 12px 30px / calc(100% - 24px) calc(100% - 42px) no-repeat, var(--c-fibers), var(--c-paper); }
.scraps i b { position: absolute; top: 2px; left: 50%; width: 64px; height: 20px; translate: -50% 0; rotate: -4deg; background: rgba(236, 226, 196, .85);
  clip-path: polygon(3% 0, 8% 14%, 4% 30%, 9% 50%, 3% 70%, 8% 86%, 5% 100%, 95% 100%, 98% 84%, 92% 66%, 97% 48%, 92% 30%, 97% 12%, 94% 0); }
.clipping { background: var(--c-fibers), var(--c-noise), var(--c-paper); background-blend-mode: normal, soft-light, normal; }
.scraps i { background-blend-mode: normal, normal, normal, soft-light, normal; } .scraps i:nth-child(2n) { background-blend-mode: normal, normal, soft-light, normal; }
.t-clippings .tape { border: 0; padding: 0; z-index: 3; }
.clip-games span:nth-child(3n) { box-shadow: none; background: #c9bfa6; }

/* ---- Art, one program: a gap between the toolbox and the canvas; one file open at a time */
.room-art .paint-body { gap: 18px; }
.paint [hidden] { display: none !important; }
.layer.process { margin-top: 0; }
/* Process: layer tabs along the top, one project below them */
.ptabs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 4px 18px; margin: 0 0 26px; border-bottom: 3px dashed #d6dae3; scrollbar-width: thin; }
.ptab { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 3px solid var(--ink); border-radius: 10px; background: #eef0f5;
  text-decoration: none; color: var(--ink); font: 15px var(--chunky); box-shadow: 0 4px 0 var(--ink); transition: translate .12s, box-shadow .12s, background .2s; }
.ptab:hover { background: #fff; translate: 0 -2px; box-shadow: 0 6px 0 var(--ink); }
.ptab.on { background: var(--accent); color: #fff; translate: 0 3px; box-shadow: 0 1px 0 var(--ink); }
.pthumb { width: 58px; height: 44px; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; background: #fff; }
.pthumb img { width: 100%; height: 100%; object-fit: cover; }
.p-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 18px; }
.p-head .layer-h { margin: 0; }
.p-head .role { margin: 0; font: 16px var(--chunky); color: #6b7280; }
.process .proc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.process .proc .hero { display: grid; justify-items: center; padding: 14px; border-radius: 12px; background: repeating-conic-gradient(#eef0f5 0 25%, #fff 0 50%) 0 0 / 22px 22px; border: 3px solid #d6dae3; }
.process .proc .hero img { max-height: 560px; }
.process .text p:first-child { margin-top: 0; }
.p-steps { margin-top: 34px; padding-top: 24px; border-top: 3px dashed #d6dae3; }
.p-steps h3 { font: 22px var(--display); color: var(--accent); margin: 0 0 8px; }
.p-steps .steps { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-top: 18px; }
@media (max-width: 860px) { .process .proc { grid-template-columns: 1fr; } }

/* ---- the desktops: with the header scrolled away, every file fits on one screen; icons run down a column and then
   start the next one, like a real desktop */
@media (min-width: 861px) {
  .desktop { grid-template-columns: auto minmax(0, 1fr); }
  .desktop .icons { grid-auto-flow: column; grid-template-rows: repeat(auto-fill, 108px); grid-auto-columns: 112px; gap: 6px 4px; max-height: calc(100vh - 96px); align-content: start; }
  .dicon { align-content: start; }
  .desktop.room-art:not(.has-open) { min-height: calc(100vh - 90px); margin-bottom: 0; }
}
@media (min-width: 861px) { .desktop .icons { grid-auto-columns: 128px; } }
.dicon span { overflow-wrap: normal; word-break: normal; }

/* ---- the room comes alive: Lana breathes and dreams, the rocking horse rocks, the plush tilts its head, dust drifts in
   the window light, scanlines roll down the screens, the string lights wash the wall, and the clock ticks */
.room-svg .cat-body { transform-box: fill-box; transform-origin: 50% 100%; animation: cat-breathe 3.8s ease-in-out infinite; }
@keyframes cat-breathe { 50% { transform: scale(1.025, 1.08); } }
.room-svg .cat-head { transform-box: fill-box; transform-origin: 80% 90%; animation: cat-nuzzle 9s ease-in-out infinite; }
@keyframes cat-nuzzle { 0%, 78%, 100% { transform: none; } 84% { transform: rotate(-5deg); } 90% { transform: rotate(2deg); } }
.room-svg .cat-tail { transform-box: fill-box; transform-origin: 0 60%; animation: cat-tail 6s ease-in-out infinite; }
@keyframes cat-tail { 0%, 60%, 100% { transform: none; } 70% { transform: rotate(10deg); } 80% { transform: rotate(-4deg); } 88% { transform: rotate(6deg); } }
.room-svg .zzz text { transform-box: fill-box; transform-origin: center; opacity: 0; animation: zzz 4.2s ease-out infinite; }
.room-svg .zzz text:nth-child(2) { animation-delay: 1.4s; } .room-svg .zzz text:nth-child(3) { animation-delay: 2.8s; }
@keyframes zzz { 0% { opacity: 0; transform: translate(10px, 14px) scale(.5); } 25% { opacity: .95; } 100% { opacity: 0; transform: translate(-14px, -26px) scale(1.15); } }
.hot.found .zzz, .hot:hover .zzz { display: none; }
.room-svg .horse { transform-box: fill-box; transform-origin: 50% 96%; animation: rock-room 3.4s ease-in-out infinite alternate; }
@keyframes rock-room { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.room-svg .plush { transform-box: fill-box; transform-origin: 50% 100%; animation: plush 7s ease-in-out infinite; }
@keyframes plush { 0%, 70%, 100% { transform: none; } 76% { transform: rotate(-10deg); } 86% { transform: rotate(-10deg); } 92% { transform: rotate(4deg); } }
.room-svg .motes circle { opacity: 0; animation: mote 10s ease-in-out infinite; }
.room-svg .motes circle:nth-child(2) { animation-delay: -2s; animation-duration: 12s; } .room-svg .motes circle:nth-child(3) { animation-delay: -4s; }
.room-svg .motes circle:nth-child(4) { animation-delay: -6s; animation-duration: 13s; } .room-svg .motes circle:nth-child(5) { animation-delay: -8s; }
.room-svg .motes circle:nth-child(6) { animation-delay: -1s; animation-duration: 11s; } .room-svg .motes circle:nth-child(7) { animation-delay: -5s; } .room-svg .motes circle:nth-child(8) { animation-delay: -7s; animation-duration: 14s; }
@keyframes mote { 0% { opacity: 0; transform: translate(0, 0); } 20% { opacity: .8; } 50% { transform: translate(14px, -30px); } 80% { opacity: .6; } 100% { opacity: 0; transform: translate(-8px, -60px); } }
.room-svg .beam { animation: beam 7s ease-in-out infinite alternate; }
@keyframes beam { from { opacity: .75; } to { opacity: 1; } }
.room-svg .scan { animation: scan 3.2s linear infinite; }
.room-svg .scan-pc { animation-duration: 4.6s; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(150px); } }
.room-svg .glows { animation: glows 3s ease-in-out infinite alternate; }
@keyframes glows { from { opacity: .35; } to { opacity: .55; } }
.room-svg .screen-glow { animation: glows 4s ease-in-out infinite alternate; }
.adventure.dark .room-svg .beam, .adventure.dark .room-svg .motes { opacity: 0; }
.clock .hand-s { transform-box: view-box; transform-origin: 1040px 150px; transition: transform .2s cubic-bezier(.3, 1.8, .5, 1); }
/* light and shade are soft, not cut paper */
.papers > .glows, .papers > .screen-glow { filter: url(#rm-glow); }
.papers > .beam { filter: url(#rm-beam-soft); }
.papers > .floor-shadows { filter: url(#rm-blur); }
.papers > .motes { filter: none; }

/* ---- Jungle Bungler card backs: square like the fronts (the room page's ".back" button rule was squashing them) */
.tile .back { margin: 0; box-sizing: border-box; }
.tile .back.real { border: 0; background: none; }
/* ---- the home TV: its top lines up with the top of the program guide */
.tv-wrap { padding-top: 80px; }
/* ---- Ed's Diner: the photo covers the set once (it was repeating down the tall section: two bands of lights) */
.t-ed-s-diner .photo { background-size: cover !important; background-repeat: no-repeat !important; background-position: center 65% !important; }
/* ---- CH 13, calmer: a plain dark board (no scraps, no dots); the games as a typed list of links, each with its
   one-liner; one button */
.t-clippings .set { background: var(--c-noise), radial-gradient(ellipse at center, #2a2222, #141010 80%); }
.clip-list { list-style: none; margin: 14px 0 8px; padding: 0; display: grid; gap: 2px; }
.clip-list a { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 6px 4px; text-decoration: none; color: inherit; border-bottom: 1px dashed rgba(29, 26, 26, .25); }
.clip-list b { font: 14px 'Archivo Black', sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--c-ink); }
.clip-list b::before { content: '\2702'; color: var(--c-red); margin-right: 8px; font-family: 'Courier Prime', monospace; }
.clip-list span { font: 14px/1.4 'Courier Prime', monospace; }
.clip-list a:hover b { color: var(--c-red); }
.clip-list a:hover { background: rgba(232, 51, 58, .07); }
@media (max-width: 600px) { .clip-list a { grid-template-columns: 1fr; gap: 0; } }
.ep.clipping { grid-template-areas: "head media" "text media" "text list"; }
.clipping .clip-list { grid-area: list; margin-top: 22px; }

/* ---- Art, just the program: it is the page (no desktop, no taskbar, no window buttons) */
.art-stage { max-width: 1340px; margin: 34px auto 80px; padding: 0 16px; position: relative; }
body.art { padding-bottom: 0; }
/* the featured projects: each a big layer of its own, cover and write-up, then how it came together as a filmstrip of
   tilted prints, numbered, that straighten up when you point at them */
.selections { display: grid; gap: 46px; }
.selection.proj { display: block; padding: 26px; border-radius: 16px; background: #f6f3ff; border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--accent); }
.selection.proj::after { content: none; }
.selection.proj:nth-child(2n) { background: #fff6ec; }
.selection.proj:nth-child(3n) { background: #effaf3; }
.sel-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; align-items: start; }
.selection.proj .cover { display: grid; justify-items: center; padding: 12px; border-radius: 10px; background: repeating-conic-gradient(#e9eaf0 0 25%, #fff 0 50%) 0 0 / 20px 20px; border: 3px solid var(--ink); rotate: -1deg; }
.selection.proj .cover .lb { display: block; }
.selection.proj .cover img { width: auto; height: auto; max-width: 100%; max-height: 440px; object-fit: contain; }
.selection.proj .sel-text h3 { font: 34px/1.1 var(--display); color: var(--accent); margin: 4px 0 4px; }
.p-steps { margin-top: 26px; }
.p-steps h4 { margin: 0 0 6px; }
.p-steps h4 span { display: inline-block; font: 15px var(--pixel); color: #fff; background: var(--ink); padding: 6px 14px 4px; border-radius: 30px; rotate: -2deg; }
.filmstrip { list-style: none; display: flex; gap: 20px; overflow-x: auto; margin: 16px -26px 0; padding: 18px 26px 22px; scrollbar-width: thin; }
.filmstrip li { position: relative; flex: 0 0 190px; rotate: calc((var(--k) % 2 * 2 - 1) * 2.5deg); transition: rotate .25s cubic-bezier(.3, 1.6, .5, 1), translate .25s cubic-bezier(.3, 1.6, .5, 1); }
.filmstrip li:hover { rotate: 0deg; translate: 0 -6px; z-index: 2; }
.filmstrip li .lb { display: block; aspect-ratio: 1; padding: 8px 8px 26px; background: #fff; border: 3px solid var(--ink); border-radius: 4px; box-shadow: 0 6px 0 rgba(0, 0, 0, .18); }
.filmstrip li img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.filmstrip li:not(:last-child)::after { content: '\279C'; position: absolute; right: -19px; top: 42%; font-size: 18px; color: var(--accent); }
.step-n { position: absolute; z-index: 2; left: -10px; top: -12px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; border: 3px solid var(--ink); font: 15px var(--display); }
@media (max-width: 860px) { .sel-top { grid-template-columns: 1fr; } .selection.proj { padding: 18px; } .filmstrip { margin: 12px -18px 0; padding: 18px; } .filmstrip li { flex-basis: 150px; } }
.selections { grid-template-columns: minmax(0, 1fr); }
.selection.proj, .p-steps { min-width: 0; }
.filmstrip li { rotate: -2.5deg; } .filmstrip li:nth-child(2n) { rotate: 2deg; translate: 0 6px; } .filmstrip li:nth-child(3n) { rotate: -1deg; }
.filmstrip li:hover { rotate: 0deg; translate: 0 -6px; }

/* ================================================================ the room, all papercraft
   Torn paper for the soft things (rug, beanbag, curtains, notes, the cat, the plant); cut card for the rest. Every
   piece layered on another casts a tiny shadow. Each thing you can click moves in its own way when you point at it. */
.papers > .rug-floor, .papers > .beanbag, .papers > .hot#hot-cat { filter: url(#rm-torn); }
.room-svg .curtain path:first-child, .room-svg .cork > g > rect, .room-svg .plant path[fill]:not([fill="none"]) { filter: url(#rm-layer); }
.room-svg .hot rect:not([fill="none"]):not(.tv-noise):not(.scan):not(.tv-static), .room-svg .hot path:not([fill="none"]), .room-svg .hot circle, .room-svg .hot ellipse,
.room-svg .desk > *, .room-svg .cork > circle, .room-svg .clock > circle:first-child, .room-svg .window > rect:not([fill^="url"]), .room-svg .deck > *,
.room-svg .beanbag > path:first-child, .room-svg .paper-fly > * { filter: url(#rm-layer); }
.room-svg .zzz text { filter: none; }
.papers > .hot#hot-cat:hover, .papers > .hot#hot-cat:focus-visible, .papers > .hot#hot-cat.lit { filter: url(#rm-torn) drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff); }
/* (only groups with no transform attribute of their own animate: transform-box would shift those that have one) */
.room-svg .frame, .room-svg .ant, .room-svg .pol, .room-svg .ear, .room-svg .can, .room-svg .handset, .room-svg .plush, .room-svg .mouse, .room-svg .cursor, .room-svg .leafg { transform-box: fill-box; }

/* the plant: its leaves stir */
.room-svg .leafg { transform-origin: 0 50%; animation: leaf 5s ease-in-out infinite alternate; }
.room-svg .leafg:nth-child(2n) { animation-delay: -2.5s; }
@keyframes leaf { from { rotate: -3deg; } to { rotate: 3deg; } }
/* the paper monarch: pinned, its wings lift now and then */
.room-svg .paper-fly .wing { transform-box: fill-box; transform-origin: 100% 50%; animation: flutter 6s ease-in-out infinite; }
.room-svg .paper-fly .wr { transform-origin: 0% 50%; }
@keyframes flutter { 0%, 80%, 100% { scale: 1 1; } 85% { scale: .55 1; } 90% { scale: 1 1; } 94% { scale: .7 1; } }

/* art: the frames swing on their nails */
.room-svg .frame { transform-origin: 50% 0; }
#hot-art:hover .frame, #hot-art.lit .frame, #hot-art:focus-visible .frame { animation: swing-frame 1s ease-in-out; }
#hot-art:hover .f2, #hot-art.lit .f2 { animation-delay: .08s; } #hot-art:hover .f3, #hot-art.lit .f3 { animation-delay: .16s; }
@keyframes swing-frame { 20% { rotate: 4deg; } 45% { rotate: -3deg; } 70% { rotate: 1.5deg; } 100% { rotate: 0deg; } }
/* shelf: the plush hops, the controller wiggles */
#hot-shelf:hover .plush, #hot-shelf.lit .plush { animation: hop .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes hop { 40% { translate: 0 -14px; rotate: -6deg; } 100% { translate: 0 0; rotate: 0deg; } }
/* TV: the antennas twitch for a signal and the picture fizzes into static */
.room-svg .tv-noise { opacity: 0; pointer-events: none; }
.room-svg .ant { transform-origin: 50% 100%; }
#hot-tv:hover .ant, #hot-tv.lit .ant { animation: ant .5s ease-in-out 2; }
#hot-tv:hover .ar, #hot-tv.lit .ar { animation-name: ant-r; }
@keyframes ant { 50% { rotate: -12deg; } } @keyframes ant-r { 50% { rotate: 12deg; } }
#hot-tv:hover .tv-noise, #hot-tv.lit .tv-noise { animation: fizz .9s steps(1); }
@keyframes fizz { 0%, 30%, 60% { opacity: .85; } 15%, 45% { opacity: .4; } 75%, 100% { opacity: 0; } }
/* the polaroid swings on its pin */
.room-svg .pol { transform-origin: 50% 2%; }
#hot-photo:hover .pol, #hot-photo.lit .pol { animation: swing-frame 1.1s ease-in-out; }
/* Lana wakes: her head lifts, her eyes open, her ears flick, her tail swishes */
.room-svg .eyes-open { opacity: 0; }
#hot-cat:hover .eyes-open, #hot-cat.lit .eyes-open { opacity: 1; }
#hot-cat:hover .eyes-shut, #hot-cat.lit .eyes-shut { opacity: 0; }
#hot-cat:hover .cat-head, #hot-cat.lit .cat-head { animation: none; rotate: -8deg; translate: 0 -6px; transition: rotate .3s, translate .3s; }
.room-svg .ear { transform-origin: 50% 100%; }
#hot-cat:hover .el, #hot-cat.lit .el { animation: ear .4s ease-in-out 2; }
@keyframes ear { 50% { rotate: -14deg; } }
#hot-cat:hover .cat-tail, #hot-cat.lit .cat-tail { animation: cat-tail 1.2s ease-in-out infinite; }
/* the phone: the handset lifts off its cradle and rings, with ring marks either side */
.room-svg .rings { opacity: 0; }
.hot[data-note="phone"]:hover .handset { animation: none; }
#hot-phone:hover .handset, #hot-phone.lit .handset { animation: lift-ring .9s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes lift-ring { 0% { translate: 0 0; rotate: 0deg; } 15% { translate: 0 -16px; rotate: -5deg; } 25% { rotate: 5deg; translate: 0 -16px; } 35% { rotate: -5deg; translate: 0 -16px; } 45% { rotate: 4deg; translate: 0 -16px; } 55% { rotate: 0deg; translate: 0 -16px; } 75%, 100% { translate: 0 0; rotate: 0deg; } }
#hot-phone:hover .rings, #hot-phone.lit .rings { animation: rings .9s ease-in-out infinite; }
@keyframes rings { 10%, 50% { opacity: 1; } 0%, 60%, 100% { opacity: 0; } }
/* the computer: the screens brighten and the cursor wanders; the mouse moves with it */
.room-svg .cursor { opacity: 0; }
#hot-computer:hover .cursor, #hot-computer.lit .cursor { opacity: 1; animation: cursor 2s ease-in-out infinite alternate; }
#hot-computer:hover .mouse, #hot-computer.lit .mouse { animation: mouse 2s ease-in-out infinite alternate; }
@keyframes cursor { to { translate: 50px 34px; } } @keyframes mouse { to { translate: 6px 3px; } }
#hot-computer:hover image, #hot-computer.lit image { filter: brightness(1.18) saturate(1.1); }
/* breakfast: the can wobbles and the dim sum steams harder */
.room-svg .can { transform-origin: 50% 100%; }
#hot-breakfast:hover .can, #hot-breakfast.lit .can { animation: wobble .6s ease-in-out 2; }
@keyframes wobble { 25% { rotate: -5deg; } 75% { rotate: 4deg; } }
#hot-breakfast:hover .steam path, #hot-breakfast.lit .steam path { animation-duration: 1s; }
/* Rowan's real photo in a note: a little cut-out with a hard paper shadow */
.note-pic { display: block; width: min(100%, 300px); height: auto; margin: 4px 0 6px; rotate: -2deg; filter: drop-shadow(3px 4px 0 rgba(29, 26, 26, .25)); }

/* ---- Art: calm, plain backgrounds behind the projects (no dots, no checkerboard) */
.selection.proj, .selection.proj:nth-child(2n), .selection.proj:nth-child(3n) { background-image: none; }
.selection.proj { background-color: #f8f6fc; } .selection.proj:nth-child(2n) { background-color: #fdf8f1; } .selection.proj:nth-child(3n) { background-color: #f4faf5; }
.selection.proj .cover { background: #fff; }
.selection.proj::before { content: none; }
/* cute scrollbars: a round, chunky thumb in the page's colour on a soft track */
.room-art, .room-art * { scrollbar-width: thin; scrollbar-color: var(--accent) #ecebf4; }
.room-art ::-webkit-scrollbar { height: 14px; width: 14px; }
.room-art ::-webkit-scrollbar-track { background: #ecebf4; border-radius: 10px; box-shadow: inset 0 0 0 2px #d6d3e6; }
.room-art ::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; border: 3px solid #ecebf4; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2); }
/* the fold arrows beside the headings */
.layer-row { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; }
.layer-row .layer-h { margin: 0; }
.fold-arrow { all: unset; cursor: var(--cur-hand); flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); transition: translate .1s, box-shadow .1s; box-sizing: border-box; }
.fold-arrow::before { content: ''; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 10px solid var(--accent); transition: rotate .25s; translate: 0 2px; }
.fold-arrow:hover { translate: 0 -1px; box-shadow: 0 4px 0 var(--ink); }
.fold-arrow:active { translate: 0 2px; box-shadow: 0 1px 0 var(--ink); }
.fold-arrow:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.layer.folded .layer-row .fold-arrow::before { rotate: -90deg; }
.layer.folded > :not(.layer-row) { display: none !important; }

/* ================================================================ Art, dark mode: the program in night colours.
   Charcoal plastic, a deep ink canvas, soft light text; the pictures and the accent colour do the glowing. */
.room-art { --dk-body: #1b1922; --dk-canvas: #15131b; --dk-card: #211e2a; --dk-line: #3a3548; --dk-text: #e9e5f2; --dk-mute: #a79fbd; --dk-plastic: #2c2936; --dk-plastic-hi: #3d3949; }
.room-art .paint { background: linear-gradient(180deg, #34303f, #24212d); color: var(--dk-text); box-shadow: inset 0 5px 0 rgba(255, 255, 255, .08), inset 0 -4px 0 #15131b, 0 8px 0 #0d0c12, 0 8px 0 6px var(--ink), 0 24px 40px rgba(0, 0, 0, .45); }
.room-art .titlebar { background: linear-gradient(90deg, #2b2640, #3b2f5c); }
.room-art .menubar { color: var(--dk-mute); }
.room-art .toolbox, .room-art .palette { background: var(--dk-plastic); box-shadow: inset 3px 3px 0 var(--dk-plastic-hi), inset -3px -3px 0 #16141c; }
.room-art .tool { background: #393545; color: var(--dk-text); box-shadow: inset -3px -3px 0 #22202b, inset 3px 3px 0 #4a4559; }
.room-art .tool:hover { background: #46415a; }
.room-art .tool.on { background: var(--butter); color: var(--ink); }
.room-art .palette .cur::before { background: #393545; }
.room-art .canvas { background: var(--dk-canvas); box-shadow: inset 0 0 0 1px #2a2633; color: var(--dk-text); }
.room-art .statusbar { color: var(--dk-mute); border-color: var(--dk-line); box-shadow: none; background: #1d1a24; }
.room-art .canvas p, .room-art .canvas li, .room-art .lede { color: var(--dk-text); }
.room-art .canvas .role, .room-art .p-head .role { color: var(--dk-mute); }
.room-art .layer-h { text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 45%, transparent); }
.room-art .layer-h::after { border-color: color-mix(in srgb, var(--accent) 70%, transparent); }
/* the projects: dark cards with a hint of colour each */
.room-art .selection.proj { background-color: #211d2c; border-color: #0d0c12; }
.room-art .selection.proj:nth-child(2n) { background-color: #1f2129; }
.room-art .selection.proj:nth-child(3n) { background-color: #1d2622; }
.room-art .selection.proj .cover { background: #2a2635; border-color: #0d0c12; }
.room-art .p-steps h4 span { background: var(--accent); color: var(--ink); }
.room-art .filmstrip li .lb { background: #f1ede4; border-color: #0d0c12; }
.room-art .layer-tag { border-color: #0d0c12; }
.room-art .pen h3 { color: var(--dk-text); }
.room-art .gallery .lb { border-color: #0d0c12; }
.room-art .gallery .cap { color: var(--dk-text); }
/* the fold arrows and scrollbars in the dark */
.room-art .fold-arrow { background: #2c2936; border-color: #0d0c12; box-shadow: 0 3px 0 #0d0c12; }
.room-art, .room-art * { scrollbar-color: var(--accent) #24212d; }
.room-art ::-webkit-scrollbar-track { background: #24212d; box-shadow: inset 0 0 0 2px #34303f; }
.room-art ::-webkit-scrollbar-thumb { border-color: #24212d; }
.room-art .canvas a:not(.btn):not(.lb):not(.tool) { color: color-mix(in srgb, var(--accent) 80%, #fff); }

/* ---- the room, redrawn pieces: the clock's paper hands turn about its new centre; the bugs are paper too */
.clock .hand-h, .clock .hand-m, .clock .hand-s { transform-box: view-box; transform-origin: 1075px 150px; }
.room-svg .controller > *, .room-svg .plush > *, .room-svg .stool > *, .room-svg .clock > *, .room-svg .clock rect { filter: url(#rm-layer); }
.bug svg { filter: url(#rm-cut); }
#hot-shelf:hover .controller, #hot-shelf.lit .controller { animation: wobble .5s ease-in-out 2; transform-box: fill-box; transform-origin: 50% 100%; }

/* ---- Art: graph paper behind the program */
.wallpaper.grid-paper { background: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 32px 32px, #1f1c27; }
/* sub-tools: under the open file's tool, little tabs to jump to its parts */
.room-art .subtools { display: none; gap: 4px; margin: -2px 0 4px; padding: 6px 4px; border-radius: 8px; background: #1d1a24; box-shadow: inset 2px 2px 0 #12101a; }
.room-art .tool.on + .subtools { display: grid; }
.room-art .subtool { display: block; padding: 4px 3px 3px; border-radius: 5px; font: 8.5px/1.2 var(--pixel); color: var(--dk-text); text-decoration: none; text-align: center; background: #393545; box-shadow: inset -2px -2px 0 #22202b; }
.room-art .subtool:hover { background: var(--accent); color: var(--ink); }
.room-art .subtool:focus-visible { outline: 3px solid var(--yellow); }
/* the pretend tools: a little grid of icons, like any paint program */
.minitools { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 7px; border: 4px solid var(--ink); border-radius: 12px; background: var(--dk-plastic, #d6dae3); box-shadow: inset 3px 3px 0 var(--dk-plastic-hi, #fff), inset -3px -3px 0 #16141c; }
.ftool { all: unset; cursor: var(--cur-hand); display: grid; place-items: center; aspect-ratio: 1; border-radius: 6px; border: 2px solid var(--ink); background: #393545; box-shadow: inset -2px -2px 0 #22202b, inset 2px 2px 0 #4a4559; }
.ftool svg { width: 20px; height: 20px; }
.ftool:hover { background: #46415a; }
.ftool:hover svg { animation: squish .45s; }
.ftool.on { background: var(--butter); box-shadow: inset 2px 2px 0 #c9a400; }
.ftool:focus-visible { outline: 3px solid var(--yellow); }
/* back and next at the foot of every file */
.doc-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 46px; padding-top: 22px; border-top: 3px dashed var(--dk-line, #d6dae3); }
.dn { display: grid; gap: 2px; padding: 10px 18px 9px; border: 3px solid #0d0c12; border-radius: 12px; background: #2c2936; color: var(--dk-text, #fff); text-decoration: none; font: 20px var(--display); box-shadow: 0 5px 0 #0d0c12; transition: translate .12s, box-shadow .12s, background .2s; }
.dn small { font: 10px var(--pixel); color: var(--dk-mute, #aaa); letter-spacing: .08em; text-transform: uppercase; }
.dn.next { text-align: right; margin-left: auto; }
.dn:hover { background: var(--accent); color: var(--ink); translate: 0 -2px; box-shadow: 0 7px 0 #0d0c12; }
.dn:hover small { color: var(--ink); }
.dn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.ftool { background: #c9c4d8; box-shadow: inset -2px -2px 0 #8f89a3, inset 2px 2px 0 #ece9f5; }
.ftool:hover { background: #e4e0f0; }

/* ---- the room's art style: cut paper has no ink outlines, only shapes, the shadows between layers, and a warm
   printed tone over everything. (Fine detail lines, the ones drawn with no fill, stay.) */
.room-svg .papers [fill]:not([fill="none"]) { stroke: none; }
.room-svg { filter: saturate(.86) sepia(.1) contrast(1.02); }
.room-svg .plant path[fill]:not([fill="none"]), .room-svg .plant rect { filter: url(#rm-layer); }
.room-svg .floor-plant .leafg, .room-svg .sill-plants path, .room-svg .desk-plant path { transform-box: fill-box; }
.room-svg .floor-plant .leafg { transform-origin: 50% 100%; }

/* ---- Art, round two of the toolbox: green by default; a wider side bar with bigger labels; sub-tools as real tiles;
   the pretend tools as a flat info readout that doesn't look clickable */
.room-art { --accent: #8fd14f; }
.room-art .paint-body { grid-template-columns: 104px minmax(0, 1fr); }
.room-art .tool .tl { font-size: 11px; line-height: 1.15; }
.room-art .tool .ico { width: 30px; height: 30px; }
.room-art .swatches { grid-template-columns: repeat(2, 24px); gap: 5px; }
.room-art .palette .sw { width: 24px; height: 24px; }
.room-art .subtools { gap: 6px; margin: 0 0 4px; padding: 6px; border-radius: 10px; }
.room-art .subtool { display: grid; justify-items: center; gap: 4px; padding: 8px 4px 7px; border-radius: 8px; border: 3px solid #0d0c12; background: #393545; color: var(--dk-text);
  font: 10.5px/1.15 var(--pixel); box-shadow: inset -3px -3px 0 #22202b, inset 3px 3px 0 #4a4559; }
.room-art .subtool .ico { width: 24px; height: 24px; display: block; }
.room-art .subtool .ico svg { width: 100%; height: 100%; }
.room-art .subtool:hover { background: #46415a; color: var(--dk-text); }
.room-art .subtool.on { background: var(--accent); color: var(--ink); box-shadow: inset 2px 2px 0 rgba(0, 0, 0, .25); }
.minitools { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 9px 8px; border: 4px solid var(--ink); border-radius: 12px; background: #1d1a24; box-shadow: inset 2px 2px 0 #12101a; cursor: default; }
.mt-h { font: 10px var(--pixel); color: var(--dk-mute); letter-spacing: .08em; text-transform: uppercase; }
.mt-row { display: flex; flex-wrap: wrap; gap: 5px; }
.ftool { all: unset; display: block; width: 16px; height: 16px; opacity: .55; filter: grayscale(1) invert(.85); }
.ftool svg { width: 100%; height: 100%; }
.mt-read { font: 10px var(--pixel); color: var(--dk-text); opacity: .8; }
.mt-bar { display: block; height: 6px; border-radius: 3px; background: #2c2936; overflow: hidden; }
.mt-bar i { display: block; width: 62%; height: 100%; background: var(--accent); }
.note-pic { width: min(100%, 150px); }
.readall[open] { padding-bottom: 20px; }

/* the controller's pieces each cast their tiny shadow; it rocks on its base when the shelf is pointed at */
.room-svg .controller g > * { filter: url(#rm-layer); }

/* ================================================================ tidy-up pass: alignment, padding, colour */
/* every show card: any spare height goes under the write-up, never between the title and it */
.ep { grid-template-rows: auto 1fr; }
/* a thumbnail strip with only a few pictures sits in the middle instead of leaving a gap */
.track { justify-content: safe center; }
/* Snapshot Isle's name in the game's own colours: navy SNAPSHOT, lime ISLE, a sky-blue offset */
.t-snapshot-isle .ep-title { color: #1d3d73; text-shadow: 3px 3px 0 #8fd0ee, 5px 5px 0 #1d3d73; }
.t-snapshot-isle .ep-title .isle { color: #b5cf2e; text-shadow: 2px 0 0 #1d3d73, -2px 0 0 #1d3d73, 0 2px 0 #1d3d73, 0 -2px 0 #1d3d73, 2px 2px 0 #1d3d73, -2px 2px 0 #1d3d73, 2px -2px 0 #1d3d73, -2px -2px 0 #1d3d73, 5px 5px 0 #8fd0ee; }
.t-snapshot-isle .greet { color: #1d3d73; }
.postcard { padding-bottom: 56px; }
/* Clippings: the five games as a row of slips across the bottom of the card */
.ep.clipping { grid-template-areas: "head media" "text media" "list list"; }
.clipping .clip-list { grid-area: list; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.clipping .clip-list a { grid-template-columns: 1fr; gap: 6px; height: 100%; box-sizing: border-box; padding: 12px 12px 14px; border: 0; background: #ece3cc; rotate: -1deg;
  clip-path: polygon(0 3%, 25% 0, 50% 2%, 75% 0, 100% 3%, 99% 50%, 100% 97%, 75% 100%, 50% 98%, 25% 100%, 0 97%, 1% 50%); }
.clipping .clip-list li:nth-child(2n) a { rotate: 1deg; background: #e5dbc1; }
.clipping .clip-list a:hover { background: #f6eedb; }
.clipping .clip-list li { display: block; }
@media (max-width: 900px) { .clipping .clip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the desktops: a little more room per icon, so a three-line name never touches the next one */
@media (min-width: 861px) { .desktop .icons { grid-template-rows: repeat(auto-fill, 122px); } }
/* Design Tools: the cards all the same height */
.tools-list li { display: flex; }
.tools-list li > a { flex: 1; }
/* Jungle Bungler: no key before the name */
.lid .ep-title::before { content: none; }
/* Ed's Diner: the photo's red stool seats read as a second row of lamps; the band where the lamps hang is kept dark */
.t-ed-s-diner .dark { background: linear-gradient(rgba(5, 4, 18, .95), rgba(5, 4, 18, .85) 16%, transparent 34%, transparent 70%, rgba(5, 4, 18, .6)), radial-gradient(ellipse at 50% 45%, rgba(10, 8, 30, .7), rgba(5, 4, 18, .95)); }
.t-ed-s-diner.open .dark { opacity: .55; }
/* ---- the home page's first screen: the TV and the guide fit a 16:9 screen with the top of the next show peeking in below,
   so you know there's more. The TV shrinks on short screens; only the top of its stand shows; the guide is as tall as the TV. */
.living { align-items: start; padding-bottom: 0; }
.tv-wrap { padding-top: 64px; }
.living .tv-wrap { width: 100%; max-width: calc((100svh - 154px - 64px - 60px - 52px) * 1.6); justify-self: center; }
.living .tv-stand { height: 60px; }
.living .tv-stand .drawer { height: 60px; }
.living .tv-stand .cubby { display: none; }
.living .tv-stand .body { bottom: 0; }
.living .guide { margin: 64px 0 0; align-self: start; }
.guide h2 { font-size: 30px; padding: 12px 18px 10px; }
.guide a { padding: 6px 8px; }
.guide b { font-size: 18px; }
.guide small { font-size: 12px; }
.guide-foot { margin-top: 8px; }
/* the bee hovers by the left side of the TV; the butterfly's feet rest on the guide's top edge */
.bee.b0 { left: -1%; top: 210px; }
.guide .perched { top: -42px; }
@media (max-width: 1100px) { .living .tv-wrap { max-width: none; } .living .guide { margin-top: 24px; } }
.living .tv-wrap { max-width: calc((100svh - 383px) * 1.6); }
.guide a { padding: 4px 8px; }
.guide b { line-height: 1.05; }
.guide small { line-height: 1.2; }
.guide h2 { font-size: 28px; padding: 10px 18px 8px; }
.guide ol { padding-top: 4px; }
.guide li.late a { margin-top: 4px; }
/* a touch taller: the next show still peeks in, just a little less */
.living .tv-wrap { max-width: calc((100svh - 358px) * 1.6); }
.guide a { padding: 5px 8px; }
.living .tv-stand { height: 88px; } .living .tv-stand .drawer { height: 66px; }
/* ---- the first screen fills the screen (less a ~36px peek of the next show) at any height: the TV stand grows to fill it */
.living { min-height: calc(100svh - 190px); }
.living .tv-wrap { display: flex; flex-direction: column; align-self: stretch; }
.living .tv-stand { flex: 1 0 88px; height: auto; overflow: hidden; }
.living .tv-stand .body { bottom: 0; height: auto; }
.living .tv-stand .cubby { display: block; top: 96px; bottom: 0; }
/* the stand is a darker, redder walnut than the TV, so the two read as separate pieces of furniture */
.living .tv-stand { filter: hue-rotate(-10deg) saturate(1.15) brightness(.66); }
/* the antenna sits ON the TV's top: its base in front of the top face, the rods still passing behind the top bar */
.living .antenna { z-index: 3; bottom: calc(100% + 14px); }
@media (max-width: 1100px) { .living { min-height: 0; } .living .tv-stand { flex-basis: 200px; } }
/* ---- the video play buttons: the triangle centred (between its box centre and its balance point, which reads as centred) */
.yt-play::before { margin: 0 0 0 2px; }
/* ---- Snapshot Isle: nothing escapes the postcard. The stamp and its postmark sit inside the top-right corner (the video
   starts a little lower to make room), one butterfly rests inside the bottom corner */
.postcard .viewer { margin-top: 70px; }
.stamp-wrap { top: 18px; right: 24px; }
.postmark { top: 30px; right: 98px; }
.postcard .b1 { display: none; }
.postcard .b2 { bottom: 14px; right: 18px; }

/* ================================================================ round 30 */
/* Ed's Diner: an old lamp rule gave every piece of each lamp (cord, shade, bulb, light pool) its own bulb and light
   cone: that was the second layer of lights. Only the real bulb and its one pool now. */
.t-ed-s-diner .lamp i::after { content: none; }
.t-ed-s-diner .lamp i:not(.shade)::before { content: none; }

/* the breaker box: a proper metal panel in the card, under the write-up, its five switches in a row like a real one */
.t-ed-s-diner .ep { grid-template-areas: "head media" "text media" "panel media"; grid-template-rows: auto auto 1fr; }
.t-ed-s-diner .breaker { grid-area: panel; position: relative; top: auto; right: auto; justify-self: start; align-self: start; margin-top: 22px; width: min(100%, 420px);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 18px; padding: 34px 20px 16px; border: 3px solid #121316; border-radius: 10px;
  background: radial-gradient(circle at 12px 12px, #9aa1a8 0 3px, #2a2d31 3.5px, transparent 4.5px), radial-gradient(circle at calc(100% - 12px) 12px, #9aa1a8 0 3px, #2a2d31 3.5px, transparent 4.5px),
    radial-gradient(circle at 12px calc(100% - 12px), #9aa1a8 0 3px, #2a2d31 3.5px, transparent 4.5px), radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), #9aa1a8 0 3px, #2a2d31 3.5px, transparent 4.5px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 5px), linear-gradient(160deg, #6a7178, #43484e 60%, #34383d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -3px 8px rgba(0, 0, 0, .45), 0 6px 0 #0c0d0f, 0 14px 24px rgba(0, 0, 0, .5); rotate: 0deg; }
.t-ed-s-diner .breaker::before, .t-ed-s-diner .breaker::after { content: none; }
.t-ed-s-diner .bk-label { position: absolute; left: 0; right: 0; top: 0; height: 22px; display: grid; place-items: center; border-radius: 7px 7px 0 0; margin: 0;
  background: repeating-linear-gradient(-45deg, #f5c400 0 9px, #1b1b1b 9px 18px); font: 0/0 a; color: transparent; }
.t-ed-s-diner .bk-label::after { content: 'BREAKER BOX'; font: 11px var(--pixel); letter-spacing: .12em; color: #1b1b1b; background: #f5c400; padding: 3px 10px 2px; border: 2px solid #1b1b1b; border-radius: 3px; }
.t-ed-s-diner .sws { display: flex; gap: 12px; margin: 0; padding: 10px 12px 18px; border-radius: 6px; background: #1f2226; box-shadow: inset 0 3px 6px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .15); }
.t-ed-s-diner .sw { width: 28px; height: 54px; }
.t-ed-s-diner .sw small { color: #c9ced3; bottom: -16px; }
.t-ed-s-diner .bk-status { flex-direction: column; align-items: center; gap: 8px; font: 12px var(--pixel); color: #e8eaec; text-align: center; }
.t-ed-s-diner .bk-led { width: 16px; height: 16px; }
.t-ed-s-diner .bk-again { background: #f5c400; color: #1b1b1b; }
@media (max-width: 860px) { .t-ed-s-diner .ep { grid-template-areas: "head" "media" "text" "panel"; grid-template-rows: none; } }

/* rePAIR: the toymaker's pegboard in the game's purple; a shadow board of tools across the top; a wooden bench edge */
.t-repair .photo { display: none; }
.t-repair .set::before { content: none; }
.t-repair .pegboard { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 50% 50%, #3a2266 0 3.2px, rgba(40, 20, 80, .35) 3.8px, transparent 4.6px) 0 0 / 30px 30px,
    repeating-linear-gradient(90deg, transparent 0 598px, rgba(30, 10, 60, .35) 598px 601px),
    linear-gradient(180deg, #8f74db, #7a5ec8 70%, #6a4fb6); }
.t-repair .shadowboard { position: absolute; z-index: 1; left: 50%; top: 58px; width: min(1200px, 96%); translate: -50% 0; height: auto; pointer-events: none; }
.t-repair .bench { position: absolute; z-index: 2; left: 0; right: 0; bottom: 48%; height: 26px; background: linear-gradient(180deg, rgba(255, 225, 180, .2), rgba(0, 0, 0, .25)), url('../media/tex-wood.webp') center / cover; box-shadow: 0 6px 10px rgba(30, 10, 50, .45); }
.t-repair .set::after { background: radial-gradient(ellipse at center, transparent 55%, rgba(30, 10, 50, .35)); }

/* Clippings: the preview steps through the five games, tabs underneath to pick one */
.pv-frame { position: relative; }
.pv-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; pointer-events: none; }
.pv-slide.on { opacity: 1; pointer-events: auto; }
.pv-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.pv-dots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pv-dot { all: unset; cursor: var(--cur-hand); font: 11px 'Archivo Black', sans-serif; text-transform: uppercase; letter-spacing: .04em; padding: 4px 8px 3px; color: #1d1a1a; background: #e5dbc1; }
.pv-dot.on { background: #1d1a1a; color: #f7f1e3; }
.pv-dot:focus-visible { outline: 2px dashed #e8333a; outline-offset: 2px; }
.clip-preview { padding-bottom: 12px; }

/* the program guide: room to breathe again now the first screen is taller */
.guide a { padding: 8px 8px; }
.guide b { font-size: 20px; line-height: 1.1; }
.guide small { font-size: 13px; line-height: 1.3; }
.guide h2 { font-size: 32px; padding: 14px 20px 12px; }
.guide ol { padding-top: 8px; }
.t-repair .bench { display: none; }
/* the stand's slanted top face sits above it, filling the space under the TV: never clip it */
.living .tv-stand { overflow: visible; }

.clipping .clip-list a.on { background: #f6eedb; box-shadow: inset 0 -4px 0 #e8333a; }
/* the TV sits right on the front of the stand's top (a gap there makes it look like it's behind the stand) */
.living .tv-stand { margin-top: -2px; }
/* Snapshot Isle's postcard is as wide as the Boddle card, so its gallery gets more room */
.ep.postcard { max-width: 1180px; }
/* the stand is wider than the TV (its side panel included), as anything the TV sits on would be, and darker */
.living .tv-stand { margin-left: -22px; margin-right: -40px; filter: hue-rotate(-10deg) saturate(1.1) brightness(.5); }

/* ================================================================ round 32 */
/* rePAIR: the tool-rack photo, tinted the game's purple, is back; no click effect, no hammer cursor */
.t-repair .photo { display: block; }
.t-repair .set::before { content: ''; }
.t-repair .set::after { background: radial-gradient(ellipse at center, transparent 40%, rgba(30, 10, 50, .5)); }
.show.t-repair, .t-repair .set { cursor: auto; }

/* Ed's Diner: bigger lamps with brighter bulbs and fuller pools of light */
.t-ed-s-diner .lamp { width: 124px; }
.t-ed-s-diner .lamp .cord { height: 54px; }
.t-ed-s-diner .lamp .shade { top: 52px; width: 124px; height: 56px; border-radius: 70px 70px 8px 8px; }
.t-ed-s-diner .lamp .bulb { top: 100px; width: 46px; height: 18px; border-radius: 0 0 26px 26px; }
.t-ed-s-diner .lamp.on .bulb { background: #fffbe0; box-shadow: 0 0 22px 10px rgba(255, 236, 160, 1), 0 0 70px 26px rgba(255, 210, 120, .7); }
.t-ed-s-diner .lamp .pool { top: 112px; width: 520px; height: 720px; background: radial-gradient(ellipse at 50% 0, rgba(255, 232, 160, .78), rgba(255, 214, 135, .3) 42%, transparent 72%); }

/* the ghosts, placed on purpose: each peeks from behind an edge of the card (two on the left, two on the right, mirrored
   high and low) and one hangs about under it, looking up */
.t-ed-s-diner .ghost { animation-duration: 7s; }
.t-ed-s-diner .ghost.g0 { left: calc(50% - 540px - 84px); top: 24%; width: 118px; }
.t-ed-s-diner .ghost.g3 { left: calc(50% - 540px - 56px); top: 62%; width: 84px; }
.t-ed-s-diner .ghost.g1 { left: calc(50% + 540px - 30px); top: 30%; width: 104px; }
.t-ed-s-diner .ghost.g2 { left: calc(50% + 540px - 38px); top: 66%; width: 78px; }
.t-ed-s-diner .ghost.g4 { left: calc(50% - 40px); top: auto; bottom: 18px; width: 72px; }
@media (max-width: 1240px) { .t-ed-s-diner .ghost.g0, .t-ed-s-diner .ghost.g3 { left: 0; } .t-ed-s-diner .ghost.g1, .t-ed-s-diner .ghost.g2 { left: auto; right: 0; } }

/* the breaker box and the gallery share the bottom row, side by side and the same height: the video above, the write-up
   beside it */
.t-ed-s-diner .viewer { display: contents; }
.t-ed-s-diner .ep { grid-template-areas: "head stage" "text stage" "panel thumbs"; grid-template-rows: auto 1fr auto; row-gap: 6px; }
.t-ed-s-diner .yt, .t-ed-s-diner .viewer .stage { grid-area: stage; }
.t-ed-s-diner .thumbs { grid-area: thumbs; align-self: stretch; margin-top: 18px; }
.t-ed-s-diner .thumbs .track { align-items: center; }
.t-ed-s-diner .breaker { margin-top: 18px; align-self: stretch; width: 100%; box-sizing: border-box; }
@media (max-width: 860px) { .t-ed-s-diner .ep { grid-template-areas: "head" "stage" "thumbs" "text" "panel"; grid-template-rows: none; } }
/* the stand overhangs the TV just a little each side (its side panel included on the right) */
.living .tv-stand { margin-left: 2px; margin-right: -17px; }

/* the TV and its stand sit a little left, so the stand never runs under the program guide */
.living .tv-wrap { translate: -28px 0; }
@media (max-width: 1100px) { .living .tv-wrap { translate: none; } }
/* the bees: point at one and it startles, darting off in a quick loop and settling back where it was */
.bee { cursor: var(--cur-hand); }
.bee.startled { animation-name: hover, bee-zip; animation-duration: 6s, 1s; animation-timing-function: ease-in-out, cubic-bezier(.3, .7, .4, 1);
  animation-iteration-count: infinite, 1; animation-direction: alternate, normal; }
.bee.b1.startled { animation-delay: -3s, 0s; animation-name: hover, bee-zip-r; }
.bee.startled .wing { animation-duration: .03s; }
@keyframes bee-zip { 0% { translate: 0 0; rotate: 0deg; } 25% { translate: 70px -60px; rotate: 30deg; } 50% { translate: 20px -110px; rotate: -25deg; } 75% { translate: -40px -50px; rotate: 15deg; } 100% { translate: 0 0; rotate: 0deg; } }
@keyframes bee-zip-r { 0% { translate: 0 0; rotate: 0deg; } 25% { translate: -70px -60px; rotate: -30deg; } 50% { translate: -20px -110px; rotate: 25deg; } 75% { translate: 40px -50px; rotate: -15deg; } 100% { translate: 0 0; rotate: 0deg; } }

/* Snapshot Isle's stamp is a Canadian one: CANADA across the top, the red maple leaf with the white P (Canada Post's
   permanent domestic rate) in the corner, a red frame line inside the perforated white border */
.stamp-wrap .stamp { position: relative; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 6px #d52b1e; }
.stamp img { border: 2px solid #d52b1e; box-sizing: border-box; }
.stamp .ca { position: absolute; left: 10px; right: 10px; top: 10px; text-align: left; font: 9px/1 'Archivo Black', sans-serif; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.stamp .leaf { position: absolute; right: 9px; bottom: 9px; width: 28px; height: 28px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .45)); }

/* ================================================================ round 35: the polish list */
/* nothing ever makes the page wider than the screen (phones were zooming out to fit the bits that poke past the edge) */
html { overflow-x: clip; }

/* the channel-change static: a quick flicker rather than a long fill */
.show.tuned .burst { animation-duration: .45s; }

/* the show cards answer the pointer: the game's picture lifts a little */
.viewer .stage, .viewer .yt { transition: translate .2s cubic-bezier(.3, 1.4, .5, 1), box-shadow .2s; }
.viewer .stage:hover, .viewer .yt:hover { translate: 0 -3px; }

/* the Info room's dialog box fits what Rowan is saying (with a sensible minimum), instead of always being tall */
.dialog { min-height: 120px; }

@media (max-width: 860px) {
  /* every show on a phone: the title, then the game itself, then the write-up */
  .ep { grid-template-areas: "head" "media" "text"; }
  .ep.clipping { grid-template-areas: "head" "media" "text" "list"; }
  /* Ed's Diner: a little more room inside the card */
  .t-ed-s-diner .ep { padding-left: 20px; padding-right: 20px; }
  /* Art on a phone: the tools run in a row above the canvas (the side bar would crush it); palette and brush readout
     are desktop extras */
  .room-art .paint-body { grid-template-columns: 1fr; }
  .room-art .side { position: static; display: block; }
  .room-art .toolbox { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; }
  .room-art .toolbox .tool { flex: 1 1 0; min-width: 70px; }
  .room-art .subtools { flex: 1 1 100%; grid-template-columns: repeat(3, 1fr); }
  .room-art .palette, .room-art .minitools { display: none; }
  .room-art .canvas { padding: 18px 14px 24px; }
  /* Design on a phone: one-line window titles, a hint that the folder row scrolls, just Start and the clock */
  .win-bar h2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
  .desktop .icons { -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); padding-right: 30px; }
  .taskbar .tasks { display: none; }
}
@media (max-width: 600px) {
  /* the remote on a phone: the channel names alone, a little bigger, without the tiny CH numbers */
  .ch small { display: none; }
  .ch span { font-size: 16px; }
}
@media (max-width: 860px) { .room-art .subtools { order: 9; } }

/* ================================================================ round 36 */
/* the TV stand: a darker walnut, a deeper drawer */
.living .tv-stand { filter: hue-rotate(-10deg) saturate(1.1) brightness(.38); }
.living .tv-stand .drawer { height: 96px; }
.living .tv-stand .cubby { top: 128px; }

/* Snapshot Isle: the camera's focus box is square, like the prints it makes */
.reticle { width: 76px; height: 76px; }

/* rePAIR: the game's bench (table, green mat, turntable, cup, dial, nuts) along the bottom, in place of the plain mat */
.t-repair .mat { display: none; }
.t-repair .bench { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; }
.t-repair .horse { z-index: 3; }

/* Ed's Diner: the card laid out like every other show (write-up and Play on the left, video and gallery on the right);
   the breaker box hangs on the wall below it */
.t-ed-s-diner .viewer { display: flex; }
.t-ed-s-diner .ep { grid-template-areas: "head media" "text media"; grid-template-rows: auto 1fr; }
.t-ed-s-diner .yt, .t-ed-s-diner .viewer .stage { grid-area: auto; }
.t-ed-s-diner .thumbs { grid-area: auto; margin-top: 0; align-self: auto; }
.t-ed-s-diner .breaker { position: relative; z-index: 3; grid-area: auto; display: grid; width: max-content; max-width: calc(100% - 32px); margin: 34px auto 0; justify-self: auto; align-self: auto; }
.show.t-ed-s-diner { padding-bottom: 60px; }
/* the lamps throw clean cones of light */
.t-ed-s-diner .lamp .pool { top: 112px; width: 460px; height: 640px; clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 232, 160, .6), rgba(255, 220, 140, .22) 45%, rgba(255, 220, 140, 0) 85%); }
/* the ghosts peek around the card's edges, in front of it, and one peers over the top */
.t-ed-s-diner .ep .ghost { z-index: 4; }
.t-ed-s-diner .ep .ghost.g0 { left: -84px; top: 16%; width: 112px; }
.t-ed-s-diner .ep .ghost.g3 { left: -60px; top: 60%; width: 84px; }
.t-ed-s-diner .ep .ghost.g1 { left: auto; right: -76px; top: 22%; width: 100px; }
.t-ed-s-diner .ep .ghost.g2 { left: auto; right: -58px; top: 64%; width: 78px; }
.t-ed-s-diner .ep .ghost.g4 { left: 30%; top: -54px; bottom: auto; width: 70px; }
@media (max-width: 1240px) { .t-ed-s-diner .ep .ghost.g0, .t-ed-s-diner .ep .ghost.g3 { left: -30px; } .t-ed-s-diner .ep .ghost.g1, .t-ed-s-diner .ep .ghost.g2 { right: -30px; } }
@media (max-width: 860px) { .t-ed-s-diner .ep { grid-template-areas: "head" "media" "text"; } .t-ed-s-diner .ep .ghost { width: 54px !important; } .t-ed-s-diner .ep .ghost.g0, .t-ed-s-diner .ep .ghost.g3 { left: -14px; } .t-ed-s-diner .ep .ghost.g1, .t-ed-s-diner .ep .ghost.g2 { right: -14px; } }

/* Clippings: a cut-paper forest at night behind the card */
.t-clippings .set { background: #0d0a0b; }
.t-clippings .forest { position: absolute; inset: 0; width: 100%; height: 100%; }

/* buttons lift on hover: the whole button rises, its edge staying the same thickness (with a soft shadow below) */
.btn:hover { translate: 0 -3px; rotate: -1.5deg; box-shadow: 0 6px 0 var(--ink), 0 14px 18px rgba(0, 0, 0, .22); }
.ch:hover { translate: 0 -3px; box-shadow: 0 7px 0 var(--ink), inset 0 -5px 0 var(--kd), 0 12px 14px rgba(0, 0, 0, .2); }
.ptab:hover { box-shadow: 0 4px 0 var(--ink), 0 10px 12px rgba(0, 0, 0, .15); }
.fold-arrow:hover { box-shadow: 0 3px 0 var(--ink), 0 7px 8px rgba(0, 0, 0, .2); }
.dn:hover { box-shadow: 0 5px 0 #0d0c12, 0 12px 14px rgba(0, 0, 0, .3); }
/* room above the card for the lamps to throw their cones before the card catches the light */
.show.t-ed-s-diner { padding-top: 290px; }
/* the left ghosts peek a little less, clear of the title */
.t-ed-s-diner .ep .ghost.g0 { left: -100px; } .t-ed-s-diner .ep .ghost.g3 { left: -74px; }
.t-ed-s-diner .dark { background: linear-gradient(rgba(5, 4, 18, .96), rgba(5, 4, 18, .9) 40%, rgba(5, 4, 18, .55) 62%, rgba(5, 4, 18, .45) 80%, rgba(5, 4, 18, .7)), radial-gradient(ellipse at 50% 60%, rgba(10, 8, 30, .5), rgba(5, 4, 18, .9)); }
.t-repair .bench { display: block; }
.t-repair .bench { height: auto; }
/* the breaker box never changes size: Again sits under the status in the right-hand column, its space always kept */
.t-ed-s-diner .breaker { grid-template-rows: auto auto; }
.t-ed-s-diner .sws { grid-column: 1; grid-row: 1 / 3; }
.t-ed-s-diner .bk-status { grid-column: 2; grid-row: 1; align-self: end; }
.t-ed-s-diner .bk-again { grid-column: 2; grid-row: 2; justify-self: center; align-self: start; }
.t-ed-s-diner .bk-again[hidden] { display: block; visibility: hidden; }
/* the Play arrow is a rounded triangle, in the button's own text colour */
.btn.play::after { content: ''; width: 12px; height: 14px; border: 0; margin-left: 4px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M2.6 2.2 L9.8 7 L2.6 11.8 Z' fill='black' stroke='black' stroke-width='3.4' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M2.6 2.2 L9.8 7 L2.6 11.8 Z' fill='black' stroke='black' stroke-width='3.4' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
/* the stand's wood is darkened on its own (tinting just the wood), so the brass drawer handle keeps its shine */
.living .tv-stand { filter: none; }
.living .tv-stand .top, .living .tv-stand .top::before, .living .tv-stand .top::after, .living .tv-stand .body, .living .tv-stand .body::after, .living .tv-stand .drawer { background-color: #5b3020; background-blend-mode: multiply; }
/* darker wood without a red cast: a neutral dark brown multiplied in */
.living .tv-stand .top, .living .tv-stand .top::before, .living .tv-stand .top::after, .living .tv-stand .body, .living .tv-stand .body::after, .living .tv-stand .drawer { background-color: #4f473f; }
/* the drawer handle: an older, duller brass to sit with the dark wood */
.living .tv-stand .knob { filter: brightness(.72) saturate(.85); }
/* the stand's slanted side panel runs on past the bottom of the screen like its front does (it was stopping short) */
.living .tv-stand .body::after { bottom: -28px; height: auto; }
/* a deeper shadow under the tabletop: cast below its front edge and falling onto the cabinet underneath */
.living .tv-stand .top { box-shadow: 0 8px 12px rgba(0, 0, 0, .55); }
.living .tv-stand .body { box-shadow: inset 0 16px 18px -6px rgba(0, 0, 0, .65); }
/* the two antenna rods are mounted side by side on the dome, each from its own base, not from one point */
.antenna i { left: -22px; }
.antenna i + i { left: 14px; }
/* the remote's keys: the key cap rises out of its black base, the base staying where it is (unlike the other buttons, which lift whole) */
.ch:hover { translate: 0 -3px; box-shadow: 0 10px 0 var(--ink), inset 0 -5px 0 var(--kd); }

/* ================================================================ round 37 */
/* Snapshot Isle: the tiger swallowtail is a big butterfly; it's drawn bigger */
.postcard .b2 { width: 112px; bottom: 10px; right: 14px; }

/* rePAIR: the card's four corner screws are the same cross-head screw; the video and gallery in wooden frames like the
   crate, with room between them; the bench gets depth (it recedes, with a wooden front edge); the horses on the table */
.crate::before, .crate::after { left: 12px; right: 12px; width: auto; height: 20px; border: 0; border-radius: 0; box-shadow: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3CradialGradient id='g' cx='.35' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23f6f6f6'/%3E%3Cstop offset='1' stop-color='%237a7a7a'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='10' cy='10' r='8.6' fill='url%28%23g%29' stroke='%232b2626' stroke-width='2'/%3E%3Cpath d='M10 5.2v9.6M5.2 10h9.6' stroke='%233e3e3e' stroke-width='2.3' stroke-linecap='round'/%3E%3C/svg%3E") left center / 20px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3CradialGradient id='g' cx='.35' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23f6f6f6'/%3E%3Cstop offset='1' stop-color='%237a7a7a'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='10' cy='10' r='8.6' fill='url%28%23g%29' stroke='%232b2626' stroke-width='2'/%3E%3Cpath d='M10 5.2v9.6M5.2 10h9.6' stroke='%233e3e3e' stroke-width='2.3' stroke-linecap='round'/%3E%3C/svg%3E") right center / 20px no-repeat; }
.crate::before { top: 12px; } .crate::after { top: auto; bottom: 12px; }
.t-repair .viewer { gap: 18px; }
.t-repair .viewer > :first-child { border: 5px solid #5a3414; box-shadow: 0 0 0 5px #d6a764, 0 0 0 9px #5a3414, 0 10px 18px rgba(60, 30, 10, .35); }
.t-repair .thumbs { background: #5a3414; border: 4px solid #d6a764; box-shadow: 0 0 0 3px #5a3414; }
.t-repair .bench { bottom: 30px; transform: perspective(900px) rotateX(32deg); transform-origin: 50% 100%; }
.t-repair .bench-edge { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 30px; background: linear-gradient(180deg, #e1c993, #b8975d 70%, #9b7c48); box-shadow: inset 0 3px 0 #f6e8c2, 0 -2px 0 rgba(90, 60, 20, .3); }
.t-repair .horse { bottom: 70px; }
.t-repair .horse.h0 { left: 4%; } .t-repair .horse.h1 { right: 4%; }

/* Ed's Diner: the ghosts are part of the background again, out by the sides of the screen; they may tuck behind the card's
   corners but never cover its writing */
.t-ed-s-diner .set .ghost { z-index: 2; }
.t-ed-s-diner .set .ghost.g0 { left: 1.5%; top: 30%; width: 116px; }
.t-ed-s-diner .set .ghost.g3 { left: 3%; top: 66%; width: 88px; }
.t-ed-s-diner .set .ghost.g1 { left: auto; right: 1.5%; top: 34%; width: 106px; }
.t-ed-s-diner .set .ghost.g2 { left: auto; right: 3.5%; top: 70%; width: 84px; }
.t-ed-s-diner .set .ghost.g4 { left: auto; right: calc(50% - 560px); top: 20%; bottom: auto; width: 74px; }
/* the lamps: metal caps on top and a metal rim round the bottom, like the game's */
.t-ed-s-diner .lamp .shade { background: linear-gradient(180deg, transparent calc(100% - 9px), #e3e7ea calc(100% - 9px), #9aa1a7 calc(100% - 3px), #5b6166),
  radial-gradient(ellipse at 32% 28%, rgba(255, 255, 255, .55) 0 10%, transparent 30%), linear-gradient(180deg, #e0444a, #9b1a20 75%, #6e0f13); }
.t-ed-s-diner .lamp .shade::before { width: 46px; height: 16px; top: -12px; border-radius: 22px 22px 3px 3px; background: linear-gradient(90deg, #5b6166, #e3e7ea 35%, #b9c0c5 60%, #5b6166); box-shadow: 0 2px 2px rgba(0, 0, 0, .4); }
/* the breaker box is one size whatever it says: its status column and text have room for the longest message */
.t-ed-s-diner .breaker { width: 420px; box-sizing: border-box; }
.t-ed-s-diner .bk-status { width: 128px; }
.t-ed-s-diner .bk-text { display: block; min-height: 2.6em; text-align: center; }
@media (max-width: 860px) { .t-ed-s-diner .breaker { width: min(420px, 100% - 24px); } }

/* Clippings: the forest fills more of the view */
.t-clippings .forest { height: 100%; }
/* ---- the remote's keys, rebuilt: a black casing that never moves, and a coloured key cap inside it that rises when you
   point at it and dips when you press. The channel you're on sits level like the rest; its lit dome light says so. */
.ch { background: #1b1818; box-shadow: 0 7px 0 var(--ink); translate: none; transition: none; }
.ch::before { content: ''; position: absolute; inset: 0; z-index: 0; border-radius: 12px 12px 18px 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .35), transparent 45%), var(--k); box-shadow: inset 0 -5px 0 var(--kd); transition: translate .12s; }
.ch > small, .ch > span { position: relative; z-index: 1; transition: translate .12s; }
.ch:hover, .ch:active, .ch[aria-current] { translate: none; box-shadow: 0 7px 0 var(--ink); }
.ch:hover::before, .ch:hover > small, .ch:hover > span { translate: 0 -4px; }
.ch:active::before, .ch:active > small, .ch:active > span { translate: 0 2px; }
.t-repair .horse { bottom: 34px; width: 210px; }

/* the TV's show label wears each show's own colours */
.tv-title { transition: background .2s; }
.tv-title, .tv-title span, .tv-title::after { color: var(--tl-f, var(--ink)); }
.tv-title { background: var(--tl-b, var(--yellow)); }
.tv-title[data-ch="1"] { --tl-b: #fcc308; --tl-f: #2b2626; }
.tv-title[data-ch="2"] { --tl-b: #8fd0ee; --tl-f: #1d3d73; }
.tv-title[data-ch="3"] { --tl-b: #fffef4; --tl-f: #2b2626; }
.tv-title[data-ch="4"] { --tl-b: #e2363b; --tl-f: #fff; }
.tv-title[data-ch="5"] { --tl-b: #e3b562; --tl-f: #4a2a10; }
.tv-title[data-ch="6"] { --tl-b: #ff5fb0; --tl-f: #fff; }
.tv-title[data-ch="13"] { --tl-b: #1d1a1a; --tl-f: #f1ead8; }
/* Ed's Diner: the side ghosts sized to the space beside the card, so they show instead of hiding behind it */
.t-ed-s-diner .set .ghost.g0 { left: .5%; width: 92px; }
.t-ed-s-diner .set .ghost.g3 { left: 1.5%; width: 76px; top: 60%; }
.t-ed-s-diner .set .ghost.g1 { right: .5%; width: 92px; }
.t-ed-s-diner .set .ghost.g2 { right: 1.5%; width: 74px; top: 64%; }
/* the remote's keys, take three: the whole key (outline, cap, dome light) lifts; only the black base it sits on stays put */
.ch:hover::before, .ch:hover > small, .ch:hover > span, .ch:active::before, .ch:active > small, .ch:active > span { translate: none; }
.ch { transition: translate .12s, box-shadow .12s; }
.ch:hover { translate: 0 -4px; box-shadow: 0 11px 0 var(--ink); }
.ch:active { translate: 0 3px; box-shadow: 0 4px 0 var(--ink); }
.ch[aria-current] { translate: none; box-shadow: 0 7px 0 var(--ink); }
.ch[aria-current]:hover { translate: 0 -4px; box-shadow: 0 11px 0 var(--ink); }
/* the remote's keys, built so the base can never shift: the key element itself never moves (its black base is fixed);
   the key face (outline + coloured cap) is a layer on top, and it, the dome light and the label are what lift */
.ch, .ch:hover, .ch:active, .ch[aria-current], .ch[aria-current]:hover { translate: none; box-shadow: 0 7px 0 var(--ink); border-color: transparent; background: var(--ink); transition: none; }
.ch::before { inset: -4px; box-sizing: border-box; border: 4px solid var(--ink); border-radius: 16px 16px 22px 22px; }
.ch::before, .ch::after, .ch > small, .ch > span { transition: translate .12s; }
.ch:hover::before, .ch:hover::after, .ch:hover > small, .ch:hover > span { translate: 0 -4px; }
.ch:active::before, .ch:active::after, .ch:active > small, .ch:active > span { translate: 0 2px; }
/* the TV's power light: a real little LED, no outline: a lens set into the panel that glows red, then goes dark
   ruby when it blinks off (rather than fading) */
.power { width: 11px; height: 11px; border: 0; background: radial-gradient(circle at 40% 35%, #fff0ec 0 12%, #ff4a3d 35%, #c0150e 75%); box-shadow: 0 0 0 2px rgba(20, 10, 5, .55), 0 0 8px 2px rgba(255, 60, 45, .75), 0 0 18px 4px rgba(255, 60, 45, .35); animation: led 2.4s steps(1) infinite; }
@keyframes led { 50% { background: radial-gradient(circle at 40% 35%, #b5544e 0 10%, #6e1410 40%, #3a0806 80%); box-shadow: 0 0 0 2px rgba(20, 10, 5, .55); } }
/* the TV labels, take two: strong contrast, in colours each game actually uses (rePAIR and Glorbo's kept) */
.tv-title[data-ch="1"] { --tl-b: #5b3cc4; --tl-f: #ffd34d; }
.tv-title[data-ch="2"] { --tl-b: #1d3d73; --tl-f: #c6df3a; }
.tv-title[data-ch="5"] { --tl-b: #2f5a2a; --tl-f: #f3d08a; }
.tv-title[data-ch="6"] { --tl-b: #121014; --tl-f: #ff5fb0; }
.tv-title[data-ch="13"] { --tl-b: #e8333a; --tl-f: #f7f1e3; }
/* the butterfly sits a little lower on the guide; the left bee hovers a little further left */
.guide .perched { top: -28px; }
.bee.b0 { left: -4%; }

/* ================================================================ round 39 */
/* no channel-change static when a show scrolls in */
.burst { display: none !important; }

/* the header: the tagline pill has a white edge and a soft shadow, like the name and photo beside it */
.tagline { border-color: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .28); }

/* the remote's keys, made like real ones: rubbery plastic caps set into a dark housing, softly shaded, no cartoon outlines */
.ch, .ch:hover, .ch:active, .ch[aria-current], .ch[aria-current]:hover { background: #2a2a2f; box-shadow: 0 5px 0 #18181b, 0 7px 10px rgba(0, 0, 0, .3); }
.ch::before { inset: -2px; border: 0; border-radius: 14px 14px 19px 19px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .1) 38%, rgba(0, 0, 0, .06) 72%, rgba(0, 0, 0, .2)), var(--k);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -3px 0 var(--kd), 0 1px 2px rgba(0, 0, 0, .45); }
.ch span { text-shadow: 0 1px 0 rgba(0, 0, 0, .22); }
.ch::after { border-width: 1px; border-color: rgba(0, 0, 0, .55); }
.ch:hover::before, .ch:hover::after, .ch:hover > small, .ch:hover > span { translate: 0 -3px; }

/* buttons: bright colours, a slim darker edge and a soft shadow (no chunky black base) */
.btn { border: 0; border-radius: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 55%), var(--b);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .22), 0 4px 10px rgba(0, 0, 0, .2); }
.btn:hover { translate: 0 -2px; rotate: 0deg; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .22), 0 9px 16px rgba(0, 0, 0, .24); filter: none; }
.btn:active { translate: 0 1px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .22), 0 2px 5px rgba(0, 0, 0, .2); }

/* the Design desktop's taskbar: windows that aren't open sit sunken and darker; open ones pop out, bright */
.task { background: #b9bfcb; color: #3a3f4a; box-shadow: inset 2px 2px 0 #8d94a1, inset -2px -2px 0 #d4d8e0; }
.task.on { background: #fff; color: var(--ink); box-shadow: inset -2px -2px 0 #9aa1ad, inset 2px 2px 0 #fff, 0 2px 0 rgba(0, 0, 0, .25); translate: 0 -1px; }
/* Design windows: just the fold button now */
.win .win-btns, .win .wbtns { gap: 0; }

/* Art: the tool settings panel */
.mt-list { display: grid; gap: 7px; }
.mt-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 6px; align-items: baseline; }
.mt-k { font: 10px var(--pixel); color: var(--dk-mute); }
.mt-v { font: 10px var(--pixel); color: var(--dk-text); }
.mt-row .mt-bar { grid-column: 1 / -1; }
.ftool, .mt-read { display: none; }

/* the TV's show labels, round three */
.tv-title[data-ch="1"] { --tl-b: #1e8fff; --tl-f: #f6ff3b; }
.tv-title[data-ch="2"] { --tl-b: #fff6df; --tl-f: #1a5fc7; }
.tv-title[data-ch="5"] { --tl-b: #2f5a2a; --tl-f: #ffe89a; }
.tv-title[data-ch="6"] { --tl-b: #9ff0e2; --tl-f: #c8102e; }
/* buttons with white text get colours deep enough to read (4.5:1 or better) while staying bright */
.t-snapshot-isle .btn.play, .btn.go { --b: #1f6fd6; --f: #fff; }
.t-repair .btn.play { --b: #d6202a; --f: #fff; }
.cbtn.red { background: #c8202a; }

/* ---- Info: the room fills the window, edge to edge (its wall and floor running on past the furniture), sized so the
   first screen shows the whole room, Rowan's dialog box and the inventory; only "Just read it all" waits below */
@media (min-width: 861px) {
  .adventure { max-width: none; margin: 0; padding: 0; gap: 0; }
  .stage { border: 0; border-radius: 0; box-shadow: none; }
  .room-svg { width: 100%; height: max(380px, calc(100svh - 154px - 196px)); }
  .console { padding: 14px max(16px, calc((100% - 1320px) / 2)) 16px; background: #1d1a22; box-shadow: inset 0 4px 0 rgba(0, 0, 0, .35); }
  .console .dialog { min-height: 150px; }
  .readall { max-width: 1288px; margin: 22px auto 60px; }
}
/* the panel under the room, compact so the first screen holds it all: the dialog box and an inventory of one row
   of eight slots */
@media (min-width: 861px) {
  .console { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; padding-top: 12px; padding-bottom: 12px; }
  .console .dialog { min-height: 0; padding: 14px 20px; grid-template-columns: 70px minmax(0, 1fr); gap: 14px; }
  .console .portrait { width: 70px; }
  .inventory { padding: 10px 14px 12px; }
  .inventory h2 { margin-bottom: 8px; }
  .slots { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
  .room-svg { height: max(380px, calc(100svh - 154px - 236px)); }
}

/* ================================================================ round 41 */
/* Info: the room carries on up behind the top bar (the bar floats over it); the Found count and Step back stay below */
@media (min-width: 861px) {
  .info .adventure { margin-top: calc(-1 * var(--hh, 154px)); }
  .info .stage { padding-top: var(--hh, 154px); }
  .info .viewport, .info .room-svg { overflow: visible; }
  .info .hud-top { top: calc(var(--hh, 154px) + 12px); }

}
.room-svg .mirror > rect:first-of-type, .room-svg .snake-plant path, .room-svg .fern path, .room-svg .hanging-plant > path[fill]:not([fill="none"]), .room-svg .dried { filter: url(#rm-layer); }
.room-svg .fern .leafg { transform-box: fill-box; transform-origin: 50% 100%; }
.room-svg .dried { transform-box: fill-box; transform-origin: 50% 0; animation: dried 7s ease-in-out infinite alternate; }
.room-svg .dried:nth-of-type(2n) { animation-delay: -3s; }
@keyframes dried { from { rotate: -1.5deg; } to { rotate: 1.5deg; } }

/* the Art and Design buttons wear their remote keys' colours */
.btn.k-art { --b: var(--sky); --f: #10263d; }
.btn.k-design { --b: var(--green); --f: #1a3008; }

/* Just read it all: a quiet dark bar, the full width of the box it opens into */
.readall { background: #26222d; border: 2px solid #3a3446; color: #e4ddd0; }
.readall summary { color: #cfc6b6; cursor: pointer; }
.readall p { color: #e4ddd0; }
.readall a { color: #9fd0ff; }


/* the header: the photo tilts only when the photo itself is pointed at; the subline sits nearly straight */
.me:hover .headshot { rotate: 0deg; }
.me .headshot:hover { rotate: -14deg; }
.tagline { rotate: -.8deg; }
/* the TV's show label: the arrow is centred on the name and sits close to the label's end; Boddle in a warmer yellow */
.tv-title { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px 6px 18px; }
.tv-title::after { content: '▶'; font-size: 16px; line-height: 1; translate: 0 -1px; }
.tv-title[data-ch="1"] { --tl-f: #ffd23f; }

/* Just read it all: the closed bar is already the full width of the box it opens into */
@media (min-width: 861px) { .info .readall { justify-self: stretch; width: auto; margin-left: max(16px, calc((100% - 1288px) / 2)); margin-right: max(16px, calc((100% - 1288px) / 2)); max-width: none; } }
.info .readall summary { display: block; text-align: left; }

/* ================================================================ round 42 */
/* the remote's keys: the earlier keys, with a fine rubbery grain; the channel you're on stays lifted */
.ch::before { background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .1) 38%, rgba(0, 0, 0, .06) 72%, rgba(0, 0, 0, .2)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)'/%3E%3C/svg%3E"), var(--k); }
.ch[aria-current]::before, .ch[aria-current]::after, .ch[aria-current] > small, .ch[aria-current] > span { translate: 0 -3px; }

/* Snapshot Isle: the postmark bigger, darker and off the stamp's picture so it reads; the title sits at the same slight
   tilt as the writing below it (no extra twist), with the year tag square to it; ISLE in the sky blue, no lime */
.postmark { top: 22px; right: 116px; width: 122px; height: 122px; font-size: 12px; border-width: 4px; border-color: rgba(30, 45, 95, .8); color: rgba(30, 45, 95, .9); rotate: -10deg; }
.postmark::after { height: 38px; background: repeating-linear-gradient(transparent 0 7px, rgba(30, 45, 95, .7) 7px 10px); }
.t-snapshot-isle .ep-head { rotate: 0deg; }
.t-snapshot-isle .ep-title .isle { color: #54a8ee; }

/* every show's year sits under its name, the same way */
.ep-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ep-head .yr { margin: 0; rotate: 0deg; align-self: flex-start; }

/* Boddle: a clean white card like the game's own panels, a deep blue edge (no dark green), more room under the logo,
   and a play button in the game's sunny yellow */
.t-boddle .panel { background: linear-gradient(180deg, #ffffff, #f1f6ff); box-shadow: 0 14px 0 #23306b, 0 24px 40px rgba(10, 20, 60, .35); }
.t-boddle .ep-head { margin-bottom: 14px; }
.t-boddle .btn.play { --b: #ffc83a; --f: #2b2626; border-radius: 16px; }

/* rePAIR: the toy horses up on the table, and bigger */
.t-repair .horse { bottom: 120px; width: 270px; }
.t-repair .horse.h0 { left: 7%; } .t-repair .horse.h1 { right: 7%; }

/* Clippings: the card lifts off the forest and the games below it on a soft, blurry shadow */
.t-clippings .ep { box-shadow: 0 26px 50px rgba(0, 0, 0, .6), 0 8px 16px rgba(0, 0, 0, .4); }

.t-clippings { background: #070b18; }
.t-clippings .set { background: #060a18; }

/* Ed's Diner: one ghost picture has a stray white speck under it; trim it off */
.t-ed-s-diner .ghost.g3 { clip-path: inset(0 0 13% 0); }

/* rePAIR: toys standing up on the bench (not lying flat in it), each with its own shadow and a little life: the top
   block wobbles, the top spins, the wind-up car trundles to and fro */
.t-repair .bench-props { position: absolute; z-index: 3; left: 0; right: 0; bottom: 30px; width: 100%; height: auto; pointer-events: none; }
.t-repair .blk path, .t-repair .spin-top path, .t-repair .toycar rect, .t-repair .toycar path { stroke: #2b2626; stroke-width: 3; stroke-linejoin: round; }
.t-repair .blk-top { transform-box: fill-box; transform-origin: 50% 100%; animation: blk-wob 3.6s ease-in-out infinite; }
@keyframes blk-wob { 0%, 70%, 100% { rotate: 0deg; } 78% { rotate: -5deg; } 86% { rotate: 4deg; } 93% { rotate: -2deg; } }
.t-repair .spin-top { animation: top-sway 2.4s ease-in-out infinite alternate; }
.t-repair .spin-top path:nth-child(3) { transform-box: fill-box; transform-origin: center; animation: top-spin .35s linear infinite; }
@keyframes top-spin { from { scale: 1 1; } 50% { scale: -1 1; } to { scale: 1 1; } }
@keyframes top-sway { from { translate: -14px 0; rotate: -4deg; } to { translate: 14px 0; rotate: 4deg; } }
.t-repair .toycar, .t-repair .car-sh { animation: car 9s ease-in-out infinite; }
.t-repair .toycar .key { transform-box: fill-box; transform-origin: 50% 100%; animation: key-turn .6s linear infinite; }
@keyframes car { 0%, 100% { translate: 0 0; } 45%, 55% { translate: 150px 0; } }
@keyframes key-turn { 50% { scale: .2 1; } }
@media (prefers-reduced-motion: reduce) { .t-repair .bench-props * { animation: none !important; } }
.t-repair .horse { bottom: 58px; width: 250px; }
.t-repair .horse.h0 { left: 3%; } .t-repair .horse.h1 { right: 3%; }
@keyframes car { 0%, 100% { translate: 0 0; } 45%, 55% { translate: 120px 0; } }
.t-repair .horse.h0 { left: 1%; } .t-repair .horse.h1 { right: 1%; }
.t-boddle .ep-head { margin-bottom: 24px; }

/* ================================================================ round 44 */
/* the room's paper colouring goes on the whole camera, so the wall above the room (behind the top bar) matches */
.room-svg { filter: none; }
.info .cam { filter: saturate(.86) sepia(.1) contrast(1.02); }
.room-svg .catbed > ellipse:first-child, .room-svg .mirror > rect, .room-svg .mirror > path:nth-of-type(2) { filter: url(#rm-layer); }
.papers > .catbed { filter: url(#rm-torn); }
.room-svg .robin { cursor: var(--cur-hand); }
/* the dialog has nothing to page on to, so no blinking arrow */
.dialog::after { content: none; }
/* Just read it all: an arrow at the right end says it opens */
.readall summary { list-style: none; display: flex; align-items: center; justify-content: space-between; }
.readall summary::-webkit-details-marker { display: none; }
.readall summary::after { content: ''; width: 9px; height: 9px; margin-right: 4px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; rotate: 45deg; translate: 0 -3px; transition: rotate .2s, translate .2s; }
.readall[open] summary::after { rotate: 225deg; translate: 0 3px; }
.info .readall summary { display: flex; }

/* ================================================================ round 46 */
/* Info: the HUD keeps inside the drawing (not out at the window's edge); the room takes all the first screen above the
   dialog and inventory (Just read it all waits below); the inventory box is only as tall as its slots */
@media (min-width: 861px) {
  .info .hud-top { left: calc(var(--ox, 0px) + 14px); right: calc(var(--ox, 0px) + 14px); }
  .info .room-svg { height: max(380px, calc(100svh - var(--hh, 154px) - var(--ch, 143px))); }
  .info .console { align-items: start; }
  .info .console .dialog { min-height: 119px; }
}
/* the robin's note */
.note-pop { font-size: 20px; color: #46ff6e; text-shadow: 0 0 6px rgba(70, 255, 110, .85), 1px 1px 0 #0d3d1a; }
/* Lana's picture pops up out of the dialog box at its right end, like a sticker, instead of sitting in the text */
.dialog .note-pic { position: absolute; right: 22px; bottom: 10px; z-index: 3; width: auto; height: 190px; margin: 0; rotate: 5deg; transform-origin: 50% 100%;
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 6px 8px rgba(0, 0, 0, .35));
  animation: pic-pop .45s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes pic-pop { from { scale: .2; translate: 0 40px; opacity: 0; } }
.dialog:has(.note-pic) .say { padding-right: 150px; }
@media (max-width: 860px) { .dialog .note-pic { height: 130px; right: 10px; } .dialog:has(.note-pic) .say { padding-right: 100px; } }

/* the remote's LEDs: a small flush lens set into the casing above each key (no cartoon dome) -- dark when off, lit
   red with a soft glow on the channel you're on */
.ch::after { top: -9px; width: 7px; height: 7px; margin-left: -3.5px; border: 0; border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #7a3a3a 0 18%, #3b1414 55%, #1e0808);
  box-shadow: 0 0 0 1.5px #121214, inset 0 -1px 1px rgba(0, 0, 0, .6); animation: none; }
.ch[aria-current]::after { background: radial-gradient(circle at 38% 35%, #ffd0c8 0 14%, #ff4a3a 45%, #b3140c); box-shadow: 0 0 0 1.5px #121214, 0 0 6px 2px rgba(255, 70, 50, .7); animation: none; }
.ch.clip::after { background: radial-gradient(circle at 38% 35%, #7a3a3a 0 18%, #3b1414 55%, #1e0808); }
/* "Clippings": the blackletter "pings" as big as the cut-out "Clip" letters */
.clip-word .cut i { font-size: .8em; }
.clip-word .bubble { font-size: 1.42em; }

/* ================================================================ round 47 */
/* buttons: a dark outline so they stand off whatever they sit on; the label sits in the middle of the face (the face's
   darker bottom lip made it read low) */
.btn { border: 3px solid #2b2626; padding-top: 9px; padding-bottom: 13px; align-items: center; }
.btn::after { line-height: 1; }
.t-boddle .btn.play { padding-top: 11px; padding-bottom: 15px; }
.clipping .cbtn, .cbtn { padding-top: 12px; padding-bottom: 14px; line-height: 1; }
.btn.clip-btn { padding-top: 8px; padding-bottom: 12px; }
.btn.itch::after { content: none; }
/* every card's play button sits at the bottom left of its text column */
@media (min-width: 861px) {
  .ep-text { display: flex; flex-direction: column; }
  .ep-text > .buttons { margin-top: auto; padding-top: 18px; }
}

/* Boddle: no outlines on the card, the LIVE pill, the video or the gallery strip; a soft natural shadow instead.
   The LIVE pill is a little glossy 3D game button. */
.t-boddle .panel { border: 0; outline: 0; box-shadow: 0 18px 40px rgba(10, 30, 20, .35), 0 4px 10px rgba(10, 30, 20, .2); }
.t-boddle .viewer .stage, .t-boddle .viewer .yt { border: 0; box-shadow: 0 6px 16px rgba(20, 40, 90, .25); }
.t-boddle .thumbs { border: 0; background: #dfe9f7; }
.t-boddle .live { border: 0; padding: 6px 16px 7px; background: linear-gradient(180deg, #ff7a6e, #ff3b30 55%, #d92a20); color: #fff;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .2), 0 4px 0 #a81d15, 0 7px 10px rgba(0, 0, 0, .25); text-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
/* the Boddle name: straight, Grandstander Bold in white, with a thick outline that runs top to bottom from blue to deep blue */
.boddle-logo { position: relative; rotate: 0deg; font: 700 64px/1.05 'Grandstander', 'Lilita One', var(--chunky); letter-spacing: .01em;
  color: transparent; background: linear-gradient(180deg, #3aa0ff, #2449c8 60%, #1b2f8f); -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: 14px transparent; text-shadow: none; filter: drop-shadow(0 4px 0 #14206a); padding: 0 4px; }
.boddle-logo::after { content: attr(data-text); position: absolute; inset: 0; padding: 0 4px; color: #fff; -webkit-text-stroke: 0; background: none; }
@media (max-width: 860px) { .boddle-logo { font-size: 52px; -webkit-text-stroke-width: 11px; } }

/* Snapshot Isle: room between the name and its year */
.t-snapshot-isle .ep-head { gap: 16px; }

/* rePAIR: the workshop photo and the two rocking horses, one each side of the card; nothing else */
.t-repair .bench, .t-repair .bench-props, .t-repair .bench-edge { display: none !important; }
.t-repair .horse { top: auto; bottom: 90px; width: clamp(150px, calc((100vw - 1120px) / 2), 260px); }
.t-repair .horse.h0 { left: calc(50% - 560px - clamp(150px, calc((100vw - 1120px) / 2), 260px)); right: auto; }
.t-repair .horse.h1 { right: calc(50% - 560px - clamp(150px, calc((100vw - 1120px) / 2), 260px)); left: auto; }
@media (max-width: 1380px) { .t-repair .horse { display: none; } }

/* Clippings: a soft shadow all the way round the card (it lifts off the forest and the moon); the taped-down preview
   doesn't move when pointed at, and its tape crosses the edges cleanly instead of hugging the corners */
.t-clippings .ep { box-shadow: none; filter: drop-shadow(0 0 22px rgba(0, 0, 0, .75)) drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); }
.clip-preview, .clip-preview:hover { rotate: 1.4deg; translate: none; }
.t-clippings .clip-preview .tape.p1 { top: -14px; left: 26px; rotate: -7deg; width: 104px; }
.t-clippings .clip-preview .tape.p2 { bottom: -12px; right: 30px; top: auto; rotate: -5deg; width: 104px; }

/* the TV and its stand sit a little further left */
.living .tv-wrap { translate: -56px 0; }
@media (max-width: 1100px) { .living .tv-wrap { translate: none; } }
/* the TV's show labels: Boddle brighter yellow on a deeper blue; Snapshot on warm sand (not near-white); the diner a
   pink neon-sign pink */
.tv-title[data-ch="1"] { --tl-b: #1462d8; --tl-f: #ffe11a; }
.tv-title[data-ch="2"] { --tl-b: #f0cf8e; --tl-f: #173f93; }
.tv-title[data-ch="6"] { --tl-b: #ff8fb4; --tl-f: #3d0f1e; }
@media (min-width: 861px) { .ep > .ep-text { align-self: stretch; } }
.t-repair .horse { bottom: 200px; }

/* ================================================================ round 48 */
/* header: the tagline pill sits straight */
.tagline { rotate: 0deg; }
/* Boddle: the shard counter as in the game: a flat 70% black pill, Montserrat */
.t-boddle .hud { background: rgba(0, 0, 0, .7); border: 0; box-shadow: none; border-radius: 999px; padding: 7px 18px; gap: 10px;
  font: 700 15px 'Montserrat', 'Segoe UI', system-ui, sans-serif; color: #fff; letter-spacing: .01em; }
.t-boddle .hud span { font: inherit; color: #fff; }
.t-boddle .hud b { font: 800 18px 'Montserrat', 'Segoe UI', system-ui, sans-serif; color: #fff; min-width: 1.2em; }
/* the shards are bigger */
.t-boddle .gem { width: calc(64px * var(--s, 1)); height: auto; }
/* the video boxes don't lift when pointed at (it made the play button awkward to reach) */
.viewer .stage:hover, .viewer .yt:hover { translate: none; }
/* Snapshot Isle: the prints land down either side of the set */
.prints { inset: 0; width: auto; height: auto; left: 0; bottom: 0; }
.print { left: auto; bottom: auto; }

/* Jungle Bungler: cards all round the card -- a 10 x 6 frame */
@media (min-width: 861px) {
  .t-jungle-bungler .board { inset: 60px 2vw 40px; grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .t-jungle-bungler .tile { width: min(100%, 118px); align-self: center; }
}
.t-jungle-bungler .tile:nth-child(n) { grid-row: auto; grid-column: auto; }

/* Ed's Diner: the title in single-tube neon (falls back to the old neon face) */
/* the breaker box: two rows of five switches with one more on its own beside them, and the little box of two */
.t-ed-s-diner .breaker { width: auto; grid-template-columns: auto auto auto; column-gap: 14px; }
.t-ed-s-diner .sws { display: grid; grid-template-columns: repeat(5, 28px) 28px; grid-auto-rows: 70px; gap: 0 12px; grid-row: 1 / 3; grid-column: 1; }
.t-ed-s-diner .sws .sw:nth-child(11) { grid-column: 6; grid-row: 1 / 3; align-self: center; margin-left: 8px; }
.t-ed-s-diner .sws2 { grid-template-columns: repeat(2, 28px); grid-column: 2; grid-row: 1 / 3; align-self: center; height: max-content; }
.t-ed-s-diner .bk-status { grid-column: 3; }
.t-ed-s-diner .bk-again { grid-column: 3; }

/* Clippings: no stray tape on the card; the preview's tape crosses its top-left and bottom-right corners */
.clipping > .tape { display: none; }
.t-clippings .clip-preview .tape.p1 { top: 2px; left: -38px; right: auto; bottom: auto; width: 96px; rotate: -45deg; }
.t-clippings .clip-preview .tape.p2 { bottom: 2px; right: -38px; left: auto; top: auto; width: 96px; rotate: -45deg; }
/* tape holding each game's slip on */
.clipping .clip-list li { position: relative; }
.clipping .clip-list li::before { content: ''; position: absolute; z-index: 2; top: -9px; left: 50%; width: 64px; height: 18px; margin-left: -32px; rotate: -3deg;
  background: rgba(236, 226, 196, .82) linear-gradient(90deg, rgba(255, 255, 255, .18), rgba(0, 0, 0, .04) 60%, rgba(255, 255, 255, .12)); box-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
.clipping .clip-list li:nth-child(2n)::before { rotate: 4deg; }

/* ================================================================ round 49 */
/* buttons rise up out of the page: on hover the face lifts and its lip grows taller underneath, so the very bottom of the
   button never moves (no inset shading at the bottom, so the label sits in the true middle) */
.btn { --lip: 4px; --bd: color-mix(in srgb, var(--b) 62%, #1d1a1a); padding-top: 11px; padding-bottom: 11px; translate: 0 0;
  box-shadow: 0 var(--lip) 0 var(--bd), 0 calc(var(--lip) + 3px) 0 #2b2626, 0 calc(var(--lip) + 6px) 12px rgba(0, 0, 0, .22);
  transition: translate .12s, box-shadow .12s; }
.btn:hover { translate: 0 -3px; --lip: 7px; rotate: 0deg; filter: none; }
.btn:active { translate: 0 2px; --lip: 2px; }
.t-boddle .btn.play { padding-top: 13px; padding-bottom: 13px; }
.btn.clip-btn { padding-top: 10px; padding-bottom: 10px; }
.cbtn { --lip: 4px; padding-top: 13px; padding-bottom: 13px; box-shadow: 0 var(--lip) 0 #7a1016, 0 calc(var(--lip) + 6px) 10px rgba(0, 0, 0, .25); transition: translate .12s, box-shadow .12s; }
.cbtn.paper { box-shadow: 0 var(--lip) 0 #a8997a, 0 calc(var(--lip) + 6px) 10px rgba(0, 0, 0, .2); }
.cbtn:hover { translate: 0 -3px; --lip: 7px; }
/* the remote's keys work the same way: the key rises and more of its side shows, its bottom edge stays put */
.ch::before { transition: translate .12s, box-shadow .12s; }
.ch:hover::before, .ch[aria-current]::before { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -3px 0 var(--kd), 0 3px 0 var(--kd), 0 4px 2px rgba(0, 0, 0, .45); }
/* ... and each key's light is a small lens set into the key's own top-right corner, dark until it's your channel */
.ch::after { top: 6px; left: auto; right: 7px; margin: 0; width: 8px; height: 8px; border: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .55) 0 18%, transparent 24%), radial-gradient(circle, #6a2a2a, #2a0b0b 80%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 255, 255, .35); z-index: 2; animation: none; }
.ch[aria-current]::after { background: radial-gradient(circle at 35% 30%, #fff 0 18%, transparent 26%), radial-gradient(circle, #ff6a5a, #d0170c 75%);
  box-shadow: inset 0 0 0 1px rgba(90, 0, 0, .55), 0 0 6px 2px rgba(255, 60, 40, .75); animation: none; }
.ch.clip::after { background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .55) 0 18%, transparent 24%), radial-gradient(circle, #6a2a2a, #2a0b0b 80%); }

/* rePAIR: bigger, rounded, shaded screws, each turned a different way */
.crate::before, .crate::after { left: 10px; right: 10px; height: 28px; }
.crate::before { top: 9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3CradialGradient id='h0' cx='.36' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.35' stop-color='%23d9dde0'/%3E%3Cstop offset='.8' stop-color='%238a9095'/%3E%3Cstop offset='1' stop-color='%235d6368'/%3E%3C/radialGradient%3E%3ClinearGradient id='r0' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%236b7075'/%3E%3Cstop offset='1' stop-color='%232e3236'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cellipse cx='15.6' cy='17' rx='12.5' ry='12' fill='rgba%2840%2C20%2C5%2C.35%29'/%3E%3Ccircle cx='15' cy='15' r='12.5' fill='url%28%23r0%29'/%3E%3Ccircle cx='15' cy='14.2' r='11.2' fill='url%28%23h0%29'/%3E%3Cg transform='rotate%2812 15 14.2%29'%3E%3Cpath d='M15 7.6v13.2M8.4 14.2h13.2' stroke='%233a3e42' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M15.9 8.2v5.4M16 15.2v5M9 15.1h5.4M15.8 15.1h5.6' stroke='rgba%28255%2C255%2C255%2C.7%29' stroke-width='1' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") left center / 28px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3CradialGradient id='h1' cx='.36' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.35' stop-color='%23d9dde0'/%3E%3Cstop offset='.8' stop-color='%238a9095'/%3E%3Cstop offset='1' stop-color='%235d6368'/%3E%3C/radialGradient%3E%3ClinearGradient id='r1' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%236b7075'/%3E%3Cstop offset='1' stop-color='%232e3236'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cellipse cx='15.6' cy='17' rx='12.5' ry='12' fill='rgba%2840%2C20%2C5%2C.35%29'/%3E%3Ccircle cx='15' cy='15' r='12.5' fill='url%28%23r1%29'/%3E%3Ccircle cx='15' cy='14.2' r='11.2' fill='url%28%23h1%29'/%3E%3Cg transform='rotate%2838 15 14.2%29'%3E%3Cpath d='M15 7.6v13.2M8.4 14.2h13.2' stroke='%233a3e42' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M15.9 8.2v5.4M16 15.2v5M9 15.1h5.4M15.8 15.1h5.6' stroke='rgba%28255%2C255%2C255%2C.7%29' stroke-width='1' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") right center / 28px no-repeat; }
.crate::after { bottom: 9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3CradialGradient id='h2' cx='.36' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.35' stop-color='%23d9dde0'/%3E%3Cstop offset='.8' stop-color='%238a9095'/%3E%3Cstop offset='1' stop-color='%235d6368'/%3E%3C/radialGradient%3E%3ClinearGradient id='r2' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%236b7075'/%3E%3Cstop offset='1' stop-color='%232e3236'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cellipse cx='15.6' cy='17' rx='12.5' ry='12' fill='rgba%2840%2C20%2C5%2C.35%29'/%3E%3Ccircle cx='15' cy='15' r='12.5' fill='url%28%23r2%29'/%3E%3Ccircle cx='15' cy='14.2' r='11.2' fill='url%28%23h2%29'/%3E%3Cg transform='rotate%2871 15 14.2%29'%3E%3Cpath d='M15 7.6v13.2M8.4 14.2h13.2' stroke='%233a3e42' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M15.9 8.2v5.4M16 15.2v5M9 15.1h5.4M15.8 15.1h5.6' stroke='rgba%28255%2C255%2C255%2C.7%29' stroke-width='1' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") left center / 28px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3CradialGradient id='h3' cx='.36' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.35' stop-color='%23d9dde0'/%3E%3Cstop offset='.8' stop-color='%238a9095'/%3E%3Cstop offset='1' stop-color='%235d6368'/%3E%3C/radialGradient%3E%3ClinearGradient id='r3' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%236b7075'/%3E%3Cstop offset='1' stop-color='%232e3236'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cellipse cx='15.6' cy='17' rx='12.5' ry='12' fill='rgba%2840%2C20%2C5%2C.35%29'/%3E%3Ccircle cx='15' cy='15' r='12.5' fill='url%28%23r3%29'/%3E%3Ccircle cx='15' cy='14.2' r='11.2' fill='url%28%23h3%29'/%3E%3Cg transform='rotate%28103 15 14.2%29'%3E%3Cpath d='M15 7.6v13.2M8.4 14.2h13.2' stroke='%233a3e42' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M15.9 8.2v5.4M16 15.2v5M9 15.1h5.4M15.8 15.1h5.6' stroke='rgba%28255%2C255%2C255%2C.7%29' stroke-width='1' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") right center / 28px no-repeat; }

/* Art: the process polaroids show each whole picture (the frame takes the picture's own shape), with an expand mark */
.filmstrip { align-items: flex-start; }
.filmstrip li .lb { position: relative; aspect-ratio: auto; height: auto; }
.filmstrip li img { height: auto; object-fit: contain; display: block; }
.filmstrip li .lb::after { content: '\2922'; position: absolute; right: 8px; bottom: 3px; font: 16px/1 var(--display, sans-serif); color: #6b6560; opacity: .75; transition: opacity .2s, color .2s; }
.filmstrip li .lb:hover::after { opacity: 1; color: var(--accent, #2b2626); }

/* ================================================================ cute, chunky scrollbars (round 50)
   (Chrome ignores the ::-webkit-scrollbar styling whenever scrollbar-width/-color are set, so those are left for Firefox
   only.) A fat rounded thumb floating inside its track with room all round it, a little shine on top. */
html, html * { scrollbar-width: auto; scrollbar-color: auto; }
@supports not selector(::-webkit-scrollbar) {
  .room-art, .room-art * { scrollbar-color: var(--accent) #24212d; }
}
body *::-webkit-scrollbar { width: 20px; height: 20px; }
body *::-webkit-scrollbar-track { background: #2b2626; border-radius: 12px; }
body *::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 45%), #f0a63c; border-radius: 12px; border: 5px solid transparent; background-clip: padding-box; min-height: 48px; }
body *::-webkit-scrollbar-thumb:horizontal { background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 45%), #f0a63c; background-clip: padding-box; min-width: 48px; }
body *::-webkit-scrollbar-thumb:hover { background-color: #ffbe5c; }
body *::-webkit-scrollbar-corner { background: transparent; }
.room-art ::-webkit-scrollbar-track { background: #24212d; border-radius: 12px; box-shadow: inset 0 0 0 2px #34303f; }
.room-art ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 45%), var(--accent); background-clip: padding-box; border: 5px solid transparent; border-radius: 12px; box-shadow: none; }
/* the strips that scroll sideways get room under them for the bar */
.filmstrip { padding-bottom: 30px; margin-bottom: 4px; }
.ptabs { padding-bottom: 24px; }
/* the hidden ones stay hidden */
.track::-webkit-scrollbar, .tasks::-webkit-scrollbar { display: none; }
@media (max-width: 860px) { .icons::-webkit-scrollbar, .viewport::-webkit-scrollbar { display: none; } }
.room-art, .room-art *, .filmstrip, .ptabs { scrollbar-width: auto; scrollbar-color: auto; }

/* ================================================================ round 51 */
/* the remote's keys: the key's bottom edge (its side, when it rises) is a good deal darker than its top */
.ch { --ks: color-mix(in srgb, var(--kd) 62%, #000); }
.ch::before { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -4px 0 var(--ks), 0 1px 2px rgba(0, 0, 0, .45); }
.ch:hover::before, .ch[aria-current]::before { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -4px 0 var(--ks), 0 3px 0 var(--ks), 0 4px 2px rgba(0, 0, 0, .45); }
/* the little LEDs on the string glow gently */
.room-svg .bulbs circle { filter: none; }

/* the bugs lie on the floor as we see it (flattened into it), and turn within it */
.bug, .bug.scurry { rotate: 0deg; scale: 1 .5; }
.bug svg { rotate: var(--ba); transition: rotate .3s; }

/* the dialog's buttons (Get in touch, Art / Design, Play Clippings) sit on the same line as what Rowan says, so the
   box never grows taller for them */
.dialog .line:has(.links) { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.dialog .line:has(.links) > p { margin: 0; }
.dialog .line .links { margin: 0; flex-wrap: nowrap; }
.dialog .line .links .btn { padding-top: 8px; padding-bottom: 8px; font-size: 16px; }

/* Info: the Found count sits at the top right of the inventory; Step back lines up with the left edge of the top bar's rug */
.inventory { position: relative; }
.inventory .found { position: absolute; top: 12px; right: 16px; font: 12px var(--pixel); padding: 4px 10px; border: 0; border-radius: 6px; background: rgba(0, 0, 0, .35); color: #f6e7c8; }
.inventory .found b { color: var(--butter); }
@media (min-width: 861px) { .info .hud-top { left: max(18px, calc((100% - 1180px) / 2)); right: auto; } }

/* ================================================================ round 53 */
/* Info: the mouse pointer on the computer screen has a solid black outline */
.room-svg .cursor { stroke: #000; stroke-opacity: 1; stroke-width: 2.4; stroke-linejoin: round; }
/* on the rug: the phone gets the same torn-paper edge as the rug and the cat bed; Lana herself has none */
.papers > .hot#hot-phone { filter: url(#rm-torn); }
.papers > .hot#hot-cat { filter: none; }
.papers > .hot#hot-cat:hover, .papers > .hot#hot-cat:focus-visible, .papers > .hot#hot-cat.lit { filter: drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff); }
.papers > .hot#hot-phone:hover, .papers > .hot#hot-phone:focus-visible, .papers > .hot#hot-phone.lit { filter: url(#rm-torn) drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff); }
/* her tail lies still; only its tip twitches now and then */
.room-svg .cat-tail, #hot-cat:hover .cat-tail, #hot-cat.lit .cat-tail { animation: none; }
.room-svg .cat-tail-tip { transform-box: fill-box; transform-origin: 100% 60%; animation: tail-tip 5s ease-in-out infinite; }
#hot-cat:hover .cat-tail-tip, #hot-cat.lit .cat-tail-tip { animation-duration: 1.4s; }
@keyframes tail-tip { 0%, 62%, 100% { rotate: 0deg; } 70% { rotate: 12deg; } 78% { rotate: -6deg; } 86% { rotate: 8deg; } }

.bug, .bug.scurry { scale: 1 .7; }
.bug svg { filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .35)); }

/* ================================================================ round 56 */
/* the radio: its own toy on the shelf (pointing at it doesn't light up the shelf) */
.room-svg .radio { cursor: var(--cur-hand); outline: none; }
.room-svg .boombox > *, .room-svg .boombox .spk > * { filter: url(#rm-layer); }
.papers > .radio:hover, .papers > .radio:focus-visible, .papers > .radio.playing { filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff); }
.room-svg .radio .spk { transform-box: fill-box; transform-origin: center; }
.room-svg .radio.playing .spk { animation: thump .3s ease-in-out infinite alternate; }
.room-svg .radio.playing { animation: radio-bop .6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes thump { to { scale: 1.08; } }
@keyframes radio-bop { from { rotate: -1.5deg; } to { rotate: 1.5deg; } }
.radio-note { font-size: 18px; }

/* ================================================================ round 58 */
/* Lana: a torn-paper edge in her own grey (no pale rim); the phone a clean cut edge with a slim cream border (not fuzzy) */
.papers > .hot#hot-cat { filter: url(#rm-torn-bare); }
.papers > .hot#hot-cat:hover, .papers > .hot#hot-cat:focus-visible, .papers > .hot#hot-cat.lit { filter: url(#rm-torn-bare) drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff); }
.papers > .hot#hot-phone { filter: url(#rm-cut) drop-shadow(2px 0 0 #f3ead6) drop-shadow(-2px 0 0 #f3ead6) drop-shadow(0 2px 0 #f3ead6) drop-shadow(0 -2px 0 #f3ead6) drop-shadow(1px 3px 2px rgba(18, 12, 24, .5)); }
.papers > .hot#hot-phone:hover, .papers > .hot#hot-phone:focus-visible, .papers > .hot#hot-phone.lit { filter: url(#rm-cut) drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff); }

/* ================================================================ round 60 */
/* the phone, now on the floorboards: no border, just the cut paper and its little shadow like everything else */
.papers > .hot#hot-phone { filter: none; }
.papers > .hot#hot-phone:hover, .papers > .hot#hot-phone:focus-visible, .papers > .hot#hot-phone.lit { filter: drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff); }
/* the bugs: a soft cast shadow under them, so they sit on the floor */
.bug svg { filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .45)); }

/* the page's own scrollbar stays the browser's normal one (only the strips inside the page get the chunky bars) */


/* ================================================================ round 63 */
.bug svg { filter: drop-shadow(0 2px 1.5px rgba(0, 0, 0, .4)); }
/* steam: soft wisps that rise and thin out */
.room-svg .steam { filter: blur(.6px); }
.room-svg .steam path { animation: steam-rise 3s ease-out infinite; }
.room-svg .steam path:nth-child(2) { animation-delay: -1.5s; }
@keyframes steam-rise { 0% { translate: 0 6px; opacity: 0; } 30% { opacity: 1; } 100% { translate: 0 -14px; opacity: 0; } }

/* ================================================================ round 64 */
/* the phone: one piece of cut paper (no little shadow under every part of it, which drew a dark outline) */
.room-svg #hot-phone * { filter: none !important; }
.papers > .hot#hot-phone { filter: url(#rm-cut); }
.papers > .curtains { filter: url(#rm-cut); }

/* the program guide's times say AM or PM, small, after the time */
.guide time i { font-style: normal; font-size: .64em; margin-left: 3px; letter-spacing: .04em; opacity: .85; }
.guide a { grid-template-columns: 68px 1fr; }
.inventory .found { top: 8px; padding: 3px 10px; font-size: 11px; line-height: 1.2; }

/* Art: the digital gallery as a two-row strip that scrolls sideways, with an arrow at the right end (it turns round
   at the end and takes you back to the start) */
.strip { position: relative; }
.gallery.strip-scroll { display: grid; gap: 12px; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding-right: 72px;
  -webkit-mask: linear-gradient(90deg, #000 calc(100% - 90px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 90px), transparent); }
.gallery.strip-scroll::-webkit-scrollbar { display: none; }
.gallery.strip-scroll::after { content: none; }
.strip-row { display: flex; gap: 12px; height: clamp(150px, 20vw, 250px); }
.strip-row .lb { flex: none; height: 100%; width: auto; aspect-ratio: var(--r, 1); }
.strip-go { all: unset; position: absolute; right: 4px; top: 50%; translate: 0 -50%; z-index: 3; width: 52px; height: 52px; display: grid; place-items: center; cursor: var(--cur-hand);
  font: 34px/1 var(--chunky); padding-bottom: 4px; box-sizing: border-box; color: #1d1a1a; background: var(--accent, #8fd14f); border-radius: 50%;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--accent, #8fd14f) 60%, #000), 0 8px 16px rgba(0, 0, 0, .35); transition: translate .12s, box-shadow .12s, rotate .3s; }
.strip-go:hover { translate: 0 calc(-50% - 3px); box-shadow: 0 7px 0 color-mix(in srgb, var(--accent, #8fd14f) 60%, #000), 0 10px 18px rgba(0, 0, 0, .35); }
.strip-go:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.strip-go.wrap { rotate: 180deg; }
.guide a { grid-template-columns: 78px 1fr; }

/* ================================================================ round 66 */
/* every show fits one screen (a 16:9 window shows the whole thing, the breaker box included) */
@media (min-width: 861px) {
  .show { min-height: 100svh; box-sizing: border-box; }
  .show.t-boddle { padding: 96px 20px 96px; }
  .show.t-snapshot-isle { padding: 84px 20px 84px; }
  .show.t-glorbo-s-kingdom { padding: 70px 20px 290px; }
  .show.t-repair { padding: 90px 20px 90px; }
  .show.t-jungle-bungler { padding: 100px 20px 100px; }
  .show.t-ed-s-diner { padding: 62px 20px 36px; }
  .show.t-ed-s-diner .breaker { margin-top: 18px; }
  .show.t-clippings { padding: 90px 20px 90px; }
}

/* button hover, the same everywhere: the face lifts and the bottom edge grows under it (no sweep of shine, no tilt) */
.btn:hover, .btn:active { box-shadow: 0 var(--lip) 0 var(--bd), 0 calc(var(--lip) + 3px) 0 #2b2626, 0 calc(var(--lip) + 6px) 12px rgba(0, 0, 0, .22); rotate: 0deg; filter: none; }
.btn:hover::before { animation: none; }
.cbtn:not(.paper):hover { rotate: 0deg; }
.cbtn.paper:hover { rotate: .8deg; }

/* Boddle */
/* the name's thick outline has room to show in full */
.boddle-logo, .boddle-logo::after { padding: 8px 14px 10px; }
.boddle-logo { margin: -8px -14px -10px; }
/* the gallery strip sits in a darker frame; the video has no shadow */
.t-boddle .thumbs { background: #6f86ad; }
.t-boddle .viewer .stage, .t-boddle .viewer .yt { box-shadow: none; }
/* LIVE: shaded and glossy with no bottom edge; it pulses with a soft, blurry red glow (keeping its shading) */
.t-boddle .live { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .2); animation: live-glow 1.4s ease-in-out infinite; }
@keyframes live-glow {
  0%, 100% { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .2), 0 0 0 0 rgba(255, 70, 50, 0); }
  50% { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .2), 0 0 18px 5px rgba(255, 70, 50, .7); }
}

/* ================================================================ round 67 */
/* "Clippings" everywhere in the same proportions as on the remote's key (the cut-out CLIP letters and the blackletter
   "pings" the same height) */
.clip-word .cut i { font-size: 1.12em; }
.clip-word .bubble { font-size: 1.42em; }
.ch.clip .clip-word .cut i { font-size: .8em; }
.clipping .ep-title .clip-word { font-size: 54px; }
@media (max-width: 860px) { .clipping .ep-title .clip-word { font-size: 40px; } }

/* Ed's Diner: the lamps hang higher, so the card sits below them and every light shows while you play */
.t-ed-s-diner .lamp .cord { height: 12px; }
.t-ed-s-diner .lamp .shade { top: 10px; }
.t-ed-s-diner .lamp .bulb { top: 58px; }
.t-ed-s-diner .lamp .pool { top: 70px; }
@media (min-width: 861px) { .show.t-ed-s-diner { padding: 90px 20px 14px; } .show.t-ed-s-diner .breaker { margin-top: 14px; } }

/* the game slips on the Clippings card sit on top of it: a small soft shadow under each, a little more when pointed at */
.clipping .clip-list li { filter: drop-shadow(1px 2px 0 rgba(29, 26, 26, .16)) drop-shadow(0 5px 7px rgba(29, 26, 26, .26)); transition: filter .15s, translate .15s; }
.clipping .clip-list li:hover { filter: drop-shadow(1px 3px 0 rgba(29, 26, 26, .16)) drop-shadow(0 9px 12px rgba(29, 26, 26, .3)); translate: 0 -2px; }

/* Clippings: the card's torn edge is a clip shape, which cut its shadow off; the shadow goes on a wrapper outside the clip */
.clip-lift { width: 100%; display: flex; justify-content: center; position: relative; z-index: 1; filter: drop-shadow(0 0 20px rgba(0, 0, 0, .7)) drop-shadow(0 12px 16px rgba(0, 0, 0, .45)); }
.t-clippings .ep { filter: none; }

/* the strip's arrows: one each side, hidden when there's nothing further that way; the edges fade only where there's more */
.strip-go.prev { right: auto; left: 4px; }
.strip-go[hidden] { display: none; }
.gallery.strip-scroll { -webkit-mask: linear-gradient(90deg, transparent, #000 70px, #000 calc(100% - 90px), transparent); mask: linear-gradient(90deg, transparent, #000 70px, #000 calc(100% - 90px), transparent); }
.strip.at-start .gallery.strip-scroll { -webkit-mask: linear-gradient(90deg, #000 calc(100% - 90px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 90px), transparent); }
.strip.at-end .gallery.strip-scroll { -webkit-mask: linear-gradient(90deg, transparent, #000 70px); mask: linear-gradient(90deg, transparent, #000 70px); }
.strip.at-start.at-end .gallery.strip-scroll { -webkit-mask: none; mask: none; }
.strip-go.wrap { rotate: 0deg; }

/* Art, Featured projects: calmer, so the art leads -- no layer pills, no coloured offset line behind the card, no title
   shadow, and the cover is just the picture (no frame bigger than it) */
.layer-tag { display: none; }
.selection.proj { box-shadow: none; }
.selection h3, .selection.proj .sel-text h3 { text-shadow: none; }
.selection.proj .cover, .room-art .selection.proj .cover { padding: 0; background: none; border: 0; rotate: 0deg; box-shadow: none; justify-items: start; }
.selection.proj .cover img { border-radius: 6px; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }

/* Art: the process polaroid strip -- its scrollbar inset from the card's sides, and less room under it */
.filmstrip { margin: 16px 0 0; padding: 18px 8px 12px; }
body .filmstrip::-webkit-scrollbar-track { margin: 0 20px; }
/* Art Fight: bigger pictures in balanced rows (sized by the script; this is the fallback) */
.gallery.fight { gap: 12px; }
.gallery.fight .lb { flex-basis: calc(var(--r, 1) * 300px); }
.gallery.fight::after { content: none; }

/* the Start button's logo: a little Rowan-TV set (antennae, wooden cabinet, blue screen, two knobs) */
.start .logo { width: 26px; height: 24px; border: 0; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M9 6.5 L5.5 1.5 M17 6.5 L20.5 1.5' stroke='%231d1a1a' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='5.3' cy='1.6' r='1.4' fill='%23f5585c' stroke='%231d1a1a' stroke-width='1'/%3E%3Ccircle cx='20.7' cy='1.6' r='1.4' fill='%23f5585c' stroke='%231d1a1a' stroke-width='1'/%3E%3Crect x='1.2' y='6' width='23.6' height='16.4' rx='4' fill='%23c98b4f' stroke='%231d1a1a' stroke-width='1.8'/%3E%3Crect x='3.8' y='8.6' width='14.2' height='11.2' rx='2.6' fill='%2354a8ee' stroke='%231d1a1a' stroke-width='1.4'/%3E%3Cpath d='M5.6 11.2 q2-1.6 4.4-1.4' stroke='%23fff' stroke-opacity='.8' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='21.3' cy='11.4' r='1.6' fill='%23fcc308' stroke='%231d1a1a' stroke-width='1'/%3E%3Ccircle cx='21.3' cy='16.4' r='1.6' fill='%23fcc308' stroke='%231d1a1a' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat; }
.start .logo::after { content: none; }

/* awake, Lana lifts her head right up off her paws */
#hot-cat:hover .cat-head, #hot-cat.lit .cat-head { translate: 0 -12px; }

/* real pictures never get the paper wobble (it warped the photos): the polaroids, the framed art and the screens keep
   only a small cast shadow */
.papers > #hot-photo, .papers > #hot-art, .papers > #hot-computer { filter: drop-shadow(1px 3px 2px rgba(18, 12, 24, .45)); }
.papers > #hot-photo:hover, .papers > #hot-photo.lit, .papers > #hot-art:hover, .papers > #hot-art.lit, .papers > #hot-computer:hover, .papers > #hot-computer.lit { filter: drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff); }
.room-svg #hot-photo image, .room-svg #hot-art image, .room-svg #hot-computer image { filter: none; }

/* the corkboard's butterfly is Rowan's own monarch (no outline, no pin): its wings slowly open and close about its body */
.room-svg .monarch-fly { filter: drop-shadow(1px 2px 1.5px rgba(18, 12, 24, .45)); }
.room-svg .monarch-fly .mwing { transform-box: view-box; transform-origin: 0 0; animation: mflap 5s ease-in-out infinite; }
@keyframes mflap { 0%, 70%, 100% { scale: 1 1; } 80% { scale: .55 1; } 90% { scale: .9 1; } }

/* the window: Rowan's garden photo outside, not warped by the paper effect (the frame keeps a small shadow) */
.papers > .window { filter: none; }
.room-svg .window > rect:not([fill^="url"]), .room-svg .window > path { filter: url(#rm-layer); }

/* the radio, playing: the level meter bounces and the CD turns */
.room-svg .radio .eq rect { transform-box: fill-box; transform-origin: 50% 100%; scale: 1 .3; }
.room-svg .radio.playing .eq rect { animation: eq .45s ease-in-out infinite alternate; }
.room-svg .radio.playing .eq rect:nth-child(2) { animation-delay: -.2s; } .room-svg .radio.playing .eq rect:nth-child(3) { animation-delay: -.1s; animation-duration: .35s; } .room-svg .radio.playing .eq rect:nth-child(4) { animation-delay: -.3s; }
@keyframes eq { from { scale: 1 .25; } to { scale: 1 1; } }
.room-svg .radio.playing .cd { animation: cd-spin .8s linear infinite; }
@keyframes cd-spin { to { stroke-dashoffset: -22; } }

/* the bugs: the wing cases lie shut; when a bug runs they spring open and the thin wings underneath show */
.bug .hw { opacity: 0; transition: opacity .15s; }
.bug .el { transform-box: fill-box; transition: rotate .18s cubic-bezier(.3, 1.5, .5, 1); }
.bug .el.l { transform-origin: 100% 0; } .bug .el.r { transform-origin: 0 0; }
.bug.scurry .hw { opacity: .9; }
.bug.scurry .el.l { rotate: 28deg; } .bug.scurry .el.r { rotate: -28deg; }

/* ================================================================ round 77 */
/* the channel number stays; no "Now showing / Now on air" words or dashed lines */
.bump-txt, .bump-line { display: none; }
/* the TV's wood: the same tone top to bottom (the lower half had gone much darker) */
.living .tv { background: linear-gradient(180deg, rgba(255, 225, 180, .12), rgba(255, 225, 180, .05)), url('../media/tex-wood.webp') center / cover;
  box-shadow: inset 0 3px 0 rgba(255, 228, 190, .45), inset 0 -4px 8px rgba(30, 10, 0, .2), inset 3px 0 0 rgba(255, 228, 190, .14), -6px 10px 18px rgba(20, 10, 0, .25); }

/* buttons: no dark line under the bottom edge; the edge grows as the face lifts and its very bottom stays put */
.btn, .btn:hover, .btn:active { box-shadow: 0 var(--lip) 0 var(--bd), 0 calc(var(--lip) + 5px) 10px rgba(0, 0, 0, .2); }

/* Boddle: the years tag, live (a pulsing red dot); a stronger blue frame round the gallery strip */
.live-yr { display: inline-flex; align-items: center; gap: 7px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 0 rgba(255, 59, 48, .6); animation: live-dot 1.4s ease-in-out infinite; }
@keyframes live-dot { 50% { box-shadow: 0 0 6px 3px rgba(255, 70, 50, .7); } }
.t-boddle .thumbs { background: #2f63c9; }

/* Snapshot Isle: the postmark's cancel lines start beside its circle (not under its words); the video's label sits just
   under the play button */
.postmark::after { left: calc(100% - 4px); }
.yt::after { bottom: auto; top: calc(50% + 56px); }

/* rePAIR: the feature picture's frame is no wider than the gallery strip's under it */
.t-repair .viewer > :first-child { border: 4px solid #d6a764; box-shadow: 0 0 0 3px #5a3414, 0 10px 18px rgba(60, 30, 10, .35); }
.t-repair .thumbs { border: 4px solid #d6a764; box-shadow: 0 0 0 3px #5a3414; }

/* Jungle Bungler: no dark slab under the card; the frame's cards a little smaller */
.lid { box-shadow: inset 0 0 0 6px #f3d08a, inset 0 0 0 9px #8a4b2a, 0 18px 30px rgba(0, 0, 0, .35); }
@media (min-width: 861px) { .t-jungle-bungler .board { grid-template-columns: repeat(9, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr)); }
  .t-jungle-bungler .tile { width: min(100%, 104px); } }

/* Ed's Diner: the breaker box stands upright beside the card, like the real one (two columns of five, one more below
   them, then the little box of two); the ghosts close in round the card */
@media (min-width: 861px) {
  .show.t-ed-s-diner { flex-direction: row; align-items: center; justify-content: center; gap: 26px; padding: 70px 20px 40px; }
  .show.t-ed-s-diner > .ep { margin: 0; flex: 0 1 1000px; }
  .show.t-ed-s-diner .breaker { margin: 0; width: 168px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 34px 14px 16px; }
  .t-ed-s-diner .sws { display: grid; grid-template-columns: repeat(2, 28px); grid-auto-rows: 64px; gap: 0 26px; padding: 12px 18px 6px; }
  .t-ed-s-diner .sws .sw:nth-child(11) { grid-column: 1 / -1; grid-row: auto; justify-self: center; margin: 0; }
  .t-ed-s-diner .sws2 { grid-template-columns: repeat(2, 28px); grid-auto-rows: 64px; gap: 0 22px; padding: 10px 16px 4px; }
  .t-ed-s-diner .bk-status, .t-ed-s-diner .bk-again { width: auto; }
  .t-ed-s-diner .set .ghost.g0 { left: calc(50% - 720px); }
  .t-ed-s-diner .set .ghost.g3 { left: calc(50% - 700px); }
  .t-ed-s-diner .set .ghost.g1 { right: calc(50% - 740px); }
  .t-ed-s-diner .set .ghost.g2 { right: calc(50% - 720px); }
}

/* buttons on dark backgrounds: the outline is a darker shade of the button itself, not black */
.menu .btn, .tc-card .btn, .room-art .btn, .t-ed-s-diner .btn, .dialog .btn { border-color: var(--bd); }
.t-ed-s-diner .menu { padding-top: 36px; }

/* Featured: the Alchemist's Shelf drawing shown with and without the phone's screen over it, side by side */
.selection.proj .cover.pair { grid-auto-flow: column; justify-content: start; gap: 14px; }
.selection.proj .cover.pair img { max-height: 440px; }

/* the step numbers poke out over each polaroid's corner: the strip leaves room for them (the first one was cut off) */
.filmstrip { padding-top: 22px; padding-left: 18px; }
.filmstrip { padding-left: 24px; }

/* Design: the bigger sets scroll sideways in two rows, like the Art page's digital gallery */
.win-body .strip-row { height: clamp(140px, 17vw, 220px); }
.win-body .strip-go { --accent: #7a4fd6; color: #fff; }

/* Design (and Art) taskbar: Start, the window tabs and the clock sit within the same width as the top bar's rug */
.taskbar { padding-left: max(8px, calc((100% - 1180px) / 2)); padding-right: max(8px, calc((100% - 1180px) / 2)); }

/* the games' gallery strips: every picture at full strength (not faded until pointed at) */
.thumb img { opacity: 1; }

/* ================================================================ round 81 */
/* Jungle Bungler: the frame of cards stays clear of the card -- a row along the top, a row along the bottom, a column
   down each side, and the card in the open middle */
@media (min-width: 861px) {
  .t-jungle-bungler .board { inset: 22px 2vw 22px; grid-template-rows: 96px repeat(3, minmax(0, 1fr)) 96px; gap: 10px 12px; }
  .t-jungle-bungler .tile { width: 92px; align-self: center; }
}

/* Ed's Diner: the card back in the middle as it was; the upright breaker box, a little shorter than the card, sits
   over its right edge (clear of the video and pictures) */
@media (min-width: 861px) {
  .show.t-ed-s-diner { flex-direction: column; justify-content: center; align-items: stretch; gap: 0; padding: 70px 20px 70px; position: relative; }
  .show.t-ed-s-diner > .ep { margin: 0 auto; flex: none; width: 100%; max-width: 1000px; }
  .show.t-ed-s-diner .breaker { position: absolute; z-index: 4; left: calc(50% + 500px - 30px); top: 50%; translate: 0 -50%; margin: 0;
    width: 150px; gap: 10px; padding: 30px 10px 12px; }
  .t-ed-s-diner .sws { grid-auto-rows: 50px; gap: 0 20px; padding: 8px 14px 4px; }
  .t-ed-s-diner .sws2 { grid-auto-rows: 50px; gap: 0 18px; padding: 6px 12px 2px; }
  .t-ed-s-diner .sw { height: 42px; }
  .t-ed-s-diner .bk-status { gap: 4px; }
  .t-ed-s-diner .bk-text { min-height: 2.4em; }
}
@media (min-width: 861px) { .t-jungle-bungler .board { inset: 58px 2vw 16px; } }

/* ================================================================ round 82 */
/* the lift and the growing bottom edge move together (the edge's depth now animates, so the bottom never dips) */
@property --lip { syntax: '<length>'; inherits: true; initial-value: 4px; }
.btn, .cbtn { transition: translate .14s ease-out, --lip .14s ease-out, box-shadow .14s ease-out; }
/* Play the Game buttons: outlined in a darker shade of their own colour (Glorbo's keeps its black, for the comic look) */
.btn.play { border-color: var(--bd); }
.t-glorbo-s-kingdom .btn.play { border-color: #2b2626; }
/* Clippings: a bigger arrow on Play Clippings */
.cbtn.red::after { font-size: 1.5em; line-height: .6; translate: 0 1px; }
/* the end card's two buttons are the same size */
.tc-card .buttons .btn { min-width: 250px; height: 54px; box-sizing: border-box; justify-content: center; padding-top: 0; padding-bottom: 0; }

/* ================================================================ round 83: Ed's Diner */
@media (min-width: 861px) {
  /* a smaller breaker box with no numbers on the switches, its light count centred */
  .show.t-ed-s-diner .breaker { width: 124px; left: calc(50% + 500px - 28px); padding: 28px 8px 10px; gap: 8px; }
  .t-ed-s-diner .sws { grid-template-columns: repeat(2, 24px); grid-auto-rows: 40px; gap: 0 16px; padding: 6px 12px 2px; }
  .t-ed-s-diner .sws2 { grid-template-columns: repeat(2, 24px); grid-auto-rows: 40px; gap: 0 16px; padding: 4px 12px 0; }
  .t-ed-s-diner .sw { width: 24px; height: 34px; }
  .t-ed-s-diner .sw small { display: none; }
  .t-ed-s-diner .bk-status { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 11px; }
  .t-ed-s-diner .bk-text { text-align: center; min-height: 2.2em; }
  .t-ed-s-diner .bk-again { align-self: center; }
  /* the ghosts float in the open space either side: three down the left, two down the right beyond the breaker box */
  .t-ed-s-diner .set .ghost { left: auto; right: auto; bottom: auto; }
  .t-ed-s-diner .set .ghost.g0 { left: calc(50% - 760px); top: 16%; width: 104px; }
  .t-ed-s-diner .set .ghost.g4 { left: calc(50% - 700px); top: 44%; width: 80px; }
  .t-ed-s-diner .set .ghost.g3 { left: calc(50% - 770px); top: 68%; width: 90px; }
  .t-ed-s-diner .set .ghost.g1 { right: calc(50% - 770px); top: 18%; width: 100px; }
  .t-ed-s-diner .set .ghost.g2 { right: calc(50% - 760px); top: 60%; width: 88px; }
}
@media (min-width: 861px) { .t-ed-s-diner .bk-label::after { font-size: 8px; letter-spacing: .04em; padding: 3px 5px 2px; white-space: nowrap; } }

/* ================================================================ round 84 */
/* Art: the process strip's scrollbar is chunkier, inset evenly from the card's edges with even space around it */
.filmstrip { padding-bottom: 16px; margin-bottom: 0; }
body .filmstrip::-webkit-scrollbar { height: 28px; }
body .filmstrip::-webkit-scrollbar-track { margin: 0 16px; border-radius: 14px; }
body .room-art .filmstrip::-webkit-scrollbar-thumb { border: 6px solid transparent; border-radius: 14px; background-clip: padding-box; }

/* Design: each window's strip arrows wear that window's own title-bar colours */
.win .strip-go { color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
.win:nth-child(1) .strip-go { background: linear-gradient(135deg, var(--purple), var(--pink)); box-shadow: 0 4px 0 #5a37a8, 0 8px 16px rgba(0, 0, 0, .35); }
.win:nth-child(2) .strip-go { background: linear-gradient(135deg, #e2363b, var(--orange)); box-shadow: 0 4px 0 #a8231f, 0 8px 16px rgba(0, 0, 0, .35); }
.win:nth-child(3) .strip-go { background: linear-gradient(135deg, #2a8a3a, var(--green)); box-shadow: 0 4px 0 #1f6a2b, 0 8px 16px rgba(0, 0, 0, .35); }
.tools-win .strip-go { background: linear-gradient(135deg, #7a1f24, #c0262d); box-shadow: 0 4px 0 #561418, 0 8px 16px rgba(0, 0, 0, .35); }

/* the top bar's rug: a slimmer bottom edge */
.rug::before { filter: url(#fuzz) drop-shadow(0 3px 0 #c48f00) drop-shadow(0 8px 12px rgba(0, 0, 0, .3)); }

/* the bugs, steadier: their stacked edges glide round with them as they turn (instead of jumping, which flickered), and
   their wings hum with a tiny shiver rather than blinking on and off */
.bug .dp { transition: translate .3s; }
.bug.scurry .hw { opacity: .9; animation: hum .12s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 0; }
@keyframes hum { from { scale: 1 .97; } to { scale: 1 1.03; } }

/* each show's top: a TV on-screen banner -- channel, the time it's on, the show's name, and Now showing / Live
   (no dashed line) */
.bump-txt { display: inline-block; }
.bump { gap: 8px; align-items: center; }
.bump-time, .bump-show { font: 12px var(--pixel); letter-spacing: .06em; color: #fff; background: rgba(0, 0, 0, .62); padding: 5px 10px 4px; border-radius: 4px; text-transform: uppercase; }
.bump-show { color: #ffe46b; }

/* Jungle Bungler: dealt cards (placed by the script) */
@media (min-width: 861px) {
  .t-jungle-bungler .board.dealt { display: block; inset: 0; }
  .t-jungle-bungler .board.dealt .tile { position: absolute; width: 92px; margin: 0; rotate: var(--tilt, 0deg); }
}

/* the videos' play buttons: a VCR's on-screen PLAY, chunky pixel lettering on a dark band, its arrow blinking */
.yt-play, .yt-play:hover { width: auto; height: auto; padding: 12px 20px 10px 22px; border: 0; border-radius: 3px; background: rgba(0, 0, 0, .58);
  box-shadow: none; display: flex; align-items: center; gap: 14px; transform: none; scale: 1; }
.yt-play:hover { background: rgba(0, 0, 0, .78); }
.yt-play::before { content: 'PLAY'; width: auto; height: auto; margin: 0; border: 0; background: none; -webkit-mask: none; mask: none; filter: none;
  font: 30px/1 var(--pixel); letter-spacing: .14em; color: #fff; text-shadow: 3px 3px 0 rgba(0, 0, 0, .55); }
.yt-play::after { content: ''; position: static; inset: auto; width: 0; height: 0; border: 0; border-radius: 0; border-style: solid; border-width: 13px 0 13px 20px;
  border-color: transparent transparent transparent #fff; filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, .55)); animation: vcr-blink 1s steps(1) infinite; }
@keyframes vcr-blink { 50% { opacity: 0; } }
.yt::after { content: none; }
.t-boddle .thumbs { background: #1f3a7a; }

/* breaker switches: the toggle stays inside its slot whatever size the switch is (down: the bottom half, up: the top half) */
.t-ed-s-diner .sw { overflow: hidden; }
.t-ed-s-diner .sw i { height: 44%; bottom: 4%; }
.t-ed-s-diner .sw.up i { bottom: 52%; }

/* the end card: Play Clippings and Play more on itch.io side by side, equal, the word Play the same size in both */
.tc-card .buttons { flex-wrap: nowrap; gap: 14px; }
.tc-card .buttons .btn { flex: 1 1 0; min-width: 0; font-size: 18px; }
.tc-card .buttons .btn.clip-btn .clip-word { font-size: 18px; }

/* the end card keeps its oval; its two buttons share the width inside it */
.tc-card .buttons { width: 100%; }
.tc-card .buttons .btn { padding-left: 12px; padding-right: 12px; }

/* ================================================================ round 93: Ed's Diner */
/* no crop box round the ghost (its speck is gone from the picture itself) */
.t-ed-s-diner .ghost.g3 { clip-path: none; }
/* the lamps' metal (and their red shades) dim with the room and brighten as the lights come on */
.t-ed-s-diner .lamp .shade { filter: brightness(calc(.42 + var(--lit) * .58)); transition: filter .35s; }
/* the ghosts, livelier: big and bold up close, small and hazy further off, tilted as they drift, one peeking round
   the card's lower corner, one hiding behind the breaker box */
@media (min-width: 861px) {
  .t-ed-s-diner .set .ghost { transition: opacity .4s, translate .9s, filter .4s; }
  .t-ed-s-diner .set .ghost.g0 { left: calc(50% - 790px); top: 12%; width: 128px; rotate: -10deg; }
  .t-ed-s-diner .set .ghost.g4 { left: calc(50% - 640px); top: 40%; width: 60px; rotate: 8deg; opacity: .55; filter: blur(1.2px) drop-shadow(0 0 10px rgba(160, 90, 255, .8)); }
  .t-ed-s-diner .set .ghost.g3 { left: calc(50% - 560px); top: 74%; width: 96px; rotate: -16deg; z-index: 3; }
  .t-ed-s-diner .set .ghost.g1 { right: calc(50% - 790px); top: 10%; width: 112px; rotate: 12deg; }
  .t-ed-s-diner .set .ghost.g2 { right: calc(50% - 700px); top: 66%; width: 70px; rotate: -6deg; opacity: .6; filter: blur(.8px) drop-shadow(0 0 10px rgba(160, 90, 255, .8)); }
}

/* the lamps hang a touch lower so their metal caps always show in full (they were tucked under the top edge) */
.t-ed-s-diner .lamp .cord { height: 24px; }
.t-ed-s-diner .lamp .shade { top: 22px; }
.t-ed-s-diner .lamp .bulb { top: 70px; }
.t-ed-s-diner .lamp .pool { top: 82px; }

/* the lamps' metal cap shows whether the lamp is on or off (an old rule hid it on unlit lamps) */
.t-ed-s-diner .lamp .shade::before, .t-ed-s-diner .lamp.on .shade::before { opacity: 1; clip-path: none; }

/* the TV's glass (shine, curve and shading) has the same rounded corners as the screen it sits in, so it covers the
   whole picture with no gaps at the corners */
.living .screen .glass, .living .screen .static { border-radius: calc(46px - 7px) / calc(38px - 7px); }
.living .screen .chan { border-radius: calc(46px - 7px) / calc(38px - 7px); overflow: hidden; }

/* ================================================================ round 94: Ed's Diner's real lamps (Rowan's game art) */
.t-ed-s-diner .lamp { width: 112px; }
.t-ed-s-diner .lamp .cord { display: none; }
.t-ed-s-diner .lamp .shade { top: 0; width: 112px; height: 98px; border: 0; border-radius: 0; box-shadow: none; translate: -50% 0;
  background: url('../media/ed-lamp.webp') center top / contain no-repeat; filter: brightness(calc(.45 + var(--lit) * .55)); }
.t-ed-s-diner .lamp .shade::before, .t-ed-s-diner .lamp .shade::after, .t-ed-s-diner .lamp.on .shade::before { content: none; }
/* the bulb at the bottom of the shade: dark when off, glowing when on */
.t-ed-s-diner .lamp .bulb { top: 82px; width: 20px; height: 16px; border-radius: 0 0 10px 10px; background: transparent; box-shadow: none; translate: -50% 0; }
.t-ed-s-diner .lamp.on .bulb { background: #fffbe0; box-shadow: 0 0 18px 8px rgba(255, 236, 160, .95), 0 0 60px 22px rgba(255, 210, 120, .6); }
.t-ed-s-diner .lamp .pool { top: 94px; }

/* ================================================================ round 95 */
/* show tops: just the channel and the show's name */
.bump-time, .bump-txt { display: none; }
/* a darker line where the living room ends and Boddle begins */
.show.t-boddle { border-top-color: #0f0c0c; border-top-width: 7px; }

/* Jungle Bungler: bigger dealt cards */
@media (min-width: 861px) { .t-jungle-bungler .board.dealt .tile { width: 138px; } }

/* rePAIR: the dropped nuts and screws, and the horses rocking */
.rp-bit { position: absolute; z-index: 3; width: 24px; height: 24px; pointer-events: none; background: center / contain no-repeat; animation: rp-drop 1.2s cubic-bezier(.3, 0, .7, 1) forwards; }
.rp-bit.nut { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2.5h10l5 9.5-5 9.5H7L2 12z' fill='%23b9c0c5' stroke='%234a4f54' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='12' r='4' fill='%235b6166'/%3E%3C/svg%3E"); }
.rp-bit.screw { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='%23d9dde0' stroke='%234a4f54' stroke-width='1.6'/%3E%3Cpath d='M12 6.5v11M6.5 12h11' stroke='%234a4f54' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
@keyframes rp-drop { 0% { translate: 0 0; rotate: 0deg; opacity: 1; } 45% { translate: calc(var(--dx) * .5) -70px; } 100% { translate: var(--dx) 320px; rotate: var(--r); opacity: 0; } }
.t-repair .horse { pointer-events: auto; cursor: var(--cur-hand); }
.t-repair .horse img { transform-origin: 50% 92%; }
.t-repair .horse:hover img { animation: rp-rock .9s ease-in-out infinite alternate; }
@keyframes rp-rock { from { rotate: -9deg; } to { rotate: 9deg; } }

/* Ed's Diner: a cuter breaker box, in the diner's own style -- a rounded mint-and-chrome panel with a neon-pink
   "Lights" sign, cream plates, and pink toggles that light up mint when they're on (no hazard stripes, no second box) */
.t-ed-s-diner .sws2 { display: none; }
@media (min-width: 861px) {
  .show.t-ed-s-diner .breaker { background: linear-gradient(180deg, #b6f2e8, #7fd9cb); border: 5px solid #eef2f4; border-radius: 26px;
    box-shadow: 0 0 0 3px #9aa1a7, inset 0 2px 0 rgba(255, 255, 255, .7), 0 14px 26px rgba(0, 0, 0, .45); padding: 12px 10px 14px; }
  .t-ed-s-diner .bk-label { position: static; height: auto; background: none; border: 0; color: transparent; margin: 0 0 2px; padding: 0; width: auto; }
  .t-ed-s-diner .bk-label::after { content: 'Lights'; font: 22px/1 'Pacifico', cursive; letter-spacing: 0; color: #ff4f9a; background: none; border: 0; padding: 0;
    text-shadow: 0 0 6px rgba(255, 79, 154, .7), 0 0 14px rgba(255, 79, 154, .45); }
  .t-ed-s-diner .sws { background: #fff6e6; border-radius: 16px; box-shadow: inset 0 2px 4px rgba(120, 80, 60, .25); padding: 10px 14px 6px; }
  .t-ed-s-diner .sw { background: #ffd8e6; border-radius: 12px; box-shadow: inset 0 2px 3px rgba(150, 60, 90, .35); }
  .t-ed-s-diner .sw i { left: 3px; right: 3px; border-radius: 9px; background: radial-gradient(circle at 40% 35%, #ff9fc3, #ff4f9a 70%); box-shadow: 0 2px 2px rgba(120, 30, 70, .45); }
  .t-ed-s-diner .sw.up i { background: radial-gradient(circle at 40% 35%, #f4fff9, #6ee6c2 70%); box-shadow: 0 0 8px 2px rgba(110, 230, 194, .8), 0 2px 2px rgba(0, 0, 0, .25); }
  .t-ed-s-diner .bk-status { color: #1d5c50; font: 11px var(--pixel); }
  .t-ed-s-diner .bk-led { background: #ff4f9a; box-shadow: 0 0 8px 2px rgba(255, 79, 154, .7); border: 0; }
  .t-ed-s-diner .bk-again { background: #ff4f9a; color: #fff; border-radius: 999px; }
}

/* Clippings: the startled paper bats */
.cp-bat { position: absolute; z-index: 2; width: 54px; height: 26px; pointer-events: none; scale: var(--s); animation: cp-fly 1.6s cubic-bezier(.3, .1, .5, 1) both; }
.cp-bat i { display: block; width: 100%; height: 100%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 28'%3E%3Cpath d='M30 8c2-4 4-6 4-6l1 5c3-1 5 0 6 2 6-5 13-6 19-3-4 1-6 4-6 8-3-2-6-2-8 1-2-2-5-1-6 2-2-1-4-1-6 1-1-1-3-1-4 0-2-3-4-3-6-1-1-3-4-4-6-2-2-3-5-3-8-1 0-4-2-7-6-8 6-3 13-2 19 3 1-2 3-3 6-2l1-5s2 2 4 6z' fill='%230a1022'/%3E%3Ccircle cx='27.5' cy='10.5' r='1.1' fill='%23e8333a'/%3E%3Ccircle cx='32.5' cy='10.5' r='1.1' fill='%23e8333a'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); animation: cp-flap .14s ease-in-out infinite alternate; }
@keyframes cp-fly { 0% { translate: 0 0; opacity: 0; } 12% { opacity: 1; } 100% { translate: var(--dx) var(--dy); opacity: 0; } }
@keyframes cp-flap { from { scale: 1 1; } to { scale: 1 .35; } }
@media (prefers-reduced-motion: reduce) { .cp-bat, .cp-bat i { animation-duration: .01s; } }

/* ================================================================ round 97 */
/* Jungle Bungler: bigger cards spread evenly over the table; ones tucked under the main card stay face down */
@media (min-width: 861px) { .t-jungle-bungler .board.dealt .tile { width: 176px; } }
.t-jungle-bungler .board.dealt .tile.under { cursor: default; }

/* Ed's Diner: the light starts right up inside each shade, as wide as the shade's mouth */
.t-ed-s-diner .lamp .pool { top: 72px; clip-path: polygon(39% 0, 61% 0, 100% 100%, 0 100%); }
.t-ed-s-diner .lamp .shade { z-index: 2; }
.t-ed-s-diner .lamp .bulb { z-index: 3; }

/* Ed's Diner: a real breaker box, just a friendly one -- a cream-enamelled steel cabinet with rounded corners and
   corner screws, a grey inner panel, two rows of black breakers whose handles flip up (on, with a green stripe) and
   down (off, with a red one), and label-maker tape for the title and the count */
@media (min-width: 861px) {
  .show.t-ed-s-diner .breaker { background: linear-gradient(180deg, #f4ecd8, #ddd2b8); border: 3px solid #8d8574; border-radius: 12px;
    box-shadow: inset 0 0 0 3px #faf5e8, inset 0 -4px 0 3px rgba(120, 100, 70, .18), 0 14px 26px rgba(0, 0, 0, .45);
    background-image: radial-gradient(circle at 10px 10px, #9c9483 2.5px, transparent 3px), radial-gradient(circle at calc(100% - 10px) 10px, #9c9483 2.5px, transparent 3px),
      radial-gradient(circle at 10px calc(100% - 10px), #9c9483 2.5px, transparent 3px), radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #9c9483 2.5px, transparent 3px),
      linear-gradient(180deg, #f4ecd8, #ddd2b8);
    padding: 16px 10px 14px; }
  .t-ed-s-diner .bk-label { position: static; height: auto; background: none; border: 0; color: transparent; margin: 0; padding: 0; width: auto; }
  .t-ed-s-diner .bk-label::after, .t-ed-s-diner .bk-status { font: 700 10px/1 ui-monospace, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase;
    color: #fff; background: #d23d6a; border: 0; border-radius: 2px; padding: 4px 6px 3px; text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
  .t-ed-s-diner .bk-label::after { content: 'Lights'; display: inline-block; rotate: -3deg; }
  .t-ed-s-diner .sws { background: linear-gradient(90deg, #a9aeb2, #c6cacd 50%, #a9aeb2); border-radius: 6px; padding: 8px 10px 4px;
    box-shadow: inset 0 0 0 2px #8c9196, inset 0 3px 5px rgba(0, 0, 0, .3); gap: 0 14px; }
  .t-ed-s-diner .sw { background: linear-gradient(90deg, #232326, #3a3a3f 50%, #232326); border-radius: 3px; box-shadow: 0 2px 0 #6f7478, inset 0 0 0 1px #111; }
  .t-ed-s-diner .sw i { left: 5px; right: 5px; border-radius: 2px; background: linear-gradient(180deg, #55555b, #2c2c30);
    box-shadow: inset 0 -3px 0 #d23d6a, 0 1px 1px rgba(0, 0, 0, .6); }
  .t-ed-s-diner .sw.up i { background: linear-gradient(180deg, #5c5c62, #303034); box-shadow: inset 0 3px 0 #5fd37f, 0 1px 1px rgba(0, 0, 0, .6); }
  .t-ed-s-diner .bk-status { flex-direction: row; gap: 5px; align-self: center; background: #1f1f24; rotate: 2deg; }
  .t-ed-s-diner .bk-text { min-height: 0; }
  .t-ed-s-diner .bk-led { width: 7px; height: 7px; background: #ff5a5a; box-shadow: 0 0 6px 1px rgba(255, 90, 90, .8); border: 0; }
  .t-ed-s-diner.open .bk-led { background: #5fd37f; box-shadow: 0 0 6px 1px rgba(95, 211, 127, .8); }
  .t-ed-s-diner .bk-again { background: #d23d6a; color: #fff; border-radius: 4px; }
}

/* rePAIR: the hammer, the bonk */
.rp-hammer { position: absolute; z-index: 4; width: 48px; height: 64px; margin: -6px 0 0 -24px; pointer-events: none; transform-origin: 50% 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 80'%3E%3Crect x='26' y='18' width='8' height='60' rx='3' fill='%23c98a4b' stroke='%236b4321' stroke-width='2'/%3E%3Crect x='6' y='4' width='48' height='18' rx='4' fill='%239aa3aa' stroke='%233e454b' stroke-width='2.5'/%3E%3Crect x='6' y='4' width='10' height='18' rx='3' fill='%237c858c'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .4));
  translate: 30px -40px; animation: rp-swing .65s cubic-bezier(.5, 0, .5, 1) forwards; }
@keyframes rp-swing { 0% { rotate: 70deg; opacity: 0; } 15% { opacity: 1; } 30% { rotate: -20deg; } 42% { rotate: -8deg; } 75% { rotate: -14deg; opacity: 1; } 100% { rotate: 40deg; opacity: 0; } }
.rp-bonk { position: absolute; z-index: 5; pointer-events: none; translate: -50% -50%; padding: 12px 14px; font: 14px/1 var(--pixel); color: #2b2626;
  background: #ffd84a; clip-path: polygon(50% 0, 61% 30%, 95% 18%, 72% 46%, 100% 62%, 66% 66%, 72% 100%, 50% 76%, 26% 100%, 32% 68%, 0 62%, 28% 46%, 6% 18%, 39% 30%);
  animation: rp-pop .85s ease-out .18s both; }
@keyframes rp-pop { 0% { scale: .2; opacity: 0; } 25% { scale: 1.25; opacity: 1; } 45% { scale: 1; } 80% { opacity: 1; } 100% { scale: 1.05; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rp-hammer, .rp-bonk { animation-duration: .01s; } }

/* rePAIR: screws twist into the wall where you click (the hammer is gone) */
.rp-hammer, .rp-bonk, .rp-bit { display: none; }
.rp-screw { position: absolute; z-index: 2; width: 22px; height: 22px; margin: -11px 0 0 -11px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.5' fill='%23cfd5da' stroke='%234a4f54' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='%23fff' stroke-opacity='.55' stroke-width='1.2'/%3E%3Cpath d='M12 5.5v13M5.5 12h13' stroke='%233e4348' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .45)); animation: rp-drive .7s cubic-bezier(.3, .6, .4, 1) both; }
.rp-screw::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); opacity: 0;
  animation: rp-ring .45s ease-out .6s; }
@keyframes rp-drive { 0% { scale: 1.7; rotate: calc(var(--end) - 900deg); opacity: 0; filter: drop-shadow(0 10px 6px rgba(0, 0, 0, .35)); }
  20% { opacity: 1; } 86% { scale: .94; } 100% { scale: 1; rotate: var(--end); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .45)); } }
@keyframes rp-ring { from { opacity: 1; scale: .6; } to { opacity: 0; scale: 1.4; } }
.rp-screw.loose { animation: rp-loose .9s ease-in forwards; }
@keyframes rp-loose { 0% { translate: 0 0; rotate: var(--end); } 25% { translate: 0 -6px; } 100% { translate: 20px 320px; rotate: calc(var(--end) + 540deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rp-screw, .rp-screw::after { animation-duration: .01s; } }

/* rePAIR: the crate's bottom edge in the same stacked-layer 3D as the rest (no flat brown slab hanging under it) */
.show.t-repair .ep.crate { box-shadow: inset 0 0 0 14px #d6a764, inset 0 0 0 17px rgba(120, 70, 20, .35),
  0 4px 0 #2b2626, 0 8px 0 #1f1b1b, 0 12px 0 #141111, 0 22px 34px rgba(0, 0, 0, .45); }
.t-jungle-bungler .board.dealt .tile.under { cursor: inherit; }

/* Ed's Diner: the breaker box in plain grey steel, with no title tape */
@media (min-width: 861px) {
  .show.t-ed-s-diner .breaker { border-color: #5d6368;
    background-image: radial-gradient(circle at 10px 10px, #6c7378 2.5px, transparent 3px), radial-gradient(circle at calc(100% - 10px) 10px, #6c7378 2.5px, transparent 3px),
      radial-gradient(circle at 10px calc(100% - 10px), #6c7378 2.5px, transparent 3px), radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #6c7378 2.5px, transparent 3px),
      linear-gradient(100deg, #b4babf, #d3d8dc 35%, #aab0b5 70%, #c3c8cc);
    box-shadow: inset 0 0 0 3px #dde1e4, inset 0 -4px 0 3px rgba(40, 50, 60, .18), 0 14px 26px rgba(0, 0, 0, .45); padding-top: 20px; }
  .t-ed-s-diner .bk-label { display: none; }
  .t-ed-s-diner .sws { background: linear-gradient(90deg, #8e959a, #a9afb3 50%, #8e959a); box-shadow: inset 0 0 0 2px #6f767b, inset 0 3px 5px rgba(0, 0, 0, .3); }
}

/* Ed's Diner: the bulb's glow sits under the lamp picture */
.t-ed-s-diner .lamp .bulb { z-index: 1; }
.t-ed-s-diner .lamp .shade { z-index: 2; }

/* Snapshot Isle: crop the photo so the lighthouse stands, lantern and all, in the open strip left of the card */
.t-snapshot-isle .photo { background-size: 125% auto !important; background-position: 100% 33% !important; }

/* rePAIR: the screws you drive into the wall are the same screws as on the crate */
.rp-screw { width: 28px; height: 28px; margin: -14px 0 0 -14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3CradialGradient id='h0' cx='.36' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.35' stop-color='%23d9dde0'/%3E%3Cstop offset='.8' stop-color='%238a9095'/%3E%3Cstop offset='1' stop-color='%235d6368'/%3E%3C/radialGradient%3E%3ClinearGradient id='r0' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%236b7075'/%3E%3Cstop offset='1' stop-color='%232e3236'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cellipse cx='15.6' cy='17' rx='12.5' ry='12' fill='rgba%2840%2C20%2C5%2C.35%29'/%3E%3Ccircle cx='15' cy='15' r='12.5' fill='url%28%23r0%29'/%3E%3Ccircle cx='15' cy='14.2' r='11.2' fill='url%28%23h0%29'/%3E%3Cg transform='rotate%2812 15 14.2%29'%3E%3Cpath d='M15 7.6v13.2M8.4 14.2h13.2' stroke='%233a3e42' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M15.9 8.2v5.4M16 15.2v5M9 15.1h5.4M15.8 15.1h5.6' stroke='rgba%28255%2C255%2C255%2C.7%29' stroke-width='1' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }

/* Ed's Diner breaker: one fixed size whatever state it's in (the Again button keeps its space even while hidden,
   the count tape keeps one width), handles wholly red (off) or green (on), and a darker steel box */
@media (min-width: 861px) {
  .t-ed-s-diner .bk-again[hidden] { display: inline-block !important; visibility: hidden; }
  .t-ed-s-diner .bk-status { width: 96px; justify-content: center; white-space: nowrap; }
  .t-ed-s-diner .bk-text { min-height: 0; }
  .t-ed-s-diner .sw i { background: linear-gradient(180deg, #ff6b6b, #c8323a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 1px rgba(0, 0, 0, .6); }
  .t-ed-s-diner .sw.up i { background: linear-gradient(180deg, #7ee89b, #2f9e52); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 1px 1px rgba(0, 0, 0, .6); }
  .show.t-ed-s-diner .breaker { border-color: #3c4246;
    background-image: radial-gradient(circle at 10px 10px, #2f3539 2.5px, transparent 3px), radial-gradient(circle at calc(100% - 10px) 10px, #2f3539 2.5px, transparent 3px),
      radial-gradient(circle at 10px calc(100% - 10px), #2f3539 2.5px, transparent 3px), radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #2f3539 2.5px, transparent 3px),
      linear-gradient(100deg, #6f767b, #8a9196 35%, #666d72 70%, #7d8489);
    box-shadow: inset 0 0 0 3px #959ca1, inset 0 -4px 0 3px rgba(0, 0, 0, .2), 0 14px 26px rgba(0, 0, 0, .45); }
  .t-ed-s-diner .sws { background: linear-gradient(90deg, #555c61, #6b7277 50%, #555c61); box-shadow: inset 0 0 0 2px #41474b, inset 0 3px 5px rgba(0, 0, 0, .35); }
}

/* Snapshot Isle: a bigger swallowtail on the postcard's corner */
@media (min-width: 861px) { .postcard .b2 { width: 168px; bottom: -44px; right: -34px; } }

/* Boddle: the featured picture framed in the same navy as its gallery strip, like every other show's */
.t-boddle .yt { box-shadow: 0 0 0 5px #1f3a7a; }
/* Clippings: the preview sits a little lower, level with the middle of the writing */
@media (min-width: 861px) { .t-clippings .clip-preview { translate: 0 24px; } }

/* Art: the process strips' scrollbars a little lower (more room under the pictures) and a little wider */
body .room-art .filmstrip { padding-bottom: 30px; }
body .filmstrip::-webkit-scrollbar-track { margin: 0 4px; }

/* Art: the Next / Back buttons' writing turns dark grey on hover, so it reads on the green */
body .dn:hover, body .dn:hover * { color: #2b2626 !important; }

/* Art: no resize handle on the canvas's corner */
.room-art .canvas::after { content: none; }

/* Design: a plain little TV for Start (outlined, like the rest of the taskbar) */
.start .logo { width: 24px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M9 7 L6 2 M17 7 L20 2' stroke='%232b2626' stroke-width='2.2' stroke-linecap='round'/%3E%3Crect x='2' y='7' width='22' height='15' rx='3' fill='%23fff' stroke='%232b2626' stroke-width='2.2'/%3E%3Crect x='5.5' y='10.5' width='15' height='8' rx='1.5' fill='%232b2626'/%3E%3C/svg%3E") center / contain no-repeat; }
/* "Open the design tools": its border a darker shade of its own red, not black */
.btn.go { --b: #c0262d; border-color: var(--bd); }

/* Design: the Start menu opens straight up from the Start button (the taskbar's padding moves the button in) */
.startmenu { left: max(8px, calc((100% - 1180px) / 2)); border-radius: 10px 10px 0 0; }

/* Art & Design strips: every picture at its own shape (nothing cropped but the rounded corners) */
.gallery.strip-scroll .strip-row .lb { flex: 0 0 auto; width: auto; max-width: none; aspect-ratio: var(--r, 1); }
.gallery.strip-scroll .strip-row .lb img { width: 100%; height: 100%; object-fit: cover; }

/* ================================================================ round 104: Info room */
/* the city outside is softer and dimmer, so it sits back behind the room */
.room-svg .window image { filter: saturate(.55) brightness(.78) contrast(.88) blur(.5px); }
/* coloured torn-paper rims: light yellow on the cat bed, light red on the rug */
.papers > .catbed, .papers > .beanbag { filter: url(#rm-torn-yellow); }
.papers > .rug-floor { filter: url(#rm-torn-red); }
/* the ladybugs: a bit smaller, cut from paper like everything else (the same torn pale rim) */
.bug { width: 2.2%; min-width: 19px; }
.bug svg { filter: url(#rm-torn) drop-shadow(0 2px 1.5px rgba(0, 0, 0, .35)); }

/* show tops: the channel number and the dashed line (no show name -- the card already says it) */
.bump-show, .bump-time, .bump-txt { display: none; }
.bump-line { display: block; flex: 0 1 340px; }
/* Boddle: the trailer and its gallery strip in one deep navy frame */
.t-boddle .yt { box-shadow: 0 0 0 6px #15295a; }
.t-boddle .thumbs { background: #15295a; }

/* the channels: each card is already on screen when you arrive (no fade-and-rise on the way down) */
.js .show [data-reveal], .js .show [data-reveal].in { opacity: 1; transform: none; transition: none; }
.js .show .postcard[data-reveal] { transform: rotate(-1deg); }
.js .show .clipping[data-reveal] { transform: rotate(-.6deg); }

/* Art: the "How it came together" labels sit straight, a little higher, with more room under them */
.room-art .p-steps h4 { margin: -10px 0 14px; }
.room-art .p-steps h4 span { rotate: 0deg; }

/* rePAIR: the gallery strip as a workshop pegboard in the crate's wooden frame, its arrows round red buttons */
.t-repair .thumbs { border: 7px solid #d6a764; border-radius: 14px; box-shadow: 0 0 0 3px #5a3414, inset 0 0 0 2px rgba(90, 52, 20, .45);
  background: radial-gradient(circle, #6e4320 2.2px, transparent 2.8px) 0 0 / 16px 16px, #c08a4e; }
.t-repair .thumbs .arrow { width: 30px; height: 30px; margin: 0 4px; border-radius: 50%; background: #e2363b; color: #fff; font-size: 24px;
  border: 3px solid #8f1c1f; box-shadow: 0 3px 0 #8f1c1f; translate: 0 -2px; transition: translate .15s, box-shadow .15s; }
.t-repair .thumbs .arrow:hover { translate: 0 -4px; box-shadow: 0 5px 0 #8f1c1f; }
.t-repair .thumbs .arrow:active { translate: 0 0; box-shadow: 0 1px 0 #8f1c1f; }
.t-repair .thumb { border: 3px solid #5a3414; border-radius: 6px; }
.t-repair .thumbs .arrow { align-self: center; flex: none; }

/* Art: the traditional pieces bigger, in three rows (there are only a few) */
#traditional .gallery .lb { flex-basis: calc(var(--r, 1) * 262px); }
/* Design: the windows are already there when you arrive (no fade-and-rise) */
.js .win[data-reveal], .js .win [data-reveal], .js .win[data-reveal].in { opacity: 1; transform: none; transition: none; }

/* Design: the taskbar shows each folder as its icon */
.tasks .task.task-ico { flex: 0 0 auto; width: 46px; height: 36px; padding: 0; display: grid; place-items: center; }
.task.task-ico svg { width: 34px; height: 30px; }
.task.task-ico:hover { background: #fff; }

/* the ladybugs' paper rim: thin and muted, like the rest of the room's cut edges at their size */
.bug svg { filter: url(#rm-torn-bug) drop-shadow(0 2px 1.5px rgba(0, 0, 0, .35)); }

/* Info: the radio's little Spotify player, popped up above it */
.spot { position: absolute; z-index: 30; width: 300px; padding: 8px 8px 6px; background: #2b2833; border: 3px solid #4a3426; border-radius: 16px;
  box-shadow: 0 4px 0 #1d1a22, 0 10px 18px rgba(0, 0, 0, .45); animation: spot-in .25s cubic-bezier(.3, 1.4, .5, 1); }
.spot::after { content: ''; position: absolute; left: 50%; bottom: -12px; translate: -50% 0; border: 10px solid transparent; border-top-color: #4a3426; border-bottom: 0; }
.spot-embed, .spot iframe { display: block; width: 100%; height: 80px; border: 0; border-radius: 12px; }
.spot-x { all: unset; position: absolute; top: -12px; right: -12px; width: 26px; height: 26px; display: grid; place-items: center; cursor: var(--cur-hand);
  font: 18px/1 var(--body); color: #fff; background: #f5585c; border: 3px solid #4a3426; border-radius: 50%; }
.spot-x:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@keyframes spot-in { from { scale: .6; opacity: 0; } to { scale: 1; opacity: 1; } }

/* the Spotify player: no pointer arrow (it stays put while the room moves, so the arrow would point at the wrong thing) */
.spot::after { content: none; }

/* the city outside, warmer (a golden-hour cast), still soft and dim so it sits back */
.room-svg .window image { filter: sepia(.55) saturate(.95) hue-rotate(-8deg) brightness(.84) contrast(.9) blur(.5px); }

/* Info: the console strip the same colour as the footer below it, and the speech bubble and inventory outlined in
   a shade darker than that (so the edges read against it) */
.adventure .console { background: #241f2e; }
.adventure .dialog { border-color: #050407; box-shadow: 0 8px 0 #050407; }
.adventure .inventory { border-color: #050407; box-shadow: 0 8px 0 #050407, inset 0 0 0 4px #8a6240; }

/* the radio's player: drag it by its frame (a grip along the top), and a thick paper-cut x that spins a quarter
   turn and brightens on hover */
.spot { padding-top: 20px; cursor: grab; touch-action: none; user-select: none; }
.spot.dragging { cursor: grabbing; box-shadow: 0 8px 0 #1d1a22, 0 18px 26px rgba(0, 0, 0, .5); }
.spot.dragging iframe { pointer-events: none; }
.spot-grip { position: absolute; left: 50%; top: 7px; translate: -50% 0; width: 44px; height: 6px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, #6c6680 0 4px, transparent 4px 8px); }
.spot-x { width: 32px; height: 32px; top: -14px; right: -14px; background: #f5585c; border: 3px solid #4a3426; box-shadow: 0 3px 0 #4a3426;
  filter: url(#rm-cut); transition: rotate .2s cubic-bezier(.3, 1.6, .5, 1), scale .2s, background-color .15s, box-shadow .15s, translate .15s; }
.spot-x svg { width: 20px; height: 20px; display: block; }
.spot-x:hover, .spot-x:focus-visible { rotate: 90deg; scale: 1.12; background: #ff7a7e; }
.spot-x:active { translate: 0 2px; box-shadow: 0 1px 0 #4a3426; }

/* the radio's player as a Y2K media player skin: brushed chrome with a glassy shine, an LCD strip that scrolls the
   track, a little equaliser that bounces while it plays, an LED that glows green when it's on */
.spot { width: 320px; padding: 10px 10px 10px; border: 3px solid #2a2f3d; border-radius: 26px 26px 20px 20px;
  background: linear-gradient(165deg, #f4f7fc 0%, #c3cddd 38%, #8e9bb2 50%, #d5deeb 62%, #9aa7bd 100%);
  box-shadow: inset 0 2px 0 #fff, inset 0 -3px 0 rgba(30, 36, 52, .35), 0 4px 0 #2a2f3d, 0 12px 22px rgba(0, 0, 0, .5); }
.spot::before { content: ''; position: absolute; left: 12px; right: 12px; top: 4px; height: 14px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); pointer-events: none; }
.spot-grip { display: none; }
.spot-bar { position: relative; display: flex; align-items: center; gap: 8px; height: 26px; margin: 0 26px 8px 2px; padding: 0 8px;
  background: linear-gradient(180deg, #0b1a12, #12281b); border: 2px solid #2a2f3d; border-radius: 13px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .7); }
.spot-led { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3a1d1d; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .6); }
.spot.on .spot-led { background: #7dff9a; box-shadow: 0 0 6px 2px rgba(125, 255, 154, .8); }
.spot-lcd { flex: 1; overflow: hidden; white-space: nowrap; font: 10px/1 var(--pixel); color: #7dff9a; text-shadow: 0 0 4px rgba(125, 255, 154, .8);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.spot-lcd span { display: inline-block; padding-left: 100%; animation: spot-scroll 11s linear infinite; }
@keyframes spot-scroll { to { translate: -100% 0; } }
.spot-eq { flex: none; display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.spot-eq i { width: 3px; height: 3px; background: #7dff9a; box-shadow: 0 0 3px rgba(125, 255, 154, .8); }
.spot.on .spot-eq i { animation: spot-eq .5s ease-in-out infinite alternate; }
.spot.on .spot-eq i:nth-child(2) { animation-delay: -.2s; } .spot.on .spot-eq i:nth-child(3) { animation-delay: -.35s; }
.spot.on .spot-eq i:nth-child(4) { animation-delay: -.1s; } .spot.on .spot-eq i:nth-child(5) { animation-delay: -.42s; }
@keyframes spot-eq { from { height: 3px; } to { height: 14px; } }
.spot-embed, .spot iframe { border-radius: 14px; }
.spot-embed { padding: 3px; background: #2a2f3d; border-radius: 16px; box-shadow: inset 0 0 0 1px #4a5268; }
.spot-x { top: 8px; right: 8px; }
@media (prefers-reduced-motion: reduce) { .spot-lcd span, .spot.on .spot-eq i { animation: none; } .spot-lcd span { padding-left: 0; } }

/* Info: the Step back button lifts and turns yellow on hover, its arrow swinging back */
.hud-btn { transition: translate .15s, box-shadow .15s, background-color .15s; }
.hud-btn:hover { translate: 0 -2px; box-shadow: 0 6px 0 var(--ink); background: #fcd34d; }
.hud-btn:active { translate: 0 3px; box-shadow: 0 1px 0 var(--ink); }
.hud-btn.back:hover { animation: back-nudge .5s ease-in-out; }
@keyframes back-nudge { 0%, 100% { rotate: 0deg; } 35% { rotate: -4deg; } 70% { rotate: 2deg; } }

/* the shade along the foot of the wall: no paper grain on it (on a see-through strip the grain read as a pale film) */
.papers > rect[fill="url(#rm-ao)"] { filter: none; }

/* the ladybugs outlined like Lana: a thin, soft brown ink line (no pale paper rim) */
.bug svg { filter: url(#rm-cut) drop-shadow(0 1.5px 1px rgba(0, 0, 0, .35)); }
.bug svg :is(path, ellipse, circle, rect):not([fill="none"]) { stroke: #4a3426; stroke-opacity: .7; stroke-width: 1.4; stroke-linejoin: round; }

/* Snapshot Isle: a crisper shadow under the postcard (less blur, a firmer edge) */
.t-snapshot-isle .ep.postcard { box-shadow: 0 2px 0 #e8dcc4, 0 10px 0 rgba(0, 0, 0, .22), 0 14px 10px rgba(0, 0, 0, .28); }

/* the show tops' dashed line: an exact run of whole dashes (14 on, 10 off: 14 dashes = 326px, ending on a dash) */
.bump-line { flex: 0 0 326px; }

/* Ed's Diner breaker: just the count on the label tape, no red light */
.t-ed-s-diner .bk-led { display: none; }

/* ================================================================ round 123 */
/* Clippings: a clicked tree sways on its trunk and settles */
.t-clippings .forest .cp-tree { transform-box: view-box; }
.t-clippings .forest .cp-tree.cp-shake { animation: cp-shake .9s cubic-bezier(.3, .6, .4, 1); }
@keyframes cp-shake { 0% { rotate: 0deg; } 15% { rotate: -5deg; } 32% { rotate: 4deg; } 50% { rotate: -2.5deg; } 68% { rotate: 1.5deg; } 84% { rotate: -.6deg; } 100% { rotate: 0deg; } }
.cp-bat { display: none; }

/* rePAIR: the gallery pictures run edge to edge inside the pegboard; the round red arrows float over them */
.t-repair .thumbs { position: relative; }
.t-repair .thumbs .track { width: 100%; }
.t-repair .thumbs .arrow { position: absolute; z-index: 2; top: 50%; margin: 0; translate: 0 calc(-50% - 2px); padding-bottom: 4px; box-sizing: border-box; line-height: 1; }
.t-repair .thumbs .arrow.prev { left: 6px; } .t-repair .thumbs .arrow.next { right: 6px; }
.t-repair .thumbs .arrow:hover { translate: 0 calc(-50% - 4px); }
.t-repair .thumbs .arrow:active { translate: 0 -50%; }

/* Boddle: the trailer's navy frame (this rule outranks the old shadow-less one) */
.t-boddle .viewer .yt { box-shadow: 0 0 0 6px #15295a; }

/* show tops: five whole dashes */
.bump-line { flex: 0 0 110px; }

/* Ed's Diner: a darker steel breaker box */
@media (min-width: 861px) {
  .show.t-ed-s-diner .breaker { border-color: #23272b;
    background-image: radial-gradient(circle at 10px 10px, #1a1d20 2.5px, transparent 3px), radial-gradient(circle at calc(100% - 10px) 10px, #1a1d20 2.5px, transparent 3px),
      radial-gradient(circle at 10px calc(100% - 10px), #1a1d20 2.5px, transparent 3px), radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #1a1d20 2.5px, transparent 3px),
      linear-gradient(100deg, #44494e, #575d62 35%, #3d4247 70%, #4e5459);
    box-shadow: inset 0 0 0 3px #62686d, inset 0 -4px 0 3px rgba(0, 0, 0, .25), 0 14px 26px rgba(0, 0, 0, .45); }
  .t-ed-s-diner .sws { background: linear-gradient(90deg, #33383c, #41464b 50%, #33383c); box-shadow: inset 0 0 0 2px #24282c, inset 0 3px 5px rgba(0, 0, 0, .4); }
}

/* rePAIR: with the arrows floating, the strip is one full-width column for the pictures */
.t-repair .thumbs { grid-template-columns: 1fr; }
.t-repair .thumbs .track { grid-column: 1 / -1; grid-row: 1; width: auto; }

/* the games TV stand: a deeper top (the front edge 8px lower, the back edge still under the TV) */
@media (min-width: 861px) {
  .living .tv-stand .top { top: 8px; }
  .living .tv-stand .top::before { height: 22px; }
  .living .tv-stand .top::after { width: 24px; }
  .living .tv-stand .body { top: 38px; }
}

/* Art: every scrollbar thumb (sideways ones too) takes the colour picked in the palette */
body .room-art ::-webkit-scrollbar-thumb, body .room-art ::-webkit-scrollbar-thumb:horizontal, body .room-art ::-webkit-scrollbar-thumb:vertical {
  background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 45%), var(--accent); background-clip: padding-box; }
body .room-art ::-webkit-scrollbar-thumb:hover { background-color: color-mix(in srgb, var(--accent) 80%, #fff); }

/* ================================================================ round 124: Design in dark mode (the same dark plum
   plastic and ink-black screens as the Art page's windows) */
body.design { --dk-body: #1b1922; --dk-canvas: #15131b; --dk-line: #3a3548; --dk-text: #e9e5f2; --dk-mute: #a79fbd; }
body.design .win { background: linear-gradient(180deg, #34303f, #24212d); border-color: #0d0c12; color: var(--dk-text);
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, .07), 0 6px 0 #0d0c12, 0 18px 30px rgba(0, 0, 0, .45); }
body.design .win-bar { border-color: #0d0c12; }
body.design .win-menu { color: var(--dk-mute); }
body.design .win-menu span:last-child { color: #7d7694; }
body.design .win-body { background: var(--dk-canvas); border-color: #0d0c12; box-shadow: inset 0 0 0 1px #2a2633; color: var(--dk-text); }
body.design .win-body p, body.design .win-body li, body.design .win-body .cap { color: var(--dk-text); }
body.design .tools-intro h3 { color: var(--dk-text); }
/* the taskbar and Start menu */
body.design .taskbar { background: #24212d; border-top-color: #0d0c12; box-shadow: inset 0 3px 0 #34303f; }
body.design .task { background: #2c2936; color: var(--dk-mute); box-shadow: inset 2px 2px 0 #1a1820, inset -2px -2px 0 #3d3949; }
body.design .task.on { background: #3d3949; color: var(--dk-text); box-shadow: inset -2px -2px 0 #1a1820, inset 2px 2px 0 #4c4759, 0 2px 0 rgba(0, 0, 0, .35); }
body.design .task.task-ico:hover { background: #4c4759; }
body.design .clock { color: var(--dk-text); box-shadow: inset 2px 2px 0 #1a1820, inset -2px -2px 0 #3d3949; }
body.design .startmenu { background: #24212d; border-color: #0d0c12; box-shadow: inset -3px -3px 0 #15131b, inset 3px 3px 0 #3d3949, 6px -4px 0 rgba(0, 0, 0, .35); }
body.design .startmenu a { color: var(--dk-text); }
body.design .startmenu hr { border-top-color: #3a3548; }

.room-svg .monarch-fly .mwing { animation: mflap2 5.2s ease-in-out infinite; }
.room-svg .monarch-fly g:nth-child(-n+2) .mwing { animation-delay: .05s; }
@keyframes mflap2 { 0%, 60%, 100% { scale: 1 1; } 64% { scale: .14 1; } 69% { scale: .95 1; } 73% { scale: .18 1; } 80% { scale: 1 1; } }
@media (prefers-reduced-motion: reduce) { .room-svg .monarch-fly .mwing { animation: none; } }

/* Design (dark): the tool cards keep their own ink-on-paper colours */
body.design .tools-list a { color: #1d1a1a; }

/* the music player's close button, in the player's own Y2K skin: a glossy chrome bead with a dark x; on hover it
   lights up glossy red with a white x and spins a quarter turn */
.spot-x { width: 26px; height: 26px; top: 9px; right: 9px; border: 2px solid #2a2f3d; filter: none;
  background: radial-gradient(circle at 35% 28%, #fff 0 18%, transparent 42%), linear-gradient(165deg, #f4f7fc, #b9c4d6 48%, #7f8ba3 52%, #d3dbe8);
  box-shadow: 0 2px 0 #2a2f3d, inset 0 -2px 3px rgba(30, 36, 52, .35); }
.spot-x svg { width: 14px; height: 14px; }
.spot-x svg path:first-child { stroke: transparent; }
.spot-x svg path:last-child { stroke: #2a2f3d; stroke-width: 3.2; }
.spot-x:hover, .spot-x:focus-visible { scale: 1.1; rotate: 90deg;
  background: radial-gradient(circle at 35% 28%, #ffd1d1 0 18%, transparent 42%), linear-gradient(165deg, #ff8a8a, #e2363b 50%, #a51d22 52%, #f0555a);
  box-shadow: 0 2px 0 #2a2f3d, 0 0 8px 2px rgba(255, 80, 80, .6), inset 0 -2px 3px rgba(80, 0, 0, .35); }
.spot-x:hover svg path:last-child, .spot-x:focus-visible svg path:last-child { stroke: #fff; }
.spot-x:active { translate: 0 2px; box-shadow: 0 0 0 #2a2f3d, inset 0 2px 3px rgba(0, 0, 0, .35); }

/* the games TV's title buttons: Snapshot Isle on a light sky blue; Ed's Diner as a neon sign (hot pink on night black) */
.tv-title[data-ch="2"] { --tl-b: #bfe4ff; --tl-f: #173f93; }
.tv-title[data-ch="6"] { --tl-b: #1d1424; --tl-f: #ff5fa2; text-shadow: 0 0 6px rgba(255, 95, 162, .85), 0 0 14px rgba(255, 95, 162, .5); }

/* Glorbo's Kingdom: the game's own reticle for aiming (the card keeps the normal pointer) */
/* (the reticle is drawn inside the scene, under the card; the system cursor hides over the scene) */
.show.t-glorbo-s-kingdom, .t-glorbo-s-kingdom .gg-canvas { cursor: none; }
.t-glorbo-s-kingdom .ep { cursor: var(--cur); }

/* rePAIR: a dark rim all the way round the gallery strip, drawn over the pictures so the left and right edges show too */
.t-repair .thumbs::after { content: ''; position: absolute; inset: 0; z-index: 1; border: 3px solid #5a3414; border-radius: 7px; pointer-events: none; }
/* the red buttons' arrows sit a little higher, so they look centred */
.t-repair .thumbs .arrow { padding-bottom: 7px; }
/* rePAIR: a rocking horse rocks on its runners when you point at it -- a push, then smaller and smaller rocks until it
   settles (pivoting low, about the curve of the runners) */
.t-repair .horse img { transform-origin: 50% 170%; }
.t-repair .horse:hover img { animation: rp-rock2 2s cubic-bezier(.35, 0, .45, 1); }
@keyframes rp-rock2 { 0% { rotate: 0deg; } 16% { rotate: -7deg; } 38% { rotate: 5deg; } 58% { rotate: -3deg; } 76% { rotate: 1.6deg; } 90% { rotate: -.6deg; } 100% { rotate: 0deg; } }

/* Design's taskbar buttons: a distinct icon and a short name each, and no taller than Start */
.tasks .task.task-ico { width: auto; height: 34px; box-sizing: border-box; padding: 0 10px 0 7px; gap: 6px; display: flex; align-items: center; font: 11px var(--pixel); }
.task.task-ico svg { width: 20px; height: 20px; flex: none; }
.taskbar .start { height: 34px; box-sizing: border-box; }

/* Design's dark windows, calmer and more like a real dark theme: flat neutral charcoal (no purple sheen), a deep
   black-grey screen, soft grey menu text; the coloured title bars stay */
body.design .win { background: #2b2d31; border-color: #111214; box-shadow: 0 6px 0 #111214, 0 16px 26px rgba(0, 0, 0, .4); }
body.design .win-bar { border-color: #111214; }
body.design .win-menu { color: #b5bac1; }
body.design .win-menu span:last-child { color: #80848e; }
body.design .win-body { background: #1e1f22; border-color: #111214; box-shadow: inset 0 0 0 1px #34363b; color: #e6e6ea; }
body.design .win-body p, body.design .win-body li, body.design .win-body .cap, body.design .tools-intro h3 { color: #e6e6ea; }

/* Info: "Just read it all" opens from a click anywhere on its bar (the bar itself is the summary, padding and all);
   on hover the bar lifts a touch, brightens, and its chevron bobs */
.readall { padding: 0; overflow: hidden; transition: translate .15s, box-shadow .15s, background-color .15s, border-color .15s; }
.readall[open] { padding-bottom: 0; }
.readall summary { padding: 14px 20px; cursor: var(--cur-hand); user-select: none; transition: color .15s; }
.readall > :not(summary) { margin-left: 20px; margin-right: 20px; }
.readall > :last-child:not(summary) { margin-bottom: 20px; }
.readall:not([open]):hover { translate: 0 -2px; box-shadow: 0 4px 0 #3a3446; background-color: #2e2937; border-color: #4a4358; }
.readall summary:hover { color: #fff8ea; }
.readall summary:hover::after { animation: ra-bob .6s ease-in-out infinite alternate; }
@keyframes ra-bob { from { translate: 0 -3px; } to { translate: 0 1px; } }
.readall[open] summary:hover::after { animation: none; }

/* the music player's close bead: a little smaller, and it lights up on hover without spinning */
.spot-x { width: 22px; height: 22px; top: 10px; right: 10px; }
.spot-x svg { width: 12px; height: 12px; }
.spot-x:hover, .spot-x:focus-visible { rotate: 0deg; scale: 1.06; }

/* ================================================================ round 130: Info console */
/* "Just read it all": a quiet hover (the text and edge brighten), no lift, no bobbing */
.readall:not([open]):hover { translate: none; box-shadow: none; background-color: #2a2532; border-color: #5a5370; }
.readall summary:hover::after { animation: none; }

/* the inventory as a sticker album: a cream paper page, empty spots as dashed outlines waiting for a sticker */
.adventure .inventory { background: #f3ead6; border-color: #050407; box-shadow: 0 8px 0 #050407; }
.adventure .inventory h2 { color: #2b2626; }
.adventure .inventory .found { background: #2b2626; color: #f3ead6; }
.adventure .inventory .found b { color: #ffd23f; }
.adventure .slot:disabled { background: transparent; border: 3px dashed #c4b394; box-shadow: none; }
.adventure .slot:disabled .q { color: #c4b394; }
.adventure .slot:not(:disabled) { background: #fffdf6; border: 3px solid #2b2626; box-shadow: 0 3px 0 #2b2626; rotate: -3deg; }
.adventure .slot:not(:disabled):nth-child(even) { rotate: 3deg; }
.adventure .slot:not(:disabled):hover { background: #fff3c4; }

/* Rowan's chat picture: a rounded TV-screen frame (in keeping with Rowan-TV), bigger, zoomed in on the face */
.console .portrait, .portrait { width: 92px; flex: none; filter: none; border: 4px solid #050407; border-radius: 30% / 26%; overflow: hidden; background: #2b2626;
  box-shadow: 0 4px 0 #050407; }
.portrait img { -webkit-mask: none; mask: none; transform: scale(1.9); transform-origin: 41% 45%; }
@media (max-width: 860px) { .console .portrait, .portrait { width: 66px; } }

/* the monarch's flap, gentler, and the wings stay joined to the body: each wing's outer group narrows toward the
   body's centre line (its pivot), so the wing roots never leave the thorax */
.room-svg .monarch-fly .mw { transform-box: view-box; transform-origin: 4px -1px; animation: mflap3 6s ease-in-out infinite; }
.room-svg .monarch-fly .mw.hind { animation-delay: .06s; }
@keyframes mflap3 { 0%, 66%, 100% { scale: 1 1; } 72% { scale: .6 1; } 78% { scale: .95 1; } 83% { scale: .66 1; } 90% { scale: 1 1; } }
@media (prefers-reduced-motion: reduce) { .room-svg .monarch-fly .mw { animation: none; } }

/* the dialog's picture column fits the bigger portrait */
.console .dialog { grid-template-columns: 92px minmax(0, 1fr); align-items: center; }
@media (max-width: 860px) { .console .dialog { grid-template-columns: 66px minmax(0, 1fr); } }

/* the bookcase's tapes, game boxes and books light up together when you point at any of them */
.room-svg .shelf-media { cursor: var(--cur-hand); }
.room-svg .shelf:has(#hot-shelf:hover, .shelf-media:hover, #hot-shelf:focus-visible) :is(#hot-shelf, .shelf-media) {
  filter: drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff); }

/* ================================================================ round 133 */
/* the top bar's name: plain white, no outline */
.me .name { color: #fff; text-shadow: none; -webkit-text-stroke: 0; }

/* the inventory sticker album in a handwritten hand (not pixel type) */
.adventure .inventory h2, .adventure .inventory .found, .adventure .slot .q { font-family: 'Gochi Hand', var(--display); letter-spacing: 0; }
.adventure .inventory h2 { font-size: 22px; line-height: 1; }
.adventure .inventory .found { font-size: 16px; }
.adventure .slot .q { font-size: 24px; }

/* Rowan's chat picture: a cut-out of Rowan sitting in the speech box's corner -- the head pops up out of the top of
   the box, while the box's left and bottom edges crop the shoulders */
.console .dialog { grid-template-columns: 122px minmax(0, 1fr); overflow: visible; }
.console .dialog .say { grid-column: 2; }
.console .portrait { position: absolute; left: 0; bottom: 0; z-index: 2; width: 138px; height: auto; aspect-ratio: auto; border: 0; border-radius: 0;
  background: none; box-shadow: none; filter: none; overflow: visible; clip-path: inset(-90px 0 0 0 round 0 0 0 13px); }
.console .portrait img { display: block; width: 100%; height: auto; transform: none; object-fit: contain; -webkit-mask: none; mask: none;
  filter: drop-shadow(0 -2px 0 rgba(5, 4, 7, .25)); }
@media (max-width: 860px) { .console .dialog { grid-template-columns: 86px minmax(0, 1fr); } .console .portrait { width: 96px; } }

/* the chat cut-out and the words beside it sit further left (more of the shoulder cropped by the box's edge) */
.console .portrait img { translate: -20px 0; }
.console .dialog { grid-template-columns: 100px minmax(0, 1fr); }
@media (max-width: 860px) { .console .portrait img { translate: -12px 0; } .console .dialog { grid-template-columns: 72px minmax(0, 1fr); } }

/* the speech box and the inventory are always the same height (side by side, they stretch to match) */
.console { align-items: stretch; }
.info .console .dialog { min-height: 0; }

/* (stronger than the older console rules) the speech box stretches to the inventory's height */
.info .adventure .console { align-items: stretch; }
.info .adventure .console > .dialog, .info .adventure .console > .inventory { align-self: stretch; height: auto; }

/* the phone's ring marks live in their own layer above the desk; they ring when the phone is pointed at */
#hot-phone:hover ~ .phone-rings .rings, #hot-phone.lit ~ .phone-rings .rings { animation: rings .9s ease-in-out infinite; }
.papers > .phone-rings { filter: none; }

/* the top bar's channel buttons: the ones you're not on sit shorter, and pop up to full height on hover */
.ch::before { transition: top .14s, translate .12s, box-shadow .12s; }
.ch > small, .ch > span { transition: translate .14s; }

/* (the whole button -- backing, border, key and light -- is a little shorter when it's not the page you're on) */
.ch { transition: height .14s, margin-top .14s; }
.ch:not([aria-current]) { height: 60px; margin-top: 6px; }

/* the games TV stand reaches further out on the left */
@media (min-width: 861px) { .living .tv-stand { margin-left: -26px; } }

/* Snapshot Isle: the swallowtail bigger, further left and lower on the postcard's corner */
@media (min-width: 861px) { .postcard .b2 { width: 200px; bottom: -70px; right: -64px; } }

/* rePAIR: the game's two players stand either side of the card -- the walking hammer (left) and screwdriver
   (right), cut from the gameplay; they idle with a little bob, and hop when you point at them */
.t-repair .horse.toy { width: clamp(110px, calc((100vw - 1120px) / 2.6), 170px); bottom: 110px; }
.t-repair .horse.toy img { scale: 1 1; transform-origin: 50% 100%; animation: rp-idle 1.6s ease-in-out infinite alternate;
  filter: drop-shadow(0 8px 6px rgba(0, 0, 0, .45)); image-rendering: auto; }
.t-repair .horse.toy.h1 img { animation-delay: -.8s; }
.t-repair .horse.toy:hover img { animation: rp-hop .55s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes rp-idle { from { translate: 0 0; rotate: -1.5deg; } to { translate: 0 -4px; rotate: 1.5deg; } }
@keyframes rp-hop { 0% { translate: 0 0; scale: 1 1; } 25% { translate: 0 2px; scale: 1.06 .92; } 55% { translate: 0 -26px; scale: .96 1.05; } 80% { translate: 0 0; scale: 1.04 .95; } 100% { translate: 0 0; scale: 1 1; } }

/* rePAIR's gallery arrows: the white chevron sits in the middle of its red button (nudged up from the font's low
   baseline) */
.t-repair .thumbs .arrow { padding: 0; font-size: 0; display: grid; place-items: center; }
.t-repair .thumbs .arrow::before { content: ''; width: 8px; height: 8px; border-left: 3.5px solid #fff; border-bottom: 3.5px solid #fff; border-radius: 1px; }
.t-repair .thumbs .arrow.prev::before { rotate: 45deg; translate: 2px 0; }
.t-repair .thumbs .arrow.next::before { rotate: -135deg; translate: -2px 0; }

/* Clippings: a tree rustles a little as the pointer passes over it; the pine under the Watchlist card is bigger and
   stands lower */
.t-clippings .forest .cp-tree.cp-rustle { animation: cp-rustle .6s ease-in-out; }
@keyframes cp-rustle { 0%, 100% { rotate: 0deg; } 30% { rotate: 1.6deg; } 65% { rotate: -1deg; } }
.t-clippings .forest .cp-tree.cp-big { scale: 1.35; translate: 0 40px; }

/* Lana: the gentler paper cut (smooth edges), so her outline when picked isn't spiky round her ears */
.papers > .hot#hot-cat { filter: url(#rm-cut); }
.papers > .hot#hot-cat:hover, .papers > .hot#hot-cat:focus-visible, .papers > .hot#hot-cat.lit { filter: url(#rm-cut) drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff); }

/* Ed's Diner: the crowned ghost bigger and lower, well clear of the lamps; the little hazy one below it moves down to match */
@media (min-width: 861px) {
  .t-ed-s-diner .set .ghost.g0 { top: 27%; width: 190px; }
  .t-ed-s-diner .set .ghost.g4 { top: 58%; }
}

/* the talking photo: it swells a touch from its bottom-left corner (pinned there, so no gap ever opens at the
   box's left or bottom edge) instead of hopping about */
.console .dialog.talk .portrait { animation: none; }
.console .portrait img { transform-origin: 0% 100%; }
.console .dialog.talk .portrait img { animation: talk-av .25s ease-in-out 6 alternate; }
@keyframes talk-av { from { scale: 1; } to { scale: 1.035; } }

/* the two tools stand a little in from the screen edges */
.t-repair .horse.toy.h0 { left: max(16px, calc(50% - 560px - 200px)); right: auto; }
.t-repair .horse.toy.h1 { right: max(16px, calc(50% - 560px - 200px)); left: auto; }

/* when the shelf is the thing being looked at, its books, games and tapes all stay lit */
.room-svg .shelf:has(#hot-shelf.lit) :is(#hot-shelf, .shelf-media) {
  filter: drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 4px 0 #fff) drop-shadow(0 -4px 0 #fff); }

/* "Room complete!": lower in the room (down over the floor), as a sticker from the album -- cream paper, an ink edge,
   handwriting and gold stars, slapped on at a tilt */
.complete { top: 76%; padding: 14px 34px 12px; gap: 2px; background: #f3ead6; border: 4px solid #050407; border-radius: 16px;
  box-shadow: 0 6px 0 #050407, 0 18px 30px rgba(0, 0, 0, .45); rotate: -3deg; }
.complete b { font: 40px/1 'Gochi Hand', var(--display); color: #2b2626; letter-spacing: 0; }
.complete span { font: 20px/1 'Gochi Hand', var(--display); color: #2b2626; }
.complete span::first-letter { color: #e8a800; }
.complete.on { animation: done-slap .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes done-slap { from { scale: 1.6; rotate: 8deg; opacity: 0; } to { scale: 1; rotate: -3deg; opacity: 1; } }
.confetti { display: none; }

/* the dim sum's steam: soft puffs that drift up, swell and fade (not lines) */
.room-svg .steam { filter: blur(.8px); }
.room-svg .steam .puff { transform-box: fill-box; transform-origin: 50% 100%; animation: steam-puff 3.2s ease-out infinite; }
.room-svg .steam .puff:nth-child(2) { animation-delay: -1.1s; } .room-svg .steam .puff:nth-child(3) { animation-delay: -2.2s; }
@keyframes steam-puff { 0% { translate: 0 10px; scale: .5; opacity: 0; } 25% { opacity: .9; } 100% { translate: 4px -34px; scale: 1.3; opacity: 0; } }
#hot-breakfast:hover .steam .puff, #hot-breakfast.lit .steam .puff { animation-duration: 1.6s; }

/* the chat cut-out: flush to the box's bottom (no hairline gap), and a livelier talk -- a springy up-and-down stretch,
   pinned at the bottom-left corner so no edge ever lifts */
.console .portrait { bottom: -2px; clip-path: inset(-90px 0 2px 0 round 0 0 0 13px); }
.console .dialog.talk .portrait img { animation: talk-av2 .32s cubic-bezier(.3, .6, .4, 1) 6 alternate; }
@keyframes talk-av2 { 0% { scale: 1 1; } 50% { scale: 1.015 1.05; } 100% { scale: .995 1.02; } }

/* Ed's Diner: the bottom-left ghost floats free in the left margin (no longer tucked behind the card's corner) */
@media (min-width: 861px) { .t-ed-s-diner .set .ghost.g3 { left: calc(50% - 760px); top: 64%; width: 96px; rotate: -10deg; z-index: 1; } .t-ed-s-diner .set .ghost.g4 { top: 47%; } }

/* a click's shake always wins over a hover's rustle */
.t-clippings .forest .cp-tree.cp-shake { animation: cp-shake .9s cubic-bezier(.3, .6, .4, 1); }
@media (min-width: 861px) { .t-ed-s-diner .set .ghost.g4 { top: 56%; left: calc(50% - 620px); } }

/* Ed's Diner: the top-right ghost a little further in */
@media (min-width: 861px) { .t-ed-s-diner .set .ghost.g1 { right: calc(50% - 730px); } }

/* Ed's Diner breaker box: flat and dark -- solid charcoal steel with no sheen or bevels, flat breakers, flat handles */
@media (min-width: 861px) {
  .show.t-ed-s-diner .breaker { border-color: #111315;
    background: radial-gradient(circle at 10px 10px, #0c0d0f 2.5px, transparent 3px), radial-gradient(circle at calc(100% - 10px) 10px, #0c0d0f 2.5px, transparent 3px),
      radial-gradient(circle at 10px calc(100% - 10px), #0c0d0f 2.5px, transparent 3px), radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #0c0d0f 2.5px, transparent 3px), #2b2f33;
    box-shadow: 0 6px 0 #111315, 0 14px 24px rgba(0, 0, 0, .45); }
  .t-ed-s-diner .sws { background: #1c1f22; box-shadow: none; }
  .t-ed-s-diner .sw { background: #121416; box-shadow: none; }
  .t-ed-s-diner .sw i { background: #d9454b; box-shadow: none; }
  .t-ed-s-diner .sw.up i { background: #4fbf6e; box-shadow: none; }
  .t-ed-s-diner .bk-status { background: #121416; box-shadow: none; text-shadow: none; rotate: 0deg; }
}

/* Ed's Diner breaker box: dressed like the main card -- the same dark ribbed charcoal, grey steel border, light chrome
   ring and ink outline; switches sit quiet (dark grey) when off and light up in the card's neon pink when on */
@media (min-width: 861px) {
  .show.t-ed-s-diner .breaker { border: 4px solid #6b6f74; border-radius: 10px;
    background: repeating-linear-gradient(rgba(0, 0, 0, 0) 0 25px, rgba(0, 0, 0, .35) 25px 27px), linear-gradient(#2a2d31, #1d1f22);
    box-shadow: 0 0 0 7px #a9b0b5, 0 0 0 10px #2b2626, 0 20px 32px rgba(0, 0, 0, .55); }
  .t-ed-s-diner .sws { background: #15171a; border-radius: 6px; box-shadow: inset 0 0 0 2px #3a3e43; }
  .t-ed-s-diner .sw { background: #0e1012; border-radius: 4px; box-shadow: inset 0 0 0 1px #2e3236; }
  .t-ed-s-diner .sw i { background: #4a4e54; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .35); }
  .t-ed-s-diner .sw.up i { background: #ff5fb0; box-shadow: 0 0 6px 1px rgba(255, 95, 176, .55), inset 0 -2px 0 rgba(0, 0, 0, .2); }
  .t-ed-s-diner .bk-status { background: #0e1012; color: #ff8fc6; box-shadow: inset 0 0 0 1px #3a3e43; }
}

/* ================================================================ round 142 */
/* rePAIR's characters stand higher; the walking stopwatch joins the hammer on the left. Pointed at, each does a little
   hop-dance: hopping up and landing tilted left, then right */
.t-repair .horse.toy { bottom: 210px; }
.t-repair .horse.toy.h2 { width: clamp(80px, calc((100vw - 1120px) / 3.6), 118px); bottom: 420px; left: max(20px, calc(50% - 560px - 150px)); right: auto; }
.t-repair .horse.toy.h2 img { animation-delay: -.5s; }
.t-repair .horse.toy:hover img { animation: rp-dance .9s ease-in-out infinite; }
@keyframes rp-dance {
  0% { translate: 0 0; rotate: 0deg; } 15% { translate: -4px -20px; rotate: -10deg; } 30% { translate: -6px 0; rotate: -12deg; }
  50% { translate: 0 0; rotate: 0deg; } 65% { translate: 4px -20px; rotate: 10deg; } 80% { translate: 6px 0; rotate: 12deg; } 100% { translate: 0 0; rotate: 0deg; } }
@media (max-width: 1380px) { .t-repair .horse.toy { display: none; } }

/* rePAIR gallery arrows: the chevrons sit a touch lower, dead centre */
.t-repair .thumbs .arrow.prev::before { translate: 2px 1.5px; }
.t-repair .thumbs .arrow.next::before { translate: -2px 1.5px; }

/* Rowan's chat photo stays put however tall the speech box grows: it hangs from the box's top (head popping out by the
   same amount every time), and the jacket carries on down to the box's bottom */
.console .portrait { top: -28px; bottom: 0; clip-path: inset(0 0 2px 0 round 0 0 0 13px);
  background: linear-gradient(#3e4461, #3e4461) left 0 bottom 0 / 100% calc(100% - 120px) no-repeat; }
.console .portrait img { position: absolute; top: 0; left: 0; }

/* the top bar's name takes the same soft shadow as the pill under it */
.me .name { text-shadow: 0 2px 4px rgba(0, 0, 0, .28); }

/* the jacket carrying on below the photo darkens a little as it goes down (reads as the jacket, not a box) */
.console .portrait { background: linear-gradient(#434863, #2a2e42) left 0 bottom 0 / 100% calc(100% - 118px) no-repeat; }

/* Ed's Diner on the games TV: neon red lettering, like the show's own title */
.tv-title[data-ch="6"] { --tl-f: #ff5a5a; text-shadow: 0 0 6px rgba(255, 90, 90, .85), 0 0 14px rgba(255, 70, 70, .5); }

/* the chat photo is the taller cut now (more of the jacket shows as the box grows); the jacket colour only fills in past its end */
.console .portrait { background: linear-gradient(#2f3448, #23273a) left 0 bottom 0 / 100% calc(100% - 150px) no-repeat; }

/* the chat photo: big enough that even the longest message box (Boddle's) is filled by the photo itself, and room
   above the box so the head is never cropped when it bobs while talking */
.console .portrait { width: 160px; clip-path: inset(-60px 0 2px 0 round 0 0 0 13px); background: none; }
.console .dialog { grid-template-columns: 122px minmax(0, 1fr); }

/* ================================================================ round 143 */
/* the chat photo always fills down to the box's bottom, however tall the box gets */
.console .portrait:not(.lana) img { width: 100%; min-height: 100%; height: auto; object-fit: cover; object-position: 0 0; }

/* Lana: cut out of her window, in the box's right corner -- her head pops up out of the top, the box's right and
   bottom edges crop her */
.console .portrait.lana { display: none; left: auto; right: 0; width: 170px; clip-path: inset(-60px 0 2px 0 round 0 0 13px 0); }
.console .dialog.with-lana .portrait.lana { display: block; }
.console .portrait.lana img { translate: 18px 0; transform-origin: 100% 100%; }
.console .dialog.talk .portrait.lana img { animation: none; }
.console .dialog .note-pic { display: none; }
.console .dialog.with-lana .say { padding-right: 150px; }

/* the dialog's Art and Design buttons: the same channel keys as the top bar, in their own colours */
.links.ch-links { display: flex; gap: 12px; margin-top: 10px; }
.links.ch-links .ch.k-art { --k: var(--sky); --kd: #2a7cc4; color: #fff; }
.links.ch-links .ch.k-design { --k: var(--green); --kd: #5e9e27; color: #fff; }

/* rePAIR: five characters -- hammer, stopwatch and paintbrush on the left; two screwdrivers on the right */
.t-repair .horse.toy { width: 160px; }
.t-repair .horse.toy.h0 { bottom: 250px; left: max(14px, calc(50% - 560px - 215px)); }
.t-repair .horse.toy.h2 { width: 150px; bottom: 500px; left: max(30px, calc(50% - 560px - 190px)); }
.t-repair .horse.toy.h3 { width: 120px; bottom: 70px; left: max(40px, calc(50% - 560px - 170px)); right: auto; }
.t-repair .horse.toy.h1 { bottom: 300px; right: max(14px, calc(50% - 560px - 210px)); }
.t-repair .horse.toy.h4 { width: 150px; bottom: 60px; right: max(30px, calc(50% - 560px - 190px)); left: auto; }
.t-repair .horse.toy.h3 img { animation-delay: -.3s; } .t-repair .horse.toy.h4 img { animation-delay: -1.1s; }

/* the Art and Design gallery arrows: no lip underneath, a border in a darker shade of their own colour instead */
.strip-go, .strip-go:hover { box-shadow: 0 6px 14px rgba(0, 0, 0, .35); border: 3px solid color-mix(in srgb, var(--accent, #8fd14f) 55%, #000); }
.strip-go:hover { translate: 0 calc(-50% - 2px); }
.win:nth-child(1) .strip-go, .win:nth-child(1) .strip-go:hover { box-shadow: 0 6px 14px rgba(0, 0, 0, .35); border-color: #5a37a8; }
.win:nth-child(2) .strip-go, .win:nth-child(2) .strip-go:hover { box-shadow: 0 6px 14px rgba(0, 0, 0, .35); border-color: #a8231f; }
.win:nth-child(3) .strip-go, .win:nth-child(3) .strip-go:hover { box-shadow: 0 6px 14px rgba(0, 0, 0, .35); border-color: #1f6a2b; }
.tools-win .strip-go, .tools-win .strip-go:hover { box-shadow: 0 6px 14px rgba(0, 0, 0, .35); border-color: #561418; }

/* the top bar's name stands out a little more: a firmer shadow and a touch larger */
.me .name { font-size: 41px; text-shadow: 0 2px 0 rgba(120, 60, 0, .35), 0 3px 6px rgba(0, 0, 0, .4); }
@media (max-width: 860px) { .me .name { font-size: 31px; } }

/* the photos are cropped exactly at the box's inner bottom edge (no sliver of the box showing under them) */
.console .portrait:not(.lana) { clip-path: inset(-60px 0 0 0 round 0 0 0 13px); }
.console .portrait.lana { clip-path: inset(-60px 0 0 0 round 0 0 13px 0); }

/* rePAIR gallery arrows: the chevron sits at the visual centre of the red button (the lip under it makes the middle read lower) */
.t-repair .thumbs .arrow.prev::before { translate: 1.5px 3px; }
.t-repair .thumbs .arrow.next::before { translate: -1.5px 3px; }

/* rePAIR: just the hammer (left) and the wide-stance screwdriver (right), a little bigger */
.t-repair .horse.toy.h0 { width: 175px; bottom: 260px; }
.t-repair .horse.toy.h4 { width: 210px; bottom: 270px; right: max(14px, calc(50% - 560px - 230px)); left: auto; }

/* ================================================================ round 144: rePAIR's two players, rebuilt -- a clean
   cut-out of each tool's body, with drawn legs and boots (and the screwdriver's straight steel shaft), so the legs can
   move on their own: idle, they shift their weight; pointed at, they dance -- a hop, kicking one leg out then the other */
.t-repair .horse.toy .toy-svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 8px 6px rgba(0, 0, 0, .45)); }
.t-repair .horse.toy img { display: none; }
.t-repair .horse.toy .toy-svg .rp-leg, .t-repair .horse.toy .toy-svg .rp-body { transform-box: view-box; }
.t-repair .horse.toy .toy-svg .rp-body { transform-origin: 50% 100%; animation: rp-sway 1.8s ease-in-out infinite alternate; }
.t-repair .horse.toy .toy-svg .rp-leg.l { animation: rp-shift-l 1.8s ease-in-out infinite alternate; }
.t-repair .horse.toy .toy-svg .rp-leg.r { animation: rp-shift-r 1.8s ease-in-out infinite alternate; }
@keyframes rp-sway { from { rotate: -1.5deg; } to { rotate: 1.5deg; } }
@keyframes rp-shift-l { from { rotate: 0deg; } to { rotate: 4deg; } }
@keyframes rp-shift-r { from { rotate: -4deg; } to { rotate: 0deg; } }
.t-repair .horse.toy:hover img { animation: none; }
.t-repair .horse.toy:hover .toy-svg { animation: rp-hop2 .8s ease-in-out infinite; }
.t-repair .horse.toy:hover .toy-svg .rp-body { animation: rp-tilt .8s ease-in-out infinite; }
.t-repair .horse.toy:hover .toy-svg .rp-leg.l { animation: rp-kick-l .8s ease-in-out infinite; }
.t-repair .horse.toy:hover .toy-svg .rp-leg.r { animation: rp-kick-r .8s ease-in-out infinite; }
@keyframes rp-hop2 { 0%, 50%, 100% { translate: 0 0; } 25%, 75% { translate: 0 -16px; } }
@keyframes rp-tilt { 0%, 100% { rotate: 0deg; } 25% { rotate: -9deg; } 50% { rotate: 0deg; } 75% { rotate: 9deg; } }
@keyframes rp-kick-l { 0%, 50%, 100% { rotate: 0deg; } 25% { rotate: 28deg; } }
@keyframes rp-kick-r { 0%, 50%, 100% { rotate: 0deg; } 75% { rotate: -28deg; } }
.t-repair .horse.toy.h0 { width: 175px; bottom: 250px; }
.t-repair .horse.toy.h4 { width: 220px; bottom: 420px; right: max(14px, calc(50% - 560px - 236px)); left: auto; }
@media (prefers-reduced-motion: reduce) { .t-repair .horse.toy .toy-svg, .t-repair .horse.toy .toy-svg * { animation: none !important; } }

/* ================================================================ round 145: rePAIR's two players stand upright, and each
   dances like the tool it is -- the hammer winds back and strikes (stamping its feet), the screwdriver twists round on
   its tip, screwing itself down and back up */
.t-repair .horse.toy.h0 { width: 118px; }
.t-repair .horse.toy.h4 { width: 168px; }
.t-repair .horse.toy .toy-svg .rp-body { transform-box: view-box; }
.t-repair .horse.toy.h0 .toy-svg .rp-body { animation: rp-nod 1.8s ease-in-out infinite alternate; }
.t-repair .horse.toy.h4 .toy-svg .rp-body { animation: rp-turn 2.6s ease-in-out infinite alternate; }
@keyframes rp-nod { from { rotate: -3deg; } to { rotate: 3deg; } }
@keyframes rp-turn { from { scale: 1 1; } to { scale: .82 1; } }
/* hover: the hammer */
.t-repair .horse.toy.h0:hover .toy-svg { animation: rp-thump .9s ease-in infinite; }
.t-repair .horse.toy.h0:hover .toy-svg .rp-body { animation: rp-strike .9s cubic-bezier(.5, 0, .3, 1) infinite; }
.t-repair .horse.toy.h0:hover .toy-svg .rp-leg.l { animation: rp-stamp-l .9s ease-in-out infinite; }
.t-repair .horse.toy.h0:hover .toy-svg .rp-leg.r { animation: rp-stamp-r .9s ease-in-out infinite; }
@keyframes rp-strike { 0% { rotate: 0deg; } 40% { rotate: -22deg; } 55% { rotate: 34deg; } 62% { rotate: 28deg; } 100% { rotate: 0deg; } }
@keyframes rp-thump { 0%, 52%, 100% { translate: 0 0; } 40% { translate: 0 -10px; } 58% { translate: 0 2px; } }
@keyframes rp-stamp-l { 0%, 30%, 100% { rotate: 0deg; } 15% { rotate: 22deg; } }
@keyframes rp-stamp-r { 0%, 55%, 85%, 100% { rotate: 0deg; } 70% { rotate: -22deg; } }
/* hover: the screwdriver */
.t-repair .horse.toy.h4:hover .toy-svg { animation: rp-drivedown 1.2s ease-in-out infinite; }
.t-repair .horse.toy.h4:hover .toy-svg .rp-body { animation: rp-twist .6s linear infinite; }
.t-repair .horse.toy.h4:hover .toy-svg .rp-leg.l { animation: rp-shuffle-l .6s ease-in-out infinite; }
.t-repair .horse.toy.h4:hover .toy-svg .rp-leg.r { animation: rp-shuffle-r .6s ease-in-out infinite; }
@keyframes rp-twist { 0% { scale: 1 1; } 25% { scale: .15 1; } 50% { scale: -1 1; } 75% { scale: -.15 1; } 100% { scale: 1 1; } }
@keyframes rp-drivedown { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 10px; rotate: 0deg; } 25% { rotate: -4deg; } 75% { rotate: 4deg; } }
@keyframes rp-shuffle-l { 0%, 100% { rotate: 0deg; } 50% { rotate: 16deg; } }
@keyframes rp-shuffle-r { 0%, 100% { rotate: -16deg; } 50% { rotate: 0deg; } }
/* each player stands in the middle of its side's gap */
.t-repair .horse.toy.h0 { left: max(14px, calc((50% - 560px - 118px) / 2)); }
.t-repair .horse.toy.h4 { right: max(14px, calc((50% - 560px - 168px) / 2)); }

/* ================================================================ round 146: rePAIR's players are Rowan's own drawings now
   (faces and all), each split into a body and two legs. The hammer strikes; the screwdriver turns back and forth,
   driving itself down */
.t-repair .horse.toy.h0 { width: 140px; left: max(14px, calc((50% - 560px - 140px) / 2)); }
.t-repair .horse.toy.h4 { width: 186px; right: max(14px, calc((50% - 560px - 186px) / 2)); }
.t-repair .horse.toy.h4 .toy-svg .rp-body { animation: rp-sway 2.2s ease-in-out infinite alternate; }
.t-repair .horse.toy.h0:hover .toy-svg .rp-body { animation: rp-strike2 .9s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes rp-strike2 { 0% { rotate: 0deg; } 40% { rotate: -16deg; } 55% { rotate: 24deg; } 62% { rotate: 19deg; } 100% { rotate: 0deg; } }
.t-repair .horse.toy.h4:hover .toy-svg .rp-body { animation: rp-screwturn .5s ease-in-out infinite; }
@keyframes rp-screwturn { 0%, 100% { rotate: -10deg; } 50% { rotate: 10deg; } }
/* rePAIR's players, bigger (as big as their side's gap allows) */
.t-repair .horse.toy.h0 { width: clamp(110px, calc((50vw - 580px) * .8), 185px); left: max(14px, calc((50% - 560px - clamp(110px, calc((50vw - 580px) * .8), 185px)) / 2)); }
.t-repair .horse.toy.h4 { width: clamp(140px, calc(50vw - 585px), 235px); right: max(10px, calc((50% - 560px - clamp(140px, calc(50vw - 585px), 235px)) / 2)); }

/* ================================================================ round 147: rePAIR -- two of the crate's four screws are
   nails (top right, bottom left); and a click on the wall drives in a screw or, as often, hammers in a nail */
.crate::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3CradialGradient id='h0' cx='.36' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.35' stop-color='%23d9dde0'/%3E%3Cstop offset='.8' stop-color='%238a9095'/%3E%3Cstop offset='1' stop-color='%235d6368'/%3E%3C/radialGradient%3E%3ClinearGradient id='r0' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%236b7075'/%3E%3Cstop offset='1' stop-color='%232e3236'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cellipse cx='15.6' cy='17' rx='12.5' ry='12' fill='rgba%2840%2C20%2C5%2C.35%29'/%3E%3Ccircle cx='15' cy='15' r='12.5' fill='url%28%23r0%29'/%3E%3Ccircle cx='15' cy='14.2' r='11.2' fill='url%28%23h0%29'/%3E%3Cg transform='rotate%2812 15 14.2%29'%3E%3Cpath d='M15 7.6v13.2M8.4 14.2h13.2' stroke='%233a3e42' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M15.9 8.2v5.4M16 15.2v5M9 15.1h5.4M15.8 15.1h5.6' stroke='rgba%28255%2C255%2C255%2C.7%29' stroke-width='1' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") left center / 28px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3CradialGradient id='n0' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23f4f5f6'/%3E%3Cstop offset='.45' stop-color='%23b8bdc1'/%3E%3Cstop offset='1' stop-color='%236d7378'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cellipse cx='15.6' cy='17' rx='12.5' ry='12' fill='rgba%2840%2C20%2C5%2C.35%29'/%3E%3Ccircle cx='15' cy='15' r='12.5' fill='%233a3e42'/%3E%3Ccircle cx='15' cy='14.2' r='11.2' fill='url%28%23n0%29'/%3E%3Ccircle cx='15' cy='14.2' r='7.4' fill='none' stroke='rgba%2860%2C64%2C68%2C.35%29' stroke-width='.8'/%3E%3Ccircle cx='15' cy='14.2' r='3.4' fill='none' stroke='rgba%2860%2C64%2C68%2C.3%29' stroke-width='.8'/%3E%3Cpath d='M8.6 10.8a7.6 7.6 0 0 1 5.6-3.6' stroke='%23fff' stroke-opacity='.8' stroke-width='1.3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") right center / 28px no-repeat; }
.crate::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3CradialGradient id='n1' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23f4f5f6'/%3E%3Cstop offset='.45' stop-color='%23b8bdc1'/%3E%3Cstop offset='1' stop-color='%236d7378'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cellipse cx='15.6' cy='17' rx='12.5' ry='12' fill='rgba%2840%2C20%2C5%2C.35%29'/%3E%3Ccircle cx='15' cy='15' r='12.5' fill='%233a3e42'/%3E%3Ccircle cx='15' cy='14.2' r='11.2' fill='url%28%23n1%29'/%3E%3Ccircle cx='15' cy='14.2' r='7.4' fill='none' stroke='rgba%2860%2C64%2C68%2C.35%29' stroke-width='.8'/%3E%3Ccircle cx='15' cy='14.2' r='3.4' fill='none' stroke='rgba%2860%2C64%2C68%2C.3%29' stroke-width='.8'/%3E%3Cpath d='M8.6 10.8a7.6 7.6 0 0 1 5.6-3.6' stroke='%23fff' stroke-opacity='.8' stroke-width='1.3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") left center / 28px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3CradialGradient id='h3' cx='.36' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.35' stop-color='%23d9dde0'/%3E%3Cstop offset='.8' stop-color='%238a9095'/%3E%3Cstop offset='1' stop-color='%235d6368'/%3E%3C/radialGradient%3E%3ClinearGradient id='r3' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%236b7075'/%3E%3Cstop offset='1' stop-color='%232e3236'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cellipse cx='15.6' cy='17' rx='12.5' ry='12' fill='rgba%2840%2C20%2C5%2C.35%29'/%3E%3Ccircle cx='15' cy='15' r='12.5' fill='url%28%23r3%29'/%3E%3Ccircle cx='15' cy='14.2' r='11.2' fill='url%28%23h3%29'/%3E%3Cg transform='rotate%28103 15 14.2%29'%3E%3Cpath d='M15 7.6v13.2M8.4 14.2h13.2' stroke='%233a3e42' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M15.9 8.2v5.4M16 15.2v5M9 15.1h5.4M15.8 15.1h5.6' stroke='rgba%28255%2C255%2C255%2C.7%29' stroke-width='1' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") right center / 28px no-repeat; }
.rp-screw.nail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3CradialGradient id='n2' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23f4f5f6'/%3E%3Cstop offset='.45' stop-color='%23b8bdc1'/%3E%3Cstop offset='1' stop-color='%236d7378'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cellipse cx='15.6' cy='17' rx='12.5' ry='12' fill='rgba%2840%2C20%2C5%2C.35%29'/%3E%3Ccircle cx='15' cy='15' r='12.5' fill='%233a3e42'/%3E%3Ccircle cx='15' cy='14.2' r='11.2' fill='url%28%23n2%29'/%3E%3Ccircle cx='15' cy='14.2' r='7.4' fill='none' stroke='rgba%2860%2C64%2C68%2C.35%29' stroke-width='.8'/%3E%3Ccircle cx='15' cy='14.2' r='3.4' fill='none' stroke='rgba%2860%2C64%2C68%2C.3%29' stroke-width='.8'/%3E%3Cpath d='M8.6 10.8a7.6 7.6 0 0 1 5.6-3.6' stroke='%23fff' stroke-opacity='.8' stroke-width='1.3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); animation: rp-hammered .75s cubic-bezier(.3, .6, .4, 1) both; }
.rp-screw.nail::after { animation-delay: .55s; }
@keyframes rp-hammered { 0% { scale: 1.7; opacity: 0; filter: drop-shadow(0 10px 6px rgba(0, 0, 0, .35)); }
  20% { opacity: 1; scale: 1.3; } 32% { scale: 1.08; } 42% { scale: 1.16; } 56% { scale: 1.02; } 66% { scale: 1.07; }
  80%, 100% { scale: 1; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .45)); } }
.rp-screw.nail.loose { animation: rp-loose .9s ease-in forwards; }
/* ================================================================ round 149: rePAIR's players as big as their side's gap
   allows (the card is 1080px wide, so each gap is half the width less 540px), each centred in its gap both ways --
   level with the card's middle */
.t-repair .horse.toy { --w: clamp(110px, calc(50vw - 562px), 320px); width: var(--w); bottom: auto; }
.t-repair .horse.toy.h0 { left: max(4px, calc((50vw - 548px - var(--w)) / 2)); right: auto; top: calc(50% - var(--w) * 1.85 / 2); }
.t-repair .horse.toy.h4 { right: max(4px, calc((50vw - 548px - var(--w)) / 2)); left: auto; top: calc(50% - var(--w) * 1.467 / 2); }
.t-repair .horse.toy.h0, .t-repair .horse.toy.h4 { width: var(--w); bottom: auto; }

/* ================================================================ round 150: a screw's shadow stays put while its head
   spins in -- the head is its own layer (an <i>) that turns; the shadow sits still under it */
.rp-screw, .rp-screw.nail { background: none; filter: none; animation: rp-sink .7s cubic-bezier(.3, .6, .4, 1) both; }
.rp-screw::before { content: ''; position: absolute; left: 2.9px; top: 4.7px; width: 23.3px; height: 22.4px; border-radius: 50%; background: rgba(40, 20, 5, .35); }
.rp-screw > i { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3CradialGradient id='h0' cx='.36' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.35' stop-color='%23d9dde0'/%3E%3Cstop offset='.8' stop-color='%238a9095'/%3E%3Cstop offset='1' stop-color='%235d6368'/%3E%3C/radialGradient%3E%3ClinearGradient id='r0' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%236b7075'/%3E%3Cstop offset='1' stop-color='%232e3236'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='15' cy='15' r='12.5' fill='url%28%23r0%29'/%3E%3Ccircle cx='15' cy='14.2' r='11.2' fill='url%28%23h0%29'/%3E%3Cg transform='rotate%2812 15 14.2%29'%3E%3Cpath d='M15 7.6v13.2M8.4 14.2h13.2' stroke='%233a3e42' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M15.9 8.2v5.4M16 15.2v5M9 15.1h5.4M15.8 15.1h5.6' stroke='rgba%28255%2C255%2C255%2C.7%29' stroke-width='1' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  rotate: var(--end); animation: rp-spin-in .7s cubic-bezier(.3, .6, .4, 1) both; }
.rp-screw.nail { animation: rp-hammered .75s cubic-bezier(.3, .6, .4, 1) both; }
.rp-screw.nail > i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3CradialGradient id='n2' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23f4f5f6'/%3E%3Cstop offset='.45' stop-color='%23b8bdc1'/%3E%3Cstop offset='1' stop-color='%236d7378'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='15' cy='15' r='12.5' fill='%233a3e42'/%3E%3Ccircle cx='15' cy='14.2' r='11.2' fill='url%28%23n2%29'/%3E%3Ccircle cx='15' cy='14.2' r='7.4' fill='none' stroke='rgba%2860%2C64%2C68%2C.35%29' stroke-width='.8'/%3E%3Ccircle cx='15' cy='14.2' r='3.4' fill='none' stroke='rgba%2860%2C64%2C68%2C.3%29' stroke-width='.8'/%3E%3Cpath d='M8.6 10.8a7.6 7.6 0 0 1 5.6-3.6' stroke='%23fff' stroke-opacity='.8' stroke-width='1.3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); rotate: none; animation: none; }
@keyframes rp-sink { 0% { scale: 1.7; opacity: 0; } 20% { opacity: 1; } 86% { scale: .94; } 100% { scale: 1; } }
@keyframes rp-spin-in { from { rotate: calc(var(--end) - 900deg); } to { rotate: var(--end); } }
.rp-screw.loose, .rp-screw.nail.loose { animation: rp-loose .9s ease-in forwards; }
@media (prefers-reduced-motion: reduce) { .rp-screw > i { animation-duration: .01s; } }
/* the hammer a size down from the screwdriver, still centred in its gap */
.t-repair .horse.toy.h0 { --w: calc(clamp(110px, calc(50vw - 562px), 320px) * .8); }
.t-ed-s-diner.open .set .ghost.g2, .t-ed-s-diner.open .set .ghost.g4 { opacity: 0; }
/* show tops: three whole dashes beside the channel name (14 on, 10 off) */
.bump-line { flex: 0 0 62px; }
/* Snapshot Isle: the Sheridan postmark gets a second, inner ring, like a real date stamp */
.postmark::before { content: ''; position: absolute; inset: 9px; border: 2px solid rgba(30, 45, 95, .7); border-radius: 50%; pointer-events: none; }
/* Games: scrolling settles section to section -- each show is one screen tall, so when you stop near one it glides the
   rest of the way and sits square (proximity, not mandatory: it never fights a deliberate scroll). Desktop only; on
   phones the shows grow taller than the screen */
@media (min-width: 861px) and (min-height: 600px) {
  /* (done in site.js now, with a springy settle -- the browser's own snapping can't bounce) */
}
/* the dialog's Lana: her paws on the box's bottom edge, the rest of her standing up out of the box (her whole body
   shows, not just her head) */
.console .portrait.lana img { top: auto; bottom: 0; }
.console .portrait.lana { clip-path: inset(-240px 0 0 0 round 0 0 13px 0); }
/* Ed's Diner: its decor in the same neon red as its title, not pink -- the year tag, the Play button, the lit breaker
   switches and the neon sign */
.menu .yr { background: #ff6b6b; }
.menu .btn.play { --b: #ff6b6b; }
@media (min-width: 861px) { .t-ed-s-diner .sw.up i { background: #ff6b6b; box-shadow: 0 0 6px 1px rgba(255, 90, 90, .6), inset 0 -2px 0 rgba(0, 0, 0, .2); } }
.t-ed-s-diner.open .neon { color: #ff6b6b; text-shadow: 0 0 6px #ff6b6b, 0 0 18px #ff2a2a, 0 0 34px #ff2a2a; }

/* the remote's keys: the coloured key sits over the top of its black box, so the black shows only round the key's sides
   and bottom, like a ring it's set into. The box keeps one size whatever the key does */
.remote .ch::before, .remote .ch:hover::before, .remote .ch[aria-current]::before { top: -6px; }
/* the music player's close button sits a little further into its top-right corner */
.spot-x { right: 3px; }
/* the dialog's Lana sits wholly inside the box's right edge (nothing of her back sliced off) */
.console .portrait.lana img { translate: 0 0; }
/* Ed's Diner: the breaker box's lights count in the same neon red */
@media (min-width: 861px) { .t-ed-s-diner .bk-status, .t-ed-s-diner .bk-status .bk-text { color: #ff6b6b; } }
/* Art: the page behind the dark desktop is dark too (the old lilac showed through the scrollbar track as a stripe) */
html:has(body.art) { background: #1f1c27; } body.art { background: transparent; }   /* (on the page canvas only -- painted on the body it covered the grid wallpaper) */
/* Art: the .csp window's frame is the same thickness all round (no deep extra lip along its bottom) */
body.art .paint { box-shadow: inset 0 5px 0 rgba(255, 255, 255, .08), inset 0 -4px 0 #15131b, 0 24px 40px rgba(0, 0, 0, .45); }
/* the Info room's second monitor gets its own rolling scanline too, out of step with the main screen's */
.room-svg .scan-pc2 { animation-duration: 5.4s; animation-delay: -2.2s; }
/* the window's Toronto view, clear: no old-photo sepia, dimming or blur over it (that was the smog); just a touch
   softer than the room so it still reads as outside */
.room-svg .window image { filter: saturate(1.05) brightness(.97); }
/* the room's Step back button takes the pointer (its "all: unset" had it inheriting the HUD's pointer-events: none, so
   it could never be pointed at or clicked -- clicks fell through to the room) */
.hud-top > .hud-btn { pointer-events: auto; }
/* the room's Step back button on hover: it turns yellow and gives its little nudge, but keeps its shape -- no lift, no
   deeper bottom edge */
.hud-top > .hud-btn:hover { translate: none; box-shadow: 0 4px 0 var(--ink); }

/* the speech box's channel keys (Art, Design, Clippings) built exactly like the remote's: the CH number stacked over
   the name, the same size, the coloured key covering its black box's top edge */
.dialog .links.ch-links { display: flex; gap: 14px; margin-top: 12px; padding-top: 6px; }
.dialog .links.ch-links .ch { display: grid; place-content: center; justify-items: center; gap: 0; padding: 2px 0 0;
  width: 98px; height: 60px; margin: 0; flex: none; text-decoration: none; }
.dialog .links.ch-links .ch.clip { width: auto; padding: 2px 14px 0; }
.dialog .links.ch-links .ch::before, .dialog .links.ch-links .ch:hover::before { top: -6px; }
.dialog .links.ch-links { flex-basis: 100%; width: 100%; }

/* "Room complete!" stays once you've found everything: a smaller sticker stuck in the room's bottom-right corner */
.complete { left: auto; top: auto; right: 22px; bottom: 22px; translate: none; padding: 10px 24px 9px; pointer-events: none; }
.complete b { font-size: 30px; }
.complete span { font-size: 16px; }

/* the dialog's Lana: she pops up into the box with a little bounce, then breathes gently while she's there */
.console .dialog.with-lana .portrait.lana img, .console .dialog.with-lana.talk .portrait.lana img {
  transform-origin: 50% 100%; animation: lana-pop .5s cubic-bezier(.3, 1.5, .5, 1) both, lana-breathe 2.6s ease-in-out .5s infinite alternate; }
@keyframes lana-pop { from { translate: 0 70px; } to { translate: 0 0; } }
@keyframes lana-breathe { from { scale: 1 1; } to { scale: 1.012 1.028; } }
/* the dialog's Lana: a soft shadow where she rises out of the box, and she sways side to side (tilting from her paws)
   rather than swelling */
.console .dialog.with-lana .portrait.lana img, .console .dialog.with-lana.talk .portrait.lana img {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)) drop-shadow(0 1px 1px rgba(0, 0, 0, .3));
  animation: lana-pop .5s cubic-bezier(.3, 1.5, .5, 1) both, lana-sway 2.8s ease-in-out .5s infinite alternate; }
@keyframes lana-sway { from { rotate: -2.5deg; } to { rotate: 2.5deg; } }
.spot-x { right: 5px; }   /* dead centre between the display strip and the frame (5px each side) */

/* Ed's Diner: with every light on, the ghosts drift up and fade away. Done as a transition on translate and opacity,
   on top of their floating (which moves them by transform), so the float carries on smoothly underneath -- no jump
   back to the start of the float before they rise. They come back the same way if the breakers are scrambled again */
.t-ed-s-diner .set .ghost.ghost { transition: opacity 1.2s ease-in, translate 1.2s ease-in; }
.t-ed-s-diner.open .set .ghost.ghost { opacity: 0; translate: 0 -140px; pointer-events: none; }
.t-ed-s-diner.open .set .ghost.g1 { transition-delay: .12s; } .t-ed-s-diner.open .set .ghost.g2 { transition-delay: .24s; }
.t-ed-s-diner.open .set .ghost.g3 { transition-delay: .06s; } .t-ed-s-diner.open .set .ghost.g4 { transition-delay: .3s; }
/* the dialog's Lana can lean freely above the box (her ears and shadow never clipped as she sways); inside the box she
   is still cut off by its right and bottom edges (the box's top edge sits 23px down the portrait) */
.console .portrait.lana { clip-path: polygon(-300px -400px, calc(100% + 300px) -400px, calc(100% + 300px) 23px, 100% 23px,
  100% calc(100% - 13px), calc(100% - 4px) calc(100% - 4px), calc(100% - 13px) 100%, -300px 100%); }

/* the Art and Design galleries' arrow buttons: drawn chevrons, dead centre in their circles (the font's arrow
   characters sat off-centre). Each chevron is nudged a touch toward its point so it looks centred, not just measures it */
.strip-go { font-size: 0; padding: 0; }
.strip-go::before { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; box-sizing: border-box;
  border: solid currentColor; border-width: 0 0 4px 4px; border-radius: 1px; rotate: 45deg; translate: calc(-50% + 2px) -50%; }
.strip-go.next::before { border-width: 4px 4px 0 0; translate: calc(-50% - 2px) -50%; }
/* Art: the Featured project pictures react like the gallery's -- the paint program's marching-ants selection box walks
   round the one you point at, and the picture eases in a touch */
.selection .cover .lb { position: relative; display: block; overflow: hidden; }
.selection .cover .lb img { transition: transform .3s; }
.selection .cover .lb:hover img { transform: scale(1.06); }
.selection .cover .lb::after { content: ''; position: absolute; inset: 4px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .15s;
  background: linear-gradient(90deg, var(--ink) 50%, transparent 0) 0 0 / 12px 2px repeat-x, linear-gradient(90deg, var(--ink) 50%, transparent 0) 0 100% / 12px 2px repeat-x,
    linear-gradient(0deg, var(--ink) 50%, transparent 0) 0 0 / 2px 12px repeat-y, linear-gradient(0deg, var(--ink) 50%, transparent 0) 100% 0 / 2px 12px repeat-y;
  filter: invert(1); animation: ants .6s linear infinite; }
.selection .cover .lb:hover::after { opacity: 1; }
/* the dialog's Lana sways less: a gentle lean either way, and a smaller hop up into the box */
@keyframes lana-sway { from { rotate: -1.2deg; } to { rotate: 1.2deg; } }
@keyframes lana-pop { from { translate: 0 30px; } to { translate: 0 0; } }

/* the bookcase: point at it and the tapes, game boxes and books along each shelf hop up in turn, like a finger running
   along them (each item, label and all, moves as one; each tips from its bottom corner) */
.room-svg .shelf .itm { transform-box: fill-box; transform-origin: 50% 100%; }
.room-svg .shelf:hover .itm, #hot-shelf:focus-visible .itm { animation: shelf-hop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.room-svg .shelf .itm:nth-child(2) { animation-delay: .05s; } .room-svg .shelf .itm:nth-child(3) { animation-delay: .1s; }
.room-svg .shelf .itm:nth-child(4) { animation-delay: .15s; } .room-svg .shelf .itm:nth-child(5) { animation-delay: .2s; }
.room-svg .shelf .itm:nth-child(6) { animation-delay: .25s; } .room-svg .shelf .itm:nth-child(7) { animation-delay: .3s; }
.room-svg .shelf .itm:nth-child(8) { animation-delay: .35s; } .room-svg .shelf .itm:nth-child(9) { animation-delay: .4s; }
@keyframes shelf-hop { 0%, 100% { translate: 0 0; rotate: 0deg; } 40% { translate: 0 -7px; rotate: -3deg; } 70% { translate: 0 0; rotate: 1deg; } }
@media (prefers-reduced-motion: reduce) { .room-svg .shelf .itm { animation: none !important; } }
/* the drawn Lana, lifted: her head only tips up a touch at the neck (it no longer floats free of her body) */
#hot-cat:hover .cat-head, #hot-cat.lit .cat-head { transform-box: fill-box; transform-origin: 50% 95%; translate: 0 -2px; rotate: -7deg; }
/* the bookcase, livelier: while you point at it the tapes, boxes and books keep jiggling, each to its own beat -- some
   hop higher, some tip left or right, at different speeds -- so the shelves never move in lockstep */
.room-svg .shelf .itm { --h: -6px; --r: -3deg; --d: .9s; }
.room-svg .shelf:hover .itm, #hot-shelf:focus-visible .itm { animation: shelf-jig var(--d) ease-in-out infinite both; }
.room-svg .shelf .itm:nth-child(3n+1) { --h: -8px; --r: 3deg; --d: .8s; }
.room-svg .shelf .itm:nth-child(3n+2) { --h: -4px; --r: -4deg; --d: 1.05s; }
.room-svg .shelf .itm:nth-child(4n) { --h: -9px; --r: 2deg; --d: .7s; }
.room-svg .shelf .itm:nth-child(5n+3) { --h: -3px; --r: 5deg; --d: 1.2s; }
.room-svg .shelf .itm:nth-child(2) { animation-delay: -.3s; } .room-svg .shelf .itm:nth-child(3) { animation-delay: -.65s; }
.room-svg .shelf .itm:nth-child(4) { animation-delay: -.15s; } .room-svg .shelf .itm:nth-child(5) { animation-delay: -.5s; }
.room-svg .shelf .itm:nth-child(6) { animation-delay: -.8s; } .room-svg .shelf .itm:nth-child(7) { animation-delay: -.35s; }
.room-svg .shelf .itm:nth-child(8) { animation-delay: -.6s; } .room-svg .shelf .itm:nth-child(9) { animation-delay: -.2s; }
@keyframes shelf-jig { 0%, 100% { translate: 0 0; rotate: 0deg; } 30% { translate: 0 var(--h); rotate: var(--r); }
  55% { translate: 0 0; rotate: calc(var(--r) * -.4); } 75% { translate: 0 calc(var(--h) * .3); rotate: 0deg; } }
/* the drawn Lana: asleep her head rests lower on her paws; lifted, it comes up to where it was */
#hot-cat:hover .cat-head, #hot-cat.lit .cat-head { translate: 0 -7px; }
/* the speech box's channel keys wear exactly the remote's casing (they were picking up the box's own button style: a
   white pill with an ink edge), resting, pointed at and pressed alike */
.dialog .links.ch-links .ch, .dialog .links.ch-links .ch:hover, .dialog .links.ch-links .ch:active, .dialog .links.ch-links .ch:focus-visible {
  box-sizing: border-box; background: #2a2a2f; border: 4px solid transparent; border-radius: 16px 16px 22px 22px;
  box-shadow: 0 5px 0 #18181b, 0 7px 10px rgba(0, 0, 0, .3); translate: none; }
/* page switches into Info: while the TV-on transition plays, the room holds still (its paper-cut filters are costly to
   redraw, and every moving part inside them -- the TV static, the clock, the steam, the cat -- forces a redraw each
   frame), so the switch runs smoothly; everything starts moving once the picture is on */
:root:active-view-transition .room-svg *, :root:active-view-transition .room-svg,
:root:active-view-transition .cam *, :root:active-view-transition .console * { animation-play-state: paused !important; }
/* page switches: the new page takes clicks straight away (during the TV-on animation the page was deaf to the pointer,
   so a quick click on the next channel did nothing), and the switch is a touch quicker */
::view-transition { pointer-events: none; }
::view-transition-old(root) { animation-duration: .26s; }
::view-transition-new(root) { animation-duration: .34s; animation-delay: .22s; }

/* the channel keys can't be dragged (a little wobble while pressing one started a link drag, and the click never landed)
   or have their labels selected */
.channels a, .ch-links a, .ch { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }

/* the program guide: Clippings keeps its late-night dark band and red time tag, but its name is in the guide's own
   lettering like every other show */

/* the Clippings key: a subtle diagonal split, like a scissor cut between the cut-out CLIP and the inked "pings" -- the
   "pings" side a touch warmer and darker, with a fine paper-white edge along the cut */
.ch.clip::before, .ch.clip:hover::before, .ch.clip[aria-current]::before { background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .1) 38%, rgba(0, 0, 0, .06) 72%, rgba(0, 0, 0, .2)), linear-gradient(110deg, transparent 0 52%, rgba(255, 255, 255, .55) 52% 53%, rgba(120, 80, 40, .13) 53%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)'/%3E%3C/svg%3E"), var(--k); }

/* the Info speech box's channel keys sit higher, closer under the line they belong to */
.dialog .links.ch-links { margin-top: 0; padding-top: 2px; }
/* the test card's Play Clippings button (beside Play more on itch.io) gets the CH13 key's scissor-cut split, just after
   the cut-out CLIP */
.tc-card .buttons .btn.clip-btn, .tc-card .buttons .btn.clip-btn:hover { background-image: linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 55%),
  linear-gradient(110deg, transparent 0 61%, rgba(255, 255, 255, .6) 61% 62%, rgba(120, 80, 40, .13) 62%); }
/* the Clippings show's game list: the darker paper slips brighten on hover by the same step as the light ones */
.clipping .clip-list li:nth-child(2n) a:hover { background: #efe6d0; }

/* ================================================================ round 179: the top bar's mat, made for each channel.
   Games keeps the yellow tufted rug. Each other channel gets a mat out of its own world, in its key's colour:
   Art, an artist's self-healing cutting mat (CH2 blue: a grid, heavier lines every five squares, ruler ticks along the
   edges); Design, a desktop mousepad (dark woven cloth with a stitched CH3-green rim); Info, the room's own rug
   (its red tufted ring and cream stitching round a soft checker, in the room's night plums) */

/* Art: the cutting mat */
body.art .rug::before { border-radius: 14px; filter: drop-shadow(0 5px 0 #12304f) drop-shadow(0 12px 16px rgba(0, 0, 0, .45));
  background:
    linear-gradient(rgba(255, 255, 255, .22) 1.5px, transparent 1.5px) -1px -1px / 110px 110px,
    linear-gradient(90deg, rgba(255, 255, 255, .22) 1.5px, transparent 1.5px) -1px -1px / 110px 110px,
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px) -1px -1px / 22px 22px,
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px) -1px -1px / 22px 22px,
    linear-gradient(160deg, rgba(255, 255, 255, .08), transparent 40%),
    #1f4f80; }
body.art .rug::after { inset: 6px; border: 0; border-radius: 9px; opacity: .85; filter: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .6) 0 1px, transparent 1px 11px) left top / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .6) 0 1px, transparent 1px 55px) left top / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .6) 0 1px, transparent 1px 11px) left bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .6) 0 1px, transparent 1px 55px) left bottom / 100% 9px no-repeat; }

/* Design: the mousepad */
body.design .rug::before { border-radius: 20px; filter: drop-shadow(0 5px 0 #0f1012) drop-shadow(0 12px 16px rgba(0, 0, 0, .5));
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px),
    radial-gradient(120% 140% at 30% 0%, #34383e, #222428 70%); }
body.design .rug::after { inset: 5px; border-radius: 16px; border: 2.5px dashed #7ccc4a; opacity: .85; filter: none; }

/* Info: the room's rug */
body.info .rug::before { background: var(--yarn), #b8282d; filter: url(#fuzz) drop-shadow(0 5px 0 #6e1418) drop-shadow(0 12px 16px rgba(0, 0, 0, .45)); }
body.info .rug::after { inset: 12px; border-radius: 34px; border: 2.5px dashed rgba(255, 248, 234, .75); opacity: 1;
  background: var(--yarn), repeating-conic-gradient(#3b3142 0 25%, #2c2532 0 50%) 0 0 / 34px 34px; }

/* ================================================================ round 180: Design's top bar is a piece of the desktop,
   built like the taskbar and Start menu below: the same dark panel, a hard ink outline, raised pixel bevels, and a
   sunken groove round the inside (no soft mousepad, no stitching) */
body.design .rug::before { border-radius: 4px; background: #24212d; border: 4px solid #0d0c12;
  box-shadow: inset 3px 3px 0 #3d3949, inset -3px -3px 0 #15131b; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .4)); }
body.design .rug::after { inset: 11px; border-radius: 0; border: 0; opacity: 1; filter: none;
  box-shadow: inset 2px 2px 0 #1a1820, inset -2px -2px 0 #3d3949; }

/* Info's top bar matches the speech box down in the room's console: cream paper, a thick near-black outline, rounded
   corners and a hard drop below (no rug, no yarn) */
body.info .rug::before { border-radius: 18px; background: #fffdf6; border: 5px solid #050407; box-shadow: 0 8px 0 #050407; filter: none; }
body.info .rug::after { content: none; }

/* Lana in the speech box: a size smaller (170 -> 140 wide), the text gives her a little less room */
.console .portrait.lana { width: 140px; }
.console .dialog.with-lana .say { padding-right: 125px; }
/* on Info's cream speech-box bar, the name is written in ink like the box's own text */
body.info .rug .name { color: #1d1a1a; text-shadow: none; }

/* ================================================================ round 181: the top bar is wider on every channel
   (1180 -> 1300), in line with the wide pages below it (Art's window, Info's console, Design's desktop); the taskbar's
   contents keep to the same width */
.rug { max-width: 1300px; }
.taskbar { padding-left: max(8px, calc((100% - 1300px) / 2)); padding-right: max(8px, calc((100% - 1300px) / 2)); }

/* ================================================================ round 182: Info's paper goods. The top bar, the
   speech box and the inventory are all the same cream paper with a grain (the program guide's paper), and the inventory
   is laid out like the speech box: the same padding, its title in the speaker's lettering and blue, and the count as a
   small outlined tag instead of a dark badge */
body.info .rug::before, .adventure .dialog, .adventure .inventory {
  background: url('../media/fx-paper.webp') 0 0 / 320px, linear-gradient(170deg, #fffbf1, #f4ead4); background-blend-mode: multiply; }
.adventure .inventory { padding: 14px 20px; }
.adventure .inventory h2 { font: 22px 'Chelsea Market', 'Comic Sans MS', cursive; color: #286d95; margin-bottom: 10px; }
.adventure .inventory .found { top: 14px; right: 20px; font: 15px 'Chelsea Market', 'Comic Sans MS', cursive; background: transparent; color: #333c3c;
  border: 2.5px solid #050407; border-radius: 8px; padding: 1px 9px; }
.adventure .inventory .found b { color: #e2363b; }

/* Games: the name on the yellow rug is written in dark ink */
body.games .rug .name { color: #1d1a1a; text-shadow: none; }
/* the paper a touch warmer, so the grain reads cream rather than grey */
body.info .rug::before, .adventure .dialog, .adventure .inventory {
  background: url('../media/fx-paper.webp') 0 0 / 320px, linear-gradient(170deg, #fff9e8, #f7e8c8); background-blend-mode: multiply; }
/* Games: the name in a deep warm brown from the rug's own shade (softer than ink, still easy to read on the yellow),
   with a faint light edge below like the yarn's sheen */
body.games .rug .name { color: #6b3c06; text-shadow: 0 1.5px 0 rgba(255, 240, 190, .6); }

/* ================================================================ round 183
   the speech box's text sits at the top (not centred), so the speaker's name lines up with the inventory's title */
.console .dialog .say { align-self: start; }
.adventure .inventory h2 { line-height: normal; }
/* the found count: one plain style for both numbers */
.adventure .inventory .found b { color: inherit; font-weight: inherit; }
/* the name on Games' rug and Info's paper bar is a sticker: a white cut edge all round and a small shadow beneath */
body.games .rug .name, body.info .rug .name {
  text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1.5px 1.5px 0 #fff, -1.5px 1.5px 0 #fff, 1.5px -1.5px 0 #fff, -1.5px -1.5px 0 #fff,
    0 4px 0 rgba(60, 35, 0, .3); }
/* Info's paper goods use Rowan's real watercolour-paper scan (lighting flattened, made to tile) over the warm cream,
   instead of the generated grain */
body.info .rug::before, .adventure .dialog, .adventure .inventory {
  background: url('../media/fx-watercolour.webp') 0 0 / 370px, linear-gradient(170deg, #fff9e8, #f7e8c8); background-blend-mode: multiply; }

/* the sticker names: one thick white die-cut edge round the whole word (outside the letters, closing the gaps between
   them) and a small shadow beneath, drawn by the #sticker filter instead of thin text shadows */
body.games .rug .name, body.info .rug .name { text-shadow: none; filter: url(#sticker); }

/* round 185: Info's name in a dark grey (not black); Games' name a shade darker brown; Info's paper goods (speech box,
   inventory, top bar) a little lighter */
body.info .rug .name { color: #3a3b40; }
body.games .rug .name { color: #4e2a02; }
body.info .rug::before, .adventure .dialog, .adventure .inventory {
  background: url('../media/fx-watercolour.webp') 0 0 / 370px, linear-gradient(170deg, #fffdf5, #fbf1db); background-blend-mode: multiply; }
/* round 186: only the speech box is the lighter paper; the inventory and the top bar go back to the warmer cream.
   The inventory's title a touch smaller, so it reads the same size as the speaker's name */
body.info .rug::before, .adventure .inventory {
  background: url('../media/fx-watercolour.webp') 0 0 / 370px, linear-gradient(170deg, #fff9e8, #f7e8c8); background-blend-mode: multiply; }
.adventure .inventory h2 { font-size: 20px; }
.adventure .inventory h2 { padding-top: 2px; margin-bottom: 8px; }

/* ================================================================ round 187: the speech box and the inventory each wear
   a name tab on their top edge (like a game's text window): the same cream paper, ink outline and lettering, at the
   same height and inset, so "Rowan" and "Inventory" line up exactly. The boxes get a little more room on top for it */
.adventure .console { padding-top: 26px; }
.adventure .console .dialog .speaker, .adventure .inventory h2 {
  position: absolute; z-index: 4; top: -19px; left: 20px; margin: 0; padding: 1px 14px 2px;
  font: 20px/1.3 'Chelsea Market', 'Comic Sans MS', cursive; color: #286d95;
  background: url('../media/fx-watercolour.webp') 0 0 / 370px, linear-gradient(170deg, #fff9e8, #f7e8c8); background-blend-mode: multiply;
  border: 4px solid #050407; border-radius: 10px; box-shadow: 0 4px 0 #050407; }
.adventure .inventory { padding-top: 22px; }
.adventure .inventory .found { top: 12px; }
.adventure .console .dialog { padding-top: 20px; }
/* the speaker's tab sits over the text column (not over the portrait), its name in line with the words below; same
   height as the inventory's tab (box padding 20 + border 5 + the tab's 19 above the edge) */
.adventure .console .dialog .say { position: relative; }
.adventure .console .dialog .speaker { top: -44px; left: -18px; }
.adventure .console .dialog .speaker { top: -39px; }

/* ================================================================ round 188: instead of tabs, the speech box and the
   inventory each have a title bar across their top (like a window's): a slightly deeper cream strip under an ink rule,
   the same height in both, the title in it ("Rowan" over the speech text, clear of the portrait; "Inventory" at the
   left) and the found count at the right of the inventory's bar */
.adventure .console { padding-top: 14px; }
.adventure .console .dialog .say { position: static; }
.adventure .console .dialog .speaker, .adventure .inventory h2 {
  top: 0; left: 0; right: 0; z-index: 1; height: 36px; box-sizing: border-box; padding: 0 20px; display: flex; align-items: center;
  font: 20px/1 'Chelsea Market', 'Comic Sans MS', cursive; color: #286d95;
  background: linear-gradient(rgba(150, 110, 40, .1), rgba(150, 110, 40, .1)), url('../media/fx-watercolour.webp') 0 0 / 370px, linear-gradient(170deg, #fff6df, #f3e2bd);
  background-blend-mode: normal, multiply, normal;
  border: 0; border-bottom: 3px solid #050407; border-radius: 13px 13px 0 0; box-shadow: none; }
.adventure .console .dialog .speaker { padding-left: 156px; }
@media (max-width: 860px) { .adventure .console .dialog .speaker { padding-left: 114px; } }
.adventure .console .dialog { padding-top: 48px; }
.adventure .inventory { padding-top: 48px; }
.adventure .inventory .found { top: 6px; right: 14px; z-index: 2; }
/* the names on Games' and Info's top bars also cast the soft blurred shadow the other pieces do */
body.games .rug .name, body.info .rug .name { filter: url(#sticker) drop-shadow(0 5px 6px rgba(0, 0, 0, .3)); }
/* round 189: the title bars' lettering a darker blue; Info's top bar wears the same deeper cream as the title bars;
   the found tag centred up and down in the inventory's bar */
.adventure .console .dialog .speaker, .adventure .inventory h2 { color: #1b4a66; }
body.info .rug::before {
  background: linear-gradient(rgba(150, 110, 40, .1), rgba(150, 110, 40, .1)), url('../media/fx-watercolour.webp') 0 0 / 370px, linear-gradient(170deg, #fff6df, #f3e2bd);
  background-blend-mode: normal, multiply, normal; }
.adventure .inventory .found { top: 18px; translate: 0 -50%; line-height: 1.2; }
/* the empty slots' question marks in the boxes' own lettering (Chelsea Market, like the titles) instead of hand script */
.adventure .slot .q { font: 20px/1 'Chelsea Market', 'Comic Sans MS', cursive; color: #c9b48c; }

/* ================================================================ round 190: the speech box's and inventory's title
   bars are a separate sheet of butter-yellow paper laid on top: no ink rule, just the room's scissor-cut edge and the
   little shadow it casts (the #rm-cut filter, on a layer behind the lettering so the text stays crisp) */
.adventure .console .dialog .speaker, .adventure .inventory h2 { background: none; border-bottom: 0; isolation: isolate; }
.adventure .console .dialog .speaker::before, .adventure .inventory h2::before { content: ''; position: absolute; inset: 0; z-index: -1;
  border-radius: 13px 13px 0 0; background: url('../media/fx-watercolour.webp') 0 0 / 370px, linear-gradient(170deg, #fae39c, #f1d27a);
  background-blend-mode: multiply; filter: url(#rm-cut); }

/* round 191: the title bars are dark green paper with off-white lettering; their edge is only scissor-cut (no hard dark
   line), and they cast a soft blurred shadow onto the cream below */
.adventure .console .dialog .speaker, .adventure .inventory h2 { color: #fbf3df; }
.adventure .console .dialog .speaker::before, .adventure .inventory h2::before {
  background: url('../media/fx-watercolour.webp') 0 0 / 370px, linear-gradient(170deg, #3b6b45, #2d5636); background-blend-mode: multiply;
  filter: url(#cut-edge) drop-shadow(0 3px 4px rgba(40, 30, 10, .35)); }
.adventure .inventory .found { color: #fbf3df; border-color: #fbf3df; background: transparent; }

/* ================================================================ round 192: Info's UI as NOTEBOOK PAGES. The top bar,
   the speech box and the inventory are torn-out sheets of ruled paper (Rowan's watercolour-paper scan under pale blue
   rules and a red margin line), taped to the wall a little crooked, with a soft shadow and no ink outline. The titles
   and the speech are written in blue ink by hand; the empty inventory slots are doodled pencil circles */
.adventure .dialog, .adventure .inventory, body.info .rug::before {
  --rules: repeating-linear-gradient(transparent 0 25px, rgba(110, 160, 210, .45) 25px 26.5px);
  border: 0; border-radius: 3px; box-shadow: none;
  filter: drop-shadow(0 2px 1.5px rgba(10, 5, 20, .35)) drop-shadow(0 10px 14px rgba(10, 5, 20, .35)); }
.adventure .dialog {
  background: linear-gradient(90deg, transparent 147px, rgba(226, 80, 80, .7) 147px 149px, transparent 149px),
    var(--rules) 0 7px, url('../media/fx-watercolour.webp') 0 0 / 370px, #fffdf6;
  background-blend-mode: normal, normal, multiply, normal; rotate: -.35deg; padding-top: 12px; }
.adventure .inventory {
  background: linear-gradient(90deg, transparent 12px, rgba(226, 80, 80, .7) 12px 14px, transparent 14px),
    var(--rules) 0 7px, url('../media/fx-watercolour.webp') 120px 40px / 370px, #fffdf6;
  background-blend-mode: normal, normal, multiply, normal; rotate: .5deg; padding: 10px 18px 14px 26px; }
body.info .rug::before {
  background: linear-gradient(90deg, transparent 18px, rgba(226, 80, 80, .7) 18px 20px, transparent 20px),
    var(--rules) 0 4px, url('../media/fx-watercolour.webp') 60px 0 / 370px, #fffdf6;
  background-blend-mode: normal, normal, multiply, normal; rotate: -.25deg; }

/* tape: a strip of masking tape over the top edge of each sheet */
.adventure .dialog::after, .adventure .inventory::after, body.info .rug::after {
  content: ''; position: absolute; z-index: 5; top: -9px; width: 86px; height: 20px; border: 0; border-radius: 1px; opacity: 1; filter: none; inset: auto;
  background: url('../media/fx-watercolour.webp') 0 0 / 200px, rgba(238, 222, 168, .82); background-blend-mode: multiply;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15); animation: none; pointer-events: none; }
.adventure .dialog::after { top: -9px; left: 46%; rotate: -3deg; }
.adventure .inventory::after { top: -9px; right: 18%; rotate: 4deg; }
body.info .rug::after { top: -8px; left: 50%; rotate: 2deg; z-index: 1; }

/* the titles: hand-written in blue ink, sitting on the paper (no bars) */
.adventure .console .dialog .speaker, .adventure .inventory h2 {
  position: static; height: auto; padding: 0; margin: 0 0 2px; display: block; background: none; border: 0; box-shadow: none;
  font: 27px/1.05 'Gochi Hand', 'Comic Sans MS', cursive; color: #23406b; }
.adventure .console .dialog .speaker::before, .adventure .inventory h2::before { content: none; }
.adventure .console .dialog .speaker { padding-left: 0; }
/* the speech, in the same hand */
.adventure .console .dialog .say .line, .adventure .console .dialog .say .line p { font: 19px/26px 'Gochi Hand', 'Comic Sans MS', cursive; color: #2f2f36; }
/* the found count: pencilled in the corner and circled */
.adventure .inventory .found { top: 10px; right: 16px; translate: none; font: 17px/1 'Gochi Hand', 'Comic Sans MS', cursive; color: #23406b;
  background: transparent; border: 2px solid rgba(35, 64, 107, .7); border-radius: 50% 46% 52% 48% / 55% 50% 48% 52%; padding: 4px 10px; }
/* empty slots: doodled circles in pencil-blue */
.adventure .slot:disabled { border: 2px solid rgba(110, 150, 195, .75); border-radius: 48% 52% 46% 54% / 52% 47% 53% 48%; background: transparent; }
.adventure .slot:disabled:nth-child(even) { border-radius: 53% 47% 51% 49% / 46% 54% 47% 53%; rotate: 8deg; }
.adventure .slot:disabled .q { font: 22px/1 'Gochi Hand', 'Comic Sans MS', cursive; color: rgba(110, 150, 195, .85); }
/* the rules 26px apart, the speech's own line height, so the handwriting sits on them */
.adventure .dialog, .adventure .inventory, body.info .rug::before { --rules: repeating-linear-gradient(transparent 0 24.5px, rgba(110, 160, 210, .45) 24.5px 26px); }
.adventure .dialog { background-position: 0 0, 0 10px, 0 0, 0 0; }

/* ================================================================ round 194: notebook fixes
   tape: see-through plain tape (no paper texture) with both ends torn on a tape dispenser's teeth */
.adventure .dialog::after, .adventure .inventory::after, body.info .rug::after {
  background: rgba(236, 226, 190, .55); background-blend-mode: normal; box-shadow: none; height: 22px;
  clip-path: polygon(0 0, 4px 9%, 0 18%, 4px 27%, 0 36%, 4px 45%, 0 54%, 4px 63%, 0 72%, 4px 81%, 0 90%, 4px 100%,
    calc(100% - 4px) 100%, 100% 91%, calc(100% - 4px) 82%, 100% 73%, calc(100% - 4px) 64%, 100% 55%, calc(100% - 4px) 46%, 100% 37%, calc(100% - 4px) 28%, 100% 19%, calc(100% - 4px) 10%, 100% 0); }
.adventure .inventory::after { left: 50%; right: auto; translate: -50% 0; rotate: -2deg; }

/* the red margin: none on the inventory (it's torn from the same page as the speech); the top bar's sits as far in
   from its left edge as the speech box's does */
.adventure .inventory {
  background: var(--rules) 0 var(--rule-y, 0px), url('../media/fx-watercolour.webp') 120px 40px / 370px, #fffdf6;
  background-blend-mode: normal, multiply, normal; }
body.info .rug::before {
  background: linear-gradient(90deg, transparent 147px, rgba(226, 80, 80, .7) 147px 149px, transparent 149px),
    var(--rules) 0 4px, url('../media/fx-watercolour.webp') 60px 0 / 370px, #fffdf6;
  background-blend-mode: normal, normal, multiply, normal; }

/* every line of writing is one 26px rule tall, the titles included, and both pages start writing at the same height */
.adventure .console .dialog .speaker, .adventure .inventory h2 { font-size: 27px; line-height: 26px; margin: 0; }
.adventure .console .dialog { padding-top: 12px; }
.adventure .inventory { padding-top: 12px; }
.adventure .console .dialog .say .line, .adventure .console .dialog .say .line p { line-height: 26px; margin: 0; }
.adventure .dialog { background-position: 0 0, 0 var(--rule-y, 0px), 0 0, 0 0; }
/* Info's top bar: a piece of tape across each top corner (none in the middle) -- the bar's own ::after on the left,
   the channel row's ::after on the right (both are placed against the bar) */
body.info .rug::after { left: -16px; top: 2px; rotate: -38deg; width: 78px; z-index: 6; }
body.info .rug .channels::after { content: ''; position: absolute; z-index: 6; right: -16px; top: 2px; width: 78px; height: 22px; rotate: 38deg;
  pointer-events: none; background: rgba(236, 226, 190, .55);
  clip-path: polygon(0 0, 4px 9%, 0 18%, 4px 27%, 0 36%, 4px 45%, 0 54%, 4px 63%, 0 72%, 4px 81%, 0 90%, 4px 100%,
    calc(100% - 4px) 100%, 100% 91%, calc(100% - 4px) 82%, 100% 73%, calc(100% - 4px) 64%, 100% 55%, calc(100% - 4px) 46%, 100% 37%, calc(100% - 4px) 28%, 100% 19%, calc(100% - 4px) 10%, 100% 0); }
/* the writing on the lines: titles' baselines sit at 30px and every line after at +26px, so the rules are drawn just
   under them (rule-y 6px); the speech is nudged 2px down to reach its line */
.adventure .dialog, .adventure .inventory { --rule-y: 6px; rotate: none; }
.adventure .console .dialog .say .line { padding-top: 2px; }
/* the slots sit lower, so a rule runs across each circle right under its question mark */
.adventure .inventory .slots, .adventure .inventory h2 + * { margin-top: 10px; }
.adventure .inventory { padding-bottom: 12px; }

/* ================================================================ round 195
   Info's top bar: the name stays where it is on every channel; the red margin runs in the gap between the headshot and
   the name instead (130px) */
body.info .rug::before {
  background: linear-gradient(90deg, transparent 129px, rgba(226, 80, 80, .7) 129px 131px, transparent 131px),
    var(--rules) 0 4px, url('../media/fx-watercolour.webp') 60px 0 / 370px, #fffdf6;
  background-blend-mode: normal, normal, multiply, normal; }

/* tape: clear (a faint cool white, no yellow), and its cut ends have fewer, bigger teeth */
body.info .rug::after, body.info .rug .channels::after { background: rgba(244, 246, 248, .5); clip-path: polygon(0 0, 7px 16.7%, 0 33.3%, 7px 50%, 0 66.7%, 7px 83.3%, 0 100%, calc(100% - 7px) 100%, 100% 83.3%, calc(100% - 7px) 66.7%, 100% 50%, calc(100% - 7px) 33.3%, 100% 16.7%, calc(100% - 7px) 0); }

/* the speech and inventory sheets are taped to the front of the low wall the console makes: each strip of tape runs
   straight up from the sheet, over the wall's top edge, and folds back flat onto the top (seen edge-on, a short
   lighter strip that narrows away from you); torn ends on both */
.adventure .dialog::after, .adventure .inventory::after {
  top: -14px; width: 30px; height: 36px; rotate: none; translate: none; border-radius: 0;
  background: linear-gradient(rgba(255, 255, 255, .55) 0 1.5px, transparent 1.5px), rgba(244, 246, 248, .5);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 87.5% calc(100% - 6px), 75% 100%, 62.5% calc(100% - 6px), 50% 100%, 37.5% calc(100% - 6px), 25% 100%, 12.5% calc(100% - 6px), 0 100%); }
.adventure .dialog::before, .adventure .inventory::before { content: ''; position: absolute; z-index: 5; top: -24px; width: 30px; height: 10px; pointer-events: none;
  background: rgba(250, 251, 252, .62);
  clip-path: polygon(0 100%, 100% 100%, 94% 6px, 87.5% 0, 75% 6px, 62.5% 0, 50% 6px, 37.5% 0, 25% 6px, 12.5% 0, 6% 6px); }
.adventure .dialog::after, .adventure .dialog::before { left: 46%; }
.adventure .inventory::after, .adventure .inventory::before { left: calc(50% - 15px); right: auto; }

/* "Just read it all": its label in the same blue-ink hand as the notebook pages */
.readall summary { font: 24px/1.1 'Gochi Hand', 'Comic Sans MS', cursive; letter-spacing: 0; text-transform: none; }
.readall h2, .readall h3 { font-family: 'Gochi Hand', 'Comic Sans MS', cursive; letter-spacing: 0; }

/* ================================================================ round 196: hand-drawn circles. Every circle on the
   inventory page is a pen loop (drawn as an SVG stroke): it starts up-left, sometimes goes round a little more than once,
   sometimes doesn't quite meet. The slots' in blue ink (four different loops, taking turns); the found count's in red pen.
   The found count is written on the title's line, like normal handwriting */
.adventure .slot:disabled { border: 0; border-radius: 0; background: transparent center / 100% 100% no-repeat; rotate: none; }
.adventure .slot:disabled:nth-child(4n+1) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M23.6 17.9 L29.3 15.3 L34.6 12.3 L40.6 11.0 L46.6 10.2 L52.9 7.3 L59.4 7.9 L64.6 12.6 L70.6 14.3 L74.7 18.9 L80.1 21.8 L82.2 27.7 L83.8 33.1 L86.5 37.9 L86.1 43.5 L86.9 48.6 L88.8 54.0 L88.5 59.6 L87.0 65.0 L85.1 70.5 L82.9 76.3 L79.3 81.3 L74.4 85.5 L68.9 88.7 L62.7 90.6 L56.3 91.4 L49.9 91.0 L43.8 89.4 L38.2 87.1 L33.1 84.3 L28.3 81.2 L24.1 77.5 L20.6 73.2 L16.0 69.7 L13.5 64.6 L11.0 59.5 L10.6 53.9 L8.0 48.2 L8.8 42.4 L12.4 37.3 L14.1 31.9 L16.2 26.3 L20.1 21.7 L24.0 17.0 L30.2 15.2 L34.9 10.9 L41.1 9.4 L47.5 9.9 L53.7 8.4' fill='none' stroke='rgba(70,115,170,.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.adventure .slot:disabled:nth-child(4n+2) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M63.4 11.0 L66.3 16.9 L70.2 19.4 L73.7 22.3 L77.8 24.6 L79.7 28.9 L82.3 32.5 L84.9 36.2 L88.4 39.9 L89.4 44.5 L90.9 49.1 L90.8 54.0 L90.2 58.8 L89.6 63.7 L88.8 68.9 L86.4 73.6 L83.3 77.8 L79.5 81.6 L75.0 84.4 L69.9 86.1 L64.9 87.7 L59.8 88.6 L54.7 88.7 L49.7 88.8 L44.8 88.2 L40.0 87.1 L35.4 85.5 L30.9 83.7 L26.8 81.1 L22.8 78.4 L18.8 75.3 L16.2 71.3 L14.5 66.8 L11.5 62.8 L10.4 58.1 L9.8 53.4 L9.2 48.6 L9.9 43.8 L10.6 39.1 L13.1 34.8 L13.1 29.3 L15.5 24.8 L20.6 22.4 L22.5 17.0 L26.7 13.6 L31.9 11.8 L36.8 9.6 L42.1 8.7 L47.3 6.4' fill='none' stroke='rgba(70,115,170,.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.adventure .slot:disabled:nth-child(4n+3) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M29.3 17.2 L35.1 14.5 L40.5 10.2 L47.2 9.1 L53.7 12.4 L60.6 10.9 L67.2 12.5 L72.0 17.3 L78.8 19.3 L83.0 24.6 L87.9 29.3 L90.2 35.6 L92.7 41.8 L91.3 48.5 L89.5 54.6 L87.7 60.5 L84.3 65.5 L80.9 70.3 L77.5 75.1 L72.8 78.7 L68.2 82.6 L63.0 86.3 L57.1 89.1 L50.5 90.7 L43.6 91.3 L36.6 90.4 L30.0 88.0 L24.2 84.2 L19.2 79.5 L15.9 73.6 L12.8 67.9 L11.6 61.6 L10.0 55.6 L9.9 49.5 L12.1 43.6 L13.5 37.9 L15.6 32.3 L17.2 25.9 L22.4 22.0 L27.0 17.6 L33.1 15.4 L38.8 12.6 L45.2 11.8 L51.6 11.5 L58.2 11.1 L64.7 12.4 L71.8 13.4 L77.4 17.4 L83.7 20.9' fill='none' stroke='rgba(70,115,170,.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.adventure .slot:disabled:nth-child(4n+4) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M26.8 13.4 L32.5 11.4 L38.9 12.0 L44.8 14.2 L49.9 14.2 L54.9 14.9 L60.3 14.3 L64.8 16.9 L70.0 18.1 L75.0 20.3 L79.7 23.2 L83.7 26.9 L85.8 32.0 L89.1 36.4 L91.3 41.5 L92.4 47.0 L93.6 52.6 L92.4 58.2 L90.1 63.4 L87.4 68.3 L84.1 72.7 L80.4 76.7 L76.4 80.6 L71.7 83.4 L66.7 85.9 L61.5 87.7 L56.0 88.7 L50.5 89.1 L45.0 88.4 L39.5 87.9 L34.4 85.8 L29.8 82.8 L25.8 79.3 L21.3 76.5 L18.4 72.1 L14.8 68.2 L12.2 63.5 L10.9 58.5 L9.5 53.3 L7.9 47.9 L8.2 42.4 L9.8 37.1 L11.1 31.5 L12.2 25.4 L18.5 22.8 L23.0 19.4 L26.6 14.7 L32.9 14.3 L38.1 12.3' fill='none' stroke='rgba(70,115,170,.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.adventure .slot:disabled:nth-child(even) { rotate: none; border-radius: 0; }
.adventure .inventory .found { top: 12px; right: 22px; padding: 0 4px; font: 19px/26px 'Gochi Hand', 'Comic Sans MS', cursive; border: 0; border-radius: 0; background: none; color: #23406b; }
.adventure .inventory .found::before { content: ''; position: absolute; inset: -5px -12px -1px -12px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M39.6 14.5 L44.8 9.3 L51.2 11.3 L57.0 13.6 L63.8 11.9 L68.8 15.9 L74.0 18.9 L80.4 21.1 L84.1 26.2 L87.1 31.6 L90.9 36.7 L92.2 42.9 L94.5 49.0 L93.7 55.5 L92.0 61.7 L88.1 66.9 L83.5 71.3 L79.3 75.5 L74.1 78.5 L69.2 81.4 L63.8 83.2 L58.5 85.3 L52.8 86.6 L47.0 87.3 L40.9 87.6 L34.6 87.0 L28.4 85.2 L22.5 82.3 L17.5 78.2 L13.4 73.2 L9.9 67.7 L9.0 61.3 L7.4 55.2 L7.9 49.0 L11.0 43.3 L12.4 37.7 L14.9 32.4 L19.2 28.3 L22.1 23.3 L25.7 18.3 L32.0 17.1 L36.8 13.2 L43.1 13.3 L48.9 11.0 L55.2 10.0 L60.6 14.0 L65.8 16.7 L71.1 19.0 L77.5 20.6' fill='none' stroke='rgba(200,40,45,.85)' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
/* the shelf's jiggle runs only while the pointer is on it: clicking the shelf leaves keyboard focus on it, which kept the
   jiggle going after the pointer had left; with keyboard focus alone it now jiggles twice and settles */
.room-svg .shelf:not(:hover) .itm { animation: none; }
#hot-shelf:focus-visible:not(:hover) .itm { animation: shelf-jig var(--d) ease-in-out 2 both; }

/* ================================================================ round 198
   the empty slots' question marks are pen-drawn too (two hands, taking turns), matching the loops round them */
.adventure .slot:disabled .q { display: block; width: 34%; height: 52%; font-size: 0; color: transparent; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 60'%3E%3Cpath d='M9 17 C9 6 31 4 32 16 C33 25 21 27 20 36 L20 41' fill='none' stroke='rgba(70,115,170,.85)' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M20.5 51 L20 52' fill='none' stroke='rgba(70,115,170,.85)' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.adventure .slot:disabled:nth-child(even) .q { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 60'%3E%3Cpath d='M8 19 C7 8 27 3 31 13 C34 22 23 26 21 34 C20.5 37 20.5 39 21 42' fill='none' stroke='rgba(70,115,170,.85)' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M21 51.5 L22 52' fill='none' stroke='rgba(70,115,170,.85)' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E"); }
/* each loop is drawn on its own layer, so a loop that comes round a second time is turned or flipped (the second open
   one is mirrored), without turning the question mark */
.adventure .slot:disabled { position: relative; background: none; }
.adventure .slot:disabled::before { content: ''; position: absolute; inset: 0; background: center / 100% 100% no-repeat; pointer-events: none; }

.adventure .slot:disabled:nth-child(4n+1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M23.6 17.9 L29.3 15.3 L34.6 12.3 L40.6 11.0 L46.6 10.2 L52.9 7.3 L59.4 7.9 L64.6 12.6 L70.6 14.3 L74.7 18.9 L80.1 21.8 L82.2 27.7 L83.8 33.1 L86.5 37.9 L86.1 43.5 L86.9 48.6 L88.8 54.0 L88.5 59.6 L87.0 65.0 L85.1 70.5 L82.9 76.3 L79.3 81.3 L74.4 85.5 L68.9 88.7 L62.7 90.6 L56.3 91.4 L49.9 91.0 L43.8 89.4 L38.2 87.1 L33.1 84.3 L28.3 81.2 L24.1 77.5 L20.6 73.2 L16.0 69.7 L13.5 64.6 L11.0 59.5 L10.6 53.9 L8.0 48.2 L8.8 42.4 L12.4 37.3 L14.1 31.9 L16.2 26.3 L20.1 21.7 L24.0 17.0 L30.2 15.2 L34.9 10.9 L41.1 9.4 L47.5 9.9 L53.7 8.4' fill='none' stroke='rgba(70,115,170,.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.adventure .slot:disabled:nth-child(4n+2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M63.4 11.0 L66.3 16.9 L70.2 19.4 L73.7 22.3 L77.8 24.6 L79.7 28.9 L82.3 32.5 L84.9 36.2 L88.4 39.9 L89.4 44.5 L90.9 49.1 L90.8 54.0 L90.2 58.8 L89.6 63.7 L88.8 68.9 L86.4 73.6 L83.3 77.8 L79.5 81.6 L75.0 84.4 L69.9 86.1 L64.9 87.7 L59.8 88.6 L54.7 88.7 L49.7 88.8 L44.8 88.2 L40.0 87.1 L35.4 85.5 L30.9 83.7 L26.8 81.1 L22.8 78.4 L18.8 75.3 L16.2 71.3 L14.5 66.8 L11.5 62.8 L10.4 58.1 L9.8 53.4 L9.2 48.6 L9.9 43.8 L10.6 39.1 L13.1 34.8 L13.1 29.3 L15.5 24.8 L20.6 22.4 L22.5 17.0 L26.7 13.6 L31.9 11.8 L36.8 9.6 L42.1 8.7 L47.3 6.4' fill='none' stroke='rgba(70,115,170,.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.adventure .slot:disabled:nth-child(4n+3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M29.3 17.2 L35.1 14.5 L40.5 10.2 L47.2 9.1 L53.7 12.4 L60.6 10.9 L67.2 12.5 L72.0 17.3 L78.8 19.3 L83.0 24.6 L87.9 29.3 L90.2 35.6 L92.7 41.8 L91.3 48.5 L89.5 54.6 L87.7 60.5 L84.3 65.5 L80.9 70.3 L77.5 75.1 L72.8 78.7 L68.2 82.6 L63.0 86.3 L57.1 89.1 L50.5 90.7 L43.6 91.3 L36.6 90.4 L30.0 88.0 L24.2 84.2 L19.2 79.5 L15.9 73.6 L12.8 67.9 L11.6 61.6 L10.0 55.6 L9.9 49.5 L12.1 43.6 L13.5 37.9 L15.6 32.3 L17.2 25.9 L22.4 22.0 L27.0 17.6 L33.1 15.4 L38.8 12.6 L45.2 11.8 L51.6 11.5 L58.2 11.1 L64.7 12.4 L71.8 13.4 L77.4 17.4 L83.7 20.9' fill='none' stroke='rgba(70,115,170,.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.adventure .slot:disabled:nth-child(4n+4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M26.8 13.4 L32.5 11.4 L38.9 12.0 L44.8 14.2 L49.9 14.2 L54.9 14.9 L60.3 14.3 L64.8 16.9 L70.0 18.1 L75.0 20.3 L79.7 23.2 L83.7 26.9 L85.8 32.0 L89.1 36.4 L91.3 41.5 L92.4 47.0 L93.6 52.6 L92.4 58.2 L90.1 63.4 L87.4 68.3 L84.1 72.7 L80.4 76.7 L76.4 80.6 L71.7 83.4 L66.7 85.9 L61.5 87.7 L56.0 88.7 L50.5 89.1 L45.0 88.4 L39.5 87.9 L34.4 85.8 L29.8 82.8 L25.8 79.3 L21.3 76.5 L18.4 72.1 L14.8 68.2 L12.2 63.5 L10.9 58.5 L9.5 53.3 L7.9 47.9 L8.2 42.4 L9.8 37.1 L11.1 31.5 L12.2 25.4 L18.5 22.8 L23.0 19.4 L26.6 14.7 L32.9 14.3 L38.1 12.3' fill='none' stroke='rgba(70,115,170,.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.adventure .slot:disabled:nth-child(n+5)::before { rotate: 180deg; }
.adventure .slot:disabled:nth-child(6)::before { rotate: none; scale: -1 1; }
.adventure .slot:disabled:nth-child(7)::before { rotate: 110deg; }

/* "Just read it all" lights up on hover when it's open, too, just as it does closed */
.readall[open]:hover { translate: 0 -2px; box-shadow: 0 4px 0 #3a3446; background-color: #2e2937; border-color: #4a4358; }
/* a line that ends in buttons (Get in touch, the channels) keeps its words on the rule: the row lines up at the top
   instead of centring the words against the taller buttons */
.adventure .console .dialog .line:has(.links) { align-items: flex-start; }

/* ================================================================ round 199
   the wall tape: the top end is folded over the wall's top edge, so it has no cut there -- the strip on top of the wall
   just runs on out of sight; only the bottom end (on the paper) is torn */
.adventure .dialog::before, .adventure .inventory::before { clip-path: polygon(0 100%, 100% 100%, 94% 0, 6% 0); }

/* Info's top bar is a wooden sign hung from the ceiling on two cords (it stays put when the camera zooms into the room,
   so it reads as hanging in front of it): a painted plank in the room's desk wood, grain running along it, a lighter top
   edge and a darker underside, and a screw eye at each top corner the cords tie to */
body.info .rug::before {
  background: linear-gradient(rgba(255, 225, 180, .35) 0 3px, transparent 3px calc(100% - 6px), rgba(60, 30, 10, .35) calc(100% - 6px)),
    repeating-linear-gradient(0deg, rgba(70, 35, 10, .16) 0 1.5px, transparent 1.5px 7px, rgba(255, 225, 180, .1) 7px 9px, transparent 9px 19px, rgba(70, 35, 10, .1) 19px 21px, transparent 21px 31px),
    url('../media/fx-paper.webp') 0 0 / 320px, linear-gradient(#c99560, #b07a46);
  background-blend-mode: normal, normal, multiply, normal;
  border-radius: 10px; rotate: none;
  filter: drop-shadow(0 6px 0 #6e4522) drop-shadow(0 16px 18px rgba(10, 5, 20, .45)); }
body.info .rug::after, body.info .rug .channels::after {
  content: ''; position: absolute; z-index: -2; top: -120px; width: 4px; height: 128px; rotate: none; clip-path: none; border-radius: 2px;
  background: repeating-linear-gradient(170deg, #2b2833 0 3px, #4a4552 3px 6px); box-shadow: 2px 3px 4px rgba(0, 0, 0, .35); }
body.info .rug::after { left: 64px; right: auto; }
body.info .rug .channels::after { right: 64px; left: auto; }
/* the screw eyes */
body.info .rug .me::after, body.info .rug .channels::before { content: ''; position: absolute; z-index: -1; top: -6px; width: 14px; height: 14px; border-radius: 50%;
  border: 3.5px solid #8a8f98; box-sizing: border-box; background: transparent; pointer-events: none; }
body.info .rug .me::after { left: 59px; }
body.info .rug .channels::before { right: 59px; }
/* "Just read it all" hovers the same open or closed: it lifts, lights up and shows its ledge underneath */
.readall:hover, .readall:not([open]):hover, .readall[open]:hover { translate: 0 -2px; box-shadow: 0 4px 0 #3a3446; background-color: #2e2937; border-color: #4a4358; }

/* a ladybug coming back crawls in slowly from the edge it ran off */
.bug.crawl { transition: translate 3.5s linear, rotate .3s; }
.adventure .inventory .found { top: 4px; }
.spot-x { right: 7px; }   /* 2px further left */
.adventure .console .dialog .speaker { font-size: 31px; }   /* a size up from Inventory, so the two read as the same size */

/* the slot loops: every one goes round one and a half to two times, each pass a little off the last (Rowan's favourites) */
.adventure .slot:disabled:nth-child(4n+1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M37.7 9.9 L43.1 7.7 L48.9 6.4 L55.0 6.0 L61.0 6.7 L66.9 8.5 L72.3 11.2 L77.0 14.8 L81.1 19.0 L84.4 23.7 L87.0 28.6 L88.9 33.8 L90.3 39.0 L91.0 44.2 L91.2 49.4 L90.9 54.6 L90.0 59.7 L88.4 64.7 L86.1 69.5 L83.2 73.9 L79.7 77.9 L75.6 81.3 L71.0 84.2 L66.1 86.5 L61.0 88.1 L55.7 89.2 L50.3 89.7 L44.8 89.6 L39.3 89.0 L33.9 87.8 L28.6 85.8 L23.6 83.2 L19.1 79.8 L15.2 75.7 L12.0 71.1 L9.9 65.9 L8.7 60.6 L8.5 55.2 L9.2 49.9 L10.7 44.9 L12.7 40.3 L15.2 36.0 L17.9 32.0 L20.8 28.2 L23.9 24.6 L27.3 21.2 L31.1 17.9 L35.3 15.0 L39.9 12.5 L45.0 10.6 L50.5 9.5 L56.1 9.4 L61.6 10.3 L66.9 12.2 L71.8 14.9 L76.0 18.4 L79.5 22.5 L82.4 26.9 L84.5 31.6 L86.1 36.3 L87.1 41.1 L87.7 45.9 L87.7 50.7 L87.3 55.4 L86.3 60.1 L84.7 64.6 L82.5 68.9 L79.6 72.9 L76.3 76.4 L72.4 79.4 L68.1 81.9 L63.5 83.8 L58.8 85.2 L53.9 86.0 L48.9 86.4' fill='none' stroke='rgba(70,115,170,.8)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.adventure .slot:disabled:nth-child(4n+2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M39.0 10.2 L44.4 8.6 L50.1 7.5 L56.0 7.2 L61.9 7.8 L67.7 9.3 L73.2 11.8 L78.1 15.2 L82.2 19.3 L85.5 24.1 L87.8 29.3 L89.2 34.6 L89.9 40.0 L89.9 45.2 L89.5 50.2 L88.6 55.1 L87.5 59.9 L86.1 64.6 L84.2 69.3 L82.0 73.9 L79.1 78.4 L75.5 82.5 L71.3 86.2 L66.5 89.1 L61.1 91.3 L55.4 92.5 L49.6 92.7 L43.8 92.0 L38.3 90.4 L33.1 88.0 L28.4 85.1 L24.1 81.7 L20.3 77.8 L17.0 73.7 L14.3 69.3 L12.0 64.6 L10.4 59.7 L9.5 54.6 L9.3 49.5 L9.8 44.4 L11.1 39.5 L13.1 34.8 L15.7 30.4 L18.9 26.4 L22.5 22.8 L26.4 19.6 L30.7 16.7 L35.3 14.3 L40.1 12.2 L45.3 10.6 L50.7 9.7 L56.3 9.4 L61.9 10.0 L67.4 11.5 L72.5 14.0 L77.1 17.3 L80.9 21.4 L83.9 26.0 L86.0 30.9 L87.2 36.0 L87.7 41.1 L87.6 46.0 L87.1 50.7 L86.2 55.3 L85.1 59.8 L83.8 64.2 L82.0 68.6 L79.9 73.0 L77.1 77.2 L73.8 81.1 L69.7 84.5 L65.1 87.3 L60.0 89.3 L54.5 90.3 L49.0 90.4 L43.6 89.6 L38.4 88.0 L33.5 85.7 L29.1 82.8 L25.2 79.5 L21.7 75.9 L18.6 71.9 L16.1 67.7 L14.0 63.3 L12.6 58.6 L11.7 53.8 L11.6 49.0 L12.2 44.2 L13.5 39.6 L15.5 35.2 L18.0 31.1 L21.1 27.4' fill='none' stroke='rgba(70,115,170,.8)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.adventure .slot:disabled:nth-child(4n+3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M28.6 13.9 L33.6 11.2 L38.9 9.0 L44.5 7.3 L50.4 6.4 L56.5 6.2 L62.5 7.0 L68.4 8.8 L73.9 11.5 L78.7 15.1 L82.7 19.5 L85.8 24.5 L88.0 29.7 L89.4 35.1 L90.0 40.5 L90.0 45.7 L89.6 50.8 L88.9 55.7 L87.8 60.6 L86.4 65.4 L84.6 70.3 L82.2 75.0 L79.1 79.5 L75.4 83.6 L70.9 87.2 L65.8 90.0 L60.3 91.9 L54.5 92.8 L48.6 92.7 L42.8 91.7 L37.3 89.8 L32.3 87.3 L27.7 84.2 L23.6 80.6 L19.9 76.8 L16.8 72.6 L14.1 68.1 L12.0 63.4 L10.6 58.5 L9.8 53.4 L9.7 48.3 L10.5 43.3 L11.9 38.4 L14.1 33.8 L16.8 29.5 L20.0 25.6 L23.7 22.1 L27.7 19.0 L32.0 16.2 L36.7 13.8 L41.6 11.9 L46.9 10.6 L52.3 9.9 L57.9 10.0 L63.4 11.0 L68.7 12.9 L73.5 15.8 L77.7 19.4 L81.0 23.7 L83.5 28.4 L85.1 33.3 L86.0 38.2 L86.3 43.1 L86.1 47.8 L85.5 52.3 L84.7 56.7 L83.7 61.1 L82.4 65.5 L80.6 69.9 L78.3 74.1 L75.4 78.2 L71.8 81.9 L67.5 84.9 L62.7 87.3 L57.5 88.7 L52.2 89.2 L46.8 88.8 L41.6 87.5 L36.8 85.5 L32.4 83.0 L28.4 79.9 L24.8 76.6' fill='none' stroke='rgba(70,115,170,.8)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.adventure .slot:disabled:nth-child(4n+4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M26.3 23.1 L30.1 20.2 L34.2 17.6 L38.5 15.5 L43.2 13.8 L48.2 12.6 L53.3 12.0 L58.6 12.2 L63.8 13.2 L68.8 15.0 L73.4 17.7 L77.4 21.2 L80.6 25.2 L83.0 29.7 L84.6 34.4 L85.5 39.1 L85.8 43.8 L85.7 48.4 L85.3 52.9 L84.5 57.3 L83.6 61.6 L82.3 66.0 L80.6 70.5 L78.4 74.8 L75.5 79.0 L72.0 82.9 L67.7 86.1 L62.8 88.6 L57.5 90.3 L52.0 90.9 L46.4 90.6 L41.0 89.3 L36.0 87.3 L31.3 84.7 L27.1 81.5 L23.4 78.0 L20.1 74.2 L17.2 70.2 L14.7 65.9 L12.8 61.4 L11.4 56.7 L10.6 51.8 L10.4 46.8 L11.1 41.8 L12.4 37.0 L14.5 32.4 L17.2 28.1 L20.4 24.1 L24.1 20.6 L28.2 17.4 L32.7 14.7 L37.5 12.4 L42.6 10.5 L48.0 9.3 L53.6 8.8 L59.3 9.0 L65.0 10.1 L70.4 12.1 L75.3 15.0 L79.6 18.8 L83.2 23.1 L85.9 27.9 L87.7 33.0 L88.8 38.1 L89.2 43.3 L89.1 48.3 L88.7 53.1 L87.9 58.0 L86.8 62.7 L85.3 67.5 L83.4 72.3 L80.9 77.0 L77.7 81.5 L73.8 85.6 L69.1 89.1 L63.9 91.8 L58.1 93.5 L52.1 94.2 L46.1 93.8 L40.3 92.5 L34.8 90.4 L29.8 87.6 L25.2 84.2 L21.1 80.5 L17.5 76.4 L14.3 72.0 L11.7 67.3 L9.5 62.4 L8.0 57.2 L7.1 51.9 L7.0 46.5 L7.7 41.1 L9.2 35.9 L11.4 30.9 L14.4 26.2 L17.9 21.9 L21.9 18.1' fill='none' stroke='rgba(70,115,170,.8)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.adventure .console .dialog .speaker { font-size: 30px; }

/* ================================================================ round 202: Info's hanging sign, restyled.
   The plank: flat warm wood like the desk's cut paper, its grain drawn as long lines that bend round two knots, a lit top
   edge and a darker underside (no photo-ish noise). It hangs on proper chains (alternating face-on and edge-on links,
   dark-outlined steel) from an eye bolt screwed into each end of the plank's top */
body.info .rug::before {
  background: linear-gradient(rgba(255, 228, 185, .55) 0 4px, transparent 4px calc(100% - 7px), rgba(70, 35, 10, .4) calc(100% - 7px)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1300 120' preserveAspectRatio='none'%3E%3Cpath d='M-20 5.2 L20 6.8 L60 8.2 L100 9.1 L140 9.2 L180 8.8 L220 8.1 L260 7.6 L300 7.5 L340 7.9 L380 8.5 L420 9.0 L460 9.1 L500 8.5 L540 7.2 L580 5.6 L620 4.1 L660 3.0 L700 2.6 L740 2.9 L780 3.5 L820 4.2 L860 4.5 L900 4.3 L940 3.8 L980 3.2 L1020 3.0 L1060 3.3 L1100 4.4 L1140 5.9 L1180 7.5 L1220 8.8 L1260 9.4 L1300 9.4' fill='none' stroke='rgba(255,226,180,.28)' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M-20 26.0 L20 25.9 L60 25.3 L100 24.4 L140 23.7 L180 23.4 L220 23.2 L260 22.4 L300 20.5 L340 19.8 L380 21.0 L420 21.6 L460 20.8 L500 19.3 L540 18.4 L580 18.2 L620 18.7 L660 19.5 L700 20.4 L740 20.9 L780 20.9 L820 20.5 L860 20.1 L900 20.0 L940 20.5 L980 21.6 L1020 23.1 L1060 24.6 L1100 25.7 L1140 26.2 L1180 25.9 L1220 25.1 L1260 24.2 L1300 23.5' fill='none' stroke='rgba(105,58,22,.32)' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-20 36.9 L20 36.0 L60 35.5 L100 35.6 L140 35.9 L180 36.2 L220 35.2 L260 32.0 L300 27.1 L340 25.0 L380 26.9 L420 29.2 L460 30.6 L500 31.3 L540 32.4 L580 33.4 L620 34.1 L660 34.2 L700 34.0 L740 33.7 L780 33.6 L820 34.1 L860 35.1 L900 36.0 L940 36.8 L980 38.3 L1020 39.2 L1060 38.7 L1100 37.6 L1140 36.5 L1180 35.6 L1220 35.3 L1260 35.4 L1300 35.7' fill='none' stroke='rgba(105,58,22,.32)' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-20 46.8 L20 47.0 L60 47.3 L100 47.1 L140 46.4 L180 45.3 L220 42.9 L260 38.6 L300 32.9 L340 31.4 L380 36.5 L420 42.5 L460 46.1 L500 46.9 L540 47.2 L580 47.0 L620 46.7 L660 46.7 L700 47.1 L740 48.1 L780 49.4 L820 50.6 L860 50.2 L900 47.1 L940 45.3 L980 47.1 L1020 47.9 L1060 46.9 L1100 46.5 L1140 46.5 L1180 46.8 L1220 47.0 L1260 46.7 L1300 46.0' fill='none' stroke='rgba(255,226,180,.28)' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M-20 57.7 L20 57.2 L60 56.1 L100 55.0 L140 54.2 L180 53.9 L220 55.7 L260 60.7 L300 68.0 L340 70.8 L380 66.7 L420 61.9 L460 59.4 L500 59.0 L540 58.9 L580 59.3 L620 60.1 L660 61.2 L700 62.2 L740 62.6 L780 62.4 L820 61.4 L860 58.3 L900 52.6 L940 50.1 L980 53.7 L1020 57.0 L1060 57.3 L1100 57.6 L1140 57.4 L1180 56.8 L1220 55.8 L1260 54.7 L1300 54.1' fill='none' stroke='rgba(105,58,22,.32)' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-20 71.4 L20 70.8 L60 70.8 L100 71.6 L140 72.9 L180 74.5 L220 76.4 L260 78.9 L300 81.7 L340 82.3 L380 79.8 L420 77.1 L460 76.2 L500 76.8 L540 77.7 L580 78.5 L620 78.7 L660 78.2 L700 77.0 L740 75.5 L780 74.0 L820 72.9 L860 70.0 L900 63.3 L940 60.8 L980 67.9 L1020 73.4 L1060 72.9 L1100 72.1 L1140 71.3 L1180 70.9 L1220 71.1 L1260 72.1 L1300 73.6' fill='none' stroke='rgba(105,58,22,.32)' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-20 85.5 L20 87.0 L60 88.6 L100 90.0 L140 90.8 L180 90.8 L220 90.5 L260 90.1 L300 90.2 L340 90.4 L380 90.4 L420 90.7 L460 91.1 L500 91.1 L540 90.4 L580 89.1 L620 87.5 L660 86.0 L700 85.0 L740 84.7 L780 85.0 L820 85.6 L860 87.9 L900 93.0 L940 94.8 L980 89.4 L1020 84.8 L1060 84.6 L1100 85.1 L1140 86.2 L1180 87.7 L1220 89.3 L1260 90.5 L1300 91.1' fill='none' stroke='rgba(255,226,180,.28)' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M-20 102.1 L20 102.8 L60 102.7 L100 102.0 L140 101.2 L180 100.6 L220 100.5 L260 100.7 L300 101.2 L340 101.6 L380 101.5 L420 100.7 L460 99.3 L500 97.7 L540 96.3 L580 95.4 L620 95.3 L660 95.8 L700 96.6 L740 97.4 L780 97.7 L820 97.6 L860 98.3 L900 100.9 L940 102.1 L980 99.6 L1020 98.4 L1060 100.0 L1100 101.5 L1140 102.6 L1180 103.0 L1220 102.7 L1260 101.9 L1300 101.0' fill='none' stroke='rgba(105,58,22,.32)' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-20 115.1 L20 114.1 L60 113.3 L100 112.9 L140 113.0 L180 113.4 L220 113.7 L260 113.5 L300 112.6 L340 111.3 L380 109.8 L420 108.5 L460 107.8 L500 107.9 L540 108.6 L580 109.7 L620 110.6 L660 111.2 L700 111.2 L740 110.9 L780 110.6 L820 110.6 L860 111.4 L900 112.8 L940 113.9 L980 115.2 L1020 116.2 L1060 116.3 L1100 115.8 L1140 114.8 L1180 113.7 L1220 112.9 L1260 112.7 L1300 112.9' fill='none' stroke='rgba(105,58,22,.32)' stroke-width='2.2' stroke-linecap='round'/%3E%3Cellipse cx='330' cy='52' rx='22' ry='9' fill='rgba(120,66,26,.28)'/%3E%3Cellipse cx='330' cy='52' rx='12.1' ry='5.0' fill='none' stroke='rgba(95,50,18,.45)' stroke-width='2'/%3E%3Cellipse cx='330' cy='52' rx='29.7' ry='14.4' fill='none' stroke='rgba(105,58,22,.3)' stroke-width='2'/%3E%3Cellipse cx='930' cy='74' rx='17' ry='7' fill='rgba(120,66,26,.28)'/%3E%3Cellipse cx='930' cy='74' rx='9.4' ry='3.9' fill='none' stroke='rgba(95,50,18,.45)' stroke-width='2'/%3E%3Cellipse cx='930' cy='74' rx='23.0' ry='11.2' fill='none' stroke='rgba(105,58,22,.3)' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat, #c08a52;
  background-blend-mode: normal; border-radius: 8px;
  filter: drop-shadow(0 6px 0 #6e4522) drop-shadow(0 16px 18px rgba(10, 5, 20, .45)); }
body.info .rug::after, body.info .rug .channels::after {
  top: -150px; width: 16px; height: 146px; border-radius: 0; box-shadow: none; z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 26' width='16' height='26'%3E%3Crect x='2.5' y='1.5' width='11' height='15' rx='5.5' fill='none' stroke='%2325222b' stroke-width='5'/%3E%3Crect x='2.5' y='1.5' width='11' height='15' rx='5.5' fill='none' stroke='%23a7aeb8' stroke-width='2.2'/%3E%3Crect x='5.5' y='12' width='5' height='16' rx='2.5' fill='%2325222b'/%3E%3Crect x='6.8' y='13.3' width='2.4' height='13.4' rx='1.2' fill='%23cfd5dc'/%3E%3C/svg%3E") 0 100% / 16px 26px repeat-y; filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, .35)); }
body.info .rug::after { left: 58px; }
body.info .rug .channels::after { right: 58px; }
body.info .rug .me::after, body.info .rug .channels::before {
  top: -12px; width: 26px; height: 32px; border: 0; border-radius: 0; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 32' width='26' height='32'%3E%3Cellipse cx='13' cy='28' rx='9' ry='3.4' fill='%2325222b'/%3E%3Cellipse cx='13' cy='27.3' rx='7' ry='2.2' fill='%238f97a2'/%3E%3Crect x='10.5' y='17' width='5' height='11' fill='%2325222b'/%3E%3Crect x='11.8' y='17' width='2.4' height='10' fill='%23b9c0c9'/%3E%3Ccircle cx='13' cy='10' r='7.5' fill='none' stroke='%2325222b' stroke-width='5.5'/%3E%3Ccircle cx='13' cy='10' r='7.5' fill='none' stroke='%23b9c0c9' stroke-width='2.4'/%3E%3C/svg%3E") 0 0 / 26px 32px no-repeat; filter: drop-shadow(1px 2px 1px rgba(0, 0, 0, .3)); }
body.info .rug .me::after { left: 53px; }
body.info .rug .channels::before { right: 53px; }
.adventure .console .dialog .speaker { font-size: 29px; }

/* ================================================================ round 203: the sign's chains, better made. Real
   interlocking links: face-on loops and edge-on loops taking turns, each face loop's bars crossing in front of the edge
   loops threaded through it, a glint on each face loop; the bottom link is an edge-on loop that threads through the eye
   bolt's ring. The eye bolt now sits on the plank's top edge (its washer on the wood, the ring standing above it) */
body.info .rug::after, body.info .rug .channels::after { top: -186px; width: 20px; height: 168px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 168' width='20' height='168'%3E%3Crect x='7' y='142' width='6' height='26' rx='3' fill='%2325222b'/%3E%3Crect x='8.6' y='144' width='2.8' height='22' rx='1.4' fill='%23c3cad2'/%3E%3Crect x='7' y='118' width='6' height='26' rx='3' fill='%2325222b'/%3E%3Crect x='8.6' y='120' width='2.8' height='22' rx='1.4' fill='%23c3cad2'/%3E%3Crect x='7' y='94' width='6' height='26' rx='3' fill='%2325222b'/%3E%3Crect x='8.6' y='96' width='2.8' height='22' rx='1.4' fill='%23c3cad2'/%3E%3Crect x='7' y='70' width='6' height='26' rx='3' fill='%2325222b'/%3E%3Crect x='8.6' y='72' width='2.8' height='22' rx='1.4' fill='%23c3cad2'/%3E%3Crect x='7' y='46' width='6' height='26' rx='3' fill='%2325222b'/%3E%3Crect x='8.6' y='48' width='2.8' height='22' rx='1.4' fill='%23c3cad2'/%3E%3Crect x='7' y='22' width='6' height='26' rx='3' fill='%2325222b'/%3E%3Crect x='8.6' y='24' width='2.8' height='22' rx='1.4' fill='%23c3cad2'/%3E%3Crect x='7' y='-2' width='6' height='26' rx='3' fill='%2325222b'/%3E%3Crect x='8.6' y='0' width='2.8' height='22' rx='1.4' fill='%23c3cad2'/%3E%3Crect x='7' y='-26' width='6' height='26' rx='3' fill='%2325222b'/%3E%3Crect x='8.6' y='-24' width='2.8' height='22' rx='1.4' fill='%23c3cad2'/%3E%3Crect x='7' y='-50' width='6' height='26' rx='3' fill='%2325222b'/%3E%3Crect x='8.6' y='-48' width='2.8' height='22' rx='1.4' fill='%23c3cad2'/%3E%3Crect x='3' y='127' width='14' height='20' rx='7' fill='none' stroke='%2325222b' stroke-width='5.5'/%3E%3Crect x='3' y='127' width='14' height='20' rx='7' fill='none' stroke='%239aa3ad' stroke-width='2.6'/%3E%3Cpath d='M4.6 140 V134 a5.4 5.4 0 0 1 5.4 -5.4' fill='none' stroke='%23e6eaee' stroke-width='1.1' stroke-linecap='round'/%3E%3Crect x='3' y='103' width='14' height='20' rx='7' fill='none' stroke='%2325222b' stroke-width='5.5'/%3E%3Crect x='3' y='103' width='14' height='20' rx='7' fill='none' stroke='%239aa3ad' stroke-width='2.6'/%3E%3Cpath d='M4.6 116 V110 a5.4 5.4 0 0 1 5.4 -5.4' fill='none' stroke='%23e6eaee' stroke-width='1.1' stroke-linecap='round'/%3E%3Crect x='3' y='79' width='14' height='20' rx='7' fill='none' stroke='%2325222b' stroke-width='5.5'/%3E%3Crect x='3' y='79' width='14' height='20' rx='7' fill='none' stroke='%239aa3ad' stroke-width='2.6'/%3E%3Cpath d='M4.6 92 V86 a5.4 5.4 0 0 1 5.4 -5.4' fill='none' stroke='%23e6eaee' stroke-width='1.1' stroke-linecap='round'/%3E%3Crect x='3' y='55' width='14' height='20' rx='7' fill='none' stroke='%2325222b' stroke-width='5.5'/%3E%3Crect x='3' y='55' width='14' height='20' rx='7' fill='none' stroke='%239aa3ad' stroke-width='2.6'/%3E%3Cpath d='M4.6 68 V62 a5.4 5.4 0 0 1 5.4 -5.4' fill='none' stroke='%23e6eaee' stroke-width='1.1' stroke-linecap='round'/%3E%3Crect x='3' y='31' width='14' height='20' rx='7' fill='none' stroke='%2325222b' stroke-width='5.5'/%3E%3Crect x='3' y='31' width='14' height='20' rx='7' fill='none' stroke='%239aa3ad' stroke-width='2.6'/%3E%3Cpath d='M4.6 44 V38 a5.4 5.4 0 0 1 5.4 -5.4' fill='none' stroke='%23e6eaee' stroke-width='1.1' stroke-linecap='round'/%3E%3Crect x='3' y='7' width='14' height='20' rx='7' fill='none' stroke='%2325222b' stroke-width='5.5'/%3E%3Crect x='3' y='7' width='14' height='20' rx='7' fill='none' stroke='%239aa3ad' stroke-width='2.6'/%3E%3Cpath d='M4.6 20 V14 a5.4 5.4 0 0 1 5.4 -5.4' fill='none' stroke='%23e6eaee' stroke-width='1.1' stroke-linecap='round'/%3E%3Crect x='3' y='-17' width='14' height='20' rx='7' fill='none' stroke='%2325222b' stroke-width='5.5'/%3E%3Crect x='3' y='-17' width='14' height='20' rx='7' fill='none' stroke='%239aa3ad' stroke-width='2.6'/%3E%3Cpath d='M4.6 -4 V-10 a5.4 5.4 0 0 1 5.4 -5.4' fill='none' stroke='%23e6eaee' stroke-width='1.1' stroke-linecap='round'/%3E%3Crect x='3' y='-41' width='14' height='20' rx='7' fill='none' stroke='%2325222b' stroke-width='5.5'/%3E%3Crect x='3' y='-41' width='14' height='20' rx='7' fill='none' stroke='%239aa3ad' stroke-width='2.6'/%3E%3Cpath d='M4.6 -28 V-34 a5.4 5.4 0 0 1 5.4 -5.4' fill='none' stroke='%23e6eaee' stroke-width='1.1' stroke-linecap='round'/%3E%3Crect x='3' y='-65' width='14' height='20' rx='7' fill='none' stroke='%2325222b' stroke-width='5.5'/%3E%3Crect x='3' y='-65' width='14' height='20' rx='7' fill='none' stroke='%239aa3ad' stroke-width='2.6'/%3E%3Cpath d='M4.6 -52 V-58 a5.4 5.4 0 0 1 5.4 -5.4' fill='none' stroke='%23e6eaee' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 20px 168px no-repeat; }
body.info .rug::after { left: 56px; }
body.info .rug .channels::after { right: 56px; }
body.info .rug .me::after, body.info .rug .channels::before { top: -28px; }

/* ================================================================ round 204: Info's sign is Rowan's weathered board photo
   (grey wood with yellow lichen and old nail holes), turned to lie along the sign and stretched a little, with a lit
   top edge and a shaded underside so it reads as a thick plank */
body.info .rug::before {
  background: linear-gradient(rgba(255, 245, 225, .22) 0 3px, transparent 3px calc(100% - 7px), rgba(10, 8, 12, .45) calc(100% - 7px)),
    url('../media/sign-wood.webp') center / 100% 100% no-repeat, #4d463f;
  filter: drop-shadow(0 6px 0 #26211e) drop-shadow(0 16px 18px rgba(10, 5, 20, .45)); }

/* the sign's chains and eye bolts in plain steel: shaded, a glint on the lit side and a shadow on the other, no outline */
body.info .rug::after, body.info .rug .channels::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 168' width='20' height='168'%3E%3Crect x='7.5' y='142' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='144' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='118' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='120' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='94' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='96' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='70' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='72' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='46' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='48' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='22' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='24' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='-2' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='0' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='-26' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='-24' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='-50' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='-48' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='3.5' y='127' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 140 V133.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 134 V140.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='103' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 116 V109.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 110 V116.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='79' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 92 V85.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 86 V92.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='55' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 68 V61.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 62 V68.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='31' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 44 V37.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 38 V44.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='7' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 20 V13.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 14 V20.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='-17' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 -4 V-10.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 -10 V-3.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='-41' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 -28 V-34.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 -34 V-27.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='-65' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 -52 V-58.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 -58 V-51.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 20px 168px no-repeat; }
body.info .rug .me::after, body.info .rug .channels::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 32' width='26' height='32'%3E%3Cellipse cx='13' cy='28.2' rx='8' ry='2.8' fill='%235d636c'/%3E%3Cellipse cx='13' cy='27.4' rx='6.6' ry='1.8' fill='%23a3aab3'/%3E%3Crect x='11' y='16.5' width='4' height='11' fill='%23737a84'/%3E%3Crect x='11.6' y='16.5' width='1.3' height='10.5' fill='%23d0d5db'/%3E%3Ccircle cx='13' cy='10' r='7.2' fill='none' stroke='%23878e98' stroke-width='3.6'/%3E%3Cpath d='M6.6 12 A7 7 0 0 1 13 3' fill='none' stroke='%23e3e7eb' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M19.4 8 A7 7 0 0 1 13 17' fill='none' stroke='%23555b64' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 26px 32px no-repeat; }
/* the sign's board a little darker */
body.info .rug::before {
  background: linear-gradient(rgba(255, 245, 225, .18) 0 3px, transparent 3px calc(100% - 7px), rgba(10, 8, 12, .5) calc(100% - 7px)),
    linear-gradient(rgba(16, 12, 18, .28), rgba(16, 12, 18, .28)),
    url('../media/sign-wood.webp') center / 100% 100% no-repeat, #4d463f; }
/* the curtains: cut edge and shadow, but no paper-grain blend (on the dark tartan it left a pale halo round the edge) */
.papers > .curtains { filter: url(#cut-edge) drop-shadow(1px 3px 1.3px rgba(18, 12, 24, .5)); }

/* the sign's chains and eye bolts in plain steel: shaded, a glint on the lit side and a shadow on the other, no outline */
body.info .rug::after, body.info .rug .channels::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 168' width='20' height='168'%3E%3Crect x='7.5' y='142' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='144' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='108' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='110' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='74' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='76' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='40' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='42' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='6' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='8' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='-28' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='-26' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='3.5' y='128' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 141 V134.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 135 V141.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='94' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 107 V100.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 101 V107.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='60' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 73 V66.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 67 V73.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='26' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 39 V32.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 33 V39.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='-8' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 5 V-1.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 -1 V5.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='-42' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 -29 V-35.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 -35 V-28.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 20px 168px no-repeat; }
body.info .rug .me::after, body.info .rug .channels::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 32' width='26' height='32'%3E%3Cellipse cx='13' cy='28.2' rx='8' ry='2.8' fill='%235d636c'/%3E%3Cellipse cx='13' cy='27.4' rx='6.6' ry='1.8' fill='%23a3aab3'/%3E%3Crect x='11' y='16.5' width='4' height='11' fill='%23737a84'/%3E%3Crect x='11.6' y='16.5' width='1.3' height='10.5' fill='%23d0d5db'/%3E%3Ccircle cx='13' cy='10' r='7.2' fill='none' stroke='%23878e98' stroke-width='3.6'/%3E%3Cpath d='M6.6 12 A7 7 0 0 1 13 3' fill='none' stroke='%23e3e7eb' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M19.4 8 A7 7 0 0 1 13 17' fill='none' stroke='%23555b64' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 26px 32px no-repeat; }

/* the sign's chains and eye bolts in plain steel: shaded, a glint on the lit side and a shadow on the other, no outline */
body.info .rug::after, body.info .rug .channels::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 168' width='20' height='168'%3E%3Crect x='3.5' y='128' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 141 V134.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 135 V141.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='94' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 107 V100.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 101 V107.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='60' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 73 V66.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 67 V73.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='26' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 39 V32.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 33 V39.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='-8' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 5 V-1.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 -1 V5.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='3.5' y='-42' width='13' height='20' rx='6.5' fill='none' stroke='%23878e98' stroke-width='3.4'/%3E%3Cpath d='M5.2 -29 V-35.5 a4.8 4.8 0 0 1 4.8 -4.8' fill='none' stroke='%23e3e7eb' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M14.8 -35 V-28.5 a4.8 4.8 0 0 1 -4.8 4.8' fill='none' stroke='%23555b64' stroke-width='1.2' stroke-linecap='round'/%3E%3Crect x='7.5' y='142' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='144' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='108' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='110' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='74' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='76' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='40' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='42' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='6' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='8' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3Crect x='7.5' y='-28' width='5' height='26' rx='2.5' fill='%236f7680'/%3E%3Crect x='8.6' y='-26' width='1.6' height='22' rx='.8' fill='%23d5dae0'/%3E%3C/svg%3E") 0 0 / 20px 168px no-repeat; }
body.info .rug .me::after, body.info .rug .channels::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 32' width='26' height='32'%3E%3Cellipse cx='13' cy='28.2' rx='8' ry='2.8' fill='%235d636c'/%3E%3Cellipse cx='13' cy='27.4' rx='6.6' ry='1.8' fill='%23a3aab3'/%3E%3Crect x='11' y='16.5' width='4' height='11' fill='%23737a84'/%3E%3Crect x='11.6' y='16.5' width='1.3' height='10.5' fill='%23d0d5db'/%3E%3Ccircle cx='13' cy='10' r='7.2' fill='none' stroke='%23878e98' stroke-width='3.6'/%3E%3Cpath d='M6.6 12 A7 7 0 0 1 13 3' fill='none' stroke='%23e3e7eb' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M19.4 8 A7 7 0 0 1 13 17' fill='none' stroke='%23555b64' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 26px 32px no-repeat; }
/* the tape folded over the wall's top edge shows only a sliver above it */
.adventure .dialog::before, .adventure .inventory::before { top: -17px; height: 3px; clip-path: polygon(0 100%, 100% 100%, 97% 0, 3% 0); }

/* ================================================================ round 208: below the room, the wall the notebook pages
   are taped to (and the strip "Just read it all" sits on) is Rowan's weathered plank photo -- grey boards with yellow
   lichen, run upright -- a little darkened so the paper stands out; the console's top edge keeps its shadow */
.info .adventure { background: linear-gradient(rgba(14, 10, 16, .38), rgba(14, 10, 16, .38)), url('../media/wall-wood.webp') center top / 1500px auto repeat, #3a342f; }
.info .adventure .console { background: transparent; }
/* the plank wall: one photo, pinned to the bottom and scaled to cover (no repeats, no seams in the strip that shows) */
.info .adventure { background: linear-gradient(rgba(14, 10, 16, .38), rgba(14, 10, 16, .38)), url('../media/wall-wood.webp') center bottom / cover no-repeat, #3a342f; }

/* the plank wall, steady: it hangs from the top of the console (so it never shifts when the speech grows or "Just read
   it all" opens), 1500px wide and repeating side to side; the photo is stacked on a flipped copy of itself, so where it
   repeats downwards the boards carry on with no hard line */
.info .adventure { background: #2e2925; overflow: hidden; }
.info .adventure .console { position: relative; isolation: isolate; }
.info .adventure .console::before { content: ''; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 4000px; pointer-events: none;
  background: linear-gradient(rgba(14, 10, 16, .38), rgba(14, 10, 16, .38)), url('../media/wall-wood.webp') center top / 1500px auto repeat; }
.info .adventure .readall { position: relative; }

/* ================================================================ round 209: the room's Step back button is a scrap of
   the notebook paper: torn from the same ruled page (Rowan's watercolour scan, pale rule), a little crooked, written on
   in the blue-ink hand, with a soft shadow and no outline. On hover it lifts toward you and straightens; pressed, it
   flattens back onto the wall */
.hud-top > .hud-btn.back { font: 21px/1 'Gochi Hand', 'Comic Sans MS', cursive; color: #23406b; padding: 7px 16px 6px; border: 0; border-radius: 2px;
  background: linear-gradient(transparent 0 calc(100% - 7px), rgba(110, 160, 210, .45) calc(100% - 7px) calc(100% - 5.5px), transparent calc(100% - 5.5px)),
    url('../media/fx-watercolour.webp') 30px 20px / 370px, #fffdf6;
  background-blend-mode: normal, multiply, normal;
  box-shadow: none; rotate: -2.5deg; filter: url(#cut-edge) drop-shadow(0 2px 1.5px rgba(10, 5, 20, .35)) drop-shadow(0 6px 8px rgba(10, 5, 20, .3));
  transition: rotate .15s, scale .15s, filter .15s; }
.hud-top > .hud-btn.back:hover { rotate: 0deg; scale: 1.05; box-shadow: none; background-color: #fffdf6; translate: none;
  filter: url(#cut-edge) drop-shadow(0 3px 2px rgba(10, 5, 20, .35)) drop-shadow(0 10px 12px rgba(10, 5, 20, .35)); }
.hud-top > .hud-btn.back:active { scale: .98; translate: 0 1px; box-shadow: none; filter: url(#cut-edge) drop-shadow(0 1px 1px rgba(10, 5, 20, .4)); }
.info .adventure { overflow: clip; }   /* clips the wall without becoming a scroll box (overflow: hidden could be scrolled inside, and broke the room's sticky stage) */
/* the wall's top edge: a darker band of the same boards with a fine lit line under it (like the sign's underside), so
   the wall reads as a thick ledge; the console's old flat shadow line goes */
.info .adventure .console { box-shadow: none; }
.info .adventure .console::before {
  background: linear-gradient(rgba(10, 8, 12, .5) 0 10px, rgba(255, 240, 220, .2) 10px 11.5px, transparent 11.5px),
    linear-gradient(rgba(14, 10, 16, .38), rgba(14, 10, 16, .38)), url('../media/wall-wood.webp') center top / 1500px auto repeat; }
/* the sign: only its own shaded wood underside, no solid-colour strip behind it */
body.info .rug::before { filter: drop-shadow(0 16px 18px rgba(10, 5, 20, .45)); }
/* "Just read it all": its outline (and the ledge under it on hover) darker than the box, open or closed */
.readall { border-color: #121016; }
.readall:hover, .readall:not([open]):hover, .readall[open]:hover { border-color: #121016; box-shadow: 0 4px 0 #121016; }

/* the wall's top ledge, thinner and in perspective: its own strip of the boards, tipped back so the board lines run in
   toward the middle as they go away (like the floor), shaded, with a fine lit lip along the front edge */
.info .adventure .console::before { background: linear-gradient(rgba(14, 10, 16, .38), rgba(14, 10, 16, .38)), url('../media/wall-wood.webp') center top / 1500px auto repeat; }
.info .adventure .console::after { content: ''; position: absolute; z-index: -1; left: -60px; right: -60px; top: -6px; height: 12px; pointer-events: none;
  background: linear-gradient(transparent 0 calc(100% - 1.5px), rgba(255, 240, 220, .22) calc(100% - 1.5px)),
    linear-gradient(rgba(10, 8, 12, .55), rgba(10, 8, 12, .55)), url('../media/wall-wood.webp') center top / 1500px auto repeat-x;
  transform-origin: 50% 100%; transform: perspective(160px) rotateX(58deg); }
/* open, "Just read it all" only lights up on hover (no lift, no ledge); closed, it still lifts */
.readall[open]:hover { translate: none; box-shadow: none; }

/* ================================================================ round 210: "Just read it all" -- only its top bar is
   the button. Open, the bar keeps the box's colour with a dark rule under it, and the text below sits on a slightly
   lighter panel; hovering lights up just the bar (the text panel never reacts). Closed, the bar is the whole box, so it
   still lifts and lights up as before */
.readall[open], .readall[open]:hover { background-color: #322d3b; translate: none; box-shadow: none; }
.readall[open] summary { background: #26222d; border-bottom: 2px solid #121016; transition: background-color .15s, color .15s; }
.readall[open] summary:hover { background: #3a3446; }
.readall:not([open]) summary:hover { background: transparent; }
/* "Just read it all" never lifts on hover, open or closed: it only lights up */
.readall:hover, .readall:not([open]):hover, .readall[open]:hover { translate: none; box-shadow: none; }

/* ================================================================ round 215
   Lana's tail tip, curled over her body, casts a little shadow up onto her fur so it can be seen against her */
.room-svg .cat-tail-tip { filter: drop-shadow(0 -1.6px 1.1px rgba(18, 14, 24, .6)); }

/* the radio wakes up when you point at it (before it's switched on): a little hop and wobble, a puff from both
   speakers, the CD starts to turn and the EQ bars flicker */
.room-svg .radio:not(.playing):hover, .room-svg .radio:not(.playing):focus-visible { animation: radio-wake .6s cubic-bezier(.3, 1.4, .5, 1); transform-box: fill-box; transform-origin: 50% 100%; }
.room-svg .radio:not(.playing):hover .spk, .room-svg .radio:not(.playing):focus-visible .spk { animation: thump .22s ease-in-out 4 alternate; }
.room-svg .radio:not(.playing):hover .cd { animation: cd-spin 2.4s linear infinite; }
.room-svg .radio:not(.playing):hover .eq rect { animation: eq .5s ease-in-out infinite alternate; }
.room-svg .radio:not(.playing):hover .eq rect:nth-child(2) { animation-delay: -.25s; }
.room-svg .radio:not(.playing):hover .eq rect:nth-child(3) { animation-delay: -.1s; animation-duration: .4s; }
@keyframes radio-wake { 0% { translate: 0 0; rotate: 0deg; } 30% { translate: 0 -6px; rotate: -4deg; } 60% { translate: 0 0; rotate: 3deg; } 80% { rotate: -1.5deg; } 100% { translate: 0 0; rotate: 0deg; } }
@media (prefers-reduced-motion: reduce) { .room-svg .radio:hover, .room-svg .radio:hover * { animation: none !important; } }
.complete span::first-letter { color: inherit; }   /* "You found all 8": the Y the same ink as the rest */
/* the shelf's jiggle starts only from the things that count as the shelf (its top rows), not from the bottom row of
   books or the bookcase itself */
.room-svg .shelf:hover .itm { animation: none; }
.room-svg .shelf:has(#hot-shelf:hover, .shelf-media:hover) .itm { animation: shelf-jig var(--d) ease-in-out infinite both; }
.t-boddle .thumbs { box-shadow: 0 0 0 6px #15295a; }   /* the same navy ring as the video above, so the two are the same width */
/* (no ring on the gallery after all) -- instead the strip itself is 12px wider, reaching out to the video's outer edge */
.t-boddle .thumbs { box-shadow: none; margin-left: -6px; margin-right: -6px; width: auto; }

/* ================================================================ round 225: the Clippings split, everywhere, as two
   papers: the CLIP paper lies on top of the darker "pings" paper and casts a little soft shadow onto it along the cut
   (no white edge). The CH13 key, the test card's Play Clippings button, the Info TV, and now the Games TV's channel 13 */
.ch.clip::before, .ch.clip:hover::before, .ch.clip[aria-current]::before { background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .1) 38%, rgba(0, 0, 0, .06) 72%, rgba(0, 0, 0, .2)), linear-gradient(110deg, transparent 0 52%, rgba(60, 35, 12, .3) 52%, rgba(120, 80, 40, .13) 55%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)'/%3E%3C/svg%3E"), var(--k); }
.tc-card .buttons .btn.clip-btn, .tc-card .buttons .btn.clip-btn:hover { background-image: linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 55%),
  linear-gradient(110deg, transparent 0 61%, rgba(60, 35, 12, .3) 61%, rgba(120, 80, 40, .13) 64%); }
.clip-chan { background: linear-gradient(110deg, transparent 0 51.6%, rgba(60, 35, 12, .26) 51.6%, rgba(120, 80, 40, .12) 53.4%),
  radial-gradient(circle, rgba(29, 26, 26, .12) 1px, transparent 1.5px) 0 0 / 7px 7px, #f1ead8; }
/* the big TV's channel 13: a slightly stronger split, so it reads through the screen's glass and scanlines */
.clip-chan { background: linear-gradient(110deg, transparent 0 51.6%, rgba(60, 35, 12, .34) 51.6%, rgba(120, 80, 40, .17) 53.6%),
  radial-gradient(circle, rgba(29, 26, 26, .12) 1px, transparent 1.5px) 0 0 / 7px 7px, #f1ead8; }
/* the remote's keys in the top bar show just the channel's name (no CH number), so the Games TV's own channel numbers
   don't clash with them */
.remote .channels .ch > small { display: none; }
/* every channel key (top bar and the speech box) shows just its name, centred on the coloured face of the key (the
   face reaches 6px above the key's box, and its bottom 4px is the darker lip) */
.ch > small { display: none; }
.ch { padding: 0 0 8px; }
.dialog .links .ch, .dialog .links.ch-links .ch, .remote .channels .ch { padding: 0 0 8px; }   /* (the speech box keys had their own padding) */
.ch, .dialog .links .ch, .dialog .links.ch-links .ch, .remote .channels .ch { padding: 0 0 4px; }   /* the key names 2px lower than before */
/* the Start menu opens straight up from the Start button again (the taskbar's contents now sit within 1300px, not 1180) */
.startmenu { left: max(8px, calc((100% - 1300px) / 2)); }
/* the Clippings show's tape matches Info's: clear (a faint cool white, no yellow), with three big teeth on each cut end */
.t-clippings .tape { height: 24px; background: rgba(244, 246, 248, .5); box-shadow: none;
  clip-path: polygon(0 0, 7px 16.7%, 0 33.3%, 7px 50%, 0 66.7%, 7px 83.3%, 0 100%,
    calc(100% - 7px) 100%, 100% 83.3%, calc(100% - 7px) 66.7%, 100% 50%, calc(100% - 7px) 33.3%, 100% 16.7%, calc(100% - 7px) 0); }
/* Design's wallpaper with a little emerald tint over it */
body.design { background: linear-gradient(rgba(8, 128, 84, .26), rgba(8, 128, 84, .26)), linear-gradient(rgba(0, 150, 100, .35), rgba(0, 150, 100, .35)), url('../media/bg-desktop.webp') center / cover fixed, #10261c;
  background-blend-mode: normal, color, normal; background-attachment: fixed; }
