:root{
  --cyan:#64cbe9;
  --cyanDark:#2b6678;
  --glassDark:rgba(49,72,78,.72);
  --glassLine:rgba(216,244,249,.88);
  --text:#c6edf4;

  /* BUILD 062 — selector background theme colors */
  --theme-bg-bright:#f3ede7;
  --theme-bg-mid-1:#d2c1b4;
  --theme-bg-mid-2:#9a765e;
  --theme-bg-dark:#664933;

  /* BOX-C #2 animation timing */
  --boxc2-item-delay:.25s;
  --boxc2-girl-delay:1.00s;
  --boxc2-pop-delay:1.20s;
  --boxc2-price-delay:1.45s;
  --boxc2-title-delay:1.70s;
  --boxc2-info-delay:1.90s;

  --heart-scale:0.45;
  --girl-blur:2.8px;
  --pop-blur:2.4px;

  /* BOX-C #1 HUGS independent letter-border controls */
  --landing-h-stroke:transparent;
  --landing-u-stroke:transparent;
  --landing-g-stroke:transparent;
  --landing-s-stroke:transparent;
  --landing-h-stroke-width:0px;
  --landing-u-stroke-width:0px;
  --landing-g-stroke-width:0px;
  --landing-s-stroke-width:0px;

  /* HUGS SHADOW CONTROLS — all three layers are independently editable.
     HARD DISTANCE moves the dark/hard shadow that sits directly below HUGS.
     MID DISTANCE moves the second depth shadow.
     FAR DISTANCE moves the broad projected shadow.
     Change DISTANCE without changing BLUR when you only want the shadows lower. */
  --hugs-shadow-hard-distance:24px;
  --hugs-shadow-hard-blur:5px;
  --hugs-shadow-mid-distance:28px;
  --hugs-shadow-mid-blur:11px;
  --hugs-shadow-far-distance:29px;
  --hugs-shadow-far-blur:23px;
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#664933;font-family:Arial,Helvetica,sans-serif}
body{position:fixed;inset:0;overscroll-behavior:none}
#viewport{position:fixed;inset:0;overflow:hidden;background:radial-gradient(circle at 51% 29%,var(--theme-bg-bright) 0 15%,var(--theme-bg-mid-1) 34%,var(--theme-bg-mid-2) 63%,var(--theme-bg-dark) 100%);transition:background .65s ease}
#stage{position:absolute;left:50%;top:50%;width:1920px;height:1080px;transform:translate(-50%,-50%) scale(1);transform-origin:center center;overflow:hidden}
#stage:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 47%,rgba(255,255,255,.16),transparent 49%);pointer-events:none}


/* =========================================================
   BOX-C CONTAINER SYSTEM
   BOX-C #1 = LANDING / INTRO — RESERVED, NOT BUILT YET.
   BOX-C #2 = BLUE_CLOUD product presentation.
   ========================================================= */
.box-c{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
}

#boxC2{
  z-index:1;
}

/* Individual BOX-C #2 interface entrance states.
   JS adds .boxc2-active when this product container becomes active. */
#boxC2 .boxc2-enter{
  opacity:0;
  will-change:transform,opacity;
}

#boxC2.boxc2-active .boxc2-girl{
  animation:boxC2GirlIn .75s cubic-bezier(.16,.84,.28,1) var(--boxc2-girl-delay) both;
}
#boxC2.boxc2-active .boxc2-pop{
  animation:boxC2PopIn .70s cubic-bezier(.16,.84,.28,1) var(--boxc2-pop-delay) both;
}
#boxC2.boxc2-active .boxc2-price{
  animation:boxC2PriceIn .65s cubic-bezier(.16,.84,.28,1) var(--boxc2-price-delay) both;
}
#boxC2.boxc2-active .boxc2-title{
  animation:boxC2InfoIn .65s cubic-bezier(.16,.84,.28,1) var(--boxc2-title-delay) both;
}
#boxC2.boxc2-active .boxc2-info{
  animation:boxC2InfoIn .75s cubic-bezier(.16,.84,.28,1) var(--boxc2-info-delay) both;
}

@keyframes boxC2GirlIn{
  from{opacity:0;transform:translate3d(-70px,0,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
@keyframes boxC2PopIn{
  from{opacity:0;transform:translate3d(0,-55px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
@keyframes boxC2PriceIn{
  from{opacity:0;transform:translate3d(-35px,25px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
@keyframes boxC2InfoIn{
  from{opacity:0;transform:translate3d(55px,0,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}

/* BLUE_CLOUD product carousel.
   The item travels RIGHT -> CENTER -> pauses -> LEFT.
   This PNG is the temporary product placeholder. */
#itemCarousel{
  position:absolute;
  inset:0;
  z-index:12;
  overflow:visible;
  pointer-events:none;
}

#itemCarousel .item-slide{
  position:absolute;
  left:50%;
  top:51%;
  width:750px;
  height:750px;
  margin:0;
  opacity:0;
  transform:translate3d(calc(-50% + 1180px),-50%,0);
  will-change:transform,opacity;
}

#blueCloudItem{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  user-select:none;
  -webkit-user-drag:none;
  filter:drop-shadow(0 18px 28px rgba(28,74,91,.22));
}

/* JS adds this class each time the carousel item runs. */
#itemCarousel .item-slide.item-carousel-run{
  animation:blueCloudCarousel 7.4s cubic-bezier(.16,.76,.25,1) both;
}

@keyframes blueCloudCarousel{
  0%{
    opacity:0;
    transform:translate3d(calc(-50% + 1180px),-50%,0);
  }
  8%{opacity:1}
  30%{
    opacity:1;
    transform:translate3d(-50%,-50%,0);
  }
  68%{
    opacity:1;
    transform:translate3d(-50%,-50%,0);
  }
  92%{opacity:1}
  100%{
    opacity:0;
    transform:translate3d(calc(-50% - 1180px),-50%,0);
  }
}

@media (prefers-reduced-motion: reduce){
  #boxC2 .boxc2-enter{opacity:1!important;animation:none!important;transform:none!important}
  #itemCarousel .item-slide{
    opacity:1!important;
    transform:translate3d(-50%,-50%,0)!important;
    animation:none!important;
  }
}

/* 3D */
.three-slot{position:absolute;pointer-events:none;overflow:visible}
.three-slot canvas{display:block;width:100%!important;height:100%!important}
#girl3d{left:120px;top:68px;width:620px;height:850px;z-index:2;filter:blur(var(--girl-blur))}
#product3d{left:1115px;top:35px;width:720px;z-index:1;height:auto;filter:blur(var(--pop-blur))}

/* CLEAN FROSTED GLASS — NO decorative shine blobs/streaks */
#price{
  position:absolute;left:312px;top:347px;width:195px;height:280px;z-index:20;
  border:2px solid rgba(226,248,252,.92);border-radius:12px;overflow:visible;
  background:rgba(75,199,229,.38);
  box-shadow:0 12px 30px rgba(21,52,60,.22),inset 0 0 0 1px rgba(255,255,255,.10);
  backdrop-filter:blur(15px) saturate(125%);
  -webkit-backdrop-filter:blur(15px) saturate(125%);
  color:#1f6278;
}


/* XBO FIX: continuous price border ABOVE #tax.
   #tax's z-index is local to #price; it cannot go "behind" the parent's own border
   by using z-index:19 while #price is z-index:20. */
#price::after{
  content:"";
  position:absolute;
  inset:-2px;
  border:2px solid rgba(226,248,252,.92);
  border-radius:12px;
  pointer-events:none;
  z-index:100;
}
#heart{position:absolute;right:-30px;top:-43px;width:66px;height:66px;transform:rotate(-45deg) scale(var(--heart-scale));transform-origin:center center;background:#76d8ee;border-radius:12px 0 12px 0}
#heart:before,#heart:after{content:"";position:absolute;background:#76d8ee;width:66px;height:66px;border-radius:50%}
#heart:before{top:-32px;left:0}#heart:after{left:32px;top:0}
#priceValue{position:absolute;left:12px;top:18px;font:300 70px/1 Georgia,serif;letter-spacing:1px}
#priceValue small{font:300 28px Arial,sans-serif;margin-left:8px}
#qty{position:absolute;left:13px;right:13px;top:137px;height:64px;display:flex;align-items:center;justify-content:space-between}
#qty button,#qty span{height:55px;border:0;border-radius:7px;background:rgba(39,108,128,.62);color:#c6edf4;display:grid;place-items:center;font:300 35px/1 Georgia,serif}
#qty button{width:42px;cursor:pointer}#qty span{width:63px;font-size:44px}
#tax{position:absolute;left:-2px;right:-2px;bottom:-2px;height:50px;display:flex;align-items:center;justify-content:center;color:#caedf4;font-size:14px;background:rgba(28,100,121,.64);border-radius:0 0 10px 10px;;z-index:19;}

#infoTitle{
  position:absolute;left:1291px;top:193px;width:500px;height:70px;z-index:20;
  border:2px solid var(--glassLine);border-radius:12px;
  background:rgba(48,72,78,.48);
  box-shadow:0 12px 28px rgba(18,36,40,.20),inset 0 0 0 1px rgba(255,255,255,.07);
  color:#d7f7fb;display:flex;align-items:center;justify-content:center;
  font-size:26px;letter-spacing:.5px;
  backdrop-filter:blur(15px) saturate(118%);
  -webkit-backdrop-filter:blur(15px) saturate(118%);
}
#info{
  position:absolute;left:1291px;top:274px;width:500px;height:auto;min-height:0;z-index:20;
  border:2px solid var(--glassLine);border-radius:12px;
  background:rgba(48,72,78,.48);
  box-shadow:0 16px 36px rgba(18,35,39,.22),inset 0 0 0 1px rgba(255,255,255,.06);
  color:#c9eff5;padding:58px 28px;font-size:17px;line-height:1.55;
  backdrop-filter:blur(16px) saturate(118%);
  -webkit-backdrop-filter:blur(16px) saturate(118%);
  overflow:visible;
}
#info p{margin:0 0 36px}#info p:last-child{margin-bottom:0}#info .lead{font-size:17px;text-transform:uppercase}

/* BUILD 081 — easy menu color controls */
:root{
  --MENU-COLOR:rgb(192,199,219);
  --MENU-HOVER-COLOR:rgb(247,232,215);

  /* ITEM MENU preview colors — all use ONE HUGS_POP_product_ITEM.svg file */
  --ITEM-PREVIEW-LEFT-TOP-FILTER:hue-rotate(0deg) saturate(1.20);
  --ITEM-PREVIEW-LEFT-BOTTOM-FILTER:grayscale(1) brightness(.26) contrast(1.25);
  --ITEM-PREVIEW-RIGHT-TOP-FILTER:hue-rotate(145deg) saturate(.90) brightness(1.12);
  --ITEM-PREVIEW-RIGHT-BOTTOM-FILTER:sepia(1) saturate(.62) hue-rotate(330deg) brightness(1.08);
}

/* MENU — PURE VECTOR. PERFECT SVG CIRCLE BACKGROUND. NO BACKGROUND IMAGE. NO MORPH. */
#menu{
  position:absolute;
  left:830px;
  top:820px;
  width:260px;
  height:200px;
  z-index:30;
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
  overflow:visible;
}
#menuBackgroundClip{
  position:absolute;
  left:20px;
  top:52px;
  width:220px;
  height:168px;
  overflow:hidden;
  pointer-events:auto;
}
#menuBackgroundVector{
  position:absolute;
  left:0;
  top:-52px;
  width:220px;
  height:220px;
  overflow:visible;
  pointer-events:auto;
}
#menuBackgroundVector .menu-direction-half{
  fill:var(--MENU-COLOR);
  pointer-events:all;
  cursor:pointer;
  transition:fill .16s ease;
}
#menuBackgroundVector .menu-direction-half:hover,
#menuBackgroundVector .menu-direction-half:focus{
  fill:var(--MENU-HOVER-COLOR);
}

/* =========================================================
   BUILD 081 — ITEM MENU WHEEL PREVIEW
   VISUAL ONLY: circular side arcs + horizontal ticks + four
   previews made from the same HUGS_POP_product_ITEM.svg.
   ========================================================= */
#itemMenuWheelPreview{
  position:absolute;
  /* TRUE center of #menuBackgroundVector's rendered circle:
     X = 20px clip offset + 110px rendered SVG center = 130px
     Y = 52px clip offset - 52px SVG offset + 110px rendered SVG center = 110px */
  left:130px;
  top:110px;
  width:600px;
  height:520px;
  transform:translate(-50%,-50%);
  pointer-events:none;
  z-index:-1;
  overflow:visible;
}
.item-menu-wheel-lines{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
}
.item-menu-circle,
.item-menu-tick{
  fill:none;
  stroke:rgb(255,255,255);
  stroke-width:1;
  stroke-opacity:.65;
  stroke-linecap:round;
  vector-effect:non-scaling-stroke;
}
.item-menu-preview{
  position:absolute;
  width:52px;
  height:52px;
  object-fit:contain;
  transform:translate(-50%,-50%);
  transform-origin:50% 50%;
}
.item-menu-preview-left-top{filter:var(--ITEM-PREVIEW-LEFT-TOP-FILTER);}
.item-menu-preview-left-middle{filter:var(--ITEM-PREVIEW-RIGHT-TOP-FILTER);}
.item-menu-preview-left-bottom{filter:var(--ITEM-PREVIEW-LEFT-BOTTOM-FILTER);}
.item-menu-preview-right-top{filter:var(--ITEM-PREVIEW-RIGHT-TOP-FILTER);}
.item-menu-preview-right-middle{filter:var(--ITEM-PREVIEW-LEFT-TOP-FILTER);}
.item-menu-preview-right-bottom{filter:var(--ITEM-PREVIEW-RIGHT-BOTTOM-FILTER);}
.item-menu-preview-bottom-90{filter:var(--ITEM-PREVIEW-LEFT-BOTTOM-FILTER);}

#menuLogo{
  position:absolute;
  left:50%;
  top:90px;
  width:162px;
  height:162px;
  transform:translate(-50%,-28%);
  pointer-events:none;
}
#menuLogo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:opacity .10s linear}
#menuLogo .logo-open{opacity:1}
#menuLogo .logo-close{opacity:0}
#menu:hover #menuLogo .logo-open,#menu:focus-visible #menuLogo .logo-open{opacity:0}
#menu:hover #menuLogo .logo-close,#menu:focus-visible #menuLogo .logo-close{opacity:1}

#status{position:absolute;left:18px;bottom:14px;z-index:100;color:#dff7ff;font:12px/1.3 monospace;opacity:.0;pointer-events:none}
@media(max-width:700px){#infoTitle{left:1030px;top:670px;width:680px}#info{left:1030px;top:752px;width:680px;height:auto;min-height:0;padding:30px}#price{left:160px;top:120px}#menu{top:820px}}

/* Interactive children inside BOX-C #2 */
#boxC2 #price,
#boxC2 #infoTitle,
#boxC2 #info{
  pointer-events:auto;
}


/* =========================================================
   BOX-C #1 — LANDING / INTRO
   Exact vector geometry extracted from the supplied Illustrator files.
   7 independent shapes: H U G S + P O P.
   ========================================================= */
#boxC1{
  z-index:40;
  display:block;
}

#landingWordmark{
  position:absolute;
  left:50%;
  top:47%;
  width:1420px;
  height:auto;
  transform:translate(-50%,-50%);
  overflow:visible;
}

/* POP exact Illustrator colors */
#landing-P-left{fill:#03BBFF;}
#landing-O{fill:#3BCAFE;}
#landing-P-right{fill:#03BBFF;}

/* HUGS exact Illustrator fill. Each letter has its OWN independent border variables.
   BUILD 013: deeper layered Photoshop-style shadows are applied PER LETTER so H/U/G/S
   remain independently animatable in future builds. Geometry/position are untouched. */
.hugs-letter{
  fill:#B18173;
  vector-effect:non-scaling-stroke;
  paint-order:stroke fill;
  stroke-linejoin:round;
  stroke-linecap:round;

  /* BUILD 019: same proven CSS drop-shadow renderer, but ALL Y offsets are
     real variables.  This makes the hard shadow itself move down instead of
     only moving a hidden/soft far layer. */
  filter:none;
}


/* BUILD 033 — OUTER SHADOWS LIVE ON THEIR OWN COPY so the moving mask
   affects shadows without fading/masking the actual HUGS face. */
.landing-hugs-shadow-reveal{
  pointer-events:none;
}
.hugs-shadow-source{
  fill:#B18173;
  stroke:none;
  vector-effect:non-scaling-stroke;
  filter:
    drop-shadow(2px var(--hugs-shadow-hard-distance) var(--hugs-shadow-hard-blur) rgba(45,25,18,.67))
    drop-shadow(7px var(--hugs-shadow-mid-distance) var(--hugs-shadow-mid-blur) rgba(58,34,25,.55))
    drop-shadow(24px var(--hugs-shadow-far-distance) var(--hugs-shadow-far-blur) rgba(49,30,23,.30));
}

.letter-h{stroke:var(--landing-h-stroke, transparent);stroke-width:var(--landing-h-stroke-width,0px);}
.letter-u{stroke:var(--landing-u-stroke, transparent);stroke-width:var(--landing-u-stroke-width,0px);}
.letter-g{stroke:var(--landing-g-stroke, transparent);stroke-width:var(--landing-g-stroke-width,0px);}
.letter-s{stroke:var(--landing-s-stroke, transparent);stroke-width:var(--landing-s-stroke-width,0px);}

/* Development state: BOX-C #1 visible; BOX-C #2 remains intact underneath and is simply hidden. */
body.boxc1-dev #boxC2,
body.boxc1-dev #menu{
  visibility:hidden;
}
body.boxc1-dev #landingHUGS{opacity:0;}

/* =========================================================
   BUILD 010 — V56 BEHAVIOR ONLY, BUILD 007 POSITIONS LOCKED
   Nothing below changes #landingWordmark, H/U/G/S, or #menu coordinates.
   ========================================================= */
/* Keep BOX-C #2 hidden during landing work. The original BUILD 007 menu is
   hidden until V56 reaches its COMPLETE final frame, then handed off exactly. */
body.boxc1-dev #boxC2,
body.boxc1-dev #menu{visibility:hidden;}
body.boxc1-dev.boxc1-menu-ready #menu{visibility:visible;}
/* BUILD 078: JS drives #menu opacity so its existing position/hover artwork is untouched. */
body.boxc1-dev #menu{opacity:0;}


/* =========================================================
   BUILD 020 — HUGS INNER DEPTH / PHOTOSHOP-STYLE INNER SHADOW
   IMPORTANT: user's outer shadow values above are preserved exactly.
   This overlay adds depth INSIDE each exact H/U/G/S vector only.
   ========================================================= */
.hugs-inner-depth{
  pointer-events:none;
}
.hugs-inner-shadow{
  fill:#B18173;
  stroke:none;
  filter:url(#hugsInnerShadow);
  pointer-events:none;
}


/* =========================================================
   BUILD 021 — SUBTLE HUGS TOP/UPPER-LEFT HIGHLIGHT
   User-modified outer shadows and hard inner shadow above remain untouched.
   This is intentionally restrained: only a small opposing light cue.
   ========================================================= */
.hugs-inner-highlight-depth{
  pointer-events:none;
}
.hugs-inner-highlight{
  fill:#B18173;
  stroke:none;
  filter:url(#hugsInnerHighlight);
  opacity:.72;
  pointer-events:none;
}


/* =========================================================
   BUILD 061 — MALE / FEMALE ICON SCALE CONTROLS
   XBO: change ONLY these two CSS variables to resize icons.
   1.00 = original size, 1.25 = 25% larger, 1.50 = 50% larger.
   ========================================================= */
:root{
  --theme-male-icon-scale:1.25;
  --theme-female-icon-scale:1.25;

  /* BUILD 063 — independent invisible selector hit areas */
  --theme-male-hit-width:96px;
  --theme-male-hit-height:126px;
  --theme-female-hit-width:96px;
  --theme-female-hit-height:126px;
  --theme-diamond-hit-width:86px;
  --theme-diamond-hit-height:86px;
}

/* =========================================================
   BUILD 053 — MALE CHILD / DIAMOND / FEMALE REVEAL FIX
   Fixes V052 CSS parsing only for the new selector icons.
   V051 protected animation and all unrelated values remain untouched.
   ========================================================= */
#themeIconReveal{
  position:absolute;
  left:960px;
  top:930px;
  width:0;
  height:0;
  z-index:29; /* behind existing #menu during lower orbit */
  pointer-events:none;
  opacity:0;
}
.theme-choice-button{
  position:absolute; left:0; top:0;
  border:0; padding:0; margin:0; background:transparent;
  overflow:visible; opacity:0; pointer-events:auto; cursor:pointer;
}
.theme-hit-button.theme-male-hit{width:var(--theme-male-hit-width);height:var(--theme-male-hit-height);margin-left:calc(var(--theme-male-hit-width) / -2);margin-top:calc(var(--theme-male-hit-height) * -0.15);}
.theme-hit-button.theme-female-hit{width:var(--theme-female-hit-width);height:var(--theme-female-hit-height);margin-left:calc(var(--theme-female-hit-width) / -2);margin-top:calc(var(--theme-female-hit-height) * -0.15);}
.theme-hit-button.theme-diamond-hit{width:var(--theme-diamond-hit-width);height:var(--theme-diamond-hit-height);margin-left:calc(var(--theme-diamond-hit-width) / -2);margin-top:calc(var(--theme-diamond-hit-height) / -2);}
.theme-choice-button:focus-visible{outline:none;}
.theme-choice-icon{
  position:absolute;
  left:0;
  top:0;
  width:52px;
  height:66px;
  object-fit:contain;
  transform-origin:50% 15%;
  opacity:0;
  will-change:transform,opacity;
}
.theme-male-icon{scale:var(--theme-male-icon-scale);transform:translate(-50%,calc(-50% + 130px)) rotate(-90deg);}
.theme-female-icon{scale:var(--theme-female-icon-scale);transform:translate(-50%,calc(-50% + 130px)) rotate(90deg);}
.theme-diamond-icon{width:54px;height:54px;transform:translate(-50%,-50%) scale(.08); transform-origin:50% 50%;}




/* BUILD 063 — transparent hit layer above #menu. Visual selector remains z-index 29. */
#themeHitAreas{position:absolute;left:960px;top:930px;width:0;height:0;z-index:80;pointer-events:none;opacity:0;}
.theme-hit-button{position:absolute;left:0;top:0;border:0;padding:0;background:transparent;pointer-events:auto;cursor:pointer;}
.theme-hit-button:focus-visible{outline:1px solid currentColor;}

/* BUILD 089 */
#itemMenuWheelPreview.item-wheel-awaiting-click{opacity:0!important;visibility:hidden;pointer-events:none}
#itemMenuWheelPreview.item-wheel-revealing{visibility:visible;pointer-events:auto;animation:XBO_itemWheelFadeIn 1.10s ease-out both}
#itemMenuWheelPreview.item-wheel-visible{visibility:visible;opacity:1;pointer-events:auto}
@keyframes XBO_itemWheelFadeIn{from{opacity:0}to{opacity:1}}
#menuBackgroundVector .menu-direction-half.xbo-warning-blink{
  fill:#91031d!important;
  fill-opacity:.45!important;
}


/* =========================================================
   BUILD 091 — TRUE RADIAL WHEEL ROTOR
   Same architecture as the supplied circular-wheel reference:
   ONE --rot value rotates the complete radial ITEM/tick layer.
   ========================================================= */
#itemMenuWheelRotor{
  position:absolute;
  inset:0;
  width:600px;
  height:520px;
  transform-origin:300px 260px;
  transform:rotate(var(--rot, 0deg));
  transition:transform .70s cubic-bezier(.3,1,.35,1);
  pointer-events:none;
}
#itemMenuWheelRotor .item-menu-preview{
  pointer-events:auto;
}


/* =========================================================
   BUILD 092 — SLOT-TO-SLOT WHEEL + UPRIGHT PRODUCT ART
   Rotor moves around the wheel; each SVG counter-rotates by
   the exact inverse amount, as in the supplied wheel example.
   ========================================================= */
#itemMenuWheelRotor .item-menu-preview{
  rotate: var(--item-counter-rot, 0deg);
  transition:
    rotate .70s cubic-bezier(.3,1,.35,1);
}

/* BUILD 098 — each radial LINE + ITEM SVG is one movable unit. */
#itemMenuWheelRotor{
 position:absolute;inset:0;width:600px;height:520px;
 transform:none!important;transition:none!important;pointer-events:none;
}
.radial-item-unit{
 position:absolute;width:0;height:0;transform-origin:0 0;
 pointer-events:none;will-change:transform;
}
.radial-item-line{
 position:absolute;top:-0.5px;height:1px;
 background:rgba(255,255,255,.65);pointer-events:none;
}
.radial-item-unit .item-menu-preview{
 position:absolute;width:52px;height:52px;object-fit:contain;
 transform-origin:50% 50%;pointer-events:auto;will-change:transform;
}

/* BUILD 101 — JSON MASTER PRODUCT DISPLAY */
.xbo-master-svg-host{display:block}
.xbo-master-svg-host svg{display:block;width:100%;height:100%}
.active-product-display{position:absolute;inset:0;z-index:7;pointer-events:none}
.active-product-label{
 position:absolute;left:395px;top:108px;min-width:150px;max-width:190px;
 padding:8px 16px 9px;border-radius:18px;text-align:center;white-space:nowrap;
 overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;
 font:600 20px/1.05 Georgia,serif;letter-spacing:.01em
}
.active-product-center-icon{
 position:absolute;left:300px;top:260px;width:82px;height:82px;
 transform:translate(-50%,-50%)
}
.active-product-center-icon svg{display:block;width:100%;height:100%}

/* BUILD 103 — physical product units: JSON HEX is literal rendered paint */
#itemMenuWheelRotor .radial-item-unit .xbo-master-svg-host{
 display:block!important;
 background-image:none!important;
 background-repeat:no-repeat!important;
 opacity:1!important;
}
#activeProductCenterIcon.xbo-master-svg-host,
.active-product-center-icon{
 background-repeat:no-repeat!important;
}


/* BUILD 110 — permanent JSON order number centered inside every tiny radial ITEM.
   Diagnostic identity follows the ITEM itself through visible + hidden queue slots. */
.radial-item-unit .xbo-item-order-number{
 position:absolute;z-index:20;width:52px;height:52px;
 display:flex;align-items:center;justify-content:center;
 transform-origin:50% 50%;pointer-events:none;
 font:900 19px/1 Arial,sans-serif;color:#fff;
 -webkit-text-stroke:1px rgba(0,0,0,.9);
 text-shadow:0 1px 2px #000,0 0 3px #000;
 box-sizing:border-box;will-change:transform;
}

/* =========================================================
   BUILD 113 — CHECKPOINT TEXT / COLOR DISPLAY
   The dynamic product caption belongs to physical CHECKPOINT P1.
   It is NOT a radial ITEM and never rotates. Keep it centered on
   the menu/wheel centerline, directly above the menu.
   ========================================================= */
.active-product-label{
  left:300px!important;
  top:108px!important;
  transform:translateX(-50%)!important;
  min-width:150px;
  max-width:240px;
  width:max-content;
  text-align:center;
  z-index:30;
}
/* The checkpoint display is TEXT + COLOR only. No extra product icon in the middle. */
.active-product-center-icon{display:none!important;}

/* =========================================================
   BUILD 114 — DYNAMIC CHECKPOINT LABEL SIZE + LOWER POSITION
   - Move the fixed P1 product label 25px closer to the menu.
   - Let the colored background grow to the full JSON product name.
   - No truncation / ellipsis / fixed maximum width.
   ========================================================= */
.active-product-label{
  left:300px!important;
  top:133px!important;
  transform:translateX(-50%)!important;
  width:max-content!important;
  min-width:0!important;
  max-width:none!important;
  padding:8px 16px 9px!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  box-sizing:border-box!important;
}


/* =========================================================
   BUILD 115 — CENTER CHECKPOINT IS THE ACTIVE ITEM
   P1 is physically inside the menu center. The same JSON ITEM
   drives the centered SVG + the text/color label. On the next
   accepted step that ITEM becomes radial history P2.
   ========================================================= */
.active-product-center-icon{
  display:block!important;
  left:300px!important;
  top:260px!important;
  width:82px!important;
  height:82px!important;
  transform:translate(-50%,-50%)!important;
  z-index:31!important;
  visibility:visible;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
}

/* =========================================================
   BUILD 118 — V116 BASELINE + SAFE VISUAL CORRECTIONS
   - Keep V116 intro/startup and its original hidden upper arc intact.
   - Move checkpoint label another 25px down.
   - Keep diagnostic item numbers in DOM, but hide them visually.
   - Animate the current large CENTER checkpoint item into P2 on RIGHT.
   ========================================================= */
.active-product-label{top:158px!important;}
.radial-item-unit .xbo-item-order-number{
  opacity:0!important;
  visibility:hidden!important;
}
.xbo-checkpoint-exit-ghost{
  position:absolute;
  left:300px;
  top:260px;
  width:82px;
  height:82px;
  transform:translate(-50%,-50%) rotate(0deg);
  transform-origin:50% 50%;
  z-index:32;
  pointer-events:none;
  will-change:left,top,width,height,transform;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
}


/* BUILD 132 — ONLY FIX FROM LOCKED V125: center P1 SVG follows existing radial reveal. */
#menu > #activeProductCenterIcon{
  left:130px!important;top:110px!important;width:82px!important;height:82px!important;
  z-index:31!important;pointer-events:none!important;opacity:0!important;visibility:hidden!important;
}
#menu:has(#itemMenuWheelPreview.item-wheel-revealing) > #activeProductCenterIcon{
  visibility:visible!important;animation:XBO_itemWheelFadeIn 1.10s ease-out both;
}
#menu:has(#itemMenuWheelPreview.item-wheel-visible) > #activeProductCenterIcon{
  visibility:visible!important;opacity:1!important;
}

/* =========================================================
   BUILD 142 — BOX-C #1 RESPONSIVE Z-DEPTH SCENARIO
   Adds only the new post-intro hugRS + text layers.
   Position/timing variables are centralized in BUILD 152 below.
   ========================================================= */
#boxC1DepthScene{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  perspective:1600px;
  transform-style:preserve-3d;
  pointer-events:none;
  z-index:60;
}
.boxc1-depth-layer{
  position:absolute;
  inset:0;
  transform-style:preserve-3d;
  pointer-events:none;
}
#boxC1HugRSLayer{transform:translateZ(100px);pointer-events:none;}
#boxC1WelcomeLayer{transform:translateZ(160px);}
#boxC1HugRS3D{
  position:absolute;
  left:var(--boxc1-hugrs-left);
  top:var(--boxc1-hugrs-top);
  width:var(--boxc1-hugrs-width);
  aspect-ratio:1/1;
  transform:translate(-50%,-50%);
  opacity:0;
  will-change:transform,opacity;
  pointer-events:auto;
  cursor:grab;
  touch-action:none;
}
#boxC1HugRS3D.is-dragging{cursor:grabbing;}
#boxC1HugRS3D canvas{display:block;width:100%;height:100%;}
#boxC1WelcomeText{
  opacity:0;
  will-change:transform,opacity;
}
#landingWordmark{
  filter:blur(var(--boxc1-wordmark-blur-from));
  transition:filter var(--boxc1-wordmark-blur-duration) ease;
}
body.boxc1-hugrs-scene #landingWordmark{
  filter:blur(var(--boxc1-wordmark-blur));
}
body.boxc1-welcome-visible #boxC1WelcomeText{
  opacity:1;
  transition:opacity .42s ease,transform .65s cubic-bezier(.16,.84,.28,1);
}
@media(max-width:700px){
  :root{
    --boxc1-hugrs-width:560px;
  }
}


/* =========================================================
   HUGS POP — BUILD 151
   BOX-C #1 typography + independently movable text layers.
   Font files live in /ots and are NOT embedded in this build.
   ========================================================= */
@font-face{
  font-family:"Briquete";
  src:url("../ots/Briquete-ow97z.woff2") format("woff2"),
      url("../ots/Briquete-ow97z.woff") format("woff");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}
@font-face{
  font-family:"Manrope";
  src:url("../ots/manrope-thin.woff2") format("woff2"),
      url("../ots/manrope-thin.woff") format("woff");
  font-style:normal;
  font-weight:100;
  font-display:swap;
}
@font-face{
  font-family:"Alte Haas Grotesk";
  src:url("../ots/AlteHaasGroteskRegular.woff2") format("woff2"),
      url("../ots/AlteHaasGroteskRegular.woff") format("woff");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}
@font-face{
  font-family:"Alte Haas Grotesk";
  src:url("../ots/AlteHaasGroteskBold.woff2") format("woff2"),
      url("../ots/AlteHaasGroteskBold.woff") format("woff");
  font-style:normal;
  font-weight:700;
  font-display:swap;
}
/* =========================================================
   HUGS POP — BUILD 152 MASTER CONTROLS
   ONE desktop source of truth for BOX-C #1 positions.
   ========================================================= */
:root{
  /* 3D INTRO MODEL */
  --boxc1-hugrs-left:76%;     /* X: larger = RIGHT, smaller = LEFT */
  --boxc1-hugrs-top:42%;      /* Y: larger = DOWN, smaller = UP */
  --boxc1-hugrs-width:650px;  /* model viewport size */
  --boxc1-hugrs-frame-padding:1.28; /* >1 = more empty space around model */

  /* WELCOME — Briquete */
  --boxc1-welcome-left:29%;
  --boxc1-welcome-top:23%;

  /* HUGS POP ™ | HUGGERS — Manrope */
  --boxc1-huggers-left:26%;
  --boxc1-huggers-top:31%;

  /* THIN TITLE LINE */
  --boxc1-title-line-left:7.2%;
  --boxc1-title-line-top:34.5%;
  --boxc1-title-line-width:35%;
  --boxc1-title-line-thickness:1px;
  --boxc1-title-line-color:#f5ead7;

  /* STORY — Alte Haas Grotesk */
  --boxc1-story-left:13%;
  --boxc1-story-top:43%;

  /* HUGS + POP + SHADOW blur */
  --boxc1-wordmark-blur-from:0px;
  --boxc1-wordmark-blur:8px;
  --boxc1-wordmark-blur-duration:1.20s;
}
#boxC1WelcomeLayer{transform:translateZ(160px);}
#boxC1HuggersLayer{transform:translateZ(161px);}
#boxC1TitleLineLayer{transform:translateZ(161.5px);}
#boxC1StoryLayer{transform:translateZ(162px);}
#boxC1WelcomeText,
#boxC1HuggersText{
  position:absolute;
  transform:translate(-50%,-50%);
  color:#654534;
  white-space:nowrap;
  pointer-events:none;
}
/* BUILD 168 — STORY IS COMPLETELY SEPARATE FROM WELCOME / HUGGERS COLOR CSS. */
#boxC1StoryText{
  position:absolute;
  transform:translate(-50%,-50%);
  color:#fff;
  white-space:nowrap;
  pointer-events:auto;
  cursor:pointer;
  z-index:4;
}
/* Any explicit FEMALE / MALE / bDIAMOND choice makes ONLY these two intro texts white. */
html[data-hugs-theme] #boxC1WelcomeText,
html[data-hugs-theme] #boxC1HuggersText{
  color:#fff;
}

#boxC1TitleLine{
  position:absolute;
  left:var(--boxc1-title-line-left);
  top:var(--boxc1-title-line-top);
  width:var(--boxc1-title-line-width);
  height:var(--boxc1-title-line-thickness);
  /* XBO: LEFT + CENTER = 100%; CENTER -> RIGHT fades smoothly to 0%. */
  background:linear-gradient(
    to right,
    var(--boxc1-title-line-color) 0%,
    var(--boxc1-title-line-color) 50%,
    rgba(245,234,215,0) 100%
  );
  opacity:0;
  pointer-events:none;
}
body.boxc1-welcome-visible #boxC1TitleLine{
  opacity:1;
  transition:opacity .42s ease;
}

#boxC1WelcomeText{
  left:var(--boxc1-welcome-left);
  top:var(--boxc1-welcome-top);
  font-family:"Briquete",cursive;
  font-size:120px;
  font-weight:400;
  line-height:1;
}
#boxC1HuggersText{
  left:var(--boxc1-huggers-left);
  top:var(--boxc1-huggers-top);
  font-family:"Manrope",sans-serif;
  font-size:17px;
  font-weight:25;
  line-height:1;
  letter-spacing:.01em;
}
#boxC1StoryText{
  left:var(--boxc1-story-left);
  top:var(--boxc1-story-top);
  font-family:"Alte Haas Grotesk",sans-serif;
  font-size:18px;
  font-weight:50;
  line-height:1.2;
}
.boxc1-tm{font-size:.55em;vertical-align:super;}
#boxC1HuggersText,#boxC1StoryText{opacity:0;}
body.boxc1-welcome-visible #boxC1HuggersText,
body.boxc1-welcome-visible #boxC1StoryText{
  opacity:1;
  transition:opacity .42s ease,transform .65s cubic-bezier(.16,.84,.28,1);
}
@media(max-width:700px){
  #boxC1WelcomeText{font-size:clamp(64px,14vw,108px);}
  #boxC1HuggersText{font-size:clamp(16px,3.3vw,26px);}
  #boxC1StoryText{font-size:clamp(16px,3.1vw,24px);}
}




/* =========================================================
   V157 — GLOBAL 3D TRANSPARENCY LOCK
   ABSOLUTE RULE: no 3D host/canvas may ever paint a background.
   Applies before loading, during loading, after loading and on refresh.
   ========================================================= */
.three-slot,
.three-slot canvas,
#girl3d,
#girl3d canvas,
#product3d,
#product3d canvas,
#boxC1HugRS3D,
#boxC1HugRS3D canvas,
canvas[data-hugs-pop-three="true"]{
  background:none !important;
  background-color:transparent !important;
  background-image:none !important;
}


/* =========================================================
   BUILD 159 — BOTTOM-RIGHT SPIN RADIAL WHEEL GEOMETRY FIX
   Q mapping untouched. Wheel opens from invisible corner hit area.
   ========================================================= */
.mobile-spin-radial{
  --spin-radius:142px;
  --spin-center-right:24px;
  --spin-center-bottom:24px;
  position:fixed;
  right:0;
  bottom:0;
  width:320px;
  height:320px;
  z-index:140;
  pointer-events:none;
  overflow:visible;
}
.mobile-spin-rotor{
  position:absolute;
  right:var(--spin-center-right);
  bottom:var(--spin-center-bottom);
  width:0;
  height:0;
  opacity:0;
  transform:scale(.88);
  transform-origin:0 0;
  transition:opacity .34s ease,transform .42s cubic-bezier(.2,.8,.2,1);
  pointer-events:none;
  touch-action:none;
}
.mobile-spin-radial.is-visible .mobile-spin-rotor{
  opacity:1;
  transform:scale(1);
  pointer-events:auto;
}
.mobile-spin-item{
  position:absolute;
  left:0;
  top:0;
  margin:0;
  border:0;
  padding:0;
  transform-origin:0 0;
  cursor:pointer;
  user-select:none;
  -webkit-user-select:none;
  touch-action:none;
  color:#f5ead7;
  background:transparent;
  white-space:nowrap;
  font-family:"Manrope","Alte Haas Grotesk",Arial,sans-serif;
  font-size:11px;
  font-weight:400;
  z-index:142;
}
.mobile-spin-color{
  width:25px;
  height:25px;
  border-radius:3px;
  box-shadow:0 0 0 1px rgba(245,234,215,.45);
}
.mobile-spin-pink{background:#f06ad8}
.mobile-spin-blue{background:#0aaeea}
.mobile-spin-graphite{background:#2f3033}
.mobile-spin-text{
  min-width:74px;
  height:24px;
  line-height:24px;
  text-align:center;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}
.mobile-spin-text-long{min-width:132px}
/* Invisible activation area only. No orange/visible background. */
.mobile-spin-corner{
  position:absolute;
  right:0;
  bottom:0;
  width:96px;
  height:96px;
  border:0;
  padding:0;
  margin:0;
  background:transparent!important;
  opacity:1;
  cursor:pointer;
  pointer-events:auto;
  touch-action:manipulation;
  z-index:141;
}
.mobile-spin-corner::before,
.mobile-spin-corner::after{content:none!important;display:none!important}
.mobile-spin-radial.theme-selectors-visible .mobile-spin-rotor{
  opacity:0!important;
  transform:scale(.88)!important;
  pointer-events:none!important;
}
@media (max-width:700px){
  .mobile-spin-radial{
    --spin-radius:116px;
    --spin-center-right:20px;
    --spin-center-bottom:20px;
    width:270px;
    height:270px;
  }
  .mobile-spin-text{font-size:10px;min-width:66px}
  .mobile-spin-text-long{min-width:116px}
  .mobile-spin-corner{width:88px;height:88px}
}


/* =========================================================
   BUILD 160 — hard viewport anchoring + no startup flash
   ========================================================= */
#mobileSpinRadial.mobile-spin-radial{
  position:fixed !important;
  left:auto !important;
  top:auto !important;
  right:0 !important;
  bottom:0 !important;
  margin:0 !important;
  transform:none !important;
  visibility:visible;
}
#mobileSpinRadial.spin-not-ready .mobile-spin-rotor{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
#mobileSpinRadial.spin-not-ready .mobile-spin-corner{
  pointer-events:none !important;
}

/* =========================================================
   BUILD 161 — FINGER-SPACED / HORIZONTAL / WINDOWED RADIAL ITEMS
   Only the active arc is visible. Legal text waits outside the arc.
   ========================================================= */
#mobileSpinRadial.mobile-spin-radial{
  --spin-radius:190px;
  --spin-center-right:8px;
  --spin-center-bottom:8px;
  width:390px;
  height:390px;
}
#mobileSpinRadial .mobile-spin-item{
  /* A real touch target: minimum 52 x 52 CSS px. */
  min-width:52px;
  min-height:52px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .20s ease, visibility .20s step-end;
  display:flex;
  align-items:center;
  justify-content:center;
  transform-origin:0 0;
}
#mobileSpinRadial.is-visible .mobile-spin-item.spin-slot-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition:opacity .20s ease, visibility 0s;
}
#mobileSpinRadial .mobile-spin-color{
  width:52px;
  height:52px;
  min-width:52px;
  min-height:52px;
  border-radius:8px;
  box-shadow:0 0 0 1px rgba(245,234,215,.55);
}
#mobileSpinRadial .mobile-spin-text{
  width:auto;
  min-width:112px;
  height:52px;
  min-height:52px;
  padding:0 14px;
  line-height:1.15;
  font-size:13px;
  text-align:center;
  border-radius:8px;
}
#mobileSpinRadial .mobile-spin-text-long{
  min-width:174px;
}
#mobileSpinRadial .mobile-spin-corner{
  width:104px;
  height:104px;
}
@media (max-width:700px){
  #mobileSpinRadial.mobile-spin-radial{
    --spin-radius:156px;
    --spin-center-right:6px;
    --spin-center-bottom:6px;
    width:330px;
    height:330px;
  }
  #mobileSpinRadial .mobile-spin-color{
    width:50px;height:50px;min-width:50px;min-height:50px;
  }
  #mobileSpinRadial .mobile-spin-item{min-width:50px;min-height:50px}
  #mobileSpinRadial .mobile-spin-text{min-width:104px;height:50px;min-height:50px;font-size:12px;padding:0 12px}
  #mobileSpinRadial .mobile-spin-text-long{min-width:160px}
}


/* =========================================================
   BUILD 162 — SMALL VISIBLE CONTROLS + LARGE INVISIBLE TOUCH TARGETS
   V161 spacing/geometry is preserved. Visible squares are reduced,
   while every radial slot keeps a 52px finger hit area.
   ========================================================= */
#mobileSpinRadial .mobile-spin-item{
  min-width:52px;
  min-height:52px;
  cursor:grab;
}
#mobileSpinRadial .mobile-spin-item:active,
#mobileSpinRadial .mobile-spin-rotor:active{
  cursor:grabbing;
}
#mobileSpinRadial .mobile-spin-color{
  width:28px;
  height:28px;
  min-width:28px;
  min-height:28px;
  border-radius:4px;
}
#mobileSpinRadial .mobile-spin-text{
  min-width:92px;
  height:34px;
  min-height:34px;
  padding:0 10px;
  font-size:11px;
}
#mobileSpinRadial .mobile-spin-text-long{
  min-width:148px;
}
@media (max-width:700px){
  #mobileSpinRadial .mobile-spin-item{min-width:52px;min-height:52px}
  #mobileSpinRadial .mobile-spin-color{
    width:28px;height:28px;min-width:28px;min-height:28px;
  }
  #mobileSpinRadial .mobile-spin-text{
    min-width:88px;height:34px;min-height:34px;font-size:11px;padding:0 9px;
  }
  #mobileSpinRadial .mobile-spin-text-long{min-width:142px}
}



/* =========================================================
   BUILD 164 — VISIBLE DRAG ARC + SEPARATE CLICKABLE BUTTONS
   - Visible arc is the ONLY drag surface.
   - Arc has a broad transparent finger/mouse hit band.
   - Color/legal items remain independent click/tap buttons.
   ========================================================= */
#mobileSpinRadial .mobile-spin-item{
  cursor:pointer;
  touch-action:manipulation;
  z-index:146;
}

/* The drag control is a full circle centered just inside the viewport corner.
   The viewport clips it naturally to the requested bottom-right quarter arc. */
#mobileSpinRadial .mobile-spin-drag-ring{
  position:absolute;
  right:var(--spin-center-right);
  bottom:var(--spin-center-bottom);
  width:calc(var(--spin-radius) * 2);
  height:calc(var(--spin-radius) * 2);
  box-sizing:border-box;
  transform:translate(50%,50%);
  border:30px solid transparent;       /* large invisible grab width */
  border-radius:50%;
  background:transparent!important;
  z-index:144;
  cursor:grab;
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .20s ease,visibility .20s step-end;
}

/* Thin elegant VISIBLE line centered inside the large drag band. */
#mobileSpinRadial .mobile-spin-drag-ring::before{
  content:"";
  position:absolute;
  inset:-18px;
  border:4px solid rgba(245,234,215,.88);
  border-radius:50%;
  box-sizing:border-box;
  pointer-events:none;
}

#mobileSpinRadial.is-visible .mobile-spin-drag-ring{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition:opacity .20s ease,visibility 0s;
}
#mobileSpinRadial .mobile-spin-drag-ring:active{cursor:grabbing}

/* Corner is only for reopening the hidden wheel. Once open, it must not sit
   over the arc and steal pointer input from the drag ring. */
#mobileSpinRadial.is-visible .mobile-spin-corner{
  pointer-events:none!important;
}
#mobileSpinRadial:not(.is-visible) .mobile-spin-corner{
  pointer-events:auto!important;
}


/* =========================================================
   BUILD 165 — COMPACT SPIN WHEEL + MASTER SIZE VARIABLES
   These are the main visual controls for the bottom-right wheel.
   ========================================================= */
#mobileSpinRadial.mobile-spin-radial{
  /* MASTER SPIN-WHEEL VISUAL VARIABLES */
  --spin-radius:118px;          /* overall wheel radius / distance from corner center */
  --spin-color-size:27px;       /* MASTER visible PINK / BLUE / GRAPHITE square size */
  --spin-ring-width:12px;       /* VISIBLE cream drag-circle thickness */
  --spin-ring-hit-width:34px;   /* invisible finger/mouse grab thickness */
  --spin-center-right:5px;
  --spin-center-bottom:5px;
  width:270px;
  height:270px;
}

/* Keep a generous invisible button hit area, but make the visible square compact. */
#mobileSpinRadial .mobile-spin-item{
  min-width:48px;
  min-height:48px;
}
#mobileSpinRadial .mobile-spin-color{
  width:var(--spin-color-size);
  height:var(--spin-color-size);
  min-width:var(--spin-color-size);
  min-height:var(--spin-color-size);
  border-radius:3px;
}

/* Thick visible ring like the user's reference, with a still larger invisible grab band. */
#mobileSpinRadial .mobile-spin-drag-ring{
  border-width:var(--spin-ring-hit-width);
}
#mobileSpinRadial .mobile-spin-drag-ring::before{
  inset:calc((var(--spin-ring-hit-width) - var(--spin-ring-width)) * -0.5);
  border-width:var(--spin-ring-width);
}

@media (max-width:700px){
  #mobileSpinRadial.mobile-spin-radial{
    --spin-radius:104px;
    --spin-color-size:21px;
    --spin-ring-width:11px;
    --spin-ring-hit-width:32px;
    --spin-center-right:4px;
    --spin-center-bottom:4px;
    width:240px;
    height:240px;
  }
  #mobileSpinRadial .mobile-spin-item{min-width:48px;min-height:48px}
}


/* =========================================================
   BUILD 166 — LEGAL TEXT SPACING CONTROLS
   Geometry is controlled in js/mobile_spin_wheel.js by:
   SPIN_LEGAL_TEXT_DISTANCE_DEG and SPIN_LEGAL_TEXT_RADIUS_OFFSET.
   No V165 visual/CSS behavior changed here.
   ========================================================= */


/* =========================================================
   BUILD 169 — HUGGERS SEPARATOR SPACING + LEGAL TOUCH CARDS
   ========================================================= */
:root{
  --boxc1-huggers-separator-gap:14px; /* space on EACH side of | */

  --spin-legal-card-bg:rgba(20,26,34,.28);
  --spin-legal-card-blur:18px;
  --spin-legal-card-border:rgba(245,234,215,.34);
  --spin-legal-card-radius:9px;
  --spin-legal-card-height:38px;
  --spin-legal-card-padding-x:14px;
}
#boxC1HuggersText .boxc1-huggers-separator{
  display:inline-block;
  margin-left:var(--boxc1-huggers-separator-gap);
  margin-right:var(--boxc1-huggers-separator-gap);
}
#mobileSpinRadial .mobile-spin-text{
  box-sizing:border-box;
  height:var(--spin-legal-card-height);
  min-height:var(--spin-legal-card-height);
  padding-left:var(--spin-legal-card-padding-x);
  padding-right:var(--spin-legal-card-padding-x);
  background:var(--spin-legal-card-bg);
  border:1px solid var(--spin-legal-card-border);
  border-radius:var(--spin-legal-card-radius);
  -webkit-backdrop-filter:blur(var(--spin-legal-card-blur));
  backdrop-filter:blur(var(--spin-legal-card-blur));
  box-shadow:0 5px 18px rgba(0,0,0,.16);
  color:#fff;
  cursor:pointer;
}

/* =========================================================
   BUILD 170 — TM MASTER SIZE + DYNAMIC LEGAL CARDS
   ========================================================= */
:root{
  /* HUGS POP trademark mark only. 1.10em = 2x the previous .55em size. */
  --boxc1-huggers-tm-size:1.10em;

  /* Legal buttons: same Manrope family as HUGS POP, smaller/readable. */
  --spin-legal-font-size:11px;
  --spin-legal-font-weight:400;
}

/* Scope the TM control ONLY to the HUGS POP ™ | HUGGERS line. */
#boxC1HuggersText .boxc1-tm{
  font-size:var(--boxc1-huggers-tm-size);
  vertical-align:super;
}

/* IMPRESSUM / AGB / DATENSCHUTZERKLÄRUNG:
   the label itself determines the rectangle width — NO fixed/min text width. */
#mobileSpinRadial .mobile-spin-text,
#mobileSpinRadial .mobile-spin-text-long{
  width:max-content;
  min-width:0;
  max-width:none;
  height:var(--spin-legal-card-height);
  min-height:var(--spin-legal-card-height);
  padding:0 var(--spin-legal-card-padding-x);
  font-family:"Manrope",sans-serif;
  font-size:var(--spin-legal-font-size);
  font-weight:var(--spin-legal-font-weight);
  line-height:1;
  letter-spacing:.01em;
  white-space:nowrap;
  flex:none;
}

/* =========================================================
   BUILD 171 — STORY HUGS POP ™ AUTOMATIC TM SCALE
   ========================================================= */
:root{
  /* Every ™ belonging to HUGS POP ™ inside STORY uses this scale. */
  --boxc1-story-tm-size:1.10em;
}
#boxC1StoryText .boxc1-story-tm{
  font-size:var(--boxc1-story-tm-size);
  vertical-align:super;
}


/* =========================================================
   BUILD 173 — INLINE STORY / SEO CONTENT
   No popup. The story continues directly below the existing
   "The story of HUGS POP ™" landing text.
   ========================================================= */
:root{
  --boxc1-story-inline-width:560px;
  --boxc1-story-inline-gap:28px;
  --boxc1-story-inline-height:430px;
  --boxc1-story-inline-font-size:16px;
}
#boxC1StoryPanel{
  position:absolute;
  left:var(--boxc1-story-left);
  top:calc(var(--boxc1-story-top) + var(--boxc1-story-inline-gap));
  width:min(var(--boxc1-story-inline-width),72vw);
  height:var(--boxc1-story-inline-height);
  color:#fff;
  background:transparent;
  border:0;
  border-radius:0;
  box-sizing:border-box;
  transform:translateX(-50%);
  z-index:2;
  pointer-events:auto;
}
#boxC1StoryScroll{
  position:absolute;
  inset:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:0 18px 42px 0;
  box-sizing:border-box;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.boxc1-story-content{
  font-family:"Manrope",sans-serif;
  font-size:var(--boxc1-story-inline-font-size);
  line-height:1.58;
  font-weight:0;
  letter-spacing:.005em;
}
.boxc1-story-content h1{display:none;}
.boxc1-story-content h2{
  font-family:"Manrope",sans-serif;
  font-size:1.35em;
  font-weight:0;
  line-height:1.18;
  margin:2.2em 0 1em;
}
.boxc1-story-content p{margin:0 0 1.25em;}
.boxc1-story-signature{font-size:1.12em;margin-top:2em!important;}
.boxc1-story-content .boxc1-story-tm{
  display:inline-block;
  font-size:var(--boxc1-story-tm-size);
  line-height:0;
  vertical-align:super;
}
@media(max-width:700px){
  :root{--boxc1-story-inline-width:82vw;--boxc1-story-inline-height:42vh;--boxc1-story-inline-gap:20px;}
  #boxC1StoryScroll{padding-right:12px;}
}


/* =========================================================
   BUILD 174 — INVISIBLE STORY SCROLLING
   Story remains a real vertically scrollable semantic text region,
   but browser scrollbars are never drawn. Horizontal overflow is
   clipped completely. Mouse wheel / trackpad / touch still scroll.
   ========================================================= */
#boxC1StoryScroll{
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
#boxC1StoryScroll::-webkit-scrollbar{
  width:0;
  height:0;
  display:none;
}
#boxC1StoryPanel,
.boxc1-story-content{
  max-width:100%;
}
.boxc1-story-content{
  overflow-wrap:break-word;
  word-break:normal;
}

/* =========================================================
   BUILD 175 — STORY TIMING + NO-CLIP FIX
   ONLY fixes introduced by V173/V174 story continuation:
   1) inline Story body follows the existing Welcome reveal state;
   2) Story body uses a true left-edge anchor, so no line is clipped;
   3) scrollbars remain completely invisible while wheel/touch scrolling works.
   ========================================================= */
:root{
  /* Independent left edge for the Story BODY. The heading keeps the locked
     --boxc1-story-left position above. */
  --boxc1-story-panel-left:4.5%;
}

#boxC1StoryPanel{
  left:var(--boxc1-story-panel-left);
  transform:none;
  width:min(var(--boxc1-story-inline-width), calc(100vw - var(--boxc1-story-panel-left) - 24px));
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

/* SAME EXISTING reveal gate used by Welcome / subtitle / Story heading. */
body.boxc1-welcome-visible #boxC1StoryPanel{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition:opacity .42s ease;
}

#boxC1StoryScroll{
  left:0;
  right:0;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
#boxC1StoryScroll::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
}

.boxc1-story-content{
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
  box-sizing:border-box;
  overflow-wrap:normal;
  word-break:normal;
}

@media(max-width:700px){
  :root{--boxc1-story-panel-left:4.5%;}
  #boxC1StoryPanel{
    width:calc(100vw - (2 * var(--boxc1-story-panel-left)));
  }
}

/* =========================================================
   BUILD 176 — STORY WORK AREA ALIGNMENT
   Fixes only the inline Story text work area introduced in V173–V175.
   IMPORTANT: #boxC1StoryLayer uses translateZ(162px) under perspective,
   so a 4.5% layer-space left edge projects off-screen. The panel anchor
   is compensated in layer space so its VISIBLE edge aligns correctly.
   No popup and no visible scrollbars.
   ========================================================= */
:root{
  --boxc1-story-panel-left:8.6%;
  --boxc1-story-inline-width:760px;
  --boxc1-story-inline-height:500px;
  --boxc1-story-scroll-work-top:39%;
  --boxc1-story-scroll-initial-pad-top:72px;
}

#boxC1StoryPanel{
  left:var(--boxc1-story-panel-left);
  top:var(--boxc1-story-scroll-work-top);
  width:min(var(--boxc1-story-inline-width), calc(100vw - var(--boxc1-story-panel-left) - 32px));
  height:var(--boxc1-story-inline-height);
  transform:none;
}

#boxC1StoryScroll{
  inset:0;
  padding:var(--boxc1-story-scroll-initial-pad-top) 18px 42px 0;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:none;
  -ms-overflow-style:none;
  scroll-padding-top:var(--boxc1-story-scroll-initial-pad-top);
}
#boxC1StoryScroll::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
}

@media(max-width:700px){
  :root{
    --boxc1-story-panel-left:8.6%;
    --boxc1-story-inline-width:82vw;
    --boxc1-story-inline-height:46vh;
    --boxc1-story-scroll-work-top:39%;
    --boxc1-story-scroll-initial-pad-top:64px;
  }
  #boxC1StoryPanel{
    width:calc(100vw - var(--boxc1-story-panel-left) - 5vw);
  }
}

/* =========================================================
   BUILD 177 — ONE CONTINUOUS STORY FLOW
   The Story heading + ALL Story/SEO copy are one vertical flow.
   No independent title/panel positioning, therefore no overlap.
   The work area is a single modern text column; scrollbars remain
   visually absent, but wheel/trackpad/touch vertical scrolling works.
   ========================================================= */
:root{
  --boxc1-story-flow-left:8.6%;
  --boxc1-story-flow-top:39%;
  --boxc1-story-flow-width:760px;
  --boxc1-story-flow-height:500px;
  --boxc1-story-title-body-gap:24px;
}

#boxC1StoryPanel{
  left:var(--boxc1-story-flow-left);
  top:var(--boxc1-story-flow-top);
  width:min(var(--boxc1-story-flow-width), calc(100vw - var(--boxc1-story-flow-left) - 32px));
  height:var(--boxc1-story-flow-height);
  transform:none;
  box-sizing:border-box;
  background:transparent;
  border:0;
}

#boxC1StoryScroll{
  position:absolute;
  inset:0;
  padding:0 18px 42px 0;
  box-sizing:border-box;
  overflow-y:auto;
  overflow-x:clip;
  scrollbar-width:none;
  -ms-overflow-style:none;
  overscroll-behavior-y:contain;
}
#boxC1StoryScroll::-webkit-scrollbar{width:0!important;height:0!important;display:none!important;}

/* The original landing Story heading is now the FIRST item in the same flow. */
#boxC1StoryText{
  position:relative!important;
  left:auto!important;
  top:auto!important;
  width:auto!important;
  transform:none!important;
  margin:0 0 var(--boxc1-story-title-body-gap) 0!important;
  padding:0!important;
  opacity:1;
  color:#fff;
  white-space:nowrap;
}

.boxc1-story-content{
  position:relative;
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  box-sizing:border-box;
  overflow:visible;
  overflow-wrap:normal;
  word-break:normal;
}

@media(max-width:700px){
  :root{
    --boxc1-story-flow-left:8.6%;
    --boxc1-story-flow-width:82vw;
    --boxc1-story-flow-height:46vh;
    --boxc1-story-title-body-gap:20px;
  }
  #boxC1StoryPanel{width:calc(100vw - var(--boxc1-story-flow-left) - 5vw);}
}


/* BUILD 182 — HUGS POP story chat font: server-hosted BlinkMacSystemFont Thin */
@font-face{
  font-family:"BlinkMacSystemFont-Thin";
  src:url("../ots/BlinkMacSystemFont-Thin.woff2") format("woff2"),
      url("../ots/BlinkMacSystemFont-Thin.woff") format("woff");
  font-style:normal;
  font-weight:100;
  font-display:swap;
}

/* =========================================================
   BUILD 180 — FRIEND MESSAGE STORY / XBO V177 BASELINE
   Flexible message-based story system. Only the opening line
   uses the terminal/typewriter effect. All later lines arrive
   as normal messages. The conversation auto-follows the newest
   message and remains manually scrollable afterward.
   ========================================================= */
:root{
  --boxc1-chat-left:8.0%;
  --boxc1-chat-top:38.5%;
  --boxc1-chat-width:54%;
  --boxc1-chat-height:58%;
  --boxc1-chat-font-family:"BlinkMacSystemFont-Thin",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --boxc1-chat-font-size:16px;
  --boxc1-chat-line-height:1.25;
  --boxc1-chat-gap:18px;
  --boxc1-chat-pad-x:12px;
  --boxc1-chat-pad-y:8px;
  --boxc1-chat-radius:16px;
  --boxc1-chat-a-bg:rgba(91,56,38,.30);
  --boxc1-chat-b-bg:rgba(235,235,238,.34);
  --boxc1-chat-text:#fff;
  --boxc1-chat-terminal-bg:rgba(192,199,219,.46);
  --boxc1-chat-a-offset:34px;
  --boxc1-chat-b-offset:0px;
  /* BUILD 181 — opening terminal timing controls */
  --boxc1-chat-terminal-start-delay:90ms;
  --boxc1-chat-terminal-character-speed:68ms;
  --boxc1-chat-terminal-end-hold:920ms;
  --boxc1-chat-message-01-delay:5500ms; /* Friend B  001*/
  --boxc1-chat-message-02-delay:5900ms; /* Friend B  002*/
  --boxc1-chat-message-03-delay:3900ms; /* Friend B  003*/
  --boxc1-chat-message-04-delay:4800ms; /* Friend B  004*/
  --boxc1-chat-message-05-delay:5500ms; /* Friend B  005*/
  --boxc1-chat-message-06-delay:8400ms; /* Friend 4  002*/
  --boxc1-chat-message-07-delay:3900ms; /* Friend A  003*/
  --boxc1-chat-message-08-delay:5000ms; /* Friend B  006*/
  --boxc1-chat-message-09-delay:4500ms; /* Friend B  007*/
  /* BUILD 183 — continuation after the first conversation block */
  --boxc1-chat-stage-02-hold:6200ms;
  --boxc1-chat-stage-move-duration:700ms;
  --boxc1-chat-message-10-delay:3200ms;
  --boxc1-chat-message-11-delay:4200ms;
  --boxc1-chat-message-12-delay:4100ms;
  --boxc1-chat-message-13-delay:4000ms;
  --boxc1-chat-message-14-delay:2800ms;
  --boxc1-chat-message-15-delay:2800ms;
  --boxc1-chat-message-16-delay:2800ms;
  --boxc1-chat-message-17-delay:2800ms;
  --boxc1-chat-message-18-delay:4100ms;
  --boxc1-chat-message-19-delay:5300ms;
  --boxc1-chat-message-20-delay:3700ms;
  --boxc1-chat-message-21-delay:2800ms;
  --boxc1-chat-message-22-delay:2800ms;
  --boxc1-chat-message-23-delay:4700ms;
  --boxc1-chat-message-24-delay:3200ms;
  --boxc1-chat-message-25-delay:2800ms;
  --boxc1-chat-message-26-delay:2800ms;
  --boxc1-chat-message-27-delay:5700ms;
  --boxc1-chat-message-28-delay:4400ms;
  --boxc1-chat-message-29-delay:3200ms;
  --boxc1-chat-message-30-delay:2800ms;
  --boxc1-chat-message-31-delay:6200ms;
  --boxc1-chat-message-32-delay:4400ms;
  --boxc1-chat-message-33-delay:3100ms;
  --boxc1-chat-message-34-delay:2800ms;
  --boxc1-chat-message-35-delay:3900ms;
  --boxc1-chat-message-36-delay:5500ms;
  --boxc1-chat-message-37-delay:4600ms;
  --boxc1-chat-message-38-delay:5000ms;
  --boxc1-chat-message-39-delay:4400ms;
  --boxc1-chat-message-40-delay:2800ms;
  --boxc1-chat-message-41-delay:6500ms;
  --boxc1-chat-message-42-delay:2800ms;
}
#boxC1StoryPanel{
  left:var(--boxc1-chat-left)!important;
  top:var(--boxc1-chat-top)!important;
  width:var(--boxc1-chat-width)!important;
  height:calc(var(--boxc1-chat-bottom-limit-y) - var(--boxc1-chat-top))!important;
  transform:none!important;
  background:transparent!important;
  border:0!important;
  overflow:visible!important;
}
#boxC1StoryScroll{
  position:absolute!important;
  inset:0!important;
  padding:0 8px 14px 0!important;
  box-sizing:border-box!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  overscroll-behavior-y:contain!important;
  scroll-behavior:smooth!important;
}
#boxC1StoryScroll::-webkit-scrollbar{width:0!important;height:0!important;display:none!important;}
#boxC1StoryText.boxc1-story-terminal{
  position:relative!important;
  left:auto!important;top:auto!important;width:max-content!important;max-width:100%!important;
  transform:none!important;
  display:inline-flex!important;align-items:baseline!important;
  margin:0 0 var(--boxc1-chat-gap) 0!important;
  padding:var(--boxc1-chat-pad-y) var(--boxc1-chat-pad-x)!important;
  box-sizing:border-box!important;
  border-radius:var(--boxc1-chat-radius)!important;
  background:var(--boxc1-chat-terminal-bg)!important;
  color:var(--boxc1-chat-text)!important;
  font-family:var(--boxc1-chat-font-family)!important;
  font-size:var(--boxc1-chat-font-size)!important;
  font-weight:2!important;
  line-height:var(--boxc1-chat-line-height)!important;
  letter-spacing:.075em!important;
  white-space:nowrap!important;
  opacity:1!important;
  backdrop-filter:blur(14px) saturate(125%);
  -webkit-backdrop-filter:blur(14px) saturate(125%);
}
#boxC1StoryTerminalCursor{display:inline-block;margin-left:2px;opacity:1;}
#boxC1StoryTerminalCursor.is-hidden{opacity:0;}
.boxc1-story-content{
  position:relative!important;width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;
  overflow:visible!important;
  font-family:var(--boxc1-chat-font-family)!important;
  font-size:var(--boxc1-chat-font-size)!important;
  font-weight:2!important;
  line-height:var(--boxc1-chat-line-height)!important;
  letter-spacing:.075em!important;
}
.boxc1-story-message{
  display:block;
  width:max-content;
  max-width:96%;
  margin:0 0 var(--boxc1-chat-gap) 0;
  padding:var(--boxc1-chat-pad-y) var(--boxc1-chat-pad-x);
  box-sizing:border-box;
  border-radius:var(--boxc1-chat-radius);
  color:var(--boxc1-chat-text);
  white-space:normal;
  opacity:0;
  transform:translateY(9px) scale(.992);
  transition:opacity .34s ease,transform .42s cubic-bezier(.2,.8,.2,1);
  backdrop-filter:blur(14px) saturate(120%);
  -webkit-backdrop-filter:blur(14px) saturate(120%);
}
.boxc1-story-message:not(.is-sent):not(.is-revealing){display:none;}
.boxc1-story-message.is-revealing{display:block;}
.boxc1-story-message.is-sent{opacity:1;transform:translateY(0) scale(1);}
.boxc1-story-message-a{background:var(--boxc1-chat-a-bg);margin-left:var(--boxc1-chat-a-offset);}
.boxc1-story-message-b{background:rgba(192,199,219,.46);margin-left:var(--boxc1-chat-b-offset);}
#boxC1StoryText.boxc1-story-terminal{margin-left:var(--boxc1-chat-b-offset)!important;}
.boxc1-story-message .boxc1-story-tm{font-size:var(--boxc1-story-tm-size);line-height:0;vertical-align:super;}
@media(max-width:700px){
  :root{--boxc1-chat-left:5%;--boxc1-chat-top:37%;--boxc1-chat-width:88%;--boxc1-chat-height:54%;--boxc1-chat-font-size:15px;}
}


/* BUILD 195 — single chat display limit. Change ONLY this inset to move the
   invisible yellow-line equivalent upward/downward from the panel bottom. */
:root{
  --boxc1-chat-bottom-limit-y:88%;
  --boxc1-chat-bottom-limit-inset:0px;
  --boxc1-chat-follow-duration:520ms;
}
#boxC1StoryScroll,
#boxC1StoryScroll:focus,
#boxC1StoryScroll:focus-visible{
  outline:none!important;
  border:0!important;
  box-shadow:none!important;
}

/* BUILD 202: BOX-C1 CHAT SECTION SELECTOR — hidden until opening phrase is complete */
:root{
  --CHAT-BUTTONS-X:3.2%;
  --CHAT-BUTTONS-Y:2.2%;
  --CHAT-BUTTON-SIZE:14px;
  --CHAT-ACTIVE-WIDTH:28px;
  --CHAT-BUTTON-HEIGHT:14px;
  --CHAT-BUTTON-GAP:70px;
  --CHAT-BUTTON-FONT-SIZE:11px;
  --CHAT-BUTTON-TEXT-PADDING:12px;
  --CHAT-BUTTON-HOVER-DURATION:.34s;
}
#boxC1ChatSectionSelector{
  position:absolute !important;
  left:var(--CHAT-BUTTONS-X) !important;
  bottom:var(--CHAT-BUTTONS-Y) !important;
  z-index:2147483000 !important;
  display:flex !important;
  align-items:center !important;
  gap:var(--CHAT-BUTTON-GAP) !important;
  width:auto !important;
  height:28px !important;
  overflow:visible !important;
  pointer-events:auto !important;
  opacity:0 !important;
  visibility:hidden !important;
  transform:none !important;
  pointer-events:none !important;
}
body.boxc1-chat-section-selector-ready #boxC1ChatSectionSelector{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}
#boxC1ChatSectionSelector .chat-section-button{
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto !important;
  width:var(--CHAT-BUTTON-SIZE) !important;
  min-width:var(--CHAT-BUTTON-SIZE) !important;
  height:var(--CHAT-BUTTON-HEIGHT) !important;
  padding:0 !important;
  border:0 !important;
  border-radius:999px !important;
  background:var(--MENU-COLOR, rgb(192,199,219)) !important;
  color:#654534 !important;
  font:500 var(--CHAT-BUTTON-FONT-SIZE)/1 BlinkMacSystemFont-Thin, Arial, sans-serif !important;
  letter-spacing:.03em !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  cursor:pointer !important;
  outline:none !important;
  opacity:1 !important;
  visibility:visible !important;
  transition:width var(--CHAT-BUTTON-HOVER-DURATION) cubic-bezier(.2,.8,.2,1), min-width var(--CHAT-BUTTON-HOVER-DURATION) cubic-bezier(.2,.8,.2,1), padding var(--CHAT-BUTTON-HOVER-DURATION) cubic-bezier(.2,.8,.2,1) !important;
}
#boxC1ChatSectionSelector .chat-section-button > span{
  opacity:0 !important;
  max-width:0 !important;
  overflow:hidden !important;
  transition:opacity .14s ease .08s, max-width var(--CHAT-BUTTON-HOVER-DURATION) cubic-bezier(.2,.8,.2,1) !important;
}
/* Active section is indicated ONLY by a slightly wider resting shape. */
#boxC1ChatSectionSelector .chat-section-button.is-active{
  width:var(--CHAT-ACTIVE-WIDTH) !important;
  min-width:var(--CHAT-ACTIVE-WIDTH) !important;
  padding:0 !important;
}
/* Any button, including the active one, reveals its label ONLY on hover. */
#boxC1ChatSectionSelector .chat-section-button:hover{
  width:max-content !important;
  min-width:max-content !important;
  padding:0 var(--CHAT-BUTTON-TEXT-PADDING) !important;
}
#boxC1ChatSectionSelector .chat-section-button:hover > span{
  opacity:1 !important;
  max-width:240px !important;
}
#boxC1ChatSectionSelector .chat-section-button:focus,
#boxC1ChatSectionSelector .chat-section-button:focus-visible{outline:none !important; box-shadow:none !important;}


/* =========================================================
   BUILD 206 — RESTORE / PROTECT RADIAL ITEM WHEEL INTERACTION
   V205 chat-section work must NEVER disable or cover the established
   radial item menu. Keep the complete menu/wheel interaction layer above
   the story/chat layers while leaving the chat selector itself on top.
   ========================================================= */
#menu{
  z-index:2147482000!important;
  pointer-events:auto!important;
}
#menuBackgroundClip,
#menuBackgroundVector,
#menuBackgroundVector .menu-direction-half{
  pointer-events:auto!important;
}
#itemMenuWheelPreview.item-wheel-revealing,
#itemMenuWheelPreview.item-wheel-visible{
  pointer-events:auto!important;
}


/* =========================================================
   BUILD 207 — BOX-C #1 EXIT SEQUENCE / STEP 1: WELCOME
   Trigger: first activation of the RADIAL ITEM WHEEL.
   One uninterrupted motion: deliberately slow departure -> strong
   acceleration off the LEFT side.  No hold, no intermediate stop.
   ========================================================= */
:root{
  --boxc1-welcome-exit-duration: 1.35s;
  --boxc1-welcome-exit-x: -125vw;
}
#boxC1WelcomeLayer{
  transition:transform var(--boxc1-welcome-exit-duration) cubic-bezier(.55,.02,.92,.52);
  will-change:transform;
}
body.boxc1-welcome-exit #boxC1WelcomeLayer{
  transform:translate3d(var(--boxc1-welcome-exit-x),0,160px);
  pointer-events:none;
}

/* =========================================================
   BUILD 208 — BOX-C #1 SEPARATE EXIT MOTIONS
   WELCOME / HUGGERS / each visible CHAT item leave independently.
   Curves are exposed as After-Effects-like cubic-bezier controls.
   All exits are ONE uninterrupted slow -> fast movement.
   ========================================================= */
:root{
  /* WELCOME — existing V207 motion + independent opacity/fade curve */
  --boxc1-welcome-exit-duration:1.35s;
  --boxc1-welcome-exit-x:-125vw;
  --boxc1-welcome-exit-motion-curve:cubic-bezier(.55,.02,.92,.52);
  --boxc1-welcome-exit-fade-duration:.78s;
  --boxc1-welcome-exit-fade-delay:.30s;
  --boxc1-welcome-exit-fade-curve:cubic-bezier(.62,.00,.96,.34);

  /* HUGS POP | HUGGERS — starts separately after WELCOME */
  --boxc1-huggers-exit-delay:.22s;
  --boxc1-huggers-exit-duration:1.22s;
  --boxc1-huggers-exit-x:-125vw;
  --boxc1-huggers-exit-motion-curve:cubic-bezier(.55,.02,.92,.52);
  --boxc1-huggers-exit-fade-duration:.70s;
  --boxc1-huggers-exit-fade-delay:.26s;
  --boxc1-huggers-exit-fade-curve:cubic-bezier(.62,.00,.96,.34);

  /* CHAT — every currently visible item exits separately */
  --boxc1-chat-exit-start-delay:.08s;
  --boxc1-chat-exit-stagger:.05s;
  --boxc1-chat-exit-duration:0.18s;
  --boxc1-chat-exit-x:-110vw;
  --boxc1-chat-exit-motion-curve:cubic-bezier(.55,.02,.92,.52);
  --boxc1-chat-exit-fade-duration:.12s;
  --boxc1-chat-exit-fade-delay:.38s;
  --boxc1-chat-exit-fade-curve:cubic-bezier(.62,.00,.96,.34);
}

/* Override V207 so movement and fade have independent editable curves. */
#boxC1WelcomeLayer{
  opacity:1;
  transition:
    transform var(--boxc1-welcome-exit-duration) var(--boxc1-welcome-exit-motion-curve),
    opacity var(--boxc1-welcome-exit-fade-duration) var(--boxc1-welcome-exit-fade-curve) var(--boxc1-welcome-exit-fade-delay);
  will-change:transform,opacity;
}
body.boxc1-welcome-exit #boxC1WelcomeLayer{
  transform:translate3d(var(--boxc1-welcome-exit-x),0,160px);
  opacity:0;
}

#boxC1HuggersLayer{
  opacity:1;
  transition:
    transform var(--boxc1-huggers-exit-duration) var(--boxc1-huggers-exit-motion-curve) var(--boxc1-huggers-exit-delay),
    opacity var(--boxc1-huggers-exit-fade-duration) var(--boxc1-huggers-exit-fade-curve) calc(var(--boxc1-huggers-exit-delay) + var(--boxc1-huggers-exit-fade-delay));
  will-change:transform,opacity;
}
body.boxc1-huggers-exit #boxC1HuggersLayer{
  transform:translate3d(var(--boxc1-huggers-exit-x),0,161px);
  opacity:0;
  pointer-events:none;
}

/* Terminal + each revealed/sent bubble receive an individual index from JS. */
#boxC1StoryText.boxc1-chat-exit-item,
.boxc1-story-message.boxc1-chat-exit-item{
  --boxc1-chat-exit-item-delay:calc(var(--boxc1-chat-exit-start-delay) + (var(--boxc1-chat-exit-index,0) * var(--boxc1-chat-exit-stagger)));
  display:block!important;
  will-change:transform,opacity;
  transition:
    transform var(--boxc1-chat-exit-duration) var(--boxc1-chat-exit-motion-curve) var(--boxc1-chat-exit-item-delay)!important,
    opacity var(--boxc1-chat-exit-fade-duration) var(--boxc1-chat-exit-fade-curve) calc(var(--boxc1-chat-exit-item-delay) + var(--boxc1-chat-exit-fade-delay))!important;
}
body.boxc1-chat-exit #boxC1StoryText.boxc1-chat-exit-item,
body.boxc1-chat-exit .boxc1-story-message.boxc1-chat-exit-item{
  transform:translate3d(var(--boxc1-chat-exit-x),0,0)!important;
  opacity:0!important;
  pointer-events:none!important;
}


/* BUILD 209 — the three CHAT section controls leave with the chat instead of
   remaining behind after RADIAL ITEM WHEEL activation. Independent controls are
   exposed so this can be tuned without touching the chat bubbles. */
:root{
  --boxc1-chat-controls-exit-delay:.72s;
  --boxc1-chat-controls-exit-duration:1.28s;
  --boxc1-chat-controls-exit-x:-45vw;
  --boxc1-chat-controls-exit-motion-curve:cubic-bezier(.55,.02,.92,.52);
  --boxc1-chat-controls-exit-fade-duration:.86s;
  --boxc1-chat-controls-exit-fade-delay:.30s;
  --boxc1-chat-controls-exit-fade-curve:cubic-bezier(.62,.00,.96,.34);
}
#boxC1ChatSectionSelector{
  transition:
    transform var(--boxc1-chat-controls-exit-duration) var(--boxc1-chat-controls-exit-motion-curve) var(--boxc1-chat-controls-exit-delay),
    opacity var(--boxc1-chat-controls-exit-fade-duration) var(--boxc1-chat-controls-exit-fade-curve) calc(var(--boxc1-chat-controls-exit-delay) + var(--boxc1-chat-controls-exit-fade-delay))!important;
  will-change:transform,opacity;
}
body.boxc1-chat-controls-exit #boxC1ChatSectionSelector{
  transform:translate3d(var(--boxc1-chat-controls-exit-x),0,0)!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* =========================================================
   BUILD 210 — COMPLETE BOX-C #1 LEFT EXIT
   - title divider line gets its own delayed Welcome-style slide/fade
   - chat bubbles use one of five reusable slide profiles (assigned by JS)
   - no per-message tuning variables
   ========================================================= */
:root{
  /* TITLE DIVIDER LINE — independent timing */
  --boxc1-title-line-exit-delay:.15s;
  --boxc1-title-line-exit-duration:1.42s;
  --boxc1-title-line-exit-x:-125vw;
  --boxc1-title-line-exit-motion-curve:cubic-bezier(.55,.02,.92,.52);
  --boxc1-title-line-exit-fade-duration:.86s;
  --boxc1-title-line-exit-fade-delay:.34s;
  --boxc1-title-line-exit-fade-curve:cubic-bezier(.62,.00,.96,.34);

  /* CHAT — common timing plus five reusable motion profiles */
  --boxc1-chat-exit-start-delay:.02s;
  --boxc1-chat-exit-stagger:.04s;
  --boxc1-chat-exit-duration:0.15s;
  --boxc1-chat-exit-fade-duration:0.62s;
  --boxc1-chat-exit-fade-delay:.44s;
  --boxc1-chat-exit-fade-curve:cubic-bezier(.62,.00,.96,.34);

  --boxc1-chat-slide-1-x:-112vw;
  --boxc1-chat-slide-1-y:-10px;
  --boxc1-chat-slide-1-curve:cubic-bezier(.52,.03,.91,.48);
  --boxc1-chat-slide-2-x:-126vw;
  --boxc1-chat-slide-2-y:8px;
  --boxc1-chat-slide-2-curve:cubic-bezier(.58,.01,.94,.45);
  --boxc1-chat-slide-3-x:-118vw;
  --boxc1-chat-slide-3-y:-4px;
  --boxc1-chat-slide-3-curve:cubic-bezier(.48,.04,.90,.54);
  --boxc1-chat-slide-4-x:-132vw;
  --boxc1-chat-slide-4-y:13px;
  --boxc1-chat-slide-4-curve:cubic-bezier(.61,.01,.95,.42);
  --boxc1-chat-slide-5-x:-121vw;
  --boxc1-chat-slide-5-y:3px;
  --boxc1-chat-slide-5-curve:cubic-bezier(.54,.02,.93,.50);
}

#boxC1TitleLineLayer{
  opacity:1;
  transition:
    transform var(--boxc1-title-line-exit-duration) var(--boxc1-title-line-exit-motion-curve) var(--boxc1-title-line-exit-delay),
    opacity var(--boxc1-title-line-exit-fade-duration) var(--boxc1-title-line-exit-fade-curve) calc(var(--boxc1-title-line-exit-delay) + var(--boxc1-title-line-exit-fade-delay));
  will-change:transform,opacity;
}
body.boxc1-title-line-exit #boxC1TitleLineLayer{
  transform:translate3d(var(--boxc1-title-line-exit-x),0,161.5px)!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* Override V208/V209 chat exit so transform visibly travels left while fading. */
#boxC1StoryText.boxc1-chat-exit-item,
.boxc1-story-message.boxc1-chat-exit-item{
  --boxc1-chat-profile-x:var(--boxc1-chat-slide-1-x);
  --boxc1-chat-profile-y:var(--boxc1-chat-slide-1-y);
  --boxc1-chat-profile-curve:var(--boxc1-chat-slide-1-curve);
  transition:
    transform var(--boxc1-chat-exit-duration) var(--boxc1-chat-profile-curve) var(--boxc1-chat-exit-item-delay)!important,
    opacity var(--boxc1-chat-exit-fade-duration) var(--boxc1-chat-exit-fade-curve) calc(var(--boxc1-chat-exit-item-delay) + var(--boxc1-chat-exit-fade-delay))!important;
}
.boxc1-chat-exit-item[data-exit-profile="2"]{--boxc1-chat-profile-x:var(--boxc1-chat-slide-2-x);--boxc1-chat-profile-y:var(--boxc1-chat-slide-2-y);--boxc1-chat-profile-curve:var(--boxc1-chat-slide-2-curve);}
.boxc1-chat-exit-item[data-exit-profile="3"]{--boxc1-chat-profile-x:var(--boxc1-chat-slide-3-x);--boxc1-chat-profile-y:var(--boxc1-chat-slide-3-y);--boxc1-chat-profile-curve:var(--boxc1-chat-slide-3-curve);}
.boxc1-chat-exit-item[data-exit-profile="4"]{--boxc1-chat-profile-x:var(--boxc1-chat-slide-4-x);--boxc1-chat-profile-y:var(--boxc1-chat-slide-4-y);--boxc1-chat-profile-curve:var(--boxc1-chat-slide-4-curve);}
.boxc1-chat-exit-item[data-exit-profile="5"]{--boxc1-chat-profile-x:var(--boxc1-chat-slide-5-x);--boxc1-chat-profile-y:var(--boxc1-chat-slide-5-y);--boxc1-chat-profile-curve:var(--boxc1-chat-slide-5-curve);}
body.boxc1-chat-exit #boxC1StoryText.boxc1-chat-exit-item,
body.boxc1-chat-exit .boxc1-story-message.boxc1-chat-exit-item{
  transform:translate3d(var(--boxc1-chat-profile-x),var(--boxc1-chat-profile-y),0)!important;
  opacity:0!important;
}

/* ================================================================
   BUILD 211 — CHAT REAL LEFT-SLIDE TEST
   IMPORTANT: use the independent CSS `translate` property instead of
   `transform`. The chat system already owns/changes transform for its
   scrolling/reveal positioning, which could cancel the V210 exit transform.
   `translate` composes with that existing transform, so every bubble now
   physically travels left while opacity fades.

   TEST SPEED: deliberately ~2x slower than V210 so motion is easy to inspect.
   Five shared random LEFT-slide profiles are retained — no per-message vars.
   ================================================================ */
:root{
  --boxc1-chat-exit-start-delay:.02s;
  --boxc1-chat-exit-stagger:.08s;
  --boxc1-chat-exit-duration:0.10s;
  --boxc1-chat-exit-fade-duration:0.54s;
  --boxc1-chat-exit-fade-delay:.88s;

  /* Five RANDOM LEFT travel profiles — intentionally moderate for V211 test. */
  --boxc1-chat-slide-1-x:-38vw;
  --boxc1-chat-slide-1-y:0px;
  --boxc1-chat-slide-1-curve:cubic-bezier(.55,.02,.92,.52);
  --boxc1-chat-slide-2-x:-46vw;
  --boxc1-chat-slide-2-y:7px;
  --boxc1-chat-slide-2-curve:cubic-bezier(.58,.01,.94,.45);
  --boxc1-chat-slide-3-x:-34vw;
  --boxc1-chat-slide-3-y:-4px;
  --boxc1-chat-slide-3-curve:cubic-bezier(.48,.04,.90,.54);
  --boxc1-chat-slide-4-x:-52vw;
  --boxc1-chat-slide-4-y:13px;
  --boxc1-chat-slide-4-curve:cubic-bezier(.61,.01,.95,.42);
  --boxc1-chat-slide-5-x:-42vw;
  --boxc1-chat-slide-5-y:3px;
  --boxc1-chat-slide-5-curve:cubic-bezier(.54,.02,.93,.50);
}

#boxC1StoryText.boxc1-chat-exit-item,
.boxc1-story-message.boxc1-chat-exit-item{
  translate:0 0;
  transition:
    translate var(--boxc1-chat-exit-duration) var(--boxc1-chat-profile-curve) var(--boxc1-chat-exit-item-delay)!important,
    opacity var(--boxc1-chat-exit-fade-duration) var(--boxc1-chat-exit-fade-curve) calc(var(--boxc1-chat-exit-item-delay) + var(--boxc1-chat-exit-fade-delay))!important;
  will-change:translate,opacity;
}
body.boxc1-chat-exit #boxC1StoryText.boxc1-chat-exit-item,
body.boxc1-chat-exit .boxc1-story-message.boxc1-chat-exit-item{
  /* Do NOT touch transform here: the chat layout/reveal system owns it. */
  translate:var(--boxc1-chat-profile-x) var(--boxc1-chat-profile-y)!important;
  opacity:0!important;
}


/* ================================================================
   BUILD 212 — ULTRA-SLOW CHAT LEFT-SLIDE INSPECTION
   Purpose: make each bubble's LEFT travel unmistakably visible.
   Motion begins separately; opacity stays at 100% for most of travel.
   ================================================================ */
:root{
  --boxc1-chat-exit-start-delay:0.03s;
  --boxc1-chat-exit-stagger:.05s;
  --boxc1-chat-exit-duration:0.17s;
  --boxc1-chat-exit-fade-duration:0.48s;
  --boxc1-chat-exit-fade-delay:3.80s;

  --boxc1-chat-slide-1-x:-24vw;
  --boxc1-chat-slide-1-y:0px;
  --boxc1-chat-slide-1-curve:cubic-bezier(.55,.02,.92,.52);
  --boxc1-chat-slide-2-x:-30vw;
  --boxc1-chat-slide-2-y:7px;
  --boxc1-chat-slide-2-curve:cubic-bezier(.58,.01,.94,.45);
  --boxc1-chat-slide-3-x:-20vw;
  --boxc1-chat-slide-3-y:-4px;
  --boxc1-chat-slide-3-curve:cubic-bezier(.48,.04,.90,.54);
  --boxc1-chat-slide-4-x:-34vw;
  --boxc1-chat-slide-4-y:13px;
  --boxc1-chat-slide-4-curve:cubic-bezier(.61,.01,.95,.42);
  --boxc1-chat-slide-5-x:-27vw;
  --boxc1-chat-slide-5-y:3px;
  --boxc1-chat-slide-5-curve:cubic-bezier(.54,.02,.93,.50);
}

/* ================================================================
   BUILD 213 — REAL RANDOM CHAT LEFT-SLIDE / SLOW VISUAL TEST
   JS/WAAPI owns CHAT bubble motion so existing chat transforms cannot
   override it. Five reusable profiles; intentionally very slow.
   ================================================================ */
:root{
  --boxc1-chat-exit-start-delay:.03s;
  --boxc1-chat-exit-stagger:0.06s;
  --boxc1-chat-exit-duration:0.18s;

  --boxc1-chat-slide-1-x:-22vw;
  --boxc1-chat-slide-1-y:0px;
  --boxc1-chat-slide-1-curve:cubic-bezier(.55,.02,.92,.52);
  --boxc1-chat-slide-2-x:-28vw;
  --boxc1-chat-slide-2-y:10px;
  --boxc1-chat-slide-2-curve:cubic-bezier(.58,.01,.94,.45);
  --boxc1-chat-slide-3-x:-18vw;
  --boxc1-chat-slide-3-y:-8px;
  --boxc1-chat-slide-3-curve:cubic-bezier(.48,.04,.90,.54);
  --boxc1-chat-slide-4-x:-32vw;
  --boxc1-chat-slide-4-y:16px;
  --boxc1-chat-slide-4-curve:cubic-bezier(.61,.01,.95,.42);
  --boxc1-chat-slide-5-x:-25vw;
  --boxc1-chat-slide-5-y:5px;
  --boxc1-chat-slide-5-curve:cubic-bezier(.54,.02,.93,.50);
}

/* =========================================================
   BUILD 214 — CHAT EXIT LEFT BUFFER
   Extend ONLY the chat animation viewport to the LEFT so the
   V213 WAAPI bubble exits remain visible while travelling.
   The resting CHAT TEXT position/width is preserved exactly.
   ========================================================= */
:root{
  --boxc1-chat-exit-left-buffer:900px;
}
#boxC1StoryScroll{
  left:calc(-1 * var(--boxc1-chat-exit-left-buffer))!important;
  right:0!important;
  width:auto!important;
}
#boxC1StoryText.boxc1-story-terminal{
  left:var(--boxc1-chat-exit-left-buffer)!important;
}
#boxC1StoryScroll > .boxc1-story-content{
  left:var(--boxc1-chat-exit-left-buffer)!important;
  width:calc(100% - var(--boxc1-chat-exit-left-buffer))!important;
}


/* ================================================================
   BUILD 217 — hugRS CAROUSEL EXPERIMENT #1
   Same HUGS_POP_hugRS_COLOR_SWITCH.glb, ICE BLUE texture only.
   Trigger: first RADIAL ITEM WHEEL activation.
   No left-side predecessor is shown for ICE BLUE (first product color).
   ================================================================ */
:root{
  --boxc1-hugrs-carousel-blue-scale:.66;
  --boxc1-hugrs-carousel-blue-right:82%;
  --boxc1-hugrs-carousel-ice-left:50%;
  --boxc1-hugrs-carousel-ice-top:42%;
  --boxc1-hugrs-carousel-ice-width:680px;
  --boxc1-hugrs-carousel-ice-scale:1.25; /* scales the WHOLE ICE BLUE viewport/model together: no crop */
  --boxc1-hugrs-carousel-ice-frame-padding:1.16; /* base camera framing */
  --boxc1-hugrs-carousel-blue-move-duration:1.35s; /* fallback/manual BLUE duration */
  --boxc1-hugrs-carousel-ice-enter-duration:.68s; /* MASTER ICE BLUE entrance speed: smaller = faster */
  --boxc1-hugrs-carousel-blue-move-delay:0s;
  --boxc1-hugrs-carousel-blue-move-curve:cubic-bezier(.16,.84,.28,1);
  --boxc1-hugrs-carousel-push-contact:.18; /* contact point inside ONE shared motion; BLUE finishes exactly with ICE */
}
#boxC1HugRSIceBlue3D{
  position:fixed;
  left:var(--boxc1-hugrs-carousel-ice-left);
  top:var(--boxc1-hugrs-carousel-ice-top);
  width:calc(var(--boxc1-hugrs-carousel-ice-width) * var(--boxc1-hugrs-carousel-ice-scale));
  aspect-ratio:1/1;
  transform:translate(-50%,-50%) translateX(-1500px);
  opacity:0;
  z-index:10000;
  pointer-events:auto;
  touch-action:none;
  cursor:grab;
  background:transparent !important;
  transition:none;
}
#boxC1HugRSIceBlue3D.is-dragging{cursor:grabbing;}
#boxC1HugRSIceBlue3D canvas{display:block;width:100%;height:100%;background:transparent !important;pointer-events:auto!important;touch-action:none!important;cursor:grab;}
/* V221: BLUE CLOUD carousel move is driven by JS from its CURRENT rendered position/size.
   This avoids the V220 CSS state jump/glitch and keeps the motion continuous. */


/* BUILD 223 — FULL ICE BLUE DRAG SURFACE WITHOUT DISABLING RADIAL CONTROLS */
body.boxc1-hugrs-carousel-v217 #menu{pointer-events:none!important;}
body.boxc1-hugrs-carousel-v217 #itemMenuWheelPreview{pointer-events:none!important;}
body.boxc1-hugrs-carousel-v217 #itemMenuWheelRotor{pointer-events:none!important;}
body.boxc1-hugrs-carousel-v217 #itemMenuWheelRotor .radial-item-unit{pointer-events:none!important;}
body.boxc1-hugrs-carousel-v217 #itemMenuWheelRotor .radial-item-unit .item-menu-preview{pointer-events:auto!important;}
body.boxc1-hugrs-carousel-v217 #menuBackgroundClip,
body.boxc1-hugrs-carousel-v217 #menuBackgroundVector,
body.boxc1-hugrs-carousel-v217 #menuBackgroundVector .menu-direction-half{pointer-events:auto!important;}
body.boxc1-hugrs-carousel-v217 #boxC1HugRSIceBlue3D{z-index:2147481500!important;}

/* ================================================================
   BUILD 225 — CAROUSEL 3D INPUT FIX
   The expanded BUILD 214 story-scroll buffer is intentionally huge
   for the chat exit animation. Once the hugRS carousel is active the
   chat has already exited, so this invisible scroll surface must not
   remain a pointer hit target over the ICE BLUE WebGL canvas.
   VISUALS / GEOMETRY / CHAT EXIT BUFFER ARE UNCHANGED.
   ================================================================ */
body.boxc1-hugrs-carousel-v217 #boxC1StoryLayer,
body.boxc1-hugrs-carousel-v217 #boxC1StoryPanel,
body.boxc1-hugrs-carousel-v217 #boxC1StoryScroll,
body.boxc1-hugrs-carousel-v217 #boxC1StoryScroll > .boxc1-story-content{
  pointer-events:none!important;
}

/* Keep the ICE BLUE renderer as the intended 3D drag target. */
body.boxc1-hugrs-carousel-v217 #boxC1HugRSIceBlue3D,
body.boxc1-hugrs-carousel-v217 #boxC1HugRSIceBlue3D canvas{
  pointer-events:auto!important;
  touch-action:none!important;
}


/* ================================================================
   BUILD 226 — JSON-DRIVEN hugRS 3D CAROUSEL
   RADIAL WHEEL is the source of truth:
   LEFT = upcoming, CENTER = active, RIGHT = previously shown.
   Startup remains intentionally TWO models only: ICE BLUE + BLUE CLOUD.
   ================================================================ */
:root{
  --boxc1-hugrs-carousel-side-scale:.66;
  --boxc1-hugrs-carousel-left:18%;
  --boxc1-hugrs-carousel-center:50%;
  --boxc1-hugrs-carousel-right:82%;
  --boxc1-hugrs-carousel-step-duration:.68s;
  --boxc1-hugrs-carousel-step-curve:cubic-bezier(.16,.84,.28,1);
  --boxc1-hugrs-carousel-right-exit-x:28vw;
  /* BUILD 237 — reverse small RIGHT model: visible, soft entrance from the right. */
  --boxc1-hugrs-carousel-reverse-right-enter-from:104%;
  --boxc1-hugrs-carousel-reverse-right-enter-duration:.82s;
  --boxc1-hugrs-carousel-reverse-right-enter-scale:.56;
  --boxc1-hugrs-carousel-reverse-right-enter-curve:cubic-bezier(.18,.72,.22,1);
}
/* BUILD 237 temporary reverse RIGHT renderer. Same geometry as the normal RIGHT slot, unique ID during motion. */
#boxC1HugRSCarouselNextRight3D{
  position:fixed;
  top:var(--boxc1-hugrs-carousel-ice-top);
  width:calc(var(--boxc1-hugrs-carousel-ice-width) * var(--boxc1-hugrs-carousel-ice-scale));
  aspect-ratio:1/1;
  z-index:2147481499;
  pointer-events:none;
  touch-action:none;
  background:transparent!important;
}
#boxC1HugRSCarouselNextRight3D canvas{display:block;width:100%;height:100%;background:transparent!important;pointer-events:none!important;}

#boxC1HugRSCarouselIncoming3D{
  position:fixed;
  left:var(--boxc1-hugrs-carousel-center);
  top:var(--boxc1-hugrs-carousel-ice-top);
  width:calc(var(--boxc1-hugrs-carousel-ice-width) * var(--boxc1-hugrs-carousel-ice-scale));
  aspect-ratio:1/1;
  transform:translate(-50%,-50%);
  opacity:0;
  z-index:2147481499;
  pointer-events:none;
  touch-action:none;
  cursor:grab;
  background:transparent!important;
}
#boxC1HugRSCarouselIncoming3D canvas{display:block;width:100%;height:100%;background:transparent!important;pointer-events:auto!important;touch-action:none!important;cursor:grab;}
body.boxc1-hugrs-carousel-v217 #boxC1HugRSCarouselIncoming3D.is-carousel-active{pointer-events:auto!important;z-index:2147481500!important;}


/* BUILD 231 — FROM V226 ONLY: active checkpoint label font + visible RIGHT exit. */
:root{
  --boxc1-hugrs-carousel-right-exit-duration:.68s;
}
#activeProductLabel{
  font-family:"BlinkMacSystemFont-Thin",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.boxc1-hugrs-carousel-v231-temp{
  position:fixed;
  top:var(--boxc1-hugrs-carousel-ice-top);
  width:calc(var(--boxc1-hugrs-carousel-ice-width) * var(--boxc1-hugrs-carousel-ice-scale));
  aspect-ratio:1/1;
  background:transparent!important;
  z-index:2147481500;
  pointer-events:auto!important;
  touch-action:none!important;
}
.boxc1-hugrs-carousel-v231-temp canvas{display:block;width:100%;height:100%;background:transparent!important;pointer-events:auto!important;touch-action:none!important;cursor:grab;}

/* BUILD 247: lift only the active product TEXT above all carousel canvases.
   The label's parent is within #menu (already z-index 2147482000).
   Preserve wheel geometry, transparent 3D canvas and pointer routing. */
body.boxc1-hugrs-carousel-v217 #itemMenuWheelPreview{
  z-index:1!important;
}
body.boxc1-hugrs-carousel-v217 #activeProductDisplay{
  z-index:2147482001!important;
  pointer-events:none!important;
}
body.boxc1-hugrs-carousel-v217 #activeProductLabel{
  position:absolute;
  z-index:2147482002!important;
  pointer-events:none!important;
}


/* BUILD 248 — FIX NEGATIVE WHEEL STACKING CONTEXT (V247 regression remains).
   #itemMenuWheelPreview has transform:translate(...), which creates its own
   stacking context. Its original z-index:-1 places the ENTIRE wheel,
   including the label, behind external WebGL layers despite child z-index.
   Raise the wheel stacking context itself, not only the label.
   The menu's existing higher z-index remains unchanged. No hit area is added. */
body.boxc1-hugrs-carousel-v217 #itemMenuWheelPreview.item-wheel-visible,
body.boxc1-hugrs-carousel-v217 #itemMenuWheelPreview.item-wheel-revealing{
  z-index:1!important;
}
/* Keep the existing central menu controls above the wheel visual. */
body.boxc1-hugrs-carousel-v217 #menuBackgroundClip{
  z-index:2;
}
body.boxc1-hugrs-carousel-v217 #menuLogo{
  z-index:3;
}

/* BUILD 249: Restore the V240 wheel-above-3D paint order.
   The GLB canvas is confined to the BOX-C stacking context; menu and wheel
   are composited above it. No changes to Three.js, geometry or hit regions. */
#stage > #boxC1 { position:relative; z-index:40!important; isolation:isolate; }
#stage > #menu { position:absolute; z-index:2147482000!important; isolation:isolate; }
body.boxc1-hugrs-carousel-v217 #menu #itemMenuWheelPreview { z-index:1!important; }
body.boxc1-hugrs-carousel-v217 #menu #activeProductDisplay { z-index:7!important; }
body.boxc1-hugrs-carousel-v217 #menu #activeProductLabel { z-index:30!important; }

/* V291: Regular Vonique 64 price font, hosted in /frend/ots/. */
@font-face{font-family:"Vonique 64";src:url("../ots/Vonique%2064.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}

/* V296: the chat typing capsule must never remain over the COLOR ITEMS view.
   Product-information DIVs are deliberately not targeted. */
body.hugs-pop-color-items-active #boxC1StoryText,
body.hugs-pop-color-items-active #boxC1StoryTerminalText,
body.hugs-pop-color-items-active #boxC1StoryTerminalCursor,
body.hugs-pop-color-items-active .boxc1-story-message,
body.hugs-pop-color-items-active #boxC1StoryPanel {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  animation: none !important;
  transition: none !important;
}
