/* Squirrealty: 1985 hardware in full saturated color, with 2026 inside.
   Violet-to-magenta sky, chrome nameplate, candy-colored keys, racing stripes,
   and a monitor that shows images at full quality. */
:root {
  --indigo: #1c0f5c;
  --violet: #6a1fc9;
  --pink: #ff2d87;
  --pink-dark: #c4005c;
  --yellow: #ffd23f;
  --cyan: #2fe6d6;
  --orange: #ff8a3d;
  --neon: #5dffd6;
  --stripes: linear-gradient(90deg, var(--pink) 0 25%, var(--orange) 25% 50%, var(--yellow) 50% 75%, var(--cyan) 75% 100%);

  --sky: linear-gradient(180deg, #24107a 0%, #6a1fc9 55%, #e0218a 100%);
  --sky-base: #6a1fc9;
  --on-bg: #ffffff;
  --on-bg-soft: #e9dcff;
  --paper: #fff8ea;
  --ink: #1c0f5c;
  --ink-soft: #55478a;
  --line: #e0d4f2;
  --hover: #f5e9ff;
  --link: var(--pink-dark);
  --field: #ffffff;
  --bezel-a: #4a35ad;
  --bezel-b: #21125e;
  --bezel-c: #0f0735;

  --wrap: 1120px;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "VT323", "Courier New", monospace;
}
/* Lights off: the same colors after dark. */
html[data-lights="off"] {
  --sky: linear-gradient(180deg, #07041a 0%, #170a44 55%, #4a0d55 100%);
  --sky-base: #170a44;
  --on-bg-soft: #cfc2f2;
  --paper: #1b1247;
  --ink: #f6f0ff;
  --ink-soft: #bcb0e0;
  --line: #3b2f7a;
  --hover: #291c63;
  --link: #ff8cbd;
  --field: #120b33;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--sky-base); }
body {
  margin: 0; min-height: 100vh; color: var(--on-bg); isolation: isolate;
  font: 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  background: var(--sky) fixed;
  background-color: var(--sky-base);
}
/* Confetti: squiggles, triangles and rings scattered over the sky. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cpath d='M18 44q10-14 20 0t20 0t20 0' fill='none' stroke='%23ff7ab5' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M160 26l22 38h-44z' fill='%23ffd23f'/%3E%3Ccircle cx='62' cy='160' r='16' fill='none' stroke='%232fe6d6' stroke-width='6'/%3E%3Cpath d='M150 166h36M168 148v36' stroke='%23ffffff' stroke-width='5' stroke-linecap='round'/%3E%3Ccircle cx='112' cy='104' r='5' fill='%23ffffff'/%3E%3Ccircle cx='214' cy='116' r='5' fill='%232fe6d6'/%3E%3Ccircle cx='22' cy='214' r='5' fill='%23ffd23f'/%3E%3Cpath d='M100 206l14 14M114 206l-14 14' stroke='%23ff7ab5' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.card :focus-visible { outline-color: var(--pink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Top of the case: nameplate, lights switch, clock ---------- */
.top { padding: 18px 0 0; }
.top > .wrap:first-child { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.nameplate {
  display: inline-flex; flex-direction: column; text-decoration: none; color: #1c0f5c;
  padding: 8px 18px 7px 40px; border-radius: 5px;
  background:
    linear-gradient(90deg, var(--pink) 0 9px, var(--yellow) 9px 18px, var(--cyan) 18px 27px, rgba(0, 0, 0, 0) 27px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 1px, rgba(0, 0, 0, 0.04) 1px 2px),
    linear-gradient(180deg, #ffffff 0, #c9c6d8 52%, #ecebf3 100%);
  box-shadow: 0 1px 0 #fff inset, 0 -1px 0 rgba(0, 0, 0, 0.25) inset, 0 6px 14px rgba(10, 0, 50, 0.45);
}
.nameplate:hover { color: #1c0f5c; }
.nameplate b { font: italic 800 1.9rem/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
.nameplate small { font: 600 0.66rem/1.4 var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: #4b4470; }

.controls { display: flex; align-items: center; gap: 14px; }
.readout {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0a0620; color: var(--neon); font: 1.35rem/1 var(--mono); letter-spacing: 0.06em;
  padding: 9px 14px; border-radius: 6px;
  box-shadow: inset 0 2px 6px #000, 0 1px 0 rgba(255, 255, 255, 0.25);
  text-shadow: 0 0 9px rgba(93, 255, 214, 0.7);
}
.led { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 9px var(--pink), inset 0 1px 1px rgba(255, 255, 255, 0.7); }
.rocker { all: unset; cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.rocker:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; border-radius: 6px; }
.rocker-body { display: block; width: 46px; height: 26px; padding: 3px; border-radius: 5px; background: #0a0620; box-shadow: inset 0 2px 4px #000, 0 1px 0 rgba(255, 255, 255, 0.25); }
.rocker-body span { display: block; position: relative; width: 100%; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--yellow) 0 50%, #a8800a 50% 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.rocker-body span::after { content: "I"; position: absolute; left: 8px; top: 50%; transform: translateY(-50%); color: #1c0f5c; font: 700 0.7rem/1 var(--body); }
.rocker[aria-pressed="false"] .rocker-body span { background: linear-gradient(90deg, #7a5d06 0 50%, #d9ad1c 50% 100%); }
.rocker[aria-pressed="false"] .rocker-body span::after { content: "O"; left: auto; right: 7px; }
.rocker-label { font: 700 0.62rem/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-bg-soft); }

/* ---------- Keyboard navigation ---------- */
.top .keys { display: flex; justify-content: flex-start; gap: 10px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 6px; }
.key {
  display: inline-flex; align-items: baseline; gap: 9px;
  padding: 9px 16px 10px; border-radius: 8px; text-decoration: none;
  font: 700 1.05rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: #1c0f5c;
  background: linear-gradient(180deg, #ffe680 0, #ffc61a 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 0 #a87708, 0 9px 12px rgba(10, 0, 50, 0.4);
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}
.key i { font: 0.95rem/1 var(--mono); font-style: normal; color: #6b4f00; }
.key:hover { color: #1c0f5c; filter: brightness(1.07); }
.key:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 1px 0 #a87708, 0 2px 4px rgba(10, 0, 50, 0.4); }
.key[aria-current="page"] { color: #fff; background: linear-gradient(180deg, #ff62a6 0, #ee1177 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 4px 0 #8f0a49, 0 9px 12px rgba(10, 0, 50, 0.4); }
.key[aria-current="page"]:hover { color: #fff; }
.key[aria-current="page"] i { color: #ffe680; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; line-height: 0.98; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.7rem, 7.2vw, 5.2rem); font-weight: 800; text-shadow: 4px 4px 0 rgba(20, 5, 70, 0.55); }
h1 em { font-style: italic; color: var(--yellow); }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.4rem; font-weight: 700; line-height: 1.1; }
p { margin: 0 0 1em; }
.catno { font: 1.05rem/1 var(--mono); letter-spacing: 0.08em; color: var(--ink-soft); text-transform: uppercase; }
.eyebrow { display: inline-block; background: var(--yellow); color: #1c0f5c; font: 700 0.8rem/1 var(--display); letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 10px 5px; margin-bottom: 16px; transform: rotate(-2deg); box-shadow: 3px 3px 0 var(--pink); }
.lede { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--on-bg-soft); max-width: 33em; margin-top: 18px; }
.muted { color: var(--ink-soft); }

/* Catalog spec table with dotted leaders */
.spec { margin: 24px 0 0; max-width: 30em; display: grid; gap: 7px; }
.spec div { display: flex; align-items: baseline; gap: 10px; }
.spec div::before { content: ""; order: 2; flex: 1; border-bottom: 2px dotted rgba(255, 255, 255, 0.55); transform: translateY(-4px); }
.spec dt { order: 1; font: 800 1.02rem/1.2 var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); }
.spec dd { order: 3; margin: 0; color: var(--on-bg); text-align: right; }

.btn {
  display: inline-block; cursor: pointer; border: 0; text-decoration: none;
  font: 800 1.1rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 24px 13px; border-radius: 8px; color: #fff;
  background: linear-gradient(180deg, #ff62a6 0, #ff2d87 55%, #e60f72 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 4px 0 #8f0a49, 0 10px 16px rgba(10, 0, 50, 0.45);
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}
.btn:hover { color: #fff; filter: brightness(1.07); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 1px 0 #8f0a49, 0 2px 4px rgba(10, 0, 50, 0.45); }
.btn.plain { color: #1c0f5c; background: linear-gradient(180deg, #8ff7ee 0, #2fd9cb 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 0 #128f86, 0 10px 16px rgba(10, 0, 50, 0.45); }
.btn.plain:hover { color: #1c0f5c; }
.btn[disabled] { filter: grayscale(0.7); opacity: 0.7; cursor: default; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Hero: catalog copy beside the set ---------- */
main { padding: 26px 0 0; }
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 5vw, 56px); align-items: center; padding: clamp(12px, 3vw, 30px) 0 clamp(30px, 5vw, 56px); }
.hero.single { grid-template-columns: 1fr; padding-bottom: 22px; }
.hero.single h1 { font-size: clamp(2.5rem, 6.5vw, 4.4rem); }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } }

.set { position: relative; isolation: isolate; padding-bottom: 12px; }
.set .glow { position: absolute; z-index: -1; left: -5%; top: 0; width: 110%; height: 98%; object-fit: cover; filter: blur(50px) saturate(1.9); opacity: 0.75; border-radius: 40px; pointer-events: none; }
.monitor {
  position: relative; border-radius: 28px; padding: clamp(14px, 2.4vw, 24px) clamp(14px, 2.4vw, 24px) 0;
  background: linear-gradient(160deg, var(--bezel-a) 0, var(--bezel-b) 45%, var(--bezel-c) 100%);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.3) inset, 0 -3px 0 rgba(0, 0, 0, 0.5) inset, 0 30px 50px -18px rgba(8, 0, 40, 0.8), 0 8px 16px rgba(8, 0, 40, 0.35);
}
.screen { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #07041a; border-radius: 22px / 26px; box-shadow: 0 0 0 3px #0a0524, 0 0 0 5px rgba(255, 45, 135, 0.55); }
.screen img { width: 100%; height: 100%; object-fit: cover; animation: power-on 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.screen::after { /* glass: corner shading and a soft reflection */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.05) 22%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 64%, rgba(10, 0, 40, 0.4) 100%);
  box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.6);
}
@keyframes power-on {
  0% { transform: scale(1, 0.004); filter: brightness(6); opacity: 0; }
  35% { transform: scale(1, 0.004); filter: brightness(6); opacity: 1; }
  100% { transform: scale(1, 1); filter: brightness(1); opacity: 1; }
}
.monitor-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 6px 14px; }
.dymo { /* embossed label tape */
  display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: linear-gradient(180deg, #ff4b99 0, #e3136f 100%); color: #fff;
  font: 700 0.78rem/1 var(--body); letter-spacing: 0.24em; text-transform: uppercase;
  padding: 6px 10px 5px; border-radius: 2px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 1px 2px rgba(0, 0, 0, 0.6);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.knobs { display: flex; gap: 10px; align-items: center; flex: none; }
.knob { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3b0 0, #ffd23f 45%, #b8860b 100%); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); position: relative; }
.knob:nth-child(2) { background: radial-gradient(circle at 35% 30%, #b8fff7 0, #2fe6d6 45%, #0f8f86 100%); }
.knob::after { content: ""; position: absolute; left: 50%; top: 3px; width: 3px; height: 9px; margin-left: -1.5px; background: #1c0f5c; border-radius: 2px; }
.knob:nth-child(2)::after { transform-origin: 50% 11px; transform: rotate(var(--turn, 48deg)); transition: transform 0.25s ease; }
button.knob { border: 0; padding: 0; cursor: pointer; }
button.knob:hover { filter: brightness(1.12); }
.stand { width: 44%; height: 20px; margin: 0 auto; position: relative; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #0a0524 0, var(--bezel-b) 60%, var(--bezel-a) 100%); box-shadow: 0 14px 18px -8px rgba(8, 0, 40, 0.7); }
.stand::after { content: ""; position: absolute; left: -22%; right: -22%; top: 100%; height: 9px; border-radius: 3px 3px 10px 10px; background: var(--stripes); }

.burst {
  position: absolute; right: -14px; top: -22px; z-index: 2; width: 104px; height: 104px;
  display: grid; place-items: center; text-align: center; transform: rotate(12deg);
  background: var(--yellow); color: #1c0f5c; font: 800 1.05rem/0.95 var(--display); letter-spacing: 0.04em; text-transform: uppercase;
  clip-path: polygon(50% 0, 59% 13%, 75% 7%, 77% 23%, 93% 25%, 87% 41%, 100% 50%, 87% 59%, 93% 75%, 77% 77%, 75% 93%, 59% 87%, 50% 100%, 41% 87%, 25% 93%, 23% 77%, 7% 75%, 13% 59%, 0 50%, 13% 41%, 7% 25%, 23% 23%, 25% 7%, 41% 13%);
}
@media (max-width: 820px) { .burst { right: 4px; top: -30px; width: 88px; height: 88px; font-size: 0.9rem; } }

/* ---------- Front panel with live readouts ---------- */
section { padding: 0 0 clamp(26px, 4vw, 40px); }
.panel {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px 26px; align-items: center;
  padding: 18px clamp(16px, 3vw, 28px) 24px; border-radius: 12px; color: #e9dcff; position: relative; overflow: hidden;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, rgba(0, 0, 0, 0.05) 1px 2px), linear-gradient(180deg, #33208c 0, #160a45 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 20px 30px -18px rgba(8, 0, 40, 0.8);
}
.panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--stripes); }
.panel > div { display: grid; gap: 7px; justify-items: start; }
.panel small { font: 700 0.62rem/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: #cdbdf5; }
.seg { font: 2.1rem/0.9 var(--mono); letter-spacing: 0.1em; color: var(--neon); background: #07041a; padding: 8px 12px 6px; border-radius: 5px; box-shadow: inset 0 2px 6px #000, 0 1px 0 rgba(255, 255, 255, 0.15); text-shadow: 0 0 10px rgba(93, 255, 214, 0.7); text-transform: uppercase; }
.panel-badge { justify-items: end !important; text-align: right; }
.panel-badge b { font: italic 800 1.7rem/1 var(--display); color: #fff; letter-spacing: 0.04em; }
@media (max-width: 560px) { .panel-badge { justify-items: start !important; text-align: left; } }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); color: var(--ink); border-radius: 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 26px 40px -22px rgba(8, 0, 40, 0.85), 8px 8px 0 rgba(20, 5, 70, 0.35);
  padding: clamp(18px, 3vw, 30px);
}
.card a { color: var(--link); }
.card a:hover { color: var(--pink); }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 6px solid; border-image: var(--stripes) 1; }
.card-head a { font: 700 1rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; }

/* Posts: each one is filed on a 5.25-inch disk. */
.post-list { display: grid; gap: 0; }
.post-card { display: grid; grid-template-columns: 92px 1fr; gap: 20px; align-items: center; padding: 16px 8px; margin: 0 -8px; border-radius: 10px; text-decoration: none; border-bottom: 1px dashed var(--line); }
.card a.post-card, .card a.post-card:hover { color: var(--ink); }
.post-card:last-child { border-bottom: 0; }
.post-card:hover { background: var(--hover); }
.post-card:hover h3 { color: var(--pink); }
.post-card:hover .floppy { transform: rotate(-5deg) translateY(-3px); }
.post-text { display: grid; gap: 6px; justify-items: start; }
.post-card time, .article time { font: 1.1rem/1 var(--mono); letter-spacing: 0.06em; color: var(--neon); background: #0a0620; padding: 5px 9px 4px; border-radius: 4px; box-shadow: inset 0 1px 3px #000; white-space: nowrap; }
.post-card p { margin: 0; color: var(--ink-soft); }
.floppy { position: relative; display: block; width: 92px; aspect-ratio: 1; border-radius: 3px; background: linear-gradient(145deg, #3a2a8f 0, #150a45 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 14px -6px rgba(8, 0, 40, 0.8); transition: transform 0.15s ease; }
.fl-label { position: absolute; left: 7px; right: 7px; top: 7px; height: 30%; display: grid; place-items: center; background: #fff8ea; border-top: 6px solid var(--pink); color: #1c0f5c; font: 700 0.72rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; }
.fl-hub { position: absolute; left: 50%; top: 60%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, var(--yellow) 0 34%, #b8860b 36% 46%, #07041a 48% 100%); }
.fl-slot { position: absolute; left: 50%; bottom: 6px; width: 9px; height: 17px; margin-left: -4.5px; border-radius: 5px; background: var(--cyan); }
@media (max-width: 560px) { .post-card { grid-template-columns: 64px 1fr; gap: 14px; align-items: start; } .floppy { width: 64px; } .fl-label { font-size: 0.58rem; border-top-width: 4px; left: 5px; right: 5px; top: 5px; } .fl-slot { height: 12px; bottom: 4px; } }

.article { max-width: 760px; margin: 0 auto 40px; }
.article h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); margin: 6px 0 14px; text-shadow: 3px 3px 0 rgba(255, 45, 135, 0.35); }
.article time { display: inline-block; margin-bottom: 26px; }
.article h2 { margin: 1.5em 0 0.5em; font-size: 1.8rem; }
.article h3, .article h4 { margin: 1.3em 0 0.4em; }
.article img { border-radius: 12px; margin: 1.4em 0; box-shadow: 0 0 0 8px var(--bezel-b), 0 16px 30px -12px rgba(8, 0, 40, 0.7); }
.article blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 6px solid var(--pink); font: 600 italic 1.5rem/1.25 var(--display); }
.article code { font: 1.1em var(--mono); background: #0a0620; color: var(--neon); padding: 1px 7px; border-radius: 4px; }
.article ul, .article ol { padding-left: 1.3em; }
.article li::marker { color: var(--pink); }

/* Gallery */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tile { all: unset; cursor: zoom-in; display: block; border-radius: 14px; padding: 8px 8px 0; background: linear-gradient(160deg, var(--bezel-a) 0, var(--bezel-b) 60%, var(--bezel-c) 100%); box-shadow: 0 14px 22px -12px rgba(8, 0, 40, 0.8); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.tile:nth-child(3n + 2) { background: linear-gradient(160deg, #ff62a6 0, #d40f6c 60%, #8f0a49 100%); }
.tile:nth-child(3n) { background: linear-gradient(160deg, #5ff0e3 0, #17b3a7 60%, #0c6f68 100%); }
.tile:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 22px 30px -14px rgba(8, 0, 40, 0.85); }
.tile:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; background: #07041a; }
.tile span { display: block; padding: 9px 4px 10px; color: #fff; font: 700 0.74rem/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lightbox { position: fixed; inset: 0; z-index: 30; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(12, 4, 44, 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox.open { display: flex; }
.lightbox .monitor { width: min(980px, 100%); max-height: 100%; display: flex; flex-direction: column; }
.lightbox .screen { aspect-ratio: auto; min-height: 0; flex: 1 1 auto; display: flex; }
.lightbox .screen img { object-fit: contain; width: 100%; height: auto; max-height: calc(100vh - 150px); margin: auto; animation: none; }
.lightbox .close { all: unset; cursor: pointer; flex: none; color: #1c0f5c; font: 700 0.8rem/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase; padding: 8px 12px; border-radius: 6px; background: var(--yellow); }
.lightbox .close:hover, .lightbox .close:focus-visible { background: #fff; }

.empty { border: 2px dashed var(--line); border-radius: 12px; padding: 30px 20px; text-align: center; color: var(--ink-soft); margin: 0; }

/* Peripherals */
.links { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 10px; text-decoration: none; background: linear-gradient(180deg, #ffe680 0, #ffc61a 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 0 #a87708, 0 8px 12px rgba(8, 0, 40, 0.25); }
.links a:nth-child(2) { background: linear-gradient(180deg, #8ff7ee 0, #2fd9cb 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 0 #128f86, 0 8px 12px rgba(8, 0, 40, 0.25); }
.links a:nth-child(3) { background: linear-gradient(180deg, #ffa3cb 0, #ff5fa2 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 0 #b3145f, 0 8px 12px rgba(8, 0, 40, 0.25); }
.card .links a, .card .links a:hover { color: #1c0f5c; }
.links a:hover { filter: brightness(1.06); }
.links b { display: block; font: 800 1.2rem/1.1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.links small { color: #3a2a7a; font-size: 0.92rem; }
.links .arrow { font-size: 1.3rem; }

/* Contact */
.form { display: grid; gap: 18px; max-width: 660px; }
.form label { display: grid; gap: 6px; font: 700 0.95rem/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; }
.form input, .form textarea { font: 1.05rem/1.5 var(--body); color: var(--ink); background: var(--field); border: 2px solid var(--line); border-radius: 8px; padding: 11px 13px; width: 100%; box-shadow: inset 0 2px 4px rgba(28, 15, 92, 0.1); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 45, 135, 0.2); }
.form textarea { min-height: 170px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; margin: 0; font-weight: 600; }
.form-status.ok { color: #0b7a55; }
.form-status.err { color: var(--link); }
html[data-lights="off"] .form-status.ok { color: var(--neon); }

/* ---------- Bottom of the case: vents and racing stripes ---------- */
.vents { height: 30px; margin-top: 14px; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0 14px, rgba(10, 0, 50, 0.55) 14px 20px, rgba(255, 255, 255, 0.25) 20px 21px); -webkit-mask: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); border-radius: 4px; }
.wood { margin-top: 26px; color: #e9dcff; padding: 0 0 26px; font-size: 0.92rem; background: #12083a; }
.wood::before { content: ""; display: block; height: 40px; margin-bottom: 20px; background: linear-gradient(180deg, var(--pink) 0 20%, var(--orange) 20% 40%, var(--yellow) 40% 60%, var(--cyan) 60% 80%, #6a4cff 80% 100%); }
.wood .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.wood a { color: var(--yellow); }
.wood a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .screen img { animation: none; }
}

/* Keep the TV the same size whatever the caption or picture: long captions get cut off with "..." */
.hero > *, .set, .monitor, .monitor-foot { min-width: 0; }
.monitor-foot .dymo { flex: 0 1 auto; min-width: 0; }
.screen img { position: absolute; inset: 0; }
