/* =====================================================================
   LUNAR HAZE — WEBSITE STYLES (assets/css/site.css)
   ---------------------------------------------------------------------
   The whole site is a "LunarOS" desktop: a wallpaper background with
   windows on it, a menu bar on top and a taskbar at the bottom.

   COLORS live at the top as variables. Seasonal themes (Halloween,
   Winter, 420...) will swap these values to reskin the whole site.
   ===================================================================== */

/* The flower photo shape (shop cards, search, cart, wishlist, quiz). Same flower as the SVG one in
   includes/header.php, traced as a list of points: Safari draws this kind of shape much faster
   (the SVG kind made the Stash flicker blank while scrolling in Safari). */
:root { --flower: polygon(50.0% 0.0%, 52.2% 0.1%, 54.3% 0.4%, 56.5% 0.9%, 58.5% 1.7%, 60.5% 2.6%, 62.4% 3.7%, 64.2% 5.0%, 65.8% 6.5%, 67.3% 8.2%, 68.7% 10.0%, 69.8% 11.9%, 70.8% 13.9%, 73.1% 13.8%, 75.3% 13.8%, 77.6% 14.1%, 79.7% 14.5%, 81.9% 15.2%, 83.9% 16.1%, 85.8% 17.2%, 87.6% 18.5%, 89.2% 19.9%, 90.8% 21.5%, 92.1% 23.2%, 93.3% 25.0%, 94.3% 26.9%, 95.1% 29.0%, 95.7% 31.1%, 96.1% 33.2%, 96.3% 35.4%, 96.3% 37.6%, 96.0% 39.8%, 95.6% 42.0%, 94.9% 44.1%, 94.0% 46.2%, 92.9% 48.1%, 91.6% 50.0%, 92.9% 51.9%, 94.0% 53.8%, 94.9% 55.9%, 95.6% 58.0%, 96.0% 60.2%, 96.3% 62.4%, 96.3% 64.6%, 96.1% 66.8%, 95.7% 68.9%, 95.1% 71.0%, 94.3% 73.1%, 93.3% 75.0%, 92.1% 76.8%, 90.8% 78.5%, 89.2% 80.1%, 87.6% 81.5%, 85.8% 82.8%, 83.9% 83.9%, 81.9% 84.8%, 79.7% 85.5%, 77.6% 85.9%, 75.3% 86.2%, 73.1% 86.2%, 70.8% 86.1%, 69.8% 88.1%, 68.7% 90.0%, 67.3% 91.8%, 65.8% 93.5%, 64.2% 95.0%, 62.4% 96.3%, 60.5% 97.4%, 58.5% 98.3%, 56.5% 99.1%, 54.3% 99.6%, 52.2% 99.9%, 50.0% 100.0%, 47.8% 99.9%, 45.7% 99.6%, 43.5% 99.1%, 41.5% 98.3%, 39.5% 97.4%, 37.6% 96.3%, 35.8% 95.0%, 34.2% 93.5%, 32.7% 91.8%, 31.3% 90.0%, 30.2% 88.1%, 29.2% 86.1%, 26.9% 86.2%, 24.7% 86.2%, 22.4% 85.9%, 20.3% 85.5%, 18.1% 84.8%, 16.1% 83.9%, 14.2% 82.8%, 12.4% 81.5%, 10.8% 80.1%, 9.2% 78.5%, 7.9% 76.8%, 6.7% 75.0%, 5.7% 73.1%, 4.9% 71.0%, 4.3% 68.9%, 3.9% 66.8%, 3.7% 64.6%, 3.7% 62.4%, 4.0% 60.2%, 4.4% 58.0%, 5.1% 55.9%, 6.0% 53.8%, 7.1% 51.9%, 8.4% 50.0%, 7.1% 48.1%, 6.0% 46.2%, 5.1% 44.1%, 4.4% 42.0%, 4.0% 39.8%, 3.7% 37.6%, 3.7% 35.4%, 3.9% 33.2%, 4.3% 31.1%, 4.9% 29.0%, 5.7% 26.9%, 6.7% 25.0%, 7.9% 23.2%, 9.2% 21.5%, 10.8% 19.9%, 12.4% 18.5%, 14.2% 17.2%, 16.1% 16.1%, 18.1% 15.2%, 20.3% 14.5%, 22.4% 14.1%, 24.7% 13.8%, 26.9% 13.8%, 29.2% 13.9%, 30.2% 11.9%, 31.3% 10.0%, 32.7% 8.2%, 34.2% 6.5%, 35.8% 5.0%, 37.6% 3.7%, 39.5% 2.6%, 41.5% 1.7%, 43.5% 0.9%, 45.7% 0.4%, 47.8% 0.1%); }
:root {
    --peri:      #5B5FC7;   /* periwinkle: wallpaper, buttons */
    --peri-deep: #45489E;   /* darker periwinkle: text on light */
    --lime:      #E1F66B;   /* highlights, buttons */
    --pink:      #D65B8C;   /* stickers, accents */
    --paper:     #FCF7FF;   /* window background */
    --lav:       #F1E6FA;   /* soft lavender panels */
    --lav-mid:   #E3D0F4;   /* title bars, terminal lines */
    --lav-dark:  #C9AEE6;   /* bevel shadow edges */
    --plum:      #5E3F7A;   /* window text and titles */
    --ink:       #2B2A5E;   /* body text */
    --white:     #FFFFFF;

    --wallpaper: #5B5FC7;
    --display: "Fraunces", Georgia, "Apple Color Emoji", "Segoe UI Emoji", serif;   /* (emoji fonts before the plain fallbacks so emoji come out in color) */
    --body: "Courier Prime", "Courier New", "Apple Color Emoji", "Segoe UI Emoji", ui-monospace, monospace;

    --radius: 2px;
    --pill: 999px;
    --shadow: 5px 5px 0 rgba(43,42,94,0.25);
    /* Windows 98 style bevels: light top-left edge, darker bottom-right edge */
    --bevel-out: #FFFFFF var(--lav-dark) var(--lav-dark) #FFFFFF;
    --bevel-in:  var(--lav-dark) #FFFFFF #FFFFFF var(--lav-dark);
    --max: 1200px;
    /* Bevel edges for periwinkle and lime buttons (light edge / dark edge), changed by seasonal themes */
    --peri-hi: #8C8FE0; --peri-lo: #34378A; --peri-line: #7A7DD8;
    --lime-hi: #F4FBC8; --lime-lo: #9DB02E;
}

/* ---------- Basics ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }   /* (stops iPhones from enlarging some text on their own, like one news crawl looking bigger than another) */
body { margin: 0; padding-bottom: 58px; color: var(--ink); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased;
       background-color: var(--wallpaper);
       background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1.4px), radial-gradient(circle at 15% 20%, rgba(214,91,140,0.35), transparent 40%), radial-gradient(circle at 85% 70%, rgba(225,246,107,0.18), transparent 38%);
       background-size: 22px 22px, 100% 100%, 100% 100%; background-attachment: fixed; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }   /* hidden things always stay hidden */
body { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; font-variation-settings: "SOFT" 100, "WONK" 1; line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--lime); color: var(--ink); border-radius: var(--pill); }
.skip:focus { top: 12px; }
.center { text-align: center; }

.ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; background: repeating-linear-gradient(135deg, #E7E9F6 0 14px, #EEF0FA 14px 28px); color: #8C8FC4; font-size: 12.5px; }
.ph span { padding: 3px 10px; border-radius: var(--pill); background: rgba(255,255,255,0.75); }

/* ---------- Buttons (retro, beveled, [ BRACKETED ]) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 3px solid; border-color: var(--bevel-out); border-radius: 0;
       background: var(--white); color: var(--plum); font: 700 14px/1.2 var(--body); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; cursor: pointer;
       box-shadow: 1px 0 0 var(--plum), 0 1px 0 var(--plum), 1px 1px 0 var(--plum); }   /* (an L-shaped edge on the right + bottom: no stair-step at the corners) */
.btn::before { content: "[ "; }
.btn::after { content: " ]"; }
.btn:hover { background: var(--lav); }
.btn:active { border-color: var(--bevel-in); box-shadow: none; transform: translate(1px, 1px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime); filter: brightness(1.08); }
.btn-peri { background: var(--peri); color: var(--white); border-color: var(--peri-hi) var(--peri-lo) var(--peri-lo) var(--peri-hi); }
.btn-peri:hover { background: var(--peri); filter: brightness(1.15); }
.btn-ghost { background: var(--white); }
.btn-dim { color: #9C86B3; }
.btn-big { padding: 14px 26px; font-size: 15px; }
/* Plain buttons inside a window get a soft tinted fill, so they don't disappear against the
   window's light background (mostly noticeable on phones). Uses the theme's colors, so it works in every season.
   (:where keeps this weak, so special buttons like the lime/peri ones and dark windows still win.) */
:where(.win) .btn:where(:not(.btn-lime):not(.btn-peri):not(.btn-ghost)) { background: var(--lav); }
:where(.win) .btn:where(:not(.btn-lime):not(.btn-peri):not(.btn-ghost)):hover { background: var(--lav-mid); }
.text-link { color: var(--peri-deep); font-size: 14px; text-underline-offset: 4px; }

/* ---------- Announcement + menu bar ---------- */
.announce { padding: 6px 16px; background: var(--lime); color: var(--ink); font-size: 12.5px; text-align: center; }
.announce a { text-decoration: none; }
.menubar { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
           padding: 8px clamp(14px, 3vw, 32px); background: var(--peri-deep); border-bottom: 3px solid var(--peri-lo); box-shadow: inset 0 -1px 0 var(--peri-line); color: var(--white); }
.logo { display: flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; }
.logo img { height: 40px; width: auto; }
.logo-text { font: 800 21px/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -0.02em; }
.logo-os { display: none !important; }   /* the old "OS" badge next to the logo is retired (the real logo goes here) */
.site-nav { display: flex; gap: 2px; }
.site-nav a { padding: 6px 14px; color: var(--white); text-decoration: none; font-size: 14.5px; }
.site-nav a:hover { background: rgba(255,255,255,0.14); }
.site-nav a[aria-current="page"] { background: var(--lime); color: var(--ink); }
.menubar-right { display: flex; align-items: center; gap: 14px; }
.menubar svg, .taskbar svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menubar svg .fill { fill: currentColor; stroke: none; }
.icon-link { display: grid; place-items: center; color: var(--white); }
.clock { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.cart-link { position: relative; display: flex; align-items: center; gap: 6px; padding: 6px 14px; border: 3px solid; border-color: var(--lime-hi) var(--lime-lo) var(--lime-lo) var(--lime-hi); background: var(--lime); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--pink); color: var(--white); font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; }
.menu-btn { display: none; }

/* ---------- Windows (Windows 98, but make it soft) ---------- */
.desktop { display: grid; gap: 44px; width: min(100% - 32px, var(--max)); margin: 0 auto; padding: 36px 0 60px; }
.win { position: relative; display: flex; flex-direction: column; border: 3px solid; border-color: var(--bevel-out); outline: 1px solid var(--lav-dark); background: var(--paper); box-shadow: var(--shadow); }
.win-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 14px; background: linear-gradient(90deg, var(--lav-dark), var(--lav-mid)); user-select: none; }
.win-peri .win-bar { background: linear-gradient(90deg, #BFC0F0, #DCD9F9); }
.win-pink .win-bar { background: linear-gradient(90deg, #EDB9D2, #F7DCEA); }
.win-lime .win-bar { background: linear-gradient(90deg, #D9EC8E, #EEF8C4); }
.win-title { display: flex; align-items: center; gap: 10px; color: var(--plum); font: 700 14px var(--body); letter-spacing: 0.08em; text-transform: uppercase; }
.win-icon { font-size: 18px; letter-spacing: 0; }
.win-btns { display: flex; gap: 4px; }
.wb { position: relative; display: block; width: 24px; height: 22px; padding: 0; border: 2px solid; border-color: var(--bevel-out); border-radius: 0; background: #F8F1FD; cursor: pointer; }
.wb:hover { background: var(--white); }
.wb:active { border-color: var(--bevel-in); }
.wb::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.wb-min::before { width: 9px; height: 2px; margin-top: 4px; background: var(--plum); }
.wb-max::before { width: 8px; height: 7px; border: 1.5px solid var(--plum); border-top-width: 2.5px; }
.wb-close { background: #F29DC0; }
.wb-close:hover { background: var(--pink); }
.wb-close::before { content: "×"; color: var(--white); font: 700 15px/1 Arial, sans-serif; }
.win-body { flex: 1; padding: clamp(20px, 3vw, 34px); }
.win-status { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--lav-mid); background: #FAF3FE; color: #A58BC0; font-size: 13.5px; }
.ws-box { width: 16px; height: 16px; border: 2px solid; border-color: var(--bevel-in); background: var(--lav-mid); }
.win.is-min .win-body, .win.is-min .win-status { display: none; }
.win.is-min { align-self: start; }
.win.is-closed { display: none; }
.win.is-max { grid-column: 1 / -1; }
.win.dragging { z-index: 30; box-shadow: 9px 10px 0 rgba(43,42,94,0.28); }
.win.dragging .win-bar { cursor: grabbing; }
@media (pointer: fine) and (min-width: 981px) { .win-bar[data-drag] { cursor: grab; } }
.win-head { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; align-items: end; margin-bottom: 40px; }
.win-head h2 { font-size: clamp(34px, 4.6vw, 58px); color: var(--plum); }
.win-head p { color: color-mix(in srgb, var(--plum) 82%, #FFFFFF); max-width: 46ch; }
.win-h2 { font-size: clamp(28px, 3vw, 40px); color: var(--plum); }
.win-sub { margin: 8px 0 22px; color: color-mix(in srgb, var(--plum) 82%, #FFFFFF); font-size: 15px; }
.term { margin-bottom: 20px; padding: 12px 16px; border: 2px solid var(--lav-dark); background: var(--lav-mid); color: color-mix(in srgb, var(--plum) 82%, #FFFFFF); font-size: 14px; }
.inset { border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.win-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.win-row .win:nth-child(2) { margin-top: 48px; }

/* ---------- 1. Desktop hero ---------- */
.desk-hero { position: relative; display: grid; grid-template-columns: 110px minmax(0, 620px) 1fr; gap: 28px; align-items: center; min-height: min(78vh, 720px); }
.desk-icons { display: grid; gap: 18px; align-self: start; padding-top: 10px; }
.desk-icon { display: grid; justify-items: center; gap: 6px; padding: 6px 2px; color: var(--white); text-align: center; text-decoration: none; }
.di-img { font-size: 40px; line-height: 1; filter: drop-shadow(2px 2px 0 rgba(43,42,94,0.35)); }
.di-label { padding: 1px 5px; font-size: 13px; line-height: 1.25; text-shadow: 1px 1px 0 rgba(43,42,94,0.7); }
.desk-icon:hover .di-label, .desk-icon:focus-visible .di-label { background: var(--plum); outline: 1px dotted var(--lime); text-shadow: none; }
.desk-icon:focus-visible { outline: none; }
.win-welcome { z-index: 2; }
.win-welcome .win-body { padding: clamp(28px, 4vw, 48px); }
.hero-title { font-size: clamp(50px, 6.6vw, 96px); font-weight: 800; color: var(--plum); max-width: 10ch; }
.hero-text { margin-top: 20px; max-width: 42ch; color: color-mix(in srgb, var(--plum) 82%, #FFFFFF); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.collage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.stk { position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r)); cursor: grab; user-select: none; touch-action: none; pointer-events: auto; transition: transform .15s ease; }
.stk:hover { transform: rotate(calc(var(--r) - 4deg)) scale(1.04); }
.stk.dragging { cursor: grabbing; transform: rotate(calc(var(--r) + 4deg)) scale(1.1); transition: none; z-index: 10; }
.stk-photo { width: clamp(170px, 18vw, 250px); aspect-ratio: 2 / 3; filter: drop-shadow(6px 8px 0 rgba(43,42,94,0.3)); }
.stk-photo .blob { display: block; width: 100%; height: 100%; padding: 7px; clip-path: url(#blob-clip); background: #fff; }
.stk-photo .blob .ph, .stk-photo .blob img { width: 100%; height: 100%; object-fit: cover; clip-path: url(#blob-clip); }
.stk-case { width: clamp(110px, 11vw, 160px); aspect-ratio: 4 / 3; padding: 7px; border-radius: 22px; background: var(--white); box-shadow: 6px 8px 0 rgba(43,42,94,0.3); }
.stk-case .ph, .stk-case img { width: 100%; height: 100%; border-radius: 16px; object-fit: cover; }
.stk-emoji { font-size: clamp(40px, 4vw, 60px); line-height: 1; filter: drop-shadow(3px 4px 0 rgba(43,42,94,0.3)); }
.stk-label { padding: 10px 16px; border-radius: 16px; background: var(--pink); color: var(--white); font: 700 italic 18px/1.05 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; box-shadow: 4px 5px 0 rgba(43,42,94,0.3); }

/* ---------- 2. Favorites: flower product cards (includes/product-card.php) ---------- */
.pcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; margin-bottom: 44px; }
.pcard { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pcard-photo { position: relative; display: block; width: 100%; max-width: 340px; aspect-ratio: 1; }
.flower { display: block; width: 100%; height: 100%; clip-path: var(--flower); background: #E7E9F6; transition: transform .35s ease; }
.flower img, .flower .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
/* Photo position + zoom from Admin > Products (--zw/--zl/--zt/--ox/--oy, see includes/product-card.php).
   Zoomed photos are laid out bigger (not stretched), so they stay sharp. The hover tilt spins the
   photo back the other way around the flower's middle point, so it holds still. */
.flower { position: relative; }
.flower img { transform: rotate(0deg); transform-origin: var(--ox, 50%) var(--oy, 50%); }
.flower img[style*="--zw"] { position: absolute; left: var(--zl); top: var(--zt); width: var(--zw); height: var(--zw); max-width: none; }
.pcard-photo:hover .flower { transform: rotate(8deg) scale(1.02); }
.pcard-photo:hover .flower img { transform: rotate(-8deg); }
.seal { position: absolute; left: 2%; top: 2%; display: grid; place-items: center; width: 24%; aspect-ratio: 1; color: var(--white); text-align: center;
        font: 700 clamp(15px, 1.7vw, 24px)/0.95 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; background: var(--peri); clip-path: polygon(50.0% 0.0%, 57.1% 5.1%, 65.5% 2.4%, 70.7% 9.5%, 79.4% 9.5%, 82.2% 17.8%, 90.5% 20.6%, 90.5% 29.3%, 97.6% 34.5%, 94.9% 42.9%, 100.0% 50.0%, 94.9% 57.1%, 97.6% 65.5%, 90.5% 70.7%, 90.5% 79.4%, 82.2% 82.2%, 79.4% 90.5%, 70.7% 90.5%, 65.5% 97.6%, 57.1% 94.9%, 50.0% 100.0%, 42.9% 94.9%, 34.5% 97.6%, 29.3% 90.5%, 20.6% 90.5%, 17.8% 82.2%, 9.5% 79.4%, 9.5% 70.7%, 2.4% 65.5%, 5.1% 57.1%, 0.0% 50.0%, 5.1% 42.9%, 2.4% 34.5%, 9.5% 29.3%, 9.5% 20.6%, 17.8% 17.8%, 20.6% 9.5%, 29.3% 9.5%, 34.5% 2.4%, 42.9% 5.1%); }
.seal-large { background: var(--pink); }
.seal-mini { background: var(--peri-deep); }
.seal-sold { background: var(--ink); font-size: clamp(15px, 1.6vw, 20px); }
.burst { position: absolute; right: 0; bottom: 6%; display: grid; place-items: center; width: 27%; aspect-ratio: 1; padding: 4%; text-align: center; transform: rotate(-12deg);
         font: 700 clamp(12px, 1.15vw, 15px)/1.05 var(--body); background: var(--lime); color: var(--ink); clip-path: polygon(50.0% 0.0%, 57.1% 5.1%, 65.5% 2.4%, 70.7% 9.5%, 79.4% 9.5%, 82.2% 17.8%, 90.5% 20.6%, 90.5% 29.3%, 97.6% 34.5%, 94.9% 42.9%, 100.0% 50.0%, 94.9% 57.1%, 97.6% 65.5%, 90.5% 70.7%, 90.5% 79.4%, 82.2% 82.2%, 79.4% 90.5%, 70.7% 90.5%, 65.5% 97.6%, 57.1% 94.9%, 50.0% 100.0%, 42.9% 94.9%, 34.5% 97.6%, 29.3% 90.5%, 20.6% 90.5%, 17.8% 82.2%, 9.5% 79.4%, 9.5% 70.7%, 2.4% 65.5%, 5.1% 57.1%, 0.0% 50.0%, 5.1% 42.9%, 2.4% 34.5%, 9.5% 29.3%, 9.5% 20.6%, 17.8% 17.8%, 20.6% 9.5%, 29.3% 9.5%, 34.5% 2.4%, 42.9% 5.1%); }
.burst-new { background: var(--peri); color: var(--white); }
.burst-best { background: var(--pink); color: var(--white); }
.badge-img { position: absolute; right: -2%; top: 4%; width: 26%; transform: rotate(10deg); }
.pcard-rating { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 21px; letter-spacing: 2px; }
.pcard-rating small { color: #A7A8C9; font: 13px var(--body); letter-spacing: 0; }
.pcard-rating.none span { opacity: 0.35; filter: grayscale(0.4); }
.pcard-name { margin-top: 8px; font-size: clamp(26px, 2.5vw, 34px); }
.pcard-name a { color: var(--plum); text-decoration: none; }
.pcard-name a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pcard-tagline { margin: 8px 0 18px; color: var(--peri-deep); font-style: italic; font-size: 14.5px; }
.pcard-size { margin: 2px 0 18px; color: #8A8BB3; font-size: 13px; }
.pcard-btn { display: block; width: 100%; max-width: 320px; margin-top: auto; padding: 12px 14px; background: var(--peri); color: var(--white); border-color: var(--peri-hi) var(--peri-lo) var(--peri-lo) var(--peri-hi); font-size: 13px; line-height: 1.35; letter-spacing: 0.03em; text-align: center; text-wrap: balance; }
.pcard.is-sold .flower { filter: grayscale(0.85); opacity: 0.55; }
.pcard.is-sold .pcard-btn { background: #E6E2FA; color: #6B6A92; border-color: var(--bevel-out); }

/* ---------- 3. Sticky notes on the desktop ---------- */
.notes-desk { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 30px 56px; align-items: center; padding: 10px 0; }
.desk-heading { font-size: clamp(36px, 4.6vw, 60px); color: var(--white); text-shadow: 0 3px 0 rgba(43,42,94,0.35); }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 0; padding: 0; list-style: none; }
.note { position: relative; padding: 26px 22px 24px; background: #FFF9C9; color: var(--ink); font-size: 14.5px; box-shadow: 5px 6px 0 rgba(43,42,94,0.28); }
.note::before { content: ""; position: absolute; left: 50%; top: -10px; width: 70px; height: 20px; margin-left: -35px; background: rgba(255,255,255,0.55); transform: rotate(-3deg); }
.note-emoji { display: block; margin-bottom: 8px; font-size: 28px; }
.notes-tap { display: none; }
.note-1 { transform: rotate(-2deg); }
.note-2 { transform: rotate(1.8deg) translateY(22px); background: #FFE1EE; }
.note-3 { transform: rotate(1deg); background: #E4F8C9; }
.note-4 { transform: rotate(-1.4deg) translateY(22px); background: #E6E3FF; }

/* ---------- 4. Kit installer ---------- */
.picker-title { font-size: clamp(28px, 3vw, 38px); color: var(--plum); margin-bottom: 22px; }
.picker-q { margin: 0; padding: 0; border: 0; }
.picker-q legend { margin-bottom: 14px; font: 700 22px/1.2 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--plum); }
.answers { display: grid; gap: 12px; }
.answer { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 2px solid var(--lav-dark); border-top-color: #EFE4F9; border-left-color: #EFE4F9; background: #FDF8FF; color: var(--plum); font: 400 16px/1.3 var(--body); text-align: left; cursor: pointer; }
.answer::before { content: ""; flex: none; width: 12px; height: 12px; border: 1.5px solid #A98BCB; border-radius: 50%; }
.answer:hover { background: var(--white); border-color: var(--plum); }
.answer:hover::before { background: var(--plum); box-shadow: inset 0 0 0 2px var(--white); }
.answer-emoji { font-size: 22px; }
.install { margin-top: 24px; }
.install-row { display: flex; justify-content: space-between; margin-bottom: 8px; color: #8C6FA8; font-size: 14px; }
.install-bar { height: 24px; padding: 3px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); overflow: hidden; }
.install-bar span { display: block; width: 0; height: 100%; background: repeating-linear-gradient(90deg, #B58AE0 0 14px, transparent 14px 18px); transition: width .45s steps(8); }
.result-kicker { color: #2E8B57; font-size: 14px; font-weight: 600; }
.result-body { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; margin-top: 14px; }
.result-photo { aspect-ratio: 1; overflow: hidden; clip-path: var(--flower); background: var(--lav); }
.result-photo img, .result-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.result-copy h3 { font-size: 34px; color: var(--peri-deep); }
.result-meta { margin-top: 6px; font-weight: 600; }
.result-why { margin-top: 8px; font-size: 14px; color: #55547A; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- 4b. Kit contents ---------- */
.inside-table-wrap { overflow-x: auto; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.inside-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.inside-table th, .inside-table td { padding: 10px 12px; border-bottom: 1px solid #ECEBF6; text-align: center; }
.inside-table tbody tr:last-child th, .inside-table tbody tr:last-child td { border-bottom: 0; }
.inside-table tbody th { text-align: left; font-weight: 400; }
.inside-table thead th { padding: 14px 12px; background: var(--peri); color: var(--white); }
.inside-table thead th:nth-child(3) { background: var(--pink); }
.inside-table thead th:nth-child(4) { background: var(--peri-deep); }
.size-name { display: block; font: 700 22px/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.size-price { display: block; margin-top: 3px; color: var(--lime); font-size: 13.5px; }
.yes { color: var(--pink); font-size: 18px; }
.no { color: #C9CAE0; font-size: 18px; }

/* ---------- 5. Hotbox reviews ---------- */
.im-status { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: #6B6A92; font-size: 13px; }
.im-body { display: grid; gap: 12px; }
.im-msg { max-width: 90%; padding: 10px 14px; border: 2px solid transparent; font-size: 15px; }
.im-msg:nth-child(even) { justify-self: end; }
.im-name { font-weight: 600; }
.im-pink { background: #FCE7F1; } .im-pink .im-name { color: #B8347A; }
.im-peri { background: #ECEDFB; } .im-peri .im-name { color: var(--peri-deep); }
.im-lime { background: #F4FBD0; } .im-lime .im-name { color: #5B6612; }
.im-typing { display: flex; align-items: center; gap: 4px; color: #8A89A6; font-size: 14px; }
.im-typing i { width: 7px; height: 7px; border-radius: 50%; background: #B9BAD6; animation: blink 1.2s infinite; }
.im-typing i:nth-of-type(2) { animation-delay: .2s; }
.im-typing i:nth-of-type(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }

/* ---------- 5b. Markets ---------- */
.market-list { display: grid; gap: 12px; margin: 0 0 18px; padding: 0; list-style: none; }
.market { display: grid; gap: 2px; padding: 14px 18px; border: 2px solid var(--lav-dark); border-top-color: #EFE4F9; border-left: 6px solid var(--pink); background: var(--white); }
.market-when { color: var(--pink); font-size: 12.5px; font-weight: 600; }
.market-name { font: 700 21px/1.15 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--plum); }
.market-meta { font-size: 13px; }

/* ---------- 6. Download dialog ---------- */
.win-download { max-width: 980px; justify-self: center; width: 100%; }
.dl { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; }
.dl-art { aspect-ratio: 4 / 5; overflow: hidden; border: 3px solid; border-color: var(--bevel-in); transform: rotate(-3deg); box-shadow: 5px 6px 0 var(--lime); }
.dl-art img, .dl-art .ph { width: 100%; height: 100%; object-fit: cover; }
.dl-copy { display: grid; gap: 14px; }
.dl-copy .term { margin: 0; }
.signup { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input { flex: 1 1 220px; padding: 12px 16px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); font: 16px var(--body); color: var(--plum); }
.fine { font-size: 12.5px; color: #6B6A92; }

/* ---------- Footer ---------- */
.site-footer { display: grid; justify-items: center; gap: 12px; padding: 20px 20px 30px; color: var(--white); text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.footer-links a { color: var(--lime); font-size: 14px; text-underline-offset: 4px; }
.footer-small { font-size: 12px; color: #DADBF7; }

/* ---------- Taskbar + Start menu ---------- */
.taskbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 8px; height: 52px; padding: 6px 8px;
           background: #EFE3F9; border-top: 3px solid #FFFFFF; box-shadow: 0 -1px 0 var(--lav-dark); }
.start-btn { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 3px solid; border-color: var(--bevel-out); background: var(--lime); color: var(--ink);
             font: 700 15px var(--body); cursor: pointer; box-shadow: 1px 0 0 var(--plum), 0 1px 0 var(--plum), 1px 1px 0 var(--plum); }
.start-btn[aria-expanded="true"] { border-color: var(--bevel-in); box-shadow: none; }
.task-items { display: flex; flex: 1; gap: 6px; min-width: 0; overflow-x: auto; }
.task { display: flex; align-items: center; gap: 8px; flex: none; height: 38px; max-width: 230px; padding: 0 14px; border: 3px solid; border-color: var(--bevel-out); background: #F8F1FD;
        color: var(--plum); font: 700 13px var(--body); white-space: nowrap; cursor: pointer; }
.task:active { border-color: var(--bevel-in); }
/* (Nov 17 2026) The window name on a taskbar button: never spills past the button, ends in … if it's too long */
.task > span:first-child { flex: none; }
.task-t, .cw-task-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-short { display: none; }
.hb-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #2FB673; }
.tray { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 12px; border: 2px solid; border-color: var(--bevel-in); color: var(--plum); font-size: 13.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.start-menu { position: fixed; left: 8px; bottom: 58px; z-index: 61;   /* above Puffy (60) */
              display: grid; grid-template-columns: 38px 1fr; width: 290px; border: 3px solid; border-color: var(--bevel-out);
              outline: 1px solid var(--lav-dark); background: var(--paper); box-shadow: var(--shadow); }
.start-menu[hidden] { display: none; }
.start-side { writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; padding: 14px 0; background: linear-gradient(0deg, var(--peri), var(--plum)); color: var(--lime); font: 800 20px var(--display); }
.start-list { display: grid; padding: 6px; }
.start-list a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; color: var(--plum); font-size: 15px; text-decoration: none; }
.start-list a:hover, .start-list a:focus-visible { background: var(--plum); color: var(--white); outline: none; }
.start-list hr { width: 100%; margin: 6px 0; border: 0; border-top: 1px solid var(--lav-dark); border-bottom: 1px solid #FFFFFF; }

/* ---------- 21+ system alert ---------- */
.age-gate { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(94,63,122,0.45); backdrop-filter: blur(6px); }
.age-gate[hidden] { display: none; }
.age-win { width: min(100%, 500px); }
.age-gate { grid-template-columns: minmax(0, 1fr); justify-items: center; }   /* a little smaller so it doesn't take over the screen */
.age-win .win-bar { background: linear-gradient(90deg, var(--lav-dark), var(--lav-mid)); }
.age-panel { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px 16px; align-items: center; }
.age-icon { font-size: 34px; line-height: 1; }
.age-panel h2 { margin-bottom: 6px; color: var(--plum); font: 700 16px var(--body); letter-spacing: 0.06em; text-transform: uppercase; }
.age-panel p { color: #6E5488; font-size: 14px; line-height: 1.5; }
.age-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.age-win .win-body { padding: 14px 16px 16px; }
.age-win .term { font-size: 11.5px; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.age-actions .btn { padding: 9px 12px; font-size: 12.5px; white-space: nowrap; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
    .desk-hero { grid-template-columns: minmax(0, 1fr); }
    .desk-hero .win-welcome { grid-column: 1; justify-self: center; width: min(100%, 680px); }
    .collage { position: relative; inset: auto; grid-column: 1 / -1; height: 280px; }
    .pcard-grid { gap: 48px 22px; }
    .win-row { grid-template-columns: 1fr; }
    .win-row .win:nth-child(2) { margin-top: 0; }
}
@media (max-width: 900px) {
    .win-head, .notes-desk { grid-template-columns: 1fr; }
    .pcard-grid { grid-template-columns: repeat(2, 1fr); }
    .dl { grid-template-columns: 1fr; }
    .dl-art { width: min(70%, 260px); justify-self: center; }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
    body { font-size: 15px; }
    .menubar { grid-template-columns: auto 1fr; }
    .menubar-right { justify-self: end; gap: 10px; }
    .clock, .icon-link, .cart-link span:not(.cart-count) { display: none; }
    .menu-btn { display: grid; gap: 6px; width: 40px; height: 40px; place-content: center; border: 0; background: none; cursor: pointer; }
    .menu-btn span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .2s; }
    .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
    .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; padding: 8px 14px 16px; background: var(--peri-deep); border-bottom: 3px solid var(--peri-lo); }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 12px 14px; font-size: 17px; }

    .desktop { width: calc(100% - 20px); gap: 28px; padding-top: 16px; }
    .win-body { padding: 18px 16px; }
    .win-title { font-size: 12.5px; letter-spacing: 0.05em; }
    .wb-max { display: none; }
    .win-row { gap: 28px; }

    /* Hero: welcome window, then icons in a neat grid, then the sticker pile */
    .desk-hero { grid-template-columns: 1fr; gap: 18px; min-height: 0; overflow: hidden; }
    .hero-title { font-size: clamp(30px, 11vw, 60px); max-width: none; text-wrap: balance; }   /* (index.php fits it to 2 lines) */
    .hero-actions .btn { flex: 1 1 100%; }
    .desk-icons { order: 2; grid-template-columns: repeat(3, 1fr); gap: 8px 4px; padding: 0; }
    .di-img { font-size: 34px; }
    .di-label { font-size: 12px; }
    .desk-hero .collage { order: 3; height: 260px; }
    .desk-hero .collage .stk:nth-child(1) { left: 4%; top: 2%; }
    .desk-hero .collage .stk:nth-child(2) { left: 54%; top: 6%; }
    .desk-hero .collage .stk:nth-child(3) { left: 40%; top: 58%; }
    .desk-hero .collage .stk:nth-child(4) { left: 82%; top: 44%; }
    .desk-hero .collage .stk:nth-child(5) { left: 34%; top: 4%; }
    .desk-hero .collage .stk:nth-child(6) { left: 56%; top: 70%; }
    .stk-photo { width: 118px; }
    .stk-case { width: 104px; }
    .stk-emoji { font-size: 36px; }
    .stk-label { font-size: 15px; padding: 8px 12px; }

    /* Products: two per row, compact */
    .pcard-grid, .files .pcard-grid { grid-template-columns: 1fr 1fr; gap: 30px 12px; }
    .pcard-rating { gap: 4px; margin-top: 10px; font-size: 13px; letter-spacing: 0; }
    .pcard-rating small { font-size: 11px; }
    .pcard-name { font-size: 19px; }
    .pcard-tagline { display: none; }
    .pcard-size { margin-bottom: 10px; font-size: 12px; }
    .pcard-btn { padding: 9px 6px; font-size: 11px; letter-spacing: 0.02em; }
    .pcard-btn::before, .pcard-btn::after { content: none; }
    .seal { font-size: 15px; width: 30%; }
    .seal-sold { font-size: 12px; }
    .burst { width: 34%; font-size: 10px; }
    .win-head { margin-bottom: 24px; }
    .win-head h2 { font-size: 34px; }

    /* Sticky notes: a messy pile. Tap the top one and it goes to the back (index.php). Oct 23 2026 */
    .notes-desk { gap: 16px; }
    .notes { display: grid; grid-template-columns: 1fr; margin: 0; padding: 12px 18px 34px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
    .notes .note { grid-area: 1 / 1; padding: 22px 20px; transition: transform .35s ease; }
    .notes .note:nth-child(1) { z-index: 4; transform: rotate(-1.5deg); }
    .notes .note:nth-child(2) { z-index: 3; transform: rotate(3deg) translate(8px, 8px); }
    .notes .note:nth-child(3) { z-index: 2; transform: rotate(-4deg) translate(-6px, 14px); }
    .notes .note:nth-child(4) { z-index: 1; transform: rotate(5deg) translate(10px, 20px); }
    .notes .note.is-leaving { transform: rotate(-12deg) translate(-40px, -10px); opacity: 0; transition: transform .25s ease, opacity .25s; }
    .notes-tap { display: block; margin: -14px 0 0; text-align: center; color: var(--white); opacity: .85; font-size: 13px; }

    /* Installer + tables */
    .answer { padding: 12px 14px; font-size: 15px; }
    .result-body { grid-template-columns: 1fr; }
    .result-photo { width: 55%; }
    .inside-table th, .inside-table td { padding: 8px 6px; }
    .inside-table tbody th { font-size: 13px; }
    .size-name { font-size: 18px; }
    .size-price { font-size: 12px; }
    .dl-art { width: 58%; }

    .tray-weather { display: none; }
    .task { max-width: 130px; padding: 0 10px; gap: 6px; }
    .task .task-full { display: none; }
    .task .task-short { display: inline; }
    .age-panel { grid-template-columns: 1fr; }
    .age-actions .btn { flex: 1 1 100%; }
}

/* =====================================================================
   SHOP (stash/index.php): explorer window, folders, details view, 8-ball
   ===================================================================== */
.shop { gap: 28px; }
.seal-addon { background: #7FB85A; }
.help-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.help-strip p { max-width: 52ch; color: color-mix(in srgb, var(--plum) 82%, #FFFFFF); font-size: 16px; }
.help-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.win-help .win-body { padding: 18px 24px; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--lav-mid); background: #F7EEFC; }
.address { display: flex; flex: 1 1 320px; align-items: center; gap: 10px; min-width: 0; padding: 7px 10px; color: var(--plum); font-size: 14px; white-space: nowrap; overflow: hidden; }
.address-label { flex: none; color: #A58BC0; }
.search { flex: 0 1 240px; padding: 8px 10px; font: 15px var(--body); color: var(--plum); }
.sort { padding: 8px 10px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); color: var(--plum); font: 700 14px var(--body); cursor: pointer; }
.view-toggle { display: flex; }
.vt { padding: 8px 12px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); color: var(--plum); font: 700 13px var(--body); cursor: pointer; }
.vt[aria-pressed="true"] { border-color: var(--bevel-in); background: var(--lav-mid); }

.explorer { display: grid; grid-template-columns: 240px 1fr; align-items: start; }
.folders { position: sticky; top: 90px; display: grid; gap: 2px; margin: 14px; padding: 10px; }
.folder-pick { display: none; }
.folders-title { margin-bottom: 6px; padding: 0 6px; color: #A58BC0; font-size: 13px; }
.folder { display: flex; align-items: center; gap: 10px; padding: 8px 10px; color: var(--plum); font-size: 15px; text-decoration: none; white-space: nowrap; }
.folder small { margin-left: auto; color: #A58BC0; font-size: 12.5px; }
.folder:hover { background: var(--lav); }
.folder.is-open { background: var(--plum); color: var(--white); }
.folder.is-open small { color: #E0CFF0; }
.stock-toggle { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 8px 2px; border-top: 1px solid var(--lav-mid); color: var(--plum); font-size: 14px; cursor: pointer; }
.stock-toggle input { width: 16px; height: 16px; accent-color: var(--plum); }
.files { min-width: 0; padding: clamp(18px, 3vw, 34px); }
.files .pcard-grid { margin-bottom: 0; }
.pcard[hidden], .details-table tr[hidden] { display: none; }

.details-table { width: 100%; border-collapse: collapse; border: 3px solid; border-color: var(--bevel-in); background: var(--white); font-size: 15px; }
.details-table th { padding: 8px 12px; border: 2px solid; border-color: var(--bevel-out); background: #F4EBFB; color: var(--plum); font-size: 13.5px; text-align: left; }
.details-table td { padding: 8px 12px; border-bottom: 1px solid #F0E7F8; color: var(--plum); }
.details-table tbody tr:hover { background: #F7F0FC; }
.dt-name { display: flex; align-items: center; gap: 12px; color: var(--plum); font-weight: 700; text-decoration: none; }
.dt-name:hover { text-decoration: underline; }
.dt-thumb { flex: none; width: 40px; height: 40px; clip-path: var(--flower); background: var(--lav); }
.dt-thumb img, .dt-thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.dt-thumb .ph span { display: none; }
.dt-status { font-size: 13.5px; }
.dt-sold { color: #9C86B3; text-decoration: line-through; }
.dt-low { padding: 2px 8px; background: var(--lime); color: var(--ink); }
.dt-new { padding: 2px 8px; background: var(--peri); color: var(--white); }
.dt-best { padding: 2px 8px; background: var(--pink); color: var(--white); }

.empty { display: grid; justify-items: center; gap: 12px; padding: 60px 20px; color: var(--plum); text-align: center; }
.empty-icon { font-size: 48px; }
.status-sep { color: var(--lav-dark); }
.remind { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.remind p { max-width: 64ch; color: color-mix(in srgb, var(--plum) 82%, #FFFFFF); }
.win-remind .win-body { padding: 18px 24px; }

.dialog-layer { position: fixed; inset: 0; z-index: 80; display: grid; place-items: start center; padding: 20px; overflow-y: auto; overscroll-behavior: contain; background: rgba(62,42,92,0.55); }
.dialog-layer > .win { margin-block: auto; }   /* centered when it fits; on short screens (like a 15" laptop) a tall window starts at the top and the layer scrolls, so nothing gets cut off */   /* (no blur behind pop-up windows: closing one made Safari redraw the whole page in patches, like the product photo going half blank) */
.dialog-layer[hidden] { display: none; }
.ball-win { width: min(100%, 440px); }
.ball-body { display: grid; justify-items: center; gap: 18px; text-align: center; }
.ball-body .term { width: 100%; margin: 0; text-align: left; }
.ball { display: grid; place-items: center; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #6A6A8A, #1D1B30 55%, #0E0D1A); box-shadow: 6px 8px 0 rgba(43,42,94,0.3); }
.ball-window { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle, #3C3FB0, #20227A); border: 3px solid #0E0D1A; }
.ball-text { color: var(--lime); font: 700 26px var(--display); }
.ball.shaking { animation: shake .9s ease; }
@keyframes shake { 0%,100% { transform: none; } 15% { transform: translate(-10px, 4px) rotate(-10deg); } 30% { transform: translate(10px, -4px) rotate(8deg); } 45% { transform: translate(-8px, -2px) rotate(-6deg); } 60% { transform: translate(8px, 3px) rotate(5deg); } 80% { transform: translate(-3px, 0) rotate(-2deg); } }
.ball-answer { display: grid; gap: 2px; min-height: 70px; color: var(--plum); }
.ball-line { color: #A58BC0; font-size: 14px; }
.ball-answer b { font: 700 30px/1.1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.ball-meta { font-size: 14px; }
.ball-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

@media (max-width: 1080px) { .files .pcard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
    .explorer { grid-template-columns: 1fr; }
    /* Folders become a dropdown (the sideways-scrolling row wasn't obvious) */
    .folders { position: static; display: block; margin: 10px 10px 0; padding: 0; border: 0; background: none; box-shadow: none; }
    .folders-title, .stock-toggle, .folders .folder { display: none; }
    .folders .folder-pick { display: block; width: 100%; }
    .address { display: none; }
    .search { flex: 1 1 100%; }
}
@media (max-width: 720px) {
    .toolbar { padding: 10px; }
    .sort { flex: 1; }
    .files { padding: 16px 12px; }

    .details-table { font-size: 13.5px; }
    .details-table th:nth-child(2), .details-table td:nth-child(2) { display: none; }
    .dt-thumb { width: 30px; height: 30px; }
}

/* =====================================================================
   PRODUCT PAGE (stash/product.php) + QUICK VIEW. Written phone-first:
   the base rules are for phones, the "min-width" blocks add the
   computer layout on top.
   ===================================================================== */
.pcard-media { position: relative; width: 100%; display: flex; justify-content: center; }
.qv-btn { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); padding: 6px 12px; border: 2px solid; border-color: var(--bevel-out); background: var(--white); color: var(--plum); font: 700 12px var(--body); white-space: nowrap; cursor: pointer; box-shadow: 1px 1px 0 var(--plum); }
.qv-btn:active { border-color: var(--bevel-in); box-shadow: none; }
@media (hover: hover) and (min-width: 721px) {
    .qv-btn { opacity: 0; transition: opacity .15s; }
    .pcard-media:hover .qv-btn, .qv-btn:focus-visible { opacity: 1; }
}

.product-page { gap: 22px; }
.crumbs { color: #E3E3FA; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs a { color: var(--lime); }
.product-top { display: grid; gap: 22px; align-items: start; }
.desktop > *, .product-top > *, .win-row > * { min-width: 0; }
.product-left, .product-right { display: grid; gap: 22px; align-content: start; min-width: 0; }
/* Phones: one column in this order: photos, kit, properties, try it (glow / lenticular), in action.
   (Folding phones opened up, small tablets: 680px and wider get two columns, see "FOLDABLES" at the bottom.) */
@media (max-width: 679px) {
    .product-left, .product-right { display: contents; }
    #win-viewer { order: 1; } #win-buy { order: 2; } .win-props { order: 3; } #win-fx { order: 4; } #win-action { order: 5; }
    .product-top .win { min-width: 0; }
}   /* keeps wide rows (like thumbnails) from stretching the page */

/* Image viewer */
.win-viewer .win-body { padding: 10px; }
.viewer-stage { position: relative; aspect-ratio: 1; overflow: hidden; border: 3px solid; border-color: var(--bevel-in); background: var(--lav); outline: none; }
.viewer-stage:focus-visible { outline: 3px solid var(--lime); }
.slide { margin: 0; width: 100%; height: 100%; }
.slide img, .slide .ph { width: 100%; height: 100%; object-fit: contain; }   /* contain = the whole photo always shows, wide or tall (the lavender fills the gaps) */
.viewer-seal { width: 22%; left: 3%; top: 3%; font-size: clamp(15px, 3.6vw, 24px); }
.viewer-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 44px; border: 2px solid; border-color: var(--bevel-out); background: rgba(255,255,255,0.92); color: var(--plum); font: 700 26px/1 var(--body); cursor: pointer; }
.viewer-arrow.prev { left: 8px; }
.viewer-arrow.next { right: 8px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.thumb { flex: 0 0 64px; height: 64px; padding: 0; border: 3px solid; border-color: var(--bevel-out); background: var(--lav); cursor: pointer; scroll-snap-align: start; overflow: hidden; }
.thumb img, .thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.thumb .ph span { display: none; }
.thumb.on { border-color: var(--plum); outline: 2px solid var(--lime); outline-offset: -5px; }

/* The kit */
.product-name { font-size: clamp(32px, 8vw, 48px); color: var(--plum); }
.product-rating { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 18px; text-decoration: none; }
.product-rating small { color: #A58BC0; font-size: 13.5px; }
.product-rating .off, .review-stars .off { opacity: 0.3; filter: grayscale(0.5); }
.product-tagline { margin-top: 6px; color: color-mix(in srgb, var(--plum) 82%, #FFFFFF); font-style: italic; }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 14px 0 12px; color: var(--pink); font: 700 30px var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.product-price span { color: #A58BC0; font: 400 14px var(--body); }
.product-price .low-tag, .low-tag { padding: 2px 8px; background: var(--lime); color: var(--ink); font: 700 12.5px var(--body); }
.product-desc { margin-bottom: 12px; color: var(--plum); font-size: 15.5px; }
.buy { margin-top: 18px; }
.choices { display: grid; gap: 12px; margin-bottom: 16px; }
.choice { display: grid; gap: 6px; color: var(--plum); font-size: 14px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.choice select { width: 100%; padding: 12px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); color: var(--plum); font: 400 16px var(--body); text-transform: none; letter-spacing: 0; }
.choice.needs select { outline: 3px solid var(--pink); }
.buy-row { display: flex; gap: 10px; align-items: stretch; }
.qty { display: flex; align-items: center; }
.qty button { width: 38px; height: 100%; min-height: 48px; border: 0; background: var(--lav); color: var(--plum); font: 700 20px var(--body); cursor: pointer; }
.qty input { width: 42px; border: 0; text-align: center; font: 700 17px var(--body); color: var(--plum); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.add-btn { flex: 1; font-size: 14px; }
.ship-note { margin-top: 14px; color: #A58BC0; font-size: 13px; }
.sold-box { display: grid; gap: 12px; padding: 16px; }
.sold-box p { color: var(--plum); font-size: 15px; }
.notify { display: flex; flex-wrap: wrap; gap: 10px; }
.notify input { flex: 1 1 200px; padding: 12px 14px; border: 3px solid; border-color: var(--bevel-in); font: 16px var(--body); color: var(--plum); }

/* Properties tabs */
.tabs { display: flex; gap: 2px; overflow-x: auto; overflow-y: hidden; padding-bottom: 2px; margin-bottom: -2px; scrollbar-width: none; }   /* (room for the selected tab's 2px drop, so Windows doesn't show a ▲▼ scrollbar. Oct 23 2026) */
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 10px 14px; border: 3px solid; border-color: var(--bevel-out); border-bottom: 0; background: #EFE3F9; color: var(--plum); font: 700 13.5px var(--body); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--white); position: relative; top: 2px; }
.tab-panels { display: grid; }
.tab-panel { grid-area: 1 / 1; padding: 18px; color: var(--plum); font-size: 15.5px; }
.tab-panel.off { visibility: hidden; }   /* invisible but still holding its space */
.sparkle-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sparkle-list li { position: relative; padding-left: 28px; }
.sparkle-list li::before { content: "✨"; position: absolute; left: 0; top: 0; }
.sparkle-list span { color: #8C6FA8; }

/* Personas + fortunes */
.personas { display: grid; gap: 16px; margin: 18px 0 0; padding: 0; list-style: none; }
.personas li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.persona-emoji { font-size: 30px; line-height: 1; }
.personas b { color: var(--plum); font-size: 16px; }
.personas p { color: color-mix(in srgb, var(--plum) 82%, #FFFFFF); font-size: 14.5px; }
.product-page .win-row { align-items: stretch; }
.product-page .win-row .win:nth-child(2) { margin-top: 0; }
.win-fortune { height: 100%; }
.product-left .win-fortune { height: auto; flex: 1 0 auto; }   /* (moved up under the photos on computers: it stretches so both columns end at the same line) */
.crt-body { display: grid; align-content: start; gap: 18px; }
.crt-prompt { display: block; margin-bottom: 4px; color: #8FB36B; font-size: 13px; }
.showcase { display: grid; gap: 14px; }
.show-item { margin: 0; }
/* Clips keep their own shape (wide or tall) but never get taller than --clip-max, so they fit the page. */
.show-media { --clip-max: min(420px, 62vh); width: 100%; display: flex; justify-content: center; align-items: center; overflow: hidden; border: 3px solid; border-color: var(--bevel-in); background: var(--lav); }   /* same soft lavender as the photo viewer */
.show-media video, .show-media img { display: block; width: auto; max-width: 100%; height: auto; max-height: var(--clip-max); object-fit: contain; }
.show-media .ph { width: 100%; aspect-ratio: 16 / 10; }
.show-item figcaption { margin-top: 6px; color: #8C6FA8; font-size: 13.5px; font-style: italic; }
@media (min-width: 520px) { .showcase.two { grid-template-columns: repeat(2, 1fr); } }
.win-crt { border-color: #5A5870 #1B1A28 #1B1A28 #5A5870; outline-color: #1B1A28; background: #1E1D2B; }
.win-crt .win-bar { background: linear-gradient(90deg, #3A3854, #5A5870); }
.win-crt .win-title { color: #E9E4FF; }
.crt { color: #C9F29B; font-size: 15.5px; line-height: 1.7; text-shadow: 0 0 6px rgba(201,242,155,0.45); }
.cursor { animation: blink 1s steps(1) infinite; }

/* Reviews */
.reviews-head { display: grid; gap: 14px; margin-bottom: 18px; }
@media (max-width: 720px) {   /* phones: the write-a-review button is full width and stays on one line (smaller Android phones wrapped it) */
    #write-review { width: 100%; padding: 12px 10px; font-size: 13px; letter-spacing: .02em; white-space: nowrap; }
}
.review-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.review { padding: 16px; color: var(--plum); }
.review-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 17px; }
.proof { font-size: 12.5px; font-weight: 700; }
.proof-verified { color: #2E8B57; }
.proof-instagram { color: var(--pink); }
.review-by { margin-top: 8px; color: #A58BC0; font-size: 13.5px; }
.proof-market { color: #3E5BCC; }
.review-body { display: flex; gap: 12px; align-items: flex-start; }
.review-photo { flex: none; display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border: 2px solid var(--lav-dark); background: var(--lav); font-size: 22px; }
.review-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Review summary, sort, pages */
.rev-summary { display: grid; gap: 16px; padding: 16px; margin-bottom: 16px; }
.rev-score { display: grid; justify-items: center; gap: 4px; color: var(--plum); text-align: center; }
.rev-score b { font: 700 44px/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.rev-icons { font-size: 18px; letter-spacing: 2px; }
.rev-icons .off { opacity: 0.3; filter: grayscale(0.5); }
.rev-score span:last-child { color: #A58BC0; font-size: 13.5px; }
.rev-bars { display: grid; gap: 6px; }
.rev-bar { display: grid; grid-template-columns: 52px 1fr 30px; align-items: center; gap: 10px; padding: 4px 6px; border: 2px solid transparent; background: none; color: var(--plum); font: 700 13.5px var(--body); cursor: pointer; text-align: left; }
.rev-bar:hover:not(:disabled) { border-color: var(--lav-mid); }
.rev-bar[aria-pressed="true"] { border-color: var(--plum); background: var(--lav); }
.rev-bar:disabled { opacity: 0.4; cursor: default; }
.rev-bar-track { height: 12px; border: 2px solid; border-color: var(--bevel-in); background: var(--white); }
.rev-bar-track span { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--pink) 0 8px, #E57AA5 8px 10px); }
.rev-bar-count { color: #A58BC0; text-align: right; }
.rev-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.rev-showing { color: #8C6FA8; font-size: 13.5px; }
.rev-clear { padding: 4px 10px; border: 2px solid var(--pink); background: var(--white); color: #A0336A; font: 700 12.5px var(--body); cursor: pointer; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 18px; }
.pg { min-width: 40px; padding: 8px 10px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); color: var(--plum); font: 700 13.5px var(--body); cursor: pointer; }
.pg:active { border-color: var(--bevel-in); }
.pg.on { border-color: var(--bevel-in); background: var(--plum); color: var(--white); }
.pg:disabled { opacity: 0.4; cursor: default; }
.pg-gap { color: #A58BC0; padding: 0 2px; }
@media (min-width: 700px) { .rev-summary { grid-template-columns: 180px 1fr; align-items: center; } }

/* In action: 1 big, 2 side by side, 3+ player + playlist */
.showcase.one { grid-template-columns: 1fr !important; }
.showcase.player { display: flex; flex-direction: column; gap: 12px; }
.player-stage { position: relative; }
.player-stage .show-media { min-height: 200px; }
.playlist { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.pl-item { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); color: var(--plum); font: 700 12.5px/1.25 var(--body); text-align: left; cursor: pointer; scroll-snap-align: start; }
.pl-item.on { border-color: var(--bevel-in); background: var(--lav-mid); }
.pl-num { flex: none; display: grid; place-items: center; width: 44px; height: 44px; background: #1E1D2B; color: var(--lime); font-size: 12px; }
.pl-item.on .pl-num { background: var(--plum); }
.pl-cap { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.no-reviews { padding: 22px; color: #8C6FA8; text-align: center; }
.review-win { width: min(100%, 980px); max-height: 94vh; display: flex; flex-direction: column; }
.review-win .win-body { overflow-y: auto; }
.rf-head { padding-bottom: 16px; margin-bottom: 18px; border-bottom: 2px solid var(--lav-mid); text-align: center; }
.rf-head h2 { font: 700 clamp(20px, 5vw, 28px) var(--body); letter-spacing: 0.12em; color: var(--plum); }
.rf-head p { margin-top: 6px; color: #8C6FA8; font-style: italic; font-size: 14.5px; }
.rf-grid { display: grid; gap: 18px; }
.rf-col { display: grid; gap: 16px; align-content: start; }
.rf-two { display: grid; gap: 16px; }
.rf-rate { margin: 0; padding: 0; border: 0; }
.rf-rate legend { width: 100%; margin-bottom: 10px; color: var(--plum); font-weight: 700; font-size: 14.5px; text-align: center; }
.rf-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.rf-tile { position: relative; display: grid; justify-items: center; gap: 4px; padding: 10px 2px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); color: var(--plum); text-align: center; cursor: pointer; }
.rf-tile input { position: absolute; opacity: 0; pointer-events: none; }
.rf-emoji { font-size: 24px; line-height: 1; }
.rf-word { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; }
.rf-stars { color: #E5B94A; font-size: 10px; letter-spacing: 1px; }
.rf-tile:has(input:checked) { border-color: var(--bevel-in); background: var(--lav-mid); }
.rf-tile:has(input:focus-visible) { outline: 3px solid var(--lime); }
.rf-upload { position: relative; display: grid; place-items: center; min-height: 120px; border: 2px dashed var(--lav-dark); background: var(--white) center / cover no-repeat; color: var(--plum); font-weight: 700; cursor: pointer; }
.rf-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rf-upload-empty { display: grid; justify-items: center; gap: 6px; font-size: 13.5px; }
.rf-upload-empty span { font-size: 28px; }
.rf-upload.has-photo .rf-upload-empty { display: none; }
.rf-note { flex: 1; min-width: 160px; font-size: 12.5px; }
.field { display: grid; gap: 6px; color: var(--plum); font-weight: 700; font-size: 14.5px; }
.field small { font-weight: 400; color: #A58BC0; }
.field input, .field textarea { width: 100%; padding: 11px 12px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); font: 400 16px var(--body); color: var(--plum); }
.field textarea { resize: vertical; }

/* Dark theme (e.g. Nightmare on Green Street) */
.rf-dark { border-color: #5A5870 #1B1A28 #1B1A28 #5A5870; outline-color: #1B1A28; background: #242331; }
.rf-dark .win-bar { background: linear-gradient(90deg, #3A3854, #5A5870); }
.rf-dark .win-title { color: #E9E4FF; }
.rf-dark .rf-head { border-color: #3E3C52; }
.rf-dark .rf-head h2 { color: #D9D4F0; }
.rf-dark .rf-head p { color: #9C97B8; }
.rf-dark .field, .rf-dark .rf-rate legend { color: #CFCAE8; }
.rf-dark .field small { color: #8E89AA; }
.rf-dark .field input, .rf-dark .field textarea { border-color: #15141F #4A4862 #4A4862 #15141F; background: #1B1A26; color: #EDEAFF; }
.rf-dark .rf-tile { border-color: #4A4862 #15141F #15141F #4A4862; background: #2C2B3C; color: #D9D4F0; }
.rf-dark .rf-tile:has(input:checked) { border-color: #15141F #4A4862 #4A4862 #15141F; background: #1B1A26; }
.rf-dark .rf-upload { border-color: #5A5870; background-color: #1B1A26; color: #CFCAE8; }
.rf-dark .win-status { border-color: #3E3C52; background: #1E1D2B; color: #8E89AA; }
.rf-dark .btn { border-color: #4A4862 #15141F #15141F #4A4862; background: #2C2B3C; color: #E9E4FF; box-shadow: 1px 0 0 #000, 0 1px 0 #000, 1px 1px 0 #000; }
.rf-dark .btn-peri { background: #4A4870; }
/* Pink + lime themes */
.rf-pink .win-bar { background: linear-gradient(90deg, #EDB9D2, #F7DCEA); }
.rf-lime .win-bar { background: linear-gradient(90deg, #D9EC8E, #EEF8C4); }

@media (max-width: 759px) {
    .rf-note { flex-basis: 100%; }
    .review-actions .btn { flex: 1; font-size: 13px; padding: 12px 8px; }
}
@media (min-width: 760px) {
    .rf-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .rf-two { grid-template-columns: 1fr 1fr; }
    .rf-emoji { font-size: 28px; }
    .rf-word { font-size: 11.5px; }
}
.review-actions { flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 10px 14px; }

/* Top 8: friend list */
.friend-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 10px; background: linear-gradient(90deg, #F8C7DC, #FBE3EE); border: 2px solid #E9A9C6; }
.friend-head h2 { font: 700 15px var(--body); color: #A0336A; letter-spacing: 0.02em; }
.friend-head a { flex: none; color: #A0336A; font-size: 13px; font-weight: 700; }
.friend-count .fc-all { display: none; color: #A0336A; font-weight: 700; white-space: nowrap; }
@media (max-width: 720px) { .friend-head .fh-all { display: none; } .friend-count .fc-all { display: inline; } .friend-head { padding: 8px 12px; } }   /* phones: "View all" moves to the friends line */
.friend-count { margin: 12px 2px 16px; color: var(--plum); font-size: 14.5px; }
.friend-count b { color: #A0336A; }
.top8 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; margin: 0; padding: 0; list-style: none; }
.friend a { display: grid; justify-items: center; gap: 6px; color: var(--plum); text-align: center; text-decoration: none; }
.friend-name { min-height: 2.5em; display: flex; align-items: flex-end; color: #3E5BCC; font-size: 13.5px; font-weight: 700; line-height: 1.25; text-decoration: underline; text-underline-offset: 2px; }
.friend a:hover .friend-name { color: #A0336A; }
.friend-photo { position: relative; display: block; width: 100%; max-width: 150px; aspect-ratio: 1; padding: 4px; border: 1px solid #C9C0DF; background: var(--white); box-shadow: 2px 2px 0 rgba(94,63,122,0.18); }
.friend-photo img, .friend-photo .ph { position: absolute; top: 4px; left: 4px; width: calc(100% - 8px); height: calc(100% - 8px); max-width: none; object-fit: cover; }   /* pinned inside the frame's white border, so any photo shape is a square crop (works the same in Safari) */
.friend-photo .ph span { display: none; }
.friend-dot { position: absolute; top: -7px; right: -7px; width: 18px; height: 18px; border: 3px solid var(--white); border-radius: 50%; box-shadow: 0 1px 3px rgba(43,42,94,0.35); }
.friend-online .friend-dot { background: #2FCB6A; }
.friend-online .friend-dot::after { content: ''; position: absolute; inset: -3px; border: 2px solid rgba(47,203,106,0.7); border-radius: 50%; pointer-events: none; animation: online-pulse 1.8s ease-out infinite; }   /* (a ring that grows and fades: moved by the graphics card, so it doesn't redraw the page every frame) */
.friend-away .friend-dot { background: #F2C230; }
.friend-offline .friend-dot { background: #A9A6B8; }
.friend-offline .friend-photo img, .friend-offline .friend-photo .ph { filter: grayscale(1); opacity: 0.55; }
.friend-status { font-size: 12px; }
.friend-online .friend-status { color: #1F9E52; font-weight: 700; }
.friend-away .friend-status { color: #B08A12; }
.friend-offline .friend-status { color: #9C98AE; }
@keyframes online-pulse { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
@media (max-width: 439px) { .friend-photo { max-width: 112px; } .top8 { gap: 14px 10px; } }
@media (min-width: 440px) { .top8 { grid-template-columns: repeat(4, 1fr); } .friend-name { font-size: 12.5px; } }

/* Newsletter */
.news { display: grid; gap: 16px; }

/* Sticky phone buy bar (sits just above the taskbar) */
.buy-bar { position: fixed; left: 0; right: 0; bottom: 52px; z-index: 45; display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--paper); border-top: 3px solid #FFFFFF; box-shadow: 0 -2px 0 var(--lav-dark), 0 -8px 20px rgba(43,42,94,0.18);
           transform: translateY(130%); transition: transform .2s ease; }
.buy-bar.show { transform: none; }
.buy-bar-info { flex: 1; min-width: 0; display: grid; color: var(--plum); }
.buy-bar-info b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.buy-bar-info span { color: var(--pink); font-weight: 700; font-size: 14px; }
.buy-bar .btn { padding: 11px 14px; font-size: 13px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 128px; z-index: 95; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 18px; border: 3px solid; border-color: var(--bevel-out); background: var(--plum); color: var(--white); font-size: 14.5px; box-shadow: var(--shadow); }

/* Quick view */
.qv-win { width: min(100%, 900px); max-height: 92vh; max-height: 92dvh; display: flex; flex-direction: column; }
.qv-body { display: grid; gap: 18px; overflow-y: auto; flex: 1; min-height: 0; }
.qv-info { display: flex; flex-direction: column; min-height: 0; }
.qv-info .buy { flex: none; }
.qv-photo { height: 220px; flex: none; border: 3px solid; border-color: var(--bevel-in); background: var(--lav); overflow: hidden; }
.qv-photo img, .qv-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.qv-inside { padding: 12px 14px; margin-bottom: 14px; color: var(--plum); font-size: 13.5px; }
.qv-inside .sparkle-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }   /* short names in two columns; full details on the product page */
.qv-inside .sparkle-list li { margin: 0; }
.qv-inside-title { margin-bottom: 8px; font: 700 18px var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.qv-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ----- Bigger screens: two columns ----- */
@media (min-width: 900px) {
    .product-top { grid-template-columns: 1.05fr 1fr; align-items: stretch; }
    .product-left, .product-right { display: flex; flex-direction: column; }
    .product-right .win-props { flex: 1; }
    /* (The clips window sizes to its clips instead of stretching to match the right column.) */
    .thumb { flex-basis: 80px; height: 80px; }
    .reviews-head { grid-template-columns: 1fr auto; align-items: end; }
    .news { grid-template-columns: 1fr 1fr; align-items: center; }
    .buy-bar { display: none; }
    /* Quick view fits the screen: photo on the left, details + buttons always visible on the right.
       Only the "What's inside" box scrolls if it's ever too long. */
    .qv-body { grid-template-columns: 1fr 1fr; align-items: stretch; overflow: hidden; }
    .qv-photo { height: auto; max-height: 100%; aspect-ratio: 4 / 5; align-self: start; overflow-y: auto; }
    .qv-inside { flex: 0 1 auto; min-height: 0; overflow-y: auto; }
    .choices { grid-template-columns: 1fr 1fr; }
    .qv-win .choices { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .qv-actions { position: sticky; bottom: -18px; padding: 10px 0; background: var(--paper); }   /* phones: buttons stay on screen */
    .qv-actions .btn { padding: 11px 8px; font-size: 12.5px; white-space: nowrap; }
    .qv-actions .btn::before, .qv-actions .btn::after { content: none; }
    .qv-photo { height: 170px; }
    .product-page .win-row .win:nth-child(2) { margin-top: 0; }
    .qv-btn { font-size: 11px; padding: 4px 8px; bottom: 2%; }
    .add-btn { font-size: 12.5px; padding: 12px 10px; }
    .add-btn::before, .add-btn::after { content: none; }
}
/* Add to cart: the label + price stay tidy on small phones (iPhone mini) */
.add-btn .ab-l { min-width: 0; text-align: center; }
.add-btn .ab-p { white-space: nowrap; flex: none; }
@media (max-width: 420px) {
    .buy-row { gap: 8px; }
    .qty button { width: 30px; }
    .qty input { width: 30px; }
    .add-btn { gap: 6px; padding: 12px 8px; line-height: 1.3; }
}

/* =====================================================================
   LORE (lore/index.php). Phone first, computer layout added below.
   ===================================================================== */
.lore { gap: 36px; }
.lore-p { margin-top: 14px; color: var(--plum); font-size: 16px; }
.lore-title { font-size: clamp(44px, 12vw, 84px); font-weight: 800; color: var(--plum); line-height: 0.98; }
.lore-title span { background: linear-gradient(transparent 72%, var(--lime) 72%, var(--lime) 92%, transparent 92%); }

.lore-intro { display: grid; gap: 18px; }
.lore-collage { position: relative; inset: auto; height: 340px; }
.lore-hero-photo { width: min(62vw, 250px); }
.lore-collage .stk-label { font-size: 16px; }

/* Our story: Word-style document */
.win-story .win-body { padding: 0; }
.doc-toolbar { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px 14px; border-bottom: 1px solid var(--lav-mid); background: #F7EEFC; color: var(--plum); font-size: 13px; }
.doc-font { margin-left: auto; padding: 0 8px; border: 2px solid; border-color: var(--bevel-in); background: var(--white); }
.doc-b { font-weight: 700; } .doc-i { font-style: italic; } .doc-u { text-decoration: underline; }
.story { display: grid; gap: 22px; padding: 22px 16px 26px; background: #EFE7F7; }
.snapshot { position: relative; justify-self: center; width: min(86%, 380px); margin: 10px 0 0; padding: 10px 10px 14px; background: var(--white); box-shadow: 4px 5px 0 rgba(94,63,122,0.25); transform: rotate(-3deg); }
.snapshot .ph, .snapshot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.snapshot figcaption { margin-top: 8px; color: #8C6FA8; font-size: 13.5px; text-align: center; font-style: italic; }
.tape { position: absolute; top: -12px; left: 50%; width: 90px; height: 24px; margin-left: -45px; background: rgba(225,246,107,0.75); transform: rotate(4deg); }
.doc-page { padding: 26px 20px 30px; background: var(--white); box-shadow: 0 1px 0 var(--lav-dark), 3px 3px 0 rgba(94,63,122,0.12); }
.story-kicker { color: var(--pink); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.story-title { margin: 8px 0 18px; font-size: clamp(34px, 9vw, 56px); color: var(--plum); }
.story-cols p { margin-bottom: 14px; color: var(--plum); font-size: 15.5px; }
.story-cols p:nth-child(3) { font: 700 italic 22px var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--pink); }

/* What makes us different */
.different { display: grid; gap: 18px; }
.dialogs { display: grid; gap: 18px; }
.win-dialog .win-body { padding: 18px; }
.dialog-body { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.dialog-icon { font-size: 40px; line-height: 1; }
.dialog-body h3 { margin-bottom: 6px; font-size: 21px; color: var(--plum); font-style: italic; }
.dialog-body p { color: #6E5488; font-size: 15px; }
.dialog-ok { margin-top: 14px; text-align: right; }
.dialog-ok .btn { padding: 6px 22px; font-size: 13px; pointer-events: none; }

/* Lunar logic */
.logic-row { display: grid; gap: 24px; }
.logic-title { margin: 6px 0 14px; font: 700 26px var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--lime); text-shadow: 0 0 10px rgba(225,246,107,0.4); }
.logic-list { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.logic-list li { transition: opacity .3s ease; }
.logic-list li.waiting { opacity: 0.18; }
.logic-list li.waiting .check { visibility: hidden; }
.check { color: var(--lime); }
.logic-done { color: #8FB36B; }
.logic-photo-wrap { position: relative; padding: 18px 26px; }
.logic-photo { width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 1; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1 1%22 preserveAspectRatio=%22none%22%3E%3Ccircle cx=%220.28%22 cy=%220.28%22 r=%220.28%22/%3E%3Ccircle cx=%220.72%22 cy=%220.28%22 r=%220.28%22/%3E%3Ccircle cx=%220.28%22 cy=%220.72%22 r=%220.28%22/%3E%3Ccircle cx=%220.72%22 cy=%220.72%22 r=%220.28%22/%3E%3Crect x=%220.28%22 y=%220.28%22 width=%220.44%22 height=%220.44%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1 1%22 preserveAspectRatio=%22none%22%3E%3Ccircle cx=%220.28%22 cy=%220.28%22 r=%220.28%22/%3E%3Ccircle cx=%220.72%22 cy=%220.28%22 r=%220.28%22/%3E%3Ccircle cx=%220.28%22 cy=%220.72%22 r=%220.28%22/%3E%3Ccircle cx=%220.72%22 cy=%220.72%22 r=%220.28%22/%3E%3Crect x=%220.28%22 y=%220.28%22 width=%220.44%22 height=%220.44%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; background: var(--lav); }   /* (a mask, not clip-path: url(): Safari on laptops stopped drawing this part of the page) */
.logic-photo img, .logic-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.logic-collage { position: absolute; inset: 0; z-index: 2; }

/* The ending */
.lore-end { position: relative; isolation: isolate; width: calc(100vw - var(--sbw, 0px)); margin-left: calc(50% - (100vw - var(--sbw, 0px)) / 2); padding: 10px 16px 20px; overflow: hidden; }
.wave-text { position: absolute; left: -5%; top: 4%; width: 110%; height: 220px; z-index: 0; pointer-events: none; overflow: visible; }
.wave-text text { fill: var(--lime); font: 800 60px var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
@media (max-width: 899px) {
    .wave-text { height: 170px; top: 0; }
    .wave-text text { font-size: 96px; } /* big on purpose: on phones the wave gets shrunk to fit the screen width */
    .end-inner { padding-top: 150px; }
    .doc-font, .doc-b, .doc-i, .doc-u { display: none; }
}
.end-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 24px; padding-top: 120px; }
.end-photo { position: relative; width: min(64vw, 260px); aspect-ratio: 2 / 3; }
.end-photo .blob { position: relative; z-index: 1; display: block; width: 100%; height: 100%; padding: 7px; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1 1%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0.5,0 C0.85,0 1,0.08 1,0.17 C1,0.27 0.9,0.31 0.9,0.34 C0.9,0.37 1,0.41 1,0.5 C1,0.59 0.9,0.63 0.9,0.66 C0.9,0.69 1,0.73 1,0.83 C1,0.92 0.85,1 0.5,1 C0.15,1 0,0.92 0,0.83 C0,0.73 0.1,0.69 0.1,0.66 C0.1,0.63 0,0.59 0,0.5 C0,0.41 0.1,0.37 0.1,0.34 C0.1,0.31 0,0.27 0,0.17 C0,0.08 0.15,0 0.5,0 Z%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1 1%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0.5,0 C0.85,0 1,0.08 1,0.17 C1,0.27 0.9,0.31 0.9,0.34 C0.9,0.37 1,0.41 1,0.5 C1,0.59 0.9,0.63 0.9,0.66 C0.9,0.69 1,0.73 1,0.83 C1,0.92 0.85,1 0.5,1 C0.15,1 0,0.92 0,0.83 C0,0.73 0.1,0.69 0.1,0.66 C0.1,0.63 0,0.59 0,0.5 C0,0.41 0.1,0.37 0.1,0.34 C0.1,0.31 0,0.27 0,0.17 C0,0.08 0.15,0 0.5,0 Z%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; background: #fff; }
.end-photo .blob img, .end-photo .blob .ph { width: 100%; height: 100%; object-fit: cover; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1 1%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0.5,0 C0.85,0 1,0.08 1,0.17 C1,0.27 0.9,0.31 0.9,0.34 C0.9,0.37 1,0.41 1,0.5 C1,0.59 0.9,0.63 0.9,0.66 C0.9,0.69 1,0.73 1,0.83 C1,0.92 0.85,1 0.5,1 C0.15,1 0,0.92 0,0.83 C0,0.73 0.1,0.69 0.1,0.66 C0.1,0.63 0,0.59 0,0.5 C0,0.41 0.1,0.37 0.1,0.34 C0.1,0.31 0,0.27 0,0.17 C0,0.08 0.15,0 0.5,0 Z%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1 1%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0.5,0 C0.85,0 1,0.08 1,0.17 C1,0.27 0.9,0.31 0.9,0.34 C0.9,0.37 1,0.41 1,0.5 C1,0.59 0.9,0.63 0.9,0.66 C0.9,0.69 1,0.73 1,0.83 C1,0.92 0.85,1 0.5,1 C0.15,1 0,0.92 0,0.83 C0,0.73 0.1,0.69 0.1,0.66 C0.1,0.63 0,0.59 0,0.5 C0,0.41 0.1,0.37 0.1,0.34 C0.1,0.31 0,0.27 0,0.17 C0,0.08 0.15,0 0.5,0 Z%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.end-glow { position: absolute; inset: -26% -30% -2%; z-index: 0; pointer-events: none; background: radial-gradient(closest-side, rgba(214,91,140,0.85), rgba(214,91,140,0.8) 55%, rgba(214,91,140,0.45) 72%, rgba(214,91,140,0.15) 88%, rgba(214,91,140,0) 100%); }   /* fades to nothing before its edges (no visible oval). No blur filter: it made the moving text above stutter */
.end-star { position: absolute; left: -8%; bottom: 8%; z-index: 2; color: var(--pink); font-size: 64px; line-height: 1; transform: rotate(-12deg); text-shadow: 3px 3px 0 rgba(43,42,94,0.3); }
.win-end { width: 100%; max-width: 440px; }
.win-end .win-body { display: grid; justify-items: center; gap: 18px; text-align: center; }
.end-text { color: var(--plum); font-size: 17px; }

@media (min-width: 900px) {
    .lore-intro { grid-template-columns: 1.15fr 1fr; align-items: center; }
    .lore-collage { height: 100%; min-height: 460px; }
    .lore-hero-photo { width: 290px; }
    .story { grid-template-columns: 0.8fr 1.2fr; align-items: start; padding: 34px; gap: 34px; }
    .snapshot { width: 100%; margin-top: 20px; }
    .doc-page { padding: 40px 44px; }
    .story-cols { columns: 2; column-gap: 34px; }
    .story-cols p { break-inside: avoid; }
    .dialogs { grid-template-columns: repeat(3, 1fr); align-items: start; }
    .dialog-2 { margin-top: 36px; }
    .dialog-3 { margin-top: 12px; }
    .logic-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
    .wave-text { height: 300px; top: 0; }
    .wave-text text { font-size: 72px; }
    .end-inner { max-width: var(--max); margin: 0 auto; }
    .end-inner { grid-template-columns: 290px minmax(0, 440px); justify-content: center; align-items: center; gap: 70px; padding-top: 150px; }
    .end-photo { width: 290px; }
}

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

/* =====================================================================
   DROPS (drops/index.php + drops/post.php). Phone first, computer below.
   No dates or authors anywhere, on purpose.
   ===================================================================== */
.drops-head { display: grid; gap: 10px; }
.drops-title { font-size: clamp(56px, 16vw, 120px); font-weight: 800; line-height: 0.95; color: var(--white); text-shadow: 0 4px 0 rgba(43,42,94,0.35); font-variation-settings: "SOFT" 100, "WONK" 1; }
.drops-title span { background: linear-gradient(transparent 70%, var(--pink) 70%, var(--pink) 90%, transparent 90%); }
.drops-lede { max-width: 44ch; color: var(--white); font-size: 16px; }

.drop-grid { display: grid; gap: 28px; }
.drop-card .win-body { display: grid; gap: 16px; align-content: start; justify-items: start; }
.drop-card-title { font-size: clamp(26px, 7vw, 36px); line-height: 1.05; color: var(--plum); font-variation-settings: "SOFT" 100, "WONK" 1; }
.drop-card-title a { color: inherit; text-decoration: none; background: linear-gradient(transparent 78%, var(--lime) 78%) no-repeat 0 0 / 0% 100%; transition: background-size 0.3s; }
.drop-card:hover .drop-card-title a, .drop-card-title a:focus-visible { background-size: 100% 100%; }
.drop-card-title a::after { content: ""; position: absolute; inset: 0; }   /* whole window is clickable */
.drop-card .win-bar { position: relative; z-index: 1; }                  /* ...but the title bar buttons still work */
.drop-card-blurb { color: color-mix(in srgb, var(--plum) 82%, #FFFFFF); font-size: 15px; }
.drop-card .btn { position: relative; z-index: 1; pointer-events: none; }
.drop-card-sm .drop-card-title { font-size: clamp(22px, 5.5vw, 28px); }

.drops-cta { width: min(100%, 560px); justify-self: center; }
.drops-cta-body { display: grid; justify-items: center; gap: 16px; text-align: center; }
.drops-cta-text { color: var(--plum); font: 700 italic 24px var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }

/* One post: a Notepad window */
.drop-back a { color: var(--white); font-weight: 700; text-decoration: none; }
.drop-back a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 4px; }
.win-notepad .win-body { padding: 0; }
.notepad { width: min(100%, 72ch); margin: 0 auto; padding: 28px 20px 40px; }
.notepad-title { margin-bottom: 26px; font-size: clamp(40px, 10vw, 76px); font-weight: 800; line-height: 1; color: var(--plum); font-variation-settings: "SOFT" 100, "WONK" 1; }
.notepad-body p, .notepad-body ul { margin-bottom: 18px; color: var(--ink); font-size: 16.5px; line-height: 1.75; }
.notepad-body ul { padding-left: 1.3em; }
.notepad-body li { margin-bottom: 6px; }
.notepad-body li::marker { content: "✦  "; color: var(--pink); }
.notepad-body h2 { margin: 42px 0 14px; font-size: clamp(28px, 6vw, 40px); line-height: 1.05; color: var(--peri-deep); }
.notepad-body h2::before { content: "## "; color: var(--pink); font: 700 0.5em var(--body); vertical-align: middle; }
.notepad-body strong { color: var(--plum); background: linear-gradient(transparent 65%, var(--lime) 65%); }
.drop-more { display: grid; gap: 20px; }
.drop-more-row { display: grid; gap: 22px; }

@media (min-width: 900px) {
    .drops-head { grid-template-columns: auto 1fr; align-items: end; gap: 40px; }
    .drops-lede { padding-bottom: 18px; }
    .drop-grid { grid-template-columns: repeat(3, 1fr); gap: 34px; align-items: start; }
    .drop-grid > .drop-card:nth-child(3n+2) { margin-top: 56px; }   /* staggered, not a flat row */
    .drop-grid > .drop-card:nth-child(3n+3) { margin-top: 22px; }
    .notepad { padding: 48px 40px 60px; }
    .drop-more-row { grid-template-columns: 1fr 1fr; }
    .drop-more-row > :nth-child(2) { margin-top: 36px; }
}

/* =====================================================================
   RITUALS (rituals/index.php). Photo gallery + photo viewer.
   Phone first, computer below.
   ===================================================================== */
.rituals-head { display: grid; gap: 10px; }
.rituals-title { font-size: clamp(56px, 16vw, 120px); font-weight: 800; line-height: 0.95; color: var(--white); text-shadow: 0 4px 0 rgba(43,42,94,0.35); font-variation-settings: "SOFT" 100, "WONK" 1; }
.rituals-title span { background: linear-gradient(transparent 70%, var(--lime) 70%, var(--lime) 90%, transparent 90%); color: var(--white); }
.rituals-lede { max-width: 46ch; color: var(--white); font-size: 16px; }

.win-pictures .win-body { padding: 0; }
.pic-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; border-bottom: 3px solid var(--lav-dark); background: #F7EEFC; }
.pic-tab { margin-bottom: -3px; padding: 8px 14px; border: 3px solid; border-color: var(--bevel-out); border-bottom-color: var(--lav-dark); background: var(--lav); color: var(--plum); font: 700 13px var(--body); letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; }
.pic-tab span { margin-left: 4px; color: #A58BC0; font-weight: 400; }
.pic-tab.on { position: relative; border-bottom-color: var(--paper); background: var(--paper); }
.pic-tab:focus-visible { outline: 2px dashed var(--pink); outline-offset: 2px; }

.pic-grid { columns: 2; column-gap: 10px; margin: 0; padding: 12px; list-style: none; }
.pic { break-inside: avoid; margin-bottom: 10px; }
.pic[hidden] { display: none; }
.pic-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--lav); cursor: zoom-in; overflow: hidden; }
.pic-btn img, .pic-btn .ph { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.3s; }
.pic-btn:hover img { transform: scale(1.035); }
.pic-btn:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.pic-bts { position: absolute; top: 8px; left: 8px; padding: 3px 9px; border: 2px solid var(--white); border-radius: var(--pill); background: var(--pink); color: var(--white); font: 700 11px var(--body); letter-spacing: 0.08em; box-shadow: 2px 2px 0 rgba(43,42,94,0.3); }

.rituals-cta { width: min(100%, 560px); justify-self: center; }
.rituals-cta-body { display: grid; justify-items: center; gap: 16px; text-align: center; }
.rituals-cta-text { color: var(--plum); font: 700 italic 22px/1.3 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.rituals-cta-text strong { font-style: normal; color: var(--pink); }

/* Photo lightbox (Rituals). Named "lightbox" so it can't clash with the product photo viewer. */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 12px; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(30,29,43,0.82); }
.lightbox-win { position: relative; width: min(100%, 1100px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
.lightbox-body { position: relative; display: grid; place-items: center; min-height: 0; padding: 8px; background: #1E1D2B; }
.lightbox-fig { margin: 0; display: grid; place-items: center; }
.lightbox-fig img { display: block; max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); object-fit: contain; }
.lightbox-fig .ph { width: min(80vw, 480px); aspect-ratio: 4 / 5; }
.lightbox-nav { position: absolute; top: 50%; z-index: 1; width: 44px; height: 44px; margin-top: -22px; border: 3px solid; border-color: var(--bevel-out); background: var(--lime); color: var(--ink); font: 700 26px/1 var(--body); cursor: pointer; box-shadow: 3px 3px 0 rgba(0,0,0,0.3); }
.lightbox-nav:active { border-color: var(--bevel-in); transform: translate(1px, 1px); }
.lightbox-prev { left: 12px; } .lightbox-next { right: 12px; }
.lightbox .win-status { flex-wrap: wrap; gap: 0 6px; }
.lightbox-caption { color: var(--plum); }
html.viewer-open { overflow: hidden; }

@media (min-width: 700px) {
    .pic-grid { columns: 3; column-gap: 14px; padding: 16px; }
    .pic { margin-bottom: 14px; }
}
@media (min-width: 900px) {
    .rituals-head { grid-template-columns: auto 1fr; align-items: end; gap: 40px; }
    .rituals-lede { padding-bottom: 18px; }
    .lightbox { padding: 28px; }
    .lightbox-nav { width: 52px; height: 52px; margin-top: -26px; }
    .lightbox-prev { left: -26px; } .lightbox-next { right: -26px; }
}
@media (min-width: 1300px) { .pic-grid { columns: 4; } }
@media (prefers-reduced-motion: reduce) { .pic-btn img { transition: none; } .pic-btn:hover img { transform: none; } }

/* =====================================================================
   CONTACT (contact/index.php). Email window + photo + shortcuts.
   Phone first, computer below.
   ===================================================================== */
.contact-row { display: grid; gap: 40px; }
.contact-left { display: grid; gap: 26px; align-content: start; }
.contact-head { display: grid; gap: 14px; }
.contact-title { font-size: clamp(56px, 15vw, 110px); font-weight: 800; line-height: 0.95; color: var(--white); text-shadow: 0 4px 0 rgba(43,42,94,0.35); font-variation-settings: "SOFT" 100, "WONK" 1; }
.contact-lede { max-width: 50ch; color: var(--white); font-size: 16px; }

.win-mail .win-body { padding: 0; }
.mail { display: grid; }
.mail-alert { margin: 14px 16px 0; padding: 10px 12px; border: 2px solid var(--pink); background: #FCE8F1; color: #A8305F; font-size: 14.5px; font-weight: 700; }
.mail-head { display: grid; }
.mail-line { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--lav-mid); }
.mail-key { flex: none; width: 58px; color: #A58BC0; font-size: 14px; font-weight: 700; }
.mail-line input, .mail-line select { flex: 1; min-width: 0; padding: 7px 10px; border: 2px solid transparent; border-bottom: 2px dotted var(--lav-dark); background: #FBF6FE; color: var(--plum); font: 400 16px var(--body); }
.mail-line input:hover, .mail-line select:hover { background: var(--lav); }
.mail-line input:focus, .mail-line select:focus { outline: none; border-color: var(--bevel-in); background: var(--white); }
.mail-line select { cursor: pointer; }
.mail-to { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--pill); background: var(--lav-mid); color: var(--plum); font-size: 14.5px; font-weight: 700; }
.mail-hint { margin: 0; padding: 10px 16px; background: #F6FBD9; color: var(--plum); font-size: 14px; border-bottom: 1px solid var(--lav-mid); }
.mail-hint[hidden] { display: none; }
.mail-hint a { color: var(--peri-deep); font-weight: 700; }
.mail-body { display: block; padding: 12px; background: #F7EEFC; }
.mail-body textarea { display: block; width: 100%; min-height: 200px; padding: 14px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); color: var(--ink); font: 400 16px/1.6 var(--body); resize: vertical; }
.mail-body textarea:focus { outline: 2px dashed var(--peri); outline-offset: 2px; }
.has-err input, .has-err textarea { border-color: var(--pink) !important; background: #FFF6FA; }
.field-err { display: block; padding: 6px 16px 0; color: #A8305F; font-size: 13.5px; font-weight: 700; }
.mail-body + .field-err { padding: 0 16px 8px; background: #F7EEFC; }
.mail-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 16px; }
.mail-or { color: #A58BC0; font-size: 14px; }
.mail-or a { color: var(--plum); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.win-sent .win-body { padding: clamp(22px, 4vw, 36px); }
.sent-body { display: flex; gap: 18px; align-items: flex-start; }
.sent-icon { font-size: 48px; line-height: 1; }
.sent-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.contact-right { display: grid; gap: 34px; justify-items: center; align-content: start; }
.contact-photo { position: relative; width: min(78vw, 360px); aspect-ratio: 4 / 5; }
.contact-glow { position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(circle, rgba(214,91,140,0.9), rgba(214,91,140,0) 66%); }
.contact-oval { position: absolute; inset: 0; display: block; overflow: hidden; border: 7px solid var(--white); border-radius: 50%; transform: rotate(8deg); box-shadow: 6px 8px 0 rgba(43,42,94,0.25); }
.contact-oval img, .contact-oval .ph { width: 100%; height: 100%; object-fit: cover; transform: rotate(-8deg) scale(1.12); }
.contact-spark { position: absolute; top: -4%; right: 6%; color: var(--lime); font-size: 56px; line-height: 1; text-shadow: 2px 3px 0 rgba(43,42,94,0.3); }
.contact-spark i, .contact-spark b { position: absolute; font-style: normal; font-weight: 400; }
.contact-spark i { top: -20px; left: -26px; font-size: 26px; }
.contact-spark b { top: 40px; left: -18px; font-size: 20px; }
.contact-label { top: auto; bottom: 6%; left: -8%; --r: -8deg; font-size: 16px; text-align: center; }

.win-shortcuts { width: min(100%, 420px); }
.win-shortcuts .win-body { padding: 14px; }
.shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.shortcuts a { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border: 2px solid transparent; color: var(--plum); font-size: 13px; font-weight: 700; text-align: center; text-decoration: none; }
.shortcuts a span { font-size: 30px; line-height: 1; }
.shortcuts a:hover, .shortcuts a:focus-visible { border-color: var(--lav-dark); border-style: dotted; background: var(--lav); outline: none; }

@media (min-width: 900px) {
    .contact-row { grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
    .contact-right { padding-top: 70px; }
    .contact-photo { width: min(100%, 400px); }
}

/* =====================================================================
   STASH SPOTS (stashspots/index.php). "Today's Puffcast" weather map.
   Phone first, computer below.
   ===================================================================== */
.spots-head { display: grid; gap: 8px; }
.spots-kicker { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 4px 12px; border-radius: var(--pill); background: rgba(43,42,94,0.35); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #FF4D6D; animation: live 1.4s ease-in-out infinite; }
@keyframes live { 50% { opacity: 0.25; } }
.spots-title { font-size: clamp(50px, 13vw, 104px); font-weight: 800; line-height: 0.95; color: var(--white); text-shadow: 0 4px 0 rgba(43,42,94,0.35); font-variation-settings: "SOFT" 100, "WONK" 1; }
.spots-title span { color: var(--lime); font-style: italic; }
.spots-lede { max-width: 48ch; color: var(--white); }

.win-puffcast .win-body { padding: 0; }
.puffcast { display: grid; }
.spot-panel { display: flex; flex-direction: column; min-height: 0; border-top: 3px solid var(--lav-dark); background: #FBF6FE; }
.spot-tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; border-bottom: 1px solid var(--lav-mid); background: #F7EEFC; }
.spot-search { display: flex; flex: 1 1 140px; min-width: 0; align-items: center; gap: 8px; padding: 0 10px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.spot-search input { flex: 1; width: 100%; min-width: 0; padding: 9px 0; border: 0; background: none; color: var(--plum); font: 400 16px var(--body); }
.spot-search input:focus { outline: none; }
.spot-search:focus-within { outline: 2px dashed var(--peri); outline-offset: 2px; }
.spot-near { flex: none; padding: 9px 14px; font-size: 14px; }
.spot-near::before, .spot-near::after { content: none; }
.spot-count { margin: 0; padding: 8px 14px; color: #A58BC0; font-size: 13px; }
.spot-list { margin: 0; padding: 0 8px 8px; list-style: none; overflow-y: auto; max-height: 420px; }
.spot { margin-bottom: 6px; border: 2px solid transparent; background: var(--white); box-shadow: 0 1px 0 var(--lav-mid); }
.spot[hidden] { display: none; }
.spot.on { border-color: var(--peri); box-shadow: 3px 3px 0 var(--lime); }
.spot-main { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 12px 12px 6px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.spot-main:focus-visible { outline: 2px dashed var(--pink); outline-offset: -4px; }
.spot-wx { flex: none; width: 46px; text-align: center; font-size: 34px; line-height: 1; filter: drop-shadow(2px 2px 0 rgba(43,42,94,0.15)); }
.spot-info { display: grid; gap: 2px; flex: 1; min-width: 0; }
.spot-name { color: var(--plum); font: 800 19px/1.15 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.spot-addr { color: var(--ink); font-size: 14px; }
.spot-cast { margin-top: 4px; color: var(--pink); font-size: 13.5px; font-style: italic; }
.spot-dist { flex: none; padding: 2px 8px; border-radius: var(--pill); background: var(--lime); color: var(--ink); font-size: 12.5px; font-weight: 700; }
.spot-dist[hidden] { display: none; }
.spot-links { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0 12px 12px 70px; font-size: 13.5px; }
.spot-links a { color: var(--peri-deep); font-weight: 700; }
.spot-note { color: #A58BC0; }
.spot-empty { padding: 20px 14px; color: var(--plum); font-size: 14.5px; }
.spot-empty a { color: var(--peri-deep); font-weight: 700; }

.spot-mapwrap { position: relative; order: -1; min-height: 380px; background: #DCE0F5; }   /* phones: map on top */
.spot-map { position: absolute; inset: 0; z-index: 0; background: #E4E6F7; font-family: var(--body); }
.spot-map.map-off { display: grid; place-items: center; color: var(--plum); }
/* Tints the gray map lavender to match the site. Delete this line for the plain map. */
.spot-map .leaflet-tile-pane { filter: grayscale(1) sepia(0.45) hue-rotate(205deg) saturate(1.5) brightness(1.08) contrast(0.92); }   /* softens the colorful map into the site's periwinkle */
.map-all { position: absolute; top: 12px; right: 12px; z-index: 500; padding: 7px 12px; border: 3px solid; border-color: var(--bevel-out); background: var(--paper); color: var(--plum); font: 700 13px var(--body); cursor: pointer; box-shadow: 3px 3px 0 rgba(43,42,94,0.25); }
.map-all:active { border-color: var(--bevel-in); transform: translate(1px, 1px); }
.map-legend { position: absolute; left: 12px; bottom: 12px; z-index: 500; display: flex; flex-wrap: wrap; gap: 4px 12px; max-width: calc(100% - 80px); padding: 7px 12px; border: 2px solid var(--lav-dark); background: rgba(252,247,255,0.94); color: var(--plum); font-size: 12.5px; font-weight: 700; box-shadow: 3px 3px 0 rgba(43,42,94,0.2); }

/* Weather markers */
.wx-marker { background: none; border: 0; }
.wx-pin { display: grid; place-items: center; width: 56px; height: 56px; font-size: 40px; line-height: 1; filter: drop-shadow(0 4px 3px rgba(43,42,94,0.35)); animation: wx-bob 3s ease-in-out infinite; cursor: pointer; transition: font-size 0.2s; }
.wx-rain, .wx-downpour, .wx-sunshower, .wx-storm { animation-duration: 2.2s; }
.wx-tornado { animation: wx-spin 2.6s ease-in-out infinite; }
.wx-sun, .wx-mostlysun, .wx-night, .wx-heat { animation: wx-glow 3s ease-in-out infinite; }
.wx-lightning, .wx-zap, .wx-storm { animation: wx-bob 2.2s ease-in-out infinite, wx-flash 4s steps(1) infinite; }
.wx-wind { animation: wx-drift 3s ease-in-out infinite; }
.wx-snow, .wx-flake { animation: wx-float 4s ease-in-out infinite; }
.wx-marker.on .wx-pin, .wx-marker:hover .wx-pin { font-size: 52px; }
.wx-marker.on::after { content: ""; position: absolute; inset: 4px; z-index: -1; border: 3px solid var(--lime); border-radius: 50%; background: rgba(225,246,107,0.35); }
@keyframes wx-bob { 50% { transform: translateY(-6px); } }
@keyframes wx-spin { 50% { transform: translateX(4px) rotate(8deg); } }
@keyframes wx-flash { 0%, 88%, 94%, 100% { filter: drop-shadow(0 4px 3px rgba(43,42,94,0.35)); } 90%, 96% { filter: drop-shadow(0 0 14px rgba(255,240,120,1)) brightness(1.3); } }
@keyframes wx-drift { 50% { transform: translateX(7px); } }
@keyframes wx-float { 50% { transform: translateY(-5px) rotate(12deg); } }
@keyframes wx-glow { 50% { transform: scale(1.08); filter: drop-shadow(0 0 10px rgba(255,214,90,0.9)); } }
.wx-you { display: grid; justify-items: center; font-size: 34px; line-height: 1; animation: wx-bob 2s ease-in-out infinite; }
.wx-you b { padding: 1px 6px; border-radius: var(--pill); background: var(--pink); color: var(--white); font: 700 11px var(--body); }

/* Popup, styled like a mini window */
.wx-popup .leaflet-popup-content-wrapper { padding: 0; border: 3px solid; border-color: var(--bevel-out); border-radius: 0; background: var(--paper); box-shadow: 4px 4px 0 rgba(43,42,94,0.3); }
.wx-popup .leaflet-popup-content { margin: 0; min-width: 210px; font: 400 14px/1.45 var(--body); color: var(--ink); }
.wx-popup .leaflet-popup-tip { background: var(--paper); }
.wx-popup a.leaflet-popup-close-button { top: 4px; right: 4px; color: var(--plum); }
.wx-pop-bar { display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 30px 6px 10px; background: linear-gradient(90deg, #BFC0F0, #DCD9F9); color: var(--plum); font-weight: 700; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.wx-pop-bar span { font-size: 18px; }
.wx-pop-body { display: grid; gap: 3px; padding: 10px 12px 12px; }
.wx-pop-body strong { color: var(--plum); font: 800 17px/1.15 var(--display); }
.wx-pop-body em { margin-top: 4px; color: var(--pink); }
.wx-pop-links { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; }
.wx-pop-links a { color: var(--peri-deep); font-weight: 700; }

/* TV-style alert ticker */
.ticker { display: flex; align-items: stretch; overflow: hidden; border-top: 3px solid var(--plum); background: var(--plum); }
.ticker-tag { flex: none; display: flex; align-items: center; padding: 8px 14px; background: var(--pink); color: var(--white); font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.ticker-track { flex: 1; overflow: hidden; }
.ticker-run { display: flex; width: max-content; margin: 0; padding: 9px 0; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-run { animation-play-state: paused; }
.ticker-item { padding: 0 28px; color: #F1ECFF; font-size: 14px; white-space: nowrap; }
.ticker-item b { color: var(--lime); }
@keyframes ticker { to { transform: translateX(-50%); } }

.spots-row { display: grid; gap: 26px; }

@media (min-width: 900px) {
    .spots-head { grid-template-columns: 1fr auto; align-items: end; gap: 8px 40px; }
    .spots-kicker, .spots-title { grid-column: 1; }
    .spots-lede { grid-column: 2; grid-row: 2; padding-bottom: 14px; max-width: 34ch; }
    .puffcast { grid-template-columns: 380px 1fr; height: 600px; }
    .spot-panel { border-top: 0; border-right: 3px solid var(--lav-dark); }
    .spot-list { flex: 1; max-height: none; }
    .spot-mapwrap { order: 0; min-height: 0; }
    .spots-row { grid-template-columns: 1fr 1fr; align-items: start; }
    .spots-row > :nth-child(2) { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .wx-pin, .wx-you, .live-dot { animation: none; }
    .ticker-run { animation-duration: 180s; }
}
.spots-row .dialog-body h2 { margin-bottom: 6px; font-size: 21px; color: var(--plum); font-style: italic; }
.spots-row .dialog-ok .btn { pointer-events: auto; }

/* =====================================================================
   FAQ (faq/index.php). A LunarOS Help window. Phone first, computer below.
   ===================================================================== */
.faq-head { display: grid; gap: 10px; }
.faq-title { font-size: clamp(60px, 17vw, 128px); font-weight: 800; line-height: 0.9; color: var(--white); text-shadow: 0 4px 0 rgba(43,42,94,0.35); font-variation-settings: "SOFT" 100, "WONK" 1; }
.faq-title span { background: linear-gradient(transparent 70%, var(--pink) 70%, var(--pink) 90%, transparent 90%); }
.faq-lede { max-width: 44ch; color: var(--white); }

.win-help-faq .win-body { padding: 0; }
.help-toolbar { padding: 12px; border-bottom: 1px solid var(--lav-mid); background: #F7EEFC; }
.help-search { display: flex; align-items: center; gap: 8px; max-width: 520px; padding: 0 12px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.help-search input { flex: 1; width: 100%; min-width: 0; padding: 10px 0; border: 0; background: none; color: var(--plum); font: 400 16px var(--body); }
.help-search input:focus { outline: none; }
.help-search:focus-within { outline: 2px dashed var(--peri); outline-offset: 2px; }

.help { display: grid; }
.help > * { min-width: 0; }
.help-contents { border-bottom: 3px solid var(--lav-dark); background: #FBF6FE; }
.help-contents-title { display: none; }
.help-contents ul { display: flex; gap: 6px; margin: 0; padding: 10px 12px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.help-contents a { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border: 2px solid var(--lav-dark); border-radius: var(--pill); background: var(--white); color: var(--plum); font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.help-contents a small { color: #A58BC0; font-weight: 400; }
.help-contents a.on, .help-contents a:hover { border-color: var(--peri); background: var(--lime); }

.help-topics { padding: 8px 16px 28px; }
.help-cat { padding-top: 22px; scroll-margin-top: 80px; }
.help-cat[hidden] { display: none; }
.help-cat-title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: clamp(28px, 7vw, 40px); font-style: italic; color: var(--peri-deep); font-variation-settings: "SOFT" 100, "WONK" 1; }
.faq .help-cat-title { text-transform: uppercase; letter-spacing: .04em; }   /* FAQ category headings in caps (Nov 5 2026); the questions stay normal */
.qa { border-bottom: 2px dotted var(--lav-dark); scroll-margin-top: 90px; }
.qa[hidden] { display: none; }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover .qa-q { color: var(--pink); }
.qa summary:focus-visible { outline: 2px dashed var(--pink); outline-offset: 2px; }
.qa-q { color: var(--plum); font: 700 clamp(18px, 4.6vw, 22px)/1.2 var(--display); transition: color 0.15s; }
.qa-icon { position: relative; flex: none; width: 26px; height: 26px; border: 3px solid; border-color: var(--bevel-out); background: var(--lav); box-shadow: 1px 1px 0 var(--plum); }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; background: var(--plum); transition: transform 0.2s; }
.qa-icon::after { transform: rotate(90deg); }
.qa[open] .qa-icon { background: var(--lime); }
.qa[open] .qa-icon::after { transform: rotate(0deg); }
.qa[open] .qa-q { color: var(--pink); }
.qa-a { padding: 0 4px 20px; color: var(--ink); font-size: 16px; line-height: 1.7; }
.qa-a p { margin-bottom: 10px; }
.qa-a ul { margin: 0 0 10px; padding-left: 1.2em; }
.qa-a li { margin-bottom: 4px; }
.qa-a li::marker { content: "✦  "; color: var(--pink); }
.qa-a a { color: var(--peri-deep); font-weight: 700; }
.qa-a strong { color: var(--plum); }
.qa[open] .qa-a { animation: qa-in 0.25s ease; }
@keyframes qa-in { from { opacity: 0; transform: translateY(-4px); } }
.help-empty { padding: 30px 4px; color: var(--plum); }
.help-empty a { color: var(--peri-deep); font-weight: 700; }

.faq-stuck { width: min(100%, 520px); justify-self: center; }
.faq-stuck .dialog-body h2 { margin-bottom: 6px; font-size: 21px; color: var(--plum); font-style: italic; }
.faq-stuck .dialog-ok .btn { pointer-events: auto; }

@media (min-width: 900px) {
    .faq-head { grid-template-columns: auto 1fr; align-items: end; gap: 40px; }
    .faq-lede { padding-bottom: 20px; }
    .help { grid-template-columns: 280px 1fr; }
    .help-contents { position: static; border-bottom: 0; border-right: 3px solid var(--lav-dark); }
    .help-contents-title { display: block; margin: 0; padding: 16px 16px 6px; color: #A58BC0; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
    .help-contents ul { position: sticky; top: 76px;   /* stays in view below the menu bar */ flex-direction: column; padding: 4px 10px 16px; overflow: visible; }
    .help-contents a { border-radius: 0; border-color: transparent; background: none; white-space: normal; }
    .help-contents a { display: block; line-height: 1.35; white-space: nowrap !important; } .help-contents a small { margin-left: 4px; } .help-contents .hc-last { white-space: nowrap; }   /* (a long name wraps and its number stays right after the last word) */
    .help-contents a.on, .help-contents a:hover { border-color: var(--lav-dark); border-style: dotted; background: var(--lav); }
    .help-contents a.on { background: var(--lime); border-style: solid; }
    .help-topics { padding: 8px 36px 36px; }
}
@media (prefers-reduced-motion: reduce) { .qa[open] .qa-a { animation: none; } }

/* =====================================================================
   WHOLESALE (wholesale/index.php). Reuses the Lore dialogs, the FAQ
   questions, the Contact email form and the homepage Hotbox chat.
   ===================================================================== */
.squiggle { position: relative; display: inline-block; white-space: nowrap; }
.squiggle::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -0.08em; height: 0.16em; background: var(--lime); border-radius: 0 60% 20% 60% / 0 100% 50% 100%; transform: rotate(-1.5deg); z-index: -1; }

.ws-hero { display: grid; gap: 30px; align-items: center; }
.ws-hero-text { position: relative; z-index: 2; display: grid; gap: 16px; }
.ws-kicker { justify-self: start; padding: 4px 12px; border-radius: var(--pill); background: rgba(43,42,94,0.35); color: var(--lime); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ws-title { position: relative; z-index: 0; font-size: clamp(46px, 12vw, 96px); font-weight: 800; line-height: 0.98; color: var(--white); text-shadow: 0 4px 0 rgba(43,42,94,0.35); font-variation-settings: "SOFT" 100, "WONK" 1; }
.ws-lede { max-width: 50ch; color: var(--white); font-size: 16.5px; }
.ws-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ws-hero-photo { position: relative; justify-self: center; width: min(76vw, 380px); aspect-ratio: 4 / 5; }
.ws-oval { display: block; overflow: hidden; border: 7px solid var(--white); background: var(--lav); box-shadow: 6px 8px 0 rgba(43,42,94,0.25); }
.ws-oval img, .ws-oval .ph { width: 100%; height: 100%; object-fit: cover; }
.ws-oval-hero { position: absolute; inset: 0; border-radius: 50%; transform: rotate(-10deg); }
.ws-oval-hero img, .ws-oval-hero .ph { transform: rotate(10deg) scale(1.15); }
.ws-float { position: absolute; z-index: 2; line-height: 1; filter: drop-shadow(3px 4px 0 rgba(43,42,94,0.3)); animation: wx-bob 3.4s ease-in-out infinite; }
.ws-money { right: -10%; bottom: 14%; font-size: 64px; }
.ws-flower { right: 0; top: -2%; color: var(--pink); font-size: 84px; animation-delay: -1.5s; }
.ws-min-label { top: auto; left: -10%; bottom: 2%; --r: -7deg; font-size: 16px; text-align: center; }

.ws-banner { position: relative; width: calc(100vw - var(--sbw, 0px)); margin-left: calc(50% - (100vw - var(--sbw, 0px)) / 2); padding: clamp(46px, 7vw, 80px) 20px; text-align: center; }
.ws-banner::before, .ws-banner::after { content: ""; position: absolute; left: 0; right: 0; height: 22px; background: radial-gradient(circle at 50% 0, transparent 0 17px, var(--banner-bg) 18px) 0 0 / 44px 22px repeat-x; }
.ws-banner::before { top: -21px; transform: scaleY(-1); }
.ws-banner::after { bottom: -21px; }
.ws-banner-pink { --banner-bg: var(--pink); background: var(--pink); }
.ws-banner-pink p { position: relative; max-width: 24ch; margin: 0 auto; color: var(--white); font: 800 clamp(28px, 5.5vw, 52px)/1.08 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; text-shadow: 0 3px 0 rgba(43,42,94,0.25); }
.ws-star { position: absolute; left: 8%; top: 22%; color: var(--lime); font-size: clamp(40px, 7vw, 80px); line-height: 1; animation: wx-float 5s ease-in-out infinite; }
.ws-banner-shelf { --banner-bg: var(--lime); background: var(--lime); }
.ws-banner-shelf h2 { color: var(--peri-deep); font-size: clamp(38px, 8vw, 84px); line-height: 1; font-variation-settings: "SOFT" 100, "WONK" 1; }
.ws-banner-shelf p { max-width: 46ch; margin: 16px auto 0; color: var(--ink); font-size: 16.5px; }

.ws-split { display: grid; gap: 28px; align-items: center; }
.ws-split-photo { display: grid; place-items: center; }
.ws-oval-wide { width: min(100%, 460px); aspect-ratio: 6 / 5; border-radius: 50%; }
.ws-oval-round { width: min(100%, 400px); aspect-ratio: 1; border-radius: 50%; }
.ws-h2 { color: var(--plum); font-size: clamp(38px, 8vw, 64px); line-height: 1; font-variation-settings: "SOFT" 100, "WONK" 1; }
.ws-p { margin: 14px 0 10px; max-width: 52ch; color: #6E5488; font-size: 15.5px; }
.ws-qas { margin-top: 8px; border-top: 2px dotted var(--lav-dark); }

/* Why shops love us: a store receipt */
.ws-love-row { display: grid; gap: 34px; align-items: center; }
.receipt { --zig: 10px; position: relative; justify-self: center; width: min(100%, 360px); padding: 30px 26px 24px; background: #FFFEF8; color: #2E2D3A; font: 400 14.5px/1.55 var(--body); transform: rotate(-2deg); filter: drop-shadow(6px 8px 0 rgba(43,42,94,0.28));
    -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zig) * 2) 51% repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--zig) * 2) 51% repeat-x;
            mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zig) * 2) 51% repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--zig) * 2) 51% repeat-x; }
.rc-center { text-align: center; }
.rc-big { font-size: 22px; font-weight: 700; letter-spacing: 0.2em; }
.rc-rule { height: 0; margin: 12px 0; border-top: 2px dashed #B9B6C8; }
.rc-title { margin-bottom: 8px; font: 700 15px var(--body); letter-spacing: 0.12em; text-transform: uppercase; }
.rc-items { margin: 0; padding: 0; list-style: none; }
.rc-items li { display: flex; align-items: baseline; gap: 6px; }
.rc-dots { flex: 1; min-width: 12px; border-bottom: 2px dotted #C7C4D3; transform: translateY(-4px); }
.rc-check { color: var(--pink); font-weight: 700; }
.rc-total { display: flex; justify-content: space-between; gap: 10px; font-size: 16px; font-weight: 700; text-transform: uppercase; }
.rc-total span:last-child { color: var(--peri-deep); text-align: right; }
.rc-thanks { margin-top: 14px; font-size: 13px; letter-spacing: 0.1em; }
.rc-barcode { display: grid; justify-items: center; gap: 4px; margin-top: 12px; font-size: 11px; letter-spacing: 0.3em; }
.rc-barcode span { width: 78%; height: 44px; background: repeating-linear-gradient(90deg, #2E2D3A 0 2px, transparent 2px 4px, #2E2D3A 4px 7px, transparent 7px 9px, #2E2D3A 9px 10px, transparent 10px 13px, #2E2D3A 13px 16px, transparent 16px 17px); }

/* By the numbers */
.win-numbers .win-body { display: grid; gap: 16px; }
.ws-h2-sm { font-size: clamp(30px, 6vw, 44px); }
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.num { display: grid; gap: 4px; align-content: start; padding: 14px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.num dt { color: var(--pink); font: 800 clamp(38px, 8vw, 54px)/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.num dd { margin: 0; color: var(--plum); font-size: 14px; }
.num:nth-child(2) dt { color: var(--peri-deep); }
.num:nth-child(3) dt { color: #7C9A12; }
.numbers-link a { color: var(--peri-deep); font-weight: 700; }
.win-ws-faq .ws-h2 { margin-bottom: 8px; }

.ws-talk { display: grid; gap: 26px; justify-items: center; margin-top: 24px; scroll-margin-top: 80px; }
.ws-talk-title { position: relative; z-index: 0; color: var(--white); font-size: clamp(42px, 10vw, 88px); line-height: 1; text-align: center; text-shadow: 0 4px 0 rgba(43,42,94,0.35); font-variation-settings: "SOFT" 100, "WONK" 1; }
.ws-talk-row { display: grid; gap: 30px; width: 100%; align-items: start; }
.ws-talk-form { display: grid; gap: 12px; min-width: 0; }
.ws-talk-side { color: var(--white); font: 700 italic 22px/1.2 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.win-portal .win-body { display: grid; gap: 14px; }
.portal-title { color: var(--plum); font-size: clamp(28px, 5vw, 38px); line-height: 1.05; font-variation-settings: "SOFT" 100, "WONK" 1; }
.portal-text { color: #6E5488; font-size: 15.5px; }
.portal-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.portal-steps li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 15px; font-weight: 700; counter-increment: step; }
.portal-steps li::before { content: counter(step); display: grid; place-items: center; flex: none; width: 30px; height: 30px; border: 3px solid; border-color: var(--bevel-out); background: var(--lime); color: var(--ink); font: 800 15px var(--display); }
.portal-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.portal-note { color: #A58BC0; font-size: 13.5px; }
.ws-talk .mail-key { width: 76px; }
.ws-interest { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px 16px; border: 0; border-bottom: 1px solid var(--lav-mid); }
.ws-interest legend { float: left; width: 100%; margin-bottom: 8px; padding: 0; color: #A58BC0; font-size: 14px; font-weight: 700; }
.ws-check { position: relative; cursor: pointer; }
.ws-check input { position: absolute; opacity: 0; }
.ws-check span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 3px solid; border-color: var(--bevel-out); background: var(--lav); color: var(--plum); font-size: 14px; font-weight: 700; }
.ws-check span::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--plum); background: var(--white); }
.ws-check input:checked + span { border-color: var(--bevel-in); background: var(--lime); }
.ws-check input:checked + span::before { content: "✓"; display: grid; place-items: center; font-size: 12px; line-height: 1; }
.ws-check input:focus-visible + span { outline: 2px dashed var(--pink); outline-offset: 2px; }

@media (min-width: 900px) {
    .ws-hero { grid-template-columns: 1.2fr 0.8fr; gap: 50px; min-height: 560px; }
    .ws-hero-photo { width: min(100%, 400px); }
    .ws-split { grid-template-columns: 0.9fr 1.1fr; gap: 50px; }
    .ws-split-rev { grid-template-columns: 1.1fr 0.9fr; }
    .ws-banner-pink p { max-width: 30ch; }
    .ws-love-row { grid-template-columns: 0.85fr 1.15fr; gap: 50px; }
    .ws-talk-row { grid-template-columns: 0.9fr 1.1fr; gap: 36px; }
    .win-portal { position: sticky; top: 90px; }
    .ws-talk-form { padding-top: 0; }
}
@media (max-width: 899px) { .ws-star { top: 10px; left: 14px; font-size: 34px; } .ws-banner-pink { padding-top: 60px; } }

/* =====================================================================
   TERMS & POLICIES (terms-and-policies/index.php). Reuses the Notepad
   window from Drops posts.
   ===================================================================== */
.terms-head { display: grid; gap: 8px; }
.terms-title { font-size: clamp(42px, 10vw, 84px); font-weight: 800; line-height: 1; color: var(--white); text-shadow: 0 4px 0 rgba(43,42,94,0.35); font-variation-settings: "SOFT" 100, "WONK" 1; }
.terms-updated { color: var(--lime); font-style: italic; font-weight: 700; }
.terms-jump { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--lav-mid); background: #FBF6FE; overflow-x: auto; scrollbar-width: none; }
.terms-jump a { flex: none; padding: 6px 12px; border: 2px solid var(--lav-dark); border-radius: var(--pill); background: var(--white); color: var(--plum); font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.terms-jump a:hover { border-color: var(--peri); background: var(--lime); }
/* Phones: the section links become a dropdown (the sideways-scrolling row wasn't obvious) */
.terms-jump-pick { display: none; }
@media (max-width: 720px) {
    .terms-jump { display: block; }
    .terms-jump a { display: none; }
    .terms-jump .terms-jump-pick { display: block; width: 100%; }
}
.terms-doc { width: min(100%, 76ch); }
.terms-intro { margin-bottom: 10px; color: var(--ink); font-size: 16.5px; line-height: 1.75; }
.terms-sec { padding-top: 26px; scroll-margin-top: 80px; }
.terms-sec + .terms-sec { margin-top: 18px; border-top: 2px dashed var(--lav-dark); }
.terms-sec h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--peri-deep); font-size: clamp(30px, 7vw, 44px); line-height: 1.05; font-variation-settings: "SOFT" 100, "WONK" 1; }
.terms-sec h3 { margin: 26px 0 8px; color: var(--plum); font-size: 21px; scroll-margin-top: 80px; }
.terms-sec p, .terms-sec ul { margin-bottom: 12px; color: var(--ink); font-size: 16px; line-height: 1.75; }
.terms-sec ul { padding-left: 1.3em; }
.terms-sec li { margin-bottom: 6px; }
.terms-sec li::marker { content: "✦  "; color: var(--pink); }
.terms-sec strong { color: var(--plum); }
.terms-doc a { color: var(--peri-deep); font-weight: 700; }
.terms-contact { margin-top: 30px; padding: 14px 16px; border: 3px solid; border-color: var(--bevel-in); background: var(--lav); color: var(--plum); font-size: 15.5px; }

/* =====================================================================
   MY MAIL (includes/my-mail.php + assets/js/my-mail.js)
   The 2000s-style mail dropdown next to the cart.
   ===================================================================== */
.mymail { position: relative; }
.mymail-btn { position: relative; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border: 3px solid; border-color: var(--peri-hi) var(--peri-lo) var(--peri-lo) var(--peri-hi); background: var(--peri); color: var(--white); font: 700 14px var(--body); cursor: pointer; }
.mymail-btn:hover { filter: brightness(1.12); }
.mymail-btn[aria-expanded="true"] { border-color: var(--peri-lo) var(--peri-hi) var(--peri-hi) var(--peri-lo); }
.mymail-btn.has-new > span:first-child { animation: mm-wiggle 2.6s ease-in-out infinite; display: inline-block; }
@keyframes mm-wiggle { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg); } 88% { transform: rotate(12deg); } 92% { transform: rotate(-8deg); } }
.mymail-count { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--pink); color: var(--white); font-size: 12px; line-height: 20px; text-align: center; }
.mymail-count[hidden] { display: none; }

.mymail-panel { position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; width: 340px; border: 3px solid; border-color: var(--bevel-out); outline: 1px solid var(--lav-dark); background: var(--white); box-shadow: 6px 7px 0 rgba(43,42,94,0.35); color: var(--ink); }
.mymail-panel[hidden] { display: none; }
.mymail-title { margin: 0; padding: 10px 14px; background: linear-gradient(180deg, #8E91DE, #6D71CF); color: var(--white); font: 700 17px var(--body); text-shadow: 1px 1px 0 rgba(43,42,94,0.4); }
.mymail-list { margin: 0; padding: 8px 6px; list-style: none; }
.mm-item a { display: flex; align-items: flex-start; gap: 10px; padding: 6px 8px; color: inherit; text-decoration: none; }
.mm-item a:hover, .mm-item a:focus-visible { background: #EEF0FC; outline: none; }
.mm-icon { flex: none; width: 24px; font-size: 18px; line-height: 1.3; text-align: center; }
.mm-text { display: grid; min-width: 0; }
.mm-new { display: none; font: 700 16px/1.3 var(--body); }
.mm-old { color: #8A89A6; font-size: 14px; line-height: 1.35; }
.mm-detail { display: none; color: #6B6A92; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-item.is-new .mm-new, .mm-item.is-new .mm-detail { display: block; }
.mm-item.is-new .mm-old { display: none; }
.mm-red .mm-new { color: #B3243B; } .mm-blue .mm-new { color: #25308A; } .mm-green .mm-new { color: #2E7D1F; }
/* Phones: My Mail stays short. No second line under new things: the line itself turns bold in the
   theme's color, with a small dot on its icon. (Computers keep the "New Messages!" + detail lines.)
   --mm-new is the theme's pink; light theme pinks get a darker shade here so they're easy to read. */
:root { --mm-new: #C85788; }
body.theme-halloween { --mm-new: #C7384F; } body.theme-fall { --mm-new: #D2553C; } body.theme-winter { --mm-new: #9B6E9B; }
body.theme-y2k { --mm-new: #CC46BB; } body.theme-valentines { --mm-new: #E8336D; } body.theme-fourtwenty { --mm-new: #AA6798; }
body.theme-spring { --mm-new: #A46D99; } body.theme-summer { --mm-new: #D05377; } body.theme-seventen { --mm-new: #D24FC0; }
body.theme-friday13 { --mm-new: #B3122E; } body.theme-lunarny { --mm-new: #E8463C; } body.theme-christmas { --mm-new: #C8102E; }
@media (max-width: 720px) {
    .mm-item a { align-items: center; }
    .mm-item.is-new .mm-new, .mm-item.is-new .mm-detail { display: none; }
    .mm-item.is-new .mm-old { display: block; color: var(--mm-new); font-weight: 700; }
    .mm-icon { position: relative; }
    .mm-item.is-new .mm-icon::after { content: ""; position: absolute; right: -3px; top: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--mm-new); border: 2px solid #fff; }
}

/* A friend request right in My Mail (includes/header.php, assets/js/friends.js) */
.mm-req { display: flex; align-items: flex-start; gap: 10px; margin: 0 8px 8px; padding: 8px; border: 2px solid #B6A4E8; background: #FBF6FE; }
.mm-req .mm-text { display: grid; gap: 6px; } .mm-reqt { font-size: 14px; line-height: 1.35; color: #2B2A5E; }
.mm-req .mm-reqt a { display: inline; padding: 0; background: none; color: #6D71CF; font-size: 12.5px; white-space: nowrap; }   /* "+2 more" right after "friend!" (not its own row) */
.mm-reqb { display: flex; gap: 6px; } .mm-reqb button { padding: 3px 10px; border: 2px solid; border-color: var(--bevel-out); background: var(--lav); color: var(--plum); font: 700 12.5px var(--body); cursor: pointer; }
.mm-reqb button:first-child { background: var(--lime); }
.mm-req.done { justify-content: center; color: #6F6496; font: 700 13px var(--body); }
.mm-tom { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; margin: 0 12px 8px; padding: 10px; border: 2px dashed var(--lav-dark); background: #FBF6FE; }
.mm-tom[hidden] { display: none; }
.mm-item > .mm-tom { margin: 2px 12px 10px; }   /* (when it sits under its own line in My Mail) */
.mm-tom-pic { grid-row: span 2; font-size: 30px; line-height: 1; }
.mm-tom-msg { font-size: 13.5px; }
.mm-tom-btns { display: flex; gap: 6px; }
.mm-tom-btns[hidden] { display: none; }
.mm-tom-btns button { padding: 3px 10px; border: 2px solid; border-color: var(--bevel-out); background: var(--lav); color: var(--plum); font: 700 12.5px var(--body); cursor: pointer; }
.mm-tom-btns button:first-child { background: var(--lime); }

.mymail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 0 8px 8px; }
.mymail-grid a, .mymail-grid button { display: grid; place-items: center; padding: 11px 6px; border: 0; background: #DCE3FA; color: #25308A; font: 700 14.5px var(--body); text-decoration: none; cursor: pointer; }
.mymail-grid a:hover, .mymail-grid button:hover { background: var(--lime); color: var(--ink); }
.mm-toast { margin: 0 8px 8px; padding: 8px 10px; background: #FFF6D6; color: #6B5A12; font-size: 12.5px; }
.mm-toast a { color: #25308A; font-weight: 700; }
.mymail-foot { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 7px 12px; border-top: 1px solid var(--lav-mid); background: #FAF3FE; color: #A58BC0; font-size: 12px; }

@media (max-width: 720px) {
    .mymail-label { display: none; }
    .mymail { position: static; }
    .mymail-panel { left: 8px; right: 8px; width: auto; top: calc(100% + 6px); }
}
@media (prefers-reduced-motion: reduce) { .mymail-btn.has-new > span:first-child { animation: none; } }

/* =====================================================================
   EVENTS & MARKETS (events/index.php). Phone first, computer below.
   ===================================================================== */
.ev-head { display: grid; gap: 10px; }
.ev-kicker { justify-self: start; padding: 4px 12px; background: var(--white); color: #25308A; font-size: 13.5px; font-weight: 700; box-shadow: 3px 3px 0 rgba(43,42,94,0.3); }
.ev-title { font-size: clamp(50px, 13vw, 104px); font-weight: 800; line-height: 0.95; color: var(--white); text-shadow: 0 4px 0 rgba(43,42,94,0.35); font-variation-settings: "SOFT" 100, "WONK" 1; }
.ev-title span { color: var(--lime); font-style: italic; }
.ev-lede { max-width: 50ch; color: var(--white); }
.ev-row { display: grid; gap: 34px; align-items: start; }
.ev-row > * { min-width: 0; }
.ev-sample { padding: 1px 7px; border-radius: var(--pill); background: #FFE58A; color: #6B5A12; font: 700 10.5px var(--body); letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle; }

/* Calendar */
.win-cal .win-body { padding: 14px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.cal-nav a { display: grid; place-items: center; width: 38px; height: 34px; border: 3px solid; border-color: var(--bevel-out); background: var(--lav); color: var(--plum); font-size: 14px; text-decoration: none; }
.cal-nav a:hover { background: var(--lime); }
.cal-month { color: var(--plum); font-size: clamp(24px, 5vw, 30px); font-variation-settings: "SOFT" 100, "WONK" 1; }
.cal { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.cal th { color: #A58BC0; font-size: 12.5px; font-weight: 700; }
.cal td { position: relative; height: 56px; padding: 0; vertical-align: top; border: 2px solid var(--lav-mid); background: var(--white); }
.cal td.cal-blank { border-color: transparent; background: none; }
.cal-day > a, .cal-day > .cal-num { display: block; }
.cal-day > a { position: absolute; inset: 0; color: inherit; text-decoration: none; }
.cal-num { padding: 3px 5px; color: var(--plum); font-size: 12.5px; font-weight: 700; }
.cal-emoji { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); font-size: 22px; line-height: 1; }
.cal-fun { font-size: 16px; opacity: 0.7; cursor: help; }
.cal-day.is-past { background: #FAF7FD; }
.cal-day.is-past .cal-num { color: #B9A8CC; }
.cal-day.has-ev { border-color: var(--pink); background: #FFF0F6; }
.cal-day.has-ev:hover { background: var(--lime); }
.cal-day.has-ev.is-past { border-color: var(--lav-dark); background: #F4EEFA; }
.cal-day.is-today { border-color: var(--peri); box-shadow: inset 0 0 0 2px var(--lime); }
.cal-you { position: absolute; top: 2px; right: 3px; font-size: 13px; animation: wx-bob 2s ease-in-out infinite; }
.cal-back { margin-top: 10px; font-size: 14px; }
.cal-back a { color: var(--peri-deep); font-weight: 700; }

/* Invitations */
.invites { display: grid; gap: 16px; }
.invite { display: flex; gap: 14px; padding: 14px; border: 3px solid; border-color: var(--bevel-out); background: var(--paper); box-shadow: var(--shadow); scroll-margin-top: 90px; }
.invite:target { outline: 3px dashed var(--lime); outline-offset: 3px; }
.invite-next { background: #FFFDF0; box-shadow: 5px 5px 0 var(--lime); }
.invite-date { flex: none; display: grid; justify-items: center; align-content: start; width: 64px; padding: 6px 0 8px; border: 2px solid var(--lav-dark); background: var(--white); color: var(--plum); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.invite-date span:first-child { justify-self: stretch; align-self: stretch; margin: -6px 0 2px; padding: 3px 0; background: var(--pink); color: var(--white); text-align: center; }
.invite-date b { font: 800 30px/1 var(--display); }
.invite-body { display: grid; gap: 3px; min-width: 0; }
.invite-kicker { color: #25308A; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.invite-name { color: var(--plum); font-size: clamp(22px, 5vw, 27px); line-height: 1.1; font-variation-settings: "SOFT" 100, "WONK" 1; }
.invite-meta { color: var(--ink); font-size: 14px; }
.invite-note { margin-top: 4px; color: #6E5488; font-size: 14px; font-style: italic; }
.invite-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.invite-btns .btn { padding: 8px 14px; font-size: 12.5px; }

/* Past markets */
.win-memories .win-body { display: grid; gap: 6px; }
.mem-year { margin-top: 16px; padding-bottom: 6px; border-bottom: 2px dashed var(--lav-dark); color: var(--peri-deep); font-size: 30px; font-variation-settings: "SOFT" 100, "WONK" 1; }
.mem-year small { color: #A58BC0; font: 400 13px var(--body); }
.mem-list { display: grid; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.mem { display: flex; gap: 12px; align-items: center; padding: 10px; border: 2px solid var(--lav-mid); background: var(--white); scroll-margin-top: 90px; }
.mem:target { outline: 3px dashed var(--lime); }
.mem-photo { flex: none; display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border: 3px solid var(--white); outline: 1px solid var(--lav-dark); background: var(--lav); transform: rotate(-3deg); box-shadow: 2px 3px 0 rgba(43,42,94,0.2); }
.mem:nth-child(even) .mem-photo { transform: rotate(3deg); }
.mem-photo img { width: 100%; height: 100%; object-fit: cover; }
.mem-emoji { font-size: 30px; }
.mem-info { display: grid; gap: 2px; min-width: 0; color: var(--ink); font-size: 14px; }
.mem-info b { color: var(--plum); font: 700 18px/1.2 var(--display); }
.mem-info em { color: var(--pink); }
.ev-invite-us { width: min(100%, 520px); justify-self: center; }
.ev-invite-us .dialog-body h2 { margin-bottom: 6px; font-size: 21px; color: var(--plum); font-style: italic; }
.ev-invite-us .dialog-ok .btn { pointer-events: auto; }

@media (min-width: 900px) {
    .ev-row { grid-template-columns: 1fr 1fr; gap: 40px; }
    .win-cal { position: sticky; top: 90px; }
    .cal td { height: 66px; }
    .mem-list { grid-template-columns: 1fr 1fr; }
}
.mem-info .ev-sample { justify-self: start; }

/* =====================================================================
   HOTBOX MESSENGER (includes/hotbox.php + assets/js/hotbox.js)
   AIM-style chat window that opens from the taskbar.
   ===================================================================== */
.hb-dot.is-away { background: #F2C230; }
.hb-dot.is-off { background: #A7A3B8; }
.task.hb-flash { animation: hb-flash 0.9s steps(1) infinite; }
@keyframes hb-flash { 50% { background: #FFB347; color: var(--ink); } }

.hb { position: fixed; right: 16px; bottom: 64px; z-index: 70; width: 370px; max-width: calc(100vw - 16px); }
.hb[hidden] { display: none; }
.hb-win { display: flex; flex-direction: column; max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); border: 3px solid; border-color: var(--bevel-out); outline: 1px solid #8C8AB0; background: var(--hb-bg); box-shadow: 6px 7px 0 rgba(43,42,94,0.35); font: 400 14px/1.45 var(--body); color: var(--ink); }
.hb-win[hidden] { display: none; }
.hb-dragging .hb-win { box-shadow: 10px 12px 0 rgba(43,42,94,0.3); }
.hb-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 6px 6px 10px; background: linear-gradient(90deg, var(--hb-bar1), var(--hb-bar2)); color: var(--white); user-select: none; cursor: grab; }
.hb-bar-title { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; font-size: 13px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.hb-bar-btns { display: flex; gap: 3px; }

/* Sign on */
.hb-signon-art { display: grid; justify-items: center; gap: 2px; padding: 16px 12px 10px; background: linear-gradient(180deg, var(--hb-art), #ECE9F7); }
.hb-mascot { width: 110px; height: auto; animation: wx-bob 2.4s ease-in-out infinite; }
.hb-logo { display: grid; justify-items: center; color: var(--hb-accent); font: 800 30px/0.95 var(--display); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
.hb-logo span { color: var(--ink); font: 700 12px var(--body); font-style: normal; letter-spacing: 0.3em; text-transform: uppercase; }
.hb-signon-form { display: grid; gap: 10px; padding: 8px 18px 14px; }
.hb-signon-form label { display: grid; gap: 3px; font-size: 13px; font-weight: 700; color: var(--hb-accent); }
.hb-signon-form small { color: #8A89A6; font-weight: 400; }
.hb-signon-form input[type=text], .hb-signon-form input[type=email] { padding: 6px 8px; border: 2px solid; border-color: #8C8AB0 #FFFFFF #FFFFFF #8C8AB0; background: var(--white); font: 400 15px var(--body); color: var(--ink); }
.hb-signon-form input:focus { outline: 2px dotted var(--hb-accent); }
.hb-remember { display: flex !important; align-items: center; grid-auto-flow: column; justify-content: start; gap: 6px !important; font-weight: 400 !important; }
.hb-err { padding: 5px 8px; background: #FCE8F1; color: #A8305F; font-size: 12.5px; font-weight: 700; }
.hb-err[hidden] { display: none; }
.hb-signon-btn, .hb-send { justify-self: end; padding: 7px 22px; border: 3px solid; border-color: var(--bevel-out); background: var(--hb-btn); color: var(--ink); font: 700 14px var(--body); cursor: pointer; box-shadow: 1px 0 0 var(--ink), 0 1px 0 var(--ink), 1px 1px 0 var(--ink); }
.hb-signon-btn:active, .hb-send:active { border-color: var(--bevel-in); transform: translate(1px, 1px); }
.hb-version { padding: 6px 12px; border-top: 1px solid #C9C6DE; color: #6B6A92; font-size: 11.5px; text-align: center; }
.hb-on { color: #2FB673; } .hb-away { color: #E0A800; } .hb-off { color: #A7A3B8; }

/* IM window */
.hb-menu { display: flex; gap: 14px; padding: 3px 10px; border-bottom: 1px solid #C9C6DE; font-size: 12.5px; color: var(--ink); }
.hb-buddy { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 4px; }
.hb-buddy-name { display: flex; align-items: center; gap: 6px; padding: 2px 6px; border: 0; background: none; color: var(--hb-them); font: 700 15px var(--body); cursor: pointer; }
.hb-buddy-name small { color: #8A89A6; font-weight: 400; font-size: 12px; }
.hb-buddy-name:hover { background: var(--hb-hover); }
.hb-status { width: 10px; height: 10px; border-radius: 50%; }
.hb-status.is-on { background: #2FB673; box-shadow: 0 0 0 2px #CFF3DE; }
.hb-status.is-away { background: #F2C230; box-shadow: 0 0 0 2px #FFF0B8; }
.hb-status.is-off { background: #A7A3B8; box-shadow: 0 0 0 2px #E6E4EE; }
.hb-sound { padding: 0 4px; border: 0; background: none; font-size: 16px; cursor: pointer; }
.hb-profile { display: flex; gap: 10px; margin: 0 8px 6px; padding: 8px 10px; border: 2px solid; border-color: #8C8AB0 #FFFFFF #FFFFFF #8C8AB0; background: var(--hb-art); font-size: 12.5px; }
.hb-profile[hidden] { display: none; }
.hb-profile-pic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 2px solid #C9C6DE; background: var(--hb-accent); font-size: 24px; }
.hb-profile dl { display: grid; grid-template-columns: auto 1fr; gap: 1px 8px; margin: 0; }
.hb-profile dt { color: var(--hb-accent); font-weight: 700; }
.hb-profile dd { margin: 0; }
.hb-log { flex: 1; min-height: 170px; max-height: 280px; margin: 0 8px; padding: 8px 10px; overflow-y: auto; border: 2px solid; border-color: #8C8AB0 #FFFFFF #FFFFFF #8C8AB0; background: var(--hb-log); color: var(--hb-logtext); font: 400 14px/1.5 Arial, Helvetica, sans-serif; overscroll-behavior: contain; }
.hb-line { margin-bottom: 4px; word-wrap: break-word; }
.hb-who { font-weight: 700; }
.hb-theirs .hb-who { color: var(--hb-them); }
.hb-mine .hb-who { color: var(--hb-me); }
.hb-time { color: #8A89A6; font-size: 11.5px; }
.hb-auto { padding: 6px 8px; background: #FFF6C8; border-left: 3px solid #F2C230; }
.hb-auto-tag { display: block; color: #8A6D00; font-size: 12px; font-weight: 700; }
.hb-sys { margin: 6px 0; color: #6B6A92; font-size: 12.5px; font-style: italic; text-align: center; }
.hb-typing { display: flex; align-items: center; gap: 3px; margin: 3px 10px 0; color: #6B6A92; font-size: 12px; }
.hb-typing[hidden] { display: none; }
.hb-typing i { width: 5px; height: 5px; border-radius: 50%; background: #9C9ABB; animation: blink 1.2s infinite; }
.hb-typing i:nth-of-type(2) { animation-delay: .2s; } .hb-typing i:nth-of-type(3) { animation-delay: .4s; }
.hb-compose { position: relative; display: grid; gap: 4px; padding: 6px 8px 8px; }
.hb-tools { display: flex; gap: 2px; }
.hb-tool { display: grid; place-items: center; min-width: 26px; height: 24px; padding: 0 4px; border: 2px solid; border-color: var(--bevel-out); background: var(--hb-bg); color: var(--ink); font: 700 13px Arial, sans-serif; cursor: pointer; }
.hb-tool small { font-size: 8px; }
span.hb-tool { cursor: default; opacity: 0.6; }
.hb-i { font-style: italic; } .hb-u { text-decoration: underline; }
/* Hotbox color schemes (🎨 button in the chat window, or the link on the Sign On screen) */
.hb { --hb-bar1: #2A2D8F; --hb-bar2: #6D71CF; --hb-bg: #ECE9F7; --hb-accent: #2A2D8F; --hb-btn: #FFE14D; --hb-art: #FFFBE0; --hb-them: #D00000; --hb-me: #0000D0; --hb-log: #FFFFFF; --hb-logtext: #2B2A5E; --hb-hover: #DCD8EF; }
.hb[data-hb-theme="lunar"] { --hb-bar1: #5E3F7A; --hb-bar2: #5B5FC7; --hb-bg: #F1E6FA; --hb-accent: #5E3F7A; --hb-btn: #E1F66B; --hb-art: #FCF7FF; --hb-them: #D65B8C; --hb-me: #4A4EB5; --hb-hover: #E6D8F4; }
.hb[data-hb-theme="bubblegum"] { --hb-bar1: #C2407E; --hb-bar2: #F08DB8; --hb-bg: #FFE9F3; --hb-accent: #B0245E; --hb-btn: #FFB6D5; --hb-art: #FFF3F8; --hb-them: #C2185B; --hb-me: #7B3FA6; --hb-hover: #FFD3E6; }
.hb[data-hb-theme="emo"] { --hb-bar1: #111111; --hb-bar2: #3A3A3A; --hb-bg: #1E1E1E; --hb-accent: #9BE34A; --hb-btn: #9BE34A; --hb-art: #262626; --hb-them: #FF4F9A; --hb-me: #9BE34A; --hb-log: #111111; --hb-logtext: #E8E8E8; --hb-hover: #333333; }
.hb[data-hb-theme="emo"] .hb-win { color: #E8E8E8; }
.hb[data-hb-theme="emo"] .hb-menu, .hb[data-hb-theme="emo"] .hb-tool, .hb[data-hb-theme="emo"] .hb-signon-form label, .hb[data-hb-theme="emo"] .hb-logo span { color: #E8E8E8; }
.hb[data-hb-theme="emo"] .hb-signon-form input, .hb[data-hb-theme="emo"] .hb-compose textarea { background: #111; color: #E8E8E8; }
.hb[data-hb-theme="slime"] { --hb-bar1: #2E6B2A; --hb-bar2: #6FBF4A; --hb-bg: #EEF9DD; --hb-accent: #2E6B2A; --hb-btn: #E1F66B; --hb-art: #F7FCEC; --hb-them: #B3243B; --hb-me: #1F5FA8; --hb-hover: #DDF0C4; }
.hb[data-hb-theme="sunset"] { --hb-bar1: #D2553C; --hb-bar2: #F2A65A; --hb-bg: #FFF1E6; --hb-accent: #B04A2E; --hb-btn: #FFD166; --hb-art: #FFF8F0; --hb-them: #C0392B; --hb-me: #6A3FA0; --hb-hover: #FFE0CC; }
.hb-theme-btn { padding: 0 4px; border: 0; background: none; font-size: 16px; cursor: pointer; }
.hb-colors { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 8px 6px; padding: 8px; border: 2px solid; border-color: #8C8AB0 #FFFFFF #FFFFFF #8C8AB0; background: var(--hb-art); font-size: 12px; }
.hb-colors[hidden] { display: none; }
.hb-colors b { width: 100%; color: var(--hb-accent); }
.hb-colors button { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border: 1px solid #C9C6DE; background: var(--white); color: #2B2A5E; font: 400 11.5px var(--body); cursor: pointer; }
.hb-colors button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--hb-accent); }
.hb-colors i { display: inline-block; width: 18px; height: 12px; border: 1px solid rgba(0,0,0,0.2); background: linear-gradient(90deg, var(--a) 50%, var(--b) 50%); }
.hb-version .hb-colors-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.hb-smileys { position: absolute; left: 8px; bottom: calc(100% - 30px); z-index: 2; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; padding: 4px; border: 2px solid; border-color: var(--bevel-out); background: var(--white); box-shadow: 3px 3px 0 rgba(43,42,94,0.3); }
.hb-smileys[hidden] { display: none; }
.hb-smileys button { width: 32px; height: 32px; border: 0; background: none; font-size: 18px; cursor: pointer; }
.hb-smileys button:hover { background: #DCD8EF; }
.hb-compose textarea { width: 100%; padding: 6px 8px; border: 2px solid; border-color: #8C8AB0 #FFFFFF #FFFFFF #8C8AB0; background: var(--white); font: 400 15px Arial, Helvetica, sans-serif; color: #0000D0; resize: none; }
.hb-compose textarea:focus { outline: 2px dotted #2A2D8F; }
.hb-actions { display: flex; align-items: center; gap: 4px; }
.hb-small { padding: 4px 10px; border: 2px solid; border-color: var(--bevel-out); background: #ECE9F7; color: var(--ink); font: 400 12.5px var(--body); cursor: pointer; }
.hb-small:active { border-color: var(--bevel-in); }
.hb-send { margin-left: auto; }
.hb-foot { padding: 5px 10px; border-top: 1px solid #C9C6DE; color: #6B6A92; font-size: 11.5px; }
.hb-foot button { padding: 0; border: 0; background: none; color: #2A2D8F; font: inherit; text-decoration: underline; cursor: pointer; }

@media (max-width: 720px) {
    .hb { left: 8px; right: 8px; bottom: 60px; width: auto; }
    .hb-log { max-height: none; min-height: 140px; }
    .hb-bar { cursor: default; }
    html { touch-action: manipulation; }   /* (Nov 14 2026: no double-tap zoom on phones, which also slid the taskbar away. Pinch zoom still works) */
    .hb-compose textarea, .hb-signon-form input { font-size: 16px; }   /* (Nov 12 2026: under 16px, iPhones zoom the whole page in when you tap to type) */
    /* Typing on a phone (assets/js/hotbox.js sets html.hb-kb): Hotbox fills just the part of the screen above
       the keyboard (title bar on top, typing box right above the keys) and the taskbar steps aside, so nothing slides up */
    html.hb-kb .taskbar { visibility: hidden; }
    html.kb-open .taskbar, html.kb-open .buy-bar { visibility: hidden; }   /* (any typing on a phone: assets/js/site.js) */
    .taskbar, .buy-bar, .lhn-news { translate: 0 calc(-1 * var(--vvb, 0px)); }   /* (iPhones: kept on screen when Safari leaves the page bottom below the screen, assets/js/site.js) */
    html.hb-kb .hb { top: var(--hb-vtop, 0px); bottom: auto; left: 4px; right: 4px; height: var(--hb-vh, 60vh); }
    html.hb-kb .hb .hb-win:not([hidden]) { height: 100%; max-height: none; }
    html.hb-kb .hb-log { min-height: 0; }
    html.hb-kb .hb-profile, html.hb-kb .hb-awaybox { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hb-mascot, .task.hb-flash { animation: none; } }

/* =====================================================================
   CART (cart/index.php + assets/js/cart-page.js). Rocket progress bar
   to free shipping, items, and order summary.
   ===================================================================== */
.toast-link { color: var(--lime); font-weight: 700; }
.cart-head { display: grid; gap: 8px; }
.cart-title { font-size: clamp(52px, 13vw, 104px); font-weight: 800; line-height: 0.95; color: var(--white); text-shadow: 0 4px 0 rgba(43,42,94,0.35); font-variation-settings: "SOFT" 100, "WONK" 1; }
.cart-title span { color: var(--lime); font-style: italic; }
.cart-lede { color: var(--white); }

/* free_shipping.exe: a chunky LunarOS progress bar with a rocket sticker riding it */
.win-rocket .win-body { display: grid; gap: 10px; padding: 16px clamp(14px, 3vw, 24px) 12px; }
.rocket-msg { color: var(--plum); font-size: clamp(15px, 3vw, 17px); text-align: center; }
.rocket-msg b { color: var(--pink); }
.rocket-track { position: relative; height: 40px; padding: 4px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.rocket-fill { position: absolute; left: 4px; top: 4px; bottom: 4px; width: 0; background: repeating-linear-gradient(90deg, var(--lime) 0 16px, transparent 16px 20px); box-shadow: inset 0 -3px 0 rgba(122,150,20,0.35); transition: width 0.7s steps(12, end); }
.rocket-ship, .rocket-moon { position: absolute; top: 50%; z-index: 2; line-height: 1; filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(2px 3px 0 rgba(43,42,94,0.3)); }
.rocket-ship { left: 20px; font-size: 30px; transform: translate(-50%, -50%) rotate(45deg); transition: left 0.7s cubic-bezier(.3,1.4,.5,1); }
.rocket-moon { right: -6px; font-size: 34px; transform: translateY(-50%) rotate(-12deg); }
.win-rocket.is-idle .rocket-ship { animation: rk-wait 2.4s ease-in-out infinite; }
@keyframes rk-wait { 50% { transform: translate(-50%, -62%) rotate(45deg); } }
.win-rocket.is-landed .rocket-ship { transform: translate(-50%, -50%) rotate(-45deg); }
.win-rocket.is-landed .rocket-moon { animation: rk-moon 2s ease-in-out infinite; }
@keyframes rk-moon { 50% { transform: translateY(-50%) rotate(-12deg) scale(1.12); } }
.win-rocket.is-celebrate .rocket-track::after { content: "✦ ✨ ✦"; position: absolute; right: 36px; top: 50%; z-index: 3; color: var(--pink); font-size: 20px; letter-spacing: 3px; animation: burst 1.6s ease-out forwards; }
@keyframes burst { from { opacity: 1; transform: translateY(-50%) scale(0.6); } to { opacity: 0; transform: translateY(-130%) scale(1.3); } }
.rocket-scale { display: flex; justify-content: space-between; color: #A58BC0; font-size: 12.5px; }
.rocket-scale { position: relative; }
.rocket-scale #rocket-pct { position: absolute; left: 50%; top: 0; transform: translateX(-50%); }   /* (Nov 12 2026: the % sits in the middle of the window, not halfway between $0 and the long "$50 ✦ free US Standard") */
/* Phones (Nov 2 2026): the same window, trimmed so it isn't scrunched. One short line, a slimmer bar,
   just "$0" and "$50" under it (no %), and no status line at the bottom. */
@media (max-width: 600px) {
  .win-rocket .win-body { gap: 7px; padding: 12px 14px 12px; }
  .rocket-msg { font-size: 14px; line-height: 1.4; }
  .rocket-msg .rk-long, .rocket-scale .rk-long, #rocket-pct { display: none; }
  .rocket-track { height: 30px; padding: 3px; }
  .rocket-fill { left: 3px; top: 3px; bottom: 3px; }
  .rocket-ship { font-size: 22px; }
  .rocket-moon { font-size: 26px; right: -4px; }
  .rocket-scale { font-size: 11.5px; }
  .win-rocket .win-status { display: none; }
}
#rocket-pct { color: var(--plum); font-weight: 700; }

.cart-row { display: grid; gap: 30px; align-items: start; }
.cart-row > * { min-width: 0; }

/* Items */
.win-cart .win-body { padding: 8px 14px; }
.cart-items { margin: 0; padding: 0; list-style: none; }
.ci { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 2px dotted var(--lav-dark); }
@media (min-width: 720px) { .ci { grid-template-columns: 96px 1fr auto; } .ci .ci-photo { width: 96px; height: 96px; } }   /* (a bit bigger on computers) */
.ci:last-child { border-bottom: 0; }
.ci-photo { display: block; width: 76px; height: 76px; overflow: hidden; border-radius: 14px; background: var(--lav); box-shadow: 0 0 0 2px var(--lav-mid); }   /* rounded square: shows the whole case (the flower clipped its corners) */
.ci-photo img, .ci-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.ci-info { display: grid; gap: 3px; min-width: 0; }
.ci-name { color: var(--plum); font: 800 19px/1.15 var(--display); text-decoration: none; font-variation-settings: "SOFT" 100, "WONK" 1; }
.ci-name:hover { color: var(--pink); }
.ci-meta { color: #6E5488; font-size: 13.5px; }
.ci-opts { color: var(--ink); font-size: 13px; }
.ci-qty { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.ci-qty button[data-step] { width: 30px; height: 30px; border: 3px solid; border-color: var(--bevel-out); background: var(--lav); color: var(--plum); font: 700 16px var(--body); cursor: pointer; }
.ci-qty button[data-step]:disabled { opacity: 0.4; cursor: not-allowed; }
.ci-qty > span { min-width: 22px; color: var(--plum); font-weight: 700; text-align: center; }
.ci-remove { margin-left: 8px; padding: 0; border: 0; background: none; color: #A58BC0; font: 400 13px var(--body); text-decoration: underline; cursor: pointer; }
.ci-remove:hover { color: var(--pink); }
.ci-total { color: var(--plum); font-weight: 700; font-size: 15px; }
.cart-empty { display: grid; justify-items: center; gap: 10px; padding: 30px 10px; text-align: center; }
.cart-empty[hidden] { display: none; }
.cart-empty-art { font-size: 64px; line-height: 1; animation: wx-bob 3s ease-in-out infinite; }
.cart-empty h2 { color: var(--plum); font-size: 28px; font-variation-settings: "SOFT" 100, "WONK" 1; }
.cart-empty p { color: #6E5488; }

/* Summary */
.win-summary .win-body { display: grid; gap: 14px; }
.sum-field { display: grid; gap: 6px; color: var(--plum); font-size: 14px; font-weight: 700; }
.sum-field select { width: 100%; padding: 10px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); color: var(--plum); font: 400 15px var(--body); }
.sum-warn { padding: 10px 12px; border: 2px solid #F2C230; background: #FFF6C8; color: #6B5A12; font-size: 13.5px; }
.sum-warn[hidden] { display: none; }
.sum-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.sum-check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--plum); }
.sum-check span { display: grid; gap: 2px; color: var(--plum); font-size: 14px; }
.sum-check small { color: #7A6696; font-size: 12.5px; }
/* (Nov 29 2026) Gift card preview in the cart: a small copy of the floppy disk card (admin/orders/gift-card.php) */
.gp { margin: -8px 0 4px; display: grid; justify-items: center; gap: 6px; }
.gp[hidden] { display: none; }
.gp small { font-size: 12px; color: #7A6696; text-align: center; }
.gp-disk { position: relative; width: 170px; height: 170px; background: #8E7CF0; border-radius: 5px; clip-path: polygon(0 0, 91.5% 0, 100% 8.5%, 100% 100%, 0 100%); }
.gp-sh { position: absolute; left: 38px; top: 0; width: 85px; height: 52px; background: #D9DBE8; border-radius: 0 0 3px 3px; }
.gp-sh::after { content: ""; position: absolute; right: 11px; top: 6px; width: 17px; height: 38px; background: #2B2A5E; border-radius: 2px; }
.gp-st { position: absolute; left: 8px; top: 10px; padding: 1px 5px; background: #E1F66B; border: 1px solid #2B2A5E; border-radius: 99px; font: 700 6px "Courier Prime", "Courier New", monospace; color: #2B2A5E; transform: rotate(-8deg); }
.gp-lb { position: absolute; left: 15px; right: 15px; bottom: 0; height: 97px; background: #FCF7FF; border-radius: 4px 4px 0 0; padding: 6px 7px 4px; display: flex; flex-direction: column; color: #2B2A5E; }
.gp-f { display: flex; justify-content: space-between; font: 700 5.5px "Courier Prime", "Courier New", monospace; letter-spacing: .5px; } .gp-f b { color: #D65B8C; }
.gp-s { flex: none; height: 3px; margin: 3px 0; background: linear-gradient(90deg, #D65B8C 0 33.3%, #E1F66B 33.3% 66.6%, #6E79D6 66.6%); }
.gp-m { flex: 1; min-height: 0; overflow: hidden; font: italic 700 11px/15px Fraunces, Georgia, serif; white-space: pre-line; overflow-wrap: anywhere; background: linear-gradient(180deg, transparent 0 calc(100% - 1px), #E2D5F3 calc(100% - 1px) 100%) 0 0 / 100% 15px repeat-y; }
.gp-ft { flex: none; display: flex; justify-content: space-between; font: 5px "Courier Prime", "Courier New", monospace; letter-spacing: .5px; color: #6E5488; }
.sum-note[hidden] { display: none; }
.sum-note textarea { display: block; width: 100%; padding: 10px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); color: var(--ink); font: 400 15px var(--body); resize: vertical; }
.sum-code { display: flex; gap: 8px; }
.sum-code input { flex: 1; min-width: 0; padding: 9px 10px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); color: var(--plum); font: 400 15px var(--body); text-transform: uppercase; }
.sum-code .btn { padding: 8px 14px; font-size: 13px; }
.sum-code-msg { padding: 8px 10px; background: var(--lav); color: var(--plum); font-size: 13.5px; }
.sum-code-msg[hidden] { display: none; }
.sum-totals { display: grid; gap: 6px; margin: 0; padding-top: 12px; border-top: 2px dashed var(--lav-dark); }
.sum-totals div { display: flex; justify-content: space-between; color: var(--ink); font-size: 15px; }
.sum-totals dd { margin: 0; font-weight: 700; }
.sum-muted { color: #A58BC0; font-weight: 400 !important; }
.sum-free { color: #2E7D1F; }
.sum-total { margin-top: 4px; padding-top: 8px; border-top: 2px solid var(--lav-dark); }
.sum-total dt, .sum-total dd { color: var(--plum); font: 800 24px var(--display) !important; }
.sum-go { width: 100%; }
.sum-go.is-off { opacity: 0.5; cursor: not-allowed; }
.sum-small { color: #A58BC0; font-size: 12.5px; text-align: center; }

@media (min-width: 900px) {
    .cart-row { grid-template-columns: 1.4fr 1fr; }
    .win-summary { position: sticky; top: 90px; }
}
@media (prefers-reduced-motion: reduce) { .rocket-fill, .rocket-ship, .rocket-moon { animation: none !important; transition: none; } }

/* =====================================================================
   CHECKOUT (checkout/index.php + assets/js/checkout.js). DEMO for now.
   A LunarOS install wizard + order summary.
   ===================================================================== */
.demo-bar { justify-self: center; padding: 8px 16px; border: 2px dashed var(--lime); background: rgba(43,42,94,0.4); color: var(--white); font-size: 14px; text-align: center; }
.co-row { display: grid; gap: 30px; align-items: start; }
.co-row > * { min-width: 0; }
.win-wizard .win-body { padding: 0; }
.wiz { display: grid; }
.wiz-side { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: linear-gradient(135deg, var(--peri), var(--plum)); color: var(--white); }
.wiz-moon { font-size: 36px; line-height: 1; filter: drop-shadow(0 0 10px rgba(255,230,120,0.6)); }
.wiz-brand { font: 800 20px/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.wiz-brand small { color: var(--lime); font: 700 11px var(--body); letter-spacing: 0.12em; text-transform: uppercase; }
.wiz-steps { display: none; margin: 0; padding: 0; list-style: none; counter-reset: wz; }
.wiz-steps li { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: #C9C6F2; font-size: 14px; font-weight: 700; counter-increment: wz; }
.wiz-steps li::before { content: counter(wz); display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid currentColor; font-size: 13px; }
.wiz-steps li.on { color: var(--lime); }
.wiz-steps li.on::before { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.wiz-steps li.done { color: var(--white); }
.wiz-steps li.done::before { content: "✓"; background: rgba(255,255,255,0.2); }
.wiz-main, .wiz-done { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); }
.wiz-main[hidden], .wiz-done[hidden] { display: none; }
.wiz-progress { color: #A58BC0; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.wiz-step { display: grid; gap: 14px; margin: 0; padding: 0; border: 0; min-width: 0; }
.wiz-step[hidden] { display: none; }
.wiz-step legend { margin-bottom: 12px; padding: 0; color: var(--plum); font: 800 clamp(26px, 5vw, 34px)/1.05 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-f { display: grid; gap: 4px; min-width: 0; color: var(--plum); font-size: 13.5px; font-weight: 700; }
.co-f[hidden] { display: none; }
.co-full { grid-column: 1 / -1; }
.co-f small { color: #A58BC0; font-weight: 400; }
.co-f input, .co-f select { width: 100%; padding: 10px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); color: var(--ink); font: 400 16px var(--body); }
.co-f input:focus, .co-f select:focus { outline: 2px dashed var(--peri); outline-offset: 1px; }
.co-f input[readonly] { background: #F4F0FA; color: #7A6696; }
.co-bad input, .co-bad select { border-color: var(--pink) !important; background: #FFF6FA; }
.co-bad.co-check span { color: #A8305F; }
.co-check { display: flex; gap: 10px; align-items: flex-start; color: var(--plum); font-size: 14.5px; cursor: pointer; }
.co-check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--plum); }
.co-check small { color: #A58BC0; }
.co-err[hidden] { display: none; }
/* Card didn't go through (Nov 11 2026): bold headline, then what to do, then "Your card wasn't charged." on its own line (includes/checkout.php, lh_pay_decline_message) */
.co-err { white-space: pre-line; padding: 10px 12px 10px 14px; border-left: 4px solid #D4588A; font-weight: 400; font-size: 13.5px; line-height: 1.5; color: #7A2348; }
.co-err::first-line { font-weight: 700; font-size: 14.5px; color: #A8305F; }
.co-ships { display: grid; gap: 8px; }
.co-ship { display: flex; align-items: center; gap: 12px; padding: 14px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); cursor: pointer; }
.co-ship:has(input:checked) { border-color: var(--bevel-in); background: #F6FBD9; box-shadow: inset 0 0 0 2px var(--lime); }
.co-ship input { accent-color: var(--plum); width: 18px; height: 18px; }
.co-ship-name { display: grid; flex: 1; color: var(--plum); font-weight: 700; }
.co-ship-name small { color: #A58BC0; font-weight: 400; }
.co-ship-price { color: var(--plum); font-weight: 700; }
.co-note { color: #6E5488; font-size: 13.5px; }
.co-note a { color: var(--peri-deep); font-weight: 700; }
.co-card { display: grid; gap: 12px; padding: 14px; border: 3px solid; border-color: var(--bevel-out); background: #FBF6FE; }
.co-card-top { display: flex; justify-content: space-between; color: var(--plum); font-weight: 700; }
.co-secure { color: #2E7D1F; font-size: 12.5px; }
.co-demo-lock { padding: 8px 10px; background: #FFF6C8; color: #6B5A12; font-size: 12.5px; }
.co-review { display: grid; gap: 0; margin: 0; }
.co-review div { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 2px dotted var(--lav-dark); font-size: 14.5px; }
.co-review dt { color: #A58BC0; font-weight: 700; }
.co-review dd { margin: 0; color: var(--ink); }
.co-review button, .co-review a { padding: 0; border: 0; background: none; color: var(--peri-deep); font: 700 13px var(--body); text-decoration: underline; cursor: pointer; }
.wiz-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.wiz-btns .btn-lime { margin-left: auto; }
/* Checkout steps: Back on the left, Next / Place order on the right, "Back to cart" underneath */
.wiz-main .wiz-btns { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.wiz-main .wiz-btns #co-back { grid-column: 1; grid-row: 1; }
.wiz-main .wiz-btns #co-next { grid-column: 3; grid-row: 1; margin-left: 0; white-space: nowrap; }
.wiz-main .wiz-btns .co-cancel { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
@media (max-width: 520px) {   /* small phones: Next / Place order full width on top, then Back, then Back to cart */
    .wiz-main .wiz-btns { grid-template-columns: 1fr; }
    .wiz-main .wiz-btns #co-next { grid-column: 1; grid-row: 1; width: 100%; }
    .wiz-main .wiz-btns #co-back { grid-column: 1; grid-row: 2; justify-self: start; }
    .wiz-main .wiz-btns .co-cancel { grid-column: 1; grid-row: 3; }
}
.co-cancel { color: #A58BC0; font-size: 13.5px; }
.wiz-done { justify-items: start; }
.wiz-done .wiz-btns { width: 100%; justify-content: flex-start; }   /* order confirmed: the two buttons sit side by side, same size */
.wiz-done .wiz-btns { align-items: stretch; }
.wiz-done .wiz-btns .btn { flex: 1 1 0; min-width: 0; margin-left: 0; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; text-align: center; }
@media (max-width: 520px) { .wiz-done .wiz-btns { flex-direction: column; } .wiz-done .wiz-btns .btn { flex: none; width: 100%; } }
.wiz-done-art { font-size: 54px; line-height: 1; animation: wx-bob 2.6s ease-in-out infinite; }
.wiz-done h2 { color: var(--plum); font-size: clamp(36px, 7vw, 52px); font-variation-settings: "SOFT" 100, "WONK" 1; }
.wiz-order { color: var(--ink); }
.wiz-order b { color: var(--pink); font-size: 20px; }
.co-next-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--ink); }

/* Summary */
.win-cosum .win-body { display: grid; gap: 12px; }
.co-demo-item { padding: 8px 10px; background: #FFF6C8; color: #6B5A12; font-size: 12.5px; }
.co-demo-item[hidden], .co-gift[hidden] { display: none; }
.co-items { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.co-items li { display: flex; align-items: center; gap: 12px; }
.co-thumb { position: relative; flex: none; width: 58px; height: 58px; background: var(--lav); border: 2px solid var(--lav-dark); }
.co-thumb img { width: 100%; height: 100%; object-fit: cover; }
.co-thumb, .co-thumb img { border-radius: 10px; }   /* (matches the rounded cart photos) */
.co-thumb b { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--plum); color: var(--white); font-size: 12px; line-height: 22px; text-align: center; }
.co-iname { display: grid; flex: 1; min-width: 0; color: var(--plum); font: 800 17px/1.2 var(--display); }
.co-iname small { color: #6E5488; font: 400 12.5px var(--body); }
.co-iprice { color: var(--plum); font-weight: 700; }
.co-gift { padding: 8px 10px; background: var(--lav); color: var(--plum); font-size: 13px; }
.win-cosum .sum-small a { color: var(--peri-deep); font-weight: 700; }

@media (min-width: 900px) {
    .co-row { grid-template-columns: 1.5fr 1fr; }
    .wiz { grid-template-columns: 190px 1fr; }
    .wiz-side { flex-direction: column; align-items: flex-start; padding: 22px 18px; }
    .wiz-steps { display: block; margin-top: 14px; }
    .win-cosum { position: sticky; top: 90px; }
}
@media (max-width: 520px) { .co-grid { grid-template-columns: 1fr; } .co-review div { grid-template-columns: 1fr auto; } .co-review dt { grid-column: 1 / -1; } }

/* Cart sample kit + "we accept" card badges */
.cart-sample { margin: 6px 0 4px; padding: 8px 10px; background: #FFF6C8; color: #6B5A12; font-size: 13px; }
.cart-sample[hidden] { display: none; }
.cart-sample a { color: var(--peri-deep); font-weight: 700; }
.ci.is-sample { opacity: 0.92; }
.cards { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.cards-lock { width: 100%; color: #2E7D1F; font-size: 13px; font-weight: 700; text-align: center; }
.card-badge { padding: 3px 8px; border: 2px solid var(--lav-dark); border-radius: 4px; background: var(--white); color: var(--plum); font: 700 11.5px var(--body); letter-spacing: 0.04em; }
.card-badge.card-mark { padding: 0; border: 0; background: none; line-height: 0; }   /* (the real card marks, includes/shop-config.php) */
.card-badge.card-mark svg { display: block; width: 40px; height: auto; border-radius: 3px; box-shadow: 0 1px 2px rgba(43,42,94,.15); }
.card-visa { color: #1A1F71; } .card-mastercard { color: #C2410C; } .card-amex { color: #0E6BA8; } .card-discover { color: #D9661E; }

/* Product cards: the name and tagline are one block that sits right under the rating,
   however many lines it takes. The buttons line up along the bottom of each row, and any
   extra space goes between the words and the button (never between the name and tagline). */
.pcard-name, .pcard-tagline { text-wrap: balance; }
.pcard-text { display: grid; justify-items: center; gap: 8px; margin-bottom: 20px; }
.pcard-text .pcard-tagline { margin: 0; }
.pcard-text .pcard-name { margin-top: 8px; }
@supports (grid-template-rows: subgrid) {
    .pcard { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; justify-items: center; align-items: start; }
    .pcard > .pcard-media { align-self: end; }
    .pcard > .pcard-btn { align-self: end; }
}

/* One line each for card names and taglines (assets/js/fit-text.js shrinks them to fit) */
.pcard-text { width: 100%; min-width: 0; }
.pcard-name.fit-one, .pcard-tagline.fit-one { max-width: 100%; white-space: nowrap; }
.pcard-name.fit-wrap, .pcard-tagline.fit-wrap { white-space: normal; }
.pcard-name a { white-space: inherit; }

/* =====================================================================
   SPECIAL BADGES (includes/badges.php): round stickers, the words wrap
   around the edge, a little icon sits in a center circle. Flat colors like
   the price seal and burst so they all look like one sticker set.
   ===================================================================== */
.xbadge { position: absolute; z-index: 2; width: 27%; aspect-ratio: 1; pointer-events: none; filter: drop-shadow(2px 3px 0 rgba(43,42,94,0.25)); }
.xbadge svg { display: block; width: 100%; height: 100%; overflow: visible; }
.xbadge-1 { right: 0; top: 2%; transform: rotate(-14deg); }
.xbadge-2 { right: -2%; top: 31%; transform: rotate(10deg); }
.xb-words { font: 700 13.5px var(--body); }
.xb-mid { font-size: 24px; }
.xbadge-glow .xb-bg { fill: var(--plum); }
.xbadge-glow .xb-words { fill: var(--lime); }
.xbadge-glow .xb-dot { fill: #1E1D2B; }
.xbadge-budtender .xb-bg { fill: var(--lime); }
.xbadge-budtender .xb-words { fill: var(--plum); }
.xbadge-budtender .xb-dot { fill: var(--white); }
.xbadge-sniff .xb-bg { fill: var(--peri-deep); }
.xbadge-sniff .xb-words { fill: var(--white); }
.xbadge-sniff .xb-dot { fill: var(--lime); }
.xbadge-peri .xb-bg { fill: var(--peri); } .xbadge-pink .xb-bg { fill: var(--pink); } .xbadge-lime .xb-bg { fill: var(--lime); }
.xbadge-peri .xb-words, .xbadge-pink .xb-words { fill: var(--white); } .xbadge-lime .xb-words { fill: var(--ink); }
.xbadge-peri .xb-dot, .xbadge-pink .xb-dot, .xbadge-lime .xb-dot { fill: var(--white); }
.viewer-stage .xbadge { width: 22%; }
.viewer-stage .xbadge-1 { right: 3%; top: 3%; }
.viewer-stage .xbadge-2 { right: 3%; top: 27%; }
@media (max-width: 720px) { .xbadge { width: 31%; } }

/* Coming soon: starburst in the same family, plus a softer card */
.burst-soon { background: #1E1D2B; color: var(--lime); }
.pcard.is-soon .flower { filter: saturate(0.6) brightness(1.03); }
.pcard.is-soon .pcard-btn { background: #1E1D2B; color: var(--lime); border-color: #5A5870 #0E0D16 #0E0D16 #5A5870; }
.viewer-burst { right: 3%; bottom: 4%; width: 24%; }

/* =====================================================================
   COUNTDOWNS (next batch + coming-soon release dates)
   ===================================================================== */
.countdown { display: grid; justify-items: center; gap: 8px; text-align: center; }
.cd-label { color: var(--plum); font-size: 14px; font-weight: 700; }
.cd-boxes { display: flex; gap: 8px; }
.cd-boxes span { display: grid; justify-items: center; gap: 2px; min-width: 58px; padding: 8px 6px 6px; border: 3px solid; border-color: #0E0D16 #5A5870 #5A5870 #0E0D16; background: #1E1D2B; }
.cd-boxes b { color: var(--lime); font: 700 28px/1 var(--body); font-variant-numeric: tabular-nums; text-shadow: 0 0 8px rgba(225,246,107,0.45); }
.cd-boxes small { color: #9C98C8; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.cd-when { color: #7A6696; font-size: 13px; }
.cd-done { color: var(--plum); font-weight: 700; }
.cd-done[hidden] { display: none; }
.cd-done a { color: var(--peri-deep); }
.countdown.is-done .cd-boxes { opacity: 0.4; }
.sold-box .countdown { margin-bottom: 10px; }

/* next_batch.exe */
.win-batch { width: 100%; }
.batch { display: grid; gap: 22px; align-items: center; }
.batch-title { color: var(--plum); font-size: clamp(28px, 5vw, 42px); line-height: 1.05; font-variation-settings: "SOFT" 100, "WONK" 1; }
.batch-title span { color: var(--pink); font-style: italic; }
.batch-text { margin: 10px 0 14px; color: #6E5488; }
.batch-notify { display: flex; flex-wrap: wrap; gap: 8px; }
.batch-notify input { flex: 1 1 200px; padding: 11px 12px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); color: var(--plum); font: 400 16px var(--body); }
.batch-ok { color: var(--plum); font-weight: 700; }
.batch-small { margin-top: 10px; color: #A58BC0; font-size: 13.5px; }
.batch-small a { color: var(--peri-deep); font-weight: 700; }
@media (min-width: 900px) { .batch { grid-template-columns: 1.1fr 0.9fr; } .cd-boxes span { min-width: 70px; } .cd-boxes b { font-size: 34px; } }
/* The date on a coming-soon sticker sizes itself to the photo, so it fits on the
   homepage, the narrower Stash cards, phones and the product page alike. */
.pcard-photo, .viewer-stage { container-type: inline-size; }
.burst-date { font: 800 13px/1 var(--body); font-size: 5.6cqw; letter-spacing: 0; }

/* Emoji with a drop shadow need a little breathing room, or some browsers
   (Safari especially) shave off the top of the emoji. */
.stk-emoji, .spot-wx, .ws-float, .rocket-ship, .rocket-moon { line-height: 1.25; padding: 0.06em 0.04em; }

/* Mail and Cart buttons: exactly the same height */
.mymail-btn, .cart-link { box-sizing: border-box; height: 40px; padding-top: 0; padding-bottom: 0; line-height: 1; }
.mymail-btn > span:first-child { font-size: 18px; line-height: 1; }

/* =====================================================================
   TRACK MY ORDER (track/index.php)
   ===================================================================== */
.track-head { display: grid; gap: 8px; }
.track-title { font-size: clamp(48px, 12vw, 96px); font-weight: 800; line-height: 0.95; color: var(--white); text-shadow: 0 4px 0 rgba(43,42,94,0.35); font-variation-settings: "SOFT" 100, "WONK" 1; }
.track-title span { color: var(--lime); font-style: italic; }
.track-lede { max-width: 48ch; color: var(--white); }
.track-row { display: grid; gap: 30px; align-items: start; }
.track-row > * { min-width: 0; }
.lookup { display: grid; gap: 14px; }
.lookup .btn { justify-self: start; }
.lookup-help { color: #7A6696; font-size: 13.5px; }
.lookup-err { margin: 0; }
.track-art { display: grid; place-items: center; min-height: 260px; }
.track-ufo { font-size: 90px; line-height: 1.2; animation: wx-bob 2.6s ease-in-out infinite; filter: drop-shadow(0 12px 0 rgba(43,42,94,0.25)); }
.track-box { margin-top: -10px; font-size: 54px; line-height: 1.2; animation: wx-bob 2.6s ease-in-out infinite reverse; }
.win-status-order .win-body { display: grid; gap: 18px; }
.track-num { color: var(--plum); font-size: 15px; }
.track-num b { color: var(--pink); font-size: 20px; }
.track-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 0; padding: 0; list-style: none; }
.track-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 25px; height: 8px; border: 2px solid; border-color: var(--bevel-in); background: var(--white); }
.track-steps::after { content: ""; position: absolute; left: 12.5%; top: 27px; height: 8px; width: calc(75% * var(--done) / 3); background: repeating-linear-gradient(90deg, var(--lime) 0 10px, transparent 10px 13px); }
.ts { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; text-align: center; }
.ts-icon { display: grid; place-items: center; width: 58px; height: 58px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); font-size: 26px; line-height: 1.2; }
.ts-done .ts-icon { background: var(--lime); }
.ts-now .ts-icon { background: var(--lime); box-shadow: 0 0 0 4px var(--pink); animation: wx-bob 2.2s ease-in-out infinite; }
.ts-todo .ts-icon { filter: grayscale(1); opacity: 0.45; }
.ts-label { color: var(--plum); font-size: 13.5px; font-weight: 700; }
.ts-todo .ts-label { color: #A58BC0; }
.ts-date { color: #7A6696; font-size: 11.5px; }
.track-msg { padding: 12px 14px; border: 2px dashed var(--lav-dark); background: var(--lav); color: var(--plum); }
.track-ship { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink); font-size: 14px; }
.track-ship b { word-break: break-all; }
.track-h2 { margin-bottom: 10px; color: var(--plum); font-size: 24px; font-variation-settings: "SOFT" 100, "WONK" 1; }
.track-items { display: grid; gap: 12px; }
.track-city { color: #7A6696; font-size: 13.5px; }
.track-help { color: #7A6696; font-size: 13.5px; }
.track-help a { color: var(--peri-deep); font-weight: 700; }
@media (min-width: 900px) { .track-row { grid-template-columns: 0.8fr 1.2fr; } }
@media (max-width: 520px) { .ts-icon { width: 46px; height: 46px; font-size: 21px; } .track-steps::before, .track-steps::after { top: 19px; } .ts-date { font-size: 10px; } }

/* =====================================================================
   REPORT A PROBLEM (report/index.php)
   ===================================================================== */
.report-head { display: grid; gap: 8px; }
.report-title { font-size: clamp(46px, 11vw, 92px); font-weight: 800; line-height: 0.95; color: var(--white); text-shadow: 0 4px 0 rgba(43,42,94,0.35); font-variation-settings: "SOFT" 100, "WONK" 1; }
.report-title span { color: var(--lime); font-style: italic; }
.report-lede { max-width: 52ch; color: var(--white); }
.report-row { display: grid; gap: 30px; align-items: start; }
.report-row > * { min-width: 0; }
.win-report .win-body { display: grid; gap: 16px; }
.report-alert { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border: 3px solid; border-color: var(--bevel-in); background: #FFF6FA; color: var(--plum); }
.report-alert-icon { font-size: 40px; line-height: 1.2; }
.report-form { display: grid; gap: 18px; }
.report-change { margin-left: 6px; color: var(--peri-deep); font-size: 13px; }
.report-set { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.report-set legend { margin-bottom: 8px; padding: 0; color: var(--plum); font: 800 22px var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.report-set legend small { color: #A58BC0; font: 400 13px var(--body); }
.report-issues { display: grid; gap: 8px; }
.report-issue { position: relative; cursor: pointer; }
.report-issue input { position: absolute; opacity: 0; }
.report-issue > span { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); color: var(--plum); font-weight: 700; font-size: 14.5px; }
.ri-icon { font-size: 22px; line-height: 1.2; }
.report-issue input:checked + span { border-color: var(--bevel-in); background: #F6FBD9; box-shadow: inset 0 0 0 2px var(--lime); }
.report-issue input:focus-visible + span { outline: 2px dashed var(--pink); outline-offset: 2px; }
.has-err .report-issue > span { border-color: var(--pink); }
.report-items { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-check input[type=radio] + span::before { border-radius: 50%; }
.report-text { width: 100%; padding: 10px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); color: var(--ink); font: 400 16px/1.5 var(--body); resize: vertical; }
.report-photos { display: grid; gap: 8px; }
.report-photos-title { color: var(--plum); font-weight: 700; font-size: 14.5px; }
.report-photos-title small { color: #A58BC0; font-weight: 400; }
.report-drop { position: relative; display: grid; place-items: center; padding: 18px; border: 3px dashed var(--lav-dark); background: #FBF6FE; color: var(--peri-deep); font-weight: 700; cursor: pointer; }
.report-drop:hover { background: var(--lav); }
.report-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.report-previews { display: flex; gap: 8px; }
.report-previews img { width: 76px; height: 76px; object-fit: cover; border: 3px solid var(--white); outline: 1px solid var(--lav-dark); transform: rotate(-2deg); }
.report-previews img:nth-child(2) { transform: rotate(2deg); }
.report-done { display: grid; justify-items: start; gap: 10px; }
.report-done-art { font-size: 52px; line-height: 1.2; animation: wx-bob 2.6s ease-in-out infinite; }
.report-policy { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--ink); font-size: 14px; }
.report-policy a { color: var(--peri-deep); font-weight: 700; }
@media (min-width: 900px) { .report-row { grid-template-columns: 1.4fr 0.8fr; } .report-issues { grid-template-columns: 1fr 1fr; } .report-side { position: sticky; top: 90px; } }

/* =====================================================================
   THE SMOKE TEST (smoketest/index.php + assets/js/quiz.js)
   ===================================================================== */
.win-quiz { width: min(100%, 980px); justify-self: center; }
.win-quiz .win-body { padding: clamp(20px, 4vw, 40px); }
.qz-start { display: grid; justify-items: center; gap: 14px; padding: 20px 0; text-align: center; }
.qz-orb { font-size: 84px; line-height: 1.2; animation: wx-glow 3s ease-in-out infinite; }
.qz-title { color: var(--plum); font-size: clamp(50px, 11vw, 96px); font-weight: 800; line-height: 0.95; font-variation-settings: "SOFT" 100, "WONK" 1; }
.qz-title span { color: var(--pink); font-style: italic; }
.qz-lede { max-width: 40ch; color: #6E5488; font-size: 16.5px; }
.qz-small { color: #A58BC0; font-size: 13px; }
.qz-run { display: grid; gap: 20px; }
.qz-top { display: grid; gap: 8px; }
.qz-count { color: #A58BC0; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.qz-bar { height: 22px; padding: 3px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.qz-bar span { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--lime) 0 14px, transparent 14px 18px); transition: width 0.3s steps(6, end); }
.qz-q { margin: 0; padding: 0; border: 0; min-width: 0; }
.qz-q[hidden] { display: none; }
.qz-question { margin-bottom: 18px; padding: 0; color: var(--plum); font: 800 clamp(28px, 6vw, 44px)/1.05 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.qz-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qz-a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); color: var(--plum); font: 700 14.5px/1.25 var(--body); text-align: left; cursor: pointer; transition: transform 0.12s, background 0.12s; }
.qz-a:hover { background: var(--lav); transform: translateY(-2px); }
.qz-a:focus-visible { outline: 3px dashed var(--pink); outline-offset: 2px; }
.qz-a.is-picked { border-color: var(--bevel-in); background: var(--lime); transform: translate(1px, 1px); }
.qz-emoji { flex: none; font-size: 28px; line-height: 1.2; }
.qz-back { justify-self: start; padding: 0; border: 0; background: none; color: #A58BC0; font: 700 13.5px var(--body); text-decoration: underline; cursor: pointer; }
.qz-think { display: grid; justify-items: center; gap: 14px; padding: 40px 0; text-align: center; }
.qz-think-bar { width: min(100%, 420px); }
.qz-think-bar .rocket-fill { transition: width 0.35s steps(4, end); }
.qz-result { display: grid; gap: 18px; }
.qz-vibe { color: var(--plum); font-size: clamp(20px, 4vw, 26px); text-align: center; }
.qz-vibe b { color: var(--pink); font-family: var(--display); font-size: 1.3em; }
.qz-vibe-line { color: #6E5488; text-align: center; font-style: italic; }
.qz-match { display: grid; gap: 22px; align-items: center; padding: 18px; border: 3px solid; border-color: var(--bevel-in); background: #FFFDF0; }
.qz-photo { display: block; justify-self: center; width: min(80%, 300px); aspect-ratio: 1; overflow: hidden; clip-path: var(--flower); background: var(--lav); }
.qz-photo img, .qz-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.qz-info { display: grid; gap: 6px; }
.qz-kicker { color: var(--pink); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.qz-name { color: var(--plum); font-size: clamp(34px, 6vw, 50px); line-height: 1; font-variation-settings: "SOFT" 100, "WONK" 1; }
.qz-tag { color: var(--peri-deep); font-style: italic; }
.qz-meta { color: #6E5488; font-size: 14px; }
.qz-why { color: var(--ink); font-size: 14.5px; }
.qz-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.qz-more { display: grid; gap: 10px; }
.qz-more[hidden] { display: none; }
.qz-more-title { color: var(--plum); font-weight: 700; }
.qz-more-list { display: grid; gap: 10px; }
.qz-mini { display: grid; gap: 2px; padding: 12px 14px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); color: var(--plum); text-decoration: none; }
.qz-mini:hover { background: var(--lav); }
.qz-mini b { font: 800 19px var(--display); }
.qz-mini span { color: #6E5488; font-size: 13px; }
@media (min-width: 720px) { .qz-answers { grid-template-columns: repeat(3, 1fr); } .qz-more-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .qz-match { grid-template-columns: 0.9fr 1.1fr; } }
@media (max-width: 400px) { .qz-a { font-size: 13px; padding: 10px; gap: 8px; } .qz-emoji { font-size: 24px; } }

/* =====================================================================
   404 PAGE (404.php)
   ===================================================================== */
.lost-wrap { display: grid; justify-items: center; gap: 22px; padding-top: 10px; }
.lost-ufo { font-size: 80px; line-height: 1.2; animation: wx-bob 2.6s ease-in-out infinite; filter: drop-shadow(0 14px 0 rgba(43,42,94,0.25)); }
.win-404 { width: min(100%, 560px); }
.lost-body { display: flex; gap: 18px; align-items: flex-start; }
.lost-icon { flex: none; font-size: 42px; line-height: 1.2; }
.lost-title { color: var(--plum); font-size: clamp(64px, 14vw, 110px); font-weight: 800; line-height: 0.9; font-variation-settings: "SOFT" 100, "WONK" 1; }
.lost-path { margin-top: 8px; color: var(--ink); font-size: 14px; word-break: break-all; }
.lost-text { margin-top: 8px; color: #6E5488; }
.lost-msg { min-height: 1.4em; margin-top: 10px; color: var(--pink); font-weight: 700; }
.lost-msg a { color: var(--peri-deep); }
.lost-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.lost-btns .btn { min-width: 100px; padding: 9px 16px; font-size: 13px; }
.lost-shake { animation: lost-shake 0.4s; }
@keyframes lost-shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.lost-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lost-links a { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 3px solid; border-color: var(--bevel-out); background: var(--paper); color: var(--plum); font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 3px 3px 0 rgba(43,42,94,0.25); }
.lost-links a:hover { background: var(--lime); }

/* =====================================================================
   WISHLIST (the ♡ buttons, My Mail line and wishlist/index.php)
   ===================================================================== */
@keyframes wish-pop { 50% { transform: scale(1.3); } }
.wish-line { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 0; border: 0; background: none; color: var(--pink); font: 700 14px var(--body); cursor: pointer; }
.wish-line .wish-heart { font-size: 20px; line-height: 1.2; }
.wish-line:hover .wish-word { text-decoration: underline; }
.wish-line.is-on .wish-heart { animation: wish-pop 0.35s; }
.wish-head { display: grid; gap: 8px; }
.wish-title { font-size: clamp(48px, 12vw, 96px); font-weight: 800; line-height: 0.95; color: var(--white); text-shadow: 0 4px 0 rgba(43,42,94,0.35); font-variation-settings: "SOFT" 100, "WONK" 1; }
.wish-title span { color: var(--pink); font-style: italic; text-shadow: 0 4px 0 rgba(43,42,94,0.35); }
.wish-lede { max-width: 54ch; color: var(--white); }
.wish-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.wish-item { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 2px dotted var(--lav-dark); }
.wish-item:last-child { border-bottom: 0; }
.wish-item.is-back { background: linear-gradient(90deg, #F6FBD9, transparent); }
.wish-photo { display: block; width: 76px; height: 76px; overflow: hidden; clip-path: var(--flower); background: var(--lav); }
.wish-photo img { width: 100%; height: 100%; object-fit: cover; }
.wish-info { display: grid; gap: 4px; min-width: 0; }
.wish-name { color: var(--plum); font: 800 20px/1.15 var(--display); text-decoration: none; font-variation-settings: "SOFT" 100, "WONK" 1; }
.wish-name:hover { color: var(--pink); }
.wish-meta { color: #6E5488; font-size: 13.5px; }
.wish-pill { justify-self: start; padding: 3px 10px; border-radius: var(--pill); font-size: 12px; font-weight: 700; }
.pill-live { background: var(--lime); color: var(--ink); }
.pill-sold { background: var(--lav-mid); color: var(--plum); }
.pill-soon { background: #1E1D2B; color: var(--lime); }
.wish-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.wish-actions .btn { padding: 8px 16px; font-size: 13px; }
.wish-remove { padding: 0; border: 0; background: none; color: #A58BC0; font: 400 13px var(--body); text-decoration: underline; cursor: pointer; }
.wish-remove:hover { color: var(--pink); }
.wish-empty { display: grid; justify-items: center; gap: 10px; padding: 30px 10px; text-align: center; }
.wish-empty[hidden] { display: none; }
.wish-empty-art { color: var(--pink); font-size: 64px; line-height: 1; animation: wx-bob 3s ease-in-out infinite; }
/* (Nov 12 2026) Starry (assets/js/starry.js) takes this spot. The ♡ waits invisibly in a Starry-sized space so it never
   flashes before he arrives; it only shows if he hasn't turned up after 2.5 seconds. */
.wish-empty-art { display: grid; place-items: center; width: 110px; height: 107px; margin-bottom: 6px; visibility: hidden; animation: wx-bob 3s ease-in-out infinite, wish-art-show 0s linear 2.5s forwards; }
@keyframes wish-art-show { to { visibility: visible; } }
/* The heart in "Tap the ♡ on any design": the same 🤍 as the real heart button (no box) */
.wish-mini { font-size: 1.05em; line-height: 1; margin: 0 1px; }
.wish-empty h2 { color: var(--plum); font-size: 28px; font-variation-settings: "SOFT" 100, "WONK" 1; }
.wish-empty p { color: #6E5488; }
@media (min-width: 720px) { .wish-item { grid-template-columns: 76px 1fr auto; } .wish-actions { grid-column: auto; } }

/* =====================================================================
   SEARCH (menu bar 🔍, the "Find: All Files" pop-up, and search/index.php)
   ===================================================================== */
.find-btn { box-sizing: border-box; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 3px solid; border-color: var(--peri-hi) var(--peri-lo) var(--peri-lo) var(--peri-hi); background: var(--peri); color: var(--white); font: 700 14px var(--body); text-decoration: none; }
.find-btn:hover { filter: brightness(1.12); }
.find-btn svg { stroke-width: 2.4; }
.find-layer { position: fixed; inset: 0; z-index: 90; display: grid; justify-items: center; align-items: start; padding: 10vh 12px 12px; background: rgba(62,42,92,0.55); }
.find-layer[hidden] { display: none; }
html.find-open { overflow: hidden; }
.find-win { width: min(100%, 620px); max-height: 78vh; }
.find-win .win-body { display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow: hidden; padding: 14px; }
.find-form { display: flex; gap: 8px; }
.find-field { display: flex; flex: 1; align-items: center; gap: 8px; padding: 0 12px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.find-field input { flex: 1; width: 100%; min-width: 0; padding: 11px 0; border: 0; background: none; color: var(--plum); font: 400 17px var(--body); }
.find-field input:focus { outline: none; }
.find-field:focus-within { outline: 2px dashed var(--peri); outline-offset: 2px; }
.find-results { overflow-y: auto; min-height: 0; overscroll-behavior: contain; }
.find-group { margin: 12px 0 4px; color: #A58BC0; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.find-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.find-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 2px solid transparent; color: var(--ink); text-decoration: none; }
.find-item:hover, .find-item.is-active, .find-item:focus-visible { border-color: var(--lav-dark); border-style: dotted; background: var(--lav); outline: none; }
.find-e { flex: none; width: 26px; font-size: 20px; line-height: 1.2; text-align: center; }
.find-t { display: grid; min-width: 0; color: var(--plum); font-weight: 700; font-size: 14.5px; }
.find-t b { background: linear-gradient(transparent 55%, var(--lime) 55%); }
.find-t small { overflow: hidden; color: #7A6696; font-weight: 400; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.find-all { display: block; margin: 12px 0 4px; padding: 8px 10px; color: var(--peri-deep); font-weight: 700; font-size: 14px; }
.find-all.is-active { background: var(--lav); }
.find-tip { color: #7A6696; font-size: 13.5px; }
.find-tip button { margin: 4px 2px; padding: 4px 10px; border: 2px solid var(--lav-dark); border-radius: var(--pill); background: var(--white); color: var(--plum); font: 700 12.5px var(--body); cursor: pointer; }
.find-tip button:hover { background: var(--lime); }
.find-none { display: flex; gap: 12px; align-items: center; padding: 14px 4px; color: var(--plum); }
.find-none span { font-size: 36px; line-height: 1.2; }
.find-none a { color: var(--peri-deep); font-weight: 700; }
.win-search { width: min(100%, 760px); justify-self: center; }
.win-search .win-body { display: grid; gap: 10px; }
.find-count, .find-empty { color: #7A6696; font-size: 14px; }
.find-empty a { color: var(--peri-deep); font-weight: 700; }
@media (max-width: 720px) {
    .find-label { display: none; }
    .find-btn { padding: 0 10px; }
    .find-layer { padding-top: 12px; }
    .find-win { max-height: 88vh; }
}

/* =====================================================================
   THE SPREAD (kit pages): every item floating, tap for a pop-up
   ===================================================================== */
.spread-free { display: grid; gap: 10px; padding: 20px 0; }
.spread-head { text-align: center; }
.spread-sub { margin-top: 6px; color: var(--white); font-size: 15px; opacity: 0.9; }
.spread { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 34px; padding: 20px 8px 30px; }
.spread-item { position: relative; display: grid; justify-items: center; gap: 6px; padding: 6px; border: 0; background: none; cursor: pointer; transform: rotate(var(--r)); animation: si-float 4.5s ease-in-out var(--d) infinite; }
.spread-item img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(6px 12px 8px rgba(30,29,70,0.4)); transition: transform 0.2s; }
.si-s { width: 96px; height: 116px; } .si-m { width: 150px; height: 170px; } .si-l { width: 230px; height: 250px; }
.spread-item img, .si-emoji { height: calc(100% - 24px); }
.si-emoji { display: grid; place-items: center; width: 100%; line-height: 1.2; filter: drop-shadow(3px 6px 4px rgba(43,42,94,0.25)); transition: transform 0.2s; }
.si-s .si-emoji { font-size: 48px; } .si-m .si-emoji { font-size: 72px; } .si-l .si-emoji { font-size: 110px; }
.no-photo .si-emoji { width: auto; aspect-ratio: 1; border: 2px dashed rgba(255,255,255,0.6); border-radius: 50%; background: rgba(255,255,255,0.14); }
.si-label { padding: 3px 9px; border-radius: var(--pill); background: var(--white); color: var(--plum); font: 700 11.5px var(--body); white-space: nowrap; opacity: 0; transform: translateY(-4px); transition: opacity 0.2s, transform 0.2s; box-shadow: 2px 2px 0 rgba(43,42,94,0.3); }
.spread-item:hover img, .spread-item:hover .si-emoji, .spread-item.is-on img, .spread-item.is-on .si-emoji { transform: scale(1.08) translateY(-4px); }
.spread-item:hover .si-label, .spread-item:focus-visible .si-label, .spread-item.is-on .si-label { opacity: 1; transform: none; }
.spread-item.is-on .si-label { background: var(--lime); }
.spread-item:focus-visible { outline: 3px dashed var(--pink); outline-offset: 4px; border-radius: 12px; }
@keyframes si-float { 50% { translate: 0 -7px; } }
.spread-tip { position: absolute; z-index: 5; width: min(300px, calc(100% - 16px)); border: 3px solid; border-color: var(--bevel-out); outline: 1px solid var(--lav-dark); background: var(--paper); box-shadow: 5px 5px 0 rgba(43,42,94,0.28); }
.spread-tip[hidden] { display: none; }
.st-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 6px 6px 6px 10px; background: linear-gradient(90deg, #D9EC8E, #EEF8C4); color: var(--plum); font: 700 12.5px var(--body); letter-spacing: 0.04em; text-transform: uppercase; }
.st-body { display: grid; gap: 6px; padding: 10px 12px 12px; color: var(--ink); font-size: 14px; line-height: 1.5; }
.st-note { color: var(--plum); font-weight: 700; }
@media (max-width: 720px) {
    .spread { gap: 16px 12px; padding: 14px 0 20px; }
    .si-label { font-size: 10px; padding: 2px 6px; }
    .si-s { width: 74px; height: 92px; } .si-m { width: 110px; height: 128px; } .si-l { width: 160px; height: 180px; }
    .si-s .si-emoji { font-size: 38px; } .si-m .si-emoji { font-size: 54px; } .si-l .si-emoji { font-size: 80px; }
    .si-label { opacity: 1; transform: none; font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) { .spread-item { animation: none; } }

/* =====================================================================
   WALLPAPERS (Display Properties, assets/js/wallpaper.js)
   Each one styles the page background AND its little preview swatch.
   Keep them dark-ish so the white headings on the desktop stay readable.
   ===================================================================== */
.wp-prev[data-wp="haze"] { background-color: #5B5FC7; background-image: radial-gradient(circle at 15% 20%, rgba(214,91,140,0.35), transparent 40%), radial-gradient(circle at 85% 70%, rgba(225,246,107,0.18), transparent 38%); }

html[data-wallpaper="midnight"] body, .wp-prev[data-wp="midnight"] { background-color: #1B1A3A;
    background-image: radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 62%, #fff, transparent), radial-gradient(1.5px 1.5px at 44% 30%, #E1F66B, transparent), radial-gradient(1px 1px at 63% 78%, #fff, transparent), radial-gradient(1.5px 1.5px at 78% 22%, #fff, transparent), radial-gradient(1px 1px at 90% 55%, #fff, transparent), radial-gradient(circle at 80% 10%, rgba(91,95,199,0.5), transparent 45%);
    background-size: 280px 280px, 280px 280px, 280px 280px, 280px 280px, 280px 280px, 280px 280px, 100% 100%; }
html[data-wallpaper="sunset"] body, .wp-prev[data-wp="sunset"] { background-color: #6A4FB8; background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1.4px), linear-gradient(165deg, #E0709C 0%, #9B5BB8 45%, #4A47A8 100%); background-size: 22px 22px, 100% 100%; }
html[data-wallpaper="nebula"] body, .wp-prev[data-wp="nebula"] { background-color: #2A2360; background-image: radial-gradient(circle at 25% 30%, rgba(214,91,140,0.6), transparent 35%), radial-gradient(circle at 75% 60%, rgba(91,95,199,0.8), transparent 40%), radial-gradient(circle at 50% 90%, rgba(225,246,107,0.25), transparent 35%), radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1.4px); background-size: 100% 100%, 100% 100%, 100% 100%, 26px 26px; }
html[data-wallpaper="bubblegum"] body, .wp-prev[data-wp="bubblegum"] { background-color: #C24E80; background-image: radial-gradient(rgba(255,255,255,0.3) 2px, transparent 2.4px), radial-gradient(circle at 80% 20%, rgba(255,214,235,0.35), transparent 40%); background-size: 26px 26px, 100% 100%; }
html[data-wallpaper="checker"] body, .wp-prev[data-wp="checker"] { background-color: #5A4DB5; background-image: repeating-conic-gradient(#6A5CC8 0% 25%, #4F43A6 0% 50%); background-size: 56px 56px; }
html[data-wallpaper="sesh"] body, .wp-prev[data-wp="sesh"] { background-color: #2E5A45; background-image: radial-gradient(rgba(225,246,107,0.22) 1px, transparent 1.4px), radial-gradient(circle at 20% 80%, rgba(225,246,107,0.2), transparent 40%); background-size: 22px 22px, 100% 100%; }
html[data-wallpaper="clouds"] body, .wp-prev[data-wp="clouds"] { background-color: #6D7FD0; background-image: radial-gradient(ellipse 60px 28px at 20% 25%, rgba(255,255,255,0.45), transparent 70%), radial-gradient(ellipse 80px 34px at 70% 55%, rgba(255,255,255,0.4), transparent 70%), radial-gradient(ellipse 50px 22px at 40% 85%, rgba(255,255,255,0.35), transparent 70%); background-size: 300px 220px; }

/* The Display Properties window */
.display-win { width: min(100%, 460px); }
.display-win .win-body { display: grid; gap: 12px; padding: 14px 18px 18px; }
.display-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--lav-dark); }
.display-tabs span { margin-bottom: -2px; padding: 5px 12px; border: 2px solid var(--lav-dark); border-bottom: 0; background: var(--lav); color: #A58BC0; font-size: 12.5px; font-weight: 700; }
.display-tabs span.on { background: var(--paper); color: var(--plum); border-bottom: 2px solid var(--paper); }
.monitor { display: grid; justify-items: center; }
.monitor-screen { position: relative; width: 210px; height: 140px; border: 10px solid #D9D4EC; border-bottom-width: 16px; border-radius: 4px; box-shadow: inset 0 0 0 2px #8C8AB0, 3px 4px 0 rgba(43,42,94,0.25); overflow: hidden; }
.mini-win { position: absolute; left: 16%; top: 16%; width: 42%; height: 38%; border: 2px solid #fff; background: var(--paper); box-shadow: 2px 2px 0 rgba(0,0,0,0.2); }
.mini-win::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22%; background: #C9C4F0; }
.mini-win-2 { left: 52%; top: 40%; width: 36%; height: 34%; }
.mini-win-2::before { background: #EDB9D2; }
.mini-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 12%; background: #EFE3F9; }
.monitor-neck { width: 34px; height: 12px; background: #CFC9E6; }
.monitor-base { width: 110px; height: 10px; border-radius: 4px 4px 0 0; background: #D9D4EC; box-shadow: 0 2px 0 #B9B3D6; }
.display-label { color: var(--plum); font-size: 13px; font-weight: 700; }
.display-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-height: 220px; overflow-y: auto; padding: 8px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.display-opt { display: grid; justify-items: center; gap: 4px; padding: 6px 4px; border: 2px solid transparent; cursor: pointer; text-align: center; }
.display-opt input { position: absolute; opacity: 0; }
.display-sw { width: 100%; aspect-ratio: 4 / 3; border: 2px solid #fff; outline: 1px solid var(--lav-dark); box-shadow: 1px 2px 0 rgba(43,42,94,0.2); }
.display-name { color: var(--plum); font-size: 11.5px; font-weight: 700; line-height: 1.2; }
.display-opt:has(input:checked) { border-color: var(--peri); border-style: dotted; background: var(--lav); }
.display-opt:has(input:checked) .display-name { background: var(--peri-deep); color: var(--white); box-shadow: 4px 0 0 var(--peri-deep), -4px 0 0 var(--peri-deep); }   /* (the dark box grows out to the sides instead of padding, so a picked name never wraps onto 2 lines. Nov 12 2026) */
.display-opt:has(input:focus-visible) { outline: 2px dashed var(--pink); }
.display-btns { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.display-btns .btn { padding: 7px 12px; font-size: 12.5px; }
.display-btns .btn::before, .display-btns .btn::after { content: none; }
.display-spacer { flex: 1; }
@media (max-width: 480px) { .display-list { grid-template-columns: repeat(3, 1fr); } .monitor-screen { width: 170px; height: 114px; } }

/* =====================================================================
   DISPLAY PROPERTIES: working tabs, screen saver, appearance
   ===================================================================== */
.display-tabs button { margin-bottom: -2px; padding: 5px 12px; border: 2px solid var(--lav-dark); border-bottom: 0; background: var(--lav); color: #A58BC0; font: 700 12.5px var(--body); cursor: pointer; }
.display-tabs button.on { background: var(--paper); color: var(--plum); border-bottom: 2px solid var(--paper); }
.display-panel { display: grid; gap: 10px; }
.display-panel[hidden] { display: none; }
.display-small { justify-self: start; padding: 7px 12px; font-size: 12.5px; }
.display-small::before, .display-small::after { content: none; }
.display-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.display-field { display: grid; gap: 4px; min-width: 0; color: var(--plum); font-size: 13px; font-weight: 700; }
.display-panel, .display-win .win-body > * { min-width: 0; }
.display-field select { width: 100%; max-width: 100%; min-width: 0; text-overflow: ellipsis; }   /* (a long option never pushes the window wider) */
.display-field select { padding: 8px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); color: var(--plum); font: 400 14px var(--body); }
.display-check { display: flex; gap: 8px; align-items: flex-start; color: var(--plum); font-size: 13.5px; cursor: pointer; }
.display-check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--plum); }
.display-check small { color: #A58BC0; }
.display-hint { color: #A58BC0; font-size: 12px; }

/* Tiny screen saver inside the preview monitor */
.mini-ss { position: absolute; inset: 0; display: none; background: #0E0D1E; }
.mini-ss.show-kits, .mini-ss.show-stars, .mini-ss.show-bounce { display: block; }
.mini-ss.show-kits::before { content: "🧳 🌙 ✨"; position: absolute; top: -20%; left: 80%; font-size: 16px; white-space: nowrap; animation: mini-fly 3s linear infinite; }
.mini-ss.show-kits::after { content: "🔮 🌿"; position: absolute; top: -40%; left: 40%; font-size: 14px; animation: mini-fly 4s linear infinite -1.5s; }
@keyframes mini-fly { to { transform: translate(-160px, 190px); } }
.mini-ss.show-stars { background: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #E1F66B, transparent), radial-gradient(1.5px 1.5px at 50% 70%, #fff, transparent), radial-gradient(1px 1px at 85% 80%, #fff, transparent), radial-gradient(1px 1px at 35% 85%, #F29DC0, transparent), #0E0D1E; animation: mini-warp 2s linear infinite; }
@keyframes mini-warp { from { background-size: 100% 100%; } to { background-size: 180% 180%; background-position: center; } }
.mini-ss.show-bounce::before { content: "Lunar Haze"; position: absolute; left: 6px; top: 6px; color: var(--lime); font: 800 15px var(--display); animation: mini-bx 2.6s linear infinite alternate, mini-by 1.9s linear infinite alternate; }
@keyframes mini-bx { to { left: calc(100% - 92px); } }
@keyframes mini-by { to { top: calc(100% - 26px); } }

/* The real screen saver */
.screensaver { position: fixed; inset: 0; z-index: 2147483000;   /* above every pop-up, toast and window on the site */ background: #0E0D1E; cursor: none; }
.screensaver canvas { display: block; width: 100%; height: 100%; }
.ss-hint { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); color: rgba(255,255,255,0.35); font-size: 13px; animation: live 3s ease-in-out infinite; }
.screensaver.ss-kits { background: radial-gradient(circle at 20% 20%, #2B2A5E, #0E0D1E 70%); }

/* Appearance: window colors */
html[data-scheme="lime"] .win-bar, html[data-scheme="lime"] .hb-bar { background: linear-gradient(90deg, #D9EC8E, #EEF8C4); }
html[data-scheme="pink"] .win-bar, html[data-scheme="pink"] .hb-bar { background: linear-gradient(90deg, #EDB9D2, #F7DCEA); }
html[data-scheme="peri"] .win-bar, html[data-scheme="peri"] .hb-bar { background: linear-gradient(90deg, #BFC0F0, #DCD9F9); }
html[data-scheme="lime"] .hb-bar, html[data-scheme="pink"] .hb-bar, html[data-scheme="peri"] .hb-bar { color: var(--plum); }
html[data-scheme="night"] .win-bar, html[data-scheme="night"] .hb-bar { background: linear-gradient(90deg, #2B2A5E, #45489E); }
html[data-scheme="night"] .win-bar .win-title, html[data-scheme="night"] .hb-bar { color: #F1ECFF; }
html[data-scheme="night"] .win { background: #F4F0FC; }
/* Appearance: text size (makes everything on the page a bit bigger) */
html[data-text="large"] main { zoom: 1.1; }
html[data-text="xl"] main { zoom: 1.22; }
/* Appearance: turn off animations */
html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* =====================================================================
   SEASONAL THEMES (includes/season.php)
   Each one swaps the color variables, the title bars, the wallpaper
   (unless the visitor picked their own in Display settings) and adds
   floating decorations.
   ===================================================================== */
.season-fx { position: fixed; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.season-fx span { position: absolute; top: -40px; left: var(--x); font-size: var(--size); line-height: 1.2; opacity: 0.85; animation: season-fall var(--dur) linear var(--delay) infinite; filter: drop-shadow(0 3px 2px rgba(0,0,0,0.25)); }
@keyframes season-fall { 0% { transform: translate(0, -40px) rotate(0deg); } 50% { transform: translate(var(--sway), 50vh) rotate(160deg); } 100% { transform: translate(0, 105vh) rotate(320deg); } }
body.theme-halloween .season-fx span:nth-child(odd) { animation-name: season-flutter; }   /* bats + ghosts drift sideways instead */
@keyframes season-flutter { 0% { transform: translate(-10vw, 20vh); } 25% { transform: translate(20vw, 10vh) scale(1.1); } 50% { transform: translate(50vw, 30vh); } 75% { transform: translate(80vw, 15vh) scale(0.9); } 100% { transform: translate(110vw, 25vh); } }
main, .announce, .site-footer { position: relative; z-index: 2; }   /* decorations float behind the windows (the menu bar and taskbar already sit above) */
@media (prefers-reduced-motion: reduce) { .season-fx { display: none; } }
html[data-motion="reduce"] .season-fx { display: none; }

/* ---------- HALLOWEEN: haunted purple + pumpkin orange ---------- */
body.theme-halloween {
    --bevel-out: #FFFFFF var(--lav-dark) var(--lav-dark) #FFFFFF; --bevel-in: var(--lav-dark) #FFFFFF #FFFFFF var(--lav-dark);
    --peri: #4A3470; --peri-deep: #2E2048; --lime: #FF9A3C; --pink: #C7384F; --paper: #FFF8EF; --lav: #F4E6D6;
    --lav-mid: #EBD3BA; --lav-dark: #CFA67E; --plum: #3B2140; --ink: #2A1B2E; --wallpaper: #1F1830;
    --peri-hi: #7A5FA6; --peri-lo: #1A1230; --peri-line: #5E4786; --lime-hi: #FFD2A3; --lime-lo: #C46A1E;
}
body.theme-halloween { background-color: #1F1830; background-image: radial-gradient(rgba(255,154,60,0.16) 1px, transparent 1.4px), radial-gradient(circle at 18% 18%, rgba(255,154,60,0.28), transparent 40%), radial-gradient(circle at 85% 75%, rgba(155,227,74,0.14), transparent 40%); }
body.theme-halloween .win-peri .win-bar { background: linear-gradient(90deg, #BCA6DB, #DCCDEE); }
body.theme-halloween .win-pink .win-bar { background: linear-gradient(90deg, #F2B28C, #F8D6BF); }
body.theme-halloween .win-lime .win-bar { background: linear-gradient(90deg, #FFC27A, #FFE1B8); }
body.theme-halloween .menubar { background: #2E2048; border-bottom-color: var(--peri-lo); }
body.theme-halloween .announce { background: #FF9A3C; color: #2A1B2E; }

/* ---------- FALL: rust, mustard and cream ---------- */
body.theme-fall {
    --bevel-out: #FFFFFF var(--lav-dark) var(--lav-dark) #FFFFFF; --bevel-in: var(--lav-dark) #FFFFFF #FFFFFF var(--lav-dark);
    --peri: #B65E34; --peri-deep: #86401F; --lime: #F2C14E; --pink: #D2553C; --paper: #FFF9F1; --lav: #F8E9D7;
    --lav-mid: #F0D4B4; --lav-dark: #D9AD83; --plum: #5A2E1E; --ink: #3A2418; --wallpaper: #9A4E2C;
    --peri-hi: #D8906A; --peri-lo: #5E2A12; --peri-line: #A85A33; --lime-hi: #FBE3A6; --lime-lo: #B98A24;
}
body.theme-fall { background-color: #9A4E2C; background-image: radial-gradient(rgba(255,240,210,0.16) 1px, transparent 1.4px), radial-gradient(circle at 15% 20%, rgba(242,193,78,0.35), transparent 40%), radial-gradient(circle at 85% 70%, rgba(90,46,30,0.45), transparent 42%); }
body.theme-fall .win-peri .win-bar { background: linear-gradient(90deg, #E7B48E, #F4D6BD); }
body.theme-fall .win-pink .win-bar { background: linear-gradient(90deg, #EFA891, #F8D2C4); }
body.theme-fall .win-lime .win-bar { background: linear-gradient(90deg, #F5D27E, #FBE8BA); }
body.theme-fall .menubar { background: #86401F; border-bottom-color: var(--peri-lo); }
body.theme-fall .announce { background: #F2C14E; color: #3A2418; }

/* ---------- WINTER: icy blue, frost and snow ---------- */
body.theme-winter {
    --bevel-out: #FFFFFF var(--lav-dark) var(--lav-dark) #FFFFFF; --bevel-in: var(--lav-dark) #FFFFFF #FFFFFF var(--lav-dark);
    --peri: #5B7FC9; --peri-deep: #3B5A9E; --lime: #C9F1FF; --pink: #E59BC4; --paper: #FAFCFF; --lav: #E8F1FB;
    --lav-mid: #D2E4F6; --lav-dark: #A8C5E8; --plum: #2E3F6E; --ink: #22304F; --wallpaper: #4F6FB8;
    --peri-hi: #8FAAE0; --peri-lo: #2A4278; --peri-line: #6F8CCB; --lime-hi: #F0FBFF; --lime-lo: #86BFD6;
}
body.theme-winter { background-color: #4F6FB8; background-image: radial-gradient(rgba(255,255,255,0.22) 1.2px, transparent 1.6px), radial-gradient(circle at 15% 15%, rgba(201,241,255,0.35), transparent 40%), radial-gradient(circle at 85% 80%, rgba(229,155,196,0.25), transparent 40%); }
body.theme-winter .win-peri .win-bar { background: linear-gradient(90deg, #BFD2F4, #DDE8FA); }
body.theme-winter .win-pink .win-bar { background: linear-gradient(90deg, #F1C3DC, #F9E1EE); }
body.theme-winter .win-lime .win-bar { background: linear-gradient(90deg, #BDEBFB, #E1F7FF); }
body.theme-winter .menubar { background: #3B5A9E; border-bottom-color: var(--peri-lo); }
body.theme-winter .announce { background: #C9F1FF; color: #22304F; }
body.theme-winter .season-fx span { opacity: 0.9; }

/* ---------- NEW YEAR (Y2K): chrome, holo and party glitter, Dec 26 to Jan 2 ---------- */
body.theme-y2k {
    --bevel-out: #FFFFFF var(--lav-dark) var(--lav-dark) #FFFFFF; --bevel-in: var(--lav-dark) #FFFFFF #FFFFFF var(--lav-dark);
    --peri: #4B4FD1; --peri-deep: #2B2E8F; --lime: #7CF9E0; --pink: #FF4FD8; --paper: #F7F8FC; --lav: #E9ECF5;
    --lav-mid: #D6DCEB; --lav-dark: #A9B2C9; --plum: #1E1F4D; --ink: #121331; --wallpaper: #0E0B2E;
    --peri-hi: #8F93F0; --peri-lo: #0B0A26; --peri-line: #3A3DA8; --lime-hi: #D4FFF6; --lime-lo: #2FB9A0;
}
body.theme-y2k { background-color: #0E0B2E; background-image: radial-gradient(rgba(255,255,255,0.35) 1px, transparent 1.4px), radial-gradient(circle at 20% 15%, rgba(255,79,216,0.35), transparent 42%), radial-gradient(circle at 82% 70%, rgba(124,249,224,0.30), transparent 42%), radial-gradient(circle at 55% 105%, rgba(143,147,240,0.45), transparent 50%); background-size: 22px 22px, 100% 100%, 100% 100%, 100% 100%; background-attachment: fixed; }
body.theme-y2k .win-peri .win-bar, body.theme-y2k .win-pink .win-bar, body.theme-y2k .win-lime .win-bar { background: linear-gradient(90deg, #C9D1E3, #F4F6FB 35%, #FFD9F5 55%, #D4FFF6 75%, #C9D1E3); }   /* chrome + holo */
body.theme-y2k .menubar { background: #1E1F4D; border-bottom-color: var(--peri-lo); }
body.theme-y2k .announce { background: linear-gradient(90deg, #FF4FD8, #8F93F0, #7CF9E0); color: #121331; }
body.theme-y2k .season-fx span { animation-name: season-twinkle; }
@keyframes season-twinkle { 0% { transform: translate(0, -40px) scale(.6); opacity: 0; } 15% { opacity: 1; } 50% { transform: translate(var(--sway), 50vh) scale(1.1); } 100% { transform: translate(0, 105vh) scale(.7); opacity: .2; } }

/* ---------- VALENTINE'S: blush, rose and cherry, Feb 1 to 15 ---------- */
body.theme-valentines {
    --bevel-out: #FFFFFF var(--lav-dark) var(--lav-dark) #FFFFFF; --bevel-in: var(--lav-dark) #FFFFFF #FFFFFF var(--lav-dark);
    --peri: #C23A6B; --peri-deep: #8E1F4A; --lime: #FFD1E1; --pink: #E8336D; --paper: #FFF7FA; --lav: #FDE6EE;
    --lav-mid: #F9CFDD; --lav-dark: #EBA0BA; --plum: #6E1838; --ink: #4A1028; --wallpaper: #D94F7E;
    --peri-hi: #EB8AAE; --peri-lo: #5E0F2E; --peri-line: #B8346A; --lime-hi: #FFF0F5; --lime-lo: #E07FA0;
}
body.theme-valentines { background-color: #D94F7E; background-image: radial-gradient(rgba(255,240,245,0.22) 1px, transparent 1.4px), radial-gradient(circle at 15% 20%, rgba(255,209,225,0.45), transparent 40%), radial-gradient(circle at 85% 75%, rgba(142,31,74,0.45), transparent 45%); background-size: 22px 22px, 100% 100%, 100% 100%; background-attachment: fixed; }
body.theme-valentines .win-peri .win-bar { background: linear-gradient(90deg, #F2B6CB, #FBDDE8); }
body.theme-valentines .win-pink .win-bar { background: linear-gradient(90deg, #F59DB8, #FCD3E0); }
body.theme-valentines .win-lime .win-bar { background: linear-gradient(90deg, #FFC9D9, #FFE8EF); }
body.theme-valentines .menubar { background: #8E1F4A; border-bottom-color: var(--peri-lo); }
body.theme-valentines .announce { background: #FFD1E1; color: #4A1028; }

/* ---------- 4/20: deep green + lime, Apr 15 to 21. Smoke drifts UP instead of falling ---------- */
body.theme-fourtwenty {
    --bevel-out: #FFFFFF var(--lav-dark) var(--lav-dark) #FFFFFF; --bevel-in: var(--lav-dark) #FFFFFF #FFFFFF var(--lav-dark);
    --peri: #2F7A47; --peri-deep: #1E5432; --lime: #C6F24E; --pink: #F28AB8; --paper: #F8FFF2; --lav: #E6F5DC;
    --lav-mid: #CDEBBE; --lav-dark: #9CCB86; --plum: #1E4A2A; --ink: #14301C; --wallpaper: #173B25;
    --peri-hi: #6FB386; --peri-lo: #0C2415; --peri-line: #3F8A57; --lime-hi: #EEFFC2; --lime-lo: #7FA91E;
}
body.theme-fourtwenty { background-color: #173B25; background-image: radial-gradient(rgba(198,242,78,0.18) 1px, transparent 1.4px), radial-gradient(circle at 18% 20%, rgba(198,242,78,0.30), transparent 40%), radial-gradient(circle at 85% 78%, rgba(242,138,184,0.22), transparent 42%), radial-gradient(ellipse at 50% 110%, rgba(255,255,255,0.18), transparent 55%); background-size: 22px 22px, 100% 100%, 100% 100%, 100% 100%; background-attachment: fixed; }
body.theme-fourtwenty .win-peri .win-bar { background: linear-gradient(90deg, #B9DFA6, #DDF1D0); }
body.theme-fourtwenty .win-pink .win-bar { background: linear-gradient(90deg, #F6BCD5, #FBDDEA); }
body.theme-fourtwenty .win-lime .win-bar { background: linear-gradient(90deg, #DDF68F, #F0FBC8); }
body.theme-fourtwenty .menubar { background: #1E5432; border-bottom-color: var(--peri-lo); }
body.theme-fourtwenty .announce { background: #C6F24E; color: #14301C; }
body.theme-fourtwenty .season-fx span { top: auto; bottom: -40px; opacity: .7; animation-name: season-rise; }
@keyframes season-rise { 0% { transform: translate(0, 40px) scale(.7); opacity: 0; } 15% { opacity: .75; } 50% { transform: translate(var(--sway), -50vh) scale(1.15) rotate(20deg); } 100% { transform: translate(0, -110vh) scale(1.5) rotate(-15deg); opacity: 0; } }

/* ---------- SPRING: soft pastels, Mar 20 to May 31 ---------- */
body.theme-spring {
    --bevel-out: #FFFFFF var(--lav-dark) var(--lav-dark) #FFFFFF; --bevel-in: var(--lav-dark) #FFFFFF #FFFFFF var(--lav-dark);
    --peri: #5FA88A; --peri-deep: #3F7F68; --lime: #FFE680; --pink: #F59AC1; --paper: #FFFEF7; --lav: #EEF8EF;
    --lav-mid: #DCEFDD; --lav-dark: #B2D9B8; --plum: #3E5A4A; --ink: #2C3F35; --wallpaper: #8FCBB0;
    --peri-hi: #A2D6BE; --peri-lo: #2E5E4C; --peri-line: #6FB59A; --lime-hi: #FFF6C9; --lime-lo: #D9B93A;
}
body.theme-spring { background-color: #8FCBB0; background-image: radial-gradient(rgba(255,255,255,0.3) 1px, transparent 1.4px), radial-gradient(circle at 15% 18%, rgba(255,230,128,0.45), transparent 40%), radial-gradient(circle at 85% 75%, rgba(245,154,193,0.45), transparent 42%), radial-gradient(circle at 50% 50%, rgba(200,180,240,0.25), transparent 60%); background-size: 22px 22px, 100% 100%, 100% 100%, 100% 100%; background-attachment: fixed; }
body.theme-spring .win-peri .win-bar { background: linear-gradient(90deg, #C6E6D6, #E6F5EC); }
body.theme-spring .win-pink .win-bar { background: linear-gradient(90deg, #F9C9DE, #FDE6F0); }
body.theme-spring .win-lime .win-bar { background: linear-gradient(90deg, #FFEFA8, #FFF8D6); }
body.theme-spring .menubar { background: #3F7F68; border-bottom-color: var(--peri-lo); }
body.theme-spring .announce { background: #FFE680; color: #2C3F35; }
body.theme-spring .season-fx span:nth-child(3n) { animation-name: season-flutter; }   /* butterflies drift sideways */

/* ---------- SUMMER: sunset coral + sunshine, Jun 1 to Sep 19 ---------- */
body.theme-summer {
    --bevel-out: #FFFFFF var(--lav-dark) var(--lav-dark) #FFFFFF; --bevel-in: var(--lav-dark) #FFFFFF #FFFFFF var(--lav-dark);
    --peri: #E8603F; --peri-deep: #B8442C; --lime: #FFE066; --pink: #FF5E7E; --paper: #FFFBF3; --lav: #FFEEDD;
    --lav-mid: #FFDDC0; --lav-dark: #F5B489; --plum: #6B2E2A; --ink: #3D1F1C; --wallpaper: #FF7A59;
    --peri-hi: #FFA488; --peri-lo: #5E1F14; --peri-line: #D9573A; --lime-hi: #FFF4C2; --lime-lo: #D9A920;
}
body.theme-summer { background-color: #FF7A59; background-image: radial-gradient(rgba(255,244,220,0.22) 1px, transparent 1.4px), linear-gradient(180deg, #FFB25C 0%, #FF7A59 45%, #E8507A 75%, #7B5CD6 100%); background-size: 22px 22px, 100% 100%; background-attachment: fixed; }
body.theme-summer .win-peri .win-bar { background: linear-gradient(90deg, #FFC3A8, #FFE3D4); }
body.theme-summer .win-pink .win-bar { background: linear-gradient(90deg, #FFB3C3, #FFDCE4); }
body.theme-summer .win-lime .win-bar { background: linear-gradient(90deg, #FFEA94, #FFF6CF); }
body.theme-summer .menubar { background: #B8442C; border-bottom-color: var(--peri-lo); }
body.theme-summer .announce { background: #FFE066; color: #3D1F1C; }
body.theme-summer .season-fx span { opacity: .75; }

/* ---------- OUR BIRTHDAY (July 22): the classic Lunar Haze colors, party mode ---------- */
body.theme-birthday { background-color: #5B5FC7; background-image: radial-gradient(rgba(225,246,107,0.28) 1.2px, transparent 1.6px), radial-gradient(circle at 15% 18%, rgba(214,91,140,0.45), transparent 40%), radial-gradient(circle at 85% 75%, rgba(225,246,107,0.35), transparent 42%), radial-gradient(circle at 50% 110%, rgba(255,255,255,0.25), transparent 55%); background-size: 24px 24px, 100% 100%, 100% 100%, 100% 100%; background-attachment: fixed; }
body.theme-birthday .win-peri .win-bar, body.theme-birthday .win-pink .win-bar, body.theme-birthday .win-lime .win-bar { background: linear-gradient(90deg, #E1F66B, #F7B6D2 50%, #C9AEE6); }   /* party streamers */
body.theme-birthday .announce { background: linear-gradient(90deg, #E1F66B, #F7B6D2, #C9AEE6); color: #2B2A5E; }
body.theme-birthday .season-fx span:nth-child(3n) { animation-name: season-rise; top: auto; bottom: -40px; }   /* some balloons float up */

/* ---------- 7/10 (July 10): OIL SLICK. Flip 710 upside down: OIL. A rainbow sheen on black that
   slowly shifts, like oil on water. (Kept away from gold: that's the Completionist reward.) ---------- */
body.theme-seventen {
    --bevel-out: #FFFFFF var(--lav-dark) var(--lav-dark) #FFFFFF; --bevel-in: var(--lav-dark) #FFFFFF #FFFFFF var(--lav-dark);
    --peri: #5B45D6; --peri-deep: #33238F; --lime: #8FF0D8; --pink: #D24FC0; --paper: #FAF9FF; --lav: #ECEAF8;
    --lav-mid: #D6D2EE; --lav-dark: #A39CC9; --plum: #1B1733; --ink: #15122A; --wallpaper: #0B0A14;
    --peri-hi: #9C8BFF; --peri-lo: #05040A; --peri-line: #4A36C0; --lime-hi: #D9FFF5; --lime-lo: #23A58E;
    --oil: linear-gradient(100deg, #B9A8FF, #8FE6DA 18%, #D3F39A 32%, #F2A9E4 48%, #9FB6FF 64%, #8FE6DA 80%, #B9A8FF);
}
body.theme-seventen { background-color: #0B0A14; background-image:
    radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1.4px),
    radial-gradient(ellipse 60% 40% at 22% 24%, rgba(123,92,255,0.45), transparent 70%),
    radial-gradient(ellipse 50% 35% at 40% 34%, rgba(47,211,184,0.30), transparent 70%),
    radial-gradient(ellipse 55% 40% at 78% 70%, rgba(210,79,192,0.38), transparent 70%),
    radial-gradient(ellipse 45% 30% at 62% 80%, rgba(160,230,90,0.22), transparent 70%),
    radial-gradient(ellipse 70% 45% at 50% 110%, rgba(80,120,255,0.35), transparent 70%);
    background-size: 22px 22px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%; background-attachment: fixed; }
body.theme-seventen .win-peri .win-bar, body.theme-seventen .win-pink .win-bar, body.theme-seventen .win-lime .win-bar,
body.theme-seventen .announce { background: var(--oil); background-size: 300% 100%; animation: oil-sheen 14s ease-in-out infinite alternate; }   /* the sheen slowly slides */
body.theme-seventen .menubar { background: #141127; border-bottom-color: var(--peri-lo); }
body.theme-seventen .announce { color: #15122A; }
body.theme-seventen .season-fx span { animation-name: season-drip; filter: hue-rotate(40deg) saturate(1.6) drop-shadow(0 0 6px rgba(143,240,216,.5)); }   /* glossy oil drops */
@keyframes oil-sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes season-drip { 0% { transform: translate(0, -40px) scaleY(.8); opacity: 0; } 10% { opacity: .9; } 30% { transform: translate(0, 12vh) scaleY(1.25); } 100% { transform: translate(0, 105vh) scaleY(1); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { body.theme-seventen .win-bar, body.theme-seventen .announce { animation: none; } }
html[data-motion="reduce"] body.theme-seventen .win-bar, html[data-motion="reduce"] body.theme-seventen .announce { animation: none; }

/* ---------- FRIDAY THE 13TH (moves; one day): black, candle light, cursed red ---------- */
body.theme-friday13 {
    --bevel-out: #FFFFFF var(--lav-dark) var(--lav-dark) #FFFFFF; --bevel-in: var(--lav-dark) #FFFFFF #FFFFFF var(--lav-dark);
    --peri: #7A1023; --peri-deep: #4A0915; --lime: #E0D9FF; --pink: #B3122E; --paper: #F6F3F8; --lav: #E7E1EC;
    --lav-mid: #CFC5D8; --lav-dark: #9C8FAA; --plum: #1A1622; --ink: #120F18; --wallpaper: #0D0B12;
    --peri-hi: #C44A60; --peri-lo: #050408; --peri-line: #8C1A30; --lime-hi: #F4F0FF; --lime-lo: #8C8FE0;
}
body.theme-friday13 { background-color: #0D0B12; background-image: radial-gradient(rgba(224,217,255,0.14) 1px, transparent 1.4px), radial-gradient(circle at 50% 35%, rgba(255,190,120,0.16), transparent 30%), radial-gradient(circle at 15% 85%, rgba(179,18,46,0.28), transparent 42%), radial-gradient(circle at 88% 12%, rgba(140,143,224,0.18), transparent 40%); background-size: 26px 26px, 100% 100%, 100% 100%, 100% 100%; background-attachment: fixed; }
body.theme-friday13 .win-peri .win-bar, body.theme-friday13 .win-pink .win-bar, body.theme-friday13 .win-lime .win-bar { background: linear-gradient(90deg, #CFC5D8, #EDE8F2 50%, #CFC5D8); }   /* old silver */
body.theme-friday13 .menubar { background: #1A1622; border-bottom-color: var(--peri-lo); }
body.theme-friday13 .announce { background: #B3122E; color: #FFF4F5; }
body.theme-friday13 .season-fx span { opacity: .55; animation-name: season-float; }
body.theme-friday13 .season-fx span:nth-child(4n) { animation-name: season-fall; }
@keyframes season-float { 0% { transform: translate(0, -40px); opacity: 0; } 20% { opacity: .6; } 50% { transform: translate(var(--sway), 45vh) rotate(-8deg); opacity: .35; } 80% { opacity: .6; } 100% { transform: translate(0, 105vh) rotate(8deg); opacity: 0; } }
/* one window hangs a little crooked. (Bad luck.) */
body.theme-friday13 .win.f13-crooked { rotate: -1.4deg; transition: rotate .5s cubic-bezier(.3,1.6,.5,1); }   /* eggs.js picks the window; click it to straighten it */
body.theme-friday13 .win.f13-crooked.is-straight { rotate: 0deg; }

/* ---------- LUNAR NEW YEAR (moves; a week): red and gold, lanterns floating up ---------- */
body.theme-lunarny {
    --bevel-out: #FFFFFF var(--lav-dark) var(--lav-dark) #FFFFFF; --bevel-in: var(--lav-dark) #FFFFFF #FFFFFF var(--lav-dark);
    --peri: #B3192B; --peri-deep: #7A0F1C; --lime: #F2C14E; --pink: #E8463C; --paper: #FFFAF0; --lav: #FCEBD8;
    --lav-mid: #F4D2B0; --lav-dark: #D9A577; --plum: #4A0A12; --ink: #2E0A0E; --wallpaper: #7A0F1C;
    --peri-hi: #E8665C; --peri-lo: #3A060C; --peri-line: #C22A33; --lime-hi: #FFE9A8; --lime-lo: #C9952A;
}
body.theme-lunarny { background-color: #7A0F1C; background-image: radial-gradient(rgba(242,193,78,0.22) 1px, transparent 1.4px), radial-gradient(circle at 84% 12%, rgba(255,240,200,0.55) 0 7%, rgba(255,230,160,0.18) 9%, transparent 22%), radial-gradient(circle at 15% 80%, rgba(242,193,78,0.25), transparent 42%), radial-gradient(ellipse at 50% 110%, rgba(232,70,60,0.45), transparent 55%); background-size: 24px 24px, 100% 100%, 100% 100%, 100% 100%; background-attachment: fixed; }   /* (a big gold moon up top right) */
body.theme-lunarny .win-peri .win-bar, body.theme-lunarny .win-pink .win-bar, body.theme-lunarny .win-lime .win-bar { background: linear-gradient(90deg, #F2C14E, #FFE9A8 50%, #F2C14E); }   /* gold leaf */
body.theme-lunarny .menubar { background: #4A0A12; border-bottom-color: var(--peri-lo); }
body.theme-lunarny .announce { background: linear-gradient(90deg, #F2C14E, #FFE9A8, #F2C14E); color: #4A0A12; }
body.theme-lunarny .season-fx span { top: auto; bottom: -40px; opacity: .85; animation-name: season-lantern; }
@keyframes season-lantern { 0% { transform: translate(0, 40px); opacity: 0; } 15% { opacity: .9; } 50% { transform: translate(var(--sway), -50vh) rotate(4deg); } 100% { transform: translate(0, -110vh) rotate(-4deg); opacity: 0; } }

/* ---------- CHRISTMAS (Dec 25 only): evergreen, cranberry and gold, snow ---------- */
body.theme-christmas {
    --bevel-out: #FFFFFF var(--lav-dark) var(--lav-dark) #FFFFFF; --bevel-in: var(--lav-dark) #FFFFFF #FFFFFF var(--lav-dark);
    --peri: #1F6B4A; --peri-deep: #0F3B2C; --lime: #F2C14E; --pink: #C8102E; --paper: #FFFCF5; --lav: #F1EDE2;
    --lav-mid: #DCD5C2; --lav-dark: #B3A988; --plum: #0F3B2C; --ink: #10261C; --wallpaper: #0F3B2C;
    --peri-hi: #4FA27A; --peri-lo: #06190F; --peri-line: #2C7F59; --lime-hi: #FFE9A8; --lime-lo: #C9952A;
}
body.theme-christmas { background-color: #0F3B2C; background-image: radial-gradient(rgba(255,255,255,0.22) 1px, transparent 1.4px), radial-gradient(circle at 18% 15%, rgba(242,193,78,0.28), transparent 38%), radial-gradient(circle at 85% 78%, rgba(200,16,46,0.35), transparent 42%), radial-gradient(ellipse at 50% 112%, rgba(255,255,255,0.30), transparent 55%); background-size: 22px 22px, 100% 100%, 100% 100%, 100% 100%; background-attachment: fixed; }
body.theme-christmas .win-peri .win-bar { background: linear-gradient(90deg, #BFE3CF, #E3F3EA); }
body.theme-christmas .win-pink .win-bar { background: linear-gradient(90deg, #F2B8C0, #FADDE1); }
body.theme-christmas .win-lime .win-bar { background: linear-gradient(90deg, #F6D98C, #FFF0C7); }
body.theme-christmas .menubar { background: #8E0C22; border-bottom-color: var(--peri-lo); }
body.theme-christmas .announce { background: linear-gradient(90deg, #C8102E, #E0313F 50%, #C8102E); color: #FFF7E6; }
body.theme-christmas .season-fx span:nth-child(3n) { animation-name: season-twinkle; }   /* some sparkle on the way down */

/* ---------- PRIDE (June): soft rainbow holo on a night sky. (Progress colors on the announcement bar) ---------- */
body.theme-pride { background-color: #17153A; background-image: radial-gradient(rgba(255,255,255,0.30) 1px, transparent 1.4px), radial-gradient(circle at 12% 18%, rgba(255,90,90,0.30), transparent 34%), radial-gradient(circle at 40% 0%, rgba(255,214,90,0.26), transparent 34%), radial-gradient(circle at 70% 12%, rgba(90,220,140,0.24), transparent 34%), radial-gradient(circle at 92% 50%, rgba(80,140,255,0.32), transparent 38%), radial-gradient(circle at 30% 100%, rgba(170,100,255,0.36), transparent 45%), radial-gradient(circle at 80% 100%, rgba(255,140,200,0.26), transparent 40%); background-size: 22px 22px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%; background-attachment: fixed; }
body.theme-pride .win-peri .win-bar, body.theme-pride .win-pink .win-bar, body.theme-pride .win-lime .win-bar { background: linear-gradient(90deg, #FFC9C9, #FFE2BF 20%, #FFF6BF 38%, #D2F5D5 55%, #CDE0FF 72%, #E3D2FF 88%, #FFD3EC); }   /* rainbow holo */
body.theme-pride .menubar { background: #23215A; border-bottom-color: var(--peri-lo); }
body.theme-pride .announce { position: relative; padding-left: 80px; padding-right: 80px; background: linear-gradient(90deg, #FFB3B3, #FFD8A8, #FFF3A3, #BFF0C4, #B8D4FF, #D9C2FF); color: #23223F; }
/* the progress flag's chevron (trans + Black and brown stripes) at the start of the bar */
body.theme-pride .announce::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 70px; pointer-events: none;
    background: linear-gradient(90deg, #000 0 14%, #784F17 14% 28%, #5BCEFA 28% 42%, #F5A9B8 42% 57%, #FFFFFF 57% 71%, transparent 71%);
    clip-path: polygon(0 0, 62% 0, 100% 50%, 62% 100%, 0 100%); }
body.theme-pride .season-fx span { animation-name: season-twinkle; }

/* ---------- MERCURY RETROGRADE: a little glitchy on top of any theme (see eggs.js for the rest) ---------- */
body.mercury-rx main .win:nth-of-type(odd)  { rotate: -0.35deg; }   /* (rotate, not transform, so dragging still works) */
body.mercury-rx main .win:nth-of-type(even) { rotate: 0.3deg; }
body.mercury-rx main .win { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
/* Safari draws tilted button edges stair-stepped. So the buttons inside a tilted window turn back the
   other way and sit perfectly straight (crisp edges); the window around them stays tilted. */
body.mercury-rx main .win:nth-of-type(odd)  :is(.btn, .qty, .kq-jump, .wish-line, input:not([type=checkbox], [type=radio], [type=range], .qty input), textarea, select) { rotate: 0.35deg; }
body.mercury-rx main .win:nth-of-type(even) :is(.btn, .qty, .kq-jump, .wish-line, input:not([type=checkbox], [type=radio], [type=range], .qty input), textarea, select) { rotate: -0.3deg; }
body.mercury-rx .win.rx-twitch { animation: rx-twitch .45s steps(2) 1; }
body.mercury-rx .win.rx-twitch .win-bar { filter: hue-rotate(160deg) saturate(1.4); }
@keyframes rx-twitch { 0% { translate: 0 0; } 25% { translate: -4px 1px; } 50% { translate: 3px -1px; } 75% { translate: -2px 0; } 100% { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { body.mercury-rx .win.rx-twitch { animation: none; } }

/* ---------- FULL MOON NIGHTS: a moonlit glow on top of any theme (the night of each full moon) ---------- */
body.moon-full::before { content: ""; position: fixed; z-index: 0; top: -12vmin; right: -10vmin; width: 60vmin; height: 60vmin; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(255,251,224,0.95) 0 17%, rgba(255,250,210,0.45) 19%, rgba(255,248,200,0.16) 38%, transparent 66%); animation: moon-breathe 9s ease-in-out infinite; }
body.moon-full::after { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 85% 5%, rgba(255,250,220,0.18), transparent 55%); }
@keyframes moon-breathe { 50% { transform: scale(1.06); opacity: .9; } }
@media (prefers-reduced-motion: reduce) { body.moon-full::before { animation: none; } }
.beta-tag { margin-left: 4px; padding: 1px 6px; border-radius: var(--pill); background: var(--pink); color: var(--white); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 1px; }

/* =====================================================================
   GUESTBOOK (guestbook/index.php): 2000s comment wall
   ===================================================================== */
.guestbook { max-width: 860px; }
.gb-bar { margin: 0; padding: 4px 10px; background: var(--gb-bar); color: var(--white); font: 700 13px Verdana, Arial, sans-serif; }
.gb-bar-big { padding: 6px 10px; background: var(--gb-bar2); font-size: 14px; }
.gb-profile { display: grid; gap: 16px; }
.gb-card, .gb-blurb, .gb-wall, .gb-sign { background: var(--gb-card); border: 1px solid var(--gb-bar); font: 13px/1.5 Verdana, Arial, sans-serif; color: var(--gb-text); }
.gb-hello { margin: 0; padding: 10px 12px 4px; color: var(--gb-text); font: 700 20px Verdana, Arial, sans-serif; }
.gb-me { display: flex; gap: 14px; align-items: center; padding: 8px 12px 14px; }
.gb-me-pic { display: grid; place-items: center; width: 96px; height: 96px; border: 1px solid #ccc; background: var(--gb-side); font-size: 56px; line-height: 1.2; }
.gb-online { font-size: 10px; }
.gb-blurb > p:last-child { padding: 10px 12px; }
.gb-wall { overflow: hidden; }
.gb-count { padding: 8px 10px; color: var(--gb-text); font-size: 12px; }
.gb-count a { color: var(--gb-link); font-weight: 700; }
.gb-thanks { margin: 0 10px 10px; padding: 8px 10px; background: #FFFFCC; border: 1px solid #E5D96B; }
.gb-table { width: 100%; border-collapse: collapse; }
.gb-table tr { border-top: 1px solid var(--gb-line); }
.gb-table td { padding: 10px; vertical-align: top; }
.gb-who { width: 130px; background: var(--gb-side); text-align: center; }
.gb-name { display: block; color: var(--gb-link); font-weight: 700; text-decoration: underline; word-break: break-word; }
.gb-pic { display: grid; place-items: center; width: 70px; height: 70px; margin: 6px auto; border: 1px solid #ccc; background: var(--white); font-size: 38px; line-height: 1.2; }
.gb-city { display: block; color: var(--gb-muted); font-size: 11px; }
.gb-date { color: var(--gb-muted); font-size: 11px; font-weight: 700; }
.gb-msg { margin-top: 6px; color: var(--gb-text); font-size: 13px; word-break: break-word; }
.gb-us .gb-who { background: var(--gb-us); }
.gb-pages { display: flex; gap: 6px; padding: 10px; }
.gb-pages a { color: var(--gb-link); font-weight: 700; }
.gb-pages a[aria-current] { color: var(--gb-text); text-decoration: none; }
.gb-sign .gb-form { display: grid; gap: 12px; padding: 12px; }
.gb-avatars { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; }
.gb-avatars legend { margin-bottom: 6px; padding: 0; font-weight: 700; }
.gb-avatars label { cursor: pointer; }
.gb-avatars input { position: absolute; opacity: 0; }
.gb-avatars span { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid #ccc; background: var(--gb-side); font-size: 24px; line-height: 1.2; }
.gb-avatars input:checked + span { border-color: var(--gb-bar2); background: var(--gb-pick); box-shadow: 0 0 0 2px var(--gb-bar2); }
.gb-avatars input:focus-visible + span { outline: 2px dashed var(--gb-link); outline-offset: 2px; }
.gb-sign .co-f { font-family: Verdana, Arial, sans-serif; color: var(--gb-text); }
.gb-sign .btn { justify-self: start; }
.gb-small { color: var(--gb-muted); font-size: 11px; }
@media (min-width: 720px) { .gb-profile { grid-template-columns: 1fr 1.3fr; align-items: start; } }
@media (max-width: 520px) { .gb-who { width: 92px; } .gb-pic { width: 54px; height: 54px; font-size: 30px; } }

/* Guestbook color themes (visitors pick one with the swatches at the top of the page) */
.guestbook { --gb-bar: #6698CB; --gb-bar2: #FF9933; --gb-side: #E8EEFA; --gb-link: #003399; --gb-line: #D5E0F0; --gb-us: #FFE9F3; --gb-pick: #FFF1E0; --gb-card: #FFFFFF; --gb-text: #333333; --gb-muted: #666666; }
.guestbook[data-gb="bubblegum"] { --gb-bar: #E0709C; --gb-bar2: #B23A8A; --gb-side: #FFE4F0; --gb-link: #B0245E; --gb-line: #F7C6DB; --gb-us: #E9E4FF; --gb-pick: #FFE4F0; }
.guestbook[data-gb="emo"] { --gb-bar: #2A2A2A; --gb-bar2: #9BE34A; --gb-side: #1C1C1C; --gb-link: #9BE34A; --gb-line: #333333; --gb-us: #2B1633; --gb-pick: #203812; --gb-card: #111111; --gb-text: #E8E8E8; --gb-muted: #9A9A9A; }
.guestbook[data-gb="lunar"] { --gb-bar: #5B5FC7; --gb-bar2: #5E3F7A; --gb-side: #F1E6FA; --gb-link: #4A4EB5; --gb-line: #E0D2EE; --gb-us: #F6FBD9; --gb-pick: #F6FBD9; --gb-card: #FCF7FF; --gb-text: #2B2A5E; --gb-muted: #7A6696; }
.guestbook[data-gb="slime"] { --gb-bar: #3E8E3A; --gb-bar2: #E1F66B; --gb-side: #EEF9DD; --gb-link: #2E6B2A; --gb-line: #D3EDB5; --gb-us: #FFF6C8; --gb-pick: #F6FBD9; }
.guestbook[data-gb="ocean"] { --gb-bar: #1E7FA8; --gb-bar2: #F07E5A; --gb-side: #E2F4FA; --gb-link: #0C5A7A; --gb-line: #C6E6F2; --gb-us: #FFF0EA; --gb-pick: #FFF0EA; }
.guestbook[data-gb="emo"] .gb-bar-big { color: #111; }
.guestbook[data-gb="slime"] .gb-bar-big { color: #1F3A1C; }
.gb-skin { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; border: 1px dashed var(--gb-bar); background: var(--gb-card); color: var(--gb-text); font: 12px Verdana, Arial, sans-serif; }
.gb-skin b { margin-right: 4px; }
.gb-skin button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid var(--gb-line); background: var(--gb-card); color: var(--gb-text); font: 11.5px Verdana, Arial, sans-serif; cursor: pointer; }
.gb-skin button[aria-pressed="true"] { border-color: var(--gb-bar2); box-shadow: 0 0 0 2px var(--gb-bar2); }
.gb-skin i { display: inline-block; width: 22px; height: 14px; border: 1px solid rgba(0,0,0,0.2); background: linear-gradient(90deg, var(--a) 50%, var(--b) 50%); }
.guestbook[data-gb="emo"] .co-f input, .guestbook[data-gb="emo"] .report-text { background: #1C1C1C; color: #E8E8E8; }
/* =====================================================================
   RIGHT-CLICK MENU (assets/js/context-menu.js)
   ===================================================================== */
.ctx { position: fixed; z-index: 600; min-width: 210px; padding: 3px; border: 2px solid; border-color: var(--bevel-out); outline: 1px solid var(--lav-dark); background: var(--paper); box-shadow: 4px 4px 0 rgba(43,42,94,0.3); }
.ctx button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 12px 6px 8px; border: 0; background: none; color: var(--ink); font: 400 14px var(--body); text-align: left; cursor: pointer; }
.ctx button span { width: 20px; text-align: center; }
.ctx button:hover, .ctx button:focus-visible { background: var(--peri); color: var(--white); outline: none; }
.ctx hr { margin: 3px 4px; border: 0; border-top: 1px solid var(--lav-dark); border-bottom: 1px solid #fff; }
.haze-puff { position: fixed; inset: 0; z-index: 550; overflow: hidden; pointer-events: none; }
.haze-puff span { position: absolute; left: -20%; font-size: 120px; line-height: 1.2; opacity: 0.85; filter: blur(1px); animation: puff 3s ease-in forwards; }
.haze-puff span:nth-child(1) { top: 5%; } .haze-puff span:nth-child(2) { top: 25%; animation-delay: .2s; font-size: 160px; } .haze-puff span:nth-child(3) { top: 45%; animation-delay: .1s; }
.haze-puff span:nth-child(4) { top: 62%; animation-delay: .35s; font-size: 150px; } .haze-puff span:nth-child(5) { top: 80%; animation-delay: .25s; }
@keyframes puff { to { left: 120%; opacity: 0; transform: scale(1.6); } }

/* =====================================================================
   DAILY FORTUNE (fortune_cookie.exe pop-up)
   ===================================================================== */
.fortune-win { width: min(100%, 420px); }
.fortune-win .win-body { display: grid; justify-items: center; gap: 14px; padding: 18px 20px 22px; text-align: center; }
.fc-day { color: #A58BC0; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.fc-cookie { display: grid; justify-items: center; gap: 6px; padding: 10px 20px; border: 0; background: none; cursor: pointer; }
.fc-half { font-size: 96px; line-height: 1.2; filter: drop-shadow(0 8px 0 rgba(43,42,94,0.18)); animation: fc-wiggle 2.2s ease-in-out infinite; }
.fc-hint { color: var(--plum); font-weight: 700; font-size: 14px; }
.fc-cookie:hover .fc-half { animation-duration: 0.6s; }
.fc-cookie:focus-visible { outline: 3px dashed var(--pink); outline-offset: 4px; border-radius: 12px; }
@keyframes fc-wiggle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.fc-cookie.is-cracking .fc-half { animation: fc-crack 0.65s ease-in forwards; }
@keyframes fc-crack { 30% { transform: scale(1.15) rotate(-12deg); } 60% { transform: scale(1.2) rotate(14deg); } 100% { transform: scale(0.2) rotate(40deg); opacity: 0; } }
.fc-paper { position: relative; width: 100%; padding: 18px 18px 14px; border: 1px solid #E8DCC4; background: #FFFDF6; box-shadow: 3px 3px 0 rgba(43,42,94,0.15); transform: rotate(-1.5deg); }
.fc-paper::before, .fc-paper::after { content: ""; position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--paper); }
.fc-paper::before { left: -7px; } .fc-paper::after { right: -7px; }
.fc-pop { animation: fc-slide 0.5s cubic-bezier(.3,1.4,.5,1); }
@keyframes fc-slide { from { transform: scaleX(0.1) rotate(-1.5deg); opacity: 0; } to { transform: scaleX(1) rotate(-1.5deg); opacity: 1; } }
.fc-text { color: var(--ink); font: 700 18px/1.45 var(--body); }
.fc-lucky { margin-top: 8px; color: #7A6696; font-size: 13px; }
.fc-lucky b { color: var(--pink); letter-spacing: 0.04em; }
.fc-lucky a { color: var(--peri-deep); font-weight: 700; }
.fc-actions { display: grid; justify-items: center; gap: 8px; }
.fc-next { color: #A58BC0; font-size: 12.5px; }

/* =====================================================================
   CHEAT CODE (assets/js/cheat.js) + the secret Arcade wallpaper
   ===================================================================== */
.cheat-burst { position: fixed; inset: 0; z-index: 700; overflow: hidden; pointer-events: none; }
.cheat-burst span { position: absolute; left: var(--x); bottom: -60px; line-height: 1.2; animation: cheat-up var(--t) cubic-bezier(.2,.8,.4,1) var(--d) forwards; }
@keyframes cheat-up { 60% { opacity: 1; } to { transform: translateY(-115vh) rotate(var(--r)); opacity: 0; } }
.cheat-win { width: min(100%, 440px); background: #120F2B; border-color: #E1F66B #5C49B8 #5C49B8 #E1F66B; }
.cheat-win .win-bar { background: linear-gradient(90deg, #FF4FB8, #7B5CFF); }
.cheat-win .win-title { color: #fff; }
.cheat-win .win-body { display: grid; justify-items: center; gap: 12px; padding: 22px 20px; text-align: center; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 4px), #120F2B; }
.cheat-big { color: #E1F66B; font: 700 clamp(30px, 8vw, 42px)/1.05 var(--body); letter-spacing: 0.06em; text-shadow: 3px 3px 0 #FF4FB8, 0 0 18px rgba(225,246,107,0.6); animation: cheat-blink 1s steps(2) infinite; }
@keyframes cheat-blink { 50% { opacity: 0.75; } }
.cheat-score { color: #7FF6FF; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; }
.cheat-text { color: #EDE8FF; font-size: 14.5px; }
.cheat-text b { color: #E1F66B; }
.cheat-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cheat-small { color: #8C84C8; font-size: 12px; }
html[data-wallpaper="arcade"] body, .wp-prev[data-wp="arcade"] { background-color: #140F33;
    background-image: linear-gradient(transparent 62%, rgba(255,79,184,0.25) 62%, transparent 63%), radial-gradient(circle at 50% 58%, #FFB347 0 8%, #FF4FB8 14%, transparent 22%),
        linear-gradient(rgba(127,246,255,0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,79,184,0.35) 1px, transparent 1px), linear-gradient(#140F33 0%, #3A1D6E 60%, #140F33 100%);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px, 100% 100%; }

/* =====================================================================
   4:20 MODE (assets/js/four20.js)
   ===================================================================== */
html.is-420 body::after { content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at 50% 110%, rgba(118,214,90,0.35), transparent 60%); mix-blend-mode: screen; }
.tray-420 [data-clock] { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px; border-radius: 4px; background: #3E8E3A; color: #E1F66B; font-weight: 700; line-height: 1.2; box-shadow: 0 0 10px rgba(118,214,90,0.8); }
.tray-420 [data-clock]::after { content: "🌿"; display: inline-block; font: 13px/1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }   /* (its own small emoji box, so the leaf doesn't make the green tag taller) */
.tray-419 [data-clock] { animation: blink-419 1s steps(2) infinite; }
@keyframes blink-419 { 50% { color: #E1F66B; } }
.smoke-420 { position: fixed; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.smoke-420 span { position: absolute; left: var(--x); bottom: -80px; font-size: var(--s); line-height: 1.2; opacity: 0; filter: blur(1px); animation: smoke-up var(--t) ease-in var(--d) infinite; }
@keyframes smoke-up { 10% { opacity: 0.7; } 50% { transform: translate(30px, -55vh) scale(1.4); } 100% { transform: translate(-20px, -115vh) scale(2); opacity: 0; } }
.win-420 { width: min(100%, 400px); }
.win-420 .win-body { display: grid; justify-items: center; gap: 12px; padding: 20px; text-align: center; }
.big-420 { color: #3E8E3A; font: 800 clamp(64px, 16vw, 92px)/0.9 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; text-shadow: 0 0 18px rgba(118,214,90,0.6), 4px 4px 0 var(--lime); animation: wx-glow 2s ease-in-out infinite; }
.line-420 { color: var(--plum); font-size: 15px; }
.club-420 { width: 100%; padding: 12px; border: 2px dashed #3E8E3A; background: #F2FBE6; color: var(--ink); font-size: 14px; }
.club-title { margin-bottom: 4px; color: #3E8E3A; font-weight: 700; letter-spacing: 0.08em; font-size: 12.5px; }
.club-420 b { color: #3E8E3A; }
.btns-420 { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.small-420 { color: #A58BC0; font-size: 12.5px; }

/* =====================================================================
   ACHIEVEMENTS (assets/js/achievements.js)
   ===================================================================== */
.ach-toast { position: fixed; right: 16px; bottom: 74px; z-index: 650; width: min(300px, calc(100vw - 24px)); border: 3px solid; border-color: var(--bevel-out); outline: 1px solid var(--lav-dark); background: var(--paper); box-shadow: var(--shadow); cursor: pointer; animation: ach-in 0.45s cubic-bezier(.3,1.5,.5,1); }
.ach-toast.out { animation: ach-out 0.4s ease-in forwards; }
/* Several at once: cards peek out behind (more waiting), "1 of 3", dots, and a little flip to the next one */
.ach-toast.ach-stack-1 { box-shadow: 5px -5px 0 -1px var(--paper), 5px -5px 0 1px var(--lav-dark), var(--shadow); }
.ach-toast.ach-stack-2 { box-shadow: 5px -5px 0 -1px var(--paper), 5px -5px 0 1px var(--lav-dark), 10px -10px 0 -1px var(--paper), 10px -10px 0 1px var(--lav-dark), var(--shadow); }
.ach-t-n { margin-left: auto; font-style: normal; font-weight: 400; letter-spacing: 0; text-transform: none; }
.ach-t-dots { display: flex; justify-content: center; gap: 5px; margin: -4px 0 0; padding: 0 0 9px; }
.ach-t-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--lav-dark); opacity: .5; }
.ach-t-dots i.on { background: var(--plum); opacity: 1; }
.ach-toast.ach-flip .ach-t-body { animation: ach-flip .35s ease-out; }
@keyframes ach-flip { from { opacity: 0; transform: translateX(14px); } }
@media (prefers-reduced-motion: reduce) { .ach-toast.ach-flip .ach-t-body { animation: none; } }
@keyframes ach-in { from { transform: translateY(24px); opacity: 0; } }
@keyframes ach-out { to { transform: translateY(24px); opacity: 0; } }
.ach-t-bar { display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 10px; background: linear-gradient(90deg, #D9EC8E, #EEF8C4); color: var(--plum); font: 700 12px var(--body); letter-spacing: 0.06em; text-transform: uppercase; }
.ach-t-body { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.ach-t-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); font-size: 24px; line-height: 1.2; }
.ach-toast b { display: block; color: var(--plum); font: 800 18px/1.1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.ach-toast small { display: block; margin-top: 2px; color: #7A6696; font-size: 12.5px; line-height: 1.35; }
.ach-win { width: min(100%, 640px); max-height: 88vh; display: flex; flex-direction: column; }
.ach-win .win-body { display: grid; gap: 12px; overflow-y: auto; }
.ach-count { color: var(--plum); font-size: 15px; text-align: center; }
.ach-count b { color: var(--pink); font-size: 22px; }
.ach-bar { height: 20px; padding: 3px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.ach-bar span { display: block; height: 100%; background: repeating-linear-gradient(90deg, #E5B83A 0 12px, transparent 12px 16px); }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ach { display: grid; justify-items: center; gap: 4px; padding: 12px 8px; border: 2px dashed var(--lav-dark); background: #F7F4FB; text-align: center; }
.ach .ach-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #E4DDEE; font-size: 26px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; text-align: center; filter: grayscale(1); opacity: 0.5; }
.ach b { color: #A58BC0; font-size: 13.5px; }
.ach small { color: #A58BC0; font-size: 11.5px; line-height: 1.35; }
.ach.is-on { border: 3px solid; border-color: #FFF3A8 #D9B03A #D9B03A #FFF3A8; background: #FFFBEA; }
.ach.is-on .ach-icon { filter: none; opacity: 1; background: radial-gradient(circle at 35% 30%, #FFF3A8, #E5B83A); box-shadow: 0 0 10px rgba(229,184,58,0.5); }
.ach.is-on b { color: var(--plum); }
.ach.is-on small { color: #7A6696; }
.ach-small { color: #A58BC0; font-size: 12px; text-align: center; }
@media (max-width: 520px) { .ach-toast { left: 12px; right: 12px; min-width: 0; } .ach-grid { grid-template-columns: 1fr 1fr; } }
.line-420 b { font: 800 24px var(--display); color: var(--plum); font-variation-settings: "SOFT" 100, "WONK" 1; }
.aside-420 { margin-top: -6px; color: #7A6696; font-size: 12.5px; font-style: italic; }
.club-perks { margin-top: 4px; color: #7A6696; font-size: 12px; font-style: italic; }

/* Start menu folders (fly out to the side on computers, open in place on phones) */
.start-menu { width: 250px; }
.start-group { position: relative; }
.start-parent { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border: 0; background: none; color: var(--plum); font: 400 15px var(--body); text-align: left; cursor: pointer; }
.start-arrow { margin-left: auto; font-size: 12px; transition: transform 0.15s; }
.start-parent:hover, .start-parent:focus-visible, .start-parent[aria-expanded="true"] { background: var(--plum); color: var(--white); outline: none; }
.start-sub { display: grid; padding: 4px; border: 3px solid; border-color: var(--bevel-out); outline: 1px solid var(--lav-dark); background: var(--paper); box-shadow: var(--shadow); }
.start-sub { display: none; }
.start-group.is-open > .start-sub { display: grid; }
.start-sub a { display: flex; align-items: center; gap: 12px; padding: 9px 14px 9px 10px; color: var(--plum); font-size: 15px; text-decoration: none; white-space: nowrap; }
.start-sub a:hover, .start-sub a:focus-visible { background: var(--plum); color: var(--white); outline: none; }
@media (min-width: 721px) {
    .start-sub { position: absolute; left: calc(100% + 2px); top: -6px; min-width: 210px; z-index: 2; }
    /* Computers: hovering (or tabbing into) a folder shows its menu, even before the script loads */
    .start-group:hover > .start-sub, .start-group:focus-within > .start-sub { display: grid; }
    .start-group:hover > .start-parent { background: var(--plum); color: var(--white); }
    /* The bottom folders open upward so they don't run into the taskbar */
    .start-group:nth-last-of-type(-n+2) > .start-sub { top: auto; bottom: -6px; }
}
@media (max-width: 720px) {
    /* Never taller than the space between the site header and the taskbar (dvh = the screen space Safari actually shows,
       so it doesn't slide up under the address bar on small iPhones). Scrolls if it needs more. */
    .start-menu { width: min(290px, calc(100vw - 16px)); }
    /* (Oct 30 2026) Only the list scrolls, not the whole menu, so the LunarOS stripe + the moon emblem
       stay put at the bottom. (When the whole menu scrolled, the emblem rode up onto the word.) */
    .start-list { max-height: calc(100vh - 146px); max-height: calc(100dvh - 146px); overflow-y: auto; overscroll-behavior: contain; }
    /* (Oct 30 2026) A plain column instead of a grid: Safari squished the rows of a grid that scrolls,
       so the lines ran into Find files + Dial Up. Every row is the same height, with even space around the lines. */
    .start-list { display: flex; flex-direction: column; }
    .start-list > * { flex-shrink: 0; }
    .start-list > a, .start-list .start-parent { min-height: 40px; }
    .start-list > hr { margin: 6px 0; }
    /* (Oct 30 2026) Shorter rows on small phones (iPhone mini and similar), so more of the menu fits */
    @media (max-height: 760px) {
        .start-list > a, .start-list .start-parent { min-height: 34px; padding-top: 4px; padding-bottom: 4px; }
        .start-list > hr { margin: 3px 0; }
    }
    /* When the menu still doesn't fit: a slim scroll bar on the right + a soft fade at the bottom
       so it's clear there's more. Only shows when it can scroll (assets/js/site.js "start-scroll"). */
    .start-list { scrollbar-width: none; }
    .start-list::-webkit-scrollbar { display: none; }
    .start-scroll { position: absolute; right: 3px; width: 5px; border-radius: 3px; background: color-mix(in srgb, var(--lav-dark) 45%, transparent); pointer-events: none; }
    .start-scroll i { position: absolute; left: 0; right: 0; border-radius: 3px; background: var(--plum); opacity: .75; }
    .start-scroll[hidden] { display: none; }
    .start-fade { position: absolute; right: 0; height: 34px; pointer-events: none; background: linear-gradient(to bottom, color-mix(in srgb, var(--paper) 0%, transparent), var(--paper)); transition: opacity .2s; }
    .start-fade.is-off { opacity: 0; }
    html.start-open, html.start-open body { overscroll-behavior: none; }   /* (Oct 30 2026: no bounce behind the open Start menu) */
    .start-list a, .start-parent { padding-top: 7px; padding-bottom: 7px; }
    .start-sub { margin: 2px 0 6px 18px; border-width: 0 0 0 3px; border-color: var(--lav-dark); outline: 0; box-shadow: none; background: transparent; }
    .start-parent[aria-expanded="true"] .start-arrow { transform: rotate(90deg); }
    /* Opening a folder shows ONLY that folder, with its name as a Back row on top */
    .start-menu.is-drilled .start-list > :not(.is-open) { display: none; }
    .start-menu.is-drilled .start-group.is-open > .start-parent { margin-bottom: 4px; border-bottom: 2px solid var(--lav-dark); background: var(--lav); color: var(--plum); font-weight: 700; }
    .start-menu.is-drilled .start-group.is-open > .start-parent .start-arrow { order: -1; margin: 0 -4px 0 0; transform: rotate(180deg); }
    .start-menu.is-drilled .start-group.is-open > .start-parent::after { content: "Back"; margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--peri-deep); }
    .start-menu.is-drilled .start-sub { margin: 0; border: 0; }
}

/* =====================================================================
   PUFFY, the (un)helpful assistant (assets/js/puffy.js)
   ===================================================================== */
.puffy { position: fixed; left: 14px; bottom: 70px; z-index: 60; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: min(300px, calc(100vw - 28px)); animation: pf-in 0.6s cubic-bezier(.3,1.5,.5,1); }
.puffy.pf-leave { animation: pf-out 0.45s ease-in forwards; }
@keyframes pf-in { from { transform: translateY(40px) scale(0.6); opacity: 0; } }
@keyframes pf-out { to { transform: translateY(30px) scale(0.6); opacity: 0; } }
.pf-bubble { position: relative; padding: 12px 14px 10px; border: 2px solid #5E3F7A; border-radius: 12px; background: #FFFFE8; color: var(--ink); box-shadow: 4px 4px 0 rgba(43,42,94,0.25); font-size: 13.5px; line-height: 1.45; }
.pf-bubble[hidden] { display: none; }
.pf-bubble::after { content: ""; position: absolute; left: 34px; bottom: -11px; width: 18px; height: 18px; border: solid #5E3F7A; border-width: 0 2px 2px 0; background: #FFFFE8; transform: rotate(45deg) skew(10deg, 10deg); }
.pf-x { position: absolute; right: 4px; top: 2px; width: 22px; height: 22px; padding: 0; border: 0; background: none; color: #7A6696; font: 700 18px/1 var(--body); cursor: pointer; }
.pf-say { padding-right: 16px; }
.pf-btns { display: flex; flex-wrap: nowrap; gap: 6px; margin-top: 10px; }   /* (both answers on one line) */
.pf-btns[hidden] { display: none; }
.pf-b { flex: 0 1 auto; min-width: 0; white-space: nowrap; padding: 5px 12px; border: 2px solid; border-color: var(--bevel-out); outline: 1px solid var(--lav-dark); background: var(--white); color: var(--plum); font: 700 12.5px var(--body); cursor: pointer; }
.pf-b:hover { background: var(--lime); }
.pf-foot { margin-top: 8px; color: #A58BC0; font-size: 11.5px; }
.pf-foot[hidden] { display: none; }
.pf-foot button { padding: 0; border: 0; background: none; color: #7A6696; font: 400 11.5px var(--body); text-decoration: underline; cursor: pointer; }
.pf-cloud { position: relative; z-index: 1; width: 92px; margin-top: 6px; padding: 0; border: 0; background: none; cursor: pointer; animation: wx-bob 3s ease-in-out infinite; filter: drop-shadow(3px 5px 0 rgba(43,42,94,0.25)); }
.pf-cloud svg { display: block; width: 100%; }
.pf-eyes { animation: pf-blink 5s infinite; transform-origin: 57px 40px; }
@keyframes pf-blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.1); } }
/* Puffy writing back to a letter: the "…" bubble by his head */
.pf-typing circle { animation: pf-tdot 1.4s infinite; } .pf-typing circle:nth-of-type(2) { animation-delay: .2s; } .pf-typing circle:nth-of-type(3) { animation-delay: .4s; }
@keyframes pf-tdot { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
/* Yawn (10pm-midnight) and dizzy (scrolling like crazy / the rocket): assets/js/puffy.js */
.pf-yawn-m { transform-box: fill-box; transform-origin: center; animation: pf-yawn 2.6s ease-in-out forwards; }
@keyframes pf-yawn { 0% { transform: scale(1); } 25%, 75% { transform: scale(1.9, 2.6); } 100% { transform: scale(1); } }
.pf-yawn-t { opacity: 0; animation: pf-yawn-t 2.6s ease-in-out forwards; }
@keyframes pf-yawn-t { 0%, 30% { opacity: 0; transform: translateY(0); } 50%, 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6px); } }
.pf-swirl { transform-box: fill-box; transform-origin: center; animation: pf-spin 1.4s linear infinite; }
@keyframes pf-spin { to { transform: rotate(360deg); } }
.puffy.pf-dizzy .pf-cloud svg { transform-origin: 50% 80%; animation: pf-wob 1.1s ease-in-out 3; }
@keyframes pf-wob { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-7deg); } 75% { transform: rotate(7deg); } }
@media (prefers-reduced-motion: reduce) { .pf-yawn-m, .pf-yawn-t, .pf-swirl, .puffy.pf-dizzy .pf-cloud svg { animation: none; } .pf-yawn-t { opacity: 1; } }
@media (max-width: 720px) { .puffy { bottom: 64px; } .pf-cloud { width: 72px; margin-top: 16px; } }   /* (phones: a little more room under the bubble so he can float without bumping it) */
.puffy.pf-peek .pf-bubble { display: none; }   /* (resting: just Puffy, no speech bubble, until he's clicked) */
/* Peek mode (phones): just his face peeking in from the left edge, tilted, until he's tapped */
@media (max-width: 720px) {
    .puffy.pf-peek { left: 0; bottom: 110px; }
    .puffy.pf-peek .pf-bubble { display: none; }
    /* (Oct 30 2026) Snappier in and out: he used to jump up/down first, THEN slide, so it felt late.
       Now both happen together and quicker. No grey tap box on him either. */
    .puffy { transition: bottom .2s ease-out; }
    .puffy .pf-cloud { transition: translate .2s cubic-bezier(.3,1.3,.5,1), rotate .2s ease-out; touch-action: manipulation; }
    .puffy, .puffy * { -webkit-tap-highlight-color: transparent; }
    .puffy.pf-peek .pf-cloud { translate: -30% 0; rotate: 10deg; }   /* (about two-thirds of him shows, so he reads as a cloud with a face) */
}

/* =====================================================================
   BOOT SCREEN + SHUT DOWN (assets/js/boot.js)
   ===================================================================== */
html.is-booting body { background: #0B0A18 !important; }
html.is-booting body > *:not(#boot) { visibility: hidden; }
.boot { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 24px; background: #0B0A18; color: #CFCBEF; cursor: pointer; }
.boot-out { animation: boot-out 0.6s ease forwards; }
@keyframes boot-out { to { opacity: 0; } }
.boot-bios { width: min(100%, 640px); font: 400 15px/1.7 var(--body); }
.boot-bios p { white-space: pre-wrap; animation: boot-line 0.12s steps(2); }
@keyframes boot-line { from { opacity: 0; } }
.boot-bios b.ok { color: #7FE08A; }
.boot-bios b.hmm { color: #FFD166; }
.boot-bios p:first-child { margin-bottom: 12px; color: #E1F66B; font-weight: 700; }
.boot-skip { position: absolute; bottom: 20px; left: 0; right: 0; color: #5E5A8A; font-size: 12.5px; text-align: center; }
.boot-splash, .shut-splash { display: grid; justify-items: center; gap: 14px; text-align: center; animation: boot-line 0.6s ease; }
.boot-logo { display: flex; align-items: center; gap: 10px; color: #fff; font: 800 clamp(44px, 10vw, 76px)/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; text-shadow: 0 0 30px rgba(155,160,255,0.5); }
.boot-logo span { padding: 2px 10px; border: 3px solid; border-color: #F4FBC8 #9DB02E #9DB02E #F4FBC8; background: #E1F66B; color: #2B2A5E; font: 700 clamp(16px, 3vw, 22px) var(--body); text-shadow: none; }
.boot-tag { color: #A9A4E0; font-size: 14px; letter-spacing: 0.08em; }
.boot-bar { width: min(80vw, 300px); height: 22px; padding: 3px; border: 2px solid #5E5A8A; background: #15132B; }
.boot-bar span { display: block; width: 0; height: 100%; background: repeating-linear-gradient(90deg, #E1F66B 0 12px, transparent 12px 16px); transition: width 0.35s steps(6, end); }
.boot-pct { color: #CFCBEF; font-size: 13px; }
.shut-win { width: min(100%, 400px); }
.shut-row { display: flex; gap: 16px; align-items: flex-start; }
.shut-icon { font-size: 44px; line-height: 1.2; }
.shut-q { margin-bottom: 8px; color: var(--plum); font-weight: 700; }
.shut-opt { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; color: var(--ink); font-size: 14.5px; cursor: pointer; }
.shut-opt input { margin-top: 4px; accent-color: var(--plum); }
.shut-opt small { color: #A58BC0; }
.shut-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.shut-btns .btn { min-width: 90px; padding: 8px 14px; font-size: 13px; }
.shutdown { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 24px; background: #0B0A18; animation: boot-line 0.5s ease; }
.shut-safe { display: grid; justify-items: center; gap: 12px; text-align: center; animation: boot-line 0.8s ease; }
.shut-safe p:first-child { color: #FF9A3C; font: 700 clamp(20px, 4.5vw, 30px) var(--body); letter-spacing: 0.02em; }
.shut-small { color: #6E6A9A; font-size: 13.5px; }
.shut-power { margin-top: 20px; padding: 8px 16px; border: 2px solid #3A3766; background: none; color: #8C88C0; font: 700 13px var(--body); cursor: pointer; }
.shut-power:hover { border-color: #E1F66B; color: #E1F66B; }
.start-shutdown { color: var(--plum); }

/* =====================================================================
   MY COMPUTER / SYSTEM PROPERTIES (assets/js/my-computer.js)
   ===================================================================== */
.mycomp-win { width: min(100%, 540px); max-height: 90vh; display: flex; flex-direction: column; }
.mycomp-win .win-body { display: grid; gap: 12px; padding: 14px 18px 18px; overflow-y: auto; }
.mycomp-win .display-tabs span { margin-bottom: -2px; padding: 5px 12px; border: 2px solid var(--lav-dark); border-bottom: 0; background: var(--lav); color: #A58BC0; font-size: 12.5px; font-weight: 700; }
.mycomp-win .display-tabs span.on { background: var(--paper); color: var(--plum); border-bottom: 2px solid var(--paper); }
.mycomp-top { display: flex; gap: 16px; align-items: center; }
.mycomp-pc { position: relative; font-size: 64px; line-height: 1.2; }
.mycomp-pc span { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); font-size: 24px; }
.mycomp-os { color: var(--plum); font: 800 30px var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.mycomp-os span { margin-left: 8px; padding: 1px 8px; background: var(--lime); color: var(--ink); font: 700 14px var(--body); vertical-align: 6px; }
.mycomp-sub { color: #7A6696; font-size: 12.5px; }
.mycomp-specs { display: grid; gap: 0; margin: 0; padding: 10px 12px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.mycomp-specs div { display: grid; grid-template-columns: 140px 1fr; gap: 8px; padding: 4px 0; border-bottom: 1px dotted var(--lav-mid); font-size: 13.5px; }
.mycomp-specs div:last-child { border-bottom: 0; }
.mycomp-specs dt { color: #7A6696; font-weight: 700; }
.mycomp-specs dd { margin: 0; color: var(--ink); }
.mycomp-task { display: grid; gap: 6px; }
.mycomp-task[hidden] { display: none; }
.mycomp-task-label { color: var(--plum); font-size: 13px; }
.mycomp-bar { width: 100%; border-color: var(--lav-dark); background: var(--white); }
.mycomp-msg { color: var(--plum); font-weight: 700; font-size: 14px; }
.mycomp-msg:empty { display: none; }
.mycomp-win .shut-btns { flex-wrap: wrap; }
.mycomp-win .btn:disabled { opacity: 0.5; cursor: wait; }
@media (max-width: 480px) { .mycomp-specs div { grid-template-columns: 1fr; gap: 0; } }

/* Homepage desktop: on big screens the hero stretches edge to edge, icons are scattered
   around the welcome window, and the stickers live in the right-hand area.
   Phones and tablets: no desktop icons (cleaner). */
@media (min-width: 1081px) {
    .desk-hero { width: 100%; margin-left: 0; padding: 0 clamp(16px, 2vw, 32px); grid-template-columns: minmax(260px, 1fr) minmax(0, 640px) minmax(300px, 1.3fr); }
    .win-welcome { grid-column: 2; grid-row: 1; }
    .desk-hero .collage { grid-area: 1 / 3 / 2 / 4; align-self: stretch; justify-self: stretch; }
    .desk-icons { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 640px) minmax(300px, 1.3fr); column-gap: 28px; padding: 0 clamp(16px, 2vw, 32px); pointer-events: none; align-self: stretch; justify-self: stretch; grid-area: 1 / 1 / -1 / -1; }
    .desk-zone { position: relative; }
    .desk-zone-l { grid-column: 1; }
    .desk-zone-r { grid-column: 3; }
    .desk-icon { position: absolute; left: min(var(--ix), calc(100% - 96px)); top: min(var(--iy), calc(100% - 90px)); width: 96px; pointer-events: auto; touch-action: none; user-select: none; }
    .desk-icon.is-dragging { z-index: 5; opacity: 0.85; cursor: grabbing; }
    .desk-icon.is-dragging .di-label { background: var(--plum); outline: 1px dotted var(--lime); }
}
@media (min-width: 1081px) and (max-width: 1320px) {   /* narrower laptops: slightly smaller icons and stickers */
    .desk-icon { width: 84px; } .desk-icon .di-img { font-size: 32px; } .desk-icon .di-label { font-size: 12px; }
    .desk-hero .stk-photo { width: 15vw; } .desk-hero .stk-case { width: 9.5vw; }
}
@media (max-width: 1080px) { .desk-icons { display: none !important; } }

/* My Computer: working tabs, Device Manager, Performance */
.mycomp-win .display-tabs button { margin-bottom: -2px; padding: 5px 12px; border: 2px solid var(--lav-dark); border-bottom: 0; background: var(--lav); color: #A58BC0; font: 700 12.5px var(--body); cursor: pointer; }
.mycomp-win .display-tabs button.on { background: var(--paper); color: var(--plum); border-bottom: 2px solid var(--paper); }
.mc-panel { display: grid; gap: 12px; }
.mc-panel[hidden] { display: none; }
.mc-ok { align-items: center; flex-wrap: wrap; }
.mc-gen-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-right: auto; }
.mc-gen-btns[hidden] { display: none; }
.mycomp-specs div { padding: 3px 0; }
@media (max-width: 480px) { .mycomp-win .mycomp-specs div { grid-template-columns: 112px minmax(0, 1fr); gap: 6px; font-size: 12.5px; } .mycomp-win .mycomp-specs { padding: 6px 10px; } }   /* phones: label and answer side by side so the list stays short */
.mc-ok { flex: none; margin: 0; padding: 10px 18px 14px; border-top: 1px solid var(--lav-mid); background: var(--paper); }   /* OK stays at the bottom of the window, never scrolled away */
.mc-hint { color: #7A6696; font-size: 12.5px; }
.mc-tree { max-height: 240px; overflow-y: auto; padding: 8px 10px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); font-size: 13.5px; }
.mc-root { color: var(--plum); font-weight: 700; }
.mc-cat { margin-left: 12px; }
.mc-cat summary { padding: 2px 4px; color: var(--ink); cursor: pointer; }
.mc-cat summary::marker { color: #A58BC0; }
.mc-cat ul { margin: 0 0 4px 22px; padding: 0; list-style: none; border-left: 1px dotted var(--lav-dark); }
.mc-dev { display: flex; align-items: center; gap: 6px; width: 100%; padding: 2px 8px; border: 0; background: none; color: var(--ink); font: 400 13.5px var(--body); text-align: left; cursor: pointer; }
.mc-dev:hover, .mc-dev.is-on { background: var(--plum); color: var(--white); }
.mc-st { width: 16px; font-size: 12px; text-align: center; }
.mc-detail { padding: 10px 12px; border: 2px dashed var(--lav-dark); background: #FBF8FF; }
.mc-detail-name { color: var(--plum); font-weight: 700; }
.mc-detail-status { color: var(--ink); font-size: 13.5px; }
.mc-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mc-meter { display: grid; gap: 4px; padding: 10px; border: 3px solid; border-color: var(--bevel-in); background: #120F2B; }
.mc-meter p { display: flex; justify-content: space-between; color: #CFCBEF; font-size: 13px; }
.mc-meter b { color: #E1F66B; }
.mc-track { height: 14px; background: #1E1B3E; }
.mc-track span { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, #7FE08A 0 8px, transparent 8px 11px); transition: width 0.8s ease; }
.mc-meter.is-low .mc-track span { background: repeating-linear-gradient(90deg, #FF9A3C 0 8px, transparent 8px 11px); }
.mc-meter small { color: #8C88C0; font-size: 11.5px; line-height: 1.35; }
.mc-meter small a { color: #E1F66B; }
@media (max-width: 480px) { .mc-meters { grid-template-columns: 1fr; } }

/* =====================================================================
   NIGHT OWL MODE (assets/js/owl.js), 2 to 5am
   ===================================================================== */
html.is-owl body::before { content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at 80% 10%, rgba(255,240,180,0.10), transparent 40%), rgba(8,6,28,0.45); }
html.is-owl-dim body::before { background: rgba(8,6,28,0.62); }
html.is-owl body.moon-full::before { top: 0; right: 0; bottom: 0; left: 0; width: auto; height: auto; border-radius: 0; animation: none; }   /* (Nov 24 2026) full moon + late night: both use this layer. The night dim wins and covers the whole screen (it was taking the moon's round shape: a big dark circle) */
.owl-stars { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.owl-stars span { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; box-shadow: 0 0 4px #fff; animation: twinkle 3s ease-in-out infinite; }
.tray-owl { display: inline-grid; place-items: center; width: 20px; height: 20px; margin: 0; font-size: 17px; line-height: 1; }   /* same box as the other tray icons, so the spacing matches */
.owl-win { width: min(100%, 420px); background: #16133A; border-color: #3D3780 #0B0920 #0B0920 #3D3780; }
.owl-win .win-bar { background: linear-gradient(90deg, #2B2A5E, #45489E); }
.owl-win .win-title { color: #F1ECFF; }
.owl-win .win-body { display: grid; justify-items: center; gap: 8px; padding: 22px 20px; text-align: center; background: radial-gradient(circle at 50% 0%, #2B2A5E, #16133A 70%); }
.owl-moon { font-size: 64px; line-height: 1.2; filter: drop-shadow(0 0 16px rgba(255,230,140,0.6)); animation: wx-bob 3s ease-in-out infinite; }
.owl-time { color: #A9A4E0; font-size: 13px; letter-spacing: 0.06em; }
.owl-q b { color: #FFF6C8; font: 800 26px var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.owl-sub { color: #A9A4E0; font-size: 13px; font-style: italic; }
.owl-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.owl-btns[hidden] { display: none; }
.owl-btns .btn { padding: 8px 12px; font-size: 12.5px; }
.owl-reply { color: #E1F66B; font-weight: 700; font-size: 14.5px; }
.owl-reply:empty { display: none; }

/* Trademark mark after LunarOS */
.tm { margin-left: 1px; font-size: 0.5em; line-height: 0; vertical-align: super; font-weight: 700; }
.start-side .tm { font-size: 0.45em; }
.boot-logo { gap: 0; } .boot-logo .tm { align-self: flex-start; margin: 0.35em 0 0 2px; font-size: 0.32em; line-height: 1; }

/* Product card buttons keep their own color on hover (in every seasonal theme) */
.pcard-btn:hover { background: var(--peri); filter: brightness(1.15); }
.pcard.is-soon .pcard-btn:hover { background: #1E1D2B; filter: brightness(1.4); }
.pcard.is-sold .pcard-btn:hover { background: #E6E2FA; filter: none; }

/* =====================================================================
   COOKIE NOTICE (assets/js/cookies.js)
   ===================================================================== */
.cookie-win { position: fixed; left: 50%; bottom: 72px; z-index: 640; width: min(520px, calc(100vw - 24px)); transform: translateX(-50%); animation: ck-in 0.45s cubic-bezier(.3,1.4,.5,1); }
.cookie-win.ck-out { animation: ck-out 0.35s ease-in forwards; }
@keyframes ck-in { from { transform: translate(-50%, 30px); opacity: 0; } }
@keyframes ck-out { to { transform: translate(-50%, 30px); opacity: 0; } }
.cookie-win .win-body { display: grid; gap: 12px; padding: 14px 16px; }
.ck-text { color: var(--ink); font-size: 13.5px; line-height: 1.5; }
.ck-text b { color: var(--plum); }
.ck-text a { color: var(--peri-deep); font-weight: 700; }
.ck-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-btns .btn { padding: 8px 14px; font-size: 12.5px; }
.footer-small a { color: inherit; text-decoration: underline; }
@media (max-width: 520px) { .ck-btns .btn { flex: 1 1 100%; } }

/* =====================================================================
   NEWSLETTER "UPDATE AVAILABLE" POP-UP (assets/js/newsletter.js)
   ===================================================================== */
.news-win { position: fixed; left: 16px; top: 84px; z-index: 630; width: min(340px, calc(100vw - 24px)); animation: news-in 0.5s cubic-bezier(.3,1.4,.5,1); }
.news-win.news-out { animation: news-out 0.4s ease-in forwards; }
@keyframes news-in { from { transform: translateX(-110%); } }
@keyframes news-out { to { transform: translateX(-110%); opacity: 0; } }
.news-win .win-body { display: grid; gap: 10px; padding: 14px 16px 12px; }
.news-top { display: flex; gap: 12px; align-items: center; }
.news-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 3px solid; border-color: var(--bevel-in); background: #1E1D2B; font-size: 26px; line-height: 1.2; }
.news-h { color: var(--plum); font: 800 18px/1.1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.news-v { color: #7A6696; font-size: 12.5px; }
.news-v b { color: var(--pink); }
.news-inc { color: var(--ink); font-size: 13px; font-weight: 700; }
.news-list { margin: 0; padding-left: 18px; color: var(--ink); font-size: 13px; line-height: 1.55; }
.news-list[hidden] { display: none; }
.news-form { display: grid; gap: 8px; }
.news-form[hidden] { display: none; }
.news-form input { width: 100%; padding: 10px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); color: var(--ink); font: 400 15px var(--body); }
.news-form .btn { width: 100%; padding: 10px; font-size: 13px; }
.news-err { color: var(--pink); font-size: 12.5px; font-weight: 700; }
.news-task { display: grid; gap: 6px; }
.news-task[hidden] { display: none; }
.news-task-label { color: var(--plum); font-size: 12.5px; }
.news-later { color: #A58BC0; font-size: 12px; text-align: center; }
.news-later[hidden] { display: none; }
.news-later button { padding: 0; border: 0; background: none; color: #7A6696; font: 400 12px var(--body); text-decoration: underline; cursor: pointer; }
@media (max-width: 720px) { .news-win { right: 12px; left: 12px; top: 72px; width: auto; } }

/* =====================================================================
   RECYCLE BIN (homepage desktop, assets/js/site.js)
   ===================================================================== */
.desk-icon.is-dragging { z-index: 20; transition: none; }
.desk-icon.is-trashed { animation: trashed 0.4s ease-in forwards; }
@keyframes trashed { to { transform: scale(0.1) rotate(200deg); opacity: 0; } }
[data-bin].is-target .di-img { transform: scale(1.3) rotate(-8deg); filter: drop-shadow(0 0 10px var(--lime)); }
[data-bin].is-target .di-label { background: var(--lime); color: var(--ink); text-shadow: none; }
[data-bin] .di-img { transition: transform 0.15s; }
[data-bin].is-gulp .di-img { animation: gulp 0.5s; }
@keyframes gulp { 30% { transform: scale(1.35, 0.8); } 60% { transform: scale(0.9, 1.15); } }
[data-bin].is-full .di-img::after { content: "📄"; position: absolute; margin: -6px 0 0 -18px; font-size: 16px; transform: rotate(-20deg); }
[data-bin] .di-img { position: relative; }
.bin-win { width: min(100%, 420px); }
.bin-win .win-body { display: grid; gap: 12px; }
.bin-list { display: grid; gap: 0; margin: 0; padding: 6px 10px; list-style: none; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.bin-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px dotted var(--lav-mid); color: var(--ink); font-size: 14px; }
.bin-list li:last-child { border-bottom: 0; }
.bin-list li span { font-size: 22px; line-height: 1.2; }
.bin-list li span svg { display: block; width: 1.15em; height: 1.15em; }   /* (the moon emblem icon, Lunar Haze Online) */
.bin-list .btn { margin-left: auto; padding: 5px 10px; font-size: 12px; }
.bin-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.bin-btns .btn { padding: 7px 12px; font-size: 12.5px; }
.bin-empty { padding: 20px 10px; color: var(--plum); text-align: center; }
.bin-empty small { color: #7A6696; }
.bin-msg { color: var(--plum); font-size: 13.5px; font-weight: 700; }
.bin-msg:empty { display: none; }
.bin-msg .btn { margin-left: 6px; padding: 5px 10px; font-size: 12px; }

/* =====================================================================
   HAZE FM, the retro music player (assets/js/player.js)
   ===================================================================== */
.tray-sound { display: inline-flex; align-items: center; justify-content: center; height: 22px; margin: 0; padding: 0 2px; border: 0; background: none; font-size: 13.5px; line-height: 1; cursor: pointer; }
.tray-sound.is-popped::after { content: "⧉"; margin-left: 2px; color: var(--plum); font-size: 10px; }
.tray-sound.is-playing { animation: wx-bob 1s ease-in-out infinite; }
.hfm { position: fixed; right: 16px; bottom: 64px; z-index: 72; width: 330px; max-width: calc(100vw - 16px); border: 2px solid; border-color: var(--hfm-hi) var(--hfm-lo) var(--hfm-lo) var(--hfm-hi); background: var(--hfm-bg); box-shadow: 6px 6px 0 rgba(0,0,0,0.35); color: var(--hfm-ink); font: 700 11px var(--body); user-select: none; }
.hfm[hidden] { display: none; }
.hfm-bar { display: flex; align-items: center; justify-content: space-between; padding: 3px 4px 3px 8px; background: linear-gradient(90deg, var(--hfm-bar1), var(--hfm-bar2)); color: #fff; font-size: 10.5px; letter-spacing: 0.12em; cursor: grab; }
.hfm-bar-btns { display: flex; gap: 3px; }
.hfm-bar button { width: 16px; height: 14px; padding: 0; border: 1px solid; border-color: #9C9ACC #1A1930 #1A1930 #9C9ACC; background: var(--hfm-btn); color: var(--hfm-accent); font: 700 11px/1 var(--body); cursor: pointer; }
.hfm-main { display: grid; gap: 6px; padding: 6px; }
.hfm-lcd { display: flex; gap: 6px; padding: 5px; border: 2px solid; border-color: #0E0D1A #55537A #55537A #0E0D1A; background: var(--hfm-lcd); }
.hfm-viz { flex: none; width: 90px; height: 38px; }
.hfm-info { flex: 1; min-width: 0; display: grid; gap: 1px; }
.hfm-time { color: var(--hfm-text); font: 700 20px/1 var(--body); letter-spacing: 0.06em; text-shadow: 0 0 6px rgba(155,227,74,0.6); }
.hfm-marquee { overflow: hidden; white-space: nowrap; color: var(--hfm-text); font-size: 11px; }
.hfm-title { display: inline-block; padding-left: 100%; animation: hfm-scroll 12s linear infinite; }
.hfm:not(.is-playing) .hfm-title { animation-play-state: paused; padding-left: 0; }
@keyframes hfm-scroll { to { transform: translateX(-100%); } }
.hfm-meta { display: flex; gap: 6px; color: var(--hfm-dim); font-size: 9.5px; }
.hfm-state { margin-left: auto; color: var(--hfm-accent); }
.hfm-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }
.hfm-controls > button { width: 26px; height: 20px; padding: 0; border: 2px solid; border-color: #8C8AB0 #1A1930 #1A1930 #8C8AB0; background: var(--hfm-btn); color: #fff; font-size: 10px; line-height: 1; cursor: pointer; }
.hfm-controls > button:active { border-color: #1A1930 #8C8AB0 #8C8AB0 #1A1930; }
.hfm-controls .hfm-toggle { width: auto; padding: 0 4px; color: var(--hfm-muted); font: 700 9px var(--body); }
.hfm-controls .hfm-toggle[aria-pressed="true"] { color: var(--hfm-text); }
.hfm-vol { display: flex; align-items: center; gap: 3px; margin: 0 2px; color: var(--hfm-muted); font-size: 9px; }
.hfm-vol input { width: 46px; accent-color: var(--hfm-text); }
.hfm-list { max-height: 120px; margin: 0 6px 6px; padding: 3px; overflow-y: auto; list-style: none; border: 2px solid; border-color: #0E0D1A #55537A #55537A #0E0D1A; background: var(--hfm-lcd); }
.hfm.no-list .hfm-list { display: none; }
.hfm-list button { display: flex; width: 100%; padding: 2px 4px; border: 0; background: none; color: var(--hfm-text); font: 400 11px var(--body); text-align: left; cursor: pointer; }
.hfm-list button:hover { background: var(--hfm-hover); }
.hfm-list button.is-on { background: var(--hfm-sel); color: var(--hfm-accent); }
.hfm-n { width: 20px; color: var(--hfm-dim); }
.hfm-len { margin-left: auto; color: var(--hfm-dim); }
/* Puff FM color schemes */
.hfm { --hfm-bg: #2B2A3E; --hfm-hi: #6A6890; --hfm-lo: #1A1930; --hfm-bar1: #5E3F7A; --hfm-bar2: #5B5FC7; --hfm-lcd: #0B0A14; --hfm-text: #9BE34A; --hfm-dim: #6FA84A; --hfm-accent: #E1F66B; --hfm-btn: #4A4868; --hfm-hover: #1E2A12; --hfm-sel: #2A3D16; --hfm-ink: #CFCBEF; --hfm-muted: #9C9ACC; --hfm-viz1: #9BE34A; --hfm-viz2: #FFD166; --hfm-viz3: #FF4F9A; }
.hfm[data-skin="lunar"] { --hfm-bg: #D9CFF0; --hfm-hi: #FFFFFF; --hfm-lo: #8C7FB8; --hfm-bar1: #5E3F7A; --hfm-bar2: #5B5FC7; --hfm-lcd: #2B2A5E; --hfm-text: #E1F66B; --hfm-dim: #B8C46A; --hfm-accent: #FFFFFF; --hfm-btn: #5B5FC7; --hfm-hover: #3B3A78; --hfm-sel: #4A4EB5; --hfm-ink: #2B2A5E; --hfm-muted: #5E3F7A; --hfm-viz1: #E1F66B; --hfm-viz2: #A9ACF5; --hfm-viz3: #F29DC0; }
.hfm[data-skin="bubblegum"] { --hfm-bg: #F7B6D2; --hfm-hi: #FFE4F0; --hfm-lo: #B0245E; --hfm-bar1: #C2407E; --hfm-bar2: #F08DB8; --hfm-lcd: #4A1030; --hfm-text: #FFD3E6; --hfm-dim: #E88BB4; --hfm-accent: #FFFFFF; --hfm-btn: #C2407E; --hfm-hover: #6B1A45; --hfm-sel: #8A2458; --hfm-ink: #4A1030; --hfm-muted: #7A2450; --hfm-viz1: #FFD3E6; --hfm-viz2: #FF8AC0; --hfm-viz3: #FFFFFF; }
.hfm[data-skin="emo"] { --hfm-bg: #111111; --hfm-hi: #3A3A3A; --hfm-lo: #000000; --hfm-bar1: #000000; --hfm-bar2: #3A3A3A; --hfm-lcd: #000000; --hfm-text: #FF4F9A; --hfm-dim: #A83268; --hfm-accent: #FF4F9A; --hfm-btn: #2A2A2A; --hfm-hover: #2A0F1C; --hfm-sel: #3D1428; --hfm-ink: #E8E8E8; --hfm-muted: #9A9A9A; --hfm-viz1: #FF4F9A; --hfm-viz2: #C23A7A; --hfm-viz3: #FFFFFF; }
.hfm[data-skin="slime"] { --hfm-bg: #1F3A1C; --hfm-hi: #4E7A45; --hfm-lo: #0E1C0C; --hfm-bar1: #2E6B2A; --hfm-bar2: #6FBF4A; --hfm-lcd: #0A1408; --hfm-text: #E1F66B; --hfm-dim: #9BB84A; --hfm-accent: #E1F66B; --hfm-btn: #3E6A38; --hfm-hover: #1C2E10; --hfm-sel: #2A4418; --hfm-ink: #DDF0C4; --hfm-muted: #9BC48A; --hfm-viz1: #6FBF4A; --hfm-viz2: #E1F66B; --hfm-viz3: #FFFFFF; }
.hfm[data-skin="sunset"] { --hfm-bg: #5A2438; --hfm-hi: #8A4A5E; --hfm-lo: #2A0E18; --hfm-bar1: #D2553C; --hfm-bar2: #F2A65A; --hfm-lcd: #1E0A10; --hfm-text: #FFB347; --hfm-dim: #C07A3A; --hfm-accent: #FFD166; --hfm-btn: #7A3448; --hfm-hover: #3A1420; --hfm-sel: #4E1C2A; --hfm-ink: #FFE0CC; --hfm-muted: #E8A890; --hfm-viz1: #FFB347; --hfm-viz2: #F2745A; --hfm-viz3: #FFD166; }
.hfm-skins { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 6px 6px; padding: 5px; border: 2px solid; border-color: var(--hfm-lo) var(--hfm-hi) var(--hfm-hi) var(--hfm-lo); background: var(--hfm-lcd); }
.hfm-skins[hidden] { display: none; }
.hfm-skins button { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border: 1px solid var(--hfm-dim); background: none; color: var(--hfm-text); font: 400 10.5px var(--body); cursor: pointer; }
.hfm-skins button[aria-pressed="true"] { background: var(--hfm-sel); border-color: var(--hfm-accent); }
.hfm-skins i { display: inline-block; width: 16px; height: 10px; border: 1px solid rgba(255,255,255,0.3); background: linear-gradient(90deg, var(--a) 50%, var(--b) 50%); }
@media (max-width: 720px) { .hfm { right: 8px; left: 8px; width: auto; } }

/* Haze FM pop-out window (/player/) */
.hfm-popup-page { margin: 0; padding: 0; min-height: 100vh; background: #1B1A28; }
.hfm-popup-page::before, .hfm-popup-page::after { display: none !important; }
.hfm.hfm-popup { position: static; width: 100%; max-width: none; min-height: 100vh; border: 0; box-shadow: none; display: flex; flex-direction: column; }
.hfm.hfm-popup .hfm-bar { cursor: default; }
.hfm.hfm-popup .hfm-list { flex: 1; max-height: none; }

/* Nonstop music frame (assets/js/player.js): the site runs inside a full-screen frame, the player floats on top */
#puff-shell { position: fixed; inset: 0; z-index: 71; width: 100%; height: 100%; border: 0; background: var(--wallpaper); opacity: 0; transition: opacity 0.25s; transform: translateZ(0); will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }   /* (its own drawing layer: Safari tore the page into strips while scrolling inside the music frame) */
html.puff-shell #puff-shell { opacity: 1; }
html.puff-shell-ready #puff-shell { transition: none; will-change: auto; }   /* (fade done: nothing left to animate) */
html.puff-shell, html.puff-shell body { overflow: hidden; }
html.puff-shell body > *:not(#puff-shell):not(#puff-fm) { display: none !important; }
html.puff-shell body::before, html.puff-shell body::after { display: none !important; }
html.puff-shell .hfm { bottom: 64px; }

/* Where the pop-up windows open on computers, so they don't pile up in one corner:
   Hotbox = bottom left (next to its taskbar button), Puff FM = top right, newsletter = top left,
   toasts/achievements = bottom right, cookie notice = bottom center. */
@media (min-width: 721px) {
    .hb { left: 16px; right: auto; }
    .hfm:not(.hfm-popup) { right: 16px; left: auto; top: 96px; bottom: auto; }
    /* Keep Puff FM its normal height once the music starts. (Without this, the
       "bottom: 64px" rule for the music frame stretched it down the whole screen.) */
    html.puff-shell .hfm:not(.hfm-popup) { bottom: auto; }
}

/* Tray icons (🔊 and the weather cloud): same size, same line */
.tray-weather { display: inline-flex; align-items: center; gap: 6px; }
.tray-ico { display: inline-grid; place-items: center; width: 20px; height: 20px; font-size: 17px; line-height: 1; }
.tray-sound { height: 20px; padding: 0; }
.tray-sound.is-popped::after { margin-left: 1px; }
/* Every tray icon (👥 📪 🔊 🌙) is the same size in the same 22px box, on the same line.
   (The emoji fonts come first here; with the typewriter font first, Safari lined each emoji up differently.) */
.tray-weather .tray-ico { margin-right: 3px; }   /* a little room before the date */

/* =====================================================================
   GOLD THEME: the Completionist reward (assets/js/achievements.js)
   ===================================================================== */
html[data-wallpaper="gold"] body, .wp-prev[data-wp="gold"] { background-color: #2A1E0E;
    background-image: radial-gradient(rgba(255,215,110,0.28) 1.2px, transparent 1.6px), radial-gradient(circle at 20% 15%, rgba(255,210,90,0.45), transparent 40%), radial-gradient(circle at 80% 80%, rgba(230,160,40,0.35), transparent 45%), linear-gradient(160deg, #3A2710, #1E150A);
    background-size: 24px 24px, 100% 100%, 100% 100%, 100% 100%; }
html[data-scheme="gold"] .win-bar, html[data-scheme="gold"] .hb-bar { background: linear-gradient(90deg, #E8B94A, #FFE9A8, #E8B94A); }
html[data-scheme="gold"] .win-bar .win-title { color: #4A3308; }
html[data-scheme="gold"] .win { border-color: #FFF3C4 #B88A2A #B88A2A #FFF3C4; outline-color: #B88A2A; }
.gold-win { width: min(100%, 420px); border-color: #FFF3C4 #B88A2A #B88A2A #FFF3C4; }
.gold-win .win-bar { background: linear-gradient(90deg, #E8B94A, #FFE9A8, #E8B94A); }
.gold-win .win-title { color: #4A3308; }
.gold-win .win-body { display: grid; justify-items: center; gap: 10px; padding: 22px 20px; text-align: center; background: radial-gradient(circle at 50% 0%, #FFF6D8, var(--paper) 70%); }
.gold-crown { font-size: 64px; line-height: 1.2; filter: drop-shadow(0 0 14px rgba(232,185,74,0.8)); animation: wx-bob 2.4s ease-in-out infinite; }
.gold-h { color: #7A5510; font: 800 28px var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.gold-p { color: var(--ink); font-size: 14px; }
.gold-p b { color: #9A6B12; }
.gold-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gold-small { color: #A58BC0; font-size: 12px; }

/* Phones: no Puff FM. Hotbox is a small 💬 right next to Start (it's also in the Start menu).
   (Oct 30 2026) Once they're chatting (.hb-active) the 💬 gets a status dot in its corner,
   blinks + gets the pink number when we reply. Looks pressed while the chat is open. */
.hb-tab-s, .hb-tab-i { display: none; }
@media (max-width: 720px) {
    .tray-sound { display: none !important; }
    #hotbox-tab { order: -1; position: relative; justify-content: center; width: 44px; min-width: 44px; padding: 0; gap: 0; overflow: visible; }
    #hotbox-tab .hb-tab-l, #hotbox-tab .hb-tab-s { display: none; }
    #hotbox-tab .hb-tab-i { display: inline-grid; place-items: center; width: 22px; height: 22px; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 17px; line-height: 1; }
    #hotbox-tab .hb-dot { display: none; position: absolute; right: 3px; bottom: 3px; width: 9px; height: 9px; border: 2px solid #fff; box-sizing: content-box; }
    #hotbox-tab.hb-active .hb-dot { display: block; }
    #hotbox-tab[aria-expanded="true"] { border-color: var(--bevel-in); background: #EDE3F6; }
    .taskbar #hotbox-tab .hb-task-n { top: -8px; right: -8px; min-width: 18px; height: 18px; font-size: 11px; line-height: 18px; }
}

/* Product cards: the main button + a quick view (👁) button beside it on phones and tablets */
.pcard-actions { display: flex; gap: 8px; width: 100%; max-width: 320px; margin-top: auto; }
.pcard-actions .pcard-btn { flex: 1; min-width: 0; max-width: none; margin-top: 0; }
.qv-side { display: none; flex: none; width: 48px; border: 3px solid; border-color: var(--bevel-out); outline: 1px solid var(--lav-dark); background: var(--white); color: var(--plum); font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 2px 2px 0 rgba(43,42,94,0.25); }
.qv-side:active { border-color: var(--bevel-in); box-shadow: none; transform: translate(1px, 1px); }
@media (hover: none), (max-width: 720px) {
    .qv-side { display: grid; place-items: center; }
    .pcard-media .qv-btn { display: none; }
}
@media (max-width: 720px) { .qv-side { width: 42px; font-size: 18px; } .pcard-actions { gap: 6px; } }

/* Phones: the Properties tabs fit side by side (no sideways scrolling strip that makes the page wobble) */
@media (max-width: 720px) {
    .tabs { overflow: visible; touch-action: pan-y; }
    .tab { flex: 1 1 0; min-width: 0; padding: 8px 4px; font-size: 11.5px; line-height: 1.25; text-align: center; white-space: normal; }
    .tab-panels, .tab-panel { overflow: visible; touch-action: pan-y; }
    .win-props, .win-props .win-body { overflow: visible; overscroll-behavior: auto; }
    .tab-panel.off { display: none; }   /* (Nov 12 2026) phones: each tab only as tall as what's in it (computers keep them all the tallest one's height, so nothing jumps) */
}

/* =====================================================================
   PHONES: every pop-up window fits the screen (sized for the smallest
   iPhones). The window never runs off the screen; its middle scrolls
   and its buttons stay reachable at the bottom.
   ===================================================================== */
@media (max-width: 720px) {
    .dialog-layer { place-items: start center; padding: 10px 8px; overflow-y: auto; overscroll-behavior: contain; }
    .dialog-layer > .win { width: 100%; max-width: 100%; max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); display: flex; flex-direction: column; min-width: 0; }
    .dialog-layer > .win > .win-bar { flex: none; }
    .dialog-layer > .win > .win-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
    .dialog-layer > .win > .win-status { flex: none; }
    /* nothing inside a window may push it wider than the screen */
    .dialog-layer .win-body * { min-width: 0; max-width: 100%; }
    .display-field select, .display-field input { width: 100%; }
    .display-row { grid-template-columns: minmax(0, 1fr); }
    /* Display Properties on phones: smaller preview monitor, buttons pinned to the bottom, computer-only options hidden */
    .display-win .monitor-screen { width: 150px; height: 96px; border-width: 7px; border-bottom-width: 11px; }
    .display-win .monitor-base { width: 80px; }
    .display-btns { position: sticky; bottom: -14px; margin: 0 -14px -14px; padding: 10px 14px; background: var(--paper); border-top: 1px solid var(--lav-mid); }
    .display-tabs [data-tab="ss"] { display: none; }            /* screensavers are computer-only */
    .display-field:has(#look-cursor) { display: none; }          /* phones don't have a mouse pointer */
    .display-list { grid-template-columns: repeat(3, 1fr); max-height: 190px; }
    .shut-btns { position: sticky; bottom: -14px; margin-bottom: -14px; padding: 10px 0; background: var(--paper); }
    .mycomp-top .mycomp-pc { font-size: 44px; }
    .mycomp-os { font-size: 24px; }
    .mycomp-specs div { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 720px) { .mycomp-win .shut-btns { flex-wrap: nowrap; gap: 6px; } .mycomp-win .shut-btns .btn { min-width: 0; padding: 7px 8px; font-size: 11px; } .mycomp-win .shut-btns .btn::before, .mycomp-win .shut-btns .btn::after { content: none; } }
@media (max-width: 720px) { .mycomp-win .mc-panel .shut-btns { position: static; margin-bottom: 0; padding: 4px 0 0; background: none; } }

/* Phones: nothing on the wholesale page (or anywhere) may be wider than the screen */
html { overflow-x: clip; }
.ws-hero > *, .ws-talk-row > *, .ws-talk-form > * { min-width: 0; }
@media (max-width: 720px) {
    .ws-title { font-size: clamp(36px, 10.5vw, 60px); }
    .ws-title .squiggle, .ws-talk-title .squiggle { white-space: normal; }
    .ws-talk-title { font-size: clamp(34px, 10vw, 56px); }
    .ws-talk-side { font-size: 19px; }
    .ws-talk .mail-key { width: 64px; font-size: 13px; }
    .mail-line { padding: 9px 12px; gap: 8px; }
    .ws-interest { padding: 12px; }
    .ws-check span { padding: 7px 10px; font-size: 13px; white-space: normal; }
    .mail-foot { padding: 14px 12px; }
    .mail-or { word-break: break-word; }
}

/* Phones: the taskbar is just the Start button (the clock/weather tray is computer-only) */
@media (max-width: 720px) { .taskbar .tray { display: none !important; } }

/* Homepage: the page itself is full width so the desktop area can stretch edge to edge
   (without screen-width math that broke with the Large/Extra large text setting and some browsers);
   every other section keeps the normal centered width. */
.desktop-home { width: 100%; }
.desktop-home > * { width: min(100% - 32px, var(--max)); justify-self: center; }
@media (min-width: 1081px) { .desktop-home > .desk-hero { width: 100%; } }

/* Starburst badges (New, Best seller, Only X left, release date) stay perfectly round-ish, never stretched */
.burst { contain: none; height: auto; min-height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }   /* overflow: hidden keeps it square; flex keeps the words dead center (Safari too) */
.burst > * { margin: 0; }

/* =====================================================================
   HOMEPAGE DESKTOP, big screens (rebuilt without grid tricks so every
   browser, Safari included, lays it out the same):
   [ left icons ]  [ welcome window ]  [ stickers + right icons ]
   The open space is split 1 : 1.3 between the left and right sides.
   ===================================================================== */
@media (min-width: 1081px) {
    .desktop-home > .desk-hero { --w: clamp(440px, 42vw, 640px); display: flex; align-items: center; padding: 0; }
    .desktop-home > .desk-hero .win-welcome { position: relative; z-index: 2; flex: none; width: var(--w); margin: 0 0 0 calc((100% - var(--w)) / 2.3); }
    .desktop-home > .desk-hero .desk-icons { position: absolute; inset: 0; display: block; padding: 0; grid-template-columns: none; }
    .desktop-home > .desk-hero .desk-zone { position: absolute; top: 0; bottom: 0; grid-column: auto; }
    .desktop-home > .desk-hero .desk-zone-l { left: 16px; width: calc((100% - var(--w)) / 2.3 - 44px); }
    .desktop-home > .desk-hero .desk-zone-r { right: 16px; width: calc((100% - var(--w)) * 1.3 / 2.3 - 44px); }
    .desktop-home > .desk-hero .collage { position: absolute; top: 0; bottom: 0; left: auto; right: 16px; width: calc((100% - var(--w)) * 1.3 / 2.3 - 44px); grid-area: auto; }
}

/* =====================================================================
   HOMEPAGE STICKERS on tablets + phones: their own arrangement.
   (Computers get the full desktop; smaller screens get a tidy
   scrapbook-style cluster under the welcome window.)
   ===================================================================== */
@media (max-width: 1080px) {
    .desktop-home > .desk-hero .collage { position: relative; inset: auto; order: 3; grid-column: 1 / -1; justify-self: center; width: min(100%, 520px); height: auto; aspect-ratio: 10 / 8; margin: 6px auto 0; }
    .desktop-home > .desk-hero .collage .stk-photo { width: 44%; }
    .desktop-home > .desk-hero .collage .stk-case { width: 36%; }
    .desktop-home > .desk-hero .collage .stk-emoji { font-size: clamp(34px, 8vw, 54px); }
    .desktop-home > .desk-hero .collage .stk-label { font-size: clamp(15px, 3.6vw, 21px); padding: 0.55em 0.85em; }
    /* 1 photo, 2 case, 3 🌙, 4 ✨, 5 😌, 6 label */
    .desktop-home > .desk-hero .collage .stk:nth-child(1) { left: 8%;  top: 2%; }
    .desktop-home > .desk-hero .collage .stk:nth-child(2) { left: 52%; top: 36%; }
    .desktop-home > .desk-hero .collage .stk:nth-child(3) { left: 2%;  top: 70%; }
    .desktop-home > .desk-hero .collage .stk:nth-child(4) { left: 84%; top: 8%; }
    .desktop-home > .desk-hero .collage .stk:nth-child(5) { left: 58%; top: 10%; }
    .desktop-home > .desk-hero .collage .stk:nth-child(6) { left: 26%; top: 76%; }
}

/* =====================================================================
   WINDOWS + FIREFOX / OLDER BROWSER BACKUPS
   ===================================================================== */
/* Selected tiles for browsers without :has() (older Firefox): assets/js/site.js adds .is-checked */
.rf-tile.is-checked { border-color: var(--bevel-in); background: var(--lav-mid); }
.rf-dark .rf-tile.is-checked { border-color: #15141F #4A4862 #4A4862 #15141F; background: #1B1A26; }
.co-ship.is-checked { border-color: var(--bevel-in); background: #F6FBD9; box-shadow: inset 0 0 0 2px var(--lime); }
.display-opt.is-checked { border-color: var(--peri); border-style: dotted; background: var(--lav); }
.display-opt.is-checked .display-name { background: var(--peri-deep); color: var(--white); box-shadow: 4px 0 0 var(--peri-deep), -4px 0 0 var(--peri-deep); }   /* (the dark box grows out to the sides instead of padding, so a picked name never wraps onto 2 lines. Nov 12 2026) */
@media (max-width: 720px) { .look-cursor-field { display: none; } }
/* Firefox: hide the up/down arrows in number boxes (the site has its own − / + buttons) */
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
/* Firefox shows a triangle on dropdown sections; the site draws its own */
.qa summary::marker { content: ""; }
/* Scrollbars on Windows (they're always visible there): themed to match instead of plain gray (Macs keep their normal ones) */
html { scrollbar-color: var(--peri) var(--lav); }
/* Windows emoji font first in line for emoji-only bits, so icons look right on PCs */
.di-img, .stk-emoji, .win-icon, .ach-t-icon, .si-emoji, .fc-half { font-family: "Courier Prime", "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif; }
/* Emoji with a drop shadow: give them headroom so Safari doesn't clip the tops */
.di-img, .stk-emoji, .si-emoji, .fc-half, .gb-pic, .news-icon, .shut-icon, .owl-moon, .gold-crown, .ach-t-icon, .pf-cloud { line-height: 1.3; padding-top: 0.12em; overflow: visible; }

/* =====================================================================
   HIGH CONTRAST / "OVERRIDE PAGE COLORS" MODE (Windows + Firefox)
   Some visitors have Windows contrast themes or Firefox's "override the
   colors on websites" turned on. Their browser then replaces every color
   with its own (usually black text on white). That's their choice, so
   text keeps their colors, but these little decorative pieces keep ours
   so prices, badges and stickers stay readable and on-brand.
   ===================================================================== */
@media (forced-colors: active) {
    .seal, .burst, .badge-sticker, .stk-label, .stk-emoji, .pl-count, .mymail-count, .cart-count, .beta-tag, .logo-os { forced-color-adjust: none; }
    .win { border: 2px solid CanvasText; }
    .win-bar { border-bottom: 2px solid CanvasText; }
    .btn, .qv-side, .pcard-btn { border: 2px solid ButtonText; }
    .pcard-photo .ph, .flower .ph { border: 2px dashed GrayText; }
}

/* =====================================================================
   FOOTER: grouped columns (brand + Shop / Explore / Help / More)
   ===================================================================== */
.site-footer { display: block; justify-items: initial; gap: 0; padding: 40px 20px 24px; background: rgba(20,18,50,0.35); border-top: 3px solid rgba(255,255,255,0.18); color: var(--white); text-align: left; }
.footer-inner { display: grid; gap: 30px; width: min(100%, var(--max)); margin: 0 auto; }
.footer-logo { color: var(--white); font: 800 28px/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.footer-tag { margin-top: 8px; color: #DADBF7; font-size: 14px; line-height: 1.55; }
.footer-ig { display: inline-block; margin-top: 12px; color: var(--lime); font-size: 14px; font-weight: 700; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-h { margin-bottom: 10px; color: var(--lime); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-col a { display: inline-block; padding: 2px 0; color: var(--white); font-size: 14.5px; text-decoration: none; }
.footer-col a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; width: min(100%, var(--max)); margin: 30px auto 0; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,0.25); color: #C9C8EE; font-size: 12px; }
.footer-bottom a { color: inherit; text-decoration: underline; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1fr 2.4fr; gap: 48px; } }
@media (max-width: 720px) {
    .site-footer { padding: 30px 18px 20px; }
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
    .footer-col a { padding: 6px 0; font-size: 15px; }      /* bigger tap targets */
    .footer-col ul { gap: 2px; }
    .footer-bottom { flex-direction: column; text-align: left; }
}

/* Footer: the drop alerts mini window (replaces the brand block) */
.footer-news { width: 100%; max-width: 380px; align-self: start; }
.footer-news .win-body { display: grid; gap: 10px; padding: 16px; }
.fn-h { color: var(--plum); font: 800 22px/1.1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.fn-p { color: #7A6696; font-size: 13.5px; line-height: 1.5; }
.fn-form { display: grid; gap: 8px; }
.fn-form[hidden] { display: none; }
.fn-form input { width: 100%; padding: 10px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); color: var(--ink); font: 400 15px var(--body); }
.fn-form .btn { width: 100%; padding: 10px; font-size: 13px; }
.fn-msg { color: var(--plum); font-size: 13.5px; font-weight: 700; }
.fn-msg:empty { display: none; }
.fn-ig { color: var(--peri-deep); font-size: 13.5px; font-weight: 700; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: minmax(280px, 1fr) 2.4fr; align-items: start; } }
@media (max-width: 720px) { .footer-news { max-width: none; } }

/* Footer: just the link columns + fine print */
.site-footer .footer-inner { grid-template-columns: minmax(0, 1fr) !important; }
.footer-cols { justify-items: start; }
@media (min-width: 900px) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }

/* Shut Down window, tidied up: wider, even columns, options as selectable rows, buttons on their own bar */
.shut-win { width: min(100%, 500px); }
.shut-win .win-body { display: grid; gap: 0; padding: 0; }
.win-title .tm { margin-left: 0; letter-spacing: 0; }
.shut-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; padding: 24px 24px 20px; }
.shut-icon { display: grid; place-items: center; width: 56px; height: 56px; border: 3px solid; border-color: var(--bevel-in); background: #1E1D2B; font-size: 30px; line-height: 1.2; }
.shut-q { margin: 2px 0 14px; color: var(--plum); font-size: 16px; font-weight: 700; line-height: 1.35; }
.shut-opts { display: grid; gap: 6px; }
.shut-opt { display: grid; grid-template-columns: 20px auto 1fr; align-items: center; gap: 10px; padding: 9px 12px; border: 2px solid transparent; background: var(--white); cursor: pointer; }
.shut-opt input { margin: 0; accent-color: var(--plum); }
.shut-opt .shut-name { color: var(--ink); font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.shut-opt .shut-desc { color: #A58BC0; font-size: 13px; }
.shut-opt:hover { background: var(--lav); }
.shut-opt:has(input:checked) { border-color: var(--peri); border-style: dotted; background: var(--lav); }
.shut-opt.is-checked { border-color: var(--peri); border-style: dotted; background: var(--lav); }
.shut-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--lav-mid); background: var(--lav); }
.shut-footer .btn { min-width: 110px; padding: 9px 16px; font-size: 13px; }
@media (max-width: 720px) {
    .shut-standby { display: none; }        /* no screensaver on phones */
    .shut-row { grid-template-columns: 1fr; padding: 18px 16px 14px; }
    .shut-icon { display: none; }
    .shut-opt { grid-template-columns: 20px 1fr; }
    .shut-opt .shut-desc { grid-column: 2; margin-top: -6px; }
    .shut-footer { position: sticky; bottom: 0; padding: 12px 16px; }
}
.win-title .tm { margin-left: -9px; align-self: flex-start; margin-top: 2px; font-size: 0.6em; }   /* the title bar spaces its pieces apart; pull the ™ back next to the word */

/* =====================================================================
   PHONES: product cards one per row (Big) or two per row (Grid),
   with a View switch; every card button the same height
   ===================================================================== */
.view-switch { display: none; }
@media (max-width: 720px) {
    .view-switch { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: -6px 0 16px; color: #7A6696; font-size: 12.5px; font-weight: 700; }
    .view-switch button { padding: 5px 10px; border: 2px solid; border-color: var(--bevel-out); background: var(--white); color: var(--plum); font: 700 12px var(--body); cursor: pointer; }
    .view-switch button[aria-pressed="true"] { border-color: var(--bevel-in); background: var(--lav-mid); }
    /* Big (default): one per row, bigger photos */
    .pcard-grid, .files .pcard-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .pcard-grid .pcard { width: min(100%, 340px); justify-self: center; }
    .pcard-grid .pcard-btn { padding: 12px 10px; font-size: 13px; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    /* Grid: two per row */
    html[data-view="grid"] .pcard-grid, html[data-view="grid"] .files .pcard-grid { grid-template-columns: 1fr 1fr; gap: 30px 12px; }
    html[data-view="grid"] .pcard-grid .pcard { width: 100%; }
    html[data-view="grid"] .pcard-grid .pcard-btn { padding: 8px 4px; font-size: 10.5px; letter-spacing: 0.02em; white-space: normal; }
    html[data-view="grid"] .pcard-grid .qv-side { width: 38px; font-size: 16px; }
    /* Big vs Grid get their own sizes: Big is one card at a time, so a slightly smaller photo with a bigger
       name and rating; Grid is two across, so a smaller name and rating that fit their half */
    html:not([data-view="grid"]) .pcard-grid .pcard { width: min(84%, 300px); }
    html:not([data-view="grid"]) .pcard-grid .pcard-name { font-size: 24px; }
    html:not([data-view="grid"]) .pcard-grid .pcard-rating { gap: 6px; font-size: 17px; }
    html[data-view="grid"] .pcard-grid, html[data-view="grid"] .files .pcard-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }   /* (two columns that never push past the window edge) */
    html[data-view="grid"] .pcard-grid .pcard-name { font-size: 16px; }
    html[data-view="grid"] .pcard-grid .pcard-rating { gap: 2px; margin-top: 8px; font-size: 11px; }
    /* every card's button row is the same height, with or without the 👁, one line or two */
    .pcard-actions { align-items: stretch; min-height: 50px; max-width: none; }
    .pcard-actions .pcard-btn { display: flex; align-items: center; justify-content: center; min-height: 50px; text-align: center; }
    html[data-view="grid"] .pcard-actions, html[data-view="grid"] .pcard-actions .pcard-btn { min-height: 56px; }
    .qv-side { align-self: stretch; }
    /* window status lines stay on one tidy line */
    .win-status { font-size: 12px; gap: 8px; }
    .ws-text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* Lore + Wholesale: same approach as the homepage. The page itself is full width, so the edge-to-edge
   banners just fill it (no screen-width math that made Safari slide the page sideways); everything
   else keeps the normal centered width. */
.desktop-full { width: 100%; }
.desktop-full > * { width: min(100% - 32px, var(--max)); justify-self: center; }
.desktop-full > .lore-end, .desktop-full > .ws-banner { width: 100%; margin-left: 0; margin-right: 0; }

/* Special windows keep their own look under every Window colors option (Night Mode, Lime Time, etc.):
   the green-screen terminal, the cheat code arcade, night owl, and the gold completionist window. */
html[data-scheme] .win.win-crt { background: #1E1D2B; }
html[data-scheme] .win-crt .win-bar { background: linear-gradient(90deg, #3A3854, #5A5870); }
html[data-scheme] .win-crt .win-title { color: #E9E4FF; }
html[data-scheme] .win.cheat-win { background: #120F2B; }
html[data-scheme] .cheat-win .win-bar { background: linear-gradient(90deg, #FF4FB8, #7B5CFF); }
html[data-scheme] .cheat-win .win-title { color: #fff; }
html[data-scheme] .win.owl-win { background: #16133A; }
html[data-scheme] .owl-win .win-bar { background: linear-gradient(90deg, #2B2A5E, #45489E); }
html[data-scheme] .owl-win .win-title { color: #F1ECFF; }
html[data-scheme] .gold-win .win-bar { background: linear-gradient(90deg, #E8B94A, #FFE9A8, #E8B94A); }
html[data-scheme] .gold-win .win-title { color: #4A3308; }

/* Lore "Lunar Logic" photo: draw the 4-circle clover with a CSS mask instead of the SVG shape,
   which some Safari versions sometimes failed to apply (showing a fuzzy square instead).
   Each circle: 28% wide, centered 28% in from the edges, so it touches the edges without being cut off. */
.logic-photo {
    clip-path: none;
    -webkit-mask: radial-gradient(28% 28% at 28% 28%, #000 98.5%, transparent 100%), radial-gradient(28% 28% at 72% 28%, #000 98.5%, transparent 100%),
                  radial-gradient(28% 28% at 28% 72%, #000 98.5%, transparent 100%), radial-gradient(28% 28% at 72% 72%, #000 98.5%, transparent 100%),
                  linear-gradient(#000, #000) center / 44% 44% no-repeat;
            mask: radial-gradient(28% 28% at 28% 28%, #000 98.5%, transparent 100%), radial-gradient(28% 28% at 72% 28%, #000 98.5%, transparent 100%),
                  radial-gradient(28% 28% at 28% 72%, #000 98.5%, transparent 100%), radial-gradient(28% 28% at 72% 72%, #000 98.5%, transparent 100%),
                  linear-gradient(#000, #000) center / 44% 44% no-repeat;
}

/* Product photos: never stretched. (Safari stretched the square photo to the full row height
   in the two-per-row phone view, which squished the flower shape.) */
.pcard-media { align-items: flex-start; }
.pcard-photo { align-self: flex-start; flex: none; height: auto; }
@supports (grid-template-rows: subgrid) { .pcard > .pcard-actions { align-self: end; } }
/* Starburst words scale with the photo, so they're readable on big single-column photos too */
.pcard-photo .burst { font-size: clamp(10px, 6cqw, 20px); }
.pcard-photo .burst-date { font-size: clamp(11px, 7cqw, 22px); }

/* =====================================================================
   HOMEPAGE: "Fixed it." + the spread on its own darker band
   The band is a see-through dark layer over whatever wallpaper/season is
   showing, so it's always darker than its surroundings.
   ===================================================================== */
.fixed-it { display: grid; justify-items: center; gap: 6px; margin-top: -10px; color: var(--white); text-align: center; }
.fixed-big { margin: 0; color: var(--lime); font: 800 italic clamp(28px, 4vw, 38px)/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; text-shadow: 0 3px 0 rgba(43,42,94,0.4); }
.fixed-small { margin: 0; font-size: 16px; }
.desktop-home > .home-spread-band { width: 100%; }
.home-spread-band { position: relative; margin-top: 10px; padding: 56px 16px 64px; background-color: rgba(10, 8, 30, 0.45);
    background-image: radial-gradient(rgba(255,255,255,0.35) 1px, transparent 1.6px), radial-gradient(rgba(255,255,255,0.45) 1px, transparent 1.6px);   /* (older browsers) */
    background-image: radial-gradient(color-mix(in srgb, var(--lime) 55%, transparent) 1px, transparent 1.6px), radial-gradient(rgba(255,255,255,0.45) 1px, transparent 1.6px);
    background-size: 150px 150px, 90px 90px; background-position: 40px 60px, 0 0; }
.home-spread-band::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px;
    background-image: radial-gradient(circle at 20px 24px, rgba(10, 8, 30, 0.45) 19.5px, transparent 20px); background-size: 40px 24px; background-repeat: repeat-x; }
.home-spread { display: grid; justify-items: center; gap: 16px; width: min(100%, var(--max)); margin: 0 auto; text-align: center; }
.home-spread .spread { width: 100%; }
.size-seals { display: flex; justify-content: center; gap: clamp(12px, 3vw, 28px); padding: 6px 0 4px; }
.size-seal { display: grid; justify-items: center; gap: 8px; min-width: 44px; padding: 4px; border: 0; background: none; cursor: pointer; transform: rotate(var(--tilt)); transition: transform 0.2s; }
.ss-shape { display: grid; place-items: center; width: clamp(70px, 9vw, 100px); aspect-ratio: 1; background: var(--paper); color: var(--plum); font: 800 clamp(18px, 2.2vw, 24px)/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1;
    clip-path: polygon(50% 0%,57% 6%,66% 3%,71% 11%,80% 10%,83% 19%,91% 22%,90% 31%,97% 36%,94% 44%,100% 50%,94% 56%,97% 64%,90% 69%,91% 78%,83% 81%,80% 90%,71% 89%,66% 97%,57% 94%,50% 100%,43% 94%,34% 97%,29% 89%,20% 90%,17% 81%,9% 78%,10% 69%,3% 64%,6% 56%,0% 50%,6% 44%,3% 36%,10% 31%,9% 22%,17% 19%,20% 10%,29% 11%,34% 3%,43% 6%);
    filter: drop-shadow(3px 4px 0 rgba(30,29,70,0.35)); }
.ss-cap { padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,0.2); color: var(--white); font: 700 11.5px var(--body); white-space: nowrap; }
.size-seal[aria-checked="true"] { transform: rotate(var(--tilt)) scale(1.12); }
.size-seal[aria-checked="true"] .ss-shape { background: var(--lime); color: var(--ink); }
.size-seal[aria-checked="true"] .ss-cap { background: var(--ink); color: var(--lime); }
.size-seal:focus-visible { outline: 3px dashed var(--pink); outline-offset: 4px; border-radius: 12px; }
.home-spread .spread-item[hidden] { display: none; }
.home-spread-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 4px; }
.home-spread-quiz { color: var(--white); font-weight: 700; font-size: 14.5px; text-underline-offset: 4px; }
.home-spread-quiz:hover { color: var(--lime); }
@media (max-width: 720px) {
    .home-spread-band { padding: 40px 12px 48px; }
    .home-spread-cta { flex-direction: column; }
}
.home-spread .spread-tip { text-align: left; }
/* the band ends with the same scalloped edge it starts with (mirrored), so it flows back into the page */
.home-spread-band { margin-bottom: 24px; }
.home-spread-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: -24px; height: 24px;
    background-image: radial-gradient(circle at 20px 0, rgba(10, 8, 30, 0.45) 19.5px, transparent 20px); background-size: 40px 24px; background-repeat: repeat-x; }

/* Spread items (homepage + product pages): every item gently floats, each at its own pace, like it's drifting in space.
   The drift is on the picture itself so it never fights the tilt or the hover lift. */
.spread-item { animation: none; }
.spread-item > img, .spread-item > .si-emoji { animation: si-drift var(--dur, 5s) ease-in-out var(--d, 0s) infinite; }   /* (no will-change: a dozen permanent layers made Safari drop chunks of the homepage while scrolling) */
.home-spread-band.is-away .spread-item > img, .home-spread-band.is-away .spread-item > .si-emoji { animation-play-state: paused; }   /* (off screen: holds still) */
@keyframes si-drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    30% { transform: translate(3px, -9px) rotate(2.5deg); }
    65% { transform: translate(-3px, -4px) rotate(-2deg); }
}
.spread-item { transition: scale 0.2s; }
.spread-item:hover, .spread-item.is-on { scale: 1.07; }
.spread-item:hover img, .spread-item:hover .si-emoji, .spread-item.is-on img, .spread-item.is-on .si-emoji { transform: none; }
@media (prefers-reduced-motion: reduce) { .spread-item > img, .spread-item > .si-emoji { animation: none; } }
html[data-motion="reduce"] .spread-item > img, html[data-motion="reduce"] .spread-item > .si-emoji { animation: none; }

/* ---------- Sticker easter eggs (tap the 🌙 and 😌 on the homepage) ----------
   Behavior + the emoji lists live in assets/js/sticker-eggs.js */
.stk.egg-pop { animation: egg-pop .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes egg-pop { 0% { scale: 1; } 40% { scale: 1.3; } 100% { scale: 1; } }
.egg-bubble {
    position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 20;
    width: max-content; max-width: 190px; padding: 7px 11px;
    background: var(--paper); color: var(--plum); border: 2px solid var(--plum); border-radius: 14px;
    font: 700 13px/1.25 var(--body); filter: none; pointer-events: none;
    box-shadow: 3px 3px 0 rgba(43,42,94,0.3);
    animation: egg-bubble-in .2s ease-out;
}
.egg-bubble::after {   /* the little tail pointing down at the sticker */
    content: ""; position: absolute; left: 16px; top: 100%;
    border: 7px solid transparent; border-top-color: var(--plum);
}
.egg-bubble.is-out { opacity: 0; transition: opacity .3s; }
@keyframes egg-bubble-in { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
/* The ✨ sits in the top-right corner, so its bubble opens below and to the left */
[data-egg="wish"] .egg-bubble { top: calc(100% + 10px); bottom: auto; left: auto; right: 0; }
[data-egg="wish"] .egg-bubble::after { top: auto; bottom: 100%; left: auto; right: 16px; border-top-color: transparent; border-bottom-color: var(--plum); }

/* ---------- Peel-up tagline sticker (homepage) ----------
   Tap "baked but make it cute" and a corner peels up with a message underneath.
   The exact fold shape is worked out in assets/js/sticker-eggs.js */
.stk-peel { filter: drop-shadow(4px 5px 0 rgba(43,42,94,0.3)); }
.stk-peel .peel-face { display: block; position: relative; z-index: 1; box-shadow: none; white-space: nowrap; transition: clip-path .45s cubic-bezier(.3, 1.3, .5, 1); }
.stk-peel .peel-under {   /* the spot the sticker was covering */
    position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end;
    padding: 5px 7px; border-radius: 16px; background: rgba(43,42,94,0.28); border: 1.5px dashed rgba(255,255,255,0.45);
    opacity: 0; transition: opacity .2s;
}
.stk-peel.is-peeled .peel-under { opacity: 1; }
.stk-peel .peel-msg { max-width: 56%; color: var(--lime); font: 700 10px/1.15 var(--body); text-align: right; }
.stk-peel .peel-flap {   /* the curled-back corner, showing the sticker's white backside */
    position: absolute; inset: -100%; z-index: 2; pointer-events: none;
    background: linear-gradient(100deg, var(--lav-mid) 30%, var(--white) 55%, var(--lav) 80%);
    transition: clip-path .45s cubic-bezier(.3, 1.3, .5, 1);
}
@media (max-width: 700px) { .stk-peel .peel-msg { font-size: 9px; max-width: 64%; } }

/* ---------- Maintenance mode reminder (only people logged in to the admin see this) ---------- */
.maint-bar { position: relative; z-index: 3; padding: 7px 16px; background: var(--ink); color: #fff; font-size: 12.5px; text-align: center; }
.maint-bar a { color: var(--lime); font-weight: 700; }

/* ---------- "Only 7 kits left" note (top of the shop, homepage and kit pages; only at 10 or fewer) ---------- */
.kits-alert { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto 16px; padding: 10px 16px; border: 3px solid; border-color: #fff var(--lav-dark) var(--lav-dark) #fff;
    background: var(--pink); color: var(--white); font: 700 15px/1.35 var(--body); text-align: center; box-shadow: var(--shadow); }

/* =====================================================================
   DROPDOWNS (every <select> on the site), in the LunarOS style:
   a sunken white box with a Windows 98-style arrow button on the right,
   instead of the browser's own gray bubble. The arrow uses the text color,
   so seasonal themes and color schemes restyle it too.
   ===================================================================== */
html select:not([multiple]):not([size]) {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    border-radius: 0;
    padding-right: 48px !important;
    cursor: pointer;
    text-overflow: ellipsis;
    background-image:
        linear-gradient(45deg, transparent 50%, currentColor 50%),
        linear-gradient(135deg, currentColor 50%, transparent 50%),
        linear-gradient(to right, var(--lav-dark) 0 2px, var(--lav) 2px) !important;
    background-position:
        calc(100% - 21px) 54%,
        calc(100% - 14px) 54%,
        100% 0 !important;
    background-size: 7px 7px, 7px 7px, 36px 100% !important;
    background-repeat: no-repeat !important;
}
html select:not([multiple]):not([size]):hover {
    background-image:
        linear-gradient(45deg, transparent 50%, currentColor 50%),
        linear-gradient(135deg, currentColor 50%, transparent 50%),
        linear-gradient(to right, var(--lav-dark) 0 2px, var(--lav-mid) 2px) !important;
}
html select:not([multiple]):not([size]):focus-visible { outline: 2px dashed var(--peri); outline-offset: 1px; }
html select::-ms-expand { display: none; }
html select option { color: var(--ink); background: var(--white); }

/* =====================================================================
   NEWSLETTER POP-UPS (assets/js/newsletter.js): the "1,000,000th visitor"
   window and the LunarGuard antivirus scan.
   ===================================================================== */
.nx-win { position: fixed; z-index: 630; top: 90px; width: min(340px, calc(100vw - 24px)); animation: nx-pop .35s cubic-bezier(.3,1.5,.5,1); }
.nx-win.nx-out { animation: nx-gone .3s ease-in forwards; }
@keyframes nx-pop { from { transform: scale(.6); opacity: 0; } }
@keyframes nx-gone { to { transform: scale(.7); opacity: 0; } }
.nx-win .win-body { display: grid; gap: 9px; padding: 14px 16px; text-align: center; }
.nx-win [hidden] { display: none !important; }
.nx-p { color: var(--ink); font-size: 13.5px; line-height: 1.5; }
.nx-fine { color: #A58BC0; font-size: 11px; line-height: 1.4; }
.nx-claim .nx-fine { margin: 8px 0 4px; }   /* (room under the fine print so it doesn't sit on the window's edge) */
.nx-scan .win-body { padding-bottom: 18px; }
.nx-sparkle { font-size: 22px; line-height: 1.2; }
.nx-big { color: var(--plum); font: 800 24px/1.05 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.nx-mid { color: var(--plum); font: 800 20px/1.1 var(--display); }
.nx-blink { animation: nx-blink .7s steps(1) infinite; }
@keyframes nx-blink { 50% { color: var(--pink); } }
.nx-counter { color: var(--ink); font-size: 13px; }
.nx-counter span { display: inline-block; margin-left: 4px; padding: 2px 7px; border: 2px solid; border-color: var(--bevel-in); background: #15132B; color: var(--lime); font: 700 14px var(--body); letter-spacing: .12em; }
.nx-wheel-wrap { position: relative; width: 132px; margin: 2px auto 0; }
.nx-pointer { position: absolute; left: 50%; top: -6px; z-index: 2; transform: translateX(-50%); color: var(--plum); font-size: 16px; line-height: 1; }
.nx-wheel { width: 132px; height: 132px; border-radius: 50%; border: 4px solid var(--plum); transition: transform 2.5s cubic-bezier(.15,.85,.25,1);
    background: conic-gradient(var(--lime) 0 45deg, #F29DC0 0 90deg, #BFC0F0 0 135deg, #FFE9A8 0 180deg, var(--lime) 0 225deg, #F29DC0 0 270deg, #BFC0F0 0 315deg, #FFE9A8 0); box-shadow: inset 0 0 0 3px var(--white); }
.nx-prize { color: var(--plum); font-size: 13px; min-height: 18px; }
.nx-prize b { color: var(--pink); font-size: 15px; }
.nx-list { margin: 0; padding: 0; list-style: none; text-align: left; color: var(--ink); font-size: 13px; line-height: 1.6; }
.nx-list li::before { content: "★ "; color: var(--pink); }
.nx-form { display: grid; gap: 8px; }
.nx-form input { width: 100%; box-sizing: border-box; padding: 10px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); color: var(--ink); font: 400 15px var(--body); }
.nx-form .btn { width: 100%; padding: 10px; font-size: 13px; }
.nx-form .btn:disabled { opacity: .6; cursor: wait; }
.nx-err { color: var(--pink); font-size: 12.5px; font-weight: 700; }
.nx-spin { justify-self: center; padding: 9px 18px; font-size: 13px; }
.nx-won .win-bar { animation: nx-bar .9s steps(1) infinite; }
@keyframes nx-bar { 50% { background: linear-gradient(90deg, #D9EC8E, #EEF8C4); } }
.nx-shake { animation: nx-shake .4s ease-in-out; }
.nx-pop { animation: nx-pop .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes nx-pop { 0% { transform: scale(.9); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes nx-shake { 25% { transform: translateX(-6px) rotate(-1deg); } 75% { transform: translateX(6px) rotate(1deg); } }
.nx-mini { width: min(260px, calc(100vw - 24px)); z-index: 631; }
.nx-back { justify-self: center; padding: 8px 14px; font-size: 12px; }
/* LunarGuard */
.nx-scan { left: auto; right: 16px; top: auto; bottom: 64px; }   /* bottom right, like a real antivirus alert */
.nx-scan .win-body { text-align: left; }
.nx-av-top { display: flex; gap: 12px; align-items: center; }
.nx-shield { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 3px solid; border-color: var(--bevel-in); background: #15132B; font-size: 22px; line-height: 1.2; }
.nx-av-h { color: var(--plum); font: 800 17px/1.15 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.nx-av-sub { color: #7A6696; font-size: 12.5px; }
.nx-bar { width: 100%; box-sizing: border-box; }
.nx-status { color: var(--plum); font-size: 12.5px; min-height: 18px; }
.nx-bad { color: #C0392B; }
.nx-threats { margin: 0; padding: 0; list-style: none; }
.nx-threats li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dotted var(--lav-dark); animation: nx-pop .3s ease-out; }
.nx-threats b { display: block; color: #C0392B; font-size: 13px; }
.nx-threats small { display: block; color: #7A6696; font-size: 11.5px; }
.nx-sev { flex: none; padding: 1px 7px; border: 2px solid; font: 700 10.5px var(--body); font-style: normal; letter-spacing: .06em; }
.nx-sev-medium { border-color: #E8B94A; background: #FFF6D8; color: #7A5510; }
.nx-sev-high { border-color: #F29DC0; background: #FDEAF2; color: #A12D5A; }
.nx-sev-critical { border-color: #C0392B; background: #C0392B; color: #fff; }
.nx-done { text-align: center; display: grid; gap: 6px; }
@media (max-width: 720px) {
    .nx-win, .nx-scan { left: 12px !important; right: 12px; top: 72px; bottom: auto; width: auto; }
    .nx-mini { left: 18px !important; right: 18px; }
}
@media (prefers-reduced-motion: reduce) { .nx-blink, .nx-won .win-bar, .nx-shake, .nx-pop, .nx-win { animation: none; } .nx-wheel { transition-duration: .3s; } }

/* =====================================================================
   KIT PICKER (assets/js/kit-picker.js): tap-to-pick grinders and paper
   colors on kit pages. Other products keep their dropdowns.
   ===================================================================== */
.kit-pick { grid-template-columns: 1fr !important; gap: 16px; }
.kit-pick.kp-on select { display: none; }
.kit-pick .choice > span { display: flex; align-items: baseline; gap: 2px; flex-wrap: wrap; }
.kp-picked { color: var(--ink); font-weight: 400; text-transform: none; letter-spacing: 0; }
.kp-strip, .kp-swatches { display: flex; flex-wrap: wrap; gap: 8px 6px; padding: 2px; }
.kp-g, .kp-sw, .kp-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer; }
.kp-g { width: 58px; }
.kp-sw { width: 50px; }
.kp-dot, .kp-big, .kp-dotc { display: grid; place-items: center; overflow: hidden; border-radius: 50%; border: 2px solid; border-color: var(--lav-dark) var(--white) var(--white) var(--lav-dark); background: var(--lav); transition: transform .12s ease; }
.kp-dot { width: 46px; height: 46px; }
.kp-dotc { width: 32px; height: 32px; }
.kp-big { width: 66px; height: 66px; }
.kp-dot img, .kp-big img { width: 100%; height: 100%; object-fit: cover; }
.kp-letter { color: var(--plum); font: 800 18px var(--display); }
.kp-dice { font-size: 22px; line-height: 1.2; background: var(--white); }
.kp-big.kp-dice { font-size: 30px; }
.kp-name { max-width: 100%; overflow: hidden; color: var(--ink); font: 400 10.5px/1.2 var(--body); letter-spacing: 0; text-overflow: ellipsis; text-transform: none; white-space: nowrap; }
.kp-g:hover:not(.out) .kp-dot, .kp-sw:hover:not(.out) .kp-dotc, .kp-tile:hover:not(.out) .kp-big { transform: scale(1.06); }
.kp-g.on .kp-dot, .kp-sw.on .kp-dotc, .kp-tile.on .kp-big { outline: 3px solid var(--pink); outline-offset: 2px; }
.kp-g.on .kp-name, .kp-sw.on .kp-name, .kp-tile.on span:last-child { font-weight: 700; color: var(--plum); }
.kp-g.out, .kp-sw.out, .kp-tile.out { opacity: .35; cursor: not-allowed; }
.kp-g:focus-visible, .kp-sw:focus-visible, .kp-tile:focus-visible { outline: 2px dashed var(--peri); outline-offset: 3px; }
.kp-all { justify-self: start; padding: 5px 12px; border: 2px solid; border-color: var(--bevel-out); background: var(--lav); color: var(--plum); font: 700 12px var(--body); letter-spacing: .04em; text-transform: none; cursor: pointer; }
.kp-all:hover { background: var(--lav-mid); }
.choice.needs .kp-strip, .choice.needs .kp-swatches { outline: 3px solid var(--pink); outline-offset: 4px; }
/* the "See all" window */
.kp-win { width: min(100%, 600px); max-height: 88vh; display: flex; flex-direction: column; }
.kp-win .win-body { display: block; overflow-y: auto; padding: 14px 16px 16px; }
.kp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.kp-chip { padding: 5px 12px; border: 2px solid; border-color: var(--bevel-out); background: var(--lav); color: var(--plum); font: 700 12px var(--body); cursor: pointer; }
.kp-chip.on { background: var(--peri); color: var(--white); border-color: var(--peri-hi) var(--peri-lo) var(--peri-lo) var(--peri-hi); }
.kp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 12px 6px; }
.kp-tile span:last-child { color: var(--ink); font: 400 12px/1.25 var(--body); text-align: center; }
.kp-note { margin-top: 12px; color: #A58BC0; font-size: 12px; }
@media (max-width: 720px) { .kp-g { width: 54px; } .kp-dot { width: 42px; height: 42px; } .kp-grid { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); } }

/* =====================================================================
   LUNAROS 95 THEME (Display > Appearance > Theme > "LunarOS 95")
   A theme like the seasonal ones: the calm, plain skin for people who
   don't want the chaos. Classic desktop, gray windows, plain system font,
   and NO animations, sparkles, stickers or falling decorations.
   "Window colors" picks one of five 1995-style color schemes (the names
   change in the dropdown while this theme is on):
     classic = Standard (navy + teal)   lime = Spruce (green)
     pink    = Rose                     peri = Lilac
     night   = Slate (dark)
   Everything still works exactly the same; it just looks like 1995.
   ===================================================================== */
body.theme-win95 {
    --w95-title: #000080; --w95-desk: #008080; --w95-link: #000080;
    --peri: var(--w95-title); --peri-deep: var(--w95-title); --peri-hi: #FFFFFF; --peri-lo: #404040; --peri-line: #808080;
    --lime: #C0C0C0; --lime-hi: #FFFFFF; --lime-lo: #404040;
    --pink: var(--w95-title); --paper: #C0C0C0; --lav: #C0C0C0; --lav-mid: #C0C0C0; --lav-dark: #808080;
    --plum: #000000; --ink: #000000; --white: #FFFFFF; --wallpaper: var(--w95-desk);
    --display: Tahoma, "MS Sans Serif", "Segoe UI", Arial, sans-serif;
    --body: Tahoma, "MS Sans Serif", "Segoe UI", Arial, sans-serif;
    --radius: 0; --pill: 0; --shadow: none;
    --bevel-out: #FFFFFF #404040 #404040 #FFFFFF;
    --bevel-in: #808080 #FFFFFF #FFFFFF #808080;
    background: var(--w95-desk) !important; background-image: none !important; -webkit-font-smoothing: auto;
}
/* The five color schemes */
html[data-scheme="lime"]  body.theme-win95 { --w95-title: #1F5A3A; --w95-desk: #4F7F6A; --w95-link: #1F5A3A; }   /* Spruce */
html[data-scheme="pink"]  body.theme-win95 { --w95-title: #800040; --w95-desk: #A8687E; --w95-link: #800040; }   /* Rose */
html[data-scheme="peri"]  body.theme-win95 { --w95-title: #4B3A8C; --w95-desk: #8A80B8; --w95-link: #4B3A8C; }   /* Lilac */
html[data-scheme="night"] body.theme-win95 { --w95-title: #1C1C3A; --w95-desk: #3A3A4E; --w95-link: #1C1C3A; }   /* Slate */
/* No motion at all */
body.theme-win95 *, body.theme-win95 *::before, body.theme-win95 *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; text-shadow: none !important; }
/* No decorations */
body.theme-win95 .season-fx, body.theme-win95 .stk, body.theme-win95 .ws-float, body.theme-win95 .ws-star, body.theme-win95 .owl-stars,
body.theme-win95 .end-glow, body.theme-win95 .contact-glow, body.theme-win95 .contact-spark, body.theme-win95 .xbadge-glow,
body.theme-win95 .nx-sparkle, body.theme-win95 .stk-peel { display: none !important; }
/* Windows: flat title bars, gray bodies */
body.theme-win95 .win { background: #C0C0C0 !important; border-color: #FFFFFF #404040 #404040 #FFFFFF !important; box-shadow: none !important; outline: 1px solid #000 !important; outline-offset: 0 !important; }
body.theme-win95 .win-bar, body.theme-win95 .hb-bar, body.theme-win95 .win-peri .win-bar, body.theme-win95 .win-pink .win-bar, body.theme-win95 .win-lime .win-bar { background: var(--w95-title) !important; color: #FFFFFF !important; }
body.theme-win95 .win-title { color: #FFFFFF !important; font-family: Tahoma, "MS Sans Serif", Arial, sans-serif !important; font-weight: 700; letter-spacing: 0 !important; }
body.theme-win95 .win-body, body.theme-win95 .win-status { background: #C0C0C0 !important; color: #000; }
body.theme-win95 .wb { background: #C0C0C0 !important; border-color: #FFFFFF #404040 #404040 #FFFFFF !important; }
body.theme-win95 .wb-close::before { color: #000 !important; }
body.theme-win95 .win-body p, body.theme-win95 .win-body li, body.theme-win95 .win-body small, body.theme-win95 .win-body dt, body.theme-win95 .win-body dd,
body.theme-win95 .win-body label, body.theme-win95 .win-status, body.theme-win95 .term { color: #000 !important; }
body.theme-win95 .term { background: #FFFFFF !important; border-color: #808080 #FFFFFF #FFFFFF #808080 !important; }
/* Top menu bar and taskbar: plain gray, black text */
body.theme-win95 .menubar { background: #C0C0C0 !important; border-bottom: 2px solid #808080 !important; box-shadow: inset 0 1px 0 #FFFFFF !important; color: #000 !important; }
body.theme-win95 .logo, body.theme-win95 .logo-text, body.theme-win95 .site-nav a, body.theme-win95 .icon-link, body.theme-win95 .clock { color: #000 !important; }
body.theme-win95 .logo img { filter: brightness(0); }   /* the white logo prints black */
body.theme-win95 .site-nav a:hover { background: #FFFFFF !important; }
body.theme-win95 .site-nav a[aria-current="page"] { background: #FFFFFF !important; color: #000 !important; box-shadow: inset 1px 1px 0 #808080; }
body.theme-win95 .find-btn, body.theme-win95 .mymail-btn, body.theme-win95 .cart-link, body.theme-win95 .start-btn {
    background: #C0C0C0 !important; color: #000 !important; border: 2px solid !important; border-color: #FFFFFF #404040 #404040 #FFFFFF !important; box-shadow: none !important; }
body.theme-win95 .cart-count, body.theme-win95 .mymail-count { background: var(--w95-title) !important; color: #FFFFFF !important; }
body.theme-win95 .taskbar { background: #C0C0C0 !important; border-top: 2px solid #FFFFFF !important; box-shadow: none !important; }
body.theme-win95 .tray { color: #000 !important; border-color: #808080 #FFFFFF #FFFFFF #808080 !important; }
body.theme-win95 .announce { background: #C0C0C0 !important; color: #000 !important; border-bottom: 1px solid #808080; }
body.theme-win95 .announce a { color: #000 !important; }
/* Fields: sunken white boxes */
body.theme-win95 input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), body.theme-win95 textarea, body.theme-win95 select {
    background-color: #FFFFFF !important; color: #000 !important; border-color: #808080 #FFFFFF #FFFFFF #808080 !important; border-radius: 0 !important; font-family: Tahoma, "MS Sans Serif", Arial, sans-serif !important; }
/* Buttons: plain gray, black text */
body.theme-win95 .btn, body.theme-win95 .btn-lime, body.theme-win95 .btn-peri, body.theme-win95 .btn-pink, body.theme-win95 .btn-dim, body.theme-win95 .btn-ghost {
    background: #C0C0C0 !important; color: #000 !important; border-color: #FFFFFF #404040 #404040 #FFFFFF !important; border-radius: 0 !important; filter: none !important; box-shadow: none !important; }
body.theme-win95 .btn:active { border-color: #404040 #FFFFFF #FFFFFF #404040 !important; }
/* Headings in the plain font */
body.theme-win95 h1, body.theme-win95 h2, body.theme-win95 h3 { font-family: Tahoma, "MS Sans Serif", Arial, sans-serif !important; font-variation-settings: normal !important; letter-spacing: 0; }
/* Links inside windows look like links (menu bar and buttons stay black) */
body.theme-win95 .win-body a:not(.btn):not([class*="btn"]) { color: var(--w95-link); }
/* Plain arrow pointer (no flame / emoji cursor) */
body.theme-win95, body.theme-win95 * { cursor: default !important; }
body.theme-win95 a, body.theme-win95 button, body.theme-win95 label, body.theme-win95 select, body.theme-win95 summary, body.theme-win95 [role="button"] { cursor: pointer !important; }
body.theme-win95 input:not([type="checkbox"]):not([type="radio"]), body.theme-win95 textarea { cursor: text !important; }
body.theme-win95 .cursor { display: none !important; }
body.theme-win95 ::selection { background: var(--w95-title); color: #FFFFFF; }
/* LunarOS 95: the newsletter pop-ups in the same plain style */
body.theme-win95 .nx-counter span { background: #FFFFFF !important; color: #000 !important; border-color: #808080 #FFFFFF #FFFFFF #808080 !important; }
body.theme-win95 .nx-wheel { border-color: #000 !important; box-shadow: inset 0 0 0 3px #FFFFFF !important;
    background: conic-gradient(var(--w95-title) 0 45deg, #FFFFFF 0 90deg, #808080 0 135deg, #C0C0C0 0 180deg, var(--w95-title) 0 225deg, #FFFFFF 0 270deg, #808080 0 315deg, #C0C0C0 0) !important; }
body.theme-win95 .nx-pointer, body.theme-win95 .nx-big, body.theme-win95 .nx-mid, body.theme-win95 .nx-av-h, body.theme-win95 .nx-prize, body.theme-win95 .nx-prize b { color: #000 !important; font-family: Tahoma, "MS Sans Serif", Arial, sans-serif !important; font-variation-settings: normal !important; }
body.theme-win95 .nx-big { font-size: 20px; }
body.theme-win95 .nx-list li::before { content: "▪ "; color: #000; }
body.theme-win95 .nx-shield { background: #C0C0C0 !important; border-color: #808080 #FFFFFF #FFFFFF #808080 !important; }
body.theme-win95 .nx-threats li { border-bottom-color: #808080 !important; }
body.theme-win95 .nx-threats b, body.theme-win95 .nx-bad { color: #000 !important; }
body.theme-win95 .nx-sev { background: #FFFFFF !important; color: #000 !important; border-color: #000 !important; }
body.theme-win95 .nx-sev-critical { background: var(--w95-title) !important; color: #FFFFFF !important; border-color: var(--w95-title) !important; }
body.theme-win95 .nx-err { color: #000 !important; }
body.theme-win95 .nx-fine { color: #404040 !important; }
body.theme-win95 .nx-bar span { background: repeating-linear-gradient(90deg, var(--w95-title) 0 12px, transparent 12px 15px) !important; }
body.theme-win95 .nx-bar { background: #FFFFFF !important; border-color: #808080 #FFFFFF #FFFFFF #808080 !important; }

/* Holiday theme unlocked pop-up (eggs.js): same look as the achievement one */
a.theme-toast { display: block; color: inherit; text-decoration: none; }
a.theme-toast .ach-t-bar { background: linear-gradient(90deg, var(--pink), var(--peri)); color: #fff; }

/* Emoji always in color (lh_emo() in includes/products.php wraps them). Some computers otherwise draw
   ⚡ ⏰ 🃏 etc. as thin black-and-white symbols from the Courier button font. */
.emo { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", "Segoe UI Symbol", sans-serif; font-style: normal; font-weight: normal; letter-spacing: 0; text-transform: none; }

/* Tray icons: emoji font first + one size for all (see the note by .tray-weather) */
.taskbar .tray-ico, .taskbar .tray-owl, .task-buddy .tray-ico, .lsoon .tray-ico {   /* (tray-owl: the night owl 🦉, same box + emoji font so it sits level) */ display: inline-grid; place-items: center; width: 22px; height: 22px; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 17px; line-height: 1; transform: none; }
/* The phone-only 👥 next to Hotbox: hidden on computers from the first draw (buddy-list.css loads a moment later, so it used to flash) */
.task-buddy { display: none; position: relative; }
/* (Nov 19 2026) the 👥 tray button's own look is here too, not only in buddy-list.css (that one loads a moment later,
   so for a split second the browser drew its plain grey button box around the icon on every page) */
.tray-buddy { position: relative; display: inline-flex; align-items: center; padding: 0 4px; border: 0; background: none; color: inherit; font: inherit; line-height: 1; cursor: pointer; -webkit-appearance: none; appearance: none; }
.tray-buddy .tray-bnew[hidden] { display: none; }
@media (max-width: 720px) { .task-buddy { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; padding: 0 10px; } }
.taskbar .tray .tray-buddy, .taskbar .tray .tray-chat, .taskbar .tray .tray-sound, .taskbar .tray .tray-weather { height: 22px; align-items: center; padding: 0; margin: 0; }   /* (no extra padding: even spacing) */
.taskbar .tray { gap: 12px; }

/* The Lounge "coming soon" note (includes/footer.php): its 📪 tray icon opens it until The Lounge is switched on */
.tray-soon { position: relative; display: inline-flex; align-items: center; padding: 0 4px; border: 0; background: none; color: inherit; font: inherit; line-height: 1; cursor: pointer; }
.tray-soon.on .tray-ico { filter: drop-shadow(0 0 3px rgba(214,91,140,.7)); }
.lsoon { position: fixed; right: 14px; bottom: 62px; z-index: 61; width: 260px; background: #E9E3F3; border: 2px solid; border-color: #fff #6F6496 #6F6496 #fff; box-shadow: 4px 4px 0 rgba(0,0,0,.3); font-family: Verdana, sans-serif; color: #22246B; }
.lsoon[hidden] { display: none; }
.lsoon-tb { display: flex; justify-content: space-between; align-items: center; background: linear-gradient(90deg, #22246B, #5B5FC7); color: #fff; padding: 4px 6px 4px 6px; font-weight: 700; font-size: 13px; }
.lsoon-tb > span { display: inline-flex; align-items: center; gap: 4px; }
.lsoon-tb .tray-ico { width: 18px; height: 18px; font-size: 14px; }
.lsoon-x { width: 22px; height: 20px; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: #E9E3F3; color: #22246B; border: 2px solid; border-color: #fff #9C93C0 #9C93C0 #fff; font: 700 13px/1 Verdana, sans-serif; cursor: pointer; }
.lsoon-bd { margin: 7px; padding: 12px 13px; background: #fff; border: 2px solid; border-color: #6F6496 #fff #fff #6F6496; font-size: 12px; line-height: 1.5; text-align: center; }
.lsoon-bd p { margin: 0 0 8px; }
.lsoon-door { font-size: 14px; }
.lsoon-door span { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.lsoon-when { margin: 0 !important; color: #D65B8C; font-weight: 700; }

/* Footer stays at the bottom on short pages (search, empty cart...): the page is at least one screen
   tall and the main part takes up the extra space, so the footer never floats up with a gap under it. */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > * { flex-shrink: 0; }
body > main { flex: 1 0 auto; }

/* ☁️ "Puffy sent you a letter" toast (includes/footer.php) */
.pw-toast { position: fixed; right: 16px; bottom: 74px; z-index: 660; display: flex; align-items: center; gap: 10px; width: min(300px, calc(100vw - 24px)); padding: 10px 12px; background: #fff; color: #2B2A5E !important; text-decoration: none; border: 3px solid; border-color: var(--bevel-out); outline: 1px solid var(--lav-dark); box-shadow: 4px 4px 0 rgba(43,42,94,.25); font: 14px "Courier Prime", monospace; animation: pw-in .35s cubic-bezier(.2,.9,.3,1.2); }
.pw-toast.out { opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.pw-toast-ic { font-size: 28px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.pw-toast b { display: block; color: #25308A; } .pw-toast small { display: block; color: #6F6496; font-size: 12.5px; }
.pw-toast-x { margin-left: auto; align-self: flex-start; border: 0; background: none; color: #8A89A6; font-size: 18px; cursor: pointer; padding: 0 2px; }
@keyframes pw-in { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 720px) { .pw-toast { top: calc(env(safe-area-inset-top, 0px) + 66px); bottom: auto; left: 10px; right: 10px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .pw-toast { animation: none; } }

/* Hotbox: private window / blocked message (instead of the Sign On form) + photos in the chat (assets/js/hotbox.js) */
.hb-stop { display: grid; gap: 6px; margin: 10px 18px 14px; padding: 12px 14px; border: 2px dashed var(--hb-accent, #2A2D8F); background: #FFFBEA; color: var(--ink, #2B2A5E); font-size: 14px; line-height: 1.45; text-align: center; }
.hb-stop b { font-size: 15px; }
.hb-photo { display: block; max-width: min(220px, 100%); max-height: 260px; margin-top: 4px; border: 2px solid #fff; box-shadow: 0 0 0 1px #8C8AB0; object-fit: cover; }
.hb-photo-btn { font-size: 13px; line-height: 1; padding-bottom: 1px; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }   /* (same size as the smiley so it sits centered) */

/* ---------- Homepage: stash folder bar ("Open the whole stash" under Online favorites, Oct 23 2026) ---------- */
.stash-bar-wrap { margin: 30px 0 6px; }
.stash-bar { width: 100%; background: transparent; font-family: inherit; text-align: left; cursor: pointer; }   /* (also the Stash page's "Show more" button) */
.stash-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 2px dashed var(--lav-dark); color: var(--plum); text-decoration: none; font-size: 15px; transition: background .15s; }
.stash-bar:hover, .stash-bar:focus-visible { background: rgba(255,255,255,.55); }
.stash-bar .sb-path { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.stash-bar, .stash-bar * { line-height: 1.3; }   /* (everything on one line, lined up: the folder, the count and the link) */
.stash-bar .sb-say { flex: 1; min-width: 0; }
.stash-bar b { white-space: nowrap; }
.stash-bar:hover b { text-decoration: underline; }
@media (max-width: 720px) {
    .stash-bar-wrap { margin-top: 24px; }
    .stash-bar { justify-content: space-between; padding: 12px 14px; gap: 10px; }
    .stash-bar .sb-path { font-size: 0; }   /* phones: just the folder and the link */
    .stash-bar .sb-path .sb-n { font-size: 15px; }   /* (the Stash page keeps its "14 more designs") */
    .stash-bar .sb-path span { font-size: 22px; }
    .stash-bar .sb-say { display: none; }
}
@media (max-width: 360px) { .stash-bar { font-size: 14px; padding: 12px; } .stash-bar .sb-path .sb-n { font-size: 14px; } }

/* ---------- Shop page: need_help.exe on phones is one short line (Oct 23 2026) ----------
   "Not sure?" + two small buttons. The – button still tucks it into the taskbar (remembered: assets/js/site.js). */
.help-short, .help-actions .hl-s { display: none; }
@media (max-width: 720px) {
    .win-help .win-body { padding: 12px; }
    .help-strip { flex-wrap: nowrap; gap: 8px; }
    .help-strip p, .help-actions .hl-l { display: none; }
    .help-short, .help-actions .hl-s { display: inline; }
    .help-short { flex: none; color: var(--plum); font-size: 14px; white-space: nowrap; }
    .help-actions { flex: 1; flex-wrap: nowrap; gap: 6px; min-width: 0; }
    .help-actions .btn { flex: 1 1 0; min-width: 0; padding: 9px 6px; font-size: 12.5px; white-space: nowrap; }
}

/* ---------- Homepage welcome window on phones: one big button + a "Help me pick" link (Oct 23 2026) ---------- */
.hero-or { display: none; }
@media (max-width: 720px) {
    .hero-actions { margin-top: 20px; gap: 10px; }
    .hero-actions .btn-ghost { display: none; }
    .hero-or { display: block; flex: 1 1 100%; margin: 0; text-align: center; font-size: 14px; }
    .hero-or a { color: inherit; font-weight: 700; text-underline-offset: 3px; }
}
/* Lore + Wholesale dialogs: OK is a real button now (it closes the dialog into the taskbar) */
.dialog-ok button.btn { pointer-events: auto; cursor: pointer; font-family: inherit; }

/* ---------- Homepage size section: the shiny Y2K "chrome bubble" button (Oct 23 2026) ----------
   Out on the desk, not in a window, so it doesn't use the window-button look. Takes each theme's --lime color. */
.chrome-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 15px 34px; border-radius: 999px; overflow: hidden;
    color: #2B2A5E; font: 800 17px var(--body); letter-spacing: .04em; text-decoration: none;
    background: var(--lime);
    background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--lime) 60%, #fff) 45%, var(--lime) 55%, color-mix(in srgb, var(--lime) 80%, #000) 100%);
    box-shadow: inset 0 2px 1px rgba(255,255,255,.9), inset 0 -3px 6px rgba(0,0,0,.18), 0 0 0 2px rgba(255,255,255,.55), 0 8px 22px rgba(0,0,0,.35);
    transition: transform .15s, filter .15s; }
.chrome-btn::before { content: ""; position: absolute; left: 12%; right: 12%; top: 3px; height: 42%; border-radius: 999px; background: linear-gradient(rgba(255,255,255,.85), rgba(255,255,255,0)); pointer-events: none; }
.chrome-btn::after { content: "✦"; }
.chrome-btn:hover { filter: brightness(1.05) saturate(1.1); transform: translateY(-1px); }
.chrome-btn:active { transform: translateY(1px); box-shadow: inset 0 2px 1px rgba(255,255,255,.7), inset 0 -2px 4px rgba(0,0,0,.2), 0 0 0 2px rgba(255,255,255,.5), 0 4px 10px rgba(0,0,0,.3); }
.chrome-btn:focus-visible { outline: 2px dashed #fff; outline-offset: 4px; }
.home-spread-cta { flex-direction: column; gap: 14px; }   /* (the chrome bubble with the Smoke Test link under it) */

/* ---------- Homepage Hotbox chat: it fills its column, with a real message box at the bottom (Oct 23 2026) ---------- */
@media (min-width: 1081px) {   /* (side by side only: below 1080px the two windows stack) */
    .win-row:has(.win-im) { align-items: stretch; }
    .win-im { display: flex; flex-direction: column; margin-bottom: 48px; }   /* (the markets window starts 48px lower, so this one ends 48px higher: an even stagger) */
    .win-im > .win-body { flex: 1; display: flex; flex-direction: column; }
    .win-im .im-body { flex: 1; align-content: start; }
}
.im-say { display: flex; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--lav-mid); }
.im-say input { flex: 1; min-width: 0; padding: 9px 12px; border: 2px solid; border-color: var(--lav-dark) #fff #fff var(--lav-dark); background: #fff; color: var(--ink); font: 400 14.5px var(--body); }
.im-say input:focus { outline: 2px dashed var(--pink); outline-offset: 2px; }
.im-say button { padding: 9px 16px; border: 2px solid; border-color: #fff #9DB02E #9DB02E #fff; background: var(--lime); color: var(--ink); font: 700 14px var(--body); cursor: pointer; }
.im-msg.im-you { justify-self: end; background: #fff; border: 2px dashed var(--lav-dark); }
.im-status-line { justify-self: end; margin: -4px 0 0; color: var(--plum); font-size: 13px; font-weight: 700; }
.im-status-line a { color: var(--plum); }
.im-status-line.ok { color: #2F7A3D; }
/* Hotbox sign-on: the homepage message they're about to send, shown like one more field (not a pop-up) */
.hb-pending { display: grid; gap: 3px; }
.hb-pending[hidden] { display: none; }
.hb-pending-lab { font-size: 13px; font-weight: 700; color: var(--hb-accent); }
.hb-pending-lab b { margin-left: 4px; color: #2F7A3D; font-size: 12px; }
.hb-pending-txt { margin: 0; padding: 6px 8px; border: 2px solid; border-color: #8C8AB0 #FFFFFF #FFFFFF #8C8AB0; background: #F7F6FC; color: var(--ink); font-size: 14px; max-height: 4.6em; overflow: auto; overflow-wrap: anywhere; }
.hb-pending small { color: #8C8AB0; font-size: 11.5px; }
.hb[data-hb-theme="emo"] .hb-pending-txt { background: #111; color: #E8E8E8; }

/* Homepage markets window with nothing on the calendar: the booth's away message */
.mk-away { margin: 18px 0 22px; padding: 16px 18px; border: 2px solid; border-color: var(--lav-dark) #fff #fff var(--lav-dark); background: #fff; text-align: center; }
.mk-away b { display: block; color: var(--plum); font-size: 13px; letter-spacing: .08em; }
.mk-away .dec { color: #D65B8C; font-size: 13px; }
.mk-away p { margin: 4px 0; font-size: 15px; }
.mk-away .l1 { color: #5B5FC7; } .mk-away .l2 { color: #D65B8C; } .mk-away .l3 { color: #2F7A3D; }
.mk-away small { display: block; margin-top: 10px; color: #8C8AB0; font-size: 12px; }

/* ---------- Homepage desktop on computers: tidy icons + stickers that keep clear of them (Oct 23 2026) ----------
   Icons: neat columns (index.php $desktop_icons). Stickers: each one stays left of the right-hand icon column,
   whatever the screen size (--w = the sticker's width). Short screens: the headline shrinks so the buttons show. */
@media (min-width: 1081px) {
    .desk-hero .collage .stk { --w: 72px; left: min(var(--x), calc(100% - 166px - var(--w))); }   /* (--w set here too: a --w from further up the page was leaking in and pushing the emoji stickers behind the welcome window) */
    .desk-hero .collage .stk-photo { --w: clamp(170px, 18vw, 250px); }
    .desk-hero .collage .stk-case { --w: clamp(130px, 24%, 205px); }
    .desk-hero .collage .stk-label { --w: 150px; }
}
@media (min-width: 1081px) and (max-width: 1320px) { .desk-hero .collage .stk-photo { --w: 15vw; } }
@media (min-width: 1081px) and (max-height: 900px) { .hero-title { max-width: 12ch; font-size: clamp(44px, min(5.6vw, 8.6vh), 96px); } }
@media (min-width: 1081px) and (max-width: 1320px) { .hero-actions { flex-wrap: nowrap; } .hero-actions .btn-big { padding: 12px 16px; font-size: 14px; white-space: nowrap; } }   /* (small laptops: both buttons on one line) */

/* Homepage (computers): the "you can drag things" tip balloon, popping up from the clock like old Windows */
.desk-hint { display: none; }
@media (hover: hover) and (min-width: 1081px) {
    .desk-hint { position: fixed; right: 14px; bottom: 66px; z-index: 60; display: grid; gap: 4px; width: 250px; padding: 10px 28px 10px 12px; border: 2px solid var(--ink); border-radius: 8px;
        background: #FFFFE1; color: var(--ink); font-size: 13px; line-height: 1.4; box-shadow: 3px 4px 0 rgba(43,42,94,0.3); animation: hint-in .3s ease-out; transition: opacity .3s; }
    .desk-hint[hidden] { display: none; }
    .desk-hint b { font-size: 13px; }
    .desk-hint::after { content: ""; position: absolute; right: 46px; bottom: -11px; width: 18px; height: 18px; background: #FFFFE1; border: 2px solid var(--ink); border-top: 0; border-left: 0; transform: skewX(30deg) rotate(45deg) scale(.7, 1); }
    .desk-hint button { position: absolute; top: 4px; right: 6px; padding: 0 4px; border: 0; background: none; color: var(--ink); font: 700 15px var(--body); cursor: pointer; }
    .desk-hint.is-gone { opacity: 0; }
    @keyframes hint-in { from { opacity: 0; transform: translateY(8px); } }
    @media (prefers-reduced-motion: reduce) { .desk-hint { animation: none; } }
}

/* Homepage headline: the same lime highlighter line as the Lore page's "Chill with intention" (Oct 23 2026) */
.hero-title .hl { background: linear-gradient(transparent 72%, var(--lime) 72%, var(--lime) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Stash Spots list: every weather emoji gets the same width, so names, addresses and the Directions line all start at the same spot (Oct 23 2026) */
.spot-wx { padding-left: 0; padding-right: 0; }

/* Spread item photos (Oct 23 2026): the picture gets the space above the label and shrinks to fit it.
   Before, a real photo showed at its full size (the grid row grew to fit it), so tall items like the tube took over the band. */
.spread-item { grid-template-rows: minmax(0, 1fr) auto; }
.spread-item > img { width: 100%; height: 100%; min-height: 0; }
/* Real photos: each item shows at its real size next to the others (from the photo's own width, --nw, set in PHP).
   All the photos are cut out at the same scale, so a tube is taller than a lighter, a grinder is smaller than papers... */
.spread-item:has(> img) { width: auto; height: auto; grid-template-rows: auto auto; }
.spread-item > img[style*="--nw"] { width: calc(var(--nw) * 0.5px); height: auto; min-height: 0; }
@media (max-width: 720px) { .spread-item > img[style*="--nw"] { width: calc(var(--nw) * 0.34px); } }
.spread-break { flex-basis: 100%; height: 0; }   /* (site.js: splits the spread into two even rows on computers) */

/* ---------- "Everything inside, laid out": reacting pieces (Oct 23 2026, assets/js/site.js + index.php) ----------
   --mx/--my = drifting away from the mouse (or phone tilt), --tx/--ty = being dragged or flung. */
.spread-item { translate: calc(var(--mx, 0px) + var(--tx, 0px)) calc(var(--my, 0px) + var(--ty, 0px)); transition: scale 0.2s, translate 0.9s cubic-bezier(.2,.8,.2,1);
    isolation: isolate; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.spread-item > img { -webkit-user-drag: none; }
@media (pointer: fine) and (min-width: 721px) { .spread-item { cursor: grab; } }
.spread-item.si-held, .spread-item.si-fly { transition: scale 0.2s; z-index: 6; }
.spread-item.si-held { cursor: grabbing; scale: 1.12; }
/* Picking a size (homepage): leaving pieces drift up and fade; new ones float in from the edges with a sparkle */
.spread-item.si-out { animation: si-out 0.36s ease-in forwards; pointer-events: none; }
@keyframes si-out { to { opacity: 0; scale: 0.5; translate: 0 -40px; } }
.spread-item.si-in { animation: si-in 0.85s cubic-bezier(.2,.9,.3,1.12) var(--sd, 0s) both; }
@keyframes si-in { from { opacity: 0; scale: 0.55; translate: var(--fx, 0px) var(--fy, 0px); } }
.spread-item.si-in::after { content: "✦"; position: absolute; top: -8px; right: -6px; z-index: 2; color: var(--lime); font-size: 22px; line-height: 1; text-shadow: 0 0 10px var(--lime); pointer-events: none;
    animation: si-spark 1s ease-out calc(var(--sd, 0s) + 0.45s) both; }
@keyframes si-spark { 0% { opacity: 0; scale: 0.2; } 35% { opacity: 1; scale: 1.35; } 100% { opacity: 0; scale: 0.6; rotate: 90deg; } }
/* "+ Small" / "+ Large": pieces that only come in the bigger kits */
.si-tag { position: absolute; top: -6px; left: 50%; translate: -50% 0; z-index: 2; padding: 2px 8px; border-radius: var(--pill); background: var(--lime); color: var(--ink); font: 700 10.5px var(--body); white-space: nowrap; box-shadow: 2px 2px 0 rgba(43,42,94,0.35); rotate: calc(var(--r, 0deg) * -1); pointer-events: none; }
@media (max-width: 720px) { .si-tag { font-size: 9.5px; padding: 1px 6px; top: -10px; } }
/* A soft shadow under each photo: smaller and lighter when the piece floats up, bigger when it comes down (same timing as the float) */
.spread-item:has(> img)::before { content: ""; position: absolute; left: 14%; right: 14%; bottom: 18px; height: 16px; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(8, 6, 26, 0.55), rgba(8, 6, 26, 0)); animation: si-shade var(--dur, 5s) ease-in-out var(--d, 0s) infinite; pointer-events: none; }
@keyframes si-shade { 0%, 100% { scale: 1; opacity: 0.9; } 30% { scale: 0.72 0.8; opacity: 0.55; } 65% { scale: 0.86 0.9; opacity: 0.75; } }
.home-spread-band.is-away .spread-item::before, html.is-scrolling .spread-item::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .spread-item.si-in, .spread-item.si-out, .spread-item.si-in::after, .spread-item::before { animation: none; } .spread-item { transition: scale 0.2s; } }
html[data-motion="reduce"] .spread-item.si-in, html[data-motion="reduce"] .spread-item::before { animation: none; }


/* =====================================================================
   FOLDABLES + SMALL TABLETS (Oct 27 2026)
   An opened folding phone (like a Galaxy Fold or the iPhone Fold) is about
   680-900px wide. Phones and computers don't use any of this.
   ===================================================================== */
/* Kit page: photos on the left, the kit window (price + Add to cart) on the right,
   so the buy button isn't pushed way down under a giant photo. */
@media (min-width: 680px) and (max-width: 899px) {
    .product-top { grid-template-columns: 1fr 1fr; gap: 16px; }
    .product-left, .product-right { display: flex; flex-direction: column; gap: 16px; }
    .product-top .win { min-width: 0; }
}
/* Homepage: the big welcome heading gets the room to sit on 2 lines instead of 4. */
@media (min-width: 721px) and (max-width: 1080px) {
    .hero-title { max-width: none; font-size: clamp(44px, 6.2vw, 64px); text-wrap: balance; }
}

/* ===== (Nov 12 2026) Window colors (Display Properties > Appearance) in the other site themes =====
   The window colors above are made for LunarOS Classic. In every other theme (Fall, Winter, Halloween...) the theme's
   own window bars used to win, so picking one barely changed anything. Here each choice is made from that theme's own
   colors instead, so it's a clear change that still fits the theme:
     Lime Time = the theme's highlight color   Pink Haze = its pink   Periwinkle = its main color   Night Mode = dark bars */
html[data-scheme="lime"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .win:not(.win-crt):not(.cheat-win):not(.owl-win):not(.gold-win) .win-bar, html[data-scheme="lime"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .hb-bar { background: linear-gradient(90deg, color-mix(in srgb, var(--lime) 75%, #fff), var(--lime-hi)); }
html[data-scheme="lime"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .win:not(.win-crt):not(.cheat-win):not(.owl-win):not(.gold-win) .win-bar .win-title, html[data-scheme="lime"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .hb-bar { color: var(--ink, #2B2A5E); }
html[data-scheme="pink"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .win:not(.win-crt):not(.cheat-win):not(.owl-win):not(.gold-win) .win-bar, html[data-scheme="pink"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .hb-bar { background: linear-gradient(90deg, color-mix(in srgb, var(--pink) 55%, #fff), color-mix(in srgb, var(--pink) 22%, #fff)); }
html[data-scheme="pink"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .win:not(.win-crt):not(.cheat-win):not(.owl-win):not(.gold-win) .win-bar .win-title, html[data-scheme="pink"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .hb-bar { color: var(--plum, #4A2E6E); }
html[data-scheme="peri"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .win:not(.win-crt):not(.cheat-win):not(.owl-win):not(.gold-win) .win-bar, html[data-scheme="peri"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .hb-bar { background: linear-gradient(90deg, color-mix(in srgb, var(--peri) 50%, #fff), color-mix(in srgb, var(--peri) 22%, #fff)); }
html[data-scheme="peri"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .win:not(.win-crt):not(.cheat-win):not(.owl-win):not(.gold-win) .win-bar .win-title, html[data-scheme="peri"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .hb-bar { color: var(--plum, #4A2E6E); }
html[data-scheme="night"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .win:not(.win-crt):not(.cheat-win):not(.owl-win):not(.gold-win) .win-bar, html[data-scheme="night"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .hb-bar { background: linear-gradient(90deg, var(--peri-lo), var(--peri-deep)); }
html[data-scheme="night"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .win:not(.win-crt):not(.cheat-win):not(.owl-win):not(.gold-win) .win-bar .win-title, html[data-scheme="night"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .hb-bar { color: #F4F0FF; }
html[data-scheme="night"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .win:not(.win-crt):not(.cheat-win):not(.owl-win):not(.gold-win) { background: color-mix(in srgb, var(--lav) 70%, #fff); }
html[data-scheme="gold"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .win:not(.win-crt):not(.cheat-win):not(.owl-win):not(.gold-win) .win-bar { background: linear-gradient(90deg, #E8B94A, #FFE9A8, #E8B94A); }
html[data-scheme="gold"] body[class*="theme-"]:not(.theme-default):not(.theme-win95) .win:not(.win-crt):not(.cheat-win):not(.owl-win):not(.gold-win) .win-bar .win-title { color: #4A3308; }

/* Smoke Test: "Who's this for?" (For me / It's a gift) */
.qz-who { margin: 6px 0 -4px; color: var(--plum); font-weight: 700; font-size: 16px; }
.qz-two { display: grid; gap: 10px; width: min(100%, 340px); }
.qz-two .btn { width: 100%; justify-content: center; }
.qz-unsure { border-style: dashed; border-color: #C9B8E0; background: #FBF9FE; color: #6E5488; }
.qz-unsure:not([hidden]) { grid-column: 1 / -1; min-height: 52px; justify-content: center; }
@media (min-width: 720px) { .qz-answers.qz-two-col { grid-template-columns: 1fr 1fr; } }

/* Gift note character count (cart) */
.sum-count { display: block; margin-top: 3px; text-align: right; font-size: 12.5px; color: #A58BC0; font-variant-numeric: tabular-nums; }
.sum-count.is-near { color: #6E5488; font-weight: 700; }
.sum-count.is-full { color: var(--pink, #C8577F); font-weight: 700; }
