/* Topplio site: the game's night sky with Sprout climbing beside the cards. */
@font-face { font-family: 'Superstar'; src: url('../fonts/superstar.ttf') format('truetype'); font-display: block; }
:root {
  --night: rgb(12, 18, 20); --cream: rgb(255, 246, 222); --subtle: rgb(150, 150, 190);
  --mint: rgb(92, 210, 166); --mint-dark: rgb(40, 110, 86); --sky: rgb(110, 186, 246); --sky-dark: rgb(52, 104, 150);
  --yellow: rgb(255, 212, 72); --coral: rgb(244, 112, 104); --ink: rgb(16, 14, 26); --border: rgb(58, 64, 80);
  --panel: rgba(14, 16, 24, .84);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; background: var(--night); }
body {
  color: var(--cream); font-family: 'Superstar', ui-monospace, monospace; letter-spacing: 1px;
  -webkit-font-smoothing: none;
}

/* Background layers: the animated scene, vignette and scanlines. */
#game { position: fixed; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; }
.vignette { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(4, 4, 10, .55) 100%); }
.scanlines { position: fixed; inset: 0; pointer-events: none; z-index: 5; background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px); }

/* Content: centred on phones, in the left half on wide screens so the tower shows on the right. */
main {
  position: relative; z-index: 2; width: 100%; max-width: 460px; margin: 0 auto;
  padding: 40px 16px 64px; display: grid; gap: 14px;
}
@media (min-width: 900px) {
  /* The cards and the tower (300px right of the cards) are centred as one group. */
  main { margin: 0 0 0 max(32px, calc(50vw - 395px)); padding-top: 56px; }
}

.head { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-bottom: 4px; }
.icon {
  width: 96px; height: 96px; border-radius: 22px; image-rendering: pixelated;
  border: 3px solid rgb(120, 126, 160);
  box-shadow: 0 0 0 2px var(--ink), 0 6px 0 2px rgba(0, 0, 0, .5);
}
h1 { font-size: 36px; line-height: 40px; font-weight: normal; text-transform: uppercase; text-shadow: 0 3px 0 var(--ink); }
.lede { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--subtle); text-transform: uppercase; }

.card { display: grid; gap: 10px; padding: 16px; background: var(--panel); border: 2px solid var(--border); }
.card h2 { font-size: 18px; font-weight: normal; text-transform: uppercase; color: var(--yellow); text-shadow: 0 2px 0 var(--ink); }
.card p { font-size: 14px; line-height: 1.6; color: var(--subtle); letter-spacing: .5px; }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }
.button {
  display: inline-block; padding: 12px 18px; font: inherit; font-size: 14px; text-transform: uppercase; cursor: pointer;
  color: var(--ink); background: var(--face); border: 0; text-decoration: none; box-shadow: 0 4px 0 var(--ledge);
}
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ledge); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.button.send { --face: var(--mint); --ledge: var(--mint-dark); }
.button.ghost { color: var(--cream); background: transparent; box-shadow: none; border: 2px solid var(--border); padding: 10px 16px; }
.button.ghost:hover { background: rgba(58, 64, 80, .35); }
.button:disabled { opacity: .6; cursor: default; }
.pending { font-size: 14px; color: var(--yellow); text-transform: uppercase; }
[hidden] { display: none !important; }

/* Feedback form */
form { display: grid; gap: 6px; }
label { font-size: 14px; text-transform: uppercase; color: var(--cream); margin-top: 6px; }
input, select, textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 15px; letter-spacing: .5px; color: var(--cream);
  background: rgba(8, 10, 16, .9); border: 2px solid var(--border); border-radius: 0; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--subtle) 50%), linear-gradient(-45deg, transparent 50%, var(--subtle) 50%); background-position: right 16px center, right 11px center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
::placeholder { color: rgba(150, 150, 190, .55); }
.send { justify-self: stretch; text-align: center; margin-top: 10px; }
.status { min-height: 22px; font-size: 14px; }
.status.good { color: var(--mint); }
.status.bad { color: var(--coral); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---- Contact form: type pills, rows, rating, checkbox ---------------------- */
fieldset { border: 0; min-width: 0; }
legend, .field > label { display: block; font-size: 14px; text-transform: uppercase; color: var(--cream); margin: 6px 0 6px; }
label em, legend em { font-style: normal; color: var(--subtle); }
.field { display: grid; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; gap: 0; } }

/* Message type: a segmented pill, like the game's mode switch. */
.pills { display: flex; flex-wrap: wrap; gap: 2px; padding: 2px; border: 2px solid var(--border); background: rgba(8, 10, 16, .9); }
.pills label { flex: 1 1 auto; margin: 0; cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: block; padding: 8px 10px; text-align: center; font-size: 13px; text-transform: uppercase; color: var(--subtle); }
.pills label:hover span { color: var(--cream); }
.pills input:checked + span { background: var(--yellow); color: var(--ink); }
.pills input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* Star rating: the game's pixel star, lit up to the one picked. */
.stars { display: flex; gap: 6px; flex-direction: row-reverse; justify-content: flex-end; }
.stars label { margin: 0; cursor: pointer; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars span {
  display: block; width: 30px; height: 30px; background: rgb(58, 64, 80);
  clip-path: polygon(40% 0, 60% 0, 60% 20%, 80% 20%, 80% 40%, 100% 40%, 100% 60%, 80% 60%, 80% 80%, 60% 80%, 60% 100%, 40% 100%, 40% 80%, 20% 80%, 20% 60%, 0 60%, 0 40%, 20% 40%, 20% 20%, 40% 20%);
}
.stars label:hover span, .stars label:hover ~ label span,
.stars input:checked + span, .stars label:has(input:checked) ~ label span { background: var(--yellow); }
.stars input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Checkbox */
.check { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; text-transform: uppercase; color: var(--subtle); cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span { width: 16px; height: 16px; flex: none; border: 2px solid var(--border); background: rgba(8, 10, 16, .9); }
.check input:checked + span { background: var(--mint); border-color: var(--mint-dark); box-shadow: inset 0 0 0 2px rgba(8, 10, 16, .9); }
.check input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.card p a { color: var(--cream); text-underline-offset: 3px; }

/* The store buttons fill the width of their card. */
.buttons .button { flex: 1 1 100%; text-align: center; }

/* ---- About box and screenshots -------------------------------------------- */
.callout { padding: 10px 12px; border-left: 3px solid var(--yellow); background: rgba(255, 212, 72, .06); }
.callout strong { font-weight: normal; color: var(--yellow); }
.shots {
  list-style: none; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
  margin: 4px -16px -4px; padding: 6px 16px 12px; scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.shots::-webkit-scrollbar { height: 6px; }
.shots::-webkit-scrollbar-thumb { background: var(--border); }
.shots li { flex: none; scroll-snap-align: start; }
.shot { display: block; padding: 0; border: 2px solid var(--border); background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; transition: transform .15s, border-color .15s; }
.shot:hover { transform: translateY(-3px); border-color: rgb(120, 126, 160); }
.shot:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.shot img { display: block; width: 92px; height: auto; aspect-ratio: 1206 / 2622; }

/* ---- Lightbox ---------------------------------------------------------------- */
html.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 20; background: rgba(4, 5, 10, 0); transition: background .3s; cursor: zoom-out; }
.lightbox.show { background: rgba(4, 5, 10, .9); }
.lb-img { position: fixed; transform-origin: 0 0; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); cursor: pointer; will-change: transform; }
.lb-btn, .lb-count { opacity: 0; transition: opacity .2s .1s; }
.lightbox.show .lb-btn, .lightbox.show .lb-count { opacity: 1; }
.lb-btn {
  position: fixed; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  font: inherit; font-size: 22px; color: var(--cream); background: rgba(14, 16, 24, .9); border: 2px solid var(--border);
}
.lb-btn:hover { border-color: rgb(120, 126, 160); }
.lb-btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.lb-close { top: 14px; right: 14px; font-size: 28px; }
.lb-prev, .lb-next { top: 50%; margin-top: -22px; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-count { position: fixed; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 14px; color: var(--subtle); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 8px; margin: 0; } }
/* Keep the row inset from the card's border, including where it snaps when scrolled. */
.shots { scroll-padding-inline: 16px; }

/* ---- Credit and social links ----------------------------------------------- */
.credit { display: grid; gap: 12px; justify-items: center; margin-top: 10px; text-align: center; }
.credit p { font-size: 12px; text-transform: uppercase; color: var(--subtle); text-shadow: 0 2px 0 var(--ink); }
.credit strong { font-weight: normal; color: var(--yellow); }
.credit strong a { color: inherit; text-underline-offset: 3px; }
.credit strong a:hover { color: var(--cream); }
.social { list-style: none; display: flex; gap: 10px; }
.social a {
  width: 40px; height: 40px; display: grid; place-items: center; color: var(--cream);
  background: var(--panel); border: 2px solid var(--border); transition: color .15s, border-color .15s, transform .15s;
}
.social a:hover { color: var(--yellow); border-color: rgb(120, 126, 160); transform: translateY(-2px); }
.social a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.credit p { padding: 4px 10px; background: var(--panel); border: 2px solid var(--border); }

/* ---- Policy pages ----------------------------------------------------------- */
.legal { font-size: 12px; text-transform: uppercase; color: var(--subtle); text-underline-offset: 3px; }
.legal:hover { color: var(--cream); }
.policy ul { display: grid; gap: 8px; padding-left: 18px; font-size: 14px; line-height: 1.6; color: var(--subtle); letter-spacing: .5px; }
.policy strong { font-weight: normal; color: var(--cream); }
.policy a, .policy li a { color: var(--cream); text-underline-offset: 3px; }
.head > a { display: block; }

/* ---- Release site: store buttons, footer links, FAQ ------------------------ */
.button.appstore { --face: var(--sky); --ledge: var(--sky-dark); }
.button.play { --face: var(--mint); --ledge: var(--mint-dark); }
.features { list-style: none; display: grid; gap: 8px; font-size: 14px; line-height: 1.6; color: var(--subtle); letter-spacing: .5px; }
.features li { padding-left: 18px; position: relative; }
.features li::before { content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; background: var(--yellow); }
.features strong { font-weight: normal; color: var(--cream); }
.links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; padding: 0 8px; }
.links a { font-size: 12px; text-transform: uppercase; color: var(--subtle); text-underline-offset: 3px; }
.links a:hover, .links a[aria-current] { color: var(--cream); }
.faq { display: grid; gap: 2px; }
.faq details { border-top: 2px solid var(--border); }
.faq details:first-of-type { border-top: 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 10px 24px 10px 0; position: relative;
  font-size: 14px; line-height: 1.5; text-transform: uppercase; color: var(--cream);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 2px; top: 9px; color: var(--yellow); font-size: 16px; }
.faq details[open] summary::after { content: '-'; }
.faq summary:hover { color: var(--yellow); }
.faq summary:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.faq details > :not(summary) { margin-bottom: 12px; }
.faq ul { display: grid; gap: 6px; padding-left: 18px; font-size: 14px; line-height: 1.6; color: var(--subtle); letter-spacing: .5px; }
.faq strong, .policy strong { font-weight: normal; color: var(--cream); }
.faq a { color: var(--cream); text-underline-offset: 3px; }

/* ---- Fun: only when fun.js runs, so reduced motion keeps everything still ------ */
/* Cards wait out of sight until fun.js sees them scroll into view. */
.fun main > * { opacity: 0; }
.fun main > .seen { opacity: 1; animation: pop-in .55s cubic-bezier(.3, 1.4, .5, 1) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes pop-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }

/* The letters drop in once; after that (.landed) only the hover wave plays. */
.fun h1 span { display: inline-block; white-space: pre; }
.fun h1:not(.landed) span { animation: drop-in .5s cubic-bezier(.3, 1.6, .5, 1) backwards; animation-delay: calc(150ms + var(--i) * 55ms); }
@keyframes drop-in { from { opacity: 0; transform: translateY(-22px); } }
.fun h1.wave span { animation: wave .45s ease-in-out; animation-delay: calc(var(--i) * 45ms); }
@keyframes wave { 40% { transform: translateY(-7px); color: var(--yellow); } }

.fun .button { transition: transform .12s, box-shadow .12s; }
.fun .button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ledge); }
.fun .button:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--ledge); }
/* A shine sweeps across the App Store button every few seconds. */
.button.appstore { position: relative; overflow: hidden; }
.fun .button.appstore::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 24%; pointer-events: none;
  background: rgba(255, 255, 255, .45); transform: skewX(-20deg); animation: shine 4s ease-in-out 1.5s infinite;
}
@keyframes shine { 0% { left: -40%; } 25%, 100% { left: 130%; } }

.fun .social a:hover { animation: hop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes hop { 40% { transform: translateY(-7px) scale(1.05, .95); } 70% { transform: translateY(0) scale(1.1, .9); } }

/* Feature bullets cycle through the tile colours, out of step with each other. */
.fun .features li::before { animation: tiles 5s steps(1) infinite; }
.fun .features li:nth-child(2)::before { animation-delay: -1s; }
.fun .features li:nth-child(3)::before { animation-delay: -2s; }
.fun .features li:nth-child(4)::before { animation-delay: -3s; }
.fun .features li:nth-child(5)::before { animation-delay: -4s; }
@keyframes tiles { 0% { background: rgb(244, 118, 106); } 20% { background: rgb(92, 206, 168); } 40% { background: rgb(98, 168, 238); } 60% { background: rgb(250, 204, 88); } 80% { background: rgb(172, 140, 234); } }

/* FAQ answers slide open; the plus turns as it becomes a minus. */
.fun .faq details[open] > :not(summary) { animation: slide-open .3s ease-out; }
@keyframes slide-open { from { opacity: 0; transform: translateY(-6px); } }
.fun .faq summary::after { transition: transform .2s; }
.fun .faq details[open] summary::after { transform: rotate(180deg); }

/* Cards lift a touch under the pointer. */
.fun .card { transition: transform .2s, border-color .2s; }
.fun .card:hover { transform: translateY(-2px); border-color: rgb(84, 92, 116); }
.shot { transition: transform .15s, border-color .15s; }

/* A shooting star: a short bright streak with a fading tail. */
.shooting {
  position: fixed; z-index: 1; width: 70px; height: 2px; pointer-events: none;
  background: linear-gradient(to left, rgba(255, 246, 222, .95), rgba(170, 180, 255, 0));
}

/* ---- Cookie banner ------------------------------------------------------------ */
.consent {
  position: fixed; z-index: 25; left: 16px; right: 16px; bottom: 16px; max-width: 460px;
  display: grid; gap: 12px; padding: 14px 16px; background: rgba(14, 16, 24, .96); border: 2px solid var(--border);
  box-shadow: 0 6px 0 rgba(0, 0, 0, .45); animation: consent-in .35s cubic-bezier(.3, 1.4, .5, 1);
}
@media (min-width: 900px) { .consent { left: max(32px, calc(50vw - 395px)); } }
.consent p { font-size: 13px; line-height: 1.6; color: var(--subtle); letter-spacing: .5px; }
.consent a { color: var(--cream); text-underline-offset: 3px; }
.consent-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-buttons .button { flex: 1 1 auto; text-align: center; padding: 10px 14px; }
.consent.leaving { transition: opacity .25s, transform .25s; opacity: 0; transform: translateY(12px); }
@keyframes consent-in { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }

/* ---- Meet the friends ------------------------------------------------------------ */
.friends { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px 4px; margin-top: 4px; }
.friends li { display: grid; justify-items: center; gap: 2px; }
.friends canvas { width: 48px; height: 48px; image-rendering: pixelated; cursor: pointer; }
.friends span { font-size: 10px; text-transform: uppercase; color: var(--subtle); text-align: center; }
.friends li:hover span { color: var(--yellow); }
.friends .secret span { color: rgb(110, 116, 140); }

/* ---- Press fact sheet ---------------------------------------------------------- */
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14px; line-height: 1.5; letter-spacing: .5px; }
.facts dt { color: var(--yellow); text-transform: uppercase; font-size: 12px; padding-top: 2px; }
.facts dd { color: var(--subtle); }
.facts a { color: var(--cream); text-underline-offset: 3px; }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 8px; } }

/* ---- Trailer: the first tile in the screenshot strip ------------------------------- */
.shot.trailer { position: relative; font: inherit; letter-spacing: inherit; }
.shot.trailer img { width: auto; height: 200px; aspect-ratio: 16 / 9; object-fit: cover; }
.trailer-play {
  position: absolute; left: 50%; top: 72%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  background: var(--yellow); box-shadow: 0 4px 0 rgb(170, 128, 30); transition: transform .15s;
}
/* A pixel play arrow, cut out of the yellow square. */
.trailer-play::after {
  content: ''; position: absolute; left: 19px; top: 14px; width: 16px; height: 24px; background: var(--ink);
  clip-path: polygon(0 0, 25% 0, 25% 8.33%, 50% 8.33%, 50% 25%, 75% 25%, 75% 41.67%, 100% 41.67%, 100% 58.33%, 75% 58.33%, 75% 75%, 50% 75%, 50% 91.67%, 25% 91.67%, 25% 100%, 0 100%);
}
.shot.trailer:hover .trailer-play { transform: scale(1.08); }
.trailer-tag {
  position: absolute; left: 8px; bottom: 8px; padding: 3px 6px; font-size: 11px; text-transform: uppercase;
  color: var(--cream); background: rgba(14, 16, 24, .85); border: 2px solid var(--border);
}

/* ---- Trailer player ---------------------------------------------------------------- */
.vp { position: fixed; z-index: 21; background: #000; opacity: 0; transition: opacity .2s; overflow: hidden; }
.vp.shown { opacity: 1; }
.lb-video .vp, .lb-video .lb-img { border-radius: 0; }
.lb-video .lb-count { display: none; }
@media (max-width: 599px) { .lb-video .lb-prev, .lb-video .lb-next { display: none; } }
.vp-video { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; cursor: pointer; }
.lb-full .lb-btn:not(.lb-close) { display: none; }

/* The big play button shows whenever the video is paused. */
.vp-big {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; display: none;
  place-items: center; cursor: pointer; color: var(--ink); background: var(--yellow); border: 0; box-shadow: 0 5px 0 rgb(170, 128, 30);
}
.vp-big svg { width: 34px; height: 34px; margin-left: 4px; fill: currentColor; }
.vp.paused .vp-big { display: grid; }
.vp-big:active { transform: translateY(3px); box-shadow: 0 2px 0 rgb(170, 128, 30); }

/* The control bar: pixel buttons, the time and a chunky seek track. */
.vp-bar {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 26px 12px 10px;
  background: linear-gradient(to top, rgba(8, 10, 16, .92), rgba(8, 10, 16, 0));
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s;
}
.vp.awake .vp-bar, .vp:focus-within .vp-bar { opacity: 1; transform: none; }
.vp:not(.awake) { cursor: none; }
.vp-btn {
  flex: none; width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer;
  color: var(--cream); background: rgba(14, 16, 24, .9); border: 2px solid var(--border);
}
.vp-btn:hover { color: var(--yellow); border-color: rgb(120, 126, 160); }
.vp-btn svg { width: 16px; height: 16px; fill: currentColor; }
.vp-btn > span { display: grid; }
.vp-play .when-paused, .vp.paused .vp-play .when-playing,
.vp-mute .when-muted, .vp.muted .vp-mute .when-sound,
.vp-full .when-full, .lb-full .vp-full .when-window { display: none; }
.vp.paused .vp-play .when-paused, .vp.muted .vp-mute .when-muted, .lb-full .vp-full .when-full { display: grid; }
.vp-btn:focus-visible, .vp-big:focus-visible, .vp-track:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.vp-time { flex: none; min-width: 84px; font-size: 12px; text-transform: uppercase; color: var(--cream); text-align: center; }
.vp-track { position: relative; flex: 1; height: 10px; cursor: pointer; background: rgba(58, 64, 80, .9); border: 2px solid var(--border); touch-action: none; }
.vp-buffer, .vp-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.vp-buffer { background: rgba(150, 150, 190, .35); }
.vp-fill { background: var(--yellow); }
.vp-knob { position: absolute; top: 50%; left: 0; width: 12px; height: 16px; margin: -8px 0 0 -6px; background: var(--cream); box-shadow: 0 2px 0 var(--ink); }
@media (max-width: 420px) { .vp-time { min-width: 0; font-size: 10px; } .vp-bar { gap: 6px; padding-inline: 8px; } }

/* Small print under a card's buttons. */
.card p.small { font-size: 12px; color: rgb(120, 122, 156); }

/* Press kit preview GIFs. */
.kit-gifs { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.kit-gifs img { height: auto; max-width: 100%; image-rendering: pixelated; border: 2px solid var(--border); }
