/* =====================================================================
   BRYAN HUSSEY'S VENMO SHOP: styles
   Layout: one centred stage floating over an animated starfield, built
   like the mockup (chrome logo, featured frames, big link button), with
   extras below it and a Windows-style taskbar along the bottom.
   You don't need to edit this file to run the shop.
   ===================================================================== */

:root {
  color-scheme: dark;

  /* space */
  --void: #000000;
  --ink: #fcfcfa;
  --ink-dim: #b8b4a6;

  /* picture-frame bevel, sampled from the mockup */
  --frame-top: #e3e5e4;
  --frame-left: #c6c6c6;
  --frame-right: #7c7c7c;
  --frame-bottom: #6c6c6c;
  --frame-face: #bdbdbd;
  --sunk-dark: #5f5f61;
  --sunk-light: #f4f4f4;
  --slot: #6bb786;
  --slot-ink: #1f5034;

  /* Windows 95 kit */
  --face: #c0c0c0;
  --face-hi: #dfdfdf;
  --hi: #ffffff;
  --lo: #808080;
  --dk: #0a0a0a;
  --caption-a: #000080;
  --caption-b: #1084d0;
  --tip: #ffffe1;
  --desktop: #008080;

  /* links and stickers */
  --link: #0b1a81;
  --link-hover: #2b3fd6;
  --burst-ink: #e3121d;
  --led: #ffb000;
  --led-bg: #140c00;
  --lime: #7dff6a;

  --font-display: "Bungee", "Arial Black", Impact, sans-serif;
  --font-round: "M PLUS Rounded 1c", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-ui: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --font-pixel: "VT323", "Courier New", monospace;

  --stage: 1180px;
  --row: 1060px;
  --taskbar-h: 40px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--void); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font: 400 16px/1.5 var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px dashed var(--ink); outline-offset: 3px; }
::selection { background: var(--caption-a); color: #fff; }
html.modal-open { overflow: hidden; }

.ico { display: inline-block; line-height: 0; }
.ico svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* ---------- page shell ---------- */
.site {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  isolation: isolate;
}
.site.has-taskbar { padding-bottom: calc(var(--taskbar-h) + env(safe-area-inset-bottom, 0px)); }
.sky {
  position: fixed; left: 0; top: 0; z-index: -1;
  display: block; pointer-events: none;
  image-rendering: pixelated;
  background: var(--void);
}
.fx-layer { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 900; pointer-events: none; }
.stage {
  position: relative;
  max-width: calc(var(--stage) + 32px);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- chrome logo ---------- */
.logo { padding-block: clamp(24px, 4.2vw, 54px) 0; text-align: center; }
.logo-h1 { margin: 0; display: grid; justify-items: center; line-height: 0; }
.wordart { display: block; max-width: 100%; image-rendering: pixelated; }
.wordart-sub { margin-top: clamp(-12px, -0.8vw, -4px); -webkit-tap-highlight-color: transparent; }
.site:not(.wordart-ready) .wordart { display: none; }
.site.wordart-ready .logo-fallback { display: none; }

/* shown before the canvas logo draws, or if scripts are off */
.logo-fallback { display: grid; justify-items: center; line-height: 1; }
.logo-fallback .lf-top {
  font: 400 clamp(34px, 8.2vw, 104px)/1 var(--font-display);
  letter-spacing: .02em;
  color: #8b74e4;
  background: linear-gradient(#b25cf0, #7088e4 50%, #3fe0e6);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(2px 4px 0 #4b586a) drop-shadow(1px 2px 0 #2b3442);
}
.logo-fallback .lf-sub {
  margin-top: 6px;
  font: 800 clamp(26px, 4vw, 52px)/1 var(--font-round);
  color: #ffb3d9;
  text-shadow: 0 0 10px #d14cff, 0 0 2px #8ff0ff;
}

/* ---------- featured row ---------- */
.featured { margin-top: clamp(16px, 2vw, 24px); }
.featured-head {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(8px, 1.3vw, 16px);
  max-width: var(--row); margin-inline: auto;
}
.featured-head h2, .shop-title {
  margin: 0 clamp(2px, .8vw, 10px);
  font: 800 clamp(21px, 2.5vw, 33px)/1.1 var(--font-ui);
  color: var(--ink);
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: .1em;
  text-underline-offset: .2em;
}
.badge-new { flex: none; width: clamp(42px, 4.4vw, 60px); aspect-ratio: 1; animation: gif-wobble 1.2s steps(1) infinite; }
.badge-new:last-child { animation-delay: -.6s; }
.spin { flex: none; width: clamp(28px, 2.9vw, 40px); aspect-ratio: 1; animation: spin-steps 1.8s steps(12) infinite; }
.spin.ccw { animation-direction: reverse; }

/* thin grey bars with tiny scrolling pixel text */
.ticker-bar {
  flex: 1 1 0; min-width: 36px; max-width: 250px; height: 13px;
  position: relative; overflow: hidden;
  background: #b9b9b9;
  border: 1px solid; border-color: #f4f4f4 #555 #555 #f4f4f4;
  box-shadow: 1px 1px 0 #000;
}
.ticker-bar .tk {
  position: absolute; left: 0; top: 0;
  white-space: nowrap;
  font: 400 13px/11px var(--font-pixel);
  color: #3a3a3a; letter-spacing: 1px;
  animation: ticker 18s linear infinite;
}
.ticker-bar.rev .tk { animation-direction: reverse; }
.ticker-bar .fill {
  position: absolute; left: 2px; top: 2px; bottom: 2px;
  width: calc((100% - 4px) * var(--p, 0));
  background: repeating-linear-gradient(90deg, var(--caption-a) 0 7px, transparent 7px 9px);
  transition: width .25s steps(3), opacity .5s;
}
.ticker-bar.is-done .fill { opacity: 0; }

/* the four picture frames */
.featured-grid {
  list-style: none; padding: 0;
  margin: clamp(12px, 1.4vw, 18px) auto 0;
  max-width: var(--row);
  display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: clamp(16px, 3.4vw, 40px);
}
.featured-grid > li { min-width: 0; }
.frame {
  position: relative; display: block; width: 100%;
  margin: 0; padding: 0;
  border-style: solid;
  border-width: clamp(9px, 1.55vw, 17px);
  border-color: var(--frame-top) var(--frame-right) var(--frame-bottom) var(--frame-left);
  background: var(--frame-face);
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .65), -1px -1px 0 #fafafa;
  color: inherit; text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.frame.is-empty { cursor: default; }
.frame:active:not(.is-empty) {
  border-color: var(--frame-bottom) var(--frame-left) var(--frame-top) var(--frame-right);
  transform: translate(1px, 2px);
  box-shadow: 1px 2px 0 rgba(0, 0, 0, .65);
}
.slot {
  position: relative; display: block;
  aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--slot);
  border: clamp(2px, .32vw, 4px) solid;
  border-color: var(--sunk-dark) var(--sunk-light) var(--sunk-light) var(--sunk-dark);
}
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.slot img.is-pixel, .slot canvas.reveal { image-rendering: pixelated; }
.slot canvas.reveal { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.slot.is-sold img, .slot.is-sold canvas.reveal { filter: grayscale(.85) brightness(.8); }
.slot-empty {
  position: absolute; inset: 0;
  display: grid; place-content: center; gap: 4px;
  color: var(--slot-ink); text-align: center;
  font: 400 clamp(17px, 2.1vw, 27px)/1 var(--font-pixel);
  letter-spacing: .05em;
}
.slot-empty .blink { animation: blink 1.1s steps(1) infinite; }
.slot-tip {
  position: absolute; left: 6%; right: 6%; bottom: 6%; z-index: 3;
  padding: 3px 7px 4px;
  background: var(--tip); color: #000;
  border: 1px solid #000; box-shadow: 2px 2px 0 rgba(0, 0, 0, .45);
  font: 700 clamp(11px, 1.05vw, 14px)/1.25 var(--font-ui);
  opacity: 0; transform: translateY(4px);
  transition: opacity .12s, transform .12s;
  pointer-events: none;
}
.frame:hover .slot-tip, .frame:focus-visible .slot-tip { opacity: 1; transform: none; }
@media (hover: none) { .slot-tip { opacity: 1; transform: none; } }

/* price sticker */
.price-burst {
  position: absolute; top: -12%; right: -13%; z-index: 4;
  width: 46%; aspect-ratio: 1;
  display: grid; place-items: center;
  pointer-events: none;
  animation: sticker 2.6s steps(1) infinite;
}
.price-burst .ico { position: absolute; inset: 0; }
.price-burst b {
  position: relative;
  font: 400 clamp(12px, 1.55vw, 21px)/1 var(--font-display);
  color: var(--burst-ink);
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 0 2px 0 #fff;
  transform: rotate(-10deg);
}
.price-burst.is-long b { font-size: clamp(10px, 1.2vw, 16px); }

/* SOLD stamp and SAMPLE ribbon */
.stamp {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center; pointer-events: none;
}
.stamp span {
  font: 400 clamp(20px, 2.8vw, 36px)/1 var(--font-display);
  color: var(--burst-ink);
  padding: .12em .35em;
  border: .12em solid currentColor;
  background: rgba(255, 255, 255, .6);
  transform: rotate(-16deg);
  letter-spacing: .06em;
}
.ribbon {
  position: absolute; top: 15px; left: -36px; z-index: 2;
  width: 132px; transform: rotate(-45deg);
  background: var(--burst-ink); color: #fff;
  text-align: center;
  font: 400 16px/19px var(--font-pixel); letter-spacing: .14em;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .35);
  pointer-events: none;
}
.no-photo {
  position: absolute; inset: 0;
  display: grid; place-content: center; text-align: center;
  color: var(--slot-ink);
  font: 400 clamp(16px, 2vw, 24px)/1.1 var(--font-pixel);
}

/* ornaments under the frames */
.featured-deco { position: relative; max-width: var(--row); height: clamp(32px, 3vw, 42px); margin: 6px auto 0; }
.featured-deco > * { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); }
.deco-spin { width: clamp(26px, 2.7vw, 36px); aspect-ratio: 1; margin-left: 0; }
.deco-spin .ico { width: 100%; height: 100%; animation: spin-steps 2.2s steps(12) infinite; }
.deco-rocket { width: clamp(64px, 7vw, 96px); aspect-ratio: 26 / 11; }
.deco-rocket .ico { width: 100%; height: 100%; animation: bob 1.4s steps(2) infinite; }
.deco-rocket .flame { animation: flicker .24s steps(1) infinite; }
.deco-rocket.r .ico { transform: scaleX(-1); }
.deco-rocket.r .ico { animation-name: bob-flip; animation-delay: -.7s; }
.deco-star { width: clamp(28px, 3vw, 40px); aspect-ratio: 1; }
.deco-star .ico { width: 100%; height: 100%; animation: twinkle 1.6s steps(2) infinite; }
.deco-sparkle { width: clamp(26px, 2.8vw, 38px); aspect-ratio: 1; }
.deco-sparkle .ico { width: 100%; height: 100%; animation: twinkle 1.1s steps(2) infinite reverse; }
.deco-spin { left: 0; }
.deco-rocket.l { left: 33%; }
.deco-star { left: 50%; }
.deco-rocket.r { left: 67%; }
.deco-sparkle { left: 100%; }

/* ---------- the big button ---------- */
.cta-row {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(8px, 1.6vw, 20px);
  max-width: 1160px;
  margin: clamp(10px, 1.2vw, 16px) auto 0;
}
.cta-row .ticker-bar { max-width: 230px; }
.flare { flex: none; width: clamp(50px, 5.2vw, 74px); aspect-ratio: 1; animation: flare 1.5s steps(1) infinite; }
.flare:last-of-type { animation-delay: -.75s; }
.cta {
  position: relative; flex: 0 1 auto;
  display: inline-block;
  padding: clamp(13px, 1.7vw, 21px) clamp(20px, 3.1vw, 40px);
  border: clamp(4px, .5vw, 6px) solid;
  border-color: #f4f4f4 #6b6b6b #5c5c5c #e2e2e2;
  background: #bcbcbc;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .7);
  color: var(--link);
  font: 800 clamp(17px, 2.45vw, 34px)/1.15 var(--font-ui);
  text-align: center;
  text-decoration: underline;
  text-decoration-thickness: .09em;
  text-underline-offset: .2em;
  -webkit-tap-highlight-color: transparent;
}
.cta:hover { color: var(--link-hover); }
.cta:active {
  border-color: #5c5c5c #e2e2e2 #f4f4f4 #6b6b6b;
  transform: translate(2px, 3px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, .7);
}
.cta-pix { position: absolute; width: 14px; height: 14px; pointer-events: none; }
.cta-pix .ico { width: 100%; height: 100%; }
.cta-pix.tr { top: 5px; right: 7px; animation: blink 1.4s steps(1) infinite; }
.cta-pix.bl { bottom: 5px; left: 7px; animation: blink 1.4s steps(1) infinite -.7s; }

/* ---------- Windows 95 kit ---------- */
.win {
  position: relative;
  color-scheme: light;
  background: var(--face);
  color: #000;
  border: 2px solid;
  border-color: var(--face-hi) var(--dk) var(--dk) var(--face-hi);
  box-shadow: inset 1px 1px 0 var(--hi), inset -1px -1px 0 var(--lo), 4px 5px 0 rgba(0, 0, 0, .6);
}
.win :focus-visible { outline: 1px dotted #000; outline-offset: 2px; }
.win-bar {
  display: flex; align-items: center; gap: 6px;
  min-height: 27px;
  margin: 2px 2px 0;
  padding: 3px 3px 3px 5px;
  background: linear-gradient(90deg, var(--caption-a), var(--caption-b));
  color: #fff;
}
.win-bar .win-bar-ico { flex: none; width: 16px; height: 16px; }
.win-title {
  flex: 1 1 auto; min-width: 0; margin: 0;
  font: 700 14px/1.3 var(--font-ui);
  letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.win-btns { flex: none; display: flex; gap: 2px; }
.win-btn {
  width: 22px; height: 20px; padding: 0;
  display: grid; place-items: center;
  background: var(--face); color: #000;
  border: 1px solid; border-color: var(--hi) var(--dk) var(--dk) var(--hi);
  box-shadow: inset -1px -1px 0 var(--lo), inset 1px 1px 0 var(--face-hi);
  font: 800 14px/1 var(--font-ui);
  cursor: pointer;
}
.win-btn:active { border-color: var(--dk) var(--hi) var(--hi) var(--dk); box-shadow: inset 1px 1px 0 var(--lo); }
.win-btn.is-deco { cursor: default; pointer-events: none; }
.win-body { padding: 14px; }
.btn95 {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 38px; padding: 6px 16px;
  background: var(--face); color: #000;
  border: 2px solid; border-color: var(--hi) var(--dk) var(--dk) var(--hi);
  box-shadow: inset -1px -1px 0 var(--lo), inset 1px 1px 0 var(--face-hi);
  font: 700 15px/1.2 var(--font-ui);
  text-decoration: none; text-align: center;
  cursor: pointer; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn95 .ico { width: 16px; height: 16px; flex: none; }
.btn95:active, .btn95[aria-pressed="true"] {
  border-color: var(--dk) var(--hi) var(--hi) var(--dk);
  box-shadow: inset 1px 1px 0 var(--lo);
  padding: 7px 15px 5px 17px;
}
.btn95[aria-pressed="true"] { background: repeating-conic-gradient(#c0c0c0 0 25%, #e2e2e2 0 50%) 0 0 / 2px 2px; }
.btn-pay {
  color: var(--link);
  font-weight: 800;
  text-decoration: underline; text-underline-offset: .18em;
}
.btn-pay:hover { color: var(--link-hover); }
.btn-pay.is-off { color: #7a7a7a; text-decoration: none; text-shadow: 1px 1px 0 #fff; cursor: not-allowed; }
.field {
  min-height: 38px;
  background: #fff; color: #000;
  border: 2px solid; border-color: var(--lo) var(--hi) var(--hi) var(--lo);
  box-shadow: inset 1px 1px 0 var(--dk);
  padding: 6px 8px;
  font: 400 15px/1.3 var(--font-ui);
}
.field:focus { outline: none; box-shadow: inset 1px 1px 0 var(--dk), 0 0 0 2px var(--caption-b); }
code {
  font: 700 .92em var(--font-ui);
  background: #fff; color: #000;
  padding: 0 .3em; border: 1px solid var(--lo);
}

/* ---------- setup notes ---------- */
.setup-note { max-width: var(--row); margin: clamp(30px, 4vw, 44px) auto 0; }
.setup-note .win-bar { background: linear-gradient(90deg, #6b4c00, #c89512); }
.setup-note .win-body { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.setup-note .big-ico { width: 34px; height: 34px; }
.setup-note p { margin: 0 0 6px; font: 700 14px/1.45 var(--font-ui); }
.setup-note ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; font: 400 14px/1.5 var(--font-ui); }

/* ---------- lower half: marquee, how to buy, counter, badges ---------- */
.extras { max-width: var(--row); margin: clamp(36px, 5vw, 64px) auto 0; display: grid; gap: clamp(22px, 3vw, 32px); }
.marquee {
  position: relative; overflow: hidden;
  padding-block: 9px;
  background: var(--led-bg);
  border: 5px solid; border-color: var(--frame-right) var(--frame-top) var(--frame-top) var(--frame-right);
  box-shadow: 0 0 0 2px #000, 3px 4px 0 2px rgba(0, 0, 0, .5);
}
.marquee::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, transparent 1px, rgba(0, 0, 0, .55) 1.7px) 0 0 / 4px 4px;
}
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee-copy { flex: none; display: flex; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-msg {
  flex: none; display: inline-flex; align-items: center; gap: 1.2em; padding-right: 1.2em;
  font: 400 clamp(23px, 2.6vw, 31px)/1 var(--font-pixel);
  color: var(--led); letter-spacing: .08em; white-space: nowrap;
  text-shadow: 0 0 6px rgba(255, 176, 0, .75);
}
.marquee-msg .ico { width: .7em; height: .7em; filter: drop-shadow(0 0 4px rgba(255, 210, 60, .8)); }

.extras-row {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px); align-items: start;
}
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.steps li {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start;
  counter-increment: step;
  font: 400 15px/1.5 var(--font-ui);
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 34px; height: 34px;
  background: var(--caption-a); color: #fff;
  font: 400 19px/1 var(--font-display);
  box-shadow: 2px 2px 0 #000;
}
.contact {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--lo); box-shadow: inset 0 1px 0 var(--hi);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  font: 400 14px/1.4 var(--font-ui);
}
.contact-email { font-weight: 700; user-select: all; overflow-wrap: anywhere; }

.counter .win-body { display: grid; justify-items: center; gap: 10px; text-align: center; }
.odometer {
  display: inline-flex; gap: 3px; padding: 5px;
  background: #000;
  border: 2px solid; border-color: var(--lo) var(--hi) var(--hi) var(--lo);
}
.digit {
  position: relative; width: 26px; height: 40px; overflow: hidden;
  background: linear-gradient(#262626, #000 42%, #000 58%, #262626);
  box-shadow: inset 0 0 0 1px #333;
}
.digit-strip {
  display: block;
  color: #7dff6a; text-shadow: 0 0 6px rgba(125, 255, 106, .6);
  font: 400 40px/40px var(--font-pixel); text-align: center;
  transition: transform 1.4s cubic-bezier(.2, .9, .25, 1);
}
.digit-strip span { display: block; height: 40px; }
.digit::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .8); }
.counter p { margin: 0; font: 400 14px/1.45 var(--font-ui); }

.badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.b88 {
  width: 88px; height: 31px;
  display: grid; place-content: center; text-align: center;
  font: 400 14px/12px var(--font-pixel); letter-spacing: .04em;
  border: 1px solid #000;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .55), inset -1px -1px 0 rgba(0, 0, 0, .45), 2px 2px 0 rgba(0, 0, 0, .6);
  image-rendering: pixelated;
  overflow: hidden;
}
.b88 b { font-weight: 400; display: block; }
.b88 i { font-style: normal; display: block; }
.b-venmo { background: linear-gradient(#5fb0ff, #1a6fd6); color: #fff; }
.b-venmo i { color: #fff36b; }
.b-nocart { background: #fff; color: #000; }
.b-nocart i { color: var(--burst-ink); }
.b-kind { background: linear-gradient(90deg, #ff4fa3, #ffd84a, #7dff6a, #59d0ff, #b48cff, #ff4fa3) 0 0 / 200% 100%; color: #000; animation: slide-bg 2s linear infinite; }
.b-html { background: #000; color: #7dff6a; }
.b-html i { color: #fff; }
.b-800 { background: linear-gradient(#e8e8e8, #a9a9a9); color: #000080; }
.b-3am { background: #1b0b3a; color: #ffb000; }
.b-3am i { animation: blink 1s steps(1) infinite; }

.foot {
  max-width: var(--row);
  margin: 26px auto 0;
  padding-block: 0 26px;
  text-align: center;
  font: 400 19px/1.3 var(--font-pixel);
  color: var(--ink-dim);
  letter-spacing: .03em;
}
.foot p { margin: 2px 0; }

/* ---------- taskbar ---------- */
.taskbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
  color-scheme: light;
  display: flex; align-items: center; gap: 4px;
  height: calc(var(--taskbar-h) + env(safe-area-inset-bottom, 0px));
  padding: 3px max(4px, env(safe-area-inset-right, 0px)) calc(3px + env(safe-area-inset-bottom, 0px)) max(4px, env(safe-area-inset-left, 0px));
  background: var(--face); color: #000;
  border-top: 1px solid var(--face-hi);
  box-shadow: inset 0 1px 0 var(--hi);
}
.taskbar :focus-visible { outline: 1px dotted #000; outline-offset: -4px; }
.start-btn { height: 32px; min-height: 0; padding: 0 10px 0 6px; font-weight: 800; gap: 6px; }
.start-btn .ico { width: 20px; height: 20px; }
.start-btn[aria-expanded="true"] {
  border-color: var(--dk) var(--hi) var(--hi) var(--dk);
  box-shadow: inset 1px 1px 0 var(--lo);
  background: repeating-conic-gradient(#c0c0c0 0 25%, #e2e2e2 0 50%) 0 0 / 2px 2px;
}
.tasks { flex: 1 1 auto; min-width: 0; display: flex; gap: 4px; overflow: hidden; }
.task {
  min-width: 0; max-width: 230px; height: 32px; min-height: 0; padding: 0 10px;
  justify-content: flex-start;
  font: 700 13px/1 var(--font-ui);
  border-color: var(--dk) var(--hi) var(--hi) var(--dk);
  box-shadow: inset 1px 1px 0 var(--lo);
  background: repeating-conic-gradient(#c0c0c0 0 25%, #e2e2e2 0 50%) 0 0 / 2px 2px;
}
.task span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tray {
  flex: none; display: flex; align-items: center; gap: 1px;
  height: 32px; padding: 0 8px 0 3px;
  border: 1px solid; border-color: var(--lo) var(--hi) var(--hi) var(--lo);
}
.tray-btn {
  width: 30px; height: 26px; padding: 0;
  display: grid; place-items: center;
  background: transparent; border: 1px solid transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.tray-btn .ico { width: 16px; height: 16px; }
.tray-btn[aria-pressed="true"] {
  border-color: var(--lo) var(--hi) var(--hi) var(--lo);
  background: repeating-conic-gradient(#c0c0c0 0 25%, #ececec 0 50%) 0 0 / 2px 2px;
}
.tray-btn[aria-pressed="false"] .ico { opacity: .6; }
.clock { padding-left: 6px; font: 400 13px/1 var(--font-ui); white-space: nowrap; font-variant-numeric: tabular-nums; }
.taskbar.is-mini {
  left: auto; right: max(10px, env(safe-area-inset-right, 0px)); bottom: max(10px, env(safe-area-inset-bottom, 0px));
  height: auto; padding: 3px;
  border: 2px solid; border-color: var(--face-hi) var(--dk) var(--dk) var(--face-hi);
}
.taskbar.is-mini .clock { display: none; }

.start-menu {
  position: fixed; z-index: 850;
  left: max(4px, env(safe-area-inset-left, 0px));
  bottom: calc(var(--taskbar-h) + env(safe-area-inset-bottom, 0px) - 2px);
  display: flex;
  width: min(290px, calc(100vw - 8px));
  max-height: calc(100dvh - var(--taskbar-h) - 12px);
  overflow: auto;
}
.start-banner {
  flex: none; width: 32px; margin: 2px 0 2px 2px;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 10px;
  background: linear-gradient(0deg, var(--caption-a), var(--caption-b));
}
.start-banner span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 400 21px/1 var(--font-display); color: #fff; letter-spacing: .04em;
}
.start-banner em { font-style: normal; color: #9fd8ff; }
.start-list { list-style: none; margin: 0; padding: 3px; flex: 1 1 auto; min-width: 0; }
.start-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px 8px 8px;
  background: none; border: 0; color: #000;
  font: 400 15px/1.2 var(--font-ui);
  text-align: left; text-decoration: none;
  cursor: pointer;
}
.start-item .ico { width: 22px; height: 22px; flex: none; }
.start-item:hover, .start-item:focus-visible { background: var(--caption-a); color: #fff; outline: none; }
.start-item .state { margin-left: auto; font: 700 12px/1 var(--font-ui); opacity: .8; }
.start-sep { height: 0; margin: 4px 2px; border-top: 1px solid var(--lo); border-bottom: 1px solid var(--hi); }

/* tray balloon */
.balloon {
  position: fixed; z-index: 860;
  right: max(10px, env(safe-area-inset-right, 0px));
  bottom: calc(var(--taskbar-h) + env(safe-area-inset-bottom, 0px) + 14px);
  max-width: min(330px, calc(100vw - 20px));
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px;
  padding: 10px 14px 11px 12px;
  background: var(--tip); color: #000;
  border: 1px solid #000; border-radius: 10px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .5);
  font: 400 14px/1.4 var(--font-ui);
  cursor: pointer;
  animation: pop-in .18s steps(3) both;
}
.balloon::before, .balloon::after { content: ""; position: absolute; right: 40px; clip-path: polygon(0 0, 100% 0, 80% 100%); }
.balloon::before { bottom: -13px; width: 20px; height: 13px; background: #000; }
.balloon::after { bottom: -11px; right: 41px; width: 18px; height: 12px; background: var(--tip); }
.balloon .ico { width: 22px; height: 22px; }
.balloon strong { display: block; margin-bottom: 2px; }
.site:not(.has-taskbar) .balloon { bottom: 70px; }

/* ---------- item window ---------- */
.item-dialog {
  width: min(880px, calc(100vw - 24px));
  max-width: none; max-height: calc(100dvh - 24px);
  margin: auto; padding: 0;
  overflow: auto;
}
.item-dialog::backdrop { background: rgba(0, 0, 30, .55); }
.item-dialog.is-zooming { opacity: 0; }
.item-dialog.is-zooming::backdrop { background: transparent; }
.dlg-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; padding: 16px; }
.dlg-photo { width: 100%; }
.dlg-info { min-width: 0; display: flex; flex-direction: column; }
.dlg-price { margin: 0; font: 400 34px/1 var(--font-display); color: var(--burst-ink); }
.dlg-price.is-sold { color: #6a6a6a; text-decoration: line-through; }
.dlg-desc { margin: 10px 0 16px; font: 400 15px/1.55 var(--font-ui); }
.dlg-pay .btn-pay { width: 100%; min-height: 48px; font-size: 17px; }
.dlg-qr {
  display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 12px; align-items: center;
  margin-top: 14px; padding: 10px;
  background: #fff;
  border: 2px solid; border-color: var(--lo) var(--hi) var(--hi) var(--lo);
}
.dlg-qr .qr { width: 118px; height: 118px; line-height: 0; }
.dlg-qr .qr svg { width: 100%; height: 100%; }
.dlg-qr p { margin: 0; font: 400 13px/1.45 var(--font-ui); }
.dlg-qr .qr-empty {
  width: 118px; height: 118px; display: grid; place-items: center;
  background: repeating-conic-gradient(#e8e8e8 0 25%, #fff 0 50%) 0 0 / 8px 8px;
  font: 400 15px/1.1 var(--font-pixel); text-align: center; color: #555;
}
.dlg-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dlg-links .btn95 { flex: 1 1 auto; font-size: 13px; min-height: 34px; }
.zoom-rect {
  position: fixed; z-index: 1001; pointer-events: none;
  border: 2px dashed #fff; mix-blend-mode: difference;
}

/* ---------- small windows (e-mail, about) ---------- */
.mini-dialog { width: min(440px, calc(100vw - 24px)); max-width: none; margin: auto; padding: 0; }
.mini-dialog::backdrop { background: rgba(0, 0, 30, .45); }
.mini-dialog .win-body { display: grid; gap: 12px; font: 400 15px/1.5 var(--font-ui); }
.mini-dialog p { margin: 0; }
.mini-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* ---------- shop page ---------- */
.shop-head { padding-block: clamp(22px, 4.4vw, 48px) 0; display: grid; justify-items: center; gap: clamp(10px, 1.4vw, 16px); text-align: center; }
.shop-logo { display: block; line-height: 0; border-radius: 2px; }
.shop-logo .logo-fallback .lf-top { font-size: clamp(34px, 6vw, 72px); }
.shop-title-row { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 16px); }
.shop-status { margin: 0; font: 400 clamp(19px, 2vw, 23px)/1.2 var(--font-pixel); color: var(--ink-dim); letter-spacing: .05em; }
.toolbar { max-width: var(--row); margin: clamp(18px, 2.4vw, 28px) auto 0; }
.toolbar .win-body { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px; }
.search { flex: 1 1 240px; min-width: 0; display: flex; align-items: center; gap: 8px; }
.search label { display: flex; align-items: center; gap: 6px; font: 700 14px/1 var(--font-ui); white-space: nowrap; }
.search label .ico { width: 18px; height: 18px; }
.search input { flex: 1 1 auto; min-width: 0; width: 100%; }
.listing-grid {
  list-style: none; padding: 0;
  margin: clamp(18px, 2.4vw, 28px) auto 0;
  max-width: var(--row);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 470px), 1fr));
  gap: clamp(16px, 2.4vw, 26px);
}
.listing { container-type: inline-size; display: flex; flex-direction: column; min-width: 0; }
.listing-body { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 43%) minmax(0, 1fr); gap: 14px; padding: 12px; }
.listing-photo { position: relative; display: block; width: 100%; padding: 0; margin: 0; background: none; border: 0; cursor: zoom-in; align-self: start; }
.listing-info { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.listing-price { margin: 0; font: 400 27px/1 var(--font-display); color: var(--burst-ink); }
.listing.is-sold .listing-price { color: #6a6a6a; text-decoration: line-through; }
.listing-desc { margin: 0; font: 400 14.5px/1.5 var(--font-ui); color: #111; }
.listing-actions { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.listing-actions .btn-pay { flex: 1 1 auto; }
.listing.is-sold .win-bar { background: linear-gradient(90deg, #808080, #b5b5b5); }
@container (max-width: 430px) {
  .listing-body { grid-template-columns: minmax(0, 1fr); }
}
.empty-state { max-width: 560px; margin: 28px auto 0; }
.empty-state .win-body { display: grid; gap: 12px; justify-items: start; font: 400 15px/1.5 var(--font-ui); }
.empty-state p { margin: 0; }
.shop-extras { max-width: var(--row); margin: clamp(36px, 5vw, 56px) auto 0; display: grid; gap: clamp(22px, 3vw, 30px); }

/* ---------- dial-up intro ---------- */
.dialup {
  position: fixed; inset: 0; z-index: 1200;
  display: grid; place-items: center;
  padding: 16px;
  background: var(--desktop);
}
.dialup-win { width: min(450px, 100%); }
.dialup-anim { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 6px 0 14px; }
.dialup-anim .pc { width: 56px; height: 49px; }
.dialup-dots { display: flex; gap: 6px; }
.dialup-dots i { width: 7px; height: 7px; background: #000; opacity: .15; animation: dot 1.2s steps(1) infinite; }
.dialup-dots i:nth-child(2) { animation-delay: .2s; }
.dialup-dots i:nth-child(3) { animation-delay: .4s; }
.dialup-dots i:nth-child(4) { animation-delay: .6s; }
.dialup-dots i:nth-child(5) { animation-delay: .8s; }
.dialup-status { margin: 0 0 10px; min-height: 2.9em; font: 400 15px/1.45 var(--font-ui); }
.progress95 { height: 24px; padding: 2px; background: #fff; border: 2px solid; border-color: var(--lo) var(--hi) var(--hi) var(--lo); }
.progress95 span { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--caption-a) 0 10px, transparent 10px 12px); transition: width .3s steps(4); }
.dialup-skip { margin: 12px 0 0; font: 400 13px/1.3 var(--font-ui); color: #333; text-align: right; }
.dialup.is-leaving { animation: dissolve .45s steps(4) forwards; }

/* ---------- screensaver, shutdown, CRT, party mode ---------- */
.saver { position: fixed; inset: 0; z-index: 1100; background: #000; cursor: none; }
.saver canvas.warp { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.saver .wordart { position: absolute; left: 0; top: 0; will-change: transform; }
.saver-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; font: 400 20px var(--font-pixel); color: #5a5a5a; white-space: nowrap; }
.shutdown {
  position: fixed; inset: 0; z-index: 1150;
  display: grid; place-content: center; gap: 18px; padding: 24px;
  background: #000; color: #f08a24; text-align: center;
  font: 400 clamp(26px, 4vw, 44px)/1.2 var(--font-pixel);
  cursor: pointer;
}
.shutdown p { margin: 0; }
.shutdown small { font-size: .55em; color: #8a5a20; }
.crt {
  position: fixed; inset: 0; z-index: 950; pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, .3) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .6) 100%);
  animation: crt-flicker 4s steps(1) infinite;
}
.site.crt-on .stage { filter: saturate(1.2) contrast(1.06); }
.site.party-mode .stage { animation: party-hue 1.6s linear infinite; }
.site.party-mode .frame, .site.party-mode .listing { animation: jelly .36s steps(2) infinite alternate; }

/* ---------- coming soon: the error message across the frames ---------- */
.cs-stage {
  max-width: var(--row);
  margin: clamp(26px, 3.6vw, 44px) auto 0;
  display: grid; justify-items: center;
}
.cs-error { width: min(580px, 100%); }
.cs-error.is-waiting { visibility: hidden; }
.cs-error.pop { animation: cs-pop .4s steps(4) both; }
.cs-error.shake { animation: cs-shake .5s steps(10) both; }
.cs-body {
  display: grid; grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px; align-items: start;
  padding: 16px 18px 4px;
}
.cs-ico { width: 44px; height: 44px; }
.cs-text { min-width: 0; }
.cs-text p { margin: 0 0 8px; font: 400 15px/1.5 var(--font-ui); }
.cs-text .cs-lead { font-size: 17px; font-weight: 800; }
.cs-timer {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  margin: 4px 0 8px; padding: 7px 12px 6px;
  background: #000;
  border: 2px solid; border-color: var(--lo) var(--hi) var(--hi) var(--lo);
}
.cs-timer-label { font: 400 19px/1 var(--font-pixel); color: #9a9a9a; letter-spacing: .1em; }
.cs-count {
  font: 400 clamp(25px, 2.8vw, 32px)/1 var(--font-pixel);
  color: #7dff6a; text-shadow: 0 0 6px rgba(125, 255, 106, .6);
  letter-spacing: .06em; white-space: pre;
  font-variant-numeric: tabular-nums;
}
.cs-note { min-height: 1.5em; color: #8b0000; font-weight: 700; }
.cs-text .cs-note { margin-bottom: 0; }
.cs-actions { display: flex; justify-content: center; gap: 10px; padding: 8px 18px 16px; }
.cs-btn { min-width: 108px; }
.cs-details {
  margin: 0 18px 16px; padding: 8px 10px;
  background: #fff; color: #000;
  border: 2px solid; border-color: var(--lo) var(--hi) var(--hi) var(--lo);
  font: 400 12.5px/1.55 var(--font-ui);
  overflow-wrap: anywhere;
}
.cta.is-locked { cursor: not-allowed; }
.cta-stamp {
  position: absolute; top: -15px; right: -16px; z-index: 2;
  padding: 5px 9px 4px;
  background: var(--burst-ink); color: #fff;
  border: 2px solid #fff;
  box-shadow: 2px 3px 0 rgba(0, 0, 0, .6);
  font: 400 clamp(11px, 1.15vw, 15px)/1 var(--font-display);
  letter-spacing: .04em; white-space: nowrap;
  transform: rotate(7deg);
  pointer-events: none;
}
@keyframes cs-pop { from { transform: scale(.35); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cs-shake {
  0%, 100% { transform: translateX(0); }
  10% { transform: translateX(-11px); } 20% { transform: translateX(10px); }
  30% { transform: translateX(-8px); } 40% { transform: translateX(7px); }
  50% { transform: translateX(-5px); } 60% { transform: translateX(4px); }
  70% { transform: translateX(-2px); } 80% { transform: translateX(1px); }
}

/* ---------- animations (decorations move in chunky steps, like GIFs) ---------- */
@keyframes gif-wobble {
  0% { transform: rotate(-9deg) scale(1); }
  33% { transform: rotate(5deg) scale(1.12); }
  66% { transform: rotate(-3deg) scale(.96); }
  100% { transform: rotate(-9deg) scale(1); }
}
@keyframes spin-steps { to { transform: rotate(360deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes blink { 50% { visibility: hidden; } }
@keyframes sticker { 0%, 100% { transform: rotate(10deg) scale(1); } 50% { transform: rotate(3deg) scale(1.07); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14%); } }
@keyframes bob-flip { 0%, 100% { transform: scaleX(-1) translateY(0); } 50% { transform: scaleX(-1) translateY(-14%); } }
@keyframes flicker { 50% { opacity: .25; } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.72) rotate(18deg); } }
@keyframes flare { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.8) rotate(22deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes slide-bg { to { background-position: -200% 0; } }
@keyframes dot { 0%, 100% { opacity: .15; } 30% { opacity: 1; } }
@keyframes dissolve { to { opacity: 0; visibility: hidden; } }
@keyframes pop-in { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes crt-flicker { 0%, 100% { opacity: 1; } 47% { opacity: .92; } }
@keyframes party-hue { to { filter: hue-rotate(360deg) saturate(1.4); } }
@keyframes jelly { from { transform: skewX(-2deg) scale(1.01, .99); } to { transform: skewX(2deg) scale(.99, 1.01); } }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .featured-head .ticker-bar { max-width: 120px; }
  .cta-row .ticker-bar { display: none; }
}
@media (max-width: 760px) {
  .extras-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .featured-head .ticker-bar, .featured-head .spin { display: none; }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .featured-deco { height: 40px; }
  .deco-rocket.l { left: 28%; }
  .deco-rocket.r { left: 72%; }
  .cta-row { gap: 6px; }
  .flare { width: 40px; }
  .cta { padding-inline: 14px; }
  .price-burst { width: 48%; top: -10%; right: -7%; }
  .dlg-body { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 12px; }
  .dlg-photo { width: min(100%, 44vh, 420px); justify-self: center; }
  .dlg-price { font-size: 30px; }
  .clock { display: none; }
  .task { max-width: 120px; }
  .cs-body { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 12px 12px 2px; }
  .cs-ico { width: 32px; height: 32px; }
  .cs-text p { font-size: 14px; }
  .cs-text .cs-lead { font-size: 15px; }
  .cs-actions { padding: 6px 12px 12px; }
  .cs-btn { min-width: 92px; }
  .cs-details { margin: 0 12px 12px; }
  .cta-stamp { top: -13px; right: -6px; }
}
@media (max-width: 420px) {
  .flare { display: none; }
  .cta { width: 100%; }
  .badge-new { width: 40px; }
  .start-btn { padding-inline: 6px; }
}

/* ---------- people who prefer less motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .marquee-track { width: auto; }
  .marquee-copy + .marquee-copy { display: none; }
  .marquee-copy { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .marquee-msg { white-space: normal; text-align: center; padding-inline: 12px; }
}
