/* =====================================================================
   LUNAR HAZE — EXTRAS (assets/css/extras.css)
   Small additions that sit on top of site.css.
   ===================================================================== */

/* Small kits: the optional "Add a ring holder" checkbox on the product page */
.addon-check { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 14px; padding: 12px 14px; cursor: pointer;
               background: var(--paper); border: 2px dashed var(--lav-dark); border-radius: 10px; transition: border-color .15s, background .15s; }
.addon-check:hover { border-color: var(--peri); }
.addon-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.addon-box { flex: none; width: 22px; height: 22px; margin-top: 1px; border: 2px solid var(--peri); border-radius: 6px; background: #fff; display: grid; place-items: center; }
.addon-check input:checked + .addon-box { background: var(--peri); }
.addon-check input:checked + .addon-box::after { content: "✓"; color: #fff; font: 700 14px/1 var(--body); }
.addon-check input:focus-visible + .addon-box { outline: 3px solid var(--lime); outline-offset: 2px; }
.addon-check:has(input:checked) { border-style: solid; border-color: var(--peri); background: var(--lav); }
.addon-text b { color: var(--plum); } .addon-text em { font-style: normal; font-weight: 700; color: var(--peri); margin-left: 4px; }
.addon-text small { display: block; margin-top: 2px; color: var(--ink); opacity: .7; font-size: .85em; }
.addon-check.is-out { cursor: not-allowed; opacity: .55; }

/* Cart: shipping speed choices under "Shipping to" */
.ship-methods { display: grid; gap: 6px; margin: -4px 0 12px; }
.ship-m { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 2px solid var(--lav-mid); background: var(--white); cursor: pointer; font-size: 14px; color: var(--plum); }
.ship-m:has(input:checked) { border-color: var(--peri); background: #F6FBD9; }
.ship-m input { accent-color: var(--plum); }
.ship-m span { flex: 1; display: grid; } .ship-m small { color: #A58BC0; font-size: 12px; } .ship-m em { font-style: normal; font-weight: 700; }
.ship-m small.ship-eta-c, .co-ship-name small.ship-eta-c { color: #2E7D1F; font-weight: 700; }   /* (delivery estimate, lh_eta in includes/free-shipping.php) */
.ship-eta { margin-top: 2px; }
@media (max-width: 480px) { .ship-eta .eta-std { display: none; } }   /* (phones: just the dates, so it fits on one line) */


/* Checkout: step titles (a real heading instead of the fieldset legend, which some browsers squeezed to one word per line) */
.wiz-title { margin: 0 0 12px; padding: 0; width: 100%; color: var(--plum); font: 800 clamp(26px, 5vw, 34px)/1.05 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.co-ship { text-align: left; }
.co-ship-name, .co-ship-price { text-align: left; }
.co-ship-price { margin-left: auto; white-space: nowrap; }

/* Checkout: the optional order notes box */
.co-ordernote textarea { 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; }

/* Smoke Test: the crystal ball was clipped at the top */
.qz-orb { display: inline-block; line-height: 1.35 !important; padding-top: .12em; overflow: visible; }

/* Checkout address: boxes side by side line up at the bottom, even when one label is longer (like "(optional)") */
.co-grid > .co-f { grid-template-rows: 1fr auto; align-items: end; }
.co-grid > .co-f > span, .co-grid > .co-f > small { align-self: end; }
.co-grid > .co-f small { display: inline; }

/* Stash Spots: the icon key folds into a small button on the map */
.map-key { position: absolute; left: 12px; bottom: 12px; z-index: 500; max-width: calc(100% - 80px); background: var(--white); border: 2px solid var(--lav-mid); box-shadow: 3px 3px 0 rgba(94,63,122,.18); font-size: 13px; color: var(--plum); }
.map-key summary { list-style: none; cursor: pointer; padding: 7px 12px; font-weight: 700; white-space: nowrap; }
.map-key summary::-webkit-details-marker { display: none; }
.map-key summary::after { content: " ▴"; color: var(--peri); }
.map-key[open] summary::after { content: " ▾"; }
.map-key summary small { color: #A58BC0; font-weight: 400; }
.map-key-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 4px 12px; width: min(520px, 70vw); max-height: 190px; overflow-y: auto; padding: 4px 12px 10px; border-top: 1px dashed var(--lav-mid); }
.map-key-list span { display: flex; align-items: center; gap: 6px; white-space: nowrap; } .map-key-list b { width: 20px; text-align: center; font-weight: 400; }
@media (max-width: 700px) { .map-key-list { width: min(320px, 80vw); grid-template-columns: 1fr 1fr; } }

/* Stash Spots: the pink "Puffcast alerts" tag covers the full height of the ticker (the bar's top edge was peeking out above it) */
.ticker { border-top: 0; }
.ticker-track { border-top: 3px solid var(--plum); }

/* =====================================================================
   QUICK VIEW (the Stash): photo gallery + compact grinder/paper picker
   ===================================================================== */
/* Same as the product page gallery: a square frame, and the whole photo always shows,
   wide or tall (the lavender fills the gaps). */
.qv-photo { position: relative; overflow: hidden !important; height: auto !important; aspect-ratio: 1 / 1 !important; }
.qv-slides, .qv-slides img, .qv-slides .ph { width: 100%; height: 100%; }
.qv-slides img { display: block; object-fit: contain; }
.qv-slides img[hidden] { display: none; }
.qv-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 44px; padding: 0; border: 2px solid; border-color: var(--bevel-out);
            background: var(--paper); color: var(--plum); font: 700 24px/1 var(--body); cursor: pointer; box-shadow: 2px 2px 0 rgba(43,42,94,0.25); }
.qv-arrow.prev { left: 8px; }
.qv-arrow.next { right: 8px; }
.qv-arrow:active { border-color: var(--bevel-in); box-shadow: none; }
.qv-arrow:focus-visible { outline: 2px dashed var(--peri); outline-offset: 2px; }
.qv-arrow[hidden], .qv-count[hidden] { display: none; }
.qv-count { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border: 2px solid; border-color: var(--bevel-out); background: var(--paper); color: var(--plum); font: 700 12px var(--body); }
.qv-photo:focus-visible { outline: 3px dashed var(--peri); outline-offset: 2px; }

/* The picker, a size smaller so the quick view stays quick */
.qv-win .kit-pick { gap: 12px; margin-bottom: 14px; }
.qv-win .kp-g { width: 52px; }
.qv-win .kp-dot { width: 40px; height: 40px; }
.qv-win .kp-sw { width: 44px; }
.qv-win .kp-dotc { width: 28px; height: 28px; }
.qv-win .kp-all { margin-top: 6px; }

@media (max-width: 720px) {
    .qv-photo { width: min(100%, 320px); justify-self: center; }   /* phones: square, but not so big it pushes everything down */
    .qv-win .kp-strip, .qv-win .kp-swatches { gap: 8px 4px; }   /* one row each, even on the smallest phones */
    .qv-win .kp-g { width: 47px; }
    .qv-win .kp-sw { width: 40px; }
}

/* =====================================================================
   "NEW DROP INSTALLED" POP-UP (assets/js/drop-alert.js)
   Uses the same sliding window as the newsletter pop-up (.news-win).
   ===================================================================== */
.drop-list { padding-left: 0; list-style: none; }
.drop-list li { display: flex; align-items: baseline; gap: 8px; padding: 3px 0; border-bottom: 1px dashed var(--lav-dark); }
.drop-list li::before { content: "✦"; flex: none; color: var(--pink); }
.drop-list a { color: var(--plum); font-weight: 700; text-decoration: none; }
.drop-list a:hover { text-decoration: underline; }
.drop-list small { margin-left: auto; color: #7A6696; font-size: 11.5px; }
.drop-list .drop-more { border-bottom: 0; color: #7A6696; }
.drop-go { width: 100%; padding: 10px; font-size: 13px; }
.drop-go[hidden], .drop-list[hidden] { display: none; }

/* =====================================================================
   DRESS UP PUFFY (assets/js/puffy.js): outfits + the closet window
   ===================================================================== */
/* With a hat, the drawing just gets taller (room above for the hat): same width = same size Puffy */
.pf-cloud.pf-tall { margin-top: 4px; }

.dress-win { width: min(100%, 500px); }
.dress-win .win-body { display: grid; gap: 14px; padding: 16px; }
.dress-stage { display: flex; align-items: center; gap: 14px; padding: 12px; border: 3px solid; border-color: var(--bevel-in); background: var(--lav); }
.dress-puffy { flex: none; width: 130px; animation: wx-bob 3s ease-in-out infinite; filter: drop-shadow(3px 5px 0 rgba(43,42,94,0.25)); }
.dress-puffy svg { display: block; width: 100%; }
.dress-say { position: relative; flex: 1; padding: 10px 12px; border: 2px solid var(--plum); border-radius: 12px; background: #FFFFE8; color: var(--ink); font-size: 13.5px; line-height: 1.45; }
.dress-say::before { content: ""; position: absolute; left: -9px; top: 50%; width: 14px; height: 14px; border: solid var(--plum); border-width: 0 0 2px 2px; background: #FFFFE8; transform: translateY(-50%) rotate(45deg); }
.dress-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dress-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px 6px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); color: var(--plum); font: 700 12px var(--body); cursor: pointer; }
.dress-tile:hover { background: var(--lav); }
.dress-tile:active { border-color: var(--bevel-in); }
.dress-tile.on { background: var(--lime); outline: 3px solid var(--pink); outline-offset: -1px; }
.dress-tile:focus-visible { outline: 2px dashed var(--peri); outline-offset: 2px; }
.dress-mini { width: 76px; }
.dress-mini svg { display: block; width: 100%; }
.dress-tag { position: absolute; top: -9px; right: -4px; padding: 1px 6px; border: 2px solid var(--plum); background: #FFC27A; color: var(--plum); font-size: 10px; white-space: nowrap; transform: rotate(4deg); }
.dress-tag[hidden] { display: none; }
.dress-tag .dt-s { display: none; }
@media (max-width: 560px) { .dress-tag .dt-l { display: none; } .dress-tag .dt-s { display: inline; } }   /* phones: short tags ("Winter", "Dec 25") */
.dress-actions { display: flex; justify-content: flex-end; }
/* The Done / Wear it button stays pinned to the bottom of the closet while the outfits scroll (it was off screen on phones) */
.dress-win .dress-actions { position: sticky; bottom: -16px; z-index: 2; width: calc(100% + 32px); max-width: none; margin: 0 -16px -16px; padding: 10px 16px 12px; background: var(--paper); border-top: 2px dotted var(--lav-mid); }
@media (max-width: 720px) { .dress-actions .btn { width: 100%; justify-content: center; } }
@media (max-width: 420px) {
    .dress-stage { gap: 10px; padding: 10px; }
    .dress-puffy { width: 96px; }
    .dress-mini { width: 62px; }
}
@media (prefers-reduced-motion: reduce) { .dress-puffy { animation: none; } }

/* Hidden outfits sitting on windows around the site (click to find) */
/* A thin white edge so dark items (like the shades) still show on dark wallpapers */
.pf-hidden { position: absolute; z-index: 5; width: 46px; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .15s ease;
             filter: drop-shadow(0 0 1px #FFF) drop-shadow(0 0 1px #FFF) drop-shadow(2px 3px 0 rgba(43,42,94,0.3)); }
.pf-hidden-shades { width: 56px; }   /* flat and dark, so a bit bigger than the hats */
.pf-hidden-shades.pf-hidden-top-left, .pf-hidden-shades.pf-hidden-top-right { top: -6px; }   /* lying on the light title bar, not floating over the wallpaper */
.pf-hidden-walrus { width: 52px; }   /* (flat + dark too) */
.pf-hidden-walrus.pf-hidden-top-left, .pf-hidden-walrus.pf-hidden-top-right { top: -4px; }
.pf-hidden svg { display: block; width: 100%; height: auto; overflow: visible; }
.pf-hidden-top-left     { top: -26px; left: 18px;   transform: rotate(-14deg); }
.pf-hidden-top-right    { top: -26px; right: 112px; transform: rotate(12deg); }   /* (clear of the window buttons) */
.pf-hidden-bottom-left  { bottom: -12px; left: 22px;  transform: rotate(-8deg); }
.pf-hidden-bottom-right { bottom: -16px; right: 22px; transform: rotate(10deg); }
.pf-hidden:hover, .pf-hidden:focus-visible { transform: rotate(0) scale(1.15); }
.pf-hidden:focus-visible { outline: 2px dashed var(--peri); outline-offset: 3px; }
.pf-hidden.pf-got { animation: pf-got .5s ease-in forwards; pointer-events: none; }
@keyframes pf-got { 40% { transform: translateY(-14px) scale(1.3); } 100% { transform: translateY(-40px) scale(0.2); opacity: 0; } }
/* Every few seconds a little sparkle twinkles on each hidden item: easy to miss, easy to spot once you look */
.pf-glint { position: absolute; top: -6px; right: -8px; color: #FFF6B0; font-size: 15px; line-height: 1; text-shadow: 0 0 4px #FFF, 0 0 8px #E1F66B; opacity: 0; animation: pf-glint 4.5s ease-in-out infinite; pointer-events: none; }
.pf-hidden-top-left .pf-glint, .pf-hidden-bottom-left .pf-glint { right: auto; left: -8px; }
@keyframes pf-glint { 0%, 70%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 80% { opacity: 1; transform: scale(1.1) rotate(45deg); } 90% { opacity: .6; transform: scale(.8) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { .pf-glint { animation: none; opacity: .8; transform: none; } }
@media (max-width: 720px) { .pf-hidden { width: 40px; } .pf-hidden-shades { width: 50px; } }

/* Locked outfits in the closet */
.dress-tile.locked { background: var(--lav); color: #8C76A8; }
.dress-tile.locked:hover { background: #EBDDF7; }
.dress-new { background: var(--lime) !important; }

/* =====================================================================
   SMALL LAYOUT FIXES
   ===================================================================== */
/* Contact page shortcuts: every label on one line, so all four icons line up the same */
.shortcuts a { white-space: nowrap; }
@media (max-width: 480px) { .shortcuts a { font-size: 11.5px; letter-spacing: -0.02em; padding-inline: 0; } }

/* Report a problem: section titles use the full width (they were squeezed into a narrow column),
   with "(tap all that apply)" right after the title */
.report-set { display: block; }
.report-set > * + * { margin-top: 10px; }
.report-set legend { display: block; width: 100%; float: none; }
.report-set legend small { display: inline; margin-left: 4px; }
/* ...and "Don't send" sits right under the Send report button */
.report-form .wiz-btns { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; justify-self: start; }
.report-form .wiz-btns .btn-lime { margin-left: 0; }

/* Logo in the menu bar: never squeezed to nothing (iPhone Safari could shrink it away) */
.logo { flex: none; }
.logo img { max-width: none; width: auto; height: 40px; }

/* Search: a button up top on computers; on phones it moves into the ☰ menu for more room */
.nav-search { display: none !important; }
@media (max-width: 720px) {
    .find-btn { display: none !important; }
    .nav-search { display: block !important; }
    .logo img { height: 36px; }
}

/* =====================================================================
   PHONE FIXES
   ===================================================================== */
/* Forms: message boxes can never stick out past the window (iPhone Safari let them) */
.mail, .report-form { grid-template-columns: minmax(0, 1fr); }
.mail > *, .report-form > * { min-width: 0; }
textarea { max-width: 100%; }

@media (max-width: 720px) {
    /* Pop-up windows (fortune cookie, Puffy's closet, quick view...) sit in the middle of the
       screen instead of up at the top. Tall ones still start at the top and scroll. */
    .dialog-layer > .win { margin-block: auto; }

    /* "Achievement unlocked!" slides down from the top on phones, out of the way of the
       Start bar and the page */
    .ach-toast { top: calc(env(safe-area-inset-top, 0px) + 66px); bottom: auto; left: 10px; right: 10px; width: auto; animation-name: ach-in-top; }
    .ach-toast.out { animation-name: ach-out-top; }
}
@keyframes ach-in-top { from { transform: translateY(-24px); opacity: 0; } }
@keyframes ach-out-top { to { transform: translateY(-24px); opacity: 0; } }

/* Footer bottom row: copyright on the left, "Powered by" always dead center, 21+ note on the right.
   The two sides always get equal room, so the middle stays centered however long the line is. */
.footer-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 8px 28px; }
.footer-bottom p { margin: 0; }
.footer-bottom .powered-by { text-align: center; }
.footer-bottom > p:nth-child(3) { text-align: right; }
@media (max-width: 900px) {
    /* Phones + tablets: the whole bottom strip (copyright, Powered by, 21+, Found a bug?, Privacy) is centered */
    .footer-bottom { grid-template-columns: 1fr; justify-items: center; }
    .footer-bottom > p, .footer-bottom .powered-by, .footer-bottom > p:nth-child(3) { text-align: center; }
}
/* Second row: Found a bug? on the left, Privacy + Cookie settings centered under "Powered by" (centered on phones too) */
.footer-bottom .footer-privacy { align-self: start; text-align: center; }   /* right under "Powered by" */

/* =====================================================================
   TRACK PAGE UFO (assets/js/track-ufo.js): tap the box, it gets beamed up
   ===================================================================== */
.track-art { position: relative; overflow: hidden; padding-bottom: 8px; }
.track-art button { padding: 0; border: 0; background: none; cursor: pointer; font-family: inherit; }
.track-art button:focus-visible { outline: 2px dashed var(--lime); outline-offset: 4px; border-radius: 8px; }
.track-ufo, .track-box { position: relative; z-index: 2; transition: translate .9s cubic-bezier(.5,0,.3,1), scale .9s ease, opacity .5s ease, rotate .9s ease; }
.track-box:hover { rotate: -6deg; }
/* iPhones draw emoji taller than other phones; give the box room so its top isn't cut off */
.track-art button { overflow: visible; }
.track-art .track-box { margin-top: -18px; padding-top: 2px; line-height: 1.5; }
/* the tractor beam (a soft cone of light under the UFO) */
.track-beam { position: absolute; z-index: 1; left: 50%; top: 92px; width: 130px; height: 120px; margin-left: -65px; opacity: 0; pointer-events: none;
              background: linear-gradient(to bottom, rgba(225,246,107,.75), rgba(225,246,107,.08)); clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
              filter: blur(1px); transition: opacity .4s ease; }
.track-art.is-beaming .track-beam { opacity: 1; animation: beam-flicker .25s steps(2) infinite; }
@keyframes beam-flicker { 50% { opacity: .82; } }
.track-art.is-lifting .track-box { translate: 0 -120px; scale: .25; opacity: 0; transition-duration: 1.1s; }
.track-art.is-leaving .track-beam { opacity: 0; animation: none; }
.track-art.is-leaving .track-ufo { translate: 70vw -140px; rotate: 14deg; transition-timing-function: cubic-bezier(.6,0,.9,.4); }
.track-art.is-returning .track-ufo { animation: ufo-return .9s cubic-bezier(.2,.7,.3,1) both; }
@keyframes ufo-return { from { translate: -70vw -100px; rotate: -12deg; } to { translate: 0 0; rotate: 0deg; } }
.track-art.is-spooked .track-ufo { animation: ufo-spook 1.2s ease-in forwards; }
@keyframes ufo-spook { 0% { translate: 0 0; } 10% { translate: -6px 0; } 20% { translate: 6px 0; } 30% { translate: -4px 0; } 40% { translate: 0 0; } 100% { translate: 40vw -60vh; rotate: 25deg; } }
.track-art.is-sneaking .track-ufo { animation: ufo-sneak .9s ease-out both; }
@keyframes ufo-sneak { from { translate: 0 -70vh; } to { translate: 0 0; } }
.track-say { min-height: 1.5em; margin: 14px 0 0; padding: 0 12px; color: #C9C8EE; font-size: 14px; text-align: center; }
@media (prefers-reduced-motion: reduce) { .track-ufo, .track-box, .track-beam { transition-duration: .01s !important; animation-duration: .01s !important; } }

/* =====================================================================
   CHECKOUT: order summary items read like a tidy receipt
   (name, size, then each choice on its own line, price top right)
   ===================================================================== */
.co-items li.co-item { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: start; gap: 4px 14px; }
.co-info { display: grid; gap: 3px; min-width: 0; }
.co-info .co-iname { display: block; font: 800 17px/1.2 var(--display); color: var(--plum); }
.co-isize { color: #6E5488; font-size: 13px; }
.co-iopts { display: grid; gap: 3px; margin-top: 7px; }
.co-iopt { display: flex; align-items: center; gap: 9px; font-size: 13px; line-height: 1.4; color: var(--ink); }
.co-iicon { flex: none; display: grid; place-items: center; width: 18px; font-size: 14px; }
.co-dot { display: block; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--plum); }
.co-iadd { color: var(--plum); font-weight: 700; }
.co-item .co-iprice { padding-top: 2px; white-space: nowrap; }

/* =====================================================================
   CART: change a kit's choices right in the cart (small menus)
   ===================================================================== */
.ci-picks { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 2px; }
.ci-pick { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 0 4px 0 8px; border: 2px solid var(--lav-dark); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 12.5px; cursor: pointer; }
.ci-pick:hover { border-color: var(--peri); }
.ci-pick:focus-within { outline: 2px dashed var(--peri); outline-offset: 2px; }
html .ci-pick select:not([multiple]):not([size]):focus, html .ci-pick select:not([multiple]):not([size]):focus-visible { outline: none; }   /* one box at most: just the one around the whole button (beats the site-wide menu box in site.css) */
/* A choice still to make (e.g. the color of a refill pack added with one tap) */
.ci-pick.ci-need { border-color: #D65B8C; background: #FDF1F6; color: #B4233F; font-weight: 700; animation: ci-need 1.6s ease-in-out infinite; }
@keyframes ci-need { 50% { box-shadow: 0 0 0 4px rgba(214, 91, 140, .22); } }
@media (prefers-reduced-motion: reduce) { .ci-pick.ci-need { animation: none; } }
html .ci-pick select:not([multiple]):not([size]) { max-width: 150px; padding: 4px 20px 4px 2px !important; border: 0; background-color: transparent;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%) !important;   /* just a small arrow (no box) */
    background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55% !important; background-size: 5px 5px, 5px 5px !important; background-repeat: no-repeat !important;
    color: inherit; font: inherit; }
html .ci-pick select:not([multiple]):not([size]):hover { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%) !important; }
html .ci-pick select:focus, html .ci-pick select:focus-visible { outline: none; }
.ci-ring { padding: 4px 10px 4px 8px; gap: 6px; }
.ci-ring input { width: 14px; height: 14px; margin: 0; accent-color: var(--plum); }

/* =====================================================================
   CHECKOUT IN 2 STEPS: shipping speed on the first screen, recap on the second
   ===================================================================== */
.co-shipbox { display: grid; gap: 10px; margin: 18px 0 6px; padding-top: 16px; border-top: 2px dotted var(--lav-dark); }
.co-subhead { margin: 0; color: var(--plum); font: 800 17px/1.2 var(--display); }
.co-shipbox .co-note { margin: 0; }
.co-notebox { margin: 4px 0 10px; }
.co-notebox summary { width: fit-content; color: var(--peri-deep, var(--plum)); font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.co-notebox summary::-webkit-details-marker { display: none; }
.co-notebox summary small { color: #A58BC0; font-weight: 400; }
.co-notebox[open] summary { margin-bottom: 8px; }
.co-recap { position: relative; display: grid; gap: 4px; margin: 0 0 16px; padding: 12px 64px 12px 14px; border: 2px dashed var(--lav-dark); background: var(--paper); font-size: 13.5px; color: var(--ink); }
.co-recap p { margin: 0; line-height: 1.45; }
.co-rrow { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; line-height: 1.5; }
.co-rrow > span { color: #A58BC0; font-weight: 700; }
.co-recap-warn { color: #A8305F; font-weight: 700; }
.co-recap-edit { position: absolute; top: 10px; right: 10px; padding: 2px 8px; border: 2px solid var(--lav-dark); background: var(--white); color: var(--plum); font: 700 12.5px var(--body); cursor: pointer; }
.co-recap-edit:hover { background: var(--lav); }
@media (max-width: 400px) { .co-rrow { grid-template-columns: 1fr; gap: 0; } .co-rrow + .co-rrow { margin-top: 6px; } }
/* Checkout buttons: Back on the left, Place order right next to it filling the rest of the row (at every size).
   The total wraps onto a second line only if the row is really narrow, and the brackets stay next to the words.
   "Back to cart" sits underneath. */
.wiz-main { min-width: 0; }
.wiz-main .wiz-btns { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; gap: 12px; }
.wiz-main .wiz-btns #co-back { grid-column: 1; grid-row: 1; white-space: nowrap; }
.wiz-main .wiz-btns #co-next { grid-column: 2; grid-row: 1; width: 100%; margin: 0; display: block; white-space: normal; text-wrap: balance; text-align: center; justify-self: stretch; }
.wiz-main .wiz-btns #co-back[hidden] + .co-cancel + #co-next, .wiz-main .wiz-btns #co-back[hidden] ~ #co-next { grid-column: 1 / -1; }   /* step 1: no Back, so it takes the whole row */
.wiz-main .wiz-btns .co-cancel { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
.wiz-main { container-type: inline-size; }
.wiz-main .wiz-btns #co-next::before { content: "[\00a0"; }   /* brackets stick to the words, never alone on a line */
.wiz-main .wiz-btns #co-next::after { content: "\00a0]"; }
@container (max-width: 420px) {   /* tight on space: Back shrinks to [ < ] so Place order gets the room */
    .wiz-main .wiz-btns .co-back-word { display: none; }
    .wiz-main .wiz-btns #co-back, .wiz-main .wiz-btns #co-next { padding-left: 12px; padding-right: 12px; }
}

.co-items { padding-bottom: 8px; }

/* =====================================================================
   BUY NOW (product pages): straight to checkout with just this item
   ===================================================================== */
/* (.btn.buy-now so the general button hover, which turns buttons pale, can't wash it out) */
.btn.buy-now { width: 100%; margin-top: 10px; background: var(--plum); color: #FFFFFF; border-color: #8A6AA8 #2E1D40 #2E1D40 #8A6AA8; font-size: 14px; }
.btn.buy-now:hover { background: var(--plum); color: #FFFFFF; filter: brightness(1.18); }
.btn.buy-now:active { border-color: #2E1D40 #8A6AA8 #8A6AA8 #2E1D40; }
.buy-now:focus-visible { outline: 2px dashed var(--plum); outline-offset: 3px; }
.co-buynow-note { margin: 0 0 12px; padding: 8px 12px; border: 2px dashed var(--lav-dark); background: var(--lav); color: var(--plum); font-size: 13px; font-weight: 700; }
/* Checkout items link back to their kit */
a.co-thumb { display: block; text-decoration: none; }
a.co-thumb:hover img { filter: brightness(1.06); }
.co-info a.co-iname { color: var(--plum); text-decoration: none; }
.co-info a.co-iname:hover { text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   EVENTS: "Add to calendar" opens a little menu of calendars
   ===================================================================== */
.addcal { position: relative; display: inline-block; }
.addcal > summary { list-style: none; cursor: pointer; }
.addcal > summary::-webkit-details-marker { display: none; }
.addcal-menu { position: absolute; z-index: 20; left: 0; top: calc(100% + 6px); display: grid; min-width: 220px; padding: 6px; border: 3px solid; border-color: var(--bevel-out); background: var(--paper); box-shadow: 4px 4px 0 rgba(43,42,94,0.25); }
.addcal-menu a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; color: var(--plum); font-size: 14px; font-weight: 700; text-decoration: none; }
.addcal-menu a:hover, .addcal-menu a:focus-visible { background: var(--lav); outline: none; }
@media (max-width: 520px) { .addcal-menu { left: auto; right: 0; } }

/* Hotbox Messenger: "help line" note on the Sign On window (includes/hotbox.php) */
.hb-tagline { max-width: 270px; margin: 8px auto 0; color: var(--ink); font-size: 12.5px; line-height: 1.45; text-align: center; }
.hb-tagline b { display: block; margin-bottom: 2px; color: var(--hb-accent); font-size: 13px; }
.hb[data-hb-theme="emo"] .hb-tagline { color: #E8E8E8; }
/* Bottom line of the Sign On window: "who's online" gets its own line */
.hb-version #hb-status-line { display: block; margin-top: 3px; }

/* Custom kits: the "upload your sticker art" box on the product page */
.custom-art { margin: 6px 0 4px; }
.ca-drop { margin: 6px 0 12px; padding: 14px; border: 3px dashed var(--lav-dark); background: var(--paper); text-align: center; transition: border-color .15s, background .15s; }
.ca-drop.is-over { border-color: var(--peri); background: var(--lav); }
.ca-drop.is-busy { opacity: .7; pointer-events: none; }
.ca-pick { display: grid; gap: 4px; width: 100%; padding: 16px 10px; border: 0; background: transparent; cursor: pointer; color: var(--plum); font: inherit; }
.ca-pick b { font: 700 16px var(--body); } .ca-pick small { color: #A58BC0; font-size: 12.5px; }
.ca-preview { display: grid; justify-items: center; gap: 8px; }
.ca-preview img { max-width: 220px; max-height: 220px; border: 4px solid #fff; box-shadow: 3px 3px 0 rgba(94,63,122,.2); background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.ca-change { padding: 5px 10px; border: 2px solid var(--lav-mid); background: #fff; color: var(--plum); font: 700 12px var(--body); cursor: pointer; }
.ca-msg { margin: 8px 0 0; font-size: 13px; color: var(--plum); min-height: 1em; }
.ca-msg:empty { display: none; }
.ca-rights { margin-top: 0; }
/* admin order page: links to the customer's sticker */
.art-links a { color: #6E5FD6; font-weight: 600; }
/* Custom kits: front + back slots */
.ca-slot { margin: 10px 0; } .ca-label { display: block; margin-bottom: 6px; font: 700 12px var(--body); letter-spacing: 1.5px; text-transform: uppercase; color: var(--plum); }
.ca-back-pick { display: grid; gap: 6px; margin-bottom: 8px; }
/* Custom kits: ready-made backs + the live back preview with the logo */
.ca-presets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 4px 0 10px; }
.ca-preset { display: grid; gap: 4px; justify-items: center; padding: 6px; border: 2px solid var(--lav-mid); background: #fff; cursor: pointer; font-size: 12px; color: var(--plum); text-align: center; }
.ca-preset:has(input:checked) { border-color: var(--peri); background: #F6FBD9; }
.ca-preset input { position: absolute; opacity: 0; }
.ca-preset img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--lav); }   /* the whole back shows, logo included */
.ca-backview { display: grid; justify-items: center; gap: 8px; margin: 4px 0 10px; padding: 12px; background: var(--paper); border: 2px dashed var(--lav-dark); text-align: center; }
.ca-backview small { color: #8C7AAE; font-size: 12px; }
.ca-backimg { position: relative; max-width: 240px; }
.ca-backimg > img:first-child { display: block; max-width: 240px; max-height: 260px; border: 4px solid #fff; box-shadow: 3px 3px 0 rgba(94,63,122,.2); }
.ca-logo { position: absolute; left: 50%; bottom: 7%; width: 32%; transform: translateX(-50%); filter: drop-shadow(0 0 2px rgba(0,0,0,.55)); pointer-events: none; }
.ca-logo.is-black { filter: brightness(0) drop-shadow(0 0 2px rgba(255,255,255,.65)); }
.ca-time { margin: 6px 0 10px; padding: 10px 12px; background: #FFF6D6; border: 2px solid #EBD58A; color: #6E5410; font-size: 13.5px; line-height: 1.5; }
/* Custom kits: size cards, color swatches, "View case" */
.ca-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ca-size { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border: 2px solid var(--lav-mid); background: #fff; cursor: pointer; color: var(--plum); text-align: center; }
.ca-size b { font: 700 15px var(--body); } .ca-size small { color: #A58BC0; font-size: 12.5px; }
.ca-size:has(input:checked) { border-color: var(--peri); background: #F6FBD9; }
.ca-size input, .ca-color input { position: absolute; opacity: 0; }
.ca-size.is-out { opacity: .45; cursor: not-allowed; }
.ca-color-name { font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--peri); }
.ca-colors { display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0 8px; }
.ca-color { cursor: pointer; } .ca-color span { display: block; width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--lav-mid); }
.ca-color:has(input:checked) span { box-shadow: 0 0 0 3px var(--peri); }
.ca-color:has(input:focus-visible) span { outline: 3px solid var(--lime); outline-offset: 3px; }
.ca-color.is-out { cursor: not-allowed; opacity: .35; } .ca-color.is-out span { background-image: linear-gradient(135deg, transparent 46%, #fff 46% 54%, transparent 54%) !important; }
.ca-none { color: #A58BC0; }
.ca-view-btn { margin-top: 2px; }
.ca-caseview { margin: 8px 0 12px; padding: 12px; background: var(--paper); border: 2px dashed var(--lav-dark); text-align: center; }
.ca-cv-tabs { display: inline-flex; gap: 4px; margin-bottom: 10px; }
.ca-cv-tabs button { padding: 5px 14px; border: 2px solid var(--lav-mid); background: #fff; color: var(--plum); font: 700 12px var(--body); cursor: pointer; }
.ca-cv-tabs button.is-on { border-color: var(--peri); background: #F6FBD9; }
.ca-cv-stage { display: grid; place-items: center; min-height: 170px; padding: 8px; background: radial-gradient(circle at 50% 40%, #fff, var(--lav) 70%); }
.ca-case { position: relative; border-radius: 14% / 20%; box-shadow: inset 0 -6px 0 rgba(0,0,0,.18), inset 0 3px 0 rgba(255,255,255,.35), 4px 6px 0 rgba(94,63,122,.2); transition: background .25s, width .25s; }
.ca-case-lid { position: absolute; inset: 8% 6%; }
.ca-case-sticker { position: absolute; inset: 0; border-radius: 9% / 13%; background: rgba(255,255,255,.35) center / cover no-repeat; display: grid; place-items: center; overflow: hidden; }
.ca-case-sticker span { padding: 6px; font: 12px var(--body); color: rgba(0,0,0,.55); background: rgba(255,255,255,.6); }
.ca-case-sticker.has-art span { display: none; }
.ca-case-logo { width: 34%; bottom: 8%; }
.ca-caseview small { display: block; margin-top: 8px; color: #8C7AAE; font-size: 12px; }
.ca-rotate { margin-left: 8px; }
.ca-case-sticker.can-drag { cursor: grab; touch-action: none; } .ca-case-sticker.can-drag:active { cursor: grabbing; }
.ca-drag-hint { display: block; margin-top: 2px; color: #A58BC0; font-size: 11.5px; }

@media (max-width: 520px) { .ca-presets { grid-template-columns: repeat(3, 1fr); } }
/* Custom kits: holiday "order by" reminder */
.ca-orderby { margin: 6px 0 8px; padding: 10px 12px; background: #E6F5EE; border: 2px solid #9ED4B6; color: #17603D; font-weight: 700; font-size: 13.5px; }
.ca-orderby.is-late { background: #FDECEE; border-color: #F1B3BC; color: #9B2335; }

/* "View case" polish: tabs line up, the case is true to scale (not phone-shaped), a softer placeholder */
.ca-cv-tabs { align-items: stretch; }
.ca-cv-tabs button { display: inline-flex; align-items: center; justify-content: center; line-height: 1.2; min-height: 34px; }
.ca-rotate { margin-left: 8px; }
.ca-cv-stage { min-height: 0; padding: 22px 12px; }
.ca-case { max-width: 100%; border-radius: 16px; box-shadow: inset 0 -5px 0 rgba(0,0,0,.18), inset 0 2px 0 rgba(255,255,255,.3), 4px 5px 0 rgba(94,63,122,.18); }
.ca-case-lid { inset: 7%; }
.ca-case-sticker { border-radius: 10px; background-color: rgba(255,255,255,.22); }
.ca-case-sticker span { max-width: 80%; padding: 6px 10px; border-radius: 8px; font-size: 11.5px; line-height: 1.35; text-align: center; color: rgba(0,0,0,.55); background: rgba(255,255,255,.75); }
/* Custom kits: items and lists for sizes that aren't picked stay hidden */
.spread-item[hidden], [data-size-view][hidden] { display: none !important; }
/* Custom kits: the round grinder image preview (drag to frame) */
.ca-gprev { width: 150px; height: 150px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--lav-mid), 3px 3px 0 rgba(94,63,122,.2); background: var(--lav) center / cover no-repeat; cursor: grab; touch-action: none; }
.ca-gprev:active { cursor: grabbing; }
.choice[data-kp="grinder"][hidden] { display: none !important; }
.ca-grinder-top { margin: 0; grid-column: 1 / -1; }
.ca-grinder-top .addon-check { margin-bottom: 0; } .ca-grinder-top .ca-drop { margin: 8px 0 0; }   /* tight: sits snug between the grinder designs and the papers */
.choice[data-kp="grinder"].kp-off { opacity: .4; pointer-events: none; }
/* Custom kits: "What we can't print (and refunds)" */
.ca-rules { margin: 10px 0 8px; padding: 10px 12px; background: #FFF6D6; border: 2px solid #EBD58A; color: #5C4A12; font-size: 13.5px; line-height: 1.55; }
.ca-rules summary { cursor: pointer; font-weight: 700; } .ca-rules p { margin: 8px 0 0; } .ca-rules a { color: inherit; font-weight: 700; }

/* Cart: every choice pill the same height (dropdowns, the custom-kit pill, the ring holder) */
.ci-pick { min-height: 32px; box-sizing: border-box; }
.ci-pick.ci-custom, .ci-pick.ci-static { padding: 3px 14px 3px 10px; line-height: 1.3; }
/* Order lookup: custom kit notice */
.track-custom { margin: 10px 0 0; padding: 10px 14px; background: #EEE8FB; border: 2px dashed var(--lav-dark); color: var(--plum); font-size: 14px; line-height: 1.55; }
.track-custom.is-wait { background: #FFF6D6; border-color: #EBD58A; }

/* =====================================================================
   MERGED IN (fewer files to download): The Lounge chat room + window menus.
   (These used to be assets/css/chat-widget.css and assets/css/win-menus.css.)
   ===================================================================== */

/* =====================================================================
   LUNAR HAZE — THE LOUNGE STYLES (assets/css/chat-widget.css)
   The chat room pop-up reuses Hotbox Messenger's styles (.hb-* in
   site.css), including its color themes. This file only adds the
   chat-room layout (messages + People Here), the tray mailbox, the
   taskbar button, and the green dot in My Mail.
   ===================================================================== */

/* ---------- The window (on top of Hotbox's .hb styles) ---------- */
.hb.cw[hidden] { display: none !important; }
.hb.cw { z-index: 71; width: 560px; max-width: calc(100vw - 32px); right: 16px; left: auto; bottom: 64px; }   /* bottom RIGHT: Hotbox opens bottom left, so they don't stack */
.cw .hb-win { height: min(470px, calc(100vh - 110px)); height: min(470px, calc(100dvh - 110px)); max-height: none; }
.cw .cw-bar { cursor: grab; touch-action: none; }
.cw.cw-dragging .cw-bar { cursor: grabbing; }
.cw.cw-dragging .hb-win { box-shadow: 10px 12px 0 rgba(43, 42, 94, 0.3); }
.cw .cw-pop { display: grid; place-items: center; padding: 0; font: 700 12px/1 Arial, sans-serif; color: var(--ink); }
.cw [hidden] { display: none !important; }
.cw-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Menu row: File / Edit / People / Help (assets/css/win-menus.css) + the 🎨 on the right */
.lh-menubar .cw-theme-btn { margin: -2px 0 -2px auto; padding: 0 4px; font-size: 15px; line-height: 1; }
.cw-help { margin: 6px 8px 0; }
.cw-help p { margin: 0; }

/* Messages + People Here */
.cw-main { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 8px var(--cw-people-w, 150px); padding: 6px 8px 0; }
/* The adjustable wall between the messages and People Here */
.cw-split { position: relative; cursor: col-resize; touch-action: none; }
.cw-split::before { content: ""; position: absolute; top: 0; bottom: 0; left: 3px; width: 2px; border-left: 1px solid #FFFFFF; border-right: 1px solid #8C8AB0; opacity: 0.6; }
.cw-split:hover::before, .cw-split:focus-visible::before, .cw.cw-splitting .cw-split::before { opacity: 1; background: var(--hb-btn); }
.cw-split:focus-visible { outline: none; }
.cw.cw-splitting, .cw.cw-splitting * { cursor: col-resize !important; user-select: none; }
.cw .cw-log { min-height: 0; max-height: none; margin: 0; }
.cw-line { margin: 0 0 3px; word-wrap: break-word; overflow-wrap: anywhere; }
.cw-line .cw-who { color: var(--hb-them); }
.cw-line.mine .cw-who { color: var(--hb-me); }
.cw-line.us .cw-who { color: var(--hb-accent); }
.cw-badge { display: inline-block; margin: 0 2px 0 5px; padding: 0 4px; background: var(--hb-btn); border: 1px solid rgba(0, 0, 0, 0.2); color: #2B2A5E; font: 700 9.5px/15px Arial, sans-serif; letter-spacing: 0.5px; vertical-align: 1px; }
.cw-flag { margin-left: 4px; padding: 0 2px; border: 0; background: none; font-size: 11px; line-height: 1; cursor: pointer; opacity: 0; }
.cw-line:hover .cw-flag, .cw-flag:focus-visible { opacity: 0.75; }
/* Report mode (🚩 Report button): reportable messages light up, tap one to report it */
.cw-report-btn[aria-pressed="true"] { border-color: var(--bevel-in); background: #FCE8F1; color: #A8305F; font-weight: 700; }
.cw-reporting .cw-line.can-report { cursor: pointer; border-radius: 2px; }
.cw-reporting .cw-line.can-report:hover { background: #FCE8F1; outline: 1px dashed #D65B8C; }
.cw-reporting .cw-flag { opacity: 1; }
.cw-reporting .cw-line:not(.can-report), .cw-reporting .cw-host { opacity: 0.35; }
.cw-reporting .cw-log { outline: 2px dashed #D65B8C; outline-offset: -2px; }
.cw-sys-note { margin: 4px 0; padding: 4px 8px; background: #FCE8F1; color: #A8305F; font-size: 12.5px; font-weight: 700; }
.cw-reporting .cw-note { color: #A8305F; font-weight: 700; }
.cw-host { margin: 0 0 3px; color: #6B6A92; font-size: 13px; }
.cw-host b { color: var(--hb-accent); }

.cw-people { display: flex; flex-direction: column; min-height: 0; border: 2px solid; border-color: #8C8AB0 #FFFFFF #FFFFFF #8C8AB0; background: var(--hb-log); color: var(--hb-logtext); font: 400 13px/1.4 Arial, Helvetica, sans-serif; }
.cw-people-h { margin: 0; padding: 4px 8px; border-bottom: 1px solid #C9C6DE; background: var(--hb-art); color: var(--hb-accent); font: 700 12px var(--body); }
.cw-people ul { flex: 1; min-height: 0; margin: 0; padding: 4px 0; overflow-y: auto; list-style: none; }
.cw-people li { padding: 2px 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cw-people li.me { color: var(--hb-me); font-weight: 700; }
.cw-people li.team { color: var(--hb-accent); font-weight: 700; }
@keyframes cw-flash { 0%, 100% { box-shadow: none; } 30%, 70% { box-shadow: 0 0 0 3px var(--hb-btn); } }
.cw-people.cw-flash { animation: cw-flash 0.9s ease 1; }

.cw-note { margin: 3px 10px 0; color: #6B6A92; font-size: 12px; }
.cw-note:empty { display: none; }
.cw-count { color: #8A89A6; font-size: 11.5px; }
.cw-count.low { color: #C2357A; font-weight: 700; }

/* Sign on (screen name + pic) */
.cw-signon { padding: 8px 10px 10px; border-top: 1px solid #C9C6DE; }
.cw-pics { display: flex; flex-wrap: wrap; gap: 3px; margin: 0; padding: 0; border: 0; }
.cw-pics legend { margin-bottom: 3px; color: var(--hb-accent); font-size: 13px; font-weight: 700; }
.cw-pics label { position: relative; display: block !important; }
.cw-pics input { position: absolute; opacity: 0; }
.cw-pics span { display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid #C9C6DE; background: var(--white); font-size: 16px; cursor: pointer; }
.cw-pics input:checked + span { border-color: var(--hb-accent); background: var(--hb-btn); }
.cw-pics input:focus-visible + span { outline: 2px dotted var(--hb-accent); outline-offset: 1px; }

/* Emo theme: keep the extras readable */
.cw[data-hb-theme="emo"] .cw-host, .cw[data-hb-theme="emo"] .cw-note { color: #CFCFCF; }

/* ---------- Tray mailbox + taskbar button ---------- */
.tray-chat { 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-chat .cw-unread, #chat-tab .cw-task-n {
    display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
    background: #D65B8C; color: #fff; font: 700 10px/16px Arial, sans-serif;
}
.tray-chat .cw-unread { position: absolute; top: -6px; right: -6px; }
#chat-tab .cw-task-n { margin-left: 6px; }
.tray-chat .cw-unread[hidden], #chat-tab .cw-task-n[hidden] { display: none; }

/* ---------- Green dot in My Mail ---------- */
.mm-chat-link { position: relative; }
.mm-chat-dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: #2FBF5B; box-shadow: 0 0 0 2px rgba(47, 191, 91, .25); }
.mm-chat-dot[hidden] { display: none; }

/* ---------- Popped out into its own window ---------- */
.cw-popout-page { margin: 0; min-height: 100vh; background: var(--peri, #5B5FC7); }
.hb.cw.cw-popout { inset: 0; width: auto; max-width: none; }
.cw-popout .hb-win { height: 100vh; height: 100dvh; box-shadow: none; }
.cw-popout .cw-bar { cursor: default; }

/* ---------- Phones: full screen, People list behind the "People" menu ---------- */
@media (max-width: 720px) {
    .hb.cw { inset: 0; width: auto; max-width: none; z-index: 1000; }
    .cw .hb-win { height: 100%; max-height: none; box-shadow: none; }
    .cw .cw-bar { cursor: default; }
    .cw .cw-pop, .cw .wb-min { display: none; }
    .cw-main { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
    .cw-split { display: none; }
    .cw-people { display: none; }
    .cw-main.show-people { grid-template-rows: auto minmax(0, 1fr); }
    .cw-main.show-people .cw-people { display: flex; order: -1; max-height: 140px; }
    .cw-flag { opacity: 0.45; }
    .cw .hb-foot { padding-bottom: calc(5px + env(safe-area-inset-bottom, 0px)); }
    .tray-chat { display: none; }
    html.cw-phone-open, html.cw-phone-open body { overflow: hidden; }
}

/* =====================================================================
   LUNAR HAZE — WINDOW MENUS (assets/css/win-menus.css)
   The File / Edit / ... drop-downs in Hotbox and The Lounge, and the
   little LunarOS alert the joke items show. Colors follow each window's
   Hotbox theme (the --hb-* colors from site.css).
   ===================================================================== */
.hb-win { position: relative; }   /* so the alert sits inside the window */
.lh-menubar { position: relative; z-index: 5; align-items: center; }
.hb-menu.lh-menubar { gap: 2px; padding-left: 6px; padding-right: 6px; }
.doc-toolbar.lh-menubar { gap: 4px 4px; padding-left: 8px; }
.lh-menu { position: relative; }
.lh-menu-btn { padding: 1px 7px; border: 1px solid transparent; background: none; color: inherit; font: inherit; cursor: pointer; }
.lh-menu-btn:hover { border-color: #FFFFFF #8C8AB0 #8C8AB0 #FFFFFF; }
.lh-menu-btn[aria-expanded="true"] { border-color: #8C8AB0 #FFFFFF #FFFFFF #8C8AB0; background: var(--hb-hover, #DCD8EF); }
.lh-menu-list {
    position: absolute; top: calc(100% + 2px); left: 0; z-index: 6; min-width: 190px; padding: 3px;
    border: 2px solid; border-color: #FFFFFF #8C8AB0 #8C8AB0 #FFFFFF; background: var(--hb-bg, #ECE9F7);
    box-shadow: 3px 3px 0 rgba(43, 42, 94, 0.3);
}
.lh-menu-list[hidden] { display: none; }
.lh-menu-list button, .lh-menu-list a { display: block; box-sizing: border-box; text-decoration: none; width: 100%; padding: 4px 18px 4px 14px; border: 0; background: none; color: var(--ink, #2B2A5E); font: 400 13px var(--body); text-align: left; white-space: nowrap; cursor: pointer; }
.lh-menu-list button:hover, .lh-menu-list button:focus-visible, .lh-menu-list a:hover, .lh-menu-list a:focus-visible { outline: none; background: var(--hb-bar1, #2A2D8F); color: #FFFFFF; }
.lh-menu-list hr { margin: 3px 2px; border: 0; border-top: 1px solid #8C8AB0; border-bottom: 1px solid #FFFFFF; }
.lh-menubar .lh-right { margin-left: auto; }

/* Document windows (our_story.doc, terms, Drops posts): their own pinks + purples */
.doc-toolbar .lh-menu-btn { color: var(--plum, #5E3F7A); }
.doc-toolbar .lh-menu-btn[aria-expanded="true"] { background: var(--lav-mid, #E3D0F4); }
.doc-toolbar .lh-menu-list { background: #F7EEFC; border-color: #FFFFFF var(--lav-dark, #C9AEE6) var(--lav-dark, #C9AEE6) #FFFFFF; }
.doc-toolbar .lh-menu-list button:hover, .doc-toolbar .lh-menu-list button:focus-visible, .doc-toolbar .lh-menu-list a:hover, .doc-toolbar .lh-menu-list a:focus-visible { background: var(--plum, #5E3F7A); }

/* The joke alert */
.lh-alert-wrap.lh-alert-fixed { position: fixed; z-index: 2000; background: rgba(43, 42, 94, 0.25); }
.lh-alert-wrap { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; background: rgba(43, 42, 94, 0.18); }
.lh-alert { width: min(290px, 100%); border: 3px solid; border-color: var(--bevel-out, #FFFFFF #C9AEE6 #C9AEE6 #FFFFFF); outline: 1px solid #8C8AB0; background: var(--hb-bg, #ECE9F7); box-shadow: 5px 5px 0 rgba(43, 42, 94, 0.35); color: var(--ink, #2B2A5E); font: 400 13.5px/1.45 var(--body); }
.lh-alert-bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 4px 8px; background: linear-gradient(90deg, var(--hb-bar1, #2A2D8F), var(--hb-bar2, #6D71CF)); color: #FFFFFF; font-size: 12.5px; font-weight: 700; }
.lh-alert-body { display: flex; gap: 10px; align-items: flex-start; padding: 12px 12px 6px; }
.lh-alert-body span { font-size: 24px; line-height: 1; }
.lh-alert-body p { margin: 0; }
.lh-alert-ok { display: block; margin: 6px 12px 12px auto; padding: 4px 22px; border: 3px solid; border-color: var(--bevel-out, #FFFFFF #C9AEE6 #C9AEE6 #FFFFFF); background: var(--hb-btn, #FFE14D); color: #2B2A5E; font: 700 13px var(--body); cursor: pointer; box-shadow: 1px 0 0 #2B2A5E, 0 1px 0 #2B2A5E, 1px 1px 0 #2B2A5E; }
.lh-alert-ok:active { border-color: var(--bevel-in); transform: translate(1px, 1px); }
/* the joke pop-ups on page windows (Terms, readme...): a real LunarOS window, not the Hotbox look */
.lh-alert.lh-alert-os { width: min(340px, 100%); border: 0; outline: 0; padding: 0; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); font: 14px/1.5 var(--body); }
.lh-alert-os .win-bar { padding: 8px 8px 8px 12px; }
.lh-alert-os .win-body.lh-alert-body { display: flex; gap: 12px; align-items: flex-start; padding: 16px 16px 6px; }
.lh-alert-os .lh-alert-body span { font-size: 26px; }
.lh-alert-os .lh-alert-ok { display: block; margin: 8px 16px 16px auto; padding: 6px 22px; border: 0; font: inherit; }

/* Emo theme */
.hb[data-hb-theme="emo"] .lh-menu-list button, .hb[data-hb-theme="emo"] .lh-alert:not(.lh-alert-os) { color: #E8E8E8; }
.lh-alert.lh-alert-os .lh-alert-ok { background: var(--lime); color: var(--ink); border: 3px solid; border-color: var(--bevel-out); box-shadow: none; font: 700 13px var(--body); }   /* (Nov 12 2026) the theme's own button, not Hotbox's yellow */


@media (max-width: 720px) {
    .lh-menu-btn { padding: 6px 9px; }
    .lh-menu-list button, .lh-menu-list a { padding: 10px 18px 10px 14px; font-size: 14px; }
}

/* =====================================================================
   PUFFY: POKING + STORM MODE (assets/js/puffy.js, "Poking Puffy")
   A little squish on every poke. After too many, he's an angry gray rain
   cloud with lightning until he calms down.
   ===================================================================== */
.pf-cloud.pf-poked svg { animation: pf-squish 0.32s ease-out; }
@keyframes pf-squish { 30% { transform: scale(1.12, 0.86); } 60% { transform: scale(0.94, 1.08); } 100% { transform: none; } }
/* Getting madder (Oct 31 2026, assets/js/puffy.js): pokes 5-7 shake him, poke 3 he jiggles (trying not to laugh), poke 7 he rumbles */
.pf-cloud.pf-poked-hard svg { animation: pf-poke-shake 0.36s ease-out; }
@keyframes pf-poke-shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } 100% { transform: none; } }
.puffy.pf-jiggle .pf-cloud svg { animation: pf-jiggle 0.5s ease-in-out 3; }
@keyframes pf-jiggle { 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }
.puffy.pf-rumble .pf-cloud svg { animation: pf-rumble 0.25s linear infinite; }
@keyframes pf-rumble { 50% { transform: translateX(1px); } }
.pf-steam { animation: pf-steam 1.4s ease-out infinite; opacity: 0; }
@keyframes pf-steam { 0% { opacity: 0; transform: translateY(4px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .pf-cloud.pf-poked-hard svg, .puffy.pf-jiggle .pf-cloud svg, .puffy.pf-rumble .pf-cloud svg { animation: none; } .pf-steam { animation: none; opacity: .8; } }
.puffy.pf-storm .pf-cloud { animation: pf-grumble 0.18s ease-in-out infinite alternate; }
@keyframes pf-grumble { from { transform: translateX(-1.5px) rotate(-1deg); } to { transform: translateX(1.5px) rotate(1deg); } }
.puffy.pf-storm .pf-bubble, .puffy.pf-storm .pf-bubble::after { background: #E6E3F0; border-color: #3E3560; }
.puffy.pf-storm .pf-say { font-weight: 700; }
/* Stormy: his answer buttons match the storm (same on every theme, phone and computer), not the theme's colors */
.puffy.pf-storm .pf-b { background: #F4F2FA; color: #2E2A4A; border-color: #FFFFFF #3E3560 #3E3560 #FFFFFF; outline-color: #3E3560; }
.puffy.pf-storm .pf-b:hover { background: #D8D3EA; }
.pf-rain line { stroke: #6D8FE0; stroke-width: 2.5; stroke-linecap: round; animation: pf-rain 0.65s linear infinite; }
@keyframes pf-rain { from { transform: translateY(-4px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(14px); opacity: 0; } }
.pf-bolt { opacity: 0; animation: pf-bolt 2.4s steps(1) infinite; }
@keyframes pf-bolt { 0%, 62%, 70%, 76%, 100% { opacity: 0; } 64%, 74% { opacity: 1; } }
/* Clear the haze (right-click): Puffy tumbles off to the right with the gust, waits a beat off screen, then floats
   back in from the left. All one animation, so there's no gap or skipped frame when he comes back. (Oct 23 2026) */
.puffy.pf-blown { animation: pf-blown 2.4s linear .2s both; }
.puffy.pf-blown .pf-bubble { display: none; }
@keyframes pf-blown {
    0%      { transform: none; animation-timing-function: ease-out; }
    8%      { transform: translateX(-14px) rotate(-10deg); animation-timing-function: cubic-bezier(.5,0,.85,.45); }
    50%     { transform: translate(115vw, -35vh) rotate(600deg); }
    62%     { transform: translate(115vw, -35vh) rotate(600deg); }
    62.01%  { transform: translateX(-70vw) rotate(-40deg); animation-timing-function: cubic-bezier(.25,.8,.4,1); }
    90%     { transform: translateX(8px) rotate(4deg); animation-timing-function: ease-in-out; }
    100%    { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .puffy.pf-blown { animation: none; } }
.puffy.puffy.pf-landed:not(.pf-blown):not(.pf-leave) { animation: none; }   /* (.puffy twice: it has to beat buddy.css's summoned-from-smoke / squish-in entrances, or he replayed them after landing: Nov 12 2026) */
/* (Nov 12 2026) Safari blanked him for a split second right after he landed: taking will-change off made it redraw
   him from scratch. Once he's been blown away (or rocketed) he just stays on his own layer, so there's no redraw. */
.puffy.pf-landed, .puffy.pf-rocketing { will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* Seattle drizzle (rain + thunder days): drops fall slowly, the little bolt flickers on thunder days */
.pf-drops path { animation: pf-drip 1.15s ease-in infinite; }
@keyframes pf-drip { from { transform: translateY(-3px); opacity: 0; } 25% { opacity: 1; } to { transform: translateY(9px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .pf-cloud.pf-poked svg, .puffy.pf-storm .pf-cloud { animation: none; }
    .pf-rain line { animation: none; opacity: 0.8; }
    .pf-drops path { animation: none; }
    .pf-bolt { animation: none; opacity: 1; }
}

/* =====================================================================
   CART: CLOSE THE GAP (cart/index.php + assets/js/cart-page.js)
   Up to 3 things under the cart that cost about what's left for free shipping.
   ===================================================================== */
.cart-gap { margin-top: 16px; padding: 12px 14px 14px; border: 2px dashed var(--lav-dark); background: #FBF6FF; }
.cart-gap[hidden] { display: none; }
.cg-head { margin: 0 0 10px; color: var(--plum); font-size: 14px; }
.cg-head b { color: var(--ink); }
.cg-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cg-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px; border: 2px solid; border-color: var(--bevel-out); background: var(--white); }
.cg-photo { display: block; width: 52px; height: 52px; overflow: hidden; background: var(--lav-mid); }
.cg-photo img, .cg-photo .ph { display: block; width: 100%; height: 100%; object-fit: cover; }
.cg-info { display: grid; gap: 2px; min-width: 0; }
.cg-name { overflow: hidden; color: var(--ink); font-weight: 700; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.cg-name:hover { text-decoration: underline; }
.cg-price { color: var(--plum); font-size: 13px; }
.cg-tag { display: inline-block; margin-left: 4px; padding: 0 6px; background: var(--lime); color: var(--ink); font-size: 11.5px; font-weight: 700; }
.cg-both { display: block; width: 100%; margin-top: 8px; min-height: 42px; font-size: 14px; }
.cg-add { min-height: 40px; padding: 6px 12px; font-size: 13px; white-space: nowrap; }
@media (max-width: 480px) { .cg-item { grid-template-columns: 44px minmax(0, 1fr); } .cg-photo { width: 44px; height: 44px; } .cg-add { grid-column: 1 / -1; width: 100%; } }

/* =====================================================================
   TASKBAR: SEATTLE TEMPERATURE + TODAY'S DATE (includes/footer.php + includes/weather.php)
   ===================================================================== */
.tray-temp { font-weight: 400; }
.tray-time { display: inline-flex; align-items: center; gap: 8px; }   /* "Oct 3  2:29 PM" on one line */
.tray-date:empty { display: none; }

/* =====================================================================
   PUFFY: SHINY (rare) + WEATHER EXTRAS (assets/js/puffy.js)
   ===================================================================== */
.puffy.pf-shiny .pf-cloud { filter: drop-shadow(0 0 6px rgba(245, 207, 91, 0.9)) drop-shadow(3px 5px 0 rgba(43, 42, 94, 0.25)); }
.pf-sparkles path { transform-box: fill-box; transform-origin: center; animation: pf-sparkle 1.8s ease-in-out infinite; }
@keyframes pf-sparkle { 0%, 100% { opacity: 0.2; transform: scale(0.5) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .pf-sparkles path { animation: none; opacity: 0.9; } }


/* =====================================================================
   THE LOUNGE: AWAY MESSAGES + DOOR SOUND BUTTON (includes/chat-widget.php)
   ===================================================================== */
.lh-menubar .cw-sound-btn { margin: -2px 0 -2px 2px; padding: 0 4px; font-size: 15px; line-height: 1; }
.cw-away { margin: 6px 8px 0; }
.cw-away label { display: block; margin-bottom: 5px; font-size: 12.5px; color: var(--hb-accent); }
.cw-away label small { color: #8A89A6; font-weight: 400; }
.cw-away-row { display: flex; gap: 4px; }
.cw-away-row input { flex: 1; min-width: 0; padding: 5px 8px; border: 2px solid; border-color: #8C8AB0 #FFFFFF #FFFFFF #8C8AB0; background: var(--white); color: var(--ink); font: 400 14px Arial, Helvetica, sans-serif; }
.cw-people li.is-away { color: #8A89A6; }
.cw-away-msg { display: block; padding-left: 4px; overflow: hidden; color: #8A89A6; font-size: 11.5px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.cw[data-hb-theme="emo"] .cw-away-msg, .cw[data-hb-theme="emo"] .cw-people li.is-away { color: #A8A8A8; }
@media (max-width: 720px) { .cw-away-row input { font-size: 16px; } }

/* =====================================================================
   DIAL UP (Start menu > Dial Up…, assets/js/dialup.js)
   The same dial_up_networking.exe look as the offline page (offline.html).
   ===================================================================== */
.start-dialup { color: var(--plum); }
.du-win { width: min(460px, calc(100vw - 24px)); }
.du-win .du-body { padding: 18px 20px 6px; }
.du-top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 10px; }
.du-icon { flex: none; font-size: 36px; line-height: 1; }
.du-h { margin: 0 0 4px; color: var(--plum); font-weight: 700; font-size: 17px; }
.du-p { margin: 0; font-size: 14px; }
.du-log { padding: 8px 12px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); font-size: 13.5px; line-height: 1.6; min-height: 4.9em; }
.du-log div { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.du-log .bad { color: var(--pink); font-weight: 700; }
.du-log .good { color: #3E8E4A; font-weight: 700; }
.du-bar { height: 24px; margin-top: 10px; padding: 2px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.du-fill { height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--peri) 0 12px, transparent 12px 15px); transition: width .25s linear; }
.du-bar.failed .du-fill { background: repeating-linear-gradient(90deg, var(--pink) 0 12px, transparent 12px 15px); }
.du-bar.done .du-fill { background: repeating-linear-gradient(90deg, #3E8E4A 0 12px, transparent 12px 15px); }
.du-pct { display: flex; justify-content: space-between; margin-top: 4px; color: var(--plum); font-size: 12px; }
.du-msg { min-height: 1.5em; margin: 10px 0 0; color: var(--plum); font-size: 14px; }
.du-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 12px 0 14px; }
.du-btns .btn { min-width: 120px; }
.du-status { display: flex; gap: 4px; padding: 4px 6px; border-top: 1px solid var(--lav-dark); color: var(--plum); font-size: 12px; }
.du-status span { padding: 1px 6px; border: 2px solid; border-color: var(--bevel-in); }
.du-status span:first-child { flex: 1; }
.du-snd { padding: 0 6px; border: 2px solid; border-color: var(--bevel-out); background: var(--lav-mid); color: var(--plum); font: 700 12px var(--body); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .du-fill { transition: none; } }


/* Tray icons: every emoji gets the same 22px box (even spacing), but Apple's emoji art isn't all the
   same size: the cloud is short and wide, the owl and mailbox fill their whole square. On Apple devices
   (Mac, iPhone, iPad: html.emoji-apple, set in includes/header.php) each one is nudged to LOOK the same size.
   Other devices draw emoji differently and look even without this. To adjust one: change its scale()
   number (1 = normal, 1.2 = 20% bigger). */
.taskbar .tray-weather .tray-ico { width: 22px; margin-right: 0; font-size: 17px; transform: scale(1.15); }   /* ☁️ is short and wide everywhere */
html.emoji-apple .taskbar .tray-weather .tray-ico { transform: scale(1.2); }                                      /* ☁️ */
html.emoji-apple .taskbar .tray-owl { transform: scale(0.9); }                                                     /* 🦉 */
html.emoji-apple .taskbar .tray-buddy .tray-ico, html.emoji-apple .taskbar .task-buddy .tray-ico { transform: scale(1.04); }   /* 👥 */
html.emoji-apple .taskbar .tray-chat .tray-ico { transform: scale(0.92); }                                         /* 📪 */
html.emoji-apple .taskbar .tray-sound .tray-ico { transform: scale(0.96); }                                        /* 🔊 */
/* Apple's emoji sit a little low in their box: lift them so they're centered in the tray */
html.emoji-apple .taskbar .tray .tray-ico, html.emoji-apple .taskbar .tray-owl, html.emoji-apple .taskbar .task-buddy .tray-ico { translate: 0 -2px; }
html.emoji-apple .taskbar .tray-owl { translate: 0 1px; }   /* (the owl art sits higher than the others: down a bit so they all line up) */

/* The Lounge: "Report this message?" window (assets/js/chat-widget.js) */
.cw-report-box { width: min(320px, 100%); }
.cw-report-box .lh-alert-body > div { min-width: 0; }
.cw-rep-q { margin: 0 0 6px !important; font-weight: 700; }
.cw-rep-msg { margin: 0 0 6px !important; padding: 6px 8px; border: 2px solid; border-color: #8C8AB0 #FFFFFF #FFFFFF #8C8AB0; background: var(--hb-log, #FFFFFF); color: var(--hb-logtext, #2B2A5E); font: 400 13.5px/1.4 Arial, Helvetica, sans-serif; overflow-wrap: anywhere; max-height: 7em; overflow-y: auto; }
.cw-rep-note { margin: 0 !important; color: #6B6A92; font-size: 12px; }
.cw-rep-btns { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 6px 12px 12px; }
.cw-rep-btns .hb-small { min-width: 84px; }   /* Cancel + Report: the same size */
.cw-rep-btns .cw-rep-yes { background: #F29DC0; color: #2B2A5E; font-weight: 700; }

/* =====================================================================
   TASK MANAGER (Ctrl+Alt+Backspace, or right-click the desktop; assets/js/taskmgr.js)
   ===================================================================== */
.tm-win { width: min(500px, calc(100vw - 24px)); }
.tm-menu { display: flex; gap: 2px; padding: 3px 6px; border-bottom: 1px solid var(--lav-dark); color: var(--plum); font-size: 13px; }
.tm-menu .lh-menu-list button:hover, .tm-menu .lh-menu-list button:focus-visible { background: #2B2A5E; }
.tm-tabs { display: flex; gap: 2px; padding: 8px 12px 0; }
.tm-tabs button { padding: 5px 14px; border: 2px solid; border-color: var(--bevel-out); border-bottom: 0; background: var(--lav-mid); color: var(--plum); font: 700 13px var(--body); cursor: pointer; }
.tm-tabs button[aria-selected="true"] { background: var(--paper); position: relative; top: 2px; }
.tm-win .tm-body { padding: 12px; border-top: 2px solid var(--lav-dark); }
.tm-pane[hidden] { display: none; }
.tm-table { max-height: 260px; overflow: auto; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.tm-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tm-table th { position: sticky; top: 0; padding: 4px 8px; border: 1px solid var(--lav-dark); background: var(--lav-mid); color: var(--plum); text-align: left; font-weight: 700; }
.tm-table td { padding: 3px 8px; border-bottom: 1px dotted var(--lav-mid); color: var(--ink); white-space: nowrap; }
.tm-table tr { cursor: pointer; }
.tm-table tbody tr:hover td { background: #F4EEFB; }
.tm-table tr.on td, .tm-table tbody tr.on:hover td { background: #2B2A5E; color: #FFFFFF; }   /* (a fixed dark color, so it stays readable in every color scheme) */
.tm-table tr:focus-visible { outline: 2px dotted var(--plum); outline-offset: -2px; }
.tm-num { text-align: right; }
.tm-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.tm-msg { margin: 0; color: var(--plum); font-size: 13px; }
.tm-end { flex: none; }
.tm-label { margin: 0 0 6px; color: var(--plum); font-size: 13px; }
.tm-graph { display: block; width: 100%; height: auto; margin-bottom: 8px; border: 3px solid; border-color: var(--bevel-in); }
.tm-status { display: flex; gap: 4px; padding: 4px 6px; border-top: 1px solid var(--lav-dark); color: var(--plum); font-size: 12px; }
.tm-status span { flex: 1; padding: 1px 6px; border: 2px solid; border-color: var(--bevel-in); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Puffy "not responding" */
.puffy.pf-frozen .pf-cloud { animation: none; }
.puffy.pf-frozen .pf-cloud svg { filter: grayscale(1) contrast(.85) brightness(1.08); }   /* (solid gray, not see-through: see-through read as a ghost. On the drawing, which is redrawn fresh when he unfreezes, so Safari can't leave him gray) */
/* Frozen = everything on him holds still (rain, blink), even above Task Manager */
.puffy.pf-frozen *, html:has(body > .dialog-layer:not([hidden])) body > .puffy.pf-ontop.pf-frozen * { animation-play-state: paused !important; }
.puffy.pf-frozen .pf-bubble { filter: grayscale(1); }
@media (min-width: 721px) { html:has(body > .dialog-layer:not([hidden])) body > .puffy.pf-ontop { z-index: 85; } }   /* (End Task: Puffy sits above Task Manager's dark backdrop so you see him react, but only while that window is open; after that he's back under the Start menu) */
/* My Mail button wiggle when new mail dings */
.mymail-btn.mm-ring { animation: mm-ring .6s ease-in-out 1; }
@keyframes mm-ring { 20% { transform: rotate(-10deg); } 40% { transform: rotate(9deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .mymail-btn.mm-ring { animation: none; } }

/* =====================================================================
   RUN… · DATE/TIME PROPERTIES · ICON PROPERTIES (assets/js/desk-apps.js)
   ===================================================================== */
.tray-time { padding: 0 2px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.tray-time:hover { text-decoration: underline; text-underline-offset: 3px; }
.tray-time:focus-visible { outline: 2px dotted var(--plum); outline-offset: 2px; }
.start-run { color: var(--plum); }
.run-win { width: min(440px, calc(100vw - 24px)); }
.run-body { padding: 16px 18px 6px !important; }
.run-top { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; }
.run-top p { margin: 0; }
.run-icon { font-size: 30px; line-height: 1; }
.run-row { display: flex; align-items: center; gap: 10px; color: var(--plum); font-weight: 700; font-size: 14px; }
.run-row input { flex: 1; min-width: 0; padding: 6px 8px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); color: var(--ink); font: 400 16px var(--body); }
.run-msg { min-height: 1.4em; margin: 8px 0 0; color: var(--plum); font-size: 13px; }
.run-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 10px 0 12px; }
.run-btns { flex-wrap: nowrap; }
.run-btns .btn { min-width: 0; padding: 8px 12px; font-size: 13px; white-space: nowrap; }   /* OK / Cancel / Browse… fit on one row */
@media (max-width: 380px) { .run-btns { flex-wrap: wrap; } }

.dt-win { width: min(560px, calc(100vw - 24px)); }
.dt-win .dt-body { padding: 12px 14px 4px; border-top: 2px solid var(--lav-dark); }
.dt-cols { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 14px; align-items: start; }
.dt-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; color: var(--plum); }
.dt-nav { width: 32px; height: 28px; border: 2px solid; border-color: var(--bevel-out); background: var(--lav-mid); color: var(--plum); font: 700 16px var(--body); cursor: pointer; }
.dt-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; padding: 4px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.dt-dow { padding: 2px 0; color: var(--plum); font-size: 11px; font-weight: 700; text-align: center; }
.dt-d { position: relative; display: grid; place-items: center; min-height: 38px; padding: 2px 0 0; border: 1px solid transparent; background: none; color: var(--ink); font: 400 13px var(--body); cursor: pointer; }
.dt-d b { font-weight: 400; }
.dt-d i { position: absolute; right: 1px; top: 0; font-style: normal; font-size: 10px; }
.dt-d em { position: absolute; left: 1px; bottom: 0; font-style: normal; font-size: 10px; }
.dt-d:hover { border-color: var(--lav-dark); }
.dt-d.is-today b { font-weight: 700; text-decoration: underline; }
.dt-d.is-picked { background: #2B2A5E; color: #FFFFFF; }
.dt-d.has-ev:not(.is-picked) { background: #FBF6E2; }
.dt-clock { text-align: center; }
.dt-face { width: 140px; height: 140px; }
.dt-rim { fill: var(--white); stroke: var(--plum); stroke-width: 3; }
.dt-tick { stroke: var(--plum); stroke-width: 2.5; stroke-linecap: round; }
.dt-h { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.dt-m { stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.dt-s { stroke: #D65B8C; stroke-width: 1.2; stroke-linecap: round; }
.dt-pin { fill: var(--ink); }
.dt-now { margin: 4px 0 2px; color: var(--ink); font-weight: 700; font-size: 14px; }
.dt-zone { margin: 0; color: var(--plum); font-size: 11.5px; }
.dt-day { margin-top: 10px; padding: 8px 10px; border: 2px dashed var(--lav-dark); background: #FBF6FF; font-size: 13.5px; min-height: 3.2em; }
.dt-day p { margin: 0 0 3px; }
.dt-date { color: var(--plum); font-weight: 700; }
.dt-note { color: var(--plum); }
@media (max-width: 560px) { .dt-cols { grid-template-columns: 1fr; } .dt-clock { display: flex; align-items: center; justify-content: center; gap: 12px; } .dt-face { width: 80px; height: 80px; } }

.pr-win { width: min(380px, calc(100vw - 24px)); }
.pr-win .pr-body { padding: 12px 16px 4px; border-top: 2px solid var(--lav-dark); }
.pr-top { display: flex; align-items: center; gap: 12px; }
.pr-icon { font-size: 34px; line-height: 1; }
.pr-top input { flex: 1; min-width: 0; padding: 5px 8px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); color: var(--ink); font: 700 14px var(--body); }
.pr-body hr { margin: 10px 0; border: 0; border-top: 1px solid var(--lav-dark); border-bottom: 1px solid #FFFFFF; }
.pr-rows { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: 13.5px; }
.pr-rows dt { color: var(--plum); }
.pr-rows dd { margin: 0; color: var(--ink); }
.pr-attrs { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; color: var(--plum); font-size: 13px; }
.pr-attrs label { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); }

/* =====================================================================
   SNAKE (Start menu > Fun & games > Snake, assets/js/snake.js)
   ===================================================================== */
.sn-win { width: min(400px, calc(100vw - 24px)); }
.sn-win .sn-body { padding: 14px 16px 10px; text-align: center; }
.sn-phone { display: inline-block; padding: 10px 10px 12px; border-radius: 14px; background: #3E4A3A; box-shadow: inset 0 -4px 0 rgba(0,0,0,.25); }
.sn-top { display: flex; justify-content: space-between; padding: 0 2px 6px; color: #C7F0D8; font: 700 13px var(--body); }
.sn-screen { display: block; width: min(340px, calc(100vw - 80px)); height: auto; aspect-ratio: 1; border: 3px solid #2B3428; border-radius: 4px; background: #C7F0D8; image-rendering: pixelated; touch-action: none; }
.sn-msg { min-height: 1.4em; margin: 8px 0 4px; color: var(--plum); font-size: 14px; }
.sn-pad { display: grid; grid-template-columns: repeat(3, 56px); grid-template-rows: repeat(3, 44px); gap: 4px; justify-content: center; margin: 4px 0; }
.sn-pad button { border: 3px solid; border-color: var(--bevel-out); background: var(--lav-mid); color: var(--plum); font: 700 16px var(--body); cursor: pointer; }
.sn-pad button:active { border-color: var(--bevel-in); }
.sn-pad [data-d="0,-1"] { grid-column: 2; grid-row: 1; }
.sn-pad [data-d="-1,0"] { grid-column: 1; grid-row: 2; }
.sn-pad .sn-play { grid-column: 2; grid-row: 2; background: var(--lime); font-size: 12px; }
.sn-pad [data-d="1,0"] { grid-column: 3; grid-row: 2; }
.sn-pad [data-d="0,1"] { grid-column: 2; grid-row: 3; }
.sn-help { margin: 4px 0 0; color: var(--plum); font-size: 12px; }
@media (hover: hover) and (pointer: fine) { .sn-pad [data-d] { opacity: .75; } }

/* Snake: initials entry + the shared Top 10 */
.sn-entry { margin: 6px 0; padding: 10px; border: 3px solid; border-color: var(--bevel-in); background: #C7F0D8; color: #43523D; }
.sn-entry[hidden], .sn-pad[hidden] { display: none; }
.sn-entry-h { margin: 0; font: 700 16px var(--body); letter-spacing: 1px; animation: sn-blink 1s steps(2) infinite; }
@keyframes sn-blink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .sn-entry-h { animation: none; } }
.sn-entry-sub { margin: 2px 0 8px; font-size: 13px; }
.sn-slots { display: flex; justify-content: center; gap: 10px; }
.sn-slot { display: grid; justify-items: center; gap: 2px; }
.sn-slot button { width: 40px; height: 28px; border: 2px solid; border-color: var(--bevel-out); background: var(--lav-mid); color: var(--plum); font: 700 12px var(--body); cursor: pointer; }
.sn-slot b { display: grid; place-items: center; width: 40px; height: 44px; border: 3px solid #43523D; background: #DFF7E8; font: 700 26px var(--body); cursor: pointer; }
.sn-slot b.on { background: #43523D; color: #C7F0D8; }
.sn-entry-btns { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.sn-board { margin: 8px auto 0; max-width: 260px; padding: 8px 12px; border: 3px solid; border-color: var(--bevel-in); background: #1E2A1C; color: #C7F0D8; font: 400 14px var(--body); text-align: left; }
.sn-board-h { margin: 0 0 4px; color: #E1F66B; font-weight: 700; text-align: center; letter-spacing: 1px; }
.sn-list { margin: 0; padding: 0; list-style: none; }
.sn-list li { display: grid; grid-template-columns: 30px 1fr auto; gap: 6px; padding: 1px 0; }
.sn-list li.is-new { color: #E1F66B; font-weight: 700; }
.sn-list .sn-empty { display: block; text-align: center; opacity: .8; }
.sn-pts { text-align: right; }


/* Header buttons: Cart matches Search + Mail (same side padding, same icon size).
   It had a little extra padding and a bigger bag icon, so it read as bigger. */
.cart-link { padding-left: 12px; padding-right: 12px; }
.cart-link svg { width: 18px; height: 18px; }

/* =====================================================================
   PUFF FM: VORTEX visualizer, a small window under the player (VIZ button next to REP; assets/js/player.js)
   ===================================================================== */
.hfm-vxp { margin: 0 6px 6px; border: 2px solid; border-color: var(--hfm-lo) var(--hfm-hi) var(--hfm-hi) var(--hfm-lo); background: #000; }
.hfm-vxp[hidden] { display: none; }
.hfm-vxp canvas { display: block; width: 100%; height: 150px; }
/* VIZ sits with SHUF + REP; it glows a little so people notice it */
.hfm-viz-btn { color: var(--hfm-text) !important; text-shadow: 0 0 6px var(--hfm-text); }
/* keep SHUF · REP · VIZ on the same row as the play buttons (the volume slider gives up a little room) */
#puff-fm .hfm-controls { flex-wrap: nowrap !important; gap: 3px; }
#puff-fm .hfm-controls .hfm-vol { flex: 1 1 0; min-width: 0; margin: 0 1px; }
#puff-fm .hfm-controls .hfm-vol input { width: 100% !important; min-width: 28px; }
#puff-fm .hfm-controls > button { flex: 0 0 auto; }
#puff-fm .hfm-controls .hfm-toggle { padding: 0 3px; }

/* =====================================================================
   THE LOUNGE: unread badge on its taskbar button (like Mail's) + "new message" pop-up
   ===================================================================== */
#chat-tab { position: relative; overflow: visible; }
#chat-tab .cw-task-n { position: absolute; top: -9px; right: -9px; margin: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #D65B8C; color: #FFFFFF; font: 700 12px/20px Arial, sans-serif; box-shadow: 0 1px 0 rgba(0,0,0,.25); }
/* The taskbar's button area scrolls sideways when it's full, which also cut off anything poking out the top.
   A little invisible room on top (then pulled back up) lets the badge hang over the corner like Mail's. */
.task-items { padding-top: 10px; margin-top: -10px; padding-right: 10px; }
.cw-toast { position: fixed; right: 16px; bottom: 58px; z-index: 90; display: block; width: 280px; padding: 0; border: 2px solid; border-color: var(--bevel-out, #FFFFFF #8C8AB0 #8C8AB0 #FFFFFF); background: var(--paper, #FFFDF6); color: var(--ink, #2B2A5E); font: 400 13px/1.4 var(--body, monospace); text-align: left; cursor: pointer; box-shadow: 4px 4px 0 rgba(43,42,94,.25); }
.cw-toast[hidden] { display: none; }
.cw-toast.is-in { animation: cw-toast-in .25s ease-out; }
@keyframes cw-toast-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.cw-toast-bar { display: block; padding: 4px 8px; background: linear-gradient(90deg, var(--plum, #5E3F7A), var(--peri, #5B5FC7)); color: #FFFFFF; font-weight: 700; font-size: 12px; }
.cw-toast-body { display: block; padding: 8px 10px 10px; overflow-wrap: anywhere; }
.cw-toast-who { color: var(--plum, #5E3F7A); }
.cw-toast-more { color: #8A89A6; }
.cw-toast:hover .cw-toast-bar { filter: brightness(1.1); }
@media (prefers-reduced-motion: reduce) { .cw-toast.is-in { animation: none; } }

/* Hotbox Messenger: the same reply count + pop-up as The Lounge (assets/js/hotbox.js) */
#hotbox-tab .hb-task-n { position: absolute; top: -9px; right: -9px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #D65B8C; color: #FFFFFF; font: 700 12px/20px Arial, sans-serif; text-align: center; box-shadow: 0 1px 0 rgba(0,0,0,.25); }
#hotbox-tab .hb-task-n[hidden] { display: none; }
.cw-toast.hb-toast { right: auto; left: 16px; }   /* Hotbox lives on the left, so its pop-up does too */

/* =====================================================================
   PRODUCT PAGES: PHOTO ZOOM (assets/js/zoom.js) + COMMON QUESTIONS (stash/product.php)
   ===================================================================== */
/* a 🔍 cursor over the big photo, so people know they can enlarge it */
#viewer-stage figure.slide img { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><text x='2' y='24' font-size='22'>%F0%9F%94%8D</text></svg>") 12 12, zoom-in; }
.zm-open-btn { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 2px solid; border-color: var(--bevel-out); background: rgba(255, 253, 246, .9); color: var(--plum); font-size: 17px; line-height: 1; text-indent: 0; cursor: pointer; }   /* (grid + no padding = the 🔍 sits dead center) */
.zm-open-btn:hover { background: var(--white); }
html.zm-open { overflow: hidden; }
.zm { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; background: rgba(20, 18, 40, .92); overflow: hidden; touch-action: none; }
.zm[hidden] { display: none; }
.zm-img { max-width: 92vw; max-height: 86vh; object-fit: contain; user-select: none; -webkit-user-select: none; transform-origin: center; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.zm-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(0, 0, 0, .35); color: #FFFFFF; font-size: 20px; cursor: pointer; }
.zm-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border: 0; background: rgba(0, 0, 0, .3); color: #FFFFFF; font-size: 34px; cursor: pointer; }
.zm-arrow[hidden] { display: none; }
.zm-prev { left: 10px; } .zm-next { right: 10px; }
.zm.is-zoomed .zm-arrow, .zm.is-zoomed .zm-hint { opacity: 0; pointer-events: none; }
.zm-count { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); margin: 0; color: rgba(255, 255, 255, .8); font: 700 13px var(--body); }
.zm-hint { position: absolute; bottom: 16px; left: 0; right: 0; margin: 0; text-align: center; color: rgba(255, 255, 255, .55); font: 400 12px var(--body); transition: opacity .2s; }
@media (hover: none) { .zm-hint { display: none; } }

.pq { display: grid; gap: 8px; }
.pq-item { border: 2px solid; border-color: var(--bevel-out); background: var(--white); }
.pq-item summary { padding: 10px 12px; color: var(--plum); font-weight: 700; cursor: pointer; list-style: none; }
.pq-item summary::-webkit-details-marker { display: none; }
.pq-item summary::before { content: '▸ '; }
.pq-item[open] summary::before { content: '▾ '; }
.pq-a { padding: 0 14px 12px 28px; font-size: 14.5px; }
.pq-a p { margin: 0 0 8px; }
.pq-a ul { margin: 0 0 8px; padding-left: 18px; }
.pq-more { margin: 4px 0 0; text-align: right; font-size: 14px; }

/* =====================================================================
   CHECKOUT: SHIPPING PROTECTION BOX + "HOW DID YOU HEAR ABOUT US?" (checkout/index.php)
   ===================================================================== */
.co-protect { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 10px 12px; border: 2px dashed var(--lav-dark); background: #FBF8FF; cursor: pointer; }
.co-protect[hidden] { display: none; }
.co-protect input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--plum); }
.co-protect b { display: block; color: var(--plum); font-size: 14.5px; }
.co-protect small { display: block; margin-top: 2px; color: var(--ink); font-size: 13px; line-height: 1.45; }
.co-protect:has(input:checked) { border-style: solid; border-color: var(--plum); background: #F3ECFF; }
#co-protect-row[hidden] { display: none; }
.co-heard { margin: 16px 0 6px; padding: 12px 14px; border: 2px dashed var(--lav-dark); background: #FBF8FF; }
.co-heard[hidden] { display: none; }
.co-heard-q { margin: 0 0 10px; color: var(--plum); font-weight: 700; }
.co-heard-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.co-heard-btns[hidden] { display: none; }
.co-heard-btn { padding: 6px 10px; font-size: 13px; }
.co-heard-thx { margin: 0; color: var(--plum); font-weight: 700; }
/* checkout: "ships from Seattle in discreet packaging" now lives in the order summary */
.co-sum-note { margin: 10px 0 0; color: var(--plum); font-size: 12.5px; line-height: 1.45; text-align: center; }

/* =====================================================================
   CHECKOUT ADDRESS CHECK ("Did you mean…?") + FIX MY ORDER PAGE
   ===================================================================== */
.co-addr { width: min(520px, calc(100vw - 24px)); }
.co-addr .win-body { padding: 16px 18px; }
.co-addr .win-body > p { margin: 0 0 12px; font-size: 14.5px; }
.co-addr-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .co-addr-opts { grid-template-columns: 1fr; } }
.co-addr-opt { padding: 10px 12px; border: 2px solid var(--lav-dark); background: var(--white); font-size: 14px; }
.co-addr-opt b { display: block; margin-bottom: 4px; color: var(--plum); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.co-addr-opt p { margin: 0; line-height: 1.5; }
.co-addr-opt.is-sug { border-color: var(--plum); background: #F7F2FF; }
.co-addr-small { color: var(--plum); font-size: 13px !important; }
.co-addr-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 14px; }

.fix-order .win-fix { max-width: 640px; margin: 0 auto 30px; }
.fix-num { margin: 0 0 10px; color: var(--plum); }
.fix-timer { margin: 0 0 14px; padding: 8px 12px; background: #FFF6D8; border: 2px solid #E9CF6E; font-size: 14px; }
.fix-ok { padding: 10px 12px; background: #EAF7E6; border: 2px solid #8CCB7D; }
.fix-bad { padding: 10px 12px; background: #FDE8EC; border: 2px solid #E7889C; }
.fix-form { margin: 0 0 18px; padding: 14px 16px; border: 2px solid; border-color: var(--bevel-out); background: var(--white); }
.fix-cancel { margin: 4px 0 0; }
.fix-cancel-line { margin: 0; color: var(--plum); font-size: 13px; text-align: center; }
.fix-cancel-link { padding: 0; border: 0; background: none; color: var(--plum); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.fix-cancel-link:hover { color: #B4233F; }
.fix-form h2 { margin: 0 0 10px; font-size: 18px; }
.fix-form label { display: block; margin-bottom: 10px; color: var(--plum); font-weight: 700; font-size: 13.5px; }
.fix-form input, .fix-form select { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); color: var(--ink); font: 400 16px var(--body); box-sizing: border-box; }
.fix-row { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr; gap: 8px; align-items: end; }   /* (boxes line up even when a label wraps) */
.fix-row.no-state { grid-template-columns: 2fr 1fr; }
.fix-row select { width: 100%; }
@media (max-width: 560px) { .fix-row { grid-template-columns: 1fr; } }
.fix-small { color: var(--plum); font-size: 12.5px; }
.fix-cancel p { margin: 0 0 10px; }
.co-fix { margin: 14px 0 0; padding: 8px 12px; background: #FFF6D8; border: 2px solid #E9CF6E; font-size: 13.5px; }
.co-fix[hidden] { display: none; }

/* LunarOS pop-ups that replace the browser's plain OK/Cancel boxes (assets/js/lh-dialog.js) */
.lhd { width: min(440px, calc(100vw - 24px)); }
.lhd-body { display: flex; gap: 14px; align-items: flex-start; padding: 18px 18px 8px !important; }
.lhd-art { flex: none; font-size: 30px; line-height: 1; }
.lhd-body p { margin: 0; font-size: 15px; line-height: 1.5; }
.lhd-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 12px 18px 16px; }
.lhd-btns .btn { min-width: 110px; }
.lhd-danger { background: #F29DC0 !important; border-color: #FFD3E4 #B5577F #B5577F #FFD3E4 !important; color: #2B2A5E !important; }

/* Hotbox: the waiting line banner (assets/js/hotbox.js + includes/chat-queue.php) */
.hb-queue { margin: 6px 8px 0; padding: 8px 10px; border: 2px dashed #E9CF6E; background: #FFF6D8; color: #4A3B00; font: 400 13px/1.45 Arial, Helvetica, sans-serif; }
.hb-queue[hidden] { display: none; }
.hb-queue b { font-weight: 700; }
.hb-queue small { display: block; margin-top: 3px; color: #6B5A1A; font-size: 12px; }

/* Review pop-up: "(optional)" sits right next to its label, not on a line below (they share one .rf-lbl line) */
#review-dialog .rf-lbl small { display: inline; margin-left: 4px; font-size: .85em; }

/* Stash: "Show more designs" button under the grid (assets/js/stash.js) */
.stash-more { display: block; padding: 22px 0 4px; }   /* folder bar (Oct 23 2026), same as the homepage one */
.stash-more[hidden] { display: none; }

/* =====================================================================
   PHOTO BADGES: one consistent, smaller set
   Every sticker on a photo (price seal, Coming soon / New / Best seller star,
   and the round badges like "Glows in the dark") is sized from the photo's own
   width (cqw), so they stay in proportion on cards, the product page and phones,
   with the words big enough to read inside them.
   ===================================================================== */
/* Shop + homepage cards */
.pcard-photo .seal { width: 21%; font-size: 6.2cqw; }
.pcard-photo .seal-sold { font-size: 4.8cqw; }
.pcard-photo .burst { width: 22%; padding: 3% 6% 1%; font-size: 4.3cqw; font-weight: 800; line-height: 1.05; text-wrap: balance; }
.pcard-photo .burst-date { font-size: 4.6cqw; line-height: 1.05; letter-spacing: .3px; white-space: nowrap; }
.pcard-photo .xbadge { width: 29%; }   /* themed badges (ghost, ribbon, watermelon) read easily on shop cards */

/* Product page photo viewer. The Coming soon / date star sits right under the price seal (top left),
   which is always on the photo: photos line up with the top of the frame, wide ones leave space below. */
.viewer-seal { width: 17%; left: 3%; top: 3%; font-size: 4.6cqw; }
.viewer-stage .burst, .viewer-burst { width: 16%; left: 4.5%; right: auto; top: 22% !important; bottom: auto !important; padding: 3% 5% 1%; font-size: 3cqw; font-weight: 800; line-height: 1.05; text-wrap: balance; }
.viewer-stage .burst-date { font-size: 3.2cqw; line-height: 1.05; letter-spacing: .3px; white-space: nowrap; }
.viewer-stage .xbadge { width: 18%; }
.viewer-stage .xbadge-1 { right: 2%; top: 3%; }
.viewer-stage .xbadge-2 { right: 1%; top: 24%; }
/* A date ("10/23") uses the exact same star as "Coming soon": same size, same spot, nothing shifts when you switch */
.pcard-photo .burst, .viewer-stage .burst { min-width: 0; min-height: 0; height: auto; box-sizing: border-box; }

/* =====================================================================
   THEMED BADGES (includes/badges.php): glowing ghost, award ribbon, watermelon
   ===================================================================== */
.xshape .xs-txt { font-family: var(--body); font-weight: 800; letter-spacing: .2px; }
/* Glows in the dark: a navy ghost with a soft lime glow around it */
.xbadge-glow.xshape { filter: drop-shadow(0 0 4px rgba(225, 246, 107, .9)) drop-shadow(0 0 12px rgba(225, 246, 107, .55)) drop-shadow(2px 3px 0 rgba(43, 42, 94, .2)); }
.xbadge-glow .xs-ghost { fill: var(--plum); stroke: var(--lime); stroke-width: 2.2; stroke-linejoin: round; }
.xbadge-glow .xs-eye { fill: var(--lime); }
.xbadge-glow .xs-txt { fill: var(--lime); }
/* Budtender approved: an award ribbon */
.xbadge-budtender .xs-tail { fill: var(--pink); }
.xbadge-budtender .xs-rim { fill: var(--lime); stroke: var(--plum); stroke-width: 2; stroke-dasharray: 4 3; }
.xbadge-budtender .xs-face { fill: var(--lime); stroke: var(--plum); stroke-width: 1.5; }
.xbadge-budtender .xs-txt { fill: var(--plum); }
/* Scratch & sniff: a watermelon slice */
.xbadge-sniff .xs-rind { fill: #3B7D2E; }
.xbadge-sniff .xs-pith { fill: #EAF6DA; }
.xbadge-sniff .xs-flesh { fill: #E5484D; }
.xbadge-sniff .xs-seed { fill: #2B2A2A; }
.xbadge-sniff .xs-txt { fill: #FFFFFF; }
/* The ribbon's tails and the ghost's glow need a little room */
.xshape svg { overflow: visible; }
/* Product page: no Coming soon / date star on the photo (the page already has the release countdown).
   It still shows on the Stash and homepage cards. */
.viewer-stage .viewer-burst { display: none !important; }
/* 3D animated: the lenses swap colors every few seconds, like tilting a lenticular card */
@keyframes xs-lens-l { 0%, 44% { fill: #E24B4A; } 50%, 94% { fill: #378ADD; } 100% { fill: #E24B4A; } }
@keyframes xs-lens-r { 0%, 44% { fill: #378ADD; } 50%, 94% { fill: #E24B4A; } 100% { fill: #378ADD; } }
.xbadge-lenticular .xs-lens-l { animation: xs-lens-l 5s steps(1, end) infinite; }
.xbadge-lenticular .xs-lens-r { animation: xs-lens-r 5s steps(1, end) infinite; }
/* Sparkle finish: twinkles pop on and off around the disco ball */
@keyframes xs-twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 40%, 60% { opacity: 1; transform: scale(1); } }
.xbadge-sparkle .xs-twinkle { transform-box: fill-box; transform-origin: center; animation: xs-twinkle 2.4s ease-in-out infinite; }
.xbadge-sparkle .xs-tw2 { animation-delay: 1.2s; }
@media (prefers-reduced-motion: reduce) { .xbadge-lenticular .xs-lens-l, .xbadge-lenticular .xs-lens-r, .xbadge-sparkle .xs-twinkle { animation: none; opacity: 1; transform: none; } }

/* =====================================================================
   GUEST ARTISTS: the collab page (collab/index.php) + "art by" credit on product pages
   ===================================================================== */
.art-by { margin: -4px 0 10px; color: var(--plum); font-size: 14px; }
.art-by a { color: var(--peri-deep); font-weight: 700; }
.art-by span, .art-by span a { color: #A58BC0; font-weight: 400; font-size: 12.5px; }
.collab-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; max-width: 1100px; margin: 0 auto 30px; }
@media (max-width: 860px) { .collab-grid { grid-template-columns: 1fr; } }
.collab-col { display: grid; gap: 20px; }
.collab-steps { margin: 8px 0 0; padding-left: 22px; } .collab-steps li { margin-bottom: 8px; }
.collab-get { list-style: none; margin: 0; padding: 0; } .collab-get li { margin-bottom: 10px; }
.collab-past { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.collab-past a { color: var(--plum); text-decoration: none; font-weight: 700; font-size: 13px; }
.collab-past img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
.collab-past small { display: block; color: #A58BC0; font-weight: 400; }
.collab-form { display: grid; gap: 10px; }
.collab-form input, .collab-form textarea { width: 100%; box-sizing: border-box; }
.collab-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .collab-two { grid-template-columns: 1fr; } }
.collab-err { margin: -4px 0 4px; color: #B4233F; font-size: 13px; font-weight: 700; }
.collab-send { justify-self: start; }
.collab-small { margin: 0; color: #A58BC0; font-size: 12.5px; }
.collab-sent { text-align: center; padding: 10px 0; } .collab-sent > span { font-size: 40px; }
.collab .rf-lbl small { margin-left: 4px; font-weight: 400; color: #A58BC0; }
/* Model for us (model/index.php): availability checkboxes + the Seattle / 21+ confirmations */
.model-avail { margin: 0; padding: 0; border: 0; }
.model-avail legend { margin-bottom: 6px; color: var(--plum); font-weight: 700; font-size: 14.5px; }
.model-avail legend small { font-weight: 400; color: #A58BC0; }
.model-avail label { display: inline-flex; align-items: center; gap: 6px; margin-right: 14px; font-size: 14px; }
.model-check { display: flex; align-items: center; gap: 8px; color: var(--plum); font-weight: 700; font-size: 14px; }
.model-check input, .model-avail input { width: 18px; height: 18px; accent-color: var(--plum); }

/* Shop cards: optional hover photo (Admin > Products > Hover photo) fades in on computers */
.flower.has-hover { position: relative; }
.flower .pcard-hover { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease, transform .35s ease; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
    .pcard-photo:hover .flower .pcard-hover, .pcard-photo:focus-visible .flower .pcard-hover { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .flower .pcard-hover { transition: none; } }

/* Drops blog: masonry columns (drops/index.php), so posts sit right under each other with no gaps,
   whether or not they have a photo. Phones: one column, newest first (each card's "order"). */
.drop-masonry { display: flex; flex-direction: column; gap: 28px; }
.drop-masonry .drop-col { display: contents; }
.drop-masonry > .drop-col > .drop-card { margin-top: 0 !important; }
@media (min-width: 900px) {
    .drop-masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; align-items: start; }
    .drop-masonry .drop-col { display: flex; flex-direction: column; gap: 34px; }
    .drop-masonry .drop-col:nth-child(2) { margin-top: 56px; }   /* the little stagger, kept */
    .drop-masonry .drop-col:nth-child(3) { margin-top: 22px; }
}

/* Window title bars: a long title shortens with "…" instead of pushing the _ ▢ × buttons out of the window */
.win-bar { min-width: 0; }
.win-title { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.win-title > .win-icon { flex: none; }
.win-title { white-space: nowrap; text-overflow: ellipsis; }
.win-title::after { content: none; }
.win-btns { flex: none; }
.win-title-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Theme pages (stash/theme.php): lunarhaze.co/stash/themes/horror/ */
.theme-page .win-theme { max-width: 1200px; margin: 0 auto 20px; }
.theme-more { max-width: 1200px; margin: 0 auto 30px; text-align: center; color: #fff; font-size: 14px; }
.theme-more a { color: #fff; font-weight: 700; }
.theme-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; max-width: 1100px; margin: 0 auto 30px; }
.theme-tile { display: grid; gap: 4px; padding: 12px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); color: var(--plum); text-decoration: none; text-align: center; }
.theme-tile:hover { transform: translateY(-2px); }
.theme-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: 6px; }
.theme-tile small { color: #A58BC0; }
.theme-list, .theme-tile { min-width: 0; } .theme-list { width: 100%; }
.theme-tile b { overflow-wrap: anywhere; }
@media (max-width: 720px) {   /* phones: two themes per row, sized to the screen (no sideways scrolling) */
    .theme-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .theme-tile { padding: 10px 8px; font-size: 14px; }
    .theme-photo .ph span { white-space: normal; }
}
.theme-link { margin: -4px 0 10px; font-size: 13.5px; } .theme-link a { color: var(--peri-deep); font-weight: 700; }
/* Blog post preview banner (admin/website/post-preview.php) */
.drop-preview-banner { max-width: 900px; margin: 0 auto 14px; padding: 10px 14px; border: 2px dashed #E9CF6E; background: #FFF6D8; color: #4A3B00; font-size: 14px; text-align: center; }

/* International lighter heads-up (assets/js/cart.js): shows the first time someone outside the US adds a kit */
.lighter-pop { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 16px; background: rgba(20, 18, 40, .45); }
.lighter-win { width: min(420px, 100%); }
.lighter-win .win-body { padding: 18px 20px 20px; }
.lighter-win p { margin: 8px 0 16px; line-height: 1.5; }

/* Price stickers gently rock back and forth (like the old site). Pure CSS: nothing extra to load.
   Each card is a little out of step with its neighbors so they don't all move together.
   Change the speed with the 3.6s, or how far they tip with the 7deg. */
@keyframes seal-rock { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.pcard .seal { animation: seal-rock 3.6s ease-in-out infinite; transform-origin: 50% 50%; }
.pcard:nth-child(3n+2) .seal { animation-delay: -1.2s; }
.pcard:nth-child(3n+3) .seal { animation-delay: -2.4s; }
.pcard:nth-child(4n+1) .seal { animation-duration: 4.1s; }
.pcard.is-sold .seal { animation: none; transform: rotate(-6deg); }   /* sold out: holds still */
@media (prefers-reduced-motion: reduce) { .pcard .seal { animation: none; } }   /* people who turned motion off on their phone/computer */

/* =====================================================================
   COMING ALIVE: blinking cursor, windows opening, Puffy drifting,
   "installing" add to cart. All CSS (plus a little in site.js /
   product.js). Everyone with motion turned off sees it all still.
   ===================================================================== */

/* Blinking _ after each page's big heading, like a terminal waiting for you */
@keyframes lh-blink { 50% { opacity: 0; } }
h1::after { content: "_"; display: inline; margin-left: 0.06em; margin-right: -0.6em; font-weight: inherit; animation: lh-blink 1.1s steps(1) infinite; }   /* stays glued to the last word and takes no room, so it never pushes a title onto a 2nd line or sits alone there */
h1.no-cursor::after, h1.wordmark::after, .lh-inv h1::after, .sr-only::after, .visually-hidden::after { content: none; }   /* (add class="no-cursor" to any h1 that shouldn't blink) */

/* Windows "open" as you scroll to them (site.js adds these) */
.win.win-wait { opacity: 0; }
html.win-anim main .win[data-win]:not(.win-seen) { opacity: 0; }   /* (hidden from the very first draw; site.js adds win-seen as each one pops) */
html.win-anim:not(.win-js) main .win[data-win]:not(.win-seen) { animation: lh-win-safety 0s 2.5s forwards; }   /* (if site.js never runs, show them anyway) */
@keyframes lh-win-safety { to { opacity: 1; } }
@keyframes win-open { from { opacity: 0; transform: translateY(14px) scale(0.94); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
.win.win-pop { animation: win-open 0.38s cubic-bezier(.2, .9, .3, 1.15); }

/* Puffy drifts like a real cloud: up and down, a little side to side, a tiny tilt (slower and lazier than before) */
@keyframes pf-drift {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    25%      { transform: translate(5px, -6px) rotate(1.5deg); }
    50%      { transform: translate(1px, -10px) rotate(0); }
    75%      { transform: translate(-5px, -5px) rotate(-1.5deg); }
}
.pf-cloud, .dress-puffy { animation: pf-drift 7s ease-in-out infinite; }

/* "Installing" add to cart (product.js) */
.btn.is-installing { position: relative; overflow: hidden; pointer-events: none; white-space: nowrap; }
.btn.is-installing .inst-bar { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(43,42,94,.22) 0 10px, transparent 10px 13px); transform-origin: left; animation: inst-fill 0.95s steps(12) forwards; }
.btn.is-installing .inst-txt { position: relative; font-family: "Courier New", Courier, monospace; font-size: 0.82em; letter-spacing: 0.02em; overflow: hidden; text-overflow: ellipsis; }
.btn.is-installed .inst-txt { font-family: inherit; font-size: 1em; }
@keyframes inst-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
    h1::after { animation: none; }
    .win.win-wait { opacity: 1; }
    .pf-cloud, .dress-puffy { animation: none; }
}
@media print { .win.win-wait { opacity: 1; } h1::after { content: none; } }

/* Window buttons: the X doesn't close, it shows a little note under itself (assets/js/site.js) */
.win-bar { position: relative; }
.wb-tip { position: absolute; right: 6px; top: calc(100% + 8px); z-index: 20; max-width: min(280px, 80vw); padding: 7px 11px; font: 700 12.5px/1.35 "Courier Prime", monospace; letter-spacing: .3px; text-transform: none; white-space: normal; color: var(--lime, #E1F66B); background: var(--ink, #2B2A5E);
          border: 2px solid; border-color: var(--peri-hi, #8C8FE0) var(--peri-lo, #34378A) var(--peri-lo, #34378A) var(--peri-hi, #8C8FE0); box-shadow: 4px 4px 0 rgba(0,0,0,.25); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .18s, transform .18s; }
.wb-tip::before { content: ""; position: absolute; right: 10px; top: -8px; border: 7px solid transparent; border-top: 0; border-bottom-color: var(--ink, #2B2A5E); }
.wb-tip.show { opacity: 1; transform: none; }
@keyframes wb-nope { 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.win.wb-nope { animation: wb-nope .35s ease; }
.win.is-min .win-bar { border-bottom: 0; }
.win.is-min > :not(.win-bar) { display: none !important; }   /* rolled up: only the title bar shows, even on windows built differently (like The Stash) */

/* ---------- Little easter eggs (assets/js/eggs.js) ---------- */
::selection { background: #E1F66B; color: #2B2A5E; }   /* selected text turns lime */
.egg-note { position: fixed; z-index: 9500; max-width: min(300px, 80vw); padding: 7px 11px; font: 700 12.5px/1.35 "Courier Prime", monospace; letter-spacing: .3px; color: var(--lime, #E1F66B); background: var(--ink, #2B2A5E);
            border: 2px solid; border-color: var(--peri-hi, #8C8FE0) var(--peri-lo, #34378A) var(--peri-lo, #34378A) var(--peri-hi, #8C8FE0); box-shadow: 4px 4px 0 rgba(0,0,0,.25); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .18s, transform .18s; }
.egg-note.show { opacity: 1; transform: none; }
@keyframes egg-shake { 20% { transform: translateX(-5px) rotate(-2deg); } 40% { transform: translateX(5px) rotate(2deg); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.egg-shake { animation: egg-shake .4s ease; }
.seal-sold { cursor: pointer; pointer-events: auto; }
h1.egg-typing::after { content: none; }
.egg-type { white-space: pre; }
.egg-type::after { content: "_"; margin-left: 0.06em; animation: lh-blink 1.1s steps(1) infinite; }
img { -webkit-user-drag: none; -webkit-touch-callout: none; }   /* no dragging photos out, no long-press "Save image" on iPhones (eggs.js handles right-click) */
@keyframes egg-peek { from { transform: translateX(-60px) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
.egg-peek { display: inline-block; animation: egg-peek .6s cubic-bezier(.3,1.5,.5,1); }
@keyframes egg-crash { from { opacity: 0; } 10% { opacity: 1; } to { opacity: 1; } }
.egg-crash { animation: egg-crash .2s steps(1) both; }

/* New Year (Y2K theme): the fake Y2K bug (assets/js/eggs.js) */
.y2k-bug { position: fixed; inset: 0; z-index: 99990; display: grid; place-items: center; padding: 20px; background: rgba(10,8,40,.82); cursor: pointer;
           background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px); animation: y2k-in .2s steps(2) both; }
.y2k-box { max-width: 560px; padding: 22px 26px; text-align: center; font: 700 16px/1.6 "Courier Prime", monospace; color: #7CF9E0; background: #0E0B2E; border: 3px solid #FF4FD8; box-shadow: 0 0 0 3px #0E0B2E, 0 0 40px rgba(255,79,216,.5); }
.y2k-box p { margin: 4px 0; } .y2k-l2 { font-size: 22px; color: #FF4FD8; animation: lh-blink .5s steps(1) infinite; } .y2k-l3 { color: #F4F6FB; min-height: 1.6em; }
.y2k-ok .y2k-l2 { animation: none; color: #7CF9E0; } .y2k-ok .y2k-box { border-color: #7CF9E0; box-shadow: 0 0 0 3px #0E0B2E, 0 0 40px rgba(124,249,224,.5); }
.y2k-out { opacity: 0; transition: opacity .45s; }
@keyframes y2k-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes y2k-glitch { 0%,100% { transform: none; filter: none; } 20% { transform: translate(-6px, 2px) skewX(4deg); filter: hue-rotate(90deg) saturate(3); } 40% { transform: translate(5px, -3px); filter: invert(1); } 60% { transform: translate(-3px, 0) skewX(-6deg); filter: hue-rotate(-120deg); } 80% { transform: translate(2px, 3px); filter: contrast(2); } }
html.y2k-glitching body > *:not(.y2k-bug) { animation: y2k-glitch .35s steps(3) infinite; }
@media (prefers-reduced-motion: reduce) { html.y2k-glitching body > *:not(.y2k-bug) { animation: none; } .y2k-l2 { animation: none; } }

/* Our birthday theme: the confetti burst (assets/js/eggs.js) */
.bday-burst { position: fixed; left: 50%; top: 30%; z-index: 9800; pointer-events: none; }
.bday-burst span { position: absolute; left: 0; top: 0; animation: bday-pop var(--d) cubic-bezier(.15,.7,.4,1) forwards; }
@keyframes bday-pop { 0% { transform: translate(0, 0) scale(.3); opacity: 1; } 60% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(1); opacity: 0; } }

/* Countries we don't ship to: the message on the cart + checkout, and the checkout button greyed out */
.co-blocked { margin: 10px 0; }
.sum-go.is-off { opacity: 0.45; filter: grayscale(1); cursor: not-allowed; }

/* Checkout address boxes line up along the bottom, even when one label wraps (like "Phone (for the carrier)") */
.wiz-main .co-grid { align-items: end; }

/* No-lighter note at checkout with its "I understand" box */
.co-lighter-box[hidden] { display: none; }
.co-lighter-box p { margin: 0 0 8px; }
.co-lighter-box .co-check { margin: 0; }

/* Cart: a heads-up box (no lighter, country warning, can't ship) sits close under the shipping choices, not a big gap away */
.win-summary .win-body:has(> .sum-warn:not([hidden])) > .ship-methods { margin-bottom: 0; }
.win-summary .win-body > .ship-methods ~ .sum-warn { margin-top: -4px; }
.win-summary .win-body > .co-blocked { margin: 0; }

/* Checkout boxes: one fixed height for text boxes and dropdowns, so Safari doesn't draw a dropdown with a flag emoji (🇺🇸 United States) taller than the rest */
.co-f input:not([type="checkbox"]):not([type="radio"]), .co-f select { height: 46px; box-sizing: border-box; line-height: 22px; }

/* Build-A-Blunt's "from" price badge ($33+): a two-color fade, a different one in every theme.
   (Every other price badge stays one solid color.) */
.seal.seal-from { background: linear-gradient(135deg, #7B6CF6, #E2609B); text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
body.theme-halloween  .seal.seal-from { background: linear-gradient(135deg, #F07A1B, #7B3FB8); }
body.theme-fall       .seal.seal-from { background: linear-gradient(135deg, #C8612A, #E0A23B); }
body.theme-winter     .seal.seal-from { background: linear-gradient(135deg, #1F3A5F, #6FA3D8); }
body.theme-y2k        .seal.seal-from { background: linear-gradient(135deg, #5B5FF2, #FF4FD8); }
body.theme-valentines .seal.seal-from { background: linear-gradient(135deg, #C23A6B, #F27FA5); }
body.theme-fourtwenty .seal.seal-from { background: linear-gradient(135deg, #2F7A47, #8FC93A); }
body.theme-spring     .seal.seal-from { background: linear-gradient(135deg, #4FA888, #F07FB3); }
body.theme-summer     .seal.seal-from { background: linear-gradient(135deg, #FF5F6D, #FFB347); }
body.theme-birthday   .seal.seal-from { background: linear-gradient(135deg, #D65B8C, #9B7BF0); }
body.theme-seventen   .seal.seal-from { background: linear-gradient(135deg, #2B1B5E, #7B5CFF 35%, #2FD3B8 70%, #C7A23A); }   /* oil slick */
body.theme-friday13   .seal.seal-from { background: linear-gradient(135deg, #3A0A14, #B3122E); }
body.theme-christmas  .seal.seal-from { background: linear-gradient(135deg, #C8102E, #1F6B47); }
body.theme-pride      .seal.seal-from { background: linear-gradient(135deg, #E40303, #FF8C00, #E0B000, #008026, #004DFF, #750787); text-shadow: 0 1px 3px rgba(0,0,0,0.7); }
body.theme-lunarny    .seal.seal-from { background: linear-gradient(135deg, #B3121F, #E8A23B); }
body.theme-win95      .seal.seal-from { background: linear-gradient(135deg, #000080, #1084D0); }   /* the old title bar */

/* Market calendar arrows: Macs draw ◀ ▶ as little emoji squares, so give them room inside their boxes
   (a slightly bigger box, the emoji centered top to bottom, not pushed against the top edge) */
.cal-nav a { width: 44px; height: 42px; font-size: 18px; line-height: 1; padding: 5px 0 0; }   /* (Apple's emoji sit a little high, so 5px on top evens it out) */

/* Product cards: rating, name, tagline and button sit a little closer together (same rhythm, just tighter) */
/* The space between ROWS of cards used to leak inside each card (browsers spread the grid's row gap into the
   lined-up rows: stars / name / button). So the row gap is now 0 and each card carries the space under itself instead. */
@supports (grid-template-rows: subgrid) {
    .pcard-grid { row-gap: 0 !important; }
    .pcard-grid { --pc-mb: 56px; }
    @media (max-width: 1080px) { .pcard-grid { --pc-mb: 48px; } }
    @media (max-width: 720px)  { .pcard-grid { --pc-mb: 40px; } html[data-view="grid"] .pcard-grid { --pc-mb: 30px; } }
    .pcard-grid > .pcard { margin-bottom: var(--pc-mb); }
    /* The last row doesn't need the space under itself when the grid is the last thing in its window
       (shop by theme, the Stash, Online favorites): the window's own padding is enough. (Oct 23 2026) */
    .win-body > .pcard-grid:last-child, #icons-view, .pcard-grid:has(+ .stash-bar-wrap) { margin-bottom: calc(12px - var(--pc-mb)) !important; }
}
@media (min-width: 721px) { .pcard-rating { margin-top: 14px; } }
/* Fonts and emoji carry empty space above and below the letters, so the boxes get trimmed to fit the ink */
.pcard-rating { line-height: 1.35; }                                 /* (room for Apple's taller emoji: 1 cut them off) */
.pcard-text { gap: 3px; margin-bottom: 14px; }
.pcard-text .pcard-name { margin-top: 6px; line-height: 1.1; }
.pcard-text .pcard-tagline { line-height: 1.3; }

/* =====================================================================
   PAINT (assets/js/paint.js) — Start menu > Fun & games > Paint
   ===================================================================== */
.pt-win { width: min(1040px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); display: flex; flex-direction: column; }
.pt-win .pt-body { padding: 0; overflow: auto; flex: 1 1 auto; position: relative; }
.pt-layer { padding: 12px; }
.pt-title-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-menu { display: flex; gap: 4px; padding: 5px 8px; border-bottom: 2px solid var(--lav-mid); font: 700 13px var(--body); color: var(--plum); }
.pt-menu .lh-menu-list { min-width: 210px; }
.pt-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 9px 12px; border-bottom: 2px solid var(--lav-mid); background: var(--lav); }
.pt-sizewrap, .pt-sidewrap { display: inline-flex; align-items: center; gap: 10px; margin-left: 6px; }
.pt-sizewrap[hidden], .pt-sidewrap[hidden] { display: none; }
.pt-logo { position: absolute; left: 50%; bottom: 7%; width: 32%; transform: translateX(-50%); opacity: .9; filter: drop-shadow(0 0 2px rgba(0,0,0,.55)); pointer-events: none; }
.pt-logo[hidden] { display: none; }
.pt-label { font: 700 12.5px var(--body); color: var(--plum); }
.pt-seg { display: inline-flex; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.pt-seg button { padding: 5px 12px; border: 0; background: none; font: 700 12.5px var(--body); color: var(--plum); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.pt-seg button.on { background: var(--lime); color: var(--ink); }
.pt-main { display: grid; grid-template-columns: 78px minmax(0, 1fr) 206px; min-height: 420px; }
.pt-tools { padding: 10px 8px; border-right: 2px solid var(--lav-mid); background: var(--lav); }
.pt-toolgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pt-tool, .pt-opt { display: grid; place-items: center; height: 30px; padding: 0; border: 3px solid; border-color: var(--bevel-out); background: var(--white); font: 15px/1 var(--body); color: var(--plum); cursor: pointer; }
.pt-tool.on, .pt-opt.on { border-color: var(--bevel-in); background: var(--lime); }
.pt-opts { display: grid; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 2px dotted var(--lav-dark); }
.pt-opts:empty { display: none; }
.pt-optrow { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pt-font-d { font: 700 15px var(--display); } .pt-font-b { font: 700 14px var(--body); }
.pt-sizes { display: grid; gap: 4px; justify-items: center; }
.pt-size { display: grid; place-items: center; width: 100%; height: 30px; border: 2px solid transparent; background: none; cursor: pointer; }
.pt-size i { display: block; border-radius: 50%; background: var(--plum); }
.pt-size.on { border-color: var(--plum); background: var(--white); }
.pt-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; min-width: 0;
    background: repeating-conic-gradient(#F3EEF9 0 25%, #FBF8FE 0 50%) 0 0 / 20px 20px; }
.pt-tag { padding: 2px 10px; border-radius: 99px; background: var(--white); color: var(--plum); font: 700 11px var(--body); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 2px 0 var(--lav-mid); }
.pt-wrap { position: relative; display: flex; justify-content: center; max-width: 100%; }
.pt-canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: clamp(200px, calc(100vh - 400px), 560px); max-height: clamp(200px, calc(100dvh - 400px), 560px); background: #FFF; touch-action: none; box-shadow: 0 10px 24px rgba(60, 30, 90, .14); cursor: crosshair; }
.pt-wrap.is-case .pt-canvas { border-radius: 7%/5%; outline: 3px dashed var(--lav-dark); outline-offset: 4px; }
.pt-canvas[data-tool="fill"] { cursor: cell; } .pt-canvas[data-tool="text"] { cursor: text; } .pt-canvas[data-tool="stamp"] { cursor: copy; }
.pt-textin { position: absolute; z-index: 2; width: 170px; padding: 5px 8px; border: 2px dashed var(--plum); background: rgba(255, 255, 255, .95); font: 700 15px var(--body); }
.pt-side { padding: 10px; border-left: 2px solid var(--lav-mid); background: var(--lav); }
.pt-h { margin: 0 0 8px; font: 700 12.5px var(--body); color: var(--plum); }
.pt-stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pt-stamp { display: grid; place-items: center; height: 42px; padding: 4px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); font: 20px/1 var(--body); cursor: pointer; }
.pt-stamp svg, .pt-stamp img { width: 100%; max-height: 100%; }
.pt-stamp.on { border-color: var(--bevel-in); background: var(--lime); }
.pt-stage { container-type: inline-size; }
/* Puffy sits in the empty corner beside the canvas, not over the stamps */
.pt-puffy { position: absolute; left: 14px; bottom: 14px; display: grid; justify-items: start; gap: 8px; max-width: 150px; pointer-events: none; }
.pt-puffy > svg { margin-left: 22px; }
@container (max-width: 620px) { .pt-puffy { display: none; } }
.pt-puffy > svg { width: 70px; }
.pt-puffy.is-hop > svg { animation: pt-hop .5s ease; }
@keyframes pt-hop { 40% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .pt-puffy.is-hop > svg { animation: none; } }
.pt-bubble { position: relative; margin: 0; padding: 8px 10px; border: 2px solid var(--plum); background: var(--white); font: 12.5px/1.4 var(--body); color: var(--plum); text-align: center; }
.pt-bubble:empty { display: none; }
.pt-bubble::after { content: ""; position: absolute; bottom: -8px; left: 50px; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--plum); border-bottom: 0; }
.pt-palette { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; border-top: 2px solid var(--lav-mid); background: var(--lav); }
.pt-cur { display: grid; place-items: center; width: 34px; height: 34px; margin-right: 6px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.pt-cur i { width: 18px; height: 18px; border: 1px solid rgba(0, 0, 0, .12); }
.pt-sw { position: relative; width: 24px; height: 24px; padding: 0; border: 2px solid var(--plum); cursor: pointer; }
.pt-sw.on { outline: 2px solid var(--plum); outline-offset: 2px; }
.pt-other { display: grid; place-items: center; background: conic-gradient(#FF7A59, #FFE066, #7CF9E0, #7B6CF6, #FF4FD8, #FF7A59); color: #FFF; font: 700 15px/1 var(--body); text-shadow: 0 0 3px rgba(0, 0, 0, .5); }
.pt-other input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pt-note { margin-left: auto; font: 12.5px var(--body); color: var(--peri-deep); }
.pt-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; }
.pt-left { display: flex; gap: 8px; }
.pt-actions .btn { padding: 9px 14px; font-size: 12.5px; white-space: nowrap; }
.pt-send .btn { padding: 10px 18px; font-size: 13px; }
.pt-layer.is-busy .pt-canvas { opacity: .6; }
/* Short laptop screens: tighter rows so the buttons stay on screen */
@media (max-height: 760px) and (min-width: 861px) {
    .pt-menu { padding-top: 3px; padding-bottom: 3px; }
    .pt-top { padding-top: 6px; padding-bottom: 6px; }
    .pt-seg button { padding-top: 4px; padding-bottom: 4px; }
    .pt-stage { gap: 6px; padding: 8px 16px; }
    .pt-main { min-height: 0; }
    .pt-palette { padding-top: 6px; padding-bottom: 6px; }
    .pt-cur { width: 28px; height: 28px; }
    .pt-actions { padding-top: 7px; padding-bottom: 7px; }
    .pt-actions .btn { padding-top: 7px; padding-bottom: 7px; }
    .pt-win .win-status { padding-top: 5px; padding-bottom: 5px; }
}
@media (max-width: 860px) {
    .pt-main { grid-template-columns: 1fr; }
    .pt-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-right: 0; border-bottom: 2px solid var(--lav-mid); }
    .pt-toolgrid { grid-template-columns: repeat(8, 38px); }
    .pt-opts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0 0 0 8px; border-top: 0; border-left: 2px dotted var(--lav-dark); }
    .pt-optrow { grid-template-columns: repeat(4, 34px); }
    .pt-sizes { display: flex; gap: 2px; }
    .pt-size { width: 32px; }
    .pt-side { border-left: 0; border-top: 2px solid var(--lav-mid); }
    .pt-stamps { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
    .pt-stamp { flex: 0 0 44px; }
    .pt-puffy { display: none; }
    .pt-actions { flex-wrap: wrap; }
    .pt-send { flex: 1 1 100%; }
    .pt-send .btn { width: 100%; }
}
@media (max-width: 560px) {
    .pt-layer { padding: 6px; }
    .pt-win { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); }
    .pt-toolgrid { grid-template-columns: repeat(4, 40px); }
    .pt-stage { padding: 12px 8px; }
    .pt-canvas { max-height: 52vh; max-height: 52dvh; }
    .pt-note { display: none; }
    .pt-actions { display: grid; grid-template-columns: 1fr; }
    .pt-left { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }   /* Undo, Clear, Add photo, Save PNG */
    .pt-left .btn { padding-left: 2px; padding-right: 2px; font-size: 11.5px; letter-spacing: 0.02em; }
    .pt-left .btn::before, .pt-left .btn::after { content: none; }   /* (no [ ] on these four: they'd bump into each other) */
    .pt-disk { display: none; }
    .pt-send .btn { width: 100%; padding-left: 8px; padding-right: 8px; }
}

/* =====================================================================
   FIT TEXT (assets/js/fit-text.js) — no "big then small" jump on load
   Product names + taglines wait (one line, invisible) until the script has
   sized them, then appear at the right size. If the script ever doesn't run,
   they show anyway after 3 seconds.
   ===================================================================== */
html:not(.fit-done) .pcard-grid .pcard-name, html:not(.fit-done) .pcard-grid .pcard-tagline {
    white-space: nowrap; overflow: hidden; visibility: hidden; animation: lh-fit-show 0s 3s forwards;
}
@keyframes lh-fit-show { to { visibility: visible; } }

/* Top 8 photo framing (Admin > Products > Top 8 photo: zoom + drag). The crop box keeps a zoomed
   photo inside the white frame; the green/yellow status dot stays outside it. */
.friend-photo .friend-crop { position: absolute; top: 4px; left: 4px; right: 4px; bottom: 4px; overflow: hidden; }
.friend-photo .friend-crop img, .friend-photo .friend-crop .ph { top: 0; left: 0; width: 100%; height: 100%; }

/* Review pop-up: "where'd you get it?" (stash/product.php). Same tiles as the ratings, 4 across. */
.rf-got { margin-top: 14px; }
.rf-got-tiles { grid-template-columns: repeat(4, 1fr); }
.rf-got-tiles .rf-tile { padding: 8px 2px; }
.rf-got-tiles .rf-word { font-size: 11px; line-height: 1.2; }
.rf-order { margin-top: 12px; }
.rf-order[hidden] { display: none; }

/* Shop card rating: unlit icons when the average is under 5 (same look as the reviews section) */
.pcard-rating .off { opacity: 0.3; filter: grayscale(0.5); }

/* Rating + "where'd you get it?" tiles: everything centered top to bottom with breathing room
   (tall Apple emoji were touching the top edge) */
.rf-tile { align-content: center; padding-top: 14px; padding-bottom: 12px; }
.rf-tile .rf-emoji { padding-top: 3px; }

/* "Only 8 kits left" note on the shop + homepage: the page already spaces its windows evenly,
   so no extra space under the note (it was getting the page gap plus its own) */
main > .kits-alert { margin-bottom: 0; }

/* Shop card buttons: all the same height, with or without an emoji ("See details" on sold-out kits
   has none, and tall Apple emoji were making the others taller) */
.pcard-btn .emo { line-height: 0; }

/* Sold-out "See details" card button: a faded version of the other buttons (same dark edges), so it
   reads as the same size instead of blending into the page */
.pcard.is-sold .pcard-btn, .pcard.is-sold .pcard-btn:hover { background: #9C98B8; color: #FFFFFF; border-color: #B7B3CF #4E4A68 #4E4A68 #B7B3CF; filter: none; }

/* Stash Icons / Details: the saved choice is on the page before it draws (includes/header.php),
   so Details doesn't flash the icons first. Once assets/js/stash.js is running it takes over (.stash-ready) */
html[data-stash-view="details"]:not(.stash-ready) #icons-view { display: none; }
html[data-stash-view="details"]:not(.stash-ready) #details-view[hidden] { display: block !important; }   /* (beats the site-wide [hidden] rule until the script takes over) */
html[data-stash-view="details"]:not(.stash-ready) .vt[data-view="details"] { border-color: var(--bevel-in); background: var(--lav-mid); }
html[data-stash-view="details"]:not(.stash-ready) .vt[data-view="icons"][aria-pressed="true"] { border-color: var(--bevel-out); background: var(--white); }

/* =====================================================================
   PHONE FIXES (Oct 2026, checked at iPhone 13 mini size)
   ===================================================================== */
/* Grinder picker: the category buttons share one line */
@media (max-width: 720px) {
    .kp-chips { flex-wrap: nowrap; gap: 5px; }
    .kp-chip { flex: 1 1 auto; min-width: 0; padding: 6px 4px; font-size: 11.5px; text-align: center; }
}
/* Review pop-up: on narrow phones the ratings stack into a list (emoji, word, stars on one row)
   so long words like "Employee of the month" fit, and "where'd you get it?" is 2 x 2.
   (!important so each design's own review look can't squeeze them back.) */
@media (max-width: 520px) {
    .rf-tiles:not(.rf-got-tiles) { grid-template-columns: 1fr !important; gap: 6px; }
    .rf-tiles:not(.rf-got-tiles) .rf-tile { grid-template-columns: 30px 1fr auto; justify-items: start; align-items: center; column-gap: 10px; min-width: 0; padding: 9px 14px !important; text-align: left; }
    .rf-tiles:not(.rf-got-tiles) .rf-tile .rf-emoji { padding-top: 0; font-size: 22px; }
    .rf-tiles:not(.rf-got-tiles) .rf-tile .rf-stars { justify-self: end; }
    .rf-tiles:not(.rf-got-tiles) .rf-tile:has(input:checked) { transform: none !important; }
    .rf-got-tiles { grid-template-columns: 1fr 1fr !important; }
    .rf-tile { min-width: 0; }
    .rf-tile .rf-word { max-width: 100%; letter-spacing: 0.04em !important; overflow-wrap: break-word; }
}
/* Cart: "Blast off to checkout 🚀" stays on one line on phones (less side padding, rocket right after the words) */
@media (max-width: 720px) {
    .sum-go { padding-left: 12px; padding-right: 12px; gap: 8px; }
    .sum-go > span { white-space: nowrap; }
}
/* "Added to your cart": wider, and the whole box is the link to the cart */
.toast:has(.toast-cart) { width: min(380px, calc(100% - 32px)); padding: 0; text-align: center; }
.toast-cart { display: block; padding: 14px 18px; color: var(--white); text-decoration: none; }
.toast-cart .toast-link { text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.toast-cart:hover .toast-link, .toast-cart:focus-visible .toast-link { color: var(--white); }
.toast-cart:focus-visible { outline: 2px dashed var(--lime); outline-offset: -6px; }
/* Quick view on phones: the photo gets a set height. iPhones sized the square frame wrong and it covered
   the design name underneath. */
@media (max-width: 720px) {
    .qv-photo { aspect-ratio: auto !important; height: min(320px, calc(100vw - 54px)) !important; }
}
/* Checkout on phones and tablets: your order comes first, so people can check it before filling in their details */
@media (max-width: 899px) {
    .co-row > .win-cosum { order: -1; }
}
/* FAQ on phones and tablets: the categories are a dropdown (the sideways row wasn't obvious) */
.help-pick { display: none; }
@media (max-width: 899px) {
    .help-contents ul { display: none; }
    .help-contents .help-pick { display: block; width: calc(100% - 24px); margin: 10px 12px; }
}
/* Wholesale form: a long "Found us" answer was stretching every row past the window */
.mail-head { grid-template-columns: minmax(0, 1fr); }
/* Cart: "🌙 Ring holder +$8.00" stays on one line */
.ci-ring span { white-space: nowrap; }

/* =====================================================================
   BUG REPORT (assets/js/bug-report.js): catch the bug with a net, then bug_report.exe
   ===================================================================== */
.bug-link { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 2px dashed rgba(225,246,107,0.55); color: var(--lime) !important; font-weight: 700; text-decoration: none !important; }
.bug-link:hover, .bug-link:focus-visible { border-style: solid; background: rgba(225,246,107,0.1); }
/* The bug on the loose */
.bug-game { position: fixed; inset: 0; z-index: 700;   /* above pop-ups like achievements (650), so the Catch it box is never covered */
             overflow: hidden; background: rgba(20,18,50,0.12); touch-action: none; -webkit-user-select: none; user-select: none; }
.bug-critter { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.bug-body { position: absolute; left: 0; top: 0; display: block; font-size: 38px; line-height: 1.3; translate: -50% -50%; scale: -1 1;   /* the emoji faces left; flipped so it faces where it's going */
            filter: drop-shadow(0 4px 0 rgba(20,18,50,0.3)); animation: bug-crawl 0.28s ease-in-out infinite alternate; }
.bug-critter.is-still .bug-body { animation-play-state: paused; }
@keyframes bug-crawl { to { scale: -1.06 0.9; } }
.bug-trail { position: absolute; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: var(--lime); opacity: 0.7; pointer-events: none; animation: bug-trail 0.9s linear forwards; }
@keyframes bug-trail { to { opacity: 0; transform: scale(0.4); } }
.bug-hint { position: absolute; left: 50%; top: 96px; translate: -50% 0; z-index: 2; display: grid; justify-items: center; gap: 8px; padding: 12px 18px 14px;   /* top, below the menu bar */
            border: 3px solid; border-color: var(--bevel-out); background: var(--paper); color: var(--plum); font: 700 15px var(--body); white-space: nowrap; box-shadow: 0 8px 24px rgba(20,18,50,0.45); }
.bug-hint b { display: inline-flex; align-items: center; gap: 6px; }
.bug-hint-net svg { display: block; width: 26px; height: 26px; }
.bug-skip { padding: 6px 12px; border: 2px solid; border-color: var(--bevel-out); background: var(--lav); color: var(--plum); font: 700 12.5px var(--body); cursor: pointer; }
.bug-skip:hover, .bug-skip:focus-visible { background: var(--lime); }
/* The net: the hoop's middle lands where you tap */
.bug-net { position: absolute; width: 84px; height: 84px; margin: -25px 0 0 -56px; pointer-events: none; transform-origin: 8% 95%; }   /* the hoop's middle lands on the spot */
.bug-net svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 4px 0 rgba(20,18,50,0.25)); }
.bug-net-tap { opacity: 0; }
.bug-net-tap.is-swooping { animation: bug-swoop 0.45s ease-out; }
@keyframes bug-swoop { 0% { opacity: 1; rotate: -55deg; } 45% { opacity: 1; rotate: 6deg; } 100% { opacity: 0; rotate: 0deg; } }
.bug-net-caught { animation: bug-land 0.3s ease-out both, bug-wobble 0.5s 0.3s ease-in-out 2; }
@keyframes bug-land { from { rotate: -55deg; } to { rotate: 0deg; } }
@keyframes bug-wobble { 50% { rotate: -6deg; } }
.bug-critter.is-caught .bug-body { animation: bug-wiggle 0.18s ease-in-out infinite alternate; scale: -0.8 0.8; }
@keyframes bug-wiggle { from { rotate: -10deg; } to { rotate: 10deg; } }
.bug-say { position: absolute; translate: -50% 0; color: var(--lime); font: 800 18px var(--display); text-shadow: 2px 2px 0 var(--plum); white-space: nowrap; pointer-events: none; animation: bug-say 1.1s ease-out forwards; }
.bug-say-big { font-size: 26px; animation-duration: 1.4s; }
@keyframes bug-say { 0% { opacity: 0; transform: translateY(6px); } 15% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
/* bug_report.exe */
.bug-layer { z-index: 640; }   /* bug_report.exe: under the achievement pop-up, so Bug Catcher still shows */
.bug-win { width: min(100%, 460px); }
.bug-win .win-body { display: grid; gap: 12px; padding: 16px; }
.bug-pane-form, .bug-pane-done { display: grid; gap: 12px; }
.bug-pane-form[hidden], .bug-pane-done[hidden] { display: none; }
.bug-top { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.bug-ic { font-size: 34px; line-height: 1.25; }
.bug-top h2 { margin: 0 0 4px; color: var(--plum); font: 700 17px/1.3 var(--body); }
.bug-top p { margin: 0; color: #7A6696; font-size: 13.5px; line-height: 1.45; }
.bug-f { display: grid; gap: 5px; color: var(--plum); font: 700 13px var(--body); }
.bug-opt { color: #A58BC0; font-weight: 400; }
.bug-f textarea, .bug-f input { width: 100%; min-width: 0; padding: 8px 10px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); color: var(--plum); font: 400 16px var(--body); }
.bug-f textarea { height: 84px; resize: vertical; }
.bug-row { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 10px; align-items: end; }
.bug-shot { position: relative; display: grid; place-items: center; height: 44px; border: 2px dashed var(--lav-dark); background: var(--white); color: var(--plum); font: 700 12.5px var(--body); cursor: pointer; }
.bug-shot:hover, .bug-shot:focus-within { border-color: var(--peri); }
.bug-shot.has-file { border-style: solid; border-color: var(--peri); background: var(--lav); }
.bug-shot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bug-row .bug-f input, .bug-shot { box-sizing: border-box; height: 44px; }   /* (Nov 12 2026) the email box and the Screenshot button line up at the same height */
.bug-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bug-auto { margin: 0; padding: 8px 10px; background: var(--lav); color: #7A6696; font-size: 12px; line-height: 1.5; word-break: break-word; }
.bug-auto b { color: var(--plum); }
.bug-err { margin: 0; padding: 8px 10px; border-left: 4px solid #D65B8C; background: #FDF1F6; color: #B4233F; font-size: 13px; }
.bug-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.bug-btns .btn { padding: 10px 14px; font-size: 12.5px; }
.bug-btns .btn::before, .bug-btns .btn::after { content: none; }
@media (max-width: 420px) { .bug-btns .btn { flex: 1; } .bug-row { grid-template-columns: minmax(0, 1fr) 104px; } }

/* Paint on phones: Canvas and Side share the first row, Size goes under them, all lined up */
@media (max-width: 520px) {
    .pt-top { display: grid; grid-template-columns: max-content max-content max-content max-content; justify-content: start; align-items: center; gap: 8px 6px; }
    .pt-sizewrap, .pt-sidewrap { display: contents; }
    .pt-sidewrap > .pt-label { margin-left: 8px; }
    .pt-sizewrap > .pt-seg { grid-column: 2 / -1; justify-self: start; }
    .pt-seg button { padding-left: 9px; padding-right: 9px; letter-spacing: .02em; }
}
/* Faded rating emoji (no reviews yet / unlit): on iPhones, fading an emoji clips it to its text box and
   Apple's emoji are taller than that, so the tops got cut off. Each one gets its own box with room on top. */
.pcard-rating > span, .pcard-rating > span > span, .product-rating > span, .product-rating > span > span,
.rev-icons > span, .review-stars > span { display: inline-block; line-height: 1.4; padding-top: 2px; vertical-align: middle; }
/* SMOOTH SCROLL (assets/js/site.js): decorations hold still while the page is scrolling */
html.is-scrolling .pcard .seal, html.is-scrolling .spread-item, html.is-scrolling .spread-item > img, html.is-scrolling .spread-item > .si-emoji { animation-play-state: paused; }   /* (the floating is on the picture inside, so that's what pauses) */
/* The falling season emojis keep falling while you scroll: they move with transform only and
   use a light text shadow (not a filter), so they're cheap to draw. */
.season-fx span { filter: none !important; text-shadow: 0 3px 3px rgba(0,0,0,0.22); }
/* Phones: calmer seasonal decorations: half as many, a bit smaller, softer and slower, so they don't compete with the page */
@media (max-width: 720px) {
    .season-fx span:nth-child(even) { display: none; }
    .season-fx span { font-size: calc(var(--size) * .8); opacity: .6; animation-duration: calc(var(--dur) * 1.4); }
}   /* (no will-change: fewer permanent layers for Safari to juggle) */
html.is-scrolling .pcard { pointer-events: none; }   /* (no hover effects firing as cards slide under the mouse) */
/* Stash folders: no longer "sticky" (following you down the window). Safari kept forgetting to draw the
   window behind a sticky folder list when you scrolled fast (the white went missing, only on the Stash).
   With 12 designs at a time the window is short, so the folders are never far. */
.folders { position: static; }
/* Pattern circles on add-ons with options (lighter wraps...): same look and size as the grinder circles */
.choice.has-swatches .vw-select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice.has-swatches { position: relative; }
.vw-picked { font-weight: 700; text-transform: none; letter-spacing: 0; }
.choices > .choice.has-swatches { grid-column: 1 / -1; }   /* the whole width (the menu area is split in two columns on computers) */
.vw-strip { gap: 14px 7px; margin-top: 4px; }
.vw-g { width: 76px; }   /* 6 across on computers */
.vw-g .kp-dot { position: relative; width: 72px; height: 72px; }
.vw-g .kp-letter { font: 700 26px var(--display); color: var(--plum); background: var(--lav); }
.vw-g .kp-name { font-size: 12px; white-space: normal; text-align: center; line-height: 1.25; }
@media (max-width: 420px) { .vw-strip { gap: 12px 4px; } .vw-g { width: 66px; } .vw-g .kp-dot { width: 58px; height: 58px; } .vw-g .kp-name { font-size: 11px; } }   /* 4 across on phones */
.vw-g .kp-dot img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }   /* fills the circle right to the edge (no light sliver at the top) */
/* "Show the whole design" circles (stickers): a light background, the whole design inside */
.vw-strip.is-fit .kp-dot { background: var(--white); }
.vw-strip.is-fit .kp-dot img { inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* Whole-design circles are bigger: 4 across (8 stickers = 2 even rows) */
.vw-strip.is-fit { gap: 16px 10px; }
.vw-strip.is-fit .vw-g { width: 114px; }
.vw-strip.is-fit .vw-g .kp-dot { width: 104px; height: 104px; }
.vw-strip.is-fit .vw-g .kp-name { font-size: 12.5px; }
@media (max-width: 420px) { .vw-strip.is-fit { gap: 12px 4px; } .vw-strip.is-fit .vw-g { width: 72px; } .vw-strip.is-fit .vw-g .kp-dot { width: 66px; height: 66px; } .vw-strip.is-fit .vw-g .kp-name { font-size: 11px; } }
/* Whole-design circles: the sticker sits on a pale tint of its own color (set on the page) with a soft shadow, like a real sticker */
.vw-strip.is-fit .kp-dot img { filter: drop-shadow(0 3px 3px rgba(43,42,94,0.22)); }

/* ---------- Sparkly circles (✨ Sparkly in Admin > Products: each option, or each grinder in Kit prices & choices) ----------
   A few holographic stars that flash one at a time (assets/js/holo.js puts them in).
   .holo = the whole circle sparkles. .holo-cut = stickers: only the sticker sparkles, the colored circle doesn't. */
:is(.kp-dot, .kp-big, .ci-photo).holo { position: relative; isolation: isolate; }
:is(.kp-dot, .kp-big, .ci-photo).holo .hs-wrap { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; pointer-events: none; z-index: 2; }
:is(.kp-dot, .kp-big, .ci-photo).holo .hs { position: absolute; width: max(7px, var(--p)); height: max(7px, var(--p)); color: var(--c); opacity: .28;
  transform: translate(-50%, -50%) scale(.35) rotate(var(--r)); filter: drop-shadow(0 0 2px var(--c));
  animation: hs-glint var(--d) ease-in-out var(--dl) infinite; }
:is(.kp-dot, .kp-big, .ci-photo).holo .hs svg { display: block; width: 100%; height: 100%; }
:is(.kp-dot, .kp-big, .ci-photo).holo .hs.dot { width: max(2px, var(--p)); height: max(2px, var(--p)); opacity: .45; transform: translate(-50%, -50%); filter: none; animation-name: hs-dot; }
@keyframes hs-glint {   /* sits small most of the time, then flashes */
  0%, 70%, 100% { opacity: .28; transform: translate(-50%, -50%) scale(.35) rotate(var(--r)); }
  80% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(calc(var(--r) + 25deg)); }
  88% { opacity: .5; transform: translate(-50%, -50%) scale(.55) rotate(calc(var(--r) + 40deg)); } }
@keyframes hs-dot { 0%, 75%, 100% { opacity: .35; } 85% { opacity: .95; } }
/* Stickers: the stars sit on busy art and white borders, so they rest a little bigger and brighter, and flash longer */
.holo-cut .hs:not(.dot) { opacity: .5; animation-name: hs-glint-cut; }
@keyframes hs-glint-cut {
  0%, 60%, 100% { opacity: .5; transform: translate(-50%, -50%) scale(.5) rotate(var(--r)); }
  74% { opacity: 1; transform: translate(-50%, -50%) scale(1.1) rotate(calc(var(--r) + 25deg)); }
  86% { opacity: .65; transform: translate(-50%, -50%) scale(.65) rotate(calc(var(--r) + 40deg)); } }
@media (prefers-reduced-motion: reduce) { :is(.kp-dot, .kp-big, .ci-photo).holo .hs { animation: none; } }
.ci-photo.holo .hs-wrap { border-radius: inherit; }   /* (cart photo squares: stars stay inside the rounded square) */
/* the ✨ after a sparkly design's name (stuck to the last word so it never sits alone) */
.kp-name .nw, .kp-tile .nw { white-space: nowrap; }
/* Sparkly grinders: the ✨ sits on the circle's top-right corner (kit pages, Quick view, See all) */
.kp-fw { position: relative; display: inline-block; line-height: 0; }
.kp-spark { position: absolute; top: -5px; right: -7px; font-size: 15px; line-height: 1; pointer-events: none; filter: drop-shadow(0 1px 1px rgba(43,42,94,.25)); font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.kp-tile .kp-spark { font-size: 18px; top: -4px; right: -6px; }
.kp-name.has-sp { display: flex; justify-content: center; gap: 3px; }   /* grinder row: long names get cut short, the ✨ stays */
.kp-name.has-sp .kp-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.kp-name.has-sp .sp { flex: none; }
.kp-name .sp { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: .9em; line-height: 1; }

/* ---------- Quick view: option circles (lighter wraps, sticker designs) ----------
   Same circles as the product page, 4 to a row so 8 options make 2 even rows. */
.qv-vpick[hidden] { display: none !important; }
.qv-vpick { margin-bottom: 14px; }
.qv-win .qv-vpick .vw-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; justify-items: center; }
.qv-win .qv-vpick .vw-g, .qv-win .qv-vpick .vw-strip.is-fit .vw-g { width: 100%; max-width: 92px; }
.qv-win .qv-vpick .vw-g .kp-dot, .qv-win .qv-vpick .vw-strip.is-fit .vw-g .kp-dot { width: 100%; height: auto; aspect-ratio: 1 / 1; max-width: 84px; margin: 0 auto; }
.qv-win .qv-vpick .vw-g .kp-name { font-size: 11.5px; }

/* ---------- Text size: Extra large is retired (it pushed things past the edges on phones).
   Anyone who had it saved gets Large instead. ---------- */
html[data-text="xl"] main { zoom: 1.1; }
.ci-name { overflow-wrap: anywhere; }   /* a long product name in the cart wraps instead of running into the price */

/* ---------- Shop cards: every button in a row is the same height ----------
   (a sold-out card's one-line "See details" now matches a neighbor whose button wraps to 2 or 3 lines) */
@supports (grid-template-rows: subgrid) { .pcard-grid .pcard > .pcard-actions { align-self: stretch; } }

/* ---------- Phones and tablets: no screen saver (it only starts on computers) ---------- */
@media not all and (pointer: fine) {
    .start-sub a[href="#screensaver"], .display-tabs [data-tab="ss"] { display: none !important; }
}

/* ---------- Large text on small phones: the order summary stays inside its window ----------
   (the country menu's longest name and the one-line checkout button were wider than the box) */
.win-summary .win-body, .sum-field { grid-template-columns: minmax(0, 1fr); }
.sum-field select { min-width: 0; max-width: 100%; }
/* Large text on small phones: the checkout button stays on one line, letters a little closer together */
@media (max-width: 420px) {
    html[data-text="large"] .sum-go, html[data-text="xl"] .sum-go { letter-spacing: 0.03em; gap: 6px; padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 350px) { .sum-go { font-size: 13px; letter-spacing: 0.02em; } }   /* the very smallest phones */

/* ---------- Emoji icons centered in their boxes (LunarGuard shield, Hotbox profile moon) ----------
   The typewriter font's spacing lifted emoji toward the top on iPhones and Macs; the emoji font's own spacing centers them */
.nx-shield, .hb-profile-pic { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; line-height: 1; }

/* ---------- Stash: the status line at the bottom, on phones ----------
   Line 1: the box, "26 objects | ✦ 3,000 ways to build a kit". Line 2: the note, full width. */
@media (max-width: 720px) {
    .stash-status { flex-wrap: wrap; row-gap: 6px; column-gap: 8px; padding: 10px 14px 12px; line-height: 1.5; }
    .stash-status > span:not(.status-note) { white-space: nowrap; }
    .stash-status .status-sep { display: none; }   /* (no | bars on phones: spacing does the job, and nothing dangles if line 1 wraps) */
    .stash-status { column-gap: 16px; }
    .stash-status .status-note { flex-basis: 100%; padding-top: 6px; border-top: 1px dashed var(--lav-mid); text-align: center; text-wrap: balance; }

}

/* ---------- Grinder circles fill the whole row (product pages) ----------
   assets/js/kit-picker.js works out how many fit, then grows them a little so there's no gap on the right */
.kp-strip { --kp-base: 66px; }   /* (computers: counts how many fit at this size, so the circles come out a bit bigger than before) */
@media (max-width: 720px) { .kp-strip { --kp-base: 54px; } }
.kp-strip.is-fitted .kp-g { width: var(--kp-fit); }
.kp-strip.is-fitted .kp-dot { width: calc(var(--kp-fit) - 12px); height: calc(var(--kp-fit) - 12px); }

/* ---------- Paint: emoji centered in the stamp and tool buttons ----------
   (the typewriter font's spacing sat them a little high on iPhones and Macs) */
.pt-stamp, .pt-tool { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; line-height: 1; display: grid; place-items: center; }

/* ---------- Tips & papers colors: all on one row on phones ----------
   Every color gets an equal share of the row, so they fit on any phone width (and in quick view) */
@media (max-width: 720px) {
    .kp-swatches, .qv-win .kp-swatches { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px 2px; padding: 4px 2px; }
    .kp-swatches .kp-sw, .qv-win .kp-swatches .kp-sw { width: auto; min-width: 0; }
    .kp-swatches .kp-dotc, .qv-win .kp-swatches .kp-dotc { width: clamp(24px, 8.5vw, 34px); height: clamp(24px, 8.5vw, 34px); }
    .kp-swatches .kp-name { font-size: 10.5px; }
}
@media (max-width: 360px) { .kp-swatches .kp-name { font-size: 9.5px; letter-spacing: -0.02em; } }   /* the smallest phones: names still fit */

/* ---------- Review form buttons: cancel and submit the same size on phones ----------
   (side by side in two equal halves, both as tall as the taller one) */
@media (max-width: 759px) {
    .review-actions { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
    .review-actions .rf-note { grid-column: 1 / -1; }
    .review-actions .btn { width: 100%; min-height: 56px; margin: 0; display: flex; align-items: center; justify-content: center; text-align: center; text-wrap: balance; }
}

/* ---------- Shop card buttons: words + emoji centered together ----------
   (includes/product-card.php wraps them in .pcard-btn-t; the emoji is glued to the last word) */
.pcard-btn-t { display: inline; min-width: 0; text-align: center; text-wrap: balance; overflow: hidden; text-overflow: ellipsis; }
.pcard-btn-t .emo { margin-left: 0.15em; }

/* ---------- Shop cards: no "(0)" ----------
   The rating emoji always show; the count only shows once a product has reviews */
.pcard-rating.none small { display: none; }

/* ---------- Tips & papers colors: spread across the full row on computers too (lines up with the grinder rows) ---------- */
@media (min-width: 721px) {
    .kp-swatches { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px 6px; }
    .kp-swatches .kp-sw { width: auto; min-width: 0; }
    .kp-swatches .kp-dotc { width: 40px; height: 40px; }
    .qv-win .kp-swatches .kp-dotc { width: 32px; height: 32px; }
}

/* ---------- Free-shipping picks: "add these two" (assets/js/cart-page.js) ---------- */
.cg-pair { display: grid; gap: 10px; padding: 10px; border: 2px solid; border-color: var(--bevel-out); background: var(--white); }
.cg-pair-items { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cg-mini { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 180px; }
.cg-mini > span { display: grid; gap: 2px; min-width: 0; }
.cg-mini small { color: #7A6696; font-size: 12.5px; }
.cg-plus { color: #7A6696; font: 700 18px var(--body); }
.cg-sum { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 8px; border-top: 1px dashed var(--lav-mid); }
.cg-pair .cg-both { display: inline-flex; width: auto; margin-top: 0; }
@media (max-width: 480px) {
    .cg-pair-items { display: grid; gap: 8px; }
    .cg-plus { padding-left: 16px; line-height: 1; }
    .cg-sum { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; }   /* (Nov 18 2026: "space-between" was shrinking the column, so "Add both" came up short) */
    .cg-pair .cg-both { width: 100%; justify-content: center; }
}

/* ---------- Quick view on computers: the details side scrolls when it's tall (lots of option circles) ----------
   The Add to cart / Full details buttons stay pinned at the bottom so they're always in reach */
@media (min-width: 900px) {
    .qv-info { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; }
    .qv-info .qv-actions { position: sticky; bottom: 0; z-index: 2; margin-top: 4px; padding: 10px 0 2px; background: var(--paper); box-shadow: 0 -10px 12px -8px rgba(43, 42, 94, 0.18); }
}
/* Free-shipping pair: each item can also be added by itself */
.cg-mini .cg-add { margin-left: auto; min-height: 34px; padding: 4px 10px; font-size: 12px; }
.cg-mini { flex-wrap: nowrap; }
.qv-actions .btn { white-space: nowrap; padding-left: 10px; padding-right: 10px; }   /* "Full details" on one line */

/* ---------- Cart on computers: grinder, paper color and ring holder fit on one line ---------- */
@media (min-width: 900px) {
    .ci-picks { gap: 6px 5px; }
    html .ci-pick select:not([multiple]):not([size]) { max-width: 132px; }
    .ci-ring { padding: 3px 9px 3px 7px; gap: 5px; }
}

/* ---------- Free-shipping pair, roomier: one row per item (like the single picks), a "+" between, total underneath ---------- */
.cg-pair-items { display: grid; gap: 0; }
.cg-mini { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; flex: none; }
.cg-mini .cg-name { white-space: normal; overflow: visible; }
.cg-mini small { font-size: 13px; }
.cg-mini .cg-add { margin-left: 0; min-height: 38px; padding: 6px 12px; font-size: 12.5px; }
.cg-plus { display: flex; align-items: center; gap: 10px; padding: 4px 0 4px 18px; line-height: 1; }
.cg-plus::after { content: ""; flex: 1; border-top: 1px dashed var(--lav-mid); }
@media (max-width: 480px) {
    .cg-mini { grid-template-columns: 44px minmax(0, 1fr); }
    .cg-mini .cg-photo { width: 44px; height: 44px; }
    .cg-mini .cg-add { grid-column: 1 / -1; width: 100%; }
    .cg-plus { padding-left: 14px; }
}

/* Safari: while a circle grows on hover it stops cropping what's inside, so the square picture showed.
   Rounding the picture itself keeps it a circle the whole time (option circles + grinder circles). */
.kp-dot img, .kp-big img { border-radius: 50%; }

/* ---------- Quick view: the price in a seal on the photo (like the shop cards), so the details side is shorter ---------- */
.qv-photo .qv-seal { z-index: 3; width: clamp(64px, 20%, 96px); left: 12px; top: 12px; font-size: clamp(18px, 2.2vw, 26px); pointer-events: none; animation: seal-rock 3.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .qv-photo .qv-seal { animation: none; } }
.qv-photo .qv-seal:empty { display: none; }
.qv-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 2px 0 12px; color: #A58BC0; font-size: 14px; }
@media (max-width: 720px) { .qv-photo .qv-seal { width: 62px; left: 8px; top: 8px; font-size: 18px; } }

/* ---------- Quick view on phones: pick first, then a short "What's inside" ----------
   Grinder + paper (or the design circles) come right under the name; "What's inside" shows 4 things
   with "+ 6 more" to open the rest. Computers keep the full list above the pickers. */
.qv-more-li { display: none; }
.qv-more { padding: 0; border: 0; background: none; color: var(--peri-deep); font: 700 13px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 899px) {
    .qv-info .buy { display: contents; }   /* (lets the pickers and buttons line up with everything else, in this order:) */
    .qv-info > .product-name { order: 1; }
    .qv-info > .qv-meta { order: 2; }
    .qv-info > .buy > .kit-pick, .qv-info > .buy > .qv-vpick { order: 3; }
    .qv-info > .qv-inside { order: 4; }
    .qv-info > .buy > .qv-actions { order: 5; }
    .qv-inside .qv-extra { display: none; }
    .qv-inside.is-open .qv-extra { display: list-item; }
    .qv-more-li { display: block; grid-column: 1 / -1; list-style: none; margin-top: 4px; padding-left: 0 !important; }
    .qv-more-li::before { content: none !important; }
}
@media (max-width: 899px) { .qv-info > .product-name { margin-bottom: 10px; } }   /* a little room between the name and the pickers */

/* ---------- Puffy's seasonal outfits (assets/js/puffy.js) ---------- */
/* Lovestruck: his normal eyes and heart eyes take turns */
.pf-love-h { opacity: 0; animation: pf-love 4.8s steps(1) infinite; }
.pf-love-n { animation: pf-love-n 4.8s steps(1) infinite; }
@keyframes pf-love   { 0%, 55% { opacity: 0; } 56%, 100% { opacity: 1; } }   /* hearts on for the second half */
@keyframes pf-love-n { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }   /* normal eyes for the first half: they swap at the same moment, no blank */
@media (prefers-reduced-motion: reduce) { .pf-love-h { animation: none; opacity: 1; } .pf-love-n { animation: none; opacity: 0; } }
/* The closet: everyday outfits, then a "Seasonal" section; scrolls inside the window */
.dress-win { width: min(100%, 620px); max-height: 92vh; max-height: 92dvh; display: flex; flex-direction: column; }
.dress-win .win-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.dress-grid { grid-template-columns: repeat(4, 1fr); row-gap: 14px; padding-top: 8px; }
.dress-sub { grid-column: 1 / -1; margin: 8px 0 2px; padding-top: 10px; border-top: 2px dotted var(--lav-dark); color: var(--plum); font: 700 12.5px var(--body); letter-spacing: 0.03em; }
.dress-tag.dress-later { background: var(--lav-mid); transform: rotate(-3deg); font-size: 9.5px; }
@media (max-width: 560px) { .dress-grid { grid-template-columns: repeat(3, 1fr); } }
/* Hidden tokens (a snowflake, a heart...) for the outfits that are Puffy himself */
.pf-hidden-token { width: 30px; }
@media (max-width: 720px) { .pf-hidden-token { width: 26px; } }

/* =====================================================================
   LUNAR HAZE ONLINE: little ways in (index.php desktop icon, checkout confirmation)
   ===================================================================== */
.di-emblem { color: var(--lime); display: block; width: 44px; height: 44px; }
.di-emblem svg { width: 100%; height: 100%; display: block; }
@media (max-width: 720px) { .di-emblem { width: 38px; height: 38px; } }
.co-acct { margin: 6px 0 0; font-size: 0.95em; }
.ach-small a { color: inherit; font-weight: 700; }

/* =====================================================================
   THE EMBLEM (the smoky moon logo, assets/img/lh-emblem.svg) as a little mark anywhere.
   <span class="lh-mark"></span> takes the text color (set "color" to recolor it) and the font size (1em).
   Used in: Hotbox profile, The Lounge (Lunar Haze in People Here), the Start menu.
   ===================================================================== */
.lh-mark { display: inline-block; width: 1em; height: 1em; vertical-align: -0.15em; background: currentColor;
           -webkit-mask: url(/assets/img/lh-emblem.svg) center / contain no-repeat; mask: url(/assets/img/lh-emblem.svg) center / contain no-repeat; }
.hb-profile-pic { background: var(--hb-bar1); }
.hb-profile-pic .lh-mark { width: 32px; height: 32px; color: var(--hb-btn); }
.cw-team-mark { color: var(--pink); margin-right: 3px; }
.start-mark { position: absolute; left: 0; bottom: 12px; width: 38px; height: 30px; color: var(--lime); pointer-events: none; transform: rotate(-90deg); }   /* (turned the same way as the sideways LunarOS word, so they read together) */
.start-menu .start-side { padding-top: 50px; }   /* (room under the word for the emblem) */

/* Signed on to Lunar Haze Online: the screen name box in Hotbox + The Lounge is grayed out (assets/js/account-sync.js) */
input.acct-locked { background: #ECE9F3 !important; color: #8A80AE !important; cursor: not-allowed; }
input.acct-locked:focus { outline: none !important; }
.acct-note { display: block; margin: 4px 0 6px; font-size: 11.5px; line-height: 1.35; color: #6F6496; font-weight: 400; }
.acct-note a { color: inherit; text-decoration: underline; }

/* Snake: which month the board is for, when it starts over, last month's champ (assets/js/snake.js) */
.sn-month { margin: 6px 0 0; font-size: 11px; opacity: .8; text-align: center; }

/* ===== The Member Hour (members shop a new batch an hour early) ===== */
.mh-note { margin: 0 0 12px; padding: 10px 12px; background: #E1F66B; border: 2px dashed var(--plum, #2B2A5E); color: var(--plum, #2B2A5E); font-size: 14.5px; line-height: 1.45; }
.mh-wait { background: #FFE3EE; }
.mh-wait .btn { justify-self: start; }
.batch-mh { margin: 10px 0; padding: 10px 12px; background: #FFE3EE; border: 2px dashed var(--plum, #2B2A5E); font-size: 14.5px; line-height: 1.45; color: var(--plum, #2B2A5E); }
.batch-mh .btn { margin-top: 8px; }

/* "Hidden from visitors" note (The Lounge / guestbook while switched off; only the team sees it) */
.feat-preview { max-width: 760px; margin: 0 auto 14px; padding: 8px 12px; background: #FFF8C8; border: 2px dashed var(--plum, #5E3F7A); color: var(--ink, #2B2A5E); font: 13px var(--body, monospace); text-align: center; }

/* Snake fits the screen (Oct 17 2026): the game screen shrinks on short windows, the window scrolls
   instead of getting cut off, and on computers the high scores sit to the right of the game. */
.sn-win { max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); display: flex; flex-direction: column; }
.sn-win .sn-body { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sn-screen { width: max(200px, min(340px, calc(100vw - 80px), calc(100vh - 330px))); width: max(200px, min(340px, calc(100vw - 80px), calc(100dvh - 330px))); }
@media (min-width: 760px) {
    .sn-win { width: min(700px, calc(100vw - 24px)); }
    .sn-win .sn-body { display: grid; grid-template-columns: auto 250px; gap: 18px; align-items: start; justify-content: center; }
    .sn-win .sn-board { margin: 0; max-width: none; }
    .sn-screen { width: max(220px, min(340px, calc(100vh - 400px))); width: max(220px, min(340px, calc(100dvh - 400px))); }   /* (whole game fits without scrolling) */
}

/* Taskbar tooltips (assets/js/site.js): the classic little yellow box */
.lh-tip { position: fixed; z-index: 700; max-width: 260px; padding: 5px 8px; background: #FFFFE1; color: #2B2A5E; border: 1px solid #2B2A5E; box-shadow: 2px 2px 0 rgba(43,42,94,.25); font: 12px/1.35 "Courier Prime", "Courier New", monospace; pointer-events: none; animation: lh-tip-in .12s ease-out; }
@keyframes lh-tip-in { from { opacity: 0; transform: translateY(3px); } }

/* Shooting star (assets/js/idle-star.js) at 11:11. The script picks a direction each time
   (left to right, right to left, or rising from the bottom) and moves it with transform only. */
.lh-star { position: fixed; z-index: 640; left: 0; top: 0; width: 230px; height: 40px; margin: -20px 0 0 -115px; padding: 0; border: 0; background: none; cursor: pointer; will-change: transform; }
.lh-star-tail { position: absolute; left: 0; top: 18px; width: 210px; height: 4px; border-radius: 3px; background: linear-gradient(90deg, rgba(225,246,107,0), #E1F66B 75%, #fff); box-shadow: 0 0 8px rgba(225,246,107,.6); }
.lh-star-head { position: absolute; right: 0; top: 4px; color: #fff; font-size: 26px; line-height: 1; text-shadow: 0 0 10px #E1F66B, 0 0 18px #fff; }
.lh-star-tip { position: absolute; right: -6px; top: 36px; padding: 3px 7px; background: #FFFFE1; color: #2B2A5E; border: 1px solid #2B2A5E; font: 12px "Courier Prime", monospace; white-space: nowrap; transform: rotate(var(--unrot, 0deg)); opacity: 0; transition: opacity .2s; pointer-events: none; }
.lh-star:hover .lh-star-tip, .lh-star:focus-visible .lh-star-tip { opacity: 1; }
.lh-star.caught { opacity: 0; transition: opacity .4s; }

/* Angel numbers (assets/js/angel-numbers.js): a "copying.exe" window. It's a normal LunarOS window (.win),
   so its title bar + border follow the seasonal theme; the progress bar uses the theme's title bar color too. */
.angel-win { width: min(400px, 100%); margin: auto; }
.angel-body { padding: 14px 16px 16px; font: 14px/1.45 "Courier Prime", monospace; color: var(--ink); }
.angel-body p { margin: 2px 0; }
.angel-win .angel-q { display: grid; place-items: center; font: 700 13px/1 "Courier Prime", monospace; color: var(--ink); }
.angel-win .angel-q[aria-expanded="true"] { border-color: var(--bevel-in); }
.angel-help { margin: 0 0 10px; padding: 8px 10px; background: #FFFFE1; color: #2B2A5E; border: 1px solid #2B2A5E; box-shadow: 2px 2px 0 rgba(43,42,94,.3); font-size: 13px; line-height: 1.45; }
.angel-help[hidden] { display: none; }
.angel-scene { position: relative; width: 250px; max-width: 100%; height: 64px; margin: 0 auto 6px; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.angel-from, .angel-to { font-size: 36px; line-height: 1; position: relative; z-index: 1; }
.angel-arc { position: absolute; left: 48px; right: 48px; top: 4px; width: calc(100% - 96px); height: 40px; overflow: visible; }
.angel-fly { position: absolute; left: 0; top: 0; font-size: 20px; line-height: 1; z-index: 2; will-change: transform; }
.angel-fly.still { left: 50%; top: -6px; transform: translateX(-50%); }
.angel-prog { height: 22px; margin: 8px 0 6px; padding: 3px; display: flex; gap: 2px; overflow: hidden; background: var(--white, #fff); border: 3px solid; border-color: var(--bevel-in); }
.angel-prog i { flex: 0 0 9px; }
.angel-prog i.on { background: var(--lav-dark); }
.angel-act { text-align: right; margin-top: 10px !important; }
.angel-win .btn { padding: 6px 16px; font-size: 14px; }
.angel-done > p:first-child { margin-bottom: 8px; }
.angel-msg { background: #FFF7EC; border: 2px solid var(--ink); padding: 12px 14px; font-size: 15px; }
.angel-num { display: block; margin-bottom: 6px; font: 700 30px/1 Georgia, serif; color: #5B3FA8; text-shadow: 2px 2px 0 #E1F66B; }
.angel-found { margin-top: 8px !important; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
@media (max-width: 600px) { .angel-layer { place-items: center; } }

/* Golden hour (assets/js/golden-hour.js): the glow is "GOLDEN HOUR GLOW" further down.
   This is the 📷 in the tray and the little yellow note (the midnight sign-off's note uses it too). */
.tray-golden { display: inline-flex; align-items: center; justify-content: center; height: 22px; margin: 0; padding: 0 2px; border: 0; background: none; line-height: 1; cursor: pointer; }   /* (same as the other tray icons) */
.taskbar .tray-golden .tray-ico { font-size: 16px; filter: drop-shadow(0 0 5px rgba(255,190,90,.9)); }
.golden-note { position: fixed; right: 12px; bottom: 64px; z-index: 690; max-width: min(270px, calc(100vw - 24px)); padding: 7px 11px; background: #FFFFE1; color: #2B2A5E; border: 1px solid #2B2A5E; box-shadow: 2px 2px 0 rgba(43,42,94,.3); font: 13px/1.4 "Courier Prime", "Courier New", monospace; cursor: pointer; animation: lh-tip-in .25s ease-out; transition: opacity .5s; }
.golden-note b { display: block; }
.golden-note.out { opacity: 0; }

/* Midnight sign-off (assets/js/midnight.js): color bars → TV switching off → fuzz → "It's tomorrow now." */
.tv-off { position: fixed; inset: 0; z-index: 3000; background: #000; overflow: hidden; cursor: pointer; transition: opacity .6s; }
.tv-off.out { opacity: 0; }
.tv-off > * { position: absolute; inset: 0; opacity: 0; }
.tv-off .tv-scan { opacity: 1; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.6)); }
.tv-bars { display: grid; grid-template-rows: 67% 8% 25%; }
.tv-bars > div { display: flex; }
.tv-bars span { flex: 1; }
.tv-cap { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); margin: 0; padding: 10px 16px; background: #000; color: #fff; border: 2px solid #fff; font: 700 clamp(14px, 3.6vw, 22px)/1.4 "Courier Prime", monospace; letter-spacing: .06em; text-align: center; white-space: nowrap; }
.tv-line { inset: auto; left: 8%; right: 8%; top: 50%; height: 3px; margin-top: -1.5px; background: #fff; border-radius: 3px; box-shadow: 0 0 12px 4px rgba(200,220,255,.9), 0 0 40px 12px rgba(160,180,255,.5); }
.tv-fuzz { width: 100%; height: 100%; image-rendering: pixelated; }
.tv-words { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; color: #fff; font: 400 clamp(18px, 4.6vw, 26px)/1.4 "Courier Prime", monospace; text-align: center; text-shadow: 0 0 8px rgba(255,255,255,.5); }
.tv-words { gap: 16px; }
.tv-title { font: 900 clamp(46px, 11vw, 110px)/1 "Arial Black", "Helvetica Neue", Arial, sans-serif; letter-spacing: .02em; text-shadow: 0 0 18px rgba(255,255,255,.35); }
.tv-words span { font-size: clamp(18px, 4.4vw, 30px); letter-spacing: .06em; opacity: .9; }
.tv-off[data-stage="words"] .tv-title { animation: tv-title 1.4s ease-out both; }
.tv-off[data-stage="words"] .tv-words span { animation: tv-title 1.4s .5s ease-out both; }
@keyframes tv-title { from { opacity: 0; transform: scale(.96); filter: blur(4px); } }
.tv-off[data-stage="bars"] .tv-bars { opacity: 1; animation: tv-flick .18s steps(2) 3; }
.tv-off[data-stage="off"] .tv-bars { opacity: 1; animation: tv-collapse .4s ease-in forwards; }
.tv-off[data-stage="off"] .tv-line { animation: tv-line .65s ease-out forwards; }
.tv-off[data-stage="fuzz"] .tv-fuzz { opacity: 1; }
.tv-off[data-stage="words"] .tv-words { opacity: 1; transition: opacity .4s; }
@keyframes tv-flick { 50% { filter: brightness(1.4); } }
@keyframes tv-collapse { 70% { transform: scaleY(.01); filter: brightness(3); } to { transform: scaleY(.003); opacity: 0; } }
@keyframes tv-line { 0%, 55% { opacity: 0; } 60% { opacity: 1; transform: scaleX(1); } to { opacity: 1; transform: scaleX(.01); } }

/* LHN Morning Edition (assets/js/morning-news.js): 6-8 AM news crawl above the taskbar.
   Uses the Stash Spots "Puffcast alerts" ticker look (.ticker in site.css). */
.lhn-news { position: fixed; left: 0; right: 0; bottom: 52px; z-index: 49; box-shadow: 0 -3px 0 rgba(0,0,0,.15); }
.lhn-news .ticker-tag { gap: 7px; }
.lhn-news .ticker-tag i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #FF4D4D; box-shadow: 0 0 6px #FF4D4D; animation: lhn-live 1.6s ease-in-out infinite; }
.lhn-news .ticker-run { animation-duration: 40s; }
.lhn-news .ticker-item { font-weight: 700; letter-spacing: .04em; }
.lhn-news .ticker-item b { margin-right: 8px; }
.lhn-news .lhn-short { display: none; }
.lhn-x { flex: none; width: 36px; padding: 0; border: 0; border-left: 1px solid rgba(255,255,255,.2); background: var(--plum); color: #F1ECFF; font: 700 17px/1 monospace; cursor: pointer; }
.lhn-x:hover { background: var(--pink); }
@keyframes lhn-live { 50% { opacity: .35; } }
@media (max-width: 600px) {
    .lhn-news .lhn-long { display: none; }
    .lhn-news .lhn-short { display: inline; }
    .lhn-news .ticker-tag { padding: 8px 10px; }
    .lhn-news .ticker-run { animation-duration: 28s; }
}
@media (prefers-reduced-motion: reduce) { .lhn-news .ticker-run { animation: none; } .lhn-news .ticker-track { overflow-x: auto; } }
html[data-motion="reduce"] .lhn-news .ticker-run { animation: none; }
html[data-motion="reduce"] .lhn-news .ticker-track { overflow-x: auto; }
html.has-lhn .golden-note { bottom: 112px; }
/* Phones, kit pages: while the follow-along "add to cart" bar is showing, the news crawl steps aside so it doesn't cover it */
@media (max-width: 899px) {
    .lhn-news { transition: transform .25s ease, opacity .25s ease; }
    html:has(.buy-bar.show) .lhn-news { transform: translateY(110%); opacity: 0; pointer-events: none; }
    html.has-lhn:has(.buy-bar.show) body { padding-bottom: 58px; }   /* (Nov 12 2026) the crawl stepped aside, so the page doesn't keep its space too: no big gap under the footer */
}   /* (sit above the morning news ticker when it's showing) */

/* LHN shows (assets/js/lhn-news.js): each broadcast has its own colors. The morning one uses the
   Stash Spots ticker colors above; the noon and 11 PM ones change them here. */
.lhn-noon { background: #E8772E; border-top-color: #E8772E; }
.lhn-noon .ticker-track { border-top-color: #C95F1B; }
.lhn-noon .ticker-tag { background: #FFD23F; color: #3A2208; }
.lhn-noon .ticker-tag i { background: #E8772E; box-shadow: 0 0 6px #E8772E; }
.lhn-noon .ticker-item { color: #FFF8E6; }
.lhn-noon .ticker-item b { color: #FFE45C; }
.lhn-noon .lhn-x { background: #E8772E; color: #FFF8E6; }
.lhn-pm { background: #0B1440; border-top-color: #0B1440; }
.lhn-pm .ticker-track { border-top-color: #1B2A6B; }
.lhn-pm .ticker-tag { background: #D7263D; color: #fff; }
.lhn-pm .ticker-tag i { background: #fff; box-shadow: 0 0 6px #fff; }
.lhn-pm .ticker-item { color: #E6EBFF; }
.lhn-pm .ticker-item b { color: #FF5C6E; }
.lhn-pm .lhn-x { background: #0B1440; }
.lhn-pm .lhn-x:hover, .lhn-noon .lhn-x:hover { background: #D7263D; color: #fff; }

/* TV Guide (assets/js/tv-guide.js): old TV-listings grid inside a normal LunarOS window */
.tvg { width: min(720px, 100%); margin: auto; }
.tvg .win-body { padding: 0; background: #0E1A5C; }
.tvg-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: #08113D; color: #FFE45C; font: 700 13px "Courier Prime", monospace; letter-spacing: .12em; border-bottom: 3px solid #FFE45C; }
.tvg-head b { color: #fff; font-size: 15px; letter-spacing: .06em; }
.tvg-row { display: grid; grid-template-columns: 78px 1fr; border-bottom: 2px solid #08113D; }
.tvg-ch { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px; background: #1F3AA8; color: #fff; border-right: 2px solid #08113D; font: 700 12px "Courier Prime", monospace; text-align: center; }
.tvg-ch big { font-size: 20px; line-height: 1; color: #FFE45C; }
.tvg-shows { display: flex; flex-wrap: wrap; gap: 2px; background: #08113D; }   /* (the gap shows as the dividing lines, even between wrapped rows) */
.tvg-show { flex: 1 1 calc(33.33% - 2px); min-width: 150px; padding: 9px 12px; background: #14278A; color: #fff; font: 13px/1.4 "Courier Prime", monospace; }
.tvg-shows.tvg-4 .tvg-show { flex-basis: calc(50% - 2px); }   /* (4 shows: 2 by 2) */
.tvg-show:nth-child(2n) { background: #18309A; }
.tvg-show .t { display: block; color: #FFE45C; font-weight: 700; font-size: 12px; letter-spacing: .06em; }
.tvg-show .n { display: block; margin: 1px 0; font-weight: 700; font-size: 14px; }
.tvg-show .d { display: block; font-size: 12px; opacity: .75; }
.tvg-show.now { background: #FFE45C; color: #08113D; }
.tvg-show.now .t { color: #B0218A; }
.tvg-foot { padding: 8px 14px; background: #08113D; color: #9FB0FF; font: 12px "Courier Prime", monospace; }
@media (max-width: 600px) { .tvg-row { grid-template-columns: 58px 1fr; } .tvg-show, .tvg-shows.tvg-4 .tvg-show { flex-basis: 100%; } .tvg-head { flex-wrap: wrap; } }

/* Safari: the page behind the TV Guide (and the angel number window) tore into strips, because a blurred
   see-through layer sat over moving things (the news ticker, falling season emojis). Same fix as PUFF FM:
   these layers get their own drawing layer and a plain dim instead of the blur, and the ticker pauses
   while any window is open. */
#tv-guide, .angel-layer { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(40, 28, 70, 0.62); transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
html:has(.dialog-layer:not([hidden])) .lhn-news .ticker-run { animation-play-state: paused; }
/* Safari, Oct 22: with a window open for a while, the dim layer and the desktop icons blinked on and off
   (Safari dropping drawing layers while things kept moving underneath). So while any window is open,
   everything BEHIND it holds still (falling season emojis, sparkles, Puffy bobbing...). The window
   itself keeps moving. It all picks up again when the window closes. */
html:has(body > .dialog-layer:not([hidden])) body > :not(.dialog-layer):not(.angel-layer),
html:has(body > .dialog-layer:not([hidden])) body > :not(.dialog-layer):not(.angel-layer) *,
html:has(body > .dialog-layer:not([hidden])) body > :not(.dialog-layer):not(.angel-layer)::before,
html:has(body > .dialog-layer:not([hidden])) body > :not(.dialog-layer):not(.angel-layer)::after,
html:has(body > .angel-layer) body > :not(.dialog-layer):not(.angel-layer),
html:has(body > .angel-layer) body > :not(.dialog-layer):not(.angel-layer) * { animation-play-state: paused !important; }
/* ...except Puffy right after Task Manager > End Task: he sits above Task Manager's backdrop (.pf-ontop) and keeps
   storming and shaking while it's still open. Just him, so Safari's drawing stays calm. (Oct 23 2026) */
html:has(body > .dialog-layer:not([hidden])) body > .puffy.pf-ontop,
html:has(body > .dialog-layer:not([hidden])) body > .puffy.pf-ontop *,
html:has(body > .dialog-layer:not([hidden])) body > .puffy.pf-ontop::before,
html:has(body > .dialog-layer:not([hidden])) body > .puffy.pf-ontop::after { animation-play-state: running !important; }

/* Hotbox answering machine (includes/hotbox.php + assets/js/hotbox.js): shows when you're set to offline */
.hb .hb-if-machine, .hb-machine-box { display: none; }
.hb.hb-machine .hb-if-machine { display: inline; }
.hb.hb-machine .hb-if-on, .hb.hb-machine .hb-tagline { display: none; }
.hb.hb-machine .hb-machine-box { display: block; }
.hb-machine-box { max-width: 290px; margin: 8px auto 0; padding: 7px 10px; background: #24202F; border: 2px solid #2B2A5E; border-radius: 8px; color: #E9E4FF; text-align: left; }
.hb.hb-machine .hb-machine-box { display: flex; align-items: center; gap: 10px; }
.hbm-led { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #FF3B3B; box-shadow: 0 0 7px #FF3B3B; animation: hbm-blink 1s steps(2) infinite; }
.hbm-say { margin: 0; font: 12px/1.35 "Courier Prime", monospace; }
.hbm-lcd { flex: none; margin-left: auto; padding: 2px 6px; background: #1C2A12; color: #B6F26B; border-radius: 3px; font: 700 14px/1 "Courier Prime", monospace; text-shadow: 0 0 5px rgba(182,242,107,.6); }
@keyframes hbm-blink { 50% { opacity: .2; } }
@keyframes hbm-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hbm-led { animation: none; } }
html[data-motion="reduce"] .hbm-led { animation: none; }

/* "Under construction" banner, the classic yellow + black stripes (The Lounge while it's closed) */
.uc-banner { margin: 0 0 10px; padding: 7px; background: repeating-linear-gradient(-45deg, #FFD23F 0 12px, #1A1A1A 12px 24px); border: 2px solid #1A1A1A; text-align: center; }
.uc-banner > span { display: inline-block; max-width: 100%; padding: 5px 10px; background: #FFD23F; color: #1A1A1A; border: 2px solid #1A1A1A; font: 700 13px/1.2 "Courier Prime", monospace; letter-spacing: .08em; white-space: nowrap; }   /* (always one line) */
.uc-banner { container-type: inline-size; }
@container (max-width: 300px) { .uc-banner > span { padding: 4px 6px; letter-spacing: .03em; font-size: clamp(9px, calc((100cqi - 28px) / 15.5), 12.5px); } }   /* (narrow windows like the Lounge pop-up: the words shrink to stay on one line) */

/* Hotbox away message, AIM style (includes/hotbox.php + paintAway in assets/js/hotbox.js) */
.hb-awaybox { padding: 6px 8px 2px; }
.hb-awaybox[hidden] { display: none; }
.aim-away-h { margin: 0 2px 4px; color: #555; font: 12px "Courier Prime", monospace; }
.aim-away-h b { color: #C2407E; }
.aim-away { padding: 10px 12px; background: #000; border: 2px solid; border-color: #808080 #FFF #FFF #808080; text-align: center; font: 700 15px/1.5 "Comic Sans MS", "Comic Neue", "Chalkboard SE", cursive; }
.aim-away .l { display: block; }
.aim-away .dec { display: block; color: #FF5EC4; letter-spacing: .1em; }
.aim-away .c1 { color: #7FE3F0; } .aim-away .c2 { color: #FF5EC4; } .aim-away .c3 { color: #E1F66B; } .aim-away .c4 { color: #C9B8F0; }
/* TV Guide: "ON NOW" gets a blinking red on-air dot */
.tvg-live { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; color: #D7263D; }
.tvg-live i { width: 8px; height: 8px; border-radius: 50%; background: #FF3B3B; box-shadow: 0 0 6px #FF3B3B; animation: lhn-live 1.6s ease-in-out infinite; }

/* LHN Special Report (Admin > Website > LHN Special Report): quiet on purpose. Lunar Haze lavender + lime, no red. */
.lhn-special { background: #5B3FA8; border-top-color: #5B3FA8; }
.lhn-special .ticker-track { border-top-color: #4A3290; }
.lhn-special .ticker-tag { background: #E1F66B; color: #2B2A5E; }
.lhn-special .ticker-tag i { background: #5B3FA8; box-shadow: none; animation: none; }
.lhn-special .ticker-item { color: #F4F0FF; }
.lhn-special .ticker-item b { color: #E1F66B; }
.lhn-special .lhn-x { background: #5B3FA8; }
.lhn-link .ticker-track { cursor: pointer; }
/* TV Guide: the time and "● ON NOW" sit on one line, centered with each other */
.tvg-show .t { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; line-height: 1.2; }
.tvg-live { margin-left: 0; line-height: 1.2; }
.tvg-live i { flex: none; }
/* (Apple devices: the capitals sit higher in the line, so lift the dot to match) */
html.emoji-apple .tvg-live i { position: relative; top: -2px; }

/* Saturday Morning (assets/js/lhn-news.js): cereal-box blue + sunny yellow */
.lhn-sat { background: #2F7FD8; border-top-color: #2F7FD8; }
.lhn-sat .ticker-track { border-top-color: #2266B5; }
.lhn-sat .ticker-tag { background: #FFD23F; color: #1D3D7A; }
.lhn-sat .ticker-tag i { background: #FF5E7E; box-shadow: 0 0 6px #FF5E7E; }
.lhn-sat .ticker-item { color: #FFFFFF; }
.lhn-sat .ticker-item b { color: #FFD23F; }
.lhn-sat .lhn-x { background: #2F7FD8; color: #fff; }
.lhn-sat .lhn-x:hover { background: #FF5E7E; }
.tvg-shows.tvg-5 .tvg-show { flex-basis: calc(33.33% - 2px); }

/* readme.txt release notes (assets/js/readme.js): a Notepad window. Follows the seasonal theme like other windows. */
.rm-win { width: min(560px, 100%); margin: auto; display: flex; flex-direction: column; max-height: min(86vh, 760px); }
.rm-menu { display: flex; gap: 16px; padding: 4px 12px; font: 13px/1.4 var(--mono, ui-monospace, monospace); background: var(--paper, #fff); border-bottom: 1px solid var(--lav-mid, #ccc); color: var(--ink, #333); opacity: .85; }
.rm-menu span:first-letter { text-decoration: underline; }
.rm-page { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #fff; color: #1d1a2b; padding: 16px 18px 22px; font: 14px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; overscroll-behavior: contain; }
.rm-page:focus { outline: none; }
.rm-title { font-weight: 700; letter-spacing: .04em; }
.rm-head { font-weight: 700; margin-top: 2px; }
.rm-gap { height: 1.1em; }
.rm-item { padding-left: 2ch; text-indent: -2ch; }
.rm-mark { display: inline-block; width: 2ch; text-indent: 0; }
@media (max-width: 600px) { .rm-page { font-size: 13px; padding: 14px 14px 20px; } }
#readme { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(40, 28, 70, 0.62); transform: translateZ(0); }

/* Shipping & returns page (shipping/index.php) */
.ship-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.ship-grid .ship-rates { grid-column: 1 / -1; }
.ship-col { display: grid; gap: 22px; align-content: start; min-width: 0; }
.ship-grid .win { min-width: 0; max-width: 100%; }
.shipinfo .win-notepad .win-body { padding: 14px 18px 16px; }
.shipinfo .win-body { font-size: 15px; }
.ship-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ship-table th, .ship-table td { padding: 9px 10px; border-bottom: 1px dotted var(--lav-mid); text-align: left; white-space: nowrap; }
.ship-table thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); opacity: .8; }
.ship-table tbody th { font-weight: 700; }
.ship-table td:nth-child(2) { font-weight: 700; }
.ship-table tr.is-you { background: rgba(225, 246, 107, .35); }
.ship-you { display: inline-block; margin-left: 6px; padding: 0 7px; border: 1px solid currentColor; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ship-aside { margin: 10px 0 4px; font-style: italic; opacity: .8; }
.ship-list { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 9px; line-height: 1.5; }
.ship-fees { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 13.5px; }
.ship-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }   /* Report a problem across the top, the other two side by side under it */
.ship-btns .btn { justify-content: center; text-align: center; margin: 0; }
.ship-btns .btn:first-child { grid-column: 1 / -1; }
@media (max-width: 380px) { .ship-btns { grid-template-columns: 1fr; } }
.ship-legal { text-align: center; color: var(--white); margin-top: 18px; }
.ship-legal a { color: inherit; text-decoration: underline; }
@media (max-width: 860px) {
    .ship-grid { grid-template-columns: 1fr; }
    .ship-table th, .ship-table td { padding: 8px 6px; white-space: normal; font-size: 14px; }
}
/* Phones: each place becomes its own little card instead of a squeezed 4-column table:
     🇺🇸 US Standard  [you]
     $4.20 · free over $50
     3-6 business days            */
@media (max-width: 600px) {
    .ship-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }   /* (still read out by screen readers) */
    .ship-table, .ship-table tbody { display: block; }
    .ship-table tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 12px 10px; border-bottom: 1px dotted var(--lav-mid); }
    .ship-table th, .ship-table td { padding: 0; border: 0; font-size: 15px; white-space: normal; }
    .ship-table tbody th { flex: 1 0 100%; font-size: 16px; margin-bottom: 2px; }
    .ship-table td:nth-child(2) { font-size: 16px; }
    .ship-table .ship-free::before { content: "· free over "; font-weight: 400; }
    .ship-table .ship-free.none { display: none; }
    .ship-table .ship-time { flex: 1 0 100%; color: var(--plum); opacity: .85; font-size: 14px; }
}

/* 📲 Install LunarOS (assets/js/install.js): the Start menu line is phones only, plus its little window */
.start-install { display: none !important; }
@media (max-width: 720px) { .start-menu:not(.is-drilled) .start-install { display: flex !important; } }   /* (only on the main list, not inside a folder like Shop) */
.install-win { width: min(100%, 380px); }
.install-win .win-body { display: grid; gap: 12px; padding: 16px 16px 18px; }
.iw-top { display: flex; align-items: center; gap: 12px; }
.iw-ico { flex: none; width: 58px; height: 58px; border-radius: 14px; box-shadow: 0 3px 0 rgba(0,0,0,.2); }
.install-win h2 { margin: 0; font-size: 20px; line-height: 1.15; }
.install-win p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--plum); }
.iw-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: iw; }
.iw-steps li { counter-increment: iw; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 2px solid var(--lav-mid); background: #fff; font-size: 14px; line-height: 1.4; }
.iw-steps li::before { content: counter(iw); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: var(--ink); font: 700 13px/24px var(--body); text-align: center; }
.iw-share { display: inline-grid; place-items: center; width: 24px; height: 24px; margin: 0 2px; border: 1.5px solid #2F6BFF; border-radius: 6px; color: #2F6BFF; vertical-align: middle; }
.install-win .iw-fine { font-size: 12px; color: #8A7FA8; }
.install-win .iw-go { width: 100%; justify-content: center; }

/* Puffy at 4:20 (assets/js/puffy.js): little curls of smoke drift up off him for the minute */
.puffy .pf-smoke path { animation: pf-smoke 2.6s ease-in-out infinite; opacity: 0; }
.puffy .pf-smoke path:nth-child(2) { animation-delay: .9s; }
.puffy .pf-smoke path:nth-child(3) { animation-delay: 1.7s; }
@keyframes pf-smoke { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .puffy .pf-smoke path { animation: none; opacity: .7; } }

/* "Added to your cart" on phones: down by the taskbar (above the add-to-cart bar on kit pages), full width
   and taller, so it's easy to tap without hitting a listing behind it (Oct 23 2026) */
@media (max-width: 720px) {
    .toast { bottom: calc(62px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 24px); max-width: none; }
    .toast:has(.toast-cart) { width: calc(100% - 24px); }
    .toast-cart { padding: 18px 16px; font-size: 15px; }
    html:has(.buy-bar.show) .toast { bottom: calc(var(--buybar-h, 76px) + 62px); }
}

/* Windows: the taskbar clock sat a little higher than the tray icons (Windows draws the emoji lower in their box
   than Mac does). Nudge the date + time down so they line up (Oct 23 2026) */
html.os-win .taskbar .tray-time { line-height: 1; translate: 0 2px; }

/* While the news crawl shows: extra room at the bottom of the page, so it never covers the footer (Oct 23 2026) */
html.has-lhn body { padding-bottom: calc(58px + var(--lhn-h, 46px)); }
/* Windows: My Mail icons sat a little low next to their words (Windows draws emoji lower in their box).
   👉 Poke Puffy is drawn lowest of all in the Windows emoji font, so it gets a bigger lift. (Oct 23 2026) */
html.os-win .mm-icon { translate: 0 -1px; }
html.os-win .mm-poke .mm-icon { translate: 0 -4px; }
/* While the news crawl shows: pop-ups that sit just above the taskbar move up above the crawl too,
   so it never covers them (tip balloon, achievements, Hotbox replies, cookies...). (Oct 23 2026) */
html.has-lhn .desk-hint { bottom: calc(66px + var(--lhn-h, 46px)); }
@media (min-width: 721px) {   /* (phones show these at the top of the screen, or have their own spots) */
    html.has-lhn .ach-toast, html.has-lhn .pw-toast { bottom: calc(74px + var(--lhn-h, 46px)); }
    html.has-lhn .cookie-win { bottom: calc(72px + var(--lhn-h, 46px)); }
    html.has-lhn .cw-toast { bottom: calc(58px + var(--lhn-h, 46px)); }
}
html.has-lhn .puffy { bottom: calc(70px + var(--lhn-h, 46px)); }   /* (Puffy too: he was half behind the crawl) */
@media (max-width: 720px) { html.has-lhn .puffy { bottom: calc(64px + var(--lhn-h, 46px)); } html.has-lhn .puffy.pf-peek { bottom: calc(110px + var(--lhn-h, 46px)); } }

/* readme.txt menus: real drop-down menus now (assets/js/readme.js) */
.rm-menu.lh-menubar { opacity: 1; position: relative; z-index: 10; gap: 2px; padding: 2px 8px; }
.rm-menu .lh-menu-list { background: #FFFFFF; }   /* (solid, so the notes underneath don't show through) */
.rm-menu .lh-menu-btn { padding: 1px 6px; font: 13px/1.4 var(--mono, ui-monospace, monospace); }
.rm-menu .lh-menu-btn::first-letter { text-decoration: underline; }
.rm-menu .lh-menu-list { min-width: 210px; }

/* Safari (iMac, Oct 23 2026): while Puffy shakes (storm / ended / blown away) Safari left a smeared copy of him
   behind ("ghosting"), because the shadow filter was on the same piece that shakes. Now the shaking piece has
   no filter and its own drawing layer; the shadow sits on the drawing inside it, which holds still. */
.puffy.pf-storm .pf-cloud, .puffy.pf-frozen .pf-cloud, .puffy.pf-blown { filter: none; will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.puffy.pf-storm .pf-cloud svg { filter: none; }   /* (Nov 11 2026: storm Puffy's shadow is drawn inside his picture now, assets/js/puffy.js STORM_SHADOW: no shadow copies of the rain, no Safari streaks) */
.puffy.pf-frozen .pf-cloud svg { filter: grayscale(1) contrast(.85) brightness(1.08) drop-shadow(3px 5px 0 rgba(43,42,94,0.25)); }

/* ---- social icons inside the phone menu (Oct 24) ---- */
.nav-socials { display: none; }
@media (max-width: 720px) {
    .site-nav .nav-socials { display: flex; gap: 6px; margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.22); }
    .site-nav .nav-socials a { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 10px; color: var(--white); }
    .site-nav .nav-socials a:active { background: rgba(255,255,255,0.14); }
    body.theme-win95 .site-nav .nav-socials a { color: #000 !important; }
    body.theme-win95 .site-nav .nav-socials { border-top-color: #808080; }
}

/* ---- Add-on designs: tap to add, count on top (stash/product.php, Oct 24) ---- */
.vw-multi .vw-g { position: relative; }
.vw-multi .vw-n { position: absolute; top: -6px; right: -4px; z-index: 2; min-width: 26px; height: 26px; padding: 0 6px; box-sizing: border-box; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 999px; background: var(--lime); color: var(--ink); font: 700 13px/1 var(--body); box-shadow: 2px 2px 0 var(--ink); pointer-events: none; }
.vw-multi .vw-n[hidden], .vw-multi .vw-minus[hidden] { display: none; }
.vw-multi .vw-minus { position: absolute; top: -6px; left: -4px; z-index: 2; width: 26px; height: 26px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); font: 700 18px/1 var(--body); cursor: pointer; }
.vw-multi .vw-minus::after { content: ""; position: absolute; inset: -8px; }   /* (a bigger tap area than it looks) */
.vw-multi .vw-minus:hover { background: var(--lav); }
.vw-n.vw-pop { animation: vw-pop .28s ease-out; }
@keyframes vw-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.vw-g.vw-full .kp-dot { animation: vw-no .3s ease-in-out; }
@keyframes vw-no { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.vw-multi .vw-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 12px 0 0; font: 400 13.5px/1.4 var(--body); text-transform: none; letter-spacing: 0; color: var(--plum); }
.vw-multi .vw-sum span, .vw-multi .vw-clear { font: inherit; text-transform: none; letter-spacing: 0; }
.vw-multi .vw-sum[hidden] { display: none; }
.vw-multi .vw-clear { border: 0; background: none; padding: 4px 2px; color: var(--peri-deep); font: inherit; text-decoration: underline; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .vw-n.vw-pop, .vw-g.vw-full .kp-dot { animation: none; } }

/* ---- Track page: a member's own orders as a list to tap (track/index.php, Oct 24) ---- */
.win-mine .mine-lede { margin: 0 0 10px; color: var(--plum); font-size: 14px; }
.mine-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mine-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-height: 52px; border: 2px solid var(--lav-dark); background: var(--white); color: var(--ink); text-decoration: none; }
.mine-list a:hover { background: var(--lav); }
.mine-list a.on { border-color: var(--ink); background: var(--lav); box-shadow: 3px 3px 0 var(--ink); }
.mine-ic { font-size: 22px; line-height: 1; flex: none; }
.mine-txt { display: grid; gap: 2px; min-width: 0; flex: 1; }
.mine-txt small { color: var(--plum); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mine-st { flex: none; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--peri-deep); }
.mine-other { margin-top: 14px; }
.mine-other summary { cursor: pointer; color: var(--peri-deep); font-size: 14px; text-decoration: underline; padding: 6px 0; }
.mine-other .lookup { margin-top: 10px; }
#trk { scroll-margin-top: 90px; }   /* (tapping an order jumps here, below the top bar) */

/* ---- Model credit, next to "Image 1 of 3" under the product photos (stash/product.php, Oct 24) ---- */
.win-status .photo-credit { margin-left: auto; color: var(--plum); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.win-status .photo-credit[hidden] { display: none; }
.photo-credit a { color: inherit; font-weight: 700; text-decoration: none; border-bottom: 1px dotted currentColor; }
.photo-credit a:hover { border-bottom-style: solid; }

/* =====================================================================
   ROLL 101: how to use the kit, like an old game CD (kit pages)
   includes/kit-quest.php + assets/js/kit-quest.js. Uses the theme colors, so seasonal themes restyle it too.
   ===================================================================== */
.kq-jump { display: flex; align-items: center; gap: 10px; margin: 4px 0 2px; padding: 10px 12px; border: 2px solid var(--peri); background: var(--lav); color: var(--ink); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.kq-jump:hover { background: var(--lav-mid); }
.kq-new { flex: none; padding: 2px 7px; background: var(--pink); color: var(--white); font-size: 11px; letter-spacing: .08em; }
.kq { margin-top: 56px; display: grid; gap: 20px; scroll-margin-top: 80px; }
.kq-win { width: min(980px, 100%); justify-self: center; }
.kq-win .win-body { padding: 0; }
/* the disc menu */
.kq-disc { display: grid; grid-template-columns: minmax(0, 1fr) 250px; min-height: 440px; }
.kq-art { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 30px; color: var(--white);
          background: radial-gradient(circle at 40% 72%, var(--peri-hi) 0%, var(--peri-deep) 42%, var(--ink) 88%); }
.kq-art::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
                  background-image: radial-gradient(#fff 1px, transparent 1.5px), radial-gradient(rgba(225,246,107,.8) 1px, transparent 1.5px); background-size: 90px 80px, 140px 120px; background-position: 10px 20px, 50px 60px; }
.kq-kicker { position: relative; margin: 0; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--lav-mid); }
.kq-logo { position: relative; margin: 6px 0 0; font: 600 clamp(42px, 6vw, 64px)/1 var(--display); color: var(--lime); text-shadow: 4px 4px 0 var(--pink); text-transform: uppercase; }
.kq-logo-sm { font-size: 26px; text-shadow: 3px 3px 0 var(--pink); }
.kq-disc-no { position: relative; margin: 6px 0 0; font-size: 14px; letter-spacing: .25em; text-transform: uppercase; color: var(--lime); }
.kq-art-img { position: absolute; right: 30px; bottom: 26px; width: min(42%, 230px); transform: rotate(14deg); filter: drop-shadow(0 0 26px rgba(225,246,107,.45)); }
.kq-copy { position: relative; margin: auto 0 0; max-width: 55%; font-size: 12px; color: var(--lav-mid); }
.kq-menu { display: flex; flex-direction: column; gap: 10px; padding: 30px 18px; border-left: 3px solid var(--lav-mid); background: var(--paper); }
.kq-mbtn { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 0 16px; border: 3px solid; border-color: var(--bevel-out); background: var(--lav); color: var(--ink); font: 700 14px var(--body); letter-spacing: .08em; text-transform: uppercase; text-align: left; cursor: pointer; }
.kq-mbtn:hover, .kq-mbtn:focus-visible { background: var(--lime); }
/* the setup wizard */
.kq-pane[hidden], .kq-install[hidden], .kq-disc[hidden], .kq-wiz[hidden] { display: none; }
.kq-hello { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 380px; }
.kq-side { position: relative; overflow: hidden; padding: 22px 16px; background: radial-gradient(circle at 40% 72%, var(--peri-hi) 0%, var(--peri-deep) 45%, var(--ink) 92%); }
.kq-side img { position: absolute; left: 50%; bottom: 26px; width: 60%; transform: translateX(-50%) rotate(-8deg); filter: drop-shadow(0 0 20px rgba(225,246,107,.45)); }
.kq-text { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; }
.kq-text p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.kq-h { margin: 0; font: 600 26px/1.15 var(--display); color: var(--ink); }
.kq-h:focus { outline: none; }
.kq-hint { margin-top: auto !important; }
.kq-check { display: flex; align-items: center; gap: 10px; min-height: 32px; font-size: 14.5px; }
.kq-check input { width: 18px; height: 18px; accent-color: var(--peri); }
.kq-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; border-bottom: 2px dashed var(--lav-mid); }
.kq-banner .kq-h { font-size: 22px; }
.kq-banner p { margin: 4px 0 0 14px; font-size: 13px; color: var(--plum); }
.kq-banner img { height: 46px; width: auto; max-width: 70px; object-fit: contain; }
.kq-body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; padding: 16px 20px; }
.kq-clip { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; border: 3px solid; border-color: var(--bevel-in); background: radial-gradient(circle at 50% 45%, #fff, var(--lav)); }
.kq-clip video, .kq-clip img:not(.kq-item) { width: 100%; height: 100%; object-fit: cover; }
.kq-clip .kq-item { max-height: 72%; max-width: 70%; object-fit: contain; filter: drop-shadow(6px 10px 10px rgba(43,42,94,.25)); }
/* (Nov 22 2026) "Loading clip…" while a Roll 101 clip downloads (slow connections). kit-quest.js adds .is-loading, then removes it once the clip shows. */
.htr-media { position: relative; }
.kq-clip.is-loading::before, .htr-media.is-loading::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 150px; height: 16px; margin: -14px 0 0 -75px; border: 2px solid; border-color: var(--bevel-in); background: #fff repeating-linear-gradient(90deg, var(--peri) 0 9px, transparent 9px 12px) no-repeat -60px 0 / 60px 100%; animation: lh-clip-load 1.1s linear infinite; }
.kq-clip.is-loading::after, .htr-media.is-loading::after { content: "Loading clip\2026"; position: absolute; z-index: 2; left: 0; right: 0; top: 50%; margin-top: 10px; text-align: center; font-size: 12px; font-weight: 700; color: var(--ink); }
@keyframes lh-clip-load { to { background-position: 150px 0; } }
@media (prefers-reduced-motion: reduce) { .kq-clip.is-loading::before, .htr-media.is-loading::before { animation: none; background-position: 45px 0; } }
.kq-say { display: flex; flex-direction: column; gap: 12px; }
.kq-do { margin: 0; font-size: 15.5px; line-height: 1.55; }
.kq-tip { margin-top: auto; padding: 10px 12px; border: 2px dashed var(--lav-dark); background: var(--lav); font-size: 13px; line-height: 1.45; }
.kq-tip b { display: block; }
.kq-install { padding: 0 20px 8px; }
.kq-file { margin: 0 0 6px; font-size: 12.5px; color: var(--plum); animation: kq-pulse 1.4s ease-in-out infinite; }
@keyframes kq-pulse { 50% { opacity: .55; } }
.kq-bar { display: grid; grid-template-columns: repeat(21, minmax(0, 1fr)); gap: 2px; height: 18px; padding: 2px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.kq-bar i.on { background: var(--peri); }
.kq-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--lav-mid); background: #FAF3FE; }
.kq-foot .btn { min-height: 44px; padding: 0 16px; font-size: 13px; }
.kq-foot .btn[disabled] { opacity: .45; cursor: default; }
.kq-readme-btn { margin-right: auto; }
/* the readme */
.kq-readme-win { width: min(560px, 100%); max-height: min(640px, calc(100vh - 40px)); display: flex; flex-direction: column; }
.kq-np-menu { display: flex; gap: 16px; padding: 6px 14px; border-bottom: 1px solid var(--lav-mid); font-size: 13px; color: var(--plum); }
.kq-np { flex: 1; min-height: 0; overflow-y: auto; margin: 8px; padding: 14px 16px; border: 3px solid; border-color: var(--bevel-in); background: var(--white); }
.kq-np pre { margin: 0; white-space: pre-wrap; font: 14.5px/1.45 var(--body); color: var(--ink); }
.kq-readme-win .win-status { justify-content: space-between; }
@media (max-width: 720px) {
    .kq { margin-top: 36px; }
    .kq-disc { grid-template-columns: 1fr; min-height: 0; }
    .kq-art { min-height: 300px; padding: 22px; }
    .kq-art-img { width: 44%; right: 24px; bottom: 14px; }
    .kq-copy { max-width: 50%; }
    .kq-menu { border-left: 0; border-top: 3px solid var(--lav-mid); padding: 14px; gap: 8px; }
    .kq-hello { grid-template-columns: 1fr; min-height: 0; }
    .kq-side { height: 140px; }
    .kq-side img { width: auto; height: 110px; left: auto; right: 30px; bottom: 14px; transform: rotate(-8deg); }
    .kq-text { padding: 18px 16px; }
    .kq-h { font-size: 22px; }
    .kq-banner { padding: 12px 14px; } .kq-banner .kq-h { font-size: 18px; } .kq-banner img { height: 38px; }
    .kq-body { grid-template-columns: 1fr; padding: 12px 14px; }
    .kq-install { padding: 0 14px 8px; }
    .kq-bar { grid-template-columns: repeat(14, minmax(0, 1fr)); }
    .kq-bar i:nth-child(n+15) { display: none; }
    .kq-foot { flex-wrap: wrap; padding: 10px 12px; }
    .kq-foot .btn { flex: 1; padding: 0 8px; }
    .kq-readme-btn { flex-basis: 100% !important; margin-right: 0; order: 9; }
}
@media (prefers-reduced-motion: reduce) { .kq-file { animation: none; } }

/* ---------- ROLL 101 POP-OUT (any link to #roll-101 opens it as its own installer window, assets/js/kit-quest.js) ---------- */
.kq-pop { z-index: 85; overflow-y: auto; }
.kq-pop .kq.kq-is-pop { margin: auto 0; width: min(900px, 100%); display: block; }   /* (auto top + bottom = centered on the screen when it fits, like the other pop-up windows; a tall one still starts at the top and scrolls) */
.kq-pop .kq-win { width: 100%; box-shadow: 8px 8px 0 rgba(30, 18, 48, 0.45); animation: kq-pop-in .22s ease-out; }
@keyframes kq-pop-in { from { transform: scale(.94) translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .kq-pop .kq-win { animation: none; } }
html.kq-pop-open { overflow: hidden; scrollbar-gutter: stable; }   /* (Nov 11 2026) only the page itself stops scrolling. Locking <body> too made Firefox treat the body as its own scroll box, so the sticky menu bar jumped up off screen when a pop-up opened. The gutter keeps Windows scrollbars from making the page shift sideways. */
.kq-readme { z-index: 90; }   /* (the readme opens on top of the pop-out) */
@media (max-width: 720px) {
    .kq-pop { padding: 10px; place-items: start center; padding-top: max(14px, env(safe-area-inset-top)); }
    .kq-pop .kq.kq-is-pop { margin: 0; }   /* (phones: starts at the top) */
}
.roll-101-page .kq { margin-top: 24px; }
.kq-page-shop { text-align: center; margin: 24px 0 40px; }
.kq-foot .btn { white-space: nowrap; }
@media (max-width: 720px) { .kq-foot .btn { padding-left: 6px; padding-right: 6px; } }

/* ---------- ROLL 101: CLASSIC SETUP WIZARD LOOK (like the old PC game installers: gray window, small system type,
   tall art on the left, the etched line over the buttons, Next > / Cancel). Only the wizard part, the disc menu stays as is. ---------- */
.kq-wiz { --kq-gray: #DDD7E6; --kq-hi: #FFFFFF; --kq-lo: #8E84A0; --kq-dk: #3E2A5C;
    font-family: Tahoma, Verdana, "Segoe UI", system-ui, "Apple Color Emoji", sans-serif; background: var(--kq-gray); color: #1E1530; }
/* (the title bar stays a normal LunarOS window bar: only the inside looks like the old installers) */
.kq-wiz .kq-text p, .kq-wiz .kq-do, .kq-wiz .kq-check, .kq-wiz .kq-tip { font-family: inherit; font-size: 13.5px; line-height: 1.5; }
/* Welcome + Setup Complete: tall picture left, text right */
.kq-wiz .kq-hello { grid-template-columns: 230px minmax(0, 1fr); gap: 0; min-height: 400px; padding: 16px 16px 6px; }
.kq-wiz .kq-side { border: 2px solid; border-color: var(--kq-lo) var(--kq-hi) var(--kq-hi) var(--kq-lo); }
.kq-wiz .kq-side-photo { padding: 0; background: var(--ink); }
.kq-wiz .kq-side-photo img { position: static; width: 100%; height: 100%; object-fit: cover; transform: none; filter: none; }
.kq-wiz .kq-side-photo picture { display: block; width: 100%; height: 100%; }   /* (the phone version swaps in here: includes/kit-quest.php) */
.kq-wiz .kq-text { padding: 8px 6px 6px 22px; gap: 14px; }
.kq-intro { display: flex; gap: 14px; align-items: flex-start; }
.kq-ico { position: relative; flex: none; font-size: 34px; line-height: 1; }
.kq-ico i { position: absolute; right: -8px; bottom: -6px; font-size: 18px; font-style: normal; }
.kq-wiz .kq-h { font: 700 15px/1.35 Tahoma, Verdana, "Segoe UI", sans-serif; letter-spacing: 0; color: inherit; }
.kq-intro p { margin-top: 4px !important; }
.kq-warn { padding-left: 14px; }
.kq-wiz .kq-hint { margin-top: 0 !important; }
.kq-wiz .kq-check { min-height: 30px; }
/* Steps: the white header band (bold title, indented line under it, icon on the right) */
.kq-wiz .kq-banner { background: #fff; border-bottom: 0; box-shadow: 0 1px 0 var(--kq-lo), 0 2px 0 var(--kq-hi); padding: 12px 18px; }
.kq-wiz .kq-banner .kq-h { font-size: 14.5px; }
.kq-wiz .kq-banner p { font-family: inherit; font-size: 12.5px; color: #1E1530; margin: 3px 0 0 18px; }
.kq-wiz .kq-body { padding: 16px 18px 8px; }
.kq-wiz .kq-clip { border-color: var(--kq-lo) var(--kq-hi) var(--kq-hi) var(--kq-lo); border-width: 2px; }
.kq-wiz .kq-tip { border: 1px solid var(--kq-lo); background: #FFFDE8; }
/* "Installing: grinder.dll" + the blue block bar */
.kq-wiz .kq-file { font-family: inherit; color: #1E1530; }
.kq-wiz .kq-bar { border: 2px solid; border-color: var(--kq-lo) var(--kq-hi) var(--kq-hi) var(--kq-lo); height: 20px; }
.kq-wiz .kq-bar i.on { background: var(--peri-deep); }
/* the etched line with the little "LunarShield" label, then the buttons */
.kq-etch { display: flex; align-items: center; gap: 6px; margin: 4px 16px 0; font: 11px Tahoma, Verdana, sans-serif; color: var(--kq-lo); }
.kq-etch::after { content: ""; flex: 1; height: 0; border-top: 1px solid var(--kq-lo); border-bottom: 1px solid var(--kq-hi); }
.kq-wiz .kq-foot { background: transparent; border-top: 0; padding: 10px 16px 14px; gap: 6px; }
.kq-wb { min-width: 86px; min-height: 30px; padding: 3px 12px; border: 2px solid; border-color: var(--kq-hi) var(--kq-dk) var(--kq-dk) var(--kq-hi);
    box-shadow: inset -1px -1px 0 var(--kq-lo); background: var(--kq-gray); color: #1E1530; font: 13px Tahoma, Verdana, "Segoe UI", sans-serif; cursor: pointer; }
.kq-wb u { text-decoration: underline; }
.kq-wb:active:not([disabled]) { border-color: var(--kq-dk) var(--kq-hi) var(--kq-hi) var(--kq-dk); box-shadow: inset 1px 1px 0 var(--kq-lo); }
.kq-wb[disabled] { color: var(--kq-lo); text-shadow: 1px 1px 0 var(--kq-hi); cursor: default; }
.kq-foot .kq-readme-btn { margin-right: auto; }
@media (max-width: 720px) {
    .kq-wiz .kq-hello { grid-template-columns: 1fr; padding: 12px 12px 4px; min-height: 0; }
    .kq-wiz .kq-side { height: 130px; }
    .kq-wiz .kq-side:not(.kq-side-photo) img { height: auto; width: auto; max-height: 96px; max-width: 46%; right: 18px; bottom: 16px; left: auto; }
    .kq-wiz .kq-side-photo { height: 170px; }
    .kq-wiz .kq-text { padding: 14px 2px 4px; }
    .kq-etch { margin: 4px 12px 0; }
    .kq-wiz .kq-foot { padding: 10px 12px 12px; }
    .kq-wb { flex: 1; min-width: 0; min-height: 44px; padding: 3px 6px; }
    .kq-foot .kq-readme-btn { flex-basis: 100%; order: 9; margin-right: 0; }
}
@media (min-width: 721px) { .kq-wiz .kq-side:not(.kq-side-photo) img { width: auto; max-width: 70%; max-height: 58%; bottom: 22px; } }
/* (Oct 25: smaller, closer to the size of the old game installers) */
.kq-win, .kq-pop .kq.kq-is-pop { width: min(660px, 100%); }
.kq-wiz .kq-hello { grid-template-columns: 170px minmax(0, 1fr); min-height: 330px; padding: 12px 12px 4px; }
.kq-wiz .kq-text { padding: 4px 4px 4px 18px; gap: 11px; }
.kq-wiz .kq-text p, .kq-wiz .kq-do, .kq-wiz .kq-check, .kq-wiz .kq-tip { font-size: 12.5px; line-height: 1.45; }
.kq-wiz .kq-h { font-size: 13.5px; }
.kq-ico { font-size: 28px; } .kq-ico i { font-size: 15px; }
.kq-wiz .kq-logo-sm { font-size: 21px; }
.kq-wiz .kq-body { grid-template-columns: minmax(0, 1fr) 200px; gap: 14px; padding: 12px 14px 6px; }
.kq-wiz .kq-banner { padding: 9px 14px; } .kq-wiz .kq-banner .kq-h { font-size: 13.5px; } .kq-wiz .kq-banner img { height: 36px; }
.kq-wiz .kq-install { padding: 0 14px 6px; }
.kq-etch { margin: 2px 12px 0; }
.kq-wiz .kq-foot { padding: 8px 12px 10px; }
.kq-wb { min-width: 76px; min-height: 26px; font-size: 12px; }
@media (max-width: 720px) {
    .kq-wiz .kq-hello { grid-template-columns: 1fr; min-height: 0; }
    .kq-wiz .kq-body { grid-template-columns: 1fr; }
    .kq-wiz .kq-text p, .kq-wiz .kq-do, .kq-wiz .kq-check, .kq-wiz .kq-tip { font-size: 13.5px; }
    .kq-wb { min-height: 44px; font-size: 13px; }
}

/* ---------- HOW TO ROLL (how-to-roll/index.php): the Google page for Roll 101 ---------- */
.htr .win { width: min(820px, 100%); margin: 0 auto 28px; }
.htr-run { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 0; font-size: 13.5px; }
.htr-h2 { margin: 0 0 10px; font: 600 22px/1.15 var(--display); color: var(--ink); }
.htr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.htr-step { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; align-items: start; scroll-margin-top: 90px; }
.htr-step + .htr-step { padding-top: 22px; border-top: 2px dashed var(--lav-mid); }
.htr-media { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; border: 3px solid; border-color: var(--bevel-in); background: radial-gradient(circle at 50% 45%, #fff, var(--lav)); }
.htr-media video, .htr-media img { width: 100%; height: 100%; object-fit: cover; }
.htr-media.is-item img { width: auto; height: auto; max-width: 70%; max-height: 72%; object-fit: contain; filter: drop-shadow(6px 10px 10px rgba(43,42,94,.25)); }
.htr-n { margin: 0 0 2px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--plum); }
.htr-say p { margin: 0 0 10px; font-size: 15px; line-height: 1.55; }
.htr-say .htr-tip { padding: 8px 10px; border: 2px dashed var(--lav-dark); background: var(--lav); font-size: 13.5px; }
.htr-dl { margin: 0; } .htr-dl dt { font-weight: 700; margin-top: 12px; } .htr-dl dd { margin: 2px 0 0; line-height: 1.5; }
.htr-end { margin: 16px 0 0; color: var(--plum); }
.htr-shop { text-align: center; margin: 4px 0 40px; }
@media (max-width: 720px) {
    .htr-step { grid-template-columns: 1fr; gap: 10px; }
    .htr-h2 { font-size: 19px; }
}
.htr .win-body { padding: 18px 22px; }
.htr-run span, .htr-shop { color: var(--lav-mid); }
.htr-shop a { color: var(--lime); }
@media (max-width: 720px) {
    .htr .win-body { padding: 14px 14px; }
    .htr-media { aspect-ratio: 16 / 10; }
}

/* Stash page need_help.exe: the quiet "New to rolling?" link under the buttons */
.help-roll { flex-basis: 100%; font-size: 13px; color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.help-roll:hover { color: var(--ink); }
@media (max-width: 720px) { .help-roll { font-size: 12.5px; margin-top: 2px; } }
@media (max-width: 720px) { .win-help .help-strip { flex-wrap: wrap; row-gap: 8px; } .help-actions { flex: 1 1 0; } }

/* ---------- ROLL 101: LunarOS colors + fonts (Oct 25: no gray, no Windows title bar).
   Same installer layout (art panel, header band, etched line, Back / Next / Cancel), built from LunarOS parts. ---------- */
.kq-wiz { --kq-gray: var(--paper); --kq-hi: #FFFFFF; --kq-lo: var(--lav-dark); --kq-dk: var(--plum);
    font-family: var(--body); background: var(--paper); color: var(--ink); }
.kq-wiz .kq-h { font: 600 17px/1.2 var(--display); letter-spacing: -0.01em; }
.kq-wiz .kq-banner { background: var(--lav); box-shadow: 0 2px 0 var(--lav-mid); }
.kq-wiz .kq-banner .kq-h { font-size: 17px; }
.kq-wiz .kq-banner p { color: var(--plum); }
.kq-wiz .kq-text p, .kq-wiz .kq-do, .kq-wiz .kq-check, .kq-wiz .kq-tip { font-size: 13px; }
.kq-wiz .kq-tip { border: 2px dashed var(--lav-dark); background: var(--lav); }
.kq-wiz .kq-file { color: var(--plum); }
.kq-wiz .kq-bar i.on { background: var(--peri); }
.kq-etch { font-family: var(--body); color: var(--lav-dark); }
.kq-etch::after { border-top-color: var(--lav-mid); border-bottom-color: #fff; }
.kq-wb { font-family: var(--body); font-weight: 700; font-size: 12.5px; background: var(--lav); color: var(--ink);
    border-color: var(--bevel-out); box-shadow: none; }
.kq-wb:hover:not([disabled]) { filter: brightness(1.04); }
.kq-wb:active:not([disabled]) { border-color: var(--bevel-in); box-shadow: none; }
.kq-wb[disabled] { color: var(--lav-dark); text-shadow: none; opacity: .6; }

/* Kit pages: the Roll 101 shortcut under Buy now (a little CD tile, full width). Opens the pop-out. */
.kq-jump { display: flex; align-items: center; gap: 12px; width: 100%; margin: 6px 0 2px; padding: 8px 14px 8px 10px; border: 2px solid; border-color: var(--bevel-out);
    background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 400; font-size: inherit; }
.kq-jump:hover { background: var(--lav); }
.kq-jump .kq-cd { flex: none; font-size: 30px; line-height: 1; }
.kq-jump .kq-jt { flex: 1; min-width: 0; }
.kq-jump b { display: block; font: 600 17px/1.15 var(--display); }
.kq-jump small { display: block; margin-top: 2px; font-size: 13px; color: var(--plum); }
.kq-jump .kq-go { flex: none; font-size: 15px; color: var(--plum); }

/* need_help.exe: the Roll 101 link sits on the right, under the 8-ball button */
@media (min-width: 721px) {
    .win-help .help-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 24px; row-gap: 8px; }
    .win-help .help-strip > p { grid-row: 1 / span 2; }
    .win-help .help-actions { grid-column: 2; }
    .win-help .help-roll { grid-column: 2; justify-self: end; }
}
@media (max-width: 720px) { .kq-jump { gap: 10px; padding: 8px 10px 8px 8px; } .kq-jump .kq-cd { font-size: 26px; } .kq-jump small { font-size: 12px; line-height: 1.35; } .kq-jump b { font-size: 16px; } }
@media (max-width: 720px) { .kq-jump { gap: 10px; padding: 8px 10px 8px 8px; } .kq-jump .kq-cd { font-size: 26px; } .kq-jump small { font-size: 12px; line-height: 1.35; } .kq-jump b { font-size: 16px; } }
/* Roll 101 readme: its File / Edit / Format / Help menus work like the other windows (includes/win-menus.php) */
.kq-np-menu.doc-toolbar { display: flex; gap: 4px; padding: 4px 8px; font-size: 13px; }
.kq-np-menu .lh-menu { position: relative; }
.kq-np-menu .lh-menu-list { z-index: 6; }
/* Next: the site's lime button (same bevel as the cart button). Keyboard focus uses the site's normal focus ring. */
.kq-wb.kq-default { outline: none; background: var(--lime); border-color: var(--lime-hi) var(--lime-lo) var(--lime-lo) var(--lime-hi); }
.kq-wb.kq-default:active { border-color: var(--lime-lo) var(--lime-hi) var(--lime-hi) var(--lime-lo); }
/* Kit pages: the wishlist heart and the 📦 on the shipping line are the same size (Oct 25) */
.wish-line .wish-heart, .ship-note .ship-ico { font-size: 17px; line-height: 1; vertical-align: -2px; }
.ship-note .ship-ico { display: inline-block; width: 20px; text-align: center; }
.wish-line .wish-heart { width: 20px; text-align: center; }
/* The 💖 (sparkles poke above the heart) got its top cut off in Safari after the pop: give it a taller box
   + a softer pop (Oct 26) */
.wish-line .wish-heart { display: inline-block; line-height: 1.5; margin: -4px 0; transform-origin: 50% 55%; }
.wish-line.is-on .wish-heart { animation: wish-pop2 0.35s ease-out; }
@keyframes wish-pop2 { 50% { transform: scale(1.18); } }
/* Smoke Test result: the quiet Roll 101 link under the buttons */
.qz-roll { margin: 10px 0 0; font-size: 13px; }
.qz-roll a { color: var(--plum); text-underline-offset: 3px; }

/* Who each kit size is for ($kit_for in includes/sample-products.php) */
.kit-for { margin: 4px 0 8px; font-size: 14px; color: var(--plum); }
.kit-for b { color: var(--ink); }
.seal-for { margin: 0 auto 6px; text-align: center; font-size: 14.5px; color: var(--white); }
.seal-for b { color: var(--lime); }
.theme-link + .kit-for { margin-top: 10px; }

/* ---------- COMPARE SIZES (compare_sizes.exe pop-out: includes/compare-sizes.php, assets/js/compare-sizes.js) ---------- */
.cmp-link { display: flex; align-items: center; gap: 8px; margin: 10px 0 2px; padding: 8px 10px; border: 2px dashed var(--lav-dark); background: var(--paper); color: var(--ink); font-weight: 700; font-size: 13.5px; text-decoration: none; }
.cmp-link:hover { background: var(--lav); }
.kit-for-cmp { color: var(--peri-deep); font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.cmp-layer { z-index: 85; overflow-y: auto; }
.cmp-win { width: min(820px, 100%); }
.cmp-win .win-body { padding: 18px 20px; }
.cmp-lede { margin: 0 0 18px; color: var(--plum); font-size: 14px; }
.cmp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cmp-col { position: relative; display: flex; flex-direction: column; padding: 16px 14px 14px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); }
.cmp-pick { background: var(--lav); border-color: var(--peri-hi) var(--peri-lo) var(--peri-lo) var(--peri-hi); }
.cmp-flag { position: absolute; top: -12px; left: 12px; right: 12px; margin: 0; padding: 3px 8px; background: var(--pink); color: var(--white); font-size: 11.5px; font-weight: 700; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-flag-here { background: var(--peri-deep); }
.cmp-size { margin: 4px 0 0; font: 600 28px/1 var(--display); color: var(--ink); }
.cmp-for { margin: 4px 0 12px; font-size: 13.5px; font-weight: 700; color: var(--peri-deep); }
.cmp-k { margin: 8px 0 2px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.cmp-v { margin: 0; font-size: 13px; line-height: 1.45; }
.cmp-yes { font-weight: 700; color: #3B7A3B; }
.cmp-price { margin: auto 0 8px; padding-top: 14px; font: 600 22px var(--display); color: var(--ink); }
.cmp-btn { width: 100%; font-size: 12.5px; }
.cmp-foot { margin: 14px 0 0; text-align: center; font-size: 13.5px; }
.cmp-foot a { color: var(--peri-deep); font-weight: 700; }
@media (max-width: 720px) {
    .cmp-layer { place-items: start center; padding: 10px; }
    .cmp-win .win-body { padding: 14px; }
    .cmp-grid { grid-template-columns: 1fr; gap: 20px; }
    .cmp-pick { order: -1; }   /* (phones: the highlighted one comes first) */
}
/* Kit pages: "Compare sizes" at the bottom of the What's inside and Case size tabs */
.props-cmp { display: block; margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--lav-mid); font-size: 13.5px; font-weight: 700; color: var(--peri-deep); text-underline-offset: 3px; }
/* Build-A-Blunt size picker: who each size is for (includes/kit-for.php) */
.ca-size .ca-for { font-style: normal; font-size: 11.5px; line-height: 1.3; color: var(--plum); }
/* Compare sizes in the Stash folders: same size + spacing as the folders above it (Oct 25) */
.folders .cmp-link { margin: 0; padding: 6px 8px; gap: 10px; font-size: 15px; font-weight: 400; color: var(--plum); }
@media (max-width: 720px) { .folders .cmp-link { margin-top: 10px; } }

/* ---------- SAVINGS CALCULATOR (savings_calculator.exe: includes/savings-calc.php, assets/js/savings-calc.js) ---------- */
.props-sv { border-top: 0; padding-top: 4px; margin-top: 4px; }
.sv-layer { z-index: 86; overflow-y: auto; }
.sv-win { width: min(780px, 100%); }
.sv-win .win-body { padding: 18px 20px; }
.sv-lede { margin: 0 0 16px; color: var(--plum); font-size: 14px; }
.sv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sv-in, .sv-out { padding: 14px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); }
.sv-out { background: var(--lav); }
.sv-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0 6px; font-size: 13.5px; }
.sv-row:first-child { margin-top: 0; }
.sv-row b { font: 600 20px var(--display); }
.sv-in input[type=range] { width: 100%; accent-color: var(--peri-deep); }
.sv-money { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; flex: none; }
.sv-money input { width: 68px; padding: 6px; border: 2px solid; border-color: var(--bevel-in); background: var(--white); font: 700 15px var(--body); color: var(--ink); }
.sv-money input::placeholder { color: var(--lav-dark); }
.sv-k2 { margin: 14px 0 6px; font-size: 13.5px; }
.sv-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.sv-seg5 { grid-template-columns: repeat(4, 1fr); }
.sv-seg button { min-height: 36px; padding: 6px 2px; border: 2px solid; border-color: var(--bevel-out); background: var(--paper); color: var(--ink); font: 700 12px var(--body); cursor: pointer; }
.sv-seg5 button { font-size: 12px; }
.sv-seg button[aria-checked="true"] { background: var(--lime); }
.sv-tip { margin: 8px 0 0; padding: 8px 10px; border: 2px dashed var(--lav-dark); background: var(--lav); font-size: 12.5px; line-height: 1.45; }
.sv-note, .sv-sub { margin: 2px 0 0; font-size: 12px; color: var(--plum); line-height: 1.4; }
.sv-empty { margin: 30px 10px; text-align: center; font-size: 14px; color: var(--plum); }
.sv-k { margin: 12px 0 2px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.sv-k:first-child { margin-top: 0; }
.sv-big { margin: 0; font: 600 30px var(--display); color: var(--ink); }
.sv-big s { margin-left: 6px; font-size: 16px; color: var(--lav-dark); }
.sv-mid { margin: 0; font-weight: 700; font-size: 14px; }
.sv-nope { margin: 14px 0 4px; padding: 10px 12px; border: 2px dashed var(--lav-dark); background: var(--paper); font-size: 13px; line-height: 1.5; }
.sv-bars { display: grid; gap: 6px; margin: 12px 0; }
.sv-bars div { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 8px; font-size: 12.5px; }
.sv-bars i { display: block; height: 14px; width: var(--w); background: var(--peri); border: 2px solid var(--ink); }
.sv-bars b { text-align: right; }
.sv-total { margin: 0; font: 600 40px/1 var(--display); color: var(--ink); }
.sv-fine { margin: 12px 0 0; font-size: 12px; color: var(--plum); text-align: center; }
@media (max-width: 720px) {
    .sv-layer { place-items: start center; padding: 10px; }
    .sv-win .win-body { padding: 14px; }
    .sv-grid { grid-template-columns: 1fr; }
    .sv-money input { font-size: 16px; }   /* (16px: iPhones don't zoom in when you tap the box) */
}
/* the second tile under Roll 101, need_help links */
.kq-jump + .sv-jump { margin-top: 6px; }
.help-links { flex-basis: 100%; margin: 0; }
@media (min-width: 721px) { .win-help .help-links { grid-column: 2; justify-self: end; } .win-help .help-links .help-roll { grid-column: auto; } }
.help-links .help-roll { flex-basis: auto; }
@media (min-width: 721px) { .win-help .help-links { grid-row: 2; } }
@media (max-width: 720px) { .win-help .help-links { display: block; text-align: center; font-size: 12.5px; } }

/* ---------- Phones: tidier help buttons + kit page tiles (Oct 25) ---------- */
.help-phone, .kt-s { display: none; }
@media (max-width: 720px) {
    /* need_help.exe: "Not sure?" then 4 bracket buttons in a 2 x 2 grid */
    .win-help .help-strip { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px; }
    .win-help .help-short { grid-column: 1 / -1; text-align: center; }
    .win-help .help-actions { display: contents !important; }
    .win-help .help-actions .btn { min-height: 44px; }
    .win-help .help-phone { display: inline-flex; }
    .win-help .help-links { display: none !important; }
    /* kit pages: Peek inside + Roll 101 + Savings stacked, one slim row each, short wording (Nov 11 2026: stacked instead of side by side) */
    .kit-tiles { display: grid; grid-template-columns: 1fr; gap: 6px; margin: 6px 0 2px; }
    .kit-tiles .kq-jump { margin: 0 !important; padding: 7px 10px 7px 8px; gap: 10px; }
    .kit-tiles .kt-l { display: none; }
    .kit-tiles .kt-s { display: inline; }
    .kit-tiles .kq-cd { font-size: 24px; }
    .kit-tiles .kq-jump b { font-size: 15.5px; }
    .kit-tiles .kq-jump small { font-size: 12px; margin-top: 0; }
}

/* ---------- LINGO.TXT (includes/lingo.php, assets/js/lingo.js) ---------- */
.lingo-layer { z-index: 95; }   /* (opens on top of the Roll 101 readme too) */
.htr-lingo { margin: 10px 0 0; text-align: center; font-size: 13.5px; color: var(--lav-mid); }
.htr-lingo a { color: var(--lime); font-weight: 700; }

/* =====================================================================
   BACK TO THE TOP 🚀 (assets/js/to-top.js): a floating rocket, bottom right.
   Shows after you scroll down a screen; tap it and it takes off with a smoke trail.
   ===================================================================== */
.to-top { position: fixed; right: 12px; bottom: 60px; z-index: 48; width: 52px; height: 64px; padding: 0; border: 0; background: none; cursor: pointer;
          opacity: 0; translate: 0 14px; pointer-events: none; transition: opacity .25s, translate .25s; }
.to-top.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.to-top .tt-ico { display: block; font: 32px/1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; rotate: -45deg;   /* (pointing straight up) */
                  filter: drop-shadow(0 7px 5px rgba(20,18,60,.35)); transition: translate .2s; }
.to-top:hover .tt-ico { translate: 0 -3px; }
.to-top:focus-visible { outline: 2px dashed var(--plum); outline-offset: 2px; }
.to-top .tt-flame { position: absolute; left: 50%; bottom: 4px; width: 10px; height: 16px; margin-left: -5px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
                    background: linear-gradient(#FFF3A0, #FFC23D 45%, #FF7A3D); transform-origin: top center; animation: tt-flick .18s ease-in-out infinite alternate; }
.to-top.empty .tt-ico, .to-top.empty .tt-flame { visibility: hidden; }
.to-top.land .tt-ico { animation: tt-land 1.1s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes tt-flick { from { scale: 1 .8; opacity: .75; } to { scale: 1 1.15; opacity: 1; } }
@keyframes tt-land { 0% { translate: 0 -60px; opacity: 0; } 70% { opacity: 1; } 100% { translate: 0 0; } }
.tt-flyer { position: fixed; z-index: 49; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; rotate: -45deg; pointer-events: none; }
.tt-flyer.go { animation: tt-lift 2.4s cubic-bezier(.55,0,.75,.3) forwards; }
@keyframes tt-lift { 0% { translate: 0 0; } 15% { translate: 0 6px; } 100% { translate: 0 calc(-100vh - 80px); } }
.tt-smoke { position: fixed; z-index: 47; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 2px var(--lav-mid);
            pointer-events: none; opacity: 0; animation: tt-smoke 2s ease-out forwards; }
@keyframes tt-smoke { 0% { opacity: .95; scale: .5; } 60% { opacity: .7; scale: 1.4; } 100% { opacity: 0; scale: 2; translate: 0 10px; } }
@media (max-width: 600px) { .to-top { right: 8px; width: 48px; height: 60px; } .to-top .tt-ico { font-size: 29px; } }
@media (prefers-reduced-motion: reduce) { .to-top .tt-flame, .to-top.land .tt-ico { animation: none; } }

/* =====================================================================
   REPORT A PROBLEM: "accidents happen" box + the live damage photo with a code
   (report/index.php, report/proof.php)
   ===================================================================== */
.used-box { display: grid; gap: 10px; margin-top: 12px; padding: 14px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); }
.used-box[hidden], .proof[hidden], .proof-live[hidden], .report-rest[hidden], #report-photos[hidden] { display: none; }
.used-h { margin: 0; color: var(--plum); font: 800 22px var(--display); }
.used-box p { margin: 0; }
.used-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 3px solid; border-color: var(--bevel-out); background: var(--lav); color: var(--ink); text-decoration: none; }
.used-name b { display: block; } .used-name small { color: var(--plum); font-size: 13px; }
.used-fine { font-size: 12.5px; color: var(--plum); }
.used-box #used-back { justify-self: start; }
.report-rest { display: grid; gap: 18px; }
.proof { display: grid; gap: 10px; padding: 14px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); transition: background .2s; }
.proof.flash { background: #FFFFFF; box-shadow: 0 0 0 4px var(--lime); }
.proof.has-err { border-color: var(--pink); }
.proof-how { margin: 0; font-size: 14px; }
.proof #proof-start, .proof #proof-again { justify-self: start; }
.proof-live { display: grid; gap: 8px; }
.proof-code { padding: 10px; text-align: center; background: var(--ink); color: var(--lime); font: 700 clamp(26px, 8vw, 34px) var(--body); letter-spacing: .18em; border: 3px solid var(--plum); }
.proof-timer { display: flex; justify-content: space-between; gap: 10px; margin: 0; font-size: 12.5px; color: var(--plum); }
.proof-timer b { color: var(--pink); white-space: nowrap; }
.proof-cam { position: relative; height: 0; padding-bottom: 75%; background: #2A2638; border: 3px solid var(--plum); overflow: hidden; }   /* (Oct 30 2026) 4:3 box made with padding instead of aspect-ratio: Safari didn't grow the page when the camera opened, so the Send button slid under the window's bottom bar */
.proof-cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.report-form, .report-rest, .proof, .proof-live { min-height: min-content; }
.proof-cam::after { content: ""; position: absolute; inset: 14px; border: 2px dashed rgba(255,255,255,.5); pointer-events: none; }
.proof-shutter { justify-self: center; width: 62px; height: 62px; border-radius: 50%; border: 5px solid var(--plum); background: #FFFFFF; box-shadow: 0 0 0 3px #FFFFFF; cursor: pointer; }
.proof-shutter:active { scale: .94; } .proof-shutter:disabled { opacity: .4; cursor: default; }
.proof-shots { display: flex; flex-wrap: wrap; gap: 8px; }
.proof-shot { position: relative; margin: 0; }
.proof-shot img { width: 86px; height: 86px; object-fit: cover; border: 2px solid var(--plum); display: block; }
.proof-shot button { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--plum); background: var(--pink); color: #FFFFFF; font: 700 14px/1 var(--body); cursor: pointer; }
.proof-msg { margin: 0; color: #B4235F; font-size: 13.5px; }
.proof-msg:empty { display: none; }

/* =====================================================================
   LIGHTER MODE (assets/js/lite-mode.js): only on computers that stutter
   (like a 2017 MacBook in Safari). Same site, fewer moving + layered things,
   so the browser doesn't run out of room and draw the page in strips.
   Newer computers and phones never get this. Test: add ?lite=1 to an address.
   ===================================================================== */
html[data-lite="1"] .season-fx span:nth-child(n+7) { display: none; }   /* fewer falling season emojis */
html[data-lite="1"] .season-fx span { filter: none; }                     /* no shadow under each one */
html[data-lite="1"] .owl-stars span:nth-child(n+25) { display: none; }   /* fewer night owl stars */
html[data-lite="1"] body.moon-full::before { animation: none; }
html[data-lite="1"] body.mercury-rx main .win { rotate: none !important; }   /* Mercury retrograde: windows sit straight */
html[data-lite="1"] body.mercury-rx main .win :is(.btn, .qty, .kq-jump, .wish-line, input, textarea, select) { rotate: none !important; }
html[data-lite="1"] .dialog-layer { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }   /* plain dim behind pop-ups */
/* While a pop-up window is open: everything behind it holds still */
html[data-lite="1"] body:has(.dialog-layer:not([hidden])) :is(.season-fx span, .owl-stars span, .lhn-news .ticker-run) { animation-play-state: paused !important; }

/* =====================================================================
   WINDOWS 2000 "WORKING ON IT" BITS (Oct 27 2026)
   assets/js/os-busy.js turns these on; search.js does the Find Files one.
   ===================================================================== */
/* HOURGLASS: the mouse arrow while something is working (computers only; phones have no arrow).
   It's a tiny pixel drawing: black outline, white glass, pink sand. */
html.lh-wait, html.lh-wait * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='28' viewBox='0 0 11 14' shape-rendering='crispEdges'%3E%3Cpath fill='%23000' d='M0 0h11v2H0zM0 12h11v2H0zM1 2h1v3H1zM9 2h1v3H9zM2 5h1v1H2zM8 5h1v1H8zM3 6h1v2H3zM7 6h1v2H7zM2 8h1v1H2zM8 8h1v1H8zM1 9h1v3H1zM9 9h1v3H9z'/%3E%3Cpath fill='%23fff' d='M2 2h7v3H2zM3 5h5v1H3zM4 6h3v2H4zM3 8h5v1H3zM2 9h7v3H2z'/%3E%3Cpath fill='%23D65B8C' d='M3 3h5v2H3zM5 6h1v2H5zM4 10h3v2H4z'/%3E%3C/svg%3E") 11 14, progress !important;
}

/* COPYING WINDOW: shows while an order is being placed (checkout) */
.os-copy { position: fixed; inset: 0; z-index: 9500; display: grid; place-items: center; padding: 16px; background: rgba(20, 18, 40, .45); }
.os-copy[hidden] { display: none; }
.os-copy-win { width: min(400px, 100%); }
.os-copy .win-body { padding: 14px 16px 16px; }
.os-fly { position: relative; height: 70px; margin: 0 0 8px; }
.os-fold { position: absolute; top: 16px; font-size: 40px; line-height: 1; }
.os-a { left: 4px; } .os-b { right: 4px; }
.os-paper { position: absolute; left: 46px; top: 28px; font-size: 20px; line-height: 1; opacity: 0; animation: os-fly 1.25s linear infinite; }
.os-paper:nth-of-type(4) { animation-delay: .42s; } .os-paper:nth-of-type(5) { animation-delay: .84s; }
@keyframes os-fly {
    0% { transform: translate(0, 0) rotate(-10deg); opacity: 0; } 10% { opacity: 1; }
    50% { transform: translate(calc(var(--d, 200px) / 2), -28px) rotate(170deg); }
    90% { opacity: 1; } 100% { transform: translate(var(--d, 200px), 0) rotate(360deg); opacity: 0; }
}
.os-copy.is-done .os-paper { animation: none; opacity: 0; }
.os-line { margin: 0 0 3px; font-size: 13.5px; }
.os-from { color: var(--plum); }
.os-bar { height: 20px; margin: 10px 0 8px; padding: 2px; background: #fff; border: 2px solid; border-color: var(--lav-dark) #fff #fff var(--lav-dark); }
.os-bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--peri) 0 10px, transparent 10px 12px); transition: width .1s linear; }
.os-note { margin: 0; font-size: 12.5px; color: #6b6798; }
@media (prefers-reduced-motion: reduce) { .os-paper { display: none; } }
html[data-lite="1"] .os-paper { animation-duration: 1.6s; }

/* FIND FILES: the magnifying glass that looks over a folder before search results show */
.find-looking { display: flex; align-items: center; gap: 14px; margin: 6px 0; padding: 12px; background: var(--lav); border: 1px solid var(--lav-dark); font-size: 13.5px; }
.find-looking b { display: block; color: var(--plum); }
.fl-stage { position: relative; flex: none; width: 60px; height: 52px; }
.fl-doc { position: absolute; left: 12px; top: 10px; font-size: 32px; line-height: 1; }
.fl-mag { position: absolute; left: 18px; top: 12px; font-size: 24px; line-height: 1; animation: fl-look 1.4s ease-in-out infinite; }
@keyframes fl-look {
    0%, 100% { transform: translate(-8px, -6px) rotate(-10deg); } 25% { transform: translate(14px, -8px) rotate(6deg); }
    50% { transform: translate(14px, 12px) rotate(10deg); } 75% { transform: translate(-8px, 10px) rotate(-4deg); }
}

/* QUICK LAUNCH: the two little shortcuts next to Start (The Stash + Cart), computers only (Oct 27 2026).
   A thin groove on each side like Windows 2000; a yellow tooltip on hover. To add one, copy an <a> in includes/footer.php. */
.quick-launch { display: none; }
@media (min-width: 761px) {
    .quick-launch { display: flex; align-items: center; gap: 2px; flex: none; height: 38px; padding: 0 6px; border-left: 2px groove #fff; border-right: 2px groove #fff; }
    .ql-btn { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid transparent; color: inherit; text-decoration: none;
              font: 19px/1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
    .ql-btn:hover, .ql-btn:focus-visible { border-color: #fff var(--lav-dark) var(--lav-dark) #fff; background: rgba(255, 255, 255, .55); outline: none; }
    .ql-btn:active { border-color: var(--lav-dark) #fff #fff var(--lav-dark); }
    .ql-tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); z-index: 5; padding: 2px 7px; white-space: nowrap; pointer-events: none;
              background: #FFFFE1; color: #000; border: 1px solid #000; font: 12px Tahoma, Verdana, sans-serif; opacity: 0; transition: opacity .12s .35s; }
    .ql-btn:hover .ql-tip, .ql-btn:focus-visible .ql-tip { opacity: 1; }
}

/* =====================================================================
   HOLIDAY GIFT (includes/holiday-gift.php, Admin > Website > Holiday gift)
   The FREE gift line in the cart + checkout, and the note under Add to cart.
   ===================================================================== */
.ci-hgift .ci-hgift-ico, .co-hgift .co-hgift-ico { display: grid; place-items: center; background: #FFF6DA; box-shadow: 0 0 0 2px #F0D58A; font-size: 34px; line-height: 1; }
.co-hgift .co-hgift-ico { border: 2px dashed #E0B84E; box-shadow: none; font-size: 26px; }
.ci-hgift .ci-name { display: block; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--plum); }
.hg-tag { display: inline-block; margin-left: 6px; padding: 0 6px; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; background: var(--lime); border: 1px solid var(--plum); color: var(--ink); vertical-align: 1px; }
.hg-free, .co-hgift .co-iprice { color: #3E8E3A; font-weight: 700; }
.hg-note { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 0; padding: 9px 12px; background: #FFF6DA; border: 1px dashed #E0B84E; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.hg-note .hg-ico { font-size: 20px; line-height: 1.1; }

/* =====================================================================
   CART GRINDER PICTURE PICKER (assets/js/cart-page.js, "GRINDER PICTURE PICKER")
   The grinder button shows the grinder's little picture; tapping it opens
   the same round pictures as the product page. Phones: slides up from the
   bottom. Computers: a small window next to the button.
   ===================================================================== */
.ci-gbtn { gap: 7px; padding: 3px 12px 3px 3px; font: inherit; font-size: 12.5px; line-height: 1.2; text-align: left; }
.ci-gface { position: relative; display: grid; place-items: center; flex: none; width: 28px; height: 28px; overflow: hidden; border-radius: 50%; background: var(--lav); box-shadow: 0 0 0 1.5px var(--lav-dark); font-size: 13px; font-weight: 700; color: var(--plum); }
.ci-gface img { width: 100%; height: 100%; object-fit: cover; }
.ci-gname { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-caret { width: 0; height: 0; margin-left: 2px; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-top: 5.5px solid currentColor; }
.ci-pick > span[aria-hidden="true"]:not(.ci-caret) { display: inline-flex; align-items: center; align-self: stretch; }   /* the icon / color dot sits in the middle, level with the words */
/* tips & papers: the same round button as the grinder, filled with the color */
.ci-pick.ci-cpick { gap: 7px; padding: 3px 4px 3px 3px; }
html .ci-pick.ci-cpick select:not([multiple]):not([size]) { padding-top: 2px !important; padding-bottom: 2px !important; }
.ci-cface { display: block; box-shadow: 0 0 0 1.5px var(--lav-dark), inset 0 0 0 1px rgba(43,42,94,.18); }
.ci-gbtn:focus:not(:focus-visible) { outline: none; }

.gp-layer { display: block; padding: 0; background: rgba(62,42,92,0.35); }
.gp-sheet { position: fixed; width: 392px; max-width: calc(100vw - 24px); max-height: min(440px, calc(100vh - 24px)); display: flex; flex-direction: column; background: var(--paper); border: 2px solid; border-color: var(--white) var(--lav-dark) var(--lav-dark) var(--white); box-shadow: 4px 4px 0 rgba(43,42,94,.3); }
.gp-grab { display: none; }
.gp-sheet:focus { outline: none; }
.gp-grid .kp-g:focus:not(:focus-visible) { outline: none; }
.gp-head { display: flex; align-items: baseline; gap: 10px; padding: 12px 14px 10px; border-bottom: 1px dotted var(--lav-dark); }
.gp-head b { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); }
.gp-count { flex: 1; color: var(--plum); opacity: .7; font-size: 12px; }
.gp-x { width: 30px; height: 30px; margin: -6px -6px -6px 0; border: 0; background: none; color: var(--plum); font-size: 22px; line-height: 1; cursor: pointer; }
.gp-body { position: relative; display: flex; min-height: 0; flex: 1; }
.gp-grid { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(var(--gp-cols, 5), 1fr); align-content: start; gap: 12px 6px; padding: 14px 6px 16px 12px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.gp-grid::-webkit-scrollbar { display: none; }
/* the scroll bar (drawn by cart-page.js so phones show it too): lavender track, periwinkle bar */
.gp-track { position: relative; flex: none; width: 12px; margin: 10px 8px 12px 2px; border-radius: 99px; background: var(--lav); box-shadow: inset 0 0 0 1px var(--lav-dark); cursor: pointer; touch-action: none; }
.gp-track[hidden] { display: none; }
.gp-thumb { position: absolute; left: 2px; right: 2px; top: 0; border-radius: 99px; background: var(--peri); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); cursor: grab; }
.gp-thumb:active { cursor: grabbing; }
.gp-grid .kp-g { position: relative; width: auto; min-width: 0; }
.gp-spark { position: absolute; top: -4px; left: calc(50% + 18px); font-size: 15px; line-height: 1; pointer-events: none; filter: drop-shadow(0 1px 1px rgba(43,42,94,.25)); }
.gp-grid .kp-dot { position: relative; width: 56px; height: 56px; }
.gp-grid .kp-dot img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.gp-grid .kp-name { font-size: 11px; white-space: normal; text-align: center; line-height: 1.25; }
/* (Nov 12 2026) Tips + papers in the same picker: big glossy color dots (assets/js/cart-page.js pCards) */
.gp-grid .kp-dot.kp-color { border-radius: 50%; box-shadow: inset -6px -8px 0 rgba(0,0,0,.12), inset 6px 6px 0 rgba(255,255,255,.25), 0 0 0 3px #fff, 0 0 0 5px var(--lav-dark); }
.gp-grid .kp-g.on .kp-dot.kp-color { box-shadow: inset -6px -8px 0 rgba(0,0,0,.12), inset 6px 6px 0 rgba(255,255,255,.25), 0 0 0 3px #fff, 0 0 0 6px var(--pink); }
.gp-grid .kp-g.out .kp-dot.kp-color { opacity: .45; }
.ci-pface { display: grid; place-items: center; font-size: 15px; background: var(--lav); }
@media (max-width: 720px) {
    .gp-layer { background: rgba(62,42,92,0.45); }
    .gp-sheet { left: 0 !important; right: 0; bottom: 0; top: auto !important; width: auto; max-width: none; max-height: 72vh; border: 0; border-top: 2px solid var(--lav-dark); border-radius: 18px 18px 0 0; box-shadow: 0 -6px 20px rgba(0,0,0,.25); padding-bottom: env(safe-area-inset-bottom); animation: gp-up .22s ease-out; }
    .gp-grab { display: block; width: 42px; height: 5px; margin: 8px auto 0; border-radius: 9px; background: var(--lav-dark); }
    .gp-head { padding-top: 8px; }
    .gp-grid { grid-template-columns: repeat(var(--gp-cols, 4), 1fr); }
    .gp-grid .kp-dot { width: 60px; height: 60px; }
    html.gp-open, html.gp-open body { overflow: hidden; }
}
@keyframes gp-up { from { transform: translateY(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .gp-sheet { animation: none; } }

/* =====================================================================
   RING HOLDER SWITCH (cart): same round circle as the grinder and color
   buttons (with the 🌙), then an on/off switch. Tap anywhere on it.
   ===================================================================== */
html .ci-pick.ci-ring { gap: 6px; padding: 3px 7px 3px 3px; line-height: 1.2; }
.ci-picks { align-items: center; }
.ci-rface { background: var(--lav); font-size: 15px; line-height: 1; }
.ci-rface > span { display: block; transform: translate(4px, 1px); }   /* the 🌙 is drawn left of middle in its own box: nudged so it looks centered */
.ci-rname { white-space: nowrap; }
.ci-ring .ci-switch { -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 30px; height: 18px; margin: 0; border-radius: 99px; background: var(--lav-mid, #E3D0F4); box-shadow: inset 0 0 0 1.5px var(--lav-dark); cursor: pointer; transition: background .18s; }
.ci-ring .ci-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--lav-dark), 0 1px 2px rgba(43,42,94,.2); transition: transform .18s; }
.ci-ring .ci-switch:checked { background: #3E8E3A; box-shadow: inset 0 0 0 1.5px #2F6E2C; }
.ci-ring .ci-switch:checked::after { transform: translateX(12px); box-shadow: 0 0 0 1px #2F6E2C; }
.ci-switch:focus { outline: none; }
.ci-pick.ci-ring:has(.ci-switch:checked) { border-color: #3E8E3A; }
@media (prefers-reduced-motion: reduce) { .ci-switch, .ci-switch::after { transition: none; } }
/* Add-on options in the cart (wraps, stickers): just the name + arrow, opens the same picker window */
.ci-pick.ci-vbtn { padding: 6px 12px 6px 12px; min-height: 38px; }
.ci-pick.ci-vbtn .ci-gname { max-width: 170px; }
/* Stickers in the picker: the whole design inside the circle (like the product page) */
.gp-grid.is-fit .kp-dot { background: var(--white); }
.gp-grid.is-fit .kp-dot img { inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* =====================================================================
   RECYCLE BIN (cart: undo a Remove) — assets/js/cart-page.js "RECYCLE BIN"
   A small LunarOS window just above the taskbar for a few seconds.
   ===================================================================== */
.recycle-bin { position: fixed; left: 10px; z-index: 70; width: 340px; max-width: calc(100vw - 20px); background: var(--paper); border: 2px solid; border-color: var(--white) var(--lav-dark) var(--lav-dark) var(--white); box-shadow: 4px 4px 0 rgba(43,42,94,.3); color: var(--ink); overflow: hidden; }
.recycle-bin[hidden] { display: none; }
.recycle-bin.is-on { animation: rb-in .2s ease-out; }
.rb-bar { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 9px; background: linear-gradient(90deg, var(--lav-mid, #E3D0F4), #EBDDF7); color: var(--plum); font-weight: 700; font-size: 11.5px; letter-spacing: .08em; }
.rb-title { flex: 1; }
.rb-x { width: 22px; height: 20px; padding: 0; border: 2px solid; border-color: var(--white) var(--lav-dark) var(--lav-dark) var(--white); background: var(--paper); color: var(--plum); font-size: 14px; line-height: 1; cursor: pointer; }
.rb-body { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; font-size: 13px; line-height: 1.35; }
.rb-msg { flex: 1; min-width: 0; }
.rb-restore { flex: none; padding: 6px 14px; border: 2px solid var(--plum); border-radius: 999px; background: var(--lime); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.rb-time { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--plum); transform-origin: left; }
.recycle-bin.is-on .rb-time { animation: rb-time var(--rb-s, 7s) linear forwards; }
.recycle-bin.is-held .rb-time { animation-play-state: paused; }
@keyframes rb-in { from { transform: translateY(12px); opacity: 0; } }
@keyframes rb-time { to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .recycle-bin.is-on, .recycle-bin.is-on .rb-time { animation: none; } }

/* =====================================================================
   TASKBAR CHECKOUT (cart, phones) — assets/js/cart-page.js "CHECKOUT IN THE TASKBAR"
   Shows on the right of the taskbar while the real Checkout button is off screen.
   ===================================================================== */
.task-checkout { display: flex; align-items: center; gap: 6px; height: 38px; margin-left: auto; padding: 0 12px; border: 3px solid; border-color: var(--bevel-out); background: var(--lime); color: var(--ink); font-weight: 700; font-size: 13px; white-space: nowrap; text-decoration: none; animation: rb-in .18s ease-out; }
.task-checkout:hover { text-decoration: none; }
.task-checkout:active { border-color: var(--bevel-in); }
.task-checkout[hidden] { display: none; }
.task-checkout.is-off { opacity: .85; }
.tc-sep { opacity: .6; }
@media (min-width: 721px) { .task-checkout { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .task-checkout { animation: none; } }

/* =====================================================================
   FORTUNE TERMINAL (product pages) — assets/js/terminal.js
   fortune.txt is a little command prompt: type help, dir, install...
   COLOR changes --term-fg / --term-bg.
   ===================================================================== */
.win-crt[data-term] .win-body.crt-body { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #5A5870 transparent; }   /* (the height is locked by terminal.js: new lines push the old ones up, the window never grows) */
.win-crt[data-term], .win-crt[data-term] .crt-body { background: var(--term-bg, #1E1D2B); }
.win-crt[data-term] .crt { color: var(--term-fg, #C9F29B); text-shadow: 0 0 6px color-mix(in srgb, var(--term-fg, #C9F29B) 45%, transparent); }
.win-crt[data-term] .crt-prompt { color: color-mix(in srgb, var(--term-fg, #C9F29B) 70%, #1E1D2B); }
.term-pre { display: block; white-space: pre-wrap; font-family: "Courier Prime", "Courier New", monospace; font-size: .9em; line-height: 1.5; }
.term-line { display: flex; align-items: center; gap: 0; cursor: text; }
.term-ps { flex: none; margin-right: .6ch; }
.term-in { flex: 1; min-width: 0; width: 100%; padding: 0; border: 0; outline: none; background: transparent; color: inherit; font: inherit; text-shadow: inherit; caret-color: transparent; }
.term-in:focus-visible { outline: none; }
.win-crt .term-line:focus-within { box-shadow: 0 1px 0 color-mix(in srgb, var(--term-fg, #C9F29B) 35%, transparent); }
.term-box { position: relative; flex: 1; min-width: 0; display: flex; }
.term-ghost { position: absolute; left: 0; top: 50%; transform: translateY(-50%); pointer-events: none; white-space: nowrap; color: color-mix(in srgb, var(--term-fg, #C9F29B) 45%, transparent); text-shadow: none; }   /* "type help" in dim text until they click in or start typing */
.term-ghost .cursor { margin-left: .5ch; color: var(--term-fg, #C9F29B); text-shadow: 0 0 6px color-mix(in srgb, var(--term-fg, #C9F29B) 45%, transparent); }
.term-has-text .term-ghost, .term-focus .term-ghost { display: none; }
@media (hover: hover) { .win-crt[data-term] .crt-body, .win-crt[data-term] .crt { cursor: text; } }   /* the typing cursor (I-beam) anywhere over the screen */
.term-in:focus { caret-color: var(--term-fg, #C9F29B); }
.term-chips { display: none; flex-wrap: wrap; gap: 6px; padding: 10px 14px 14px; background: var(--term-bg, #1E1D2B); border-top: 1px dashed #3A3854; }
.term-chips button { padding: 6px 12px; border: 1px solid #5A5870; border-radius: 999px; background: #2A2940; color: var(--term-fg, #C9F29B); font: 600 13px "Courier Prime", "Courier New", monospace; cursor: pointer; }
.term-chips button:active { background: #3A3854; }
@media (max-width: 720px), (hover: none) { .term-chips { display: flex; } }
.win-crt.term-closed { opacity: 0; transform: scale(.97); transition: opacity .2s, transform .2s; }
.win-crt .term-echo + .crt:not(.term-echo) { margin-top: -14px; }   /* (each answer sits right under its command) */
/* Lore: a window opened from the terminal (OPEN OUR_STORY.DOC) flashes once so you can see where it went */
.term-flash { animation: term-flash 1.2s ease-out; }
@keyframes term-flash { 0%, 40% { box-shadow: 0 0 0 4px var(--lime), 0 0 30px rgba(225,246,107,.6); } 100% { box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .term-flash { animation: none; } }

/* =====================================================================
   KIT PAGE: THE RIGHT COLUMN FOLLOWS YOU DOWN (computers + unfolded phones)
   Each column is only as tall as what's in it. Whichever side is shorter
   slides down with you while you scroll past the longer side (usually the
   kit window on the right, sometimes the photos on the left).
   Taller than the screen? It scrolls until its bottom shows, then sticks.
   Where it sticks: worked out in stash/product.php ("RIGHT COLUMN FOLLOWS").
   ===================================================================== */
@media (min-width: 680px) {
    .product-top { align-items: start; }
    .product-left, .product-right { position: sticky; top: var(--pr-top, 80px); align-self: start; }   /* (both can stick: the shorter one follows you down, the longer one just scrolls) */
    .product-right .win-props { flex: 0 0 auto; }
}

/* Report a problem: no order found, other ways to reach us (Oct 30 2026) */
.lookup-other { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.lookup-other .btn { margin: 0; }

/* ===== Why roll your own? (ingredients.txt pop-out, includes/why-roll.php) · Oct 30 2026, made compact to fit one screen ===== */
.wr-layer { z-index: 86; overflow-y: auto; }
.wr-win { width: min(900px, 100%); max-height: none; }
.wr-win .win-body { padding: 14px 22px 16px; }
.wr-win .win-status { display: none; }   /* (saves room so it fits a laptop screen) */
.wr-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-bottom: 14px; }
.wr-head h2 { color: var(--plum); font-size: clamp(26px, 3.2vw, 34px); }
.wr-head h2 i { color: var(--pink); }
.wr-head p { margin: 4px 0 0; font-size: 14px; line-height: 1.45; max-width: 60ch; }
.wr-sticker { transform: rotate(4deg); padding: 7px 12px; border-radius: 14px; background: var(--pink); color: #fff; font: 700 italic 15px/1.05 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; box-shadow: 3px 4px 0 rgba(43,42,94,.3); white-space: nowrap; }
.wr-labels { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.wr-vs { font: 700 italic 24px var(--display); color: var(--plum); font-variation-settings: "SOFT" 100, "WONK" 1; }
.wr-label { background: #fff; border: 3px solid var(--ink); padding: 8px 12px 7px; font-family: Helvetica, Arial, sans-serif; color: #111; box-shadow: 5px 5px 0 rgba(43,42,94,.22); }
.wr-theirs { transform: rotate(-1deg); }
.wr-yours { transform: rotate(.8deg); border-color: var(--plum); color: var(--plum); }
.wr-who { display: inline-block; margin-bottom: 4px; padding: 1px 8px; border-radius: 99px; font: 700 11px var(--body); letter-spacing: .06em; text-transform: uppercase; }
.wr-theirs .wr-who { background: #EEEDF2; color: #5F5C6B; } .wr-yours .wr-who { background: var(--lime); color: var(--ink); }
.wr-label h3 { display: inline; margin: 0 0 0 8px; font: 900 20px/1 Helvetica, Arial, sans-serif; letter-spacing: -.03em; font-variation-settings: normal; }
.wr-sub { display: block; font-size: 12px; margin: 2px 0 4px; }
.wr-bar8 { height: 7px; background: currentColor; margin: 3px 0; }
.wr-bar4 { height: 3px; background: currentColor; margin: 3px 0; }
.wr-row { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; border-top: 1px solid #111; font-size: 13px; line-height: 1.3; }
.wr-bar8 + .wr-row { border-top: 0; }
.wr-row b { font-weight: 800; } .wr-row span { text-align: right; }
.wr-q { font: 700 14px var(--body); color: #9A97A8; }
.wr-yours .wr-row { border-color: var(--lav-dark); } .wr-yours .wr-row b, .wr-yours .wr-row span { color: var(--ink); } .wr-yours .wr-row span { font-weight: 700; }
.wr-foot { margin: 4px 0 0; font-size: 11.5px; line-height: 1.3; }
.wr-reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.wr-r { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 10px; align-items: start; padding: 9px 11px; background: #fff; border: 2px solid; border-color: var(--lav-dark) #fff #fff var(--lav-dark); box-shadow: inset 0 0 0 1px var(--lav-mid); }
.wr-r:nth-child(2) { background: var(--lav); } .wr-r:nth-child(4) { background: #FBEFF5; } .wr-r:nth-child(6) { background: #F6FBDD; }
.wr-em { grid-row: span 2; font-size: 20px; line-height: 1.1; }
.wr-r h4 { margin: 0 0 1px; font: 700 16px/1.15 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--plum); }
.wr-r p { margin: 0; font-size: 12.5px; line-height: 1.4; }
.wr-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.wr-cta .btn { margin: 0; padding: 9px 16px; font-size: 13px; }
.wr-sv { margin-left: auto; color: var(--peri-deep); font-size: 13px; font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 860px) { .wr-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .wr-layer { place-items: start center; padding: 8px; }
    .wr-win .win-body { padding: 14px 14px 16px; }
    .wr-head { grid-template-columns: minmax(0, 1fr); gap: 8px; } .wr-sticker { justify-self: start; font-size: 14px; }
    .wr-labels { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
    .wr-vs { display: none; }
    .wr-label { padding: 7px 8px 6px; }
    .wr-label h3 { display: block; margin: 0; font-size: 15px; }
    .wr-sub, .wr-foot { font-size: 10.5px; }
    .wr-row { display: block; font-size: 11.5px; padding: 3px 0; }
    .wr-row b { display: block; font-size: 10.5px; color: inherit; opacity: .75; }
    .wr-row span { display: block; text-align: left; }
    .wr-q { font-size: 12px; }
    .wr-reasons { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .wr-r { display: block; padding: 8px 9px; }
    .wr-em { display: block; }
    .wr-em { grid-row: auto; font-size: 18px; }
    .wr-r h4 { font-size: 15px; margin-top: 2px; }
    .wr-r p { font-size: 11.5px; }
    .wr-sv { margin-left: 0; flex-basis: 100%; }
}
/* the small box on kit pages (What's inside tab) */
.why-mini { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; margin: 14px 0 0; padding: 12px 12px 12px 14px; background: #fff; border: 2px dashed var(--lav-dark); color: var(--ink); text-decoration: none; }
.why-mini:hover { border-color: var(--plum); text-decoration: none; }
.why-mini-lbl { background: #fff; border: 2px solid var(--plum); padding: 5px 7px 6px; font-family: Helvetica, Arial, sans-serif; color: var(--plum); transform: rotate(-2deg); box-shadow: 2px 2px 0 rgba(43,42,94,.18); }   /* (Oct 30: smaller, just the title) */
.why-mini-lbl b { display: block; font: 900 12px/1.05 Helvetica, Arial, sans-serif; color: var(--ink); }
.why-mini-lbl i { display: block; height: 3px; background: var(--plum); margin: 4px 0 0; }
.why-mini-txt { font-size: 14px; line-height: 1.5; }
.why-mini-txt u { color: var(--peri-deep); font-weight: 700; text-underline-offset: 3px; }

/* Homepage sticky notes: 4 show on computers (index.php picks which one sits out), all of them in the phone pile (Oct 30 2026) */
@media (min-width: 721px) { .notes .note-skip { display: none; } }
.note-5 { background: #FFE9D6; }

/* Product page: the "What it is" tag under the name (Admin > Products > What it is) · Oct 30 2026 */
.product-what { display: inline-block; margin: 6px 0 4px; padding: 3px 12px; border-radius: 999px; background: var(--lav); color: var(--plum); font: 700 13.5px var(--body); letter-spacing: .04em; }

/* Stash page: about_stash_kits.txt under dont_see_it.txt · Oct 30 2026 */
.win-about { margin-top: 22px; }
.win-about .win-body { padding: 18px 22px; }
.ak { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ak h2 { margin: 0 0 4px; font: 700 19px/1.15 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--plum); }
.ak p { margin: 0; font-size: 14px; line-height: 1.55; }
.ak a { color: var(--peri-deep); font-weight: 700; white-space: nowrap; }
@media (max-width: 820px) { .ak { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* ===== Gifts page (stash/gifts.php) · Oct 30 2026 ===== */
.gifts-page .win { width: 100%; max-width: 1200px; margin: 0 auto 22px; }
@media (min-width: 1081px) { .gifts-page .pcard-grid { grid-template-columns: repeat(4, 1fr); gap: 44px 22px; } }   /* 4 across, so each group's 4 designs fill one row */
.gf-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 20px; align-items: center; }
.gf-hero h1 { color: var(--plum); font-size: clamp(34px, 5vw, 56px); }
.gf-hero h1 i { color: var(--pink); }
.gf-hero p { margin: 10px 0 0; max-width: 54ch; }
.gf-bow { font-size: clamp(70px, 10vw, 120px); text-align: center; line-height: 1.35; padding: 12px 0; overflow: visible; filter: drop-shadow(4px 5px 0 rgba(43,42,94,.2)); }   /* (taller line so the top of the bow isn't cut off) */
.gf-jump { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }   /* (full width under the intro + bow, so all the buttons fit on one line) */
@media (min-width: 900px) { .gf-jump { flex-wrap: nowrap; } .gf-jump a { white-space: nowrap; } }
.gf-jump a { padding: 7px 12px; background: #fff; border: 2px solid; border-color: #fff var(--lav-dark) var(--lav-dark) #fff; color: var(--plum); font: 700 13px var(--body); text-decoration: none; }
.gf-jump a:hover { background: var(--lav); }
.gf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.gf-head h2 { color: var(--plum); font-size: clamp(24px, 3vw, 32px); }
.gf-head p { margin: 2px 0 0; font-size: 14.5px; max-width: 62ch; }
.gf-head a { color: var(--peri-deep); font-weight: 700; font-size: 14px; }
.gf-stuff { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gf-st { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px; background: #fff; border: 2px solid; border-color: #fff var(--lav-dark) var(--lav-dark) #fff; color: var(--ink); text-decoration: none; }
.gf-st:hover { background: var(--lav); text-decoration: none; }
.gf-st-ph { aspect-ratio: 1; border-radius: 10px; overflow: hidden; display: grid; place-items: center; font-size: 26px; background: var(--lav); }
.gf-st-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gf-st b { display: block; font: 700 14.5px/1.2 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--plum); }
.gf-st small { display: block; font-size: 12.5px; line-height: 1.35; margin-top: 3px; }
.gf-st .gf-st-pr { margin-top: 4px; font-weight: 700; }   /* (price always on its own line, so every card lines up) */
.gf-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gf-how > div { background: #fff; border: 2px dashed var(--lav-dark); padding: 12px 14px; font-size: 14px; }
.gf-how b { display: block; margin-bottom: 2px; font: 700 16px/1.2 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--plum); }
.gf-how a { color: var(--peri-deep); font-weight: 700; }
.gf-about { margin-top: 12px; }
.gf-about summary { cursor: pointer; font: 700 14px var(--body); color: var(--peri-deep); text-decoration: underline; text-underline-offset: 3px; }
.gf-about p { margin: 8px 0 0; font-size: 14px; }
@media (max-width: 900px) { .gf-stuff { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gf-how { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .gf-hero { grid-template-columns: minmax(0, 1fr); } .gf-bow { display: none; } .gf-stuff { grid-template-columns: minmax(0, 1fr); } }

/* ===== Gift guide shortcuts (Admin > Website > Holidays) · Oct 30 2026 ===== */
.taskbar .task-gift { position: relative; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: inherit; white-space: nowrap; }
.task-gift .tg-dot { position: absolute; top: -5px; right: -5px; width: 11px; height: 11px; border-radius: 50%; background: var(--pink); border: 2px solid #fff; animation: tg-pulse 1.8s ease-in-out infinite; }
@keyframes tg-pulse { 50% { transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .task-gift .tg-dot { animation: none; } }
/* welcome.exe: Help me pick sits as a link under the buttons on every screen while the gift button is on */
.hero-actions .hero-or-gift { display: block !important; flex-basis: 100%; margin: 4px 0 0; }
@media (max-width: 720px) { .hero-actions .btn-giftguide { display: flex !important; width: 100%; justify-content: center; } }
.hero-actions:has(.btn-giftguide) { flex-wrap: wrap !important; }

/* ===== My Mail follows the theme (Oct 30 2026) =====
   The title bar, the four buttons and the blue words used fixed periwinkle colors, so they stayed blue
   on every theme. Now they use the theme's own colors (--peri / --peri-deep change with each theme). */
.mymail-title { background: linear-gradient(180deg, color-mix(in srgb, var(--peri) 72%, #fff), var(--peri)); }
.mymail-grid a, .mymail-grid button { background: color-mix(in srgb, var(--peri) 15%, #fff); color: var(--peri-deep); }
.mm-blue .mm-new, .mm-toast a { color: var(--peri-deep); }
.mm-req .mm-reqt a { color: var(--peri); }
.mymail-foot { background: color-mix(in srgb, var(--lav) 55%, #fff); }
/* ingredients.txt on phones: the two buttons side by side, the savings link under them (Oct 30 2026) */
@media (max-width: 640px) {
    .wr-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
    .wr-cta .btn { justify-content: center; text-align: center; padding: 10px 6px !important; font-size: 12.5px !important; letter-spacing: .03em; white-space: nowrap; }
    .wr-cta .wr-sv { grid-column: 1 / -1; }
}
/* Kit pages: wishlist + shipping lines evenly spaced, and the text sits 8px after each icon like the wishlist (Nov 2) */
.wish-line ~ .ship-note { margin: 12px 0 0; line-height: 20px; padding-left: 28px; text-indent: -28px; }
.wish-line ~ .ship-note .ship-ico { vertical-align: top; height: 20px; line-height: 20px; width: 20px; margin-right: 8px; text-indent: 0; }
.wish-line + .ship-note { margin-top: 8px; }
/* Kit pages (Nov 2, option D): the wishlist heart beside Add to cart + one lavender shipping strip */
.wish-sq { flex: none; width: 50px; padding: 0; display: flex; align-items: center; justify-content: center; background: #FFF0F3; border-color: #FFFFFF #F2C6CF #F2C6CF #FFFFFF; }
.wish-sq:hover { background: #FFE3EA; }
.wish-sq .wish-heart { font-size: 20px; line-height: 1; }
.wish-sq.is-on .wish-heart { animation: wish-pop2 0.35s ease-out; }
.ship-strip { display: flex; gap: 8px; align-items: baseline; margin: 14px 0 0; padding: 9px 12px; background: #F3EEFA; border-left: 4px solid #A58BC0; color: var(--ink, #3B2418); font-size: 13px; line-height: 1.45; }
.ship-strip .ship-ico { flex: none; font-size: 16px; line-height: 1; }
.ship-strip b { color: #5E3F7A; white-space: nowrap; }
.ship-strip small { color: #8A72A8; font-size: 12px; }
.wish-line + .ship-strip { margin-top: 12px; }
@media (max-width: 380px) { .wish-sq { width: 44px; } }
.wish-sq::before, .wish-sq::after { content: none !important; }
@media (max-width: 480px) { .ship-strip small { display: block; } .ship-strip small .dot { display: none; } }
/* (Nov 2) heart square: truly centered (the older .wish-heart rules gave it a 20px box + negative margins) and in the page's theme colors */
.wish-sq { letter-spacing: 0; text-indent: 0; background: var(--paper); border-color: var(--bevel-out); }
.wish-sq:hover { background: var(--lav); }
.wish-sq .wish-heart { display: block; width: auto; margin: 0; line-height: 1; }
/* the shipping strip follows each design's theme */
.ship-strip { background: var(--lav); border-left-color: var(--peri); }
.ship-strip b { color: var(--peri-deep); }
.ship-strip small { color: var(--peri); }
/* (Nov 2) Safari drew the top of the 💖 late after a tap: same fix as the old wishlist line, a taller box so the sparkles never sit at the
   edge of it, plus its own layer so the pop doesn't wait on a repaint */
.wish-sq .wish-heart { line-height: 1.5; padding: 2px 3px; will-change: transform; backface-visibility: hidden; }
/* (Nov 2) Recycle Bin close: the × letter sat off center (it isn't centered in the font), so it's drawn as a little picture instead, like Buddy's */
.rb-x { font-size: 0; color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 2l6 6M8 2l-6 6' stroke='%235E3F7A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-position: center; background-size: 9px 9px; background-repeat: no-repeat; }
/* (Nov 2, option C) Add to cart: full width beside the qty box, no price and no [ ] brackets, so every kit's button is the same height.
   The wishlist heart sits beside Buy now. */
/* (brackets back on Add to cart so it matches Buy now, Nov 2: phones too, the button has the room now) */
.buy-row .add-btn::before { content: "[ "; }
.buy-row .add-btn::after { content: " ]"; }
.buy-row .add-btn { white-space: nowrap; }
.buy-row .add-btn .ab-l { white-space: nowrap; }
.buy-row2 { display: flex; gap: 8px; margin-top: 10px; align-items: stretch; }
.buy-row2 .btn.buy-now { flex: 1; width: auto; margin-top: 0; }
.buy-row2 .wish-sq { flex: none; width: 50px; }
@media (max-width: 380px) { .buy-row2 .wish-sq { width: 44px; } }
/* (Nov 2) heart centering, take 3: Safari sat the emoji high in the taller box. The heart's box now fills the whole square and centers the
   emoji in it, so there's room for the sparkles (no late drawing) and nothing to push it off center */
.wish-sq { position: relative; }
.wish-sq .wish-heart { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; width: auto; margin: 0; padding: 0; line-height: 1; }
/* (Nov 2) heart square, take 4: the emoji sits high in Safari no matter how its box is set, so the square draws its own heart
   (same idea as the × buttons). Empty = white heart, saved = pink heart with sparkles. wishlist.js still swaps the 🤍/💖 text, it's just hidden. */
.wish-sq .wish-heart { font-size: 0; color: transparent; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='1' stop-color='%23E4E1EA'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M12 20.5C9 18.6 2.5 14.4 2.5 9.3 2.5 6.6 4.6 4.5 7.2 4.5c1.9 0 3.6 1.1 4.8 2.8 1.2-1.7 2.9-2.8 4.8-2.8 2.6 0 4.7 2.1 4.7 4.8 0 5.1-6.5 9.3-9.5 11.2z' fill='url%28%23g%29' stroke='%23C9C3D3' stroke-width='1.1'/%3E%3Cpath d='M6.2 7.6c.9-.9 2.2-1 3-.4' fill='none' stroke='%23fff' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 26px 26px no-repeat; }
.wish-sq.is-on .wish-heart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='p' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FF7EC0'/%3E%3Cstop offset='1' stop-color='%23E0247F'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M12 20.5C9 18.6 2.5 14.4 2.5 9.3 2.5 6.6 4.6 4.5 7.2 4.5c1.9 0 3.6 1.1 4.8 2.8 1.2-1.7 2.9-2.8 4.8-2.8 2.6 0 4.7 2.1 4.7 4.8 0 5.1-6.5 9.3-9.5 11.2z' fill='url%28%23p%29' stroke='%23C61E6E' stroke-width='.8'/%3E%3Cpath d='M6.2 7.6c.9-.9 2.2-1 3-.4' fill='none' stroke='%23FFC6E2' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M4 15.2l.7 1.6 1.6.7-1.6.7-.7 1.6-.7-1.6-1.6-.7 1.6-.7z' fill='%23FFD54A'/%3E%3Cpath d='M20.3 2.2l.5 1.2 1.2.5-1.2.5-.5 1.2-.5-1.2-1.2-.5 1.2-.5z' fill='%23FFD54A'/%3E%3C/svg%3E"); }
/* (Nov 2) Cart: a kit's grinder, case color and ring holder fit on one line on computers (Herb Sprout + Purple + Ring holder ran ~5px over).
   Each button gives up a few px of empty space: nothing gets smaller to read. Phones still wrap: there's no room for 3 there. */
.ci-picks { gap: 6px 5px; }
html .ci-pick select:not([multiple]):not([size]) { padding-right: 16px !important; background-position: calc(100% - 8px) 55%, calc(100% - 3px) 55% !important; }
html .ci-pick.ci-ring { gap: 5px; padding-right: 6px; }
.ci-ring .ci-switch { width: 28px; }
.ci-ring .ci-switch:checked::after { transform: translateX(10px); }
.ci-gbtn { gap: 6px; padding-right: 10px; }

/* ===== ROLL 101 NOTE (Nov 2): a taped-on sticky note in the Stash grid, pointing to Roll 101 (stash/index.php #roll-note, placed by assets/js/stash.js) ===== */
.pc-note { display: flex; align-items: center; justify-content: center; padding: 18px 6px 26px; color: #4A3A12; text-decoration: none; }
.pc-note[hidden] { display: none; }
.pn-paper { position: relative; display: block; width: min(92%, 250px); padding: 28px 18px 22px; background: #FFF1A8; transform: rotate(-3deg); box-shadow: 3px 6px 0 rgba(59, 36, 24, .15); text-align: left; transition: transform .2s ease; }
.pc-note:hover .pn-paper, .pc-note:focus-visible .pn-paper { transform: rotate(-1deg) translateY(-2px); }
.pc-note:focus-visible { outline: none; }
.pc-note:focus-visible .pn-paper { outline: 2px dashed var(--peri); outline-offset: 4px; }
.pn-tape { position: absolute; top: -12px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%) rotate(2deg); background: rgba(232, 200, 232, .85); }
.pn-h { display: block; margin: 0 0 6px; font: 800 21px/1.1 var(--display); }
.pn-p { display: block; font-size: 13px; line-height: 1.45; }
.pn-go { display: inline-block; margin-top: 12px; font-weight: 700; color: #8E3E1F; text-decoration: underline; text-underline-offset: 3px; }
.pn-cd { position: absolute; right: 10px; bottom: -18px; font-size: 42px; line-height: 1; transform: rotate(12deg); }
@media (prefers-reduced-motion: reduce) { .pn-paper { transition: none; } }
/* (Nov 2) the note takes a whole card's space (cards are 4 lined-up rows tall: photo, stars, name, button), so the cards after it keep their
   places and line up like normal. It sits level with the photos. The CD tucks into the note's corner instead of hanging off the bottom. */
@supports (grid-template-rows: subgrid) { .pcard-grid > .pc-note { grid-row: span 4; align-self: start; margin-bottom: var(--pc-mb); } }
.pc-note { padding-top: 34px; }
.pn-paper { padding-bottom: 30px; }
.pn-cd { right: 12px; bottom: 8px; font-size: 34px; transform: rotate(12deg); }
.pn-go { margin-right: 40px; }
@media (max-width: 720px) { .pc-note { padding-top: 14px; padding-bottom: 6px; } }
/* (Nov 2) the note fills its card spot instead of floating small at the top: as wide as the kit photos, taller, bigger words,
   and centered top to bottom against the whole card (photo, stars, name and button) */
@supports (grid-template-rows: subgrid) { .pcard-grid > .pc-note { align-self: stretch; } }
.pc-note { padding: 20px 0 calc(var(--pc-mb, 40px) * 0); }
.pn-paper { width: min(100%, 300px); min-height: 300px; padding: 40px 24px 34px; display: flex; flex-direction: column; justify-content: center; }
.pn-h { font-size: 28px; margin-bottom: 12px; }
.pn-p { font-size: 15px; line-height: 1.55; }
.pn-go { margin-top: 18px; font-size: 15px; }
.pn-tape { width: 100px; height: 28px; top: -14px; }
.pn-cd { font-size: 44px; right: 14px; bottom: 12px; }
@media (max-width: 720px) { .pn-paper { min-height: 0; width: min(92%, 320px); padding: 34px 22px 30px; } .pn-h { font-size: 25px; } .pn-p { font-size: 14px; } }
@media (min-width: 721px) { .pn-paper { min-height: 370px; } }

/* ===== ROLL 101 STRIP (Nov 2): a short taped-on note across the Stash grid after the first row (stash/index.php #roll-note,
   placed by assets/js/stash.js). Replaces the sticky note that took a card's spot. ===== */
.pcard-grid > .pc-strip { grid-column: 1 / -1; grid-row: auto; margin-bottom: var(--pc-mb, 40px); }
.pc-strip { position: relative; display: flex; align-items: center; gap: 16px; width: min(100%, 760px); justify-self: center; padding: 16px 22px 14px; background: #FFF1A8; color: #4A3A12; text-decoration: none; transform: rotate(-.6deg); box-shadow: 2px 4px 0 rgba(59, 36, 24, .15); transition: transform .2s ease; }
.pc-strip[hidden] { display: none; }
.pc-strip:hover { transform: rotate(0deg) translateY(-1px); }
.pc-strip:focus-visible { outline: 2px dashed var(--peri); outline-offset: 4px; }
.ps-tape { position: absolute; top: -11px; left: 50%; width: 90px; height: 22px; transform: translateX(-50%) rotate(2deg); background: rgba(232, 200, 232, .85); }
.ps-cd { flex: none; font-size: 32px; line-height: 1; }
.ps-txt { flex: 1; font-size: 13.5px; line-height: 1.45; }
.ps-txt b { font: 800 19px/1.1 var(--display); margin-right: 4px; }
.ps-go { flex: none; font-weight: 700; font-size: 14px; color: #8E3E1F; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 720px) {
    .pc-strip { flex-wrap: wrap; gap: 6px 12px; padding: 16px 16px 12px; width: min(100%, 360px); }
    .ps-txt { flex-basis: calc(100% - 48px); font-size: 13px; }
    .ps-txt b { display: block; font-size: 18px; margin: 0 0 2px; }
    .ps-go { margin-left: 44px; }
}
@media (prefers-reduced-motion: reduce) { .pc-strip { transition: none; } }
@media (max-width: 720px) {
    .pc-strip { display: block; padding: 20px 64px 14px 18px; }
    .ps-cd { position: absolute; right: 14px; top: 18px; font-size: 34px; }
    .ps-txt { display: block; }
    .ps-go { display: inline-block; margin: 8px 0 0; }
}

/* ===== SPOOF AD (Nov 2): SPONSORED.EXE, a loud early-internet pop-up in the Stash grid with Jean's art (tall, 4:5).
   stash/index.php #spoof-ad, placed by assets/js/stash.js, ads from Admin > Website > Spoof ads ===== */
@supports (grid-template-rows: subgrid) { .pcard-grid > .pc-ad { grid-row: span 4; align-self: center; margin-bottom: var(--pc-mb, 40px); } }
.pc-ad { width: min(100%, 300px); justify-self: center; background: #fff; border: 3px solid; border-color: #fff #9C8BC0 #9C8BC0 #fff; box-shadow: 4px 4px 0 rgba(59, 36, 24, .2); }
.pc-ad[hidden] { display: none; }
.pa-bar { display: flex; align-items: center; gap: 6px; padding: 5px 6px 5px 9px; background: linear-gradient(90deg, #FF5EA8, #FFB25E); color: #fff; font: 700 12px var(--body); letter-spacing: .05em; }
.pa-title { flex: 1; }
.pa-x { flex: none; width: 22px; height: 20px; padding: 0; border: 2px solid; border-color: #fff #C2457E #C2457E #fff; background: #FFE3EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 2l6 6M8 2l-6 6' stroke='%235E3F7A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 9px 9px no-repeat; cursor: pointer; }
.pa-x:active { border-color: #C2457E #fff #fff #C2457E; }
.pa-art { display: block; margin: 6px 6px 0; aspect-ratio: 4 / 5; overflow: hidden; background: #F3EEFA; }
.pa-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pa-foot { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px 7px; font-size: 11px; color: #8a7aa8; }
.pa-foot b { color: #C2457E; animation: pa-blink 1.2s steps(1) infinite; }
@keyframes pa-blink { 50% { opacity: 0; } }
.pc-ad.pa-pop { animation: pa-pop .35s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes pa-pop { from { transform: scale(.85); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pa-foot b, .pc-ad.pa-pop { animation: none; } }

/* ===== STASH PHOTOS (Nov 2): session photos as taped-up polaroids between kits, no writing (stash/index.php #stash-photo,
   placed by assets/js/stash.js, photos from Admin > Website > Stash photos) ===== */
@supports (grid-template-rows: subgrid) { .pcard-grid > .pc-photo { grid-row: span 4; align-self: center; margin-bottom: var(--pc-mb, 40px); } }
.pc-photo { position: relative; justify-self: center; width: min(88%, 260px); padding: 10px 10px 34px; background: #fff; box-shadow: 3px 5px 0 rgba(59, 36, 24, .16); transform: rotate(2.2deg); }
.pc-photo[hidden] { display: none; }
.pc-photo:nth-of-type(even) { transform: rotate(-1.8deg); }
.pc-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #F3EEFA; }
.pp-tape { position: absolute; top: -12px; left: 50%; width: 76px; height: 22px; transform: translateX(-50%) rotate(-3deg); background: rgba(232, 200, 232, .85); z-index: 1; }
.pc-photo img, .pa-art img { height: auto; }   /* (Nov 2) the height="500" in the page was setting a fixed 500px height and stretching the polaroid: let the 4:5 shape decide */
.pa-art img { height: 100%; }

/* ===== STASH MENU (Nov 2): the LunarOS menu under "Stash" in the top bar (includes/header.php .nav-drop).
   Computers: opens on hover or keyboard focus, like the File / Edit menus. Phones: listed under Stash in the ☰ menu. ===== */
.nav-drop { position: relative; display: flex; }
.nd-caret { display: inline-block; margin-left: 7px; border: 4px solid transparent; border-top: 5px solid currentColor; border-bottom: 0; vertical-align: 2px; }
.nav-menu { position: absolute; left: 0; top: 100%; z-index: 60; display: none; min-width: 236px; margin-top: 6px; padding: 4px 0; background: #FFF8EE; border: 2px solid; border-color: #FFFFFF #C9A27C #C9A27C #FFFFFF; box-shadow: 3px 3px 0 rgba(0, 0, 0, .25); }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }   /* (no gap to fall through on the way down) */
@media (min-width: 721px) { .nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: block; } }   /* (computers only: on phones this kept the list open after tapping Stash to close it) */
.site-nav .nav-menu a { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 14px; color: var(--ink, #3B2418); font-size: 13.5px; white-space: nowrap; background: none; }
.site-nav .nav-menu a:hover, .site-nav .nav-menu a:focus-visible { outline: none; background: var(--plum, #5E3F7A); color: #FFFFFF; }
.nav-menu small { margin-left: auto; padding-left: 18px; font-size: 11.5px; opacity: .7; }
.nav-menu hr { border: 0; border-top: 1px solid #E3C29C; margin: 4px 8px; }
@media (max-width: 720px) {
    /* phones: the ☰ menu shows the sizes right under Stash (no hover there) */
    .nav-drop { display: block; }
    .nd-caret { display: none; }
    .nav-menu { position: static; display: block; min-width: 0; margin: 0 0 6px; padding: 0; background: rgba(255, 255, 255, .08); border: 0; box-shadow: none; }
    .nav-menu::before { content: none; }
    .site-nav .nav-menu a { padding: 10px 14px 10px 38px; color: var(--white, #FFFFFF); font-size: 15px; }
    .site-nav .nav-menu a:hover { background: rgba(255, 255, 255, .14); }
    .nav-menu small { opacity: .75; }
    .nav-menu hr { border-top-color: rgba(255, 255, 255, .18); margin: 2px 14px; }
    .nav-menu .nm-all { display: none; }   /* (Stash itself goes to everything) */
}
@media (max-width: 720px) {
    .site-nav .nav-menu .nm-all { display: none; }
    /* the menu got longer: it scrolls inside itself so Search and the social icons at the bottom are always reachable */
    .site-nav.open { max-height: calc(100dvh - 190px); overflow-y: auto; overscroll-behavior: contain; }   /* (130px = the top bars, 60px = the taskbar) */
}
/* (Nov 2) phones: the sizes stay folded under Stash until it's tapped (assets/js/site.js), so the menu stays short.
   Whole Stash shows in the list there, since tapping Stash now opens the list instead of the shop. */
@media (max-width: 720px) {
    .site-nav .nav-menu { display: none; }
    .nav-drop.nd-open .nav-menu { display: block; }
    .nd-caret { display: inline-block; margin-left: 10px; transition: transform .15s; }
    .nav-drop.nd-open .nd-caret { transform: rotate(180deg); }
    .site-nav .nav-menu .nm-all { display: flex; }
}
@media (max-width: 720px) { .site-nav .nav-drop > .nd-top { display: block; } }
/* (Nov 2) NEW tag on sizes that have a design with the "new" badge (includes/header.php) */
.nm-new { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 99px; background: #E8336D; color: #FFFFFF; font: 700 10px/1.4 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.site-nav .nav-menu a:hover .nm-new, .site-nav .nav-menu a:focus-visible .nm-new { background: #FFFFFF; color: #E8336D; }
.nd-dot { display: none; }
@media (max-width: 720px) {
    /* phones: a little pink dot next to "Stash" while the list is folded, so people know to open it */
    .nd-dot { display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: #E8336D; vertical-align: 3px; }
    .nav-drop.nd-open .nd-dot { display: none; }
}
@media (max-width: 720px) { .site-nav .nav-drop > .nd-top { display: flex; align-items: center; } .nd-dot, .nd-caret { flex: none; vertical-align: 0; } .nav-drop .nd-caret { transform: none; } .nav-drop.nd-open .nd-caret { transform: rotate(180deg); } }   /* (Nov 2) dot + arrow centered on the word Stash */

/* ===== PHONE FOOTER (Nov 2, option C): same four lists, every link still showing, just tighter so it isn't a wall of text ===== */
.fl-short { display: none; }
@media (max-width: 720px) {
    .footer-cols { gap: 18px 12px; }
    .footer-h { margin-bottom: 4px; font-size: 11.5px; }
    .footer-col ul { gap: 0; }
    .footer-col a { padding: 3px 0; font-size: 12.5px; line-height: 1.35; }
    .fl-long { display: none; }
    .fl-short { display: inline; }
    .footer-bottom { font-size: 12px; }
    .footer-bottom p { margin: 0 0 4px; }
}
@media (max-width: 720px) { .site-footer .footer-bottom { gap: 4px; margin-top: 22px; } .site-footer .footer-bottom p { margin: 0; line-height: 1.5; } .site-footer .footer-cols { row-gap: 14px; } }
/* (Nov 2) the NEW tags made the Stash folder list wider than its white box: the sidebar gets a little wider and the tag is a bit smaller there */
@media (min-width: 721px) { .explorer { grid-template-columns: 272px 1fr; } }
.folder .nm-new { margin-left: 6px; padding: 1px 5px; font-size: 9.5px; }

/* ===== EMBLEM MENU (Nov 2): the Lunar Haze emblem at the far left of the top bar, like the Apple menu (includes/header.php .em-drop).
   The emblem takes the theme's accent color, so it changes with every seasonal theme. ===== */
@media (min-width: 721px) { .menubar { grid-template-columns: auto auto 1fr auto; } .menubar > .em-drop { margin-right: -10px; } }
.em-btn { display: grid; place-items: center; width: 40px; height: 36px; padding: 5px; color: var(--lime); border-radius: 4px; }
.em-btn:hover, .em-drop:focus-within .em-btn, .em-drop.nd-open .em-btn { background: rgba(255, 255, 255, .14); }
.menubar .em-btn svg, .menubar .em-ico svg, .menubar .em-av svg { width: 100%; height: 100%; display: block; fill: currentColor; stroke: none; }
.em-menu { min-width: 250px; }
.em-who { display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; margin-bottom: 4px; border-bottom: 1px solid #E3C29C; }
.em-av { flex: none; width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--peri, #5E3F7A); color: var(--lime); }
.em-who b { display: block; font-size: 13px; color: var(--ink, #3B2418); }
.em-who small { font-size: 11px; color: #8a7aa8; }
.em-phone { display: none; }
@media (max-width: 720px) {
    .menubar > .em-drop { display: none; }   /* phones: the same list is the first fold in the ☰ menu instead */
    .em-phone { display: block; }
    .em-ico { display: inline-block; width: 22px; height: 22px; margin-right: 10px; color: var(--lime); flex: none; }
    .em-phone .em-who { border-bottom-color: rgba(255, 255, 255, .18); padding-left: 38px; }
    .em-phone .em-who b { color: var(--white, #FFFFFF); }
    .em-phone .em-who small { color: rgba(255, 255, 255, .7); }
}
/* their Icon Maker character next to their screen name: fills the circle, keeps its own colors */
.em-av.em-av-char { padding: 0; overflow: hidden; background: none; }
.menubar .em-av-char svg { fill: initial; stroke: none; }
.em-av-char .puffy-ico { display: block; width: 100% !important; height: 100% !important; }
/* the emblem menu lives outside the main nav, so it gets the menu row styles here too */
.em-menu a { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 14px; color: var(--ink, #3B2418); font-size: 13.5px; white-space: nowrap; text-decoration: none; }
.em-menu a:hover, .em-menu a:focus-visible { outline: none; background: var(--plum, #5E3F7A); color: #FFFFFF; }
.em-menu small { margin-left: auto; padding-left: 18px; font-size: 11.5px; opacity: .7; }
.em-menu a:hover small { opacity: .85; }
.menubar > .em-drop .em-menu { margin-top: 8px; }

/* ===== TOP BAR LAYOUT (Nov 2): emblem button on a little beveled tile in the theme's color (so it reads as clickable),
   and on computers the "Lunar Haze" name sits in the middle: emblem + Stash/Lore/Help on the left, Search/Mail/Cart on the right ===== */
@media (min-width: 721px) {
    .em-btn { background: var(--lime); color: var(--peri-deep, #5C2A14); border: 2px solid; border-color: rgba(255, 255, 255, .7) rgba(0, 0, 0, .35) rgba(0, 0, 0, .35) rgba(255, 255, 255, .7); }
    .em-btn:hover, .em-drop:focus-within .em-btn, .em-drop.nd-open .em-btn { background: var(--lime); filter: brightness(1.08); }
    .em-drop.nd-open .em-btn { border-color: rgba(0, 0, 0, .35) rgba(255, 255, 255, .7) rgba(255, 255, 255, .7) rgba(0, 0, 0, .35); }   /* (pressed in while open) */
}
@media (min-width: 1081px) {
    .menubar { grid-template-columns: auto 1fr auto; }
    .menubar > .em-drop { grid-column: 1; grid-row: 1; margin-right: 0; }
    .menubar > .site-nav { grid-column: 2; grid-row: 1; justify-self: start; }
    .menubar > .menubar-right { grid-column: 3; grid-row: 1; justify-self: end; }
    .menubar > .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }   /* (the exact middle of the screen, whatever is on either side) */
}
@media (min-width: 721px) { .site-nav a.nd-top { white-space: nowrap; } } @media (min-width: 721px) and (max-width: 1080px) { .menubar { gap: 12px; } .site-nav a { padding: 6px 10px; } }   /* (tablets: menus stay on one line) */

/* ===== LOGO MENU (Nov 2, replaces the emblem button): "Lunar Haze" is back on the left like before, and hovering it
   opens the menu as a little easter egg (no arrow). Clicking the logo still goes home. Phones: the menu is "Me" in the ☰ menu. ===== */
@media (min-width: 721px) {
    .menubar, .menubar:has(> .em-drop) { grid-template-columns: auto 1fr auto; }
    .menubar > .em-drop { grid-column: 1; grid-row: 1; margin-right: 0; }
    .menubar > .site-nav { grid-column: 2; grid-row: 1; justify-self: start; }
    .menubar > .menubar-right { grid-column: 3; grid-row: 1; justify-self: end; }
}
@media (max-width: 720px) {
    .menubar > .em-drop { display: block; }
    .menubar > .em-drop .em-menu { display: none !important; }   /* (phones can't hover, so the menu stays in the ☰ menu) */
}
/* (Nov 2) "signed on" under the screen name lines up with it (the menu's right-side note style was pushing it over) */
.em-menu .em-who small, .em-phone .em-who small { display: block; margin: 2px 0 0; padding: 0; opacity: 1; line-height: 1.2; }
.em-who b { line-height: 1.2; }

/* ===== ROLL 101 SIDE NOTE (Nov 2): the "to do:" sticky note in the empty space under the Stash folders (stash/index.php #roll-side).
   Computers only (861px and wider, where there's a sidebar). Smaller screens keep the strip across the grid. ===== */
.side-col { min-width: 0; }
.side-note { display: none; }
@media (min-width: 861px) {
    .side-note { position: relative; display: block; margin: 30px 22px 14px; padding: 22px 18px 16px; background: #FFF1A8; color: #4A3A12; font-size: 13.5px; line-height: 1.5; text-decoration: none; transform: rotate(-1.5deg); box-shadow: 2px 4px 0 rgba(59, 36, 24, .15); transition: transform .2s ease; }
    .side-note:hover { transform: rotate(0deg) translateY(-1px); }
    .side-note:focus-visible { outline: 2px dashed var(--peri); outline-offset: 4px; }
    .side-note b { display: block; margin: 0 0 4px; font: 800 20px/1.1 var(--display); }
    .sn-go { display: block; margin-top: 10px; font-weight: 700; font-size: 14px; color: #8E3E1F; text-decoration: underline; text-underline-offset: 3px; }
}
@media (prefers-reduced-motion: reduce) { .side-note { transition: none; } }
.side-list { list-style: none; margin: 2px 0 0; padding: 0; }
.side-list li { padding: 1px 0; }
.side-list s { opacity: .6; }
.sn-arw { font-weight: 700; color: #8E3E1F; }

/* (Nov 2) pencil-drawn boxes + check marks on the to do note (the ☑ characters showed as gray emoji boxes on Apple devices) */
.pb { display: inline-block; width: 20px; height: 20px; margin: 0 6px -4px -2px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%235B5248%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4.6%207.2c3.8-.5%207.9-.6%2011.6-.3M16.4%206.6c.4%203.6.3%207.4.1%2010.9M16.7%2017.6c-3.9.4-7.8.4-11.7.1M4.9%2018c-.5-3.7-.5-7.4-.1-11.1%22%20opacity%3D%22.85%22/%3E%3C/svg%3E") center / contain no-repeat; }
.pb.pb-on { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%235B5248%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20stroke-width%3D%221.4%22%20opacity%3D%22.85%22%20d%3D%22M4.6%207.2c3.8-.5%207.9-.6%2011.6-.3M16.4%206.6c.4%203.6.3%207.4.1%2010.9M16.7%2017.6c-3.9.4-7.8.4-11.7.1M4.9%2018c-.5-3.7-.5-7.4-.1-11.1%22/%3E%3Cpath%20stroke-width%3D%222.1%22%20d%3D%22M7%2012.4c1.2%201%202.1%202.2%202.8%203.7C12%2010.8%2015.6%206%2021.5%202.6%22/%3E%3C/svg%3E"); }
.side-list li:nth-child(2) .pb { transform: rotate(-4deg); } .side-list li:nth-child(3) .pb { transform: rotate(3deg) scale(1.05); } .side-list li:nth-child(4) .pb { transform: rotate(-2deg); }   /* (each one drawn a little differently, like by hand) */

/* ===== POST-IT COLORS BY THEME (Nov 2): the sticky notes (homepage .note-1 to .note-4 and the Stash to do note) use real
   post-it colors picked for each theme. Yellow is the default (and stays for themes not listed, like Win95).
   To change a theme's pack, edit its 4 colors below: --pi1 is the first note (and the Stash note), then --pi2, --pi3, --pi4. ===== */
.note-1 { background: var(--pi1, #FFF9C9); } .note-2 { background: var(--pi2, #FFE1EE); } .note-3 { background: var(--pi3, #E4F8C9); } .note-4 { background: var(--pi4, #E6E3FF); }
.side-note { background: var(--pi1, #FFF1A8); color: var(--ink, #4A3A12); }
body.theme-halloween { --pi1: #FFC48A; --pi2: #E9D7FF; --pi3: #DFF5A8; --pi4: #FFE8B0; }
body.theme-friday13 { --pi1: #DFF5A8; --pi2: #E9D7FF; --pi3: #FFC48A; --pi4: #FFF1A8; }
body.theme-fall { --pi1: #FFE3A3; --pi2: #FFC9A8; --pi3: #F3DDBE; --pi4: #E9E6B4; }
body.theme-winter { --pi1: #D6ECFF; --pi2: #E6E3FF; --pi3: #DDF3F0; --pi4: #F2F6FF; }
body.theme-christmas { --pi1: #FFD1D1; --pi2: #D7F2D2; --pi3: #FFF4C9; --pi4: #F2E6D8; }
body.theme-lunarny { --pi1: #FFD0C4; --pi2: #FFE9A8; --pi3: #FFE1EE; --pi4: #F3E3D0; }
body.theme-valentines { --pi1: #FFC9DA; --pi2: #FFE1EE; --pi3: #FFD9C9; --pi4: #F0DBFF; }
body.theme-fourtwenty { --pi1: #D9F7B8; --pi2: #FFF4B0; --pi3: #C9EED8; --pi4: #F3E1FF; }
body.theme-spring { --pi1: #E2F7C9; --pi2: #FFE1EE; --pi3: #FFF6C2; --pi4: #E2E9FF; }
body.theme-summer { --pi1: #FFD6C4; --pi2: #FFF1A8; --pi3: #C9F1EC; --pi4: #FFE1EE; }
body.theme-seventen { --pi1: #FFE3A3; --pi2: #FFD6B0; --pi3: #FFF1A8; --pi4: #E9D7FF; }
body.theme-pride { --pi1: #FFD1D1; --pi2: #FFE5B8; --pi3: #D6F5C9; --pi4: #D9E4FF; }
body.theme-y2k { --pi1: #C9F3FF; --pi2: #FFD1F5; --pi3: #E9FFB0; --pi4: #E3DBFF; }
body.theme-birthday { --pi1: #FFE1EE; --pi2: #E4F8C9; --pi3: #E6E3FF; --pi4: #FFF1A8; }

/* (Nov 2) the dropdown menus (Stash, Lore, Help + the Lunar Haze logo menu) take each theme's window colors instead of one fixed cream */
@media (min-width: 721px) {
    .nav-menu { background: var(--paper); border-color: var(--bevel-out); }
    .nav-menu hr { border-top-color: var(--lav-dark); }
}
.em-who { border-bottom-color: var(--lav-mid); }
.em-who small { color: color-mix(in srgb, var(--plum) 70%, #FFFFFF); }
#start-menu:focus { outline: none; }
.kq-click { margin: 4px 0 12px; padding: 8px 12px; background: var(--lav); border-left: 4px solid var(--peri); }   /* (Nov 2) Roll 101 Welcome: "If the classic way never clicked..." */
.htr-intro { max-width: 70ch; margin: 0 0 24px; padding-bottom: 18px; border-bottom: 2px dotted var(--lav-mid); color: var(--ink); }   /* (Nov 2) how_to_roll.txt: the intro that used to sit beside the big title */
.faq-head:has(> .htr-run) { grid-template-columns: 1fr; align-items: start; gap: 18px; }   /* (How to roll: just the title + buttons, stacked, now the intro lives in how_to_roll.txt) */
.htr-run .btn { white-space: nowrap; }
/* ===== EMOJI IN LINKS (Nov 2): a link with an emoji underlines just its words (assets/js/site.js adds these).
   The emoji and spaces aren't touched, so they stay exactly where they were. ===== */
.emo-ul { text-decoration: none !important; }
.emo-ul .ul-t { text-decoration-line: underline; text-decoration-color: var(--ul-c, currentColor); text-decoration-thickness: var(--ul-w, auto); text-underline-offset: var(--ul-o, auto); }

/* ===== GOLDEN HOUR GLOW (Nov 2): a see-through sunset layer between the wallpaper and the windows (assets/js/golden-hour.js).
   Its strength (--lh-gold, 0 to 1) comes from the time, so it looks the same on every page and changes smoothly. ===== */
html.is-golden { transition: --lh-gold 30s linear; }
html.is-golden .wp-layer::after { content: ""; position: absolute; inset: 0; pointer-events: none;   /* (on top of the wallpaper layer, includes/header.php .wp-layer) */
    background: radial-gradient(circle at 90% 100%, rgba(255, 200, 110, calc(.95 * var(--lh-gold, 0))), transparent 55%),
                linear-gradient(180deg, rgba(255, 150, 90, calc(.35 * var(--lh-gold, 0))), rgba(255, 110, 70, calc(.75 * var(--lh-gold, 0)))); }

/* ===== PERK STICKERS (Nov 3): the tilted label on each item in what_you_get.exe (Become a guest artist)
   and good_to_know.txt (Model for us), in the post-it colors of the current theme. Replaces the emoji. ===== */
.collab-get .pk-badge { display: table; margin: 0 0 6px; padding: 3px 9px 2px; background: var(--pi1, #FFF1A8); color: var(--ink); font: 700 11px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase;
    border: 2px solid; border-color: #FFFFFF rgba(0, 0, 0, .22) rgba(0, 0, 0, .22) #FFFFFF; transform: rotate(-2deg); box-shadow: 1px 2px 0 rgba(59, 36, 24, .12); }
.collab-get li:nth-child(2) .pk-badge { background: var(--pi2, #FFE1EE); transform: rotate(1.5deg); }
.collab-get li:nth-child(3) .pk-badge { background: var(--pi3, #E4F8C9); transform: rotate(-1deg); }
.collab-get li:nth-child(4) .pk-badge { background: var(--pi4, #E6E3FF); transform: rotate(2deg); }
.collab-get li:has(.pk-badge) { margin-bottom: 16px; }
.report-alert-icon { flex: none; width: 40px; height: 40px; font-size: 0; filter: drop-shadow(1px 2px 0 rgba(0, 0, 0, .2)); }   /* (Nov 3) the drawn red ✕ (report/index.php) */

/* SHIPPING CHOICES: the flag or pin sits in its own little column at text size,
   so a long name (like a market pickup) wraps neatly under itself, not under the pin */
.co-ship-name { grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; }
.co-ship-flag { grid-row: 1 / span 3; font-size: .95em; line-height: 1; }
.co-ship-name > small:not(.ship-eta-c) { color: color-mix(in srgb, var(--plum) 82%, #FFFFFF); }   /* (matches the theme, not a fixed purple) */
.co-ship-title, .co-ship-name > small { grid-column: 2; }
.co-ship-name .nw { white-space: nowrap; }

/* CHECKOUT WIZARD: the smoky moon emblem in place of the 🌙 emoji. Changes color with the theme. */
.wiz-moon { display: block; width: 44px; height: 44px; color: var(--lime); font-size: 0; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--lime) 55%, transparent)); }   /* (the theme's accent color, like the desktop icon) */
.wiz-moon svg { display: block; width: 100%; height: 100%; }

/* SAVED CARDS (Nov 3): checkout/index.php + My Settings > Saved Card (includes/saved-cards.php) */
.sv-opt { display: flex; align-items: center; gap: 12px; }
.co-card .sv-opt + .sv-opt, .co-card .sv-opt + #sv-newcard:not([hidden]) { margin-top: 0; }
.sv-mark { flex: none; width: 46px; height: 30px; display: grid; place-items: center; border: 1px solid #D9D2E6; border-radius: 5px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.sv-mark svg { display: block; width: 40px; height: 26px; }
.sv-new { flex: none; width: 46px; font-size: 20px; line-height: 1; text-align: center; }
.sv-name { flex: 1; display: grid; color: var(--plum); font-weight: 700; }
.sv-name small { color: color-mix(in srgb, var(--plum) 82%, #FFFFFF); font-weight: 400; }
.sv-pick { display: block; }
.sv-top { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.sv-code { display: flex; align-items: center; gap: 14px; margin: 14px 0 0; padding: 12px 0 0; border-top: 2px dashed color-mix(in srgb, var(--plum) 25%, transparent); }
.sv-code-l { flex: 1; font-size: 13px; line-height: 1.45; color: var(--plum); cursor: text; }
.co-ship .sv-code-in { flex: none; width: 84px; height: auto; padding: 10px 12px; font: 700 16px "Courier Prime", monospace; letter-spacing: .12em; text-align: center; border: 3px solid; border-color: var(--bevel-in); background: #fff; color: var(--ink); accent-color: auto; }
.sv-code-in.co-bad, .co-bad .sv-code-in { border-color: #C0392B; }
#sv-newcard { display: grid; gap: 12px; }
#sv-newcard[hidden] { display: none; }
.sv-save { margin: 0; }
/* My Settings > Saved Card */
.sv-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px; border: 2px solid #C9C2DA; background: #fff; margin: 12px 0; }
.sv-row > .sv-row-name { flex: 1; min-width: 0; }
.sv-row-name b { display: block; font: inherit; font-weight: 700; }
.sv-row-name small { display: block; opacity: .75; }
.sv-row .sv-soon { color: #B4451F; opacity: 1; font-weight: 700; }
.sv-row .lo-bt { flex: none; font-size: 12px; padding: 6px 10px; min-height: 0; }
.sv-row-note { flex-basis: 100%; margin: 2px 0 0; padding: 10px 0 0; border-top: 2px dashed #DDD6EA; font-size: 13px; line-height: 1.45; }
.sv-row-note b { color: #B4451F; font: inherit; font-weight: 700; }

/* Place order on one line (checkout.js fitBtn shrinks the text a little if it still doesn't fit) */
.wiz-main .wiz-btns #co-next.co-one-line { white-space: nowrap; text-wrap: nowrap; padding-left: 12px; padding-right: 12px; overflow: hidden; }
@container (max-width: 420px) {   /* phones: Place order gets the whole row, Back + "Back to cart" go underneath */
    .wiz-main .wiz-btns #co-next.co-one-line { grid-column: 1 / -1; grid-row: 1; }
    .wiz-main .wiz-btns:has(#co-next.co-one-line) #co-back { grid-row: 2; grid-column: 1; }
    .wiz-main .wiz-btns:has(#co-next.co-one-line) .co-back-word { display: inline; }
    .wiz-main .wiz-btns:has(#co-next.co-one-line) .co-cancel { grid-row: 2; grid-column: 2; align-self: center; justify-self: start; margin: 0; }
}

/* KIT ITEM DEPTH (Nov 3): one soft shadow hugging each item, on top of the float shadow (kept light) */
.spread-item img { filter: drop-shadow(1px 2px 2px rgba(20,15,40,.22)) drop-shadow(6px 12px 8px rgba(30,29,70,0.4)); }

/* Mini kits: no Roll 101 or savings tiles, so the empty row takes no space (Nov 4) */
.kit-tiles:not(:has(a)) { display: none; }

/* REPORT A PROBLEM: a form for each answer (Nov 4) */
.report-form [data-show][hidden] { display: none !important; }
.report-checks { display: grid; gap: 8px; justify-items: start; }
.report-track { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 12px 14px; border: 3px solid; border-color: var(--bevel-out); background: var(--white); color: var(--plum); }
.report-track small { grid-column: 2; opacity: .75; }
.report-track .rt-dot { grid-row: 1 / 3; width: 10px; height: 10px; border-radius: 50%; background: var(--peri, #6B7BD6); }
.report-track .rt-dot.is-done { background: #2E7D1F; }
.report-lost, .report-cancel { display: grid; gap: 14px; }
.rc-note { margin: 0; color: var(--plum); font-size: 14px; line-height: 1.5; }
.report-form:not(.rf-ready) [data-show] { display: none; }
.ws-check span.fw { display: inline; padding: 0; border: 0; background: none; font: inherit; color: inherit; }
.ws-check span.fw::before { content: none; }

/* Review tiles: words stay whole and inside the tile (stash/product.php shrinks the row if a word is too wide) */
#review-dialog .rf-word { width: 100%; max-width: 100%; overflow-wrap: normal; word-break: normal; hyphens: none; }
#review-dialog .rf-tile { min-width: 0; overflow: hidden; }
/* (equal columns that never stretch for a long word, so the shrink-to-fit has a fixed width to work with) */
#review-dialog .rf-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
#review-dialog .rf-got-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 520px) { #review-dialog .rf-tiles:not(.rf-got-tiles) { grid-template-columns: minmax(0, 1fr) !important; } #review-dialog .rf-got-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* ---------- Store credit at checkout (Nov 2026, includes/creators.php) ---------- */
.co-credit-row dt { display: flex; }
.co-credit { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.co-credit input { width: 16px; height: 16px; margin: 0; accent-color: var(--peri); }
.co-credit small { opacity: .7; }
#co-credit-amt { color: var(--peri-deep); font-weight: 700; }
.co-credit-note { margin: 0 0 14px; padding: 12px 14px; border: 2px solid var(--lime-lo); background: var(--lime-hi); color: var(--ink); font-weight: 700; }

/* Design art with the faint mark: no long-press save menu, no selecting or dragging (assets/js/site.js) */
img[src*="/designs/_m/"], img[src^="/art.php"] { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.nm-new[hidden], .nd-dot[hidden] { display: none !important; }   /* (NEW tags you have already opened: assets/js/site.js) */

/* (Nov 10 2026) Made-for-you photos can't be zoomed: plain arrow, not the magnifying glass (assets/js/zoom.js) */
#viewer-stage figure.slide[data-nozoom] img { cursor: default !important; }
#viewer-stage .zm-open-btn[hidden] { display: none !important; }

/* (Nov 10 2026) 11:11: the shooting star is Starry (assets/js/idle-star.js + starry.js). Golden tail that runs right into him,
   twinkles along it, and he stays upright (--unrot) and wiggles as he flies. Without starry.js the old ✦ star shows. */
.lh-star.is-starry { width: 280px; height: 86px; margin: -43px 0 0 -240px; }
.lh-star.is-starry .lh-star-tail { left: 10px; top: 39px; width: 236px; height: 8px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,217,90,0), rgba(255,217,90,.5) 40%, #FFD95A 80%, #FFF6C4); box-shadow: 0 0 12px rgba(255,217,90,.65); }
.lh-star-spark { position: absolute; color: #FFF6C4; font-size: 12px; line-height: 1; text-shadow: 0 0 6px #FFD95A; animation: lh-star-tw 1s ease-in-out infinite alternate; pointer-events: none; }
@keyframes lh-star-tw { from { opacity: .25; transform: scale(.7); } to { opacity: 1; transform: scale(1.1); } }
.lh-star-head.is-starry { right: -14px; top: 3px; width: 80px; height: 80px; font-size: 0; text-shadow: none; filter: drop-shadow(0 0 10px rgba(255,217,90,.85)); }
.lh-star-face { display: block; width: 100%; height: 100%; transform: rotate(var(--unrot, 0deg)); }
.lh-star-face .st-svg { animation: lh-star-wob .9s ease-in-out infinite alternate; }
@keyframes lh-star-wob { from { rotate: -8deg; } to { rotate: 8deg; } }
.lh-star.is-starry .lh-star-tip { right: -30px; top: 88px; }

/* (Nov 10 2026) Add-ons: "(clear)" sits right after "5 added" in the Tap to add line */
.vw-multi span.vw-sum { display: inline; margin: 0; font-weight: 400; text-transform: none; letter-spacing: 0; color: inherit; }
.vw-multi span.vw-sum[hidden] { display: none; }
.vw-multi span.vw-sum .vw-clear { display: inline; padding: 0; font: inherit; font-weight: 400; text-transform: none; letter-spacing: 0; vertical-align: baseline; }

/* (Nov 11 2026) Phones: the sticky Add to cart bar used to cover the bottom of the footer. The footer now makes room for it. */
html:has(.buy-bar.show) .site-footer { padding-bottom: calc(24px + var(--buybar-h, 76px)); }
/* (Nov 11 2026) Top 8 usernames: one line each (long ones shrink to fit, see stash/product.php), "…" if still too long */
.top8 .friend-name { display: block; width: 100%; min-height: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }

/* (Nov 12 2026) Puffy flying off (the rocket, Clear the haze): his speech bubble doesn't fly with him. assets/js/puffy.js */
.puffy.pf-rocketing .pf-bubble, .puffy.pf-blown .pf-bubble { visibility: hidden; }

/* (Nov 15 2026) "✦ Tap to add" circles (stickers, lighter wraps) fill the whole width of the box: 4 across on
   phones, as many as fit on computers, the circles growing to fill each column instead of leaving a gap on the right. */
.choice.vw-multi .vw-strip, .choice.vw-multi .vw-strip.is-fit { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 16px 10px; justify-items: stretch; width: 100%; box-sizing: border-box; }
.choice.vw-multi .vw-strip .vw-g, .choice.vw-multi .vw-strip.is-fit .vw-g, .choice.vw-multi .vw-strip.is-fitted .vw-g { width: 100%; min-width: 0; }
.choice.vw-multi .vw-strip .vw-g .kp-dot, .choice.vw-multi .vw-strip.is-fit .vw-g .kp-dot, .choice.vw-multi .vw-strip.is-fitted .vw-g .kp-dot { width: 100%; max-width: 120px; height: auto; aspect-ratio: 1 / 1; margin: 0 auto; }
.choice.vw-multi .vw-strip .vw-g .kp-name { max-width: 100%; text-align: center; overflow-wrap: anywhere; }
@media (max-width: 720px) {
    .choice.vw-multi .vw-strip, .choice.vw-multi .vw-strip.is-fit { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; }
}

/* (Nov 16 2026) An add-on in "Everything inside, laid out" (the moon ring holder on Small kits): always shown as an
   upgrade with a price tag above it ("✓ Added" once ticked). Tapping it scrolls up to the add-on box, which flashes. */
.spread-addon .si-add { position: absolute; z-index: 2; top: -6px; left: 50%; transform: translateX(-50%) rotate(calc(var(--r) * -1)); padding: 2px 9px; border-radius: 99px; background: var(--lime, #E1F66B); color: var(--plum, #5E3F7A); border: 1.5px solid var(--plum, #5E3F7A); font: 700 12px/1.4 var(--body, monospace); white-space: nowrap; box-shadow: 2px 2px 0 rgba(43,42,94,.3); pointer-events: none; }
.spread-addon:not(.is-added) img { opacity: .75; }
.spread-addon:not(.is-added):hover img { opacity: 1; }
.spread-addon.is-added .si-add { background: var(--white, #fff); }
.addon-check.addon-flash { animation: addon-flash 1.4s ease-out; }
@keyframes addon-flash { 0%, 40% { box-shadow: 0 0 0 4px var(--lime, #E1F66B), 0 0 0 7px var(--plum, #5E3F7A); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .addon-check.addon-flash { animation: none; outline: 3px solid var(--plum, #5E3F7A); } }

/* (Nov 16 2026) 🎲 Surprise me, next to "See all" in Peek inside only (assets/js/kit-picker.js). Same button as See all.
   On the product page the row isn't there at all (display: contents keeps See all exactly where it was). */
.kp-btnrow { display: contents; }
.kp-lucky { display: none; }
.bmk-picks .kp-btnrow { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; justify-self: start; }
.bmk-picks .kp-btnrow > .kp-all { margin: 0; }
.bmk-picks .kp-lucky { display: inline-block; }
.kp-lucky-ico { display: inline-block; line-height: 1; font-size: 1em; }
.kp-lucky.rolled .kp-lucky-ico { animation: kp-roll .5s ease-out; }
@keyframes kp-roll { from { transform: rotate(-200deg) scale(.7); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .kp-lucky.rolled .kp-lucky-ico { animation: none; } }

/* (Nov 16 2026) 💍 Add a moon ring holder, inside Peek inside (Small kits). Ticks the same box on the page. */
.bmk-ring { display: flex; align-items: center; gap: 10px; margin: 2px 0 14px; padding: 9px 12px; border: 1.5px solid #C9AEE6; border-radius: 10px; background: #fff; font: 13px/1.35 var(--body, monospace); color: #2B2A5E; cursor: pointer; }
.bmk-ring input { width: 18px; height: 18px; margin: 0; accent-color: var(--plum, #5E3F7A); flex: none; }
.bmk-ring b { color: var(--plum, #5E3F7A); }
.bmk-ring em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--plum, #5E3F7A); white-space: nowrap; }
.bmk-ring.is-out { opacity: .55; cursor: default; }

/* (Nov 16 2026) Lighter wraps: smaller circles, 6 across everywhere (stickers keep the big ones) */
.choice.vw-multi.vw-small .vw-strip, .choice.vw-multi.vw-small .vw-strip.is-fit { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 8px; }
.choice.vw-multi.vw-small .vw-strip .vw-g .kp-dot { max-width: 84px; }
.choice.vw-multi.vw-small .vw-strip .vw-g .kp-name { font-size: 12px; line-height: 1.25; }
@media (max-width: 720px) {
    .choice.vw-multi.vw-small .vw-strip, .choice.vw-multi.vw-small .vw-strip.is-fit { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px 4px; }
    .choice.vw-multi.vw-small .vw-strip .vw-g .kp-name { font-size: 9.5px; }
}

/* (Nov 20 2026) Night owl: a small speech bubble over the 🦉 in the taskbar (the first night only), instead of a pop-up. assets/js/owl.js */
.owl-tip { position: fixed; z-index: 9000; max-width: 250px; padding: 9px 12px 8px; background: #FFFDF2; color: #2B2A5E; border: 2px solid #2B2A5E; box-shadow: 3px 3px 0 rgba(43,42,94,.35); font: 12.5px/1.4 "Courier Prime", "Courier New", monospace; cursor: pointer; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.owl-tip.on { opacity: 1; transform: none; }
.owl-tip b { display: block; font-weight: 700; }
.owl-tip span { display: block; margin-top: 2px; color: #6E5A92; }
.owl-tip::after { content: ""; position: absolute; bottom: -8px; left: calc(var(--tail, 20px) - 7px); width: 12px; height: 12px; background: #FFFDF2; border: 2px solid #2B2A5E; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .owl-tip { transition: none; } }

/* (Nov 20 2026, Kelsey) Lighter wraps: 4 across on phones (6 was too tight: names broke mid-word), still 6 on desktop */
@media (max-width: 720px) {
    .choice.vw-multi.vw-small .vw-strip, .choice.vw-multi.vw-small .vw-strip.is-fit { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; }
    .choice.vw-multi.vw-small .vw-strip .vw-g .kp-name { font-size: 12px; overflow-wrap: normal; word-break: normal; hyphens: none; }
}

/* (Nov 29 2026) "🎄 Before Christmas" tag on the shipping choices (cart + checkout), while the order-by banner is on */
.ship-hol { justify-self: start; align-self: start; display: inline-flex; align-items: center; gap: 5px; width: max-content; margin-top: 5px; padding: 4px 10px; border-radius: 99px; background: #E7F4E1; color: #24661A; border: 1px solid #BFE0B3; font: 700 11.5px/1 var(--body); font-style: normal; white-space: nowrap; }
.ship-hol > span { display: block; line-height: 1; }
.ship-hol > span[aria-hidden] { font-size: 12px; }   /* (emoji and words centered on the same line) */
.ship-hol.is-late { background: #F4F0F8; color: #8A7AA0; border-color: #E2D9EE; }
.ship-m.is-late small.ship-eta-c, .co-ship:has(.ship-hol.is-late) small.ship-eta-c { color: #A58BC0; font-weight: 400; }

/* (Nov 29 2026) holiday_shipping.txt on the Shipping page (shipping/index.php) */
.hol-ship { margin-bottom: -22px; }   /* (page gap 44px - 22px = the same 22px gap as the windows below) */
@media (max-width: 720px) { .hol-ship { margin-bottom: -6px; } }   /* (phones: 28px - 6px = 22px) */
.hs-lede { margin: 0 0 12px; color: #6E5488; font-size: 14px; }
.hs-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 2px dashed var(--lav-mid); }
.hs-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 10px 2px; border-bottom: 2px dashed var(--lav-mid); }
.hs-list b { color: var(--plum); font-size: 14.5px; }
.hs-list small { grid-column: 1 / -1; color: #8A7AA0; font-size: 12.5px; }
.hs-d { font: 700 14.5px var(--body); color: #2E7D1F; white-space: nowrap; }
.hs-d.off { color: #A58BC0; }
.hs-note { margin: 12px 0 0; font-size: 13px; color: #6E5488; }
