/* Ulta page — playful bits (Nov 16, Shuvo kept all three). Only colours from the Ulta system. */
/* 1 · Pick a shade: a little pill of colour dots; the chapter numbers, part tiles and lit index re-tint */
.up-shade { position: fixed; left: 50%; bottom: 22px; z-index: 40; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 16px; border-radius: 999px; background: rgba(17,17,17,.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(245,240,234,.18); color: #F5F0EA; font: 400 10px/1 "DM Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.up-shade.is-in { transform: translate(-50%, 0); }
.up-shade button { all: unset; cursor: pointer; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(245,240,234,.35);
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s ease; }
.up-shade button:hover { transform: scale(1.25); }
.up-shade button[aria-pressed="true"] { box-shadow: 0 0 0 2px #111, 0 0 0 3.5px var(--c); transform: scale(1.15); }
html[data-shade] .ub-step__num span { color: var(--shade); transition: color .45s ease; }
html[data-shade] .u3-act__tile { background: var(--shade) !important; color: var(--shade-fg) !important; transition: background-color .45s ease, color .45s ease; }
html[data-shade] .ub-nav a.is-on, html[data-shade] .u3-nav__part.is-on { color: var(--shade) !important; }
html[data-shade] .up-hook path { stroke: var(--shade); }
/* 2 · The Hook draws as you scroll: a thin line on the right that climbs and curls into the hook */
.up-hook { position: fixed; right: clamp(10px, 1.6vw, 24px); top: 50%; z-index: 30; width: 26px; transform: translateY(-50%); pointer-events: none; overflow: visible; opacity: 0; transition: opacity .4s ease; }
.up-hook.is-in { opacity: 1; }
.up-hook path { fill: none; stroke: #C8174D; stroke-width: 1.6px; stroke-linecap: round; transition: stroke .45s ease; }
.up-hook .up-hook__ghost { stroke: rgba(245,240,234,.12); }
/* 3 · Posters fan out like a hand of cards; click one to bring it to the front */
.ub-reel.up-fan { overflow: visible; padding: 40px 0 90px; }
.ub-reel.up-fan .ub-reel__row { width: 100%; display: flex; justify-content: center; gap: 0; }
.ub-reel.up-fan .ub-reel__row figure { flex: 0 0 15%; margin: 0 -2.2%; cursor: pointer; transform-origin: 50% 120%;
  transform: rotate(calc(var(--k) * 2.4deg)) translateY(calc(var(--d) * 4px)); transition: transform .55s cubic-bezier(.2, 1.2, .3, 1), box-shadow .4s ease; box-shadow: 0 12px 24px rgba(0,0,0,.45); }
.ub-reel.up-fan:hover .ub-reel__row figure { transform: rotate(calc(var(--k) * 7deg)) translateY(calc(var(--d) * 14px - 10px)); }
.ub-reel.up-fan .ub-reel__row figure:hover { z-index: 5; transform: rotate(calc(var(--k) * 7deg)) translateY(-34px) scale(1.06); }
.ub-reel.up-fan .ub-reel__row figure.is-front { z-index: 6; transform: rotate(0) translateY(-40px) scale(1.18) !important; box-shadow: 0 24px 48px rgba(0,0,0,.6); }
@media (hover: none), (max-width: 760px) { .up-hook { display: none; } .ub-reel.up-fan { overflow-x: auto; } .ub-reel.up-fan .ub-reel__row { width: 1100px; } .ub-reel.up-fan .ub-reel__row figure { margin: 0 4px; transform: none !important; } }
@media (prefers-reduced-motion: reduce) { .up-shade, .up-hook path, .ub-reel.up-fan .ub-reel__row figure { transition: none; } }
