/* =====================================================================
   CÔTE DE NUITS · Lanterne design system (DESIGN-v2.md)
   Stage: fixed 1180×820 pt (iPad 11" landscape), scaled to fit.
   The 3D world is the picture; the UI is the light you carry through it:
   lanterns, a string of small lights, a few warm objects at the table.
   The motif is the Monogram (Magnus 30.10, item 22; design/v3-motif-2 "D"):
   a wine is its glass's Roman numeral in a hairline ring, cards are plain
   surfaces with hairlines and air, and nothing glows but the world, the
   lanterns and one lamp on the current glass's ring. No arches, doors or
   windows; nothing cut, faceted or rotated. Every screen styles itself
   under .scr-<id> and builds on the tokens and components below. No new colours.
   The reference sheet for every component in every state: ?screen=kit.
   ===================================================================== */
/* the guests' handwriting (--hand). Ephesis' capital L is a loop that reads as "Q" or "Ł" (review 28.10: "Lars"),
   and its capital J drops below the line like a small j, so "Jan" read as "jarl" (Magnus 31.10, item 33): this
   family takes the J and the L from Cormorant italic and every other letter from Ephesis, so every name everywhere
   is right with no change to the screens */
@font-face{font-family:'Ephesis OP';font-style:normal;font-weight:400;font-display:swap;size-adjust:104%;
  src:url(../vendor/fonts/cormorant-garamond-italic-latin.woff2) format('woff2');unicode-range:U+004A, U+004C}
@font-face{font-family:'Ephesis OP';font-style:normal;font-weight:400;font-display:swap;
  src:url(../vendor/fonts/ephesis-latin.woff2) format('woff2');
  unicode-range:U+0000-0049, U+004B, U+004D-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Ephesis OP';font-style:normal;font-weight:400;font-display:swap;
  src:url(../vendor/fonts/ephesis-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
:root{
  /* Satin Noir, kept */
  --ink:#090204; --ink-2:#12050a; --cru:#3e0714; --rubis:#9e1a30; --rubis-hi:#c23a4c;
  --blush:#a86d5f; --cream:#c9b6a2; --cream-hi:#e8d7be;      /* cream-hi warmed: it sits on lamplight now */
  --mute:#86716a; --mute-2:#5a4744;
  /* night */
  --dusk:#141026; --dusk-2:#2a2342; --umber:#1c0d0b; --umber-2:#2a1512;
  /* light (glows only, never text) */
  --amber:#eaa45c; --lamp:#ffd79c; --wick:#fff3dc; --ember:#d0683a;
  /* metal + lines */
  --brass:#c99c6e; --brass-hi:#e2c094; --brass-lo:rgba(201,156,110,.28); --line:rgba(201,156,110,.20);
  /* objects at the table */
  --kraft:#c9aa80; --kraft-lo:#a88a62; --sepia:#3a1d14; --bronze:#9a7a52; --bronze-hi:#d7b98a; --bronze-lo:#5e4428;
  --oak:#3a2016; --oak-lo:#22120c; --ribbon:#7e1528;
  /* type */
  --serif:'Cormorant Garamond',Garamond,'Times New Roman',serif;
  --sans:'Jost','Avenir Next',system-ui,sans-serif;
  --num:'Fraunces',Georgia,serif;            /* numbers only */
  --hand:'Ephesis OP','Ephesis','Snell Roundhand',cursive; /* guests' names only (the L from Cormorant: see top) */
  --t-hero:132px; --t-display:96px; --t-h1:64px; --t-h2:44px; --t-h3:30px; --t-body:22px; --t-small:17px; --t-label:12.5px;
  /* shape */
  --r-card:6px; --r-pill:999px;              /* Monogram: a card is a plain panel, barely rounded */
  --sh-card:0 30px 60px -30px rgba(0,0,0,.85),0 0 0 1px rgba(201,156,110,.17);
  --halo:0 1px 2px rgba(9,2,4,.6),0 0 22px rgba(9,2,4,.8),0 0 60px rgba(9,2,4,.45);   /* text straight on the world */
  /* the lamp gradient every lit bulb, flame and dot shares */
  --lamp-glass:radial-gradient(circle at 50% 66%,#fffaf0 0,#ffe7b8 32%,#ffbd6a 70%,#e98a40 100%);
  --unlit-glass:rgba(255,236,210,.06);
  /* motion */
  --ease-out:cubic-bezier(.16,1,.3,1); --ease-silk:cubic-bezier(.22,.61,.12,1);
  --ease-in-out:cubic-bezier(.65,0,.35,1); --ease-lamp:cubic-bezier(.3,0,.2,1);
  --dur-screen:900ms; --dur-step:1200ms;
  color-scheme:dark;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;height:100%;background:#000;color:var(--cream);overflow:hidden}
/* Magnus 08.11: a scroll that reaches its end must not carry on into Safari (on the iPad a pull past the top can read
   as its swipe-down that leaves fullscreen): no scroll chaining or pull effects anywhere in the app */
html,body{overscroll-behavior:none}
*{overscroll-behavior:contain}
body{font-family:var(--sans);font-weight:300;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  -webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation}
input,textarea{-webkit-user-select:text;user-select:text}
button{font:inherit;color:inherit}
:focus-visible{outline:1px solid var(--brass);outline-offset:4px}

/* ---------------- viewport + stage ---------------- */
#op-viewport{position:fixed;inset:0;background:#000;overflow:hidden}
/* the stage's own colour is only seen where the world is not (host-less boot, stills missing): dusk over the plain */
#op-stage{position:absolute;left:0;top:0;width:1180px;height:820px;transform-origin:0 0;overflow:hidden;overflow:clip;
  background:radial-gradient(90% 60% at 50% 108%,rgba(208,104,58,.22),transparent 62%),
             linear-gradient(180deg,var(--dusk) 0%,#140a14 48%,var(--ink) 100%);
  font-size:var(--t-body);line-height:1.5}
/* three layers, nothing over them: the stage's grain lives in the world's post pass now (DESIGN-v2 §1), so no
   full-stage blend layer or runtime SVG noise sits on top of the WebGL canvas */
#op-world{position:absolute;inset:0;overflow:hidden;overflow:clip}          /* the persistent 3D world (OP.world) */
#op-backdrop{position:absolute;inset:0;overflow:hidden;pointer-events:none} /* cellar paintings + stills fallback */
#op-screens{position:absolute;inset:0;overflow:hidden;overflow:clip}

/* free layout (report): normal responsive document instead of the stage */
#op-free{position:fixed;inset:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;background:var(--ink);display:none;z-index:5;
  -webkit-user-select:text;user-select:text}
body.op-free-mode #op-free{display:block}
body.op-free-mode #op-viewport{visibility:hidden}

/* C25 SHELL (FEEDBACK-30-10 §79, js/shell.js): landscape only. While the viewport is portrait, <body> becomes a
   landscape box (the real height wide, the real width high) turned a quarter turn onto the glass; the stage and the
   report (both position:fixed) then fill that box as in landscape. The variables come from js/shell.js */
html.op-turned{background:#000}
html.op-turned body{position:fixed;left:0;top:0;width:var(--op-rh,100vh);height:var(--op-rw,100vw);
  transform-origin:0 0;transform:var(--op-turn,none)}
/* the dev menu only off line (OP.shell.devOn()): no three taps top left, no menu */
html.op-nodev #op-devhot,html.op-nodev #op-dev{display:none!important}

/* ---------------- screens + transitions ----------------
   Sideskift: the old screen lifts away (opacity 0, −6 px, 450 ms) while the new one settles in 150 ms later
   (opacity 0→1, 10 px → 0, 700 ms). No blur filter: the world behind blurs itself, and filters cost the iPad. */
.op-screen{position:absolute;inset:0;transition:opacity 700ms var(--ease-out),transform 700ms var(--ease-out)}
.op-screen.is-entering{opacity:0;transform:translateY(10px)}
.op-screen.is-leaving{opacity:0;transform:translateY(-6px);pointer-events:none;
  transition:opacity 450ms var(--ease-in-out),transform 450ms var(--ease-in-out)}

/* ---------------- typography helpers ---------------- */
.op-kick{font-family:var(--sans);font-size:var(--t-label);letter-spacing:.3em;text-transform:uppercase;color:var(--brass);font-weight:400}
.op-topkick{position:absolute;left:96px;top:52px;z-index:20;white-space:nowrap}
.op-label{font-family:var(--sans);font-size:11px;letter-spacing:.26em;text-transform:uppercase;color:var(--brass);font-weight:400}
.op-serif{font-family:var(--serif);font-weight:400}
.op-italic{font-family:var(--serif);font-style:italic}
.op-num{font-variant-numeric:tabular-nums lining-nums}
/* numbers only: Fraunces, soft, lining + tabular (never words) */
.op-fig{font-family:var(--num);font-weight:300;font-optical-sizing:auto;font-variation-settings:'SOFT' 100,'WONK' 0;
  font-variant-numeric:lining-nums tabular-nums;letter-spacing:-.01em}
/* a guest's own name as a signature (names card, rating head, reveal ledger, report cover) */
.op-hand{font-family:var(--hand);font-weight:400;letter-spacing:0;line-height:1.1}
.op-halo{text-shadow:var(--halo)}
.op-display{font-family:var(--serif);font-weight:400;line-height:.95;letter-spacing:.01em;color:var(--cream)}
.op-display i,.op-display em{font-style:italic;font-size:.62em;letter-spacing:0;margin-right:.14em}
/* story body: Cormorant 22/1.45, max ~62 characters a line, the first letter a 46 px brass initial over two lines */
.op-body{font:400 var(--t-body)/1.45 var(--serif);color:var(--cream);margin:0}
.op-initial{float:left;font:400 46px/.84 var(--serif);color:var(--brass);margin:5px 9px 0 -1px}

/* glint — light gliding slowly over a title (legacy screens) */
.op-glint{--c1:var(--cream);--g1:#ecd9bf;--g2:#d9ad84;
  background:linear-gradient(100deg,var(--c1) 0%,var(--c1) 42%,var(--g1) 49%,var(--g2) 51%,var(--c1) 58%,var(--c1) 100%);
  background-size:300% 100%;background-position:120% 0;
  -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
  filter:drop-shadow(0 6px 28px rgba(0,0,0,.7));
  animation:op-sweep 18s cubic-bezier(.4,0,.3,1) infinite}
.op-glint.d2{animation-delay:.7s}.op-glint.d3{animation-delay:1.4s}
@keyframes op-sweep{0%{background-position:120% 0}50%,100%{background-position:-20% 0}}
.op-glint-host{color:var(--cream);filter:drop-shadow(0 6px 28px rgba(0,0,0,.7))}
.op-glint-layer{position:absolute;inset:0;padding:inherit;pointer-events:none;
  background:linear-gradient(100deg,transparent 0%,transparent 42%,rgba(236,217,191,.95) 49%,rgba(217,173,132,.9) 51%,transparent 58%,transparent 100%);
  background-size:300% 100%;background-position:120% 0;
  -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
  opacity:0;transition:opacity 2s var(--ease-out) 1.4s;animation:op-sweep 18s cubic-bezier(.4,0,.3,1) 2.4s infinite}
.op-glint-host.d2>.op-glint-layer{animation-delay:3.1s}.op-glint-host.d3>.op-glint-layer{animation-delay:3.8s}
.op-revealed>.op-glint-layer,.op-revealed .op-glint-layer{opacity:1}

/* word rise (OP.ui.split + OP.ui.play) and block fade-up (.op-fade + OP.ui.stagger): transform + opacity only */
.op-rv{display:inline-block;overflow:hidden;vertical-align:bottom;padding:.06em .02em .14em;margin:-.06em -.02em -.14em}
.op-rv>span{display:inline-block;transform:translateY(105%);opacity:0;
  transition:transform 1.3s var(--ease-out),opacity 1.1s var(--ease-out);transition-delay:var(--d,0ms)}
.op-revealed .op-rv>span{transform:none;opacity:1}
.op-fade{opacity:0;transform:translateY(18px);transition:opacity 1.1s var(--ease-out),transform 1.3s var(--ease-out);transition-delay:var(--d,0ms)}
.op-fade.is-in{opacity:1;transform:none}
/* re-seated circumflex for ô (OP.ui.seatAccents) — Cormorant's own sits far too high at display sizes */
.in-oc{position:relative;display:inline-block}
.in-oc::after{content:"\02C6";position:absolute;left:0;right:0;top:0;text-align:center;transform-origin:50% 50%;transform:translateY(.03em) scale(1.25,.7)}

/* ---------------- Lyset tændes (light-on): lamps, the mark's lamp, bulbs, Klar ---------------- */
@keyframes op-lighton{0%{opacity:0;transform:scale(.8)}40%{opacity:1}55%{opacity:.55}100%{opacity:1;transform:none}}
.op-lighton{animation:op-lighton .9s var(--ease-lamp) var(--d,0ms) both}
@keyframes op-flicker{0%,100%{transform:scale(1,1)}30%{transform:scale(.94,1.06)}55%{transform:scale(1.04,.95)}80%{transform:scale(.97,1.03)}}
@keyframes op-breathe{0%,100%{opacity:1}50%{opacity:.78}}
@keyframes op-swing{0%,100%{transform:rotate(0)}25%{transform:rotate(2.5deg)}75%{transform:rotate(-2.5deg)}}

/* ---------------- 5.1 aftenkort: .op-card (Monogram: a plain surface) ----------------
   One hairline edge, a faint top light, no inlaid frame and no lamp above it: the type and the air do the work.
   .op-card--arch (the old round-topped card) is the same plain card now; the class stays for screens that use it. */
.op-card{position:absolute;border-radius:var(--r-card);isolation:isolate;
  background:linear-gradient(180deg,rgba(34,17,15,.9),rgba(15,7,8,.94));
  box-shadow:inset 0 1px 0 rgba(255,220,172,.07),var(--sh-card)}
.op-card::before,.op-card::after{content:none}
/* card label row: Jost label · a hairline to the edge · the glass's numeral as a folio ("SMAGEN ——— II") */
.op-cardlabel{display:flex;align-items:center;gap:16px;font:400 11px/1 var(--sans);letter-spacing:.28em;text-transform:uppercase;color:var(--brass);white-space:nowrap}
.op-cardlabel::after{content:"";order:2;flex:1;height:1px;background:rgba(201,156,110,.24)}
.op-cardlabel>.op-dot{margin-right:-4px}
.op-folio{order:3;font:500 14px/1 var(--serif);letter-spacing:.08em;margin-right:-.08em;text-transform:none;color:var(--brass-hi)}
.op-story{padding:26px 34px 30px 34px}
.op-story .op-cardlabel{margin:0 0 16px}

/* ---------------- 5.8 lamp dot .op-dot ---------------- */
.op-dot{display:inline-block;flex:none;width:6px;height:6px;border-radius:50%;background:var(--lamp-glass);
  box-shadow:0 0 6px 1px rgba(255,190,110,.6),0 0 16px 3px rgba(234,164,92,.22)}
.op-dot.is-off{background:none;box-shadow:inset 0 0 0 1px var(--brass-lo)}
.op-dot.is-soft{opacity:.55}

/* ---------------- 5.2 primary: the lantern capsule .op-cta + its flame ---------------- */
.op-cta{position:relative;height:68px;padding:0 34px 0 26px;border-radius:var(--r-pill);display:inline-flex;align-items:center;gap:14px;
  border:0;cursor:pointer;white-space:nowrap;background:linear-gradient(180deg,#3a1d16,#1e0d0c);color:var(--cream-hi);
  font:italic 400 30px/1 var(--serif);letter-spacing:.005em;
  box-shadow:inset 0 1px 0 rgba(255,220,172,.22),inset 0 0 0 1px rgba(201,156,110,.30),
    0 18px 40px -18px rgba(0,0,0,.9),0 0 50px -14px rgba(234,164,92,.45);
  transition:transform .25s var(--ease-out),box-shadow .4s,opacity .6s var(--ease-out)}
.op-cta:active,.op-cta.is-press{transform:scale(.97);
  box-shadow:inset 0 1px 0 rgba(255,220,172,.3),inset 0 0 0 1px rgba(201,156,110,.5),0 0 70px -10px rgba(234,164,92,.7)}
.op-cta-label{position:relative;top:-1px}
.op-flame{position:relative;flex:none;display:inline-block;width:12px;height:17px;border-radius:50% 50% 50% 50%/62% 62% 38% 38%;
  background:radial-gradient(circle at 50% 70%,#fffaf0 0,#ffe7b8 30%,#ffb862 72%,#ef8a3d 100%);
  box-shadow:0 0 12px 4px rgba(255,190,110,.55),0 0 34px 10px rgba(234,164,92,.25);
  animation:op-flicker 2.7s ease-in-out infinite;transform-origin:50% 80%;
  transition:scale .3s var(--ease-out),box-shadow .3s var(--ease-out)}
/* pressing flares the flame before the action runs (OP.ui.cta) */
.op-cta.is-flare .op-flame{scale:1.5;box-shadow:0 0 24px 8px rgba(255,190,110,.75),0 0 68px 20px rgba(234,164,92,.42)}
.op-cta.is-flare{box-shadow:inset 0 1px 0 rgba(255,220,172,.3),inset 0 0 0 1px rgba(201,156,110,.5),
  0 18px 40px -18px rgba(0,0,0,.9),0 0 80px -8px rgba(234,164,92,.62)}
.op-cta[disabled]{opacity:.42;pointer-events:none}
.op-cta[disabled] .op-flame{animation:none;background:var(--unlit-glass);box-shadow:inset 0 0 0 1px var(--brass-lo)}
.op-cta.is-small{height:56px;padding:0 26px 0 20px;gap:12px;font-size:25px}

/* ---------------- 5.3 secondary: .op-ghost ---------------- */
.op-ghost{display:inline-flex;align-items:center;gap:12px;min-height:56px;min-width:48px;padding:0 8px;background:none;border:none;cursor:pointer;
  color:var(--brass);font:400 var(--t-label)/1 var(--sans);letter-spacing:.28em;text-transform:uppercase;white-space:nowrap;
  transition:color .4s,opacity .4s}
.op-ghost:active{color:var(--brass-hi)}
.op-ghost-ring{flex:none;width:9px;height:9px;border-radius:50%;box-shadow:inset 0 0 0 1px var(--brass-lo)}
.op-ghost .op-glyph{flex:none;margin-top:-1px}
/* standard position for the flow's forward button */
.op-dock{position:absolute;right:50px;bottom:36px;z-index:20;display:flex;gap:22px;align-items:center}
.op-dock-left{position:absolute;left:44px;bottom:42px;z-index:20}
/* hosted: Magnus drives every iPad; the nav gives way to one small lit lamp, no words (item 39b). A 32 px box with
   the lamp at its centre: a breath of dusk under it (so it reads on a pale sky), the lit core, its warm pool breathing
   slowly as a lamp left burning, and the lamp's glass as one hairline round it: on the painted and the aerial world a
   bare dot read as one more light in the landscape, the glass makes it Magnus' lamp */
.op-hosted{position:relative;display:block;flex:none;width:32px;height:32px;pointer-events:none}
.op-hosted::before{content:"";position:absolute;left:50%;top:50%;width:66px;height:66px;margin:-33px 0 0 -33px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(9,2,4,.5),rgba(9,2,4,.22) 52%,rgba(9,2,4,0))}
.op-hosted::after{content:"";position:absolute;left:50%;top:50%;width:23px;height:23px;margin:-11.5px 0 0 -11.5px;border-radius:50%;
  box-shadow:inset 0 0 0 1px rgba(226,192,148,.5)}
.op-hosted-lamp{position:absolute;left:50%;top:50%;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;background:var(--lamp-glass);
  box-shadow:0 0 5px 1px rgba(255,214,150,.85),0 0 14px 3px rgba(234,164,92,.34)}
.op-hosted-lamp::after{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,210,146,.3),rgba(234,164,92,.1) 46%,rgba(234,164,92,0));
  animation:op-hosted-breathe 5.6s ease-in-out infinite}
@keyframes op-hosted-breathe{0%,100%{opacity:.6;transform:scale(.9)}50%{opacity:1;transform:scale(1.06)}}

/* ---------------- glyphs (OP.ui.glyph): 1.2 px round-capped brass line drawings ---------------- */
.op-glyph{display:inline-block;vertical-align:middle;overflow:visible;fill:none;stroke:var(--brass);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.op-glyph *{vector-effect:non-scaling-stroke}

/* ---------------- 5.4 Klar — the lamp .op-klar ---------------- */
.op-klar{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:16px;width:260px;height:64px;padding:0 30px;
  border:0;border-radius:var(--r-pill);cursor:pointer;background:rgba(20,9,10,.42);color:var(--cream);
  font:italic 400 28px/1 var(--serif);box-shadow:inset 0 0 0 1px var(--brass-lo);
  transition:background .7s var(--ease-lamp),box-shadow .7s var(--ease-lamp),color .7s}
/* the lamp in Klar follows the motif: a hairline ring; lit, the lamp sits inside it */
.op-klar-bulb{position:relative;flex:none;width:13px;height:13px;border-radius:50%;
  background:none;box-shadow:inset 0 0 0 1px rgba(226,192,148,.7)}
.op-klar-bulb::after{content:"";position:absolute;inset:2.5px;border-radius:50%;opacity:0;background:var(--lamp-glass);
  box-shadow:0 0 12px rgba(255,190,110,.75),0 0 30px 5px rgba(234,164,92,.26)}
.op-klar-label{position:relative;top:-1px}
.op-klar-ret{position:absolute;right:28px;top:50%;margin-top:-6px;font:400 11px/1 var(--sans);letter-spacing:.26em;color:var(--brass);opacity:0;transition:opacity .6s}
.op-klar.is-on{color:var(--cream-hi);background:linear-gradient(180deg,#5a2a16,#2a120c);
  box-shadow:inset 0 1px 0 rgba(255,220,172,.24),inset 0 0 0 1px rgba(201,156,110,.46),0 16px 34px -16px rgba(0,0,0,.9),0 0 54px -12px rgba(234,164,92,.55)}
.op-klar.is-on .op-klar-bulb::after{opacity:1}
.op-klar.is-on .op-klar-ret{opacity:1}
.op-klar.is-lighting .op-klar-bulb::after{animation:op-lighton .9s var(--ease-lamp) both}

/* ---------------- 5.5 the wine's mark — Monogram .op-arch (OP.ui.arch / OP.ui.mark) ----------------
   The glass's Roman numeral in a hairline ring over a matte disc of the wine's deepest colour (core sets --m1/--m2
   from the wine, --aw the diameter, --af the numeral's size, --lb the lamp's). States: lit · now (a lamp bead rests
   on the ring, top centre) · soft (tasted) · off (still to come: a ring of fine dots, no disc). The ring is an SVG
   in px units, so the hairline is 1 px at every size. Under 18 px the numeral is left out (.is-tiny).
   The class keeps the old name (op-arch, op-arch-in) so every screen's hooks still find it. */
.op-arch{position:relative;display:inline-block;flex:none;width:var(--aw,22px);height:var(--aw,22px);border-radius:50%;vertical-align:middle;
  background:radial-gradient(80% 80% at 50% 30%,var(--m1,#5a1222),var(--m2,#2a0710));
  transition:opacity .6s var(--ease-out)}
.op-mono-ring{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.op-mono-ring circle{fill:none;stroke:rgba(230,204,168,.78);stroke-width:1;transition:stroke .6s}
.op-arch-in{position:absolute;left:0;right:0;top:52%;z-index:1;text-align:center;transform:translateY(-50%);white-space:nowrap;
  font:500 var(--af,11px)/1 var(--serif);letter-spacing:.05em;text-indent:.05em;color:var(--cream-hi);font-variant-numeric:lining-nums}
.op-arch.has-in .op-arch-in{font-weight:400;letter-spacing:.02em;text-indent:.02em;top:53%}
.op-arch.is-tiny .op-arch-in{display:none}
/* now: the ring brightens and a single lamp bead sits on it */
.op-arch.is-now .op-mono-ring circle{stroke:rgba(240,220,190,.95)}
.op-arch::after{content:"";position:absolute;left:50%;top:0;width:var(--lb,5px);height:var(--lb,5px);margin:calc(var(--lb,5px)/-2) 0 0 calc(var(--lb,5px)/-2);
  border-radius:50%;background:var(--lamp-glass);opacity:0;pointer-events:none;
  box-shadow:0 0 6px 1px rgba(255,190,110,.65),0 0 14px 3px rgba(234,164,92,.25);transition:opacity .6s var(--ease-lamp)}
.op-arch.is-now::after{opacity:1}
.op-arch.is-soft{opacity:.55}
.op-arch.is-off{background:none}
.op-arch.is-off .op-mono-ring circle{stroke:rgba(201,156,110,.72);stroke-width:1.3;stroke-linecap:round;stroke-dasharray:.01 2.7}
.op-arch.is-off .op-arch-in{color:var(--brass);opacity:.62}

/* ---------------- 5.6 the evening's seven glasses .op-wins (the numerals I … VII) ----------------
   Tasted ones brighter, the rest faint, this glass in a hairline ring with the lamp on it */
.op-wins{display:inline-flex;align-items:center;gap:8px;font:500 12.5px/1 var(--serif);letter-spacing:.06em;white-space:nowrap;font-variant-numeric:lining-nums}
.op-win{color:var(--brass);opacity:.4}
.op-win.is-past{opacity:.8}
.op-win.is-now{position:relative;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;margin:0 1px;border-radius:50%;
  color:var(--cream-hi);opacity:1;font-size:12px;letter-spacing:.04em;text-indent:.04em;box-shadow:inset 0 0 0 1px rgba(236,214,182,.85)}
.op-win.is-now::after{content:"";position:absolute;left:50%;top:-2.5px;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:var(--lamp-glass);
  box-shadow:0 0 6px 1px rgba(255,190,110,.65),0 0 14px 3px rgba(234,164,92,.25)}
/* the glass kicker: the seven numerals · a short hairline · "GRAND CRU" */
.op-glaskick{display:inline-flex;align-items:center;gap:14px;white-space:nowrap}
.op-glaskick-rule{flex:none;width:22px;height:1px;background:var(--brass-lo)}
.op-glaskick .op-kick{position:relative;top:1px}

/* ---------------- 5.7 the step festoon .op-festoon ---------------- */
.op-festoon{position:absolute;left:560px;top:0;width:590px;height:124px;pointer-events:none;z-index:20}
.op-festoon>svg{position:absolute;left:0;top:0;overflow:visible}
.op-festoon-wire{fill:none;stroke:rgba(201,156,110,.45);stroke-width:1}
.op-bulb{position:absolute;width:0;height:0}
.op-bulb-hang{position:absolute;left:0;top:0;transform-origin:0 0}
.op-bulb-cap{position:absolute;left:-3px;top:0;width:6px;height:6px;border-radius:1.5px 1.5px 1px 1px;background:#2b1b13;
  box-shadow:inset 0 1px 0 rgba(255,220,180,.24),0 0 0 .5px rgba(201,156,110,.3)}
.op-bulb-glass{position:absolute;left:-5px;top:6px;width:10px;height:14px;border-radius:50% 50% 46% 46%/58% 58% 42% 42%;
  background:var(--unlit-glass);box-shadow:inset 0 0 0 1px var(--brass-lo)}
.op-bulb-glass::after{content:"";position:absolute;inset:0;border-radius:inherit;opacity:0;background:var(--lamp-glass)}
.op-bulb.is-past .op-bulb-glass{box-shadow:0 0 8px rgba(255,190,110,.42)}
.op-bulb.is-past .op-bulb-glass::after{opacity:.55}
.op-bulb.is-now .op-bulb-glass{left:-8px;width:16px;height:22px;
  box-shadow:0 0 22px rgba(255,196,118,.7),0 0 60px 12px rgba(234,164,92,.26)}
.op-bulb.is-now .op-bulb-glass::after{opacity:1}
.op-bulb.is-now .op-bulb-glass::before{content:"";position:absolute;left:50%;top:44%;width:4px;height:7px;margin-left:-2px;z-index:1;border-radius:50% 50% 50% 50%/62% 62% 38% 38%;
  background:#fffdf6;box-shadow:0 0 6px 2px rgba(255,246,220,.85);animation:op-flicker 2.7s ease-in-out infinite}  /* the flame core */
.op-bulb.is-now .op-bulb-hang{animation:op-swing 3.6s ease-in-out infinite}
.op-bulb.is-lighting .op-bulb-glass::after{animation:op-lighton .9s var(--ease-lamp) both}
.op-bulb-meta{position:absolute;left:0;top:27px;display:flex;flex-direction:column;align-items:center;gap:7px;transform:translateX(-50%);white-space:nowrap}
.op-bulb.is-now .op-bulb-meta{top:34px;gap:6px}
.op-bulb-meta .op-glyph{opacity:.55}
/* six names share 590 px: Jost at the 10.5 px floor and a little less tracking than other labels, so every name
   keeps ≥ 16 px from its neighbour and the last one ends ≥ 16 px inside the stage. A two-word name (Les Ursulines'
   "Hele Bourgogne") stands on two lines (core puts the line break in; pre-line keeps it) */
.op-bulb-name{font:400 10.5px/1 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--brass);opacity:.55;margin-right:-.2em;
  white-space:pre-line;text-align:center}
.op-bulb-name.is-two{line-height:1.45}
.op-bulb.is-past .op-bulb-meta .op-glyph,.op-bulb.is-past .op-bulb-name{opacity:.72}
.op-bulb.is-now .op-bulb-meta .op-glyph{opacity:1;stroke:var(--brass-hi)}
.op-bulb.is-now .op-bulb-name{font:italic 400 22px/1 var(--serif);letter-spacing:0;text-transform:none;color:var(--cream-hi);opacity:1;margin-right:0;
  white-space:nowrap;text-shadow:var(--halo)}
.op-festoon-spark{position:absolute;left:0;top:0;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;opacity:0;pointer-events:none;
  background:radial-gradient(closest-side,rgba(255,243,220,.95),rgba(255,206,140,.5) 35%,rgba(234,164,92,0))}
/* the tasting's small festoon */
.op-festoon.is-small{transform:scale(.78);transform-origin:100% 0}
/* the Guinguette (OP.bulb, Magnus 30.10 evening, item 28; the default festoon): each bulb holds its three drawings
   as images and shows one. Still to come: the pale pearl. Seen: lit low, deep amber. Now: bright, bigger, its halo;
   it swells in from the small size as it lights (one short flicker), and settles back to amber when the light
   moves on. Opacity and transform only: the drawings are rasterised once, nothing filters at runtime */
.op-bulb-i{position:absolute;display:block;max-width:none;pointer-events:none;opacity:0;-webkit-user-drag:none;
  transition:opacity .7s var(--ease-lamp),transform .8s var(--ease-out)}
.op-bulb-i.is-off{opacity:1}
.op-bulb.is-past .op-bulb-i.is-off,.op-bulb.is-now .op-bulb-i.is-off{opacity:0}
/* lighting up: the old drawing waits until the new light is in, so the bulb never goes dark in between */
.op-bulb.is-now .op-bulb-i.is-off,.op-bulb.is-now .op-bulb-i.is-past{transition:opacity .45s var(--ease-lamp) .3s}
.op-bulb.is-past .op-bulb-i.is-past{opacity:1}
.op-bulb-i.is-now{transform:scale(.68)}
.op-bulb.is-now .op-bulb-i.is-now{opacity:1;transform:none}
.op-bulb.is-lighting .op-bulb-i.is-now{animation:op-bulb-light .95s var(--ease-lamp) both}
@keyframes op-bulb-light{0%{opacity:.2;transform:scale(.72)}22%{opacity:1}36%{opacity:.62}52%{opacity:1}100%{opacity:1;transform:none}}
.op-festoon.is-globe .op-bulb-meta{top:28px}
.op-festoon.is-globe .op-bulb.is-now .op-bulb-meta{top:40px}
/* one bulb outside the festoon (OP.ui.bulb): a 0×0 hang point */
.op-bulbx{position:absolute;width:0;height:0;pointer-events:none}
.op-bulbx .op-bulb-i{opacity:1;transform:none}
.op-bulbx.is-swing{animation:op-swing 3.6s ease-in-out infinite;transform-origin:0 0}

/* ---------------- 5.8 the lantern's sign .op-sign (DOM label for a 3D lantern; OP.world.track moves .op-signpost) ---------------- */
.op-signpost{position:absolute;left:0;top:0;width:0;height:0;z-index:12;pointer-events:none;transition:opacity .5s var(--ease-out)}
.op-signpost.is-hidden{opacity:0}
.op-signpost::before{content:"";position:absolute;left:0;top:0;width:18px;height:1px;
  background:linear-gradient(90deg,rgba(255,215,156,.85),rgba(255,215,156,.25))}                          /* the 18 px leader */
.op-sign{position:absolute;left:18px;top:0;transform:translateY(-50%);padding:6px 14px 7px;border-radius:10px;white-space:nowrap;
  background:rgba(28,13,11,.78);box-shadow:inset 0 0 0 1px var(--brass-lo),0 10px 24px -12px rgba(0,0,0,.8)}
.op-sign b{display:block;font:italic 400 24px/1.1 var(--serif);color:var(--cream-hi)}
.op-sign small{display:block;margin-top:3px;font:400 10.5px/1 var(--sans);letter-spacing:.26em;text-transform:uppercase;color:var(--brass)}
.op-signpost.is-left::before{left:-18px;background:linear-gradient(270deg,rgba(255,215,156,.85),rgba(255,215,156,.25))}
.op-signpost.is-left .op-sign{left:auto;right:18px;text-align:right}
/* village names straight on the air view: no plate */
.op-placename{position:absolute;white-space:nowrap;font:italic 400 20px/1 var(--serif);color:var(--cream);text-shadow:var(--halo);transform:translate(-50%,-50%)}

/* ---------------- 5.10 the bottle niche .op-niche (Monogram: a plain case) ----------------
   The wine's place full-bleed at the top, dissolving into the panel (a mask, no frame); its numeral on it; the
   bottle in candlelight; producer · vintage on a hairline at the foot */
.op-niche{--w:196px;width:196px;height:500px;overflow:hidden}
.op-niche-view{position:absolute;left:0;right:0;top:0;height:250px;border-radius:var(--r-card) var(--r-card) 0 0;overflow:hidden;opacity:.46;
  -webkit-mask-image:linear-gradient(180deg,#000 12%,rgba(0,0,0,.5) 46%,transparent 86%);mask-image:linear-gradient(180deg,#000 12%,rgba(0,0,0,.5) 46%,transparent 86%)}
.op-niche-view i{position:absolute;inset:0;background-size:cover;background-position:var(--pos,50% 50%);
  filter:sepia(.28) saturate(1.05) brightness(.95)}                                                  /* warm-graded, static: never animated */
.op-niche-glow{position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:radial-gradient(70% 34% at 50% 72%,rgba(255,190,120,.22),rgba(255,170,100,.06) 60%,transparent 80%)}   /* the candle behind the bottle */
.op-niche-mark{position:absolute;left:0;right:0;top:22px;display:flex;justify-content:center;pointer-events:none}
.op-niche-bottle{position:absolute;left:0;right:0;top:100px;height:336px;display:flex;justify-content:center;align-items:flex-end}
.op-niche-bottle img{height:330px;width:auto;display:block}
.op-niche-pool{position:absolute;left:50%;top:426px;width:150px;height:22px;margin-left:-75px;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(255,196,128,.28),transparent)}
.op-niche-foot{position:absolute;left:24px;right:24px;bottom:24px;padding-top:13px;text-align:center;border-top:1px solid rgba(201,156,110,.2);
  font:400 11px/1 var(--sans);letter-spacing:.26em;text-transform:uppercase;color:var(--brass);white-space:nowrap}
.op-niche.is-rising{animation:op-rise .9s var(--ease-out) both}
.op-niche.is-rising .op-niche-glow{animation:op-lighton 1.2s var(--ease-lamp) .35s both}
@keyframes op-rise{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}

/* ---------------- 5.11 the luggage tag — the price .op-tag ---------------- */
.op-tag{position:absolute;width:230px;height:108px;transform-origin:var(--ox,30px) var(--oy,-60px)}
.op-tag-string{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}
.op-tag-string path{fill:none;stroke:rgba(232,214,187,.75);stroke-width:1.2;stroke-linecap:round}
.op-tag-card{position:absolute;inset:0;border-radius:26px 6px 6px 26px;color:var(--sepia);
  background:var(--op-fibre,none),linear-gradient(170deg,#d2b48a,#b8976a);background-size:256px 128px,auto;
  box-shadow:inset 0 1px 0 rgba(255,240,214,.45),inset 0 -1px 0 rgba(90,60,30,.35),0 16px 30px -14px rgba(0,0,0,.85),0 2px 4px rgba(0,0,0,.35)}
.op-tag-card::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:radial-gradient(90% 120% at 0% 50%,rgba(255,236,200,.18),transparent 60%),linear-gradient(180deg,transparent 60%,rgba(80,48,20,.16))}
.op-tag-eye{position:absolute;left:12px;top:50%;width:14px;height:14px;margin-top:-7px;border-radius:50%;
  background:radial-gradient(circle,#1c0d0b 0 3px,transparent 3.5px);box-shadow:inset 0 0 0 3px var(--bronze),inset 0 0 0 4px rgba(60,36,16,.6),0 1px 1px rgba(255,240,214,.4)}
.op-tag-label{position:absolute;left:42px;top:20px;font:400 10.5px/1 var(--sans);letter-spacing:.26em;color:var(--sepia);opacity:.85}
.op-tag-price{position:absolute;left:40px;right:14px;bottom:13px;display:flex;align-items:baseline;gap:7px;white-space:nowrap}
.op-tag-price .op-fig{font-size:54px;line-height:.9;color:var(--sepia)}
.op-tag-price i{font:italic 400 26px/1 var(--serif);color:var(--sepia)}

/* ---------------- 5.12 the ledger .op-ledger ---------------- */
.op-ledger{display:flex;flex-direction:column;gap:6px}
.op-ledger-row{display:flex;align-items:baseline;min-height:40px}
.op-ledger-name{white-space:nowrap;color:var(--cream-hi)}
.op-ledger-row.is-guest .op-ledger-name{font:400 30px/1.15 var(--hand)}
.op-ledger-row.is-avg .op-ledger-name{font:italic 400 26px/1.15 var(--serif);color:var(--cream)}
.op-ledger-lead{flex:1;border-bottom:1px dotted var(--brass-lo);margin:0 10px 8px}
.op-ledger-score{font-size:32px;line-height:1;color:var(--cream-hi)}
.op-ledger-row.is-avg .op-ledger-score{color:var(--brass-hi)}

/* ---------------- 5.13 the experts' medal .op-medal ---------------- */
.op-medal{position:absolute;width:128px;height:128px;transform-origin:50% var(--oy,-92px)}
.op-medal-ribbon{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}
.op-medal-disc{position:absolute;inset:0;border-radius:50%;
  background:radial-gradient(circle at 38% 32%,var(--bronze-hi) 0,var(--bronze) 42%,var(--bronze-lo) 100%);
  box-shadow:inset 0 2px 0 rgba(255,236,200,.18),inset 0 -3px 6px rgba(40,24,12,.35),
    0 14px 26px -10px rgba(0,0,0,.85),0 2px 3px rgba(0,0,0,.4)}
.op-medal-disc::before{content:"";position:absolute;inset:9px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(40,24,12,.5),0 1px 0 rgba(255,232,190,.18)}  /* the engraved ring */
.op-medal-laurel{position:absolute;inset:0;overflow:visible}
.op-medal-laurel path{fill:none;stroke:rgba(60,36,16,.55);stroke-width:1.3;stroke-linecap:round}
.op-medal-laurel ellipse{fill:rgba(60,36,16,.32)}
.op-medal-num{position:absolute;left:0;right:0;top:34px;text-align:center;font-size:46px;line-height:1;color:#2a1a0e;text-shadow:0 1px 0 rgba(255,232,190,.25)}
.op-medal-word{position:absolute;left:0;right:0;top:82px;text-align:center;font:italic 400 16px/1 var(--serif);color:#2a1a0e;opacity:.85}
.op-medal-label{position:absolute;left:50%;top:-24px;transform:translateX(-50%);white-space:nowrap;font:400 11px/1 var(--sans);letter-spacing:.26em;color:var(--brass)}

/* ---------------- 5.14 the shutters — Forseglet .op-shutter ---------------- */
.op-shutter{position:absolute;perspective:600px;pointer-events:none}
.op-shutter-leaf{position:absolute;top:0;bottom:0;width:50%;backface-visibility:hidden;-webkit-backface-visibility:hidden;
  background:repeating-linear-gradient(180deg,transparent 0 22px,rgba(0,0,0,.35) 22px 23px,rgba(255,200,140,.10) 23px 24px),
             var(--op-grain-tex,none),linear-gradient(180deg,var(--oak),var(--oak-lo));
  background-size:auto,256px 128px,auto;
  box-shadow:inset 0 0 0 1px rgba(201,156,110,.16),inset 0 1px 0 rgba(255,220,172,.12),0 10px 24px -10px rgba(0,0,0,.9);
  transition:transform .7s var(--ease-out)}
.op-shutter-leaf.is-l{left:0;border-radius:var(--sr,14px) 0 0 var(--sr,14px);transform-origin:0 50%;transform:rotateY(-100deg)}
.op-shutter-leaf.is-r{right:0;border-radius:0 var(--sr,14px) var(--sr,14px) 0;transform-origin:100% 50%;transform:rotateY(100deg)}
.op-shutter-leaf::after{content:"";position:absolute;top:var(--ky,62%);width:6px;height:6px;margin-top:-3px;border-radius:50%;
  background:radial-gradient(circle at 35% 35%,var(--brass-hi),var(--bronze) 60%,var(--bronze-lo));box-shadow:0 1px 2px rgba(0,0,0,.6)}   /* the brass knob */
.op-shutter-leaf.is-l::after{right:10px}
.op-shutter-leaf.is-r::after{left:10px}
.op-shutter-leak{position:absolute;left:50%;top:0;bottom:0;width:2px;margin-left:-1px;opacity:0;transition:opacity .6s .5s;
  background:linear-gradient(180deg,transparent,rgba(234,164,92,.25) 15%,rgba(234,164,92,.25) 85%,transparent)}  /* warm light at the seam */
.op-shutter.is-closed .op-shutter-leaf{transform:none}
.op-shutter.is-closed .op-shutter-leaf.is-r{transition-delay:80ms}
.op-shutter.is-closed .op-shutter-leak{opacity:1}
.op-shutter.is-opening .op-shutter-leaf{transition-duration:.9s}
.op-shutter-note{position:absolute;left:0;right:0;top:27%;text-align:center;opacity:0;transition:opacity .5s;transform:translateY(-50%)}
.op-shutter.is-closed .op-shutter-note{opacity:1;transition:opacity .6s .55s}
.op-shutter-note b{display:block;font:italic 400 24px/1.1 var(--serif);color:var(--cream-hi);text-shadow:0 1px 8px rgba(0,0,0,.8)}
.op-shutter-note small{display:block;margin-top:8px;font:400 11px/1 var(--sans);letter-spacing:.26em;text-transform:uppercase;color:var(--brass)}
.op-shutter-hold{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;overflow:visible;pointer-events:none;opacity:0;transition:opacity .3s}
.op-shutter-hold circle{fill:none;stroke-width:1.5}
.op-shutter-hold .is-track{stroke:rgba(201,156,110,.22)}
.op-shutter-hold .is-fill{stroke:var(--lamp);stroke-linecap:round;filter:drop-shadow(0 0 3px rgba(255,190,110,.8));transform:rotate(-90deg);transform-origin:50% 50%}
.op-shutter.is-closed .op-shutter-hold{opacity:1}
.op-shutter-hint{position:absolute;left:0;right:0;top:calc(var(--ky,62%) + 26px);text-align:center;font:italic 400 17px/1 var(--serif);color:var(--cream);opacity:0;transition:opacity .5s}
.op-shutter.is-closed .op-shutter-hint{opacity:.72;transition:opacity .6s .7s}
.op-shutter.is-closed{pointer-events:auto}

/* ---------------- Låst: the seal over a guest's answers .op-seal (OP.ui.seal) ----------------
   Magnus 30.10: Klar locks and hides the answers with an elegant effect, no "hold to open". A dark blind is lowered
   over the zone with a line of lamplight on its edge (the lamp turned down as it passes); at the bottom the light
   goes out and a wax seal with the guest's initials is pressed on, then the name and "Svaret er låst".
   Reopening (host, or "Ret" twice) lifts it the same way back. Transforms and opacity only. */
.op-seal{position:absolute;overflow:hidden;border-radius:var(--sr,6px);pointer-events:none}
.op-seal.is-closed{pointer-events:auto}
.op-seal-veil{position:absolute;inset:0;overflow:hidden;border-radius:inherit}
.op-seal-blind{position:absolute;left:0;right:0;top:0;height:100%;transform:translateY(-101%);
  background:radial-gradient(90% 46% at 50% 30%,rgba(255,190,120,.07),transparent 70%),linear-gradient(180deg,#24110e 0%,#190b0a 55%,#130808 100%);
  transition:transform .56s var(--ease-in-out) .14s}
/* no frame on the blind (Monogram: plain surfaces): it is the card's own dark, lowered over the answers */
/* the lamplight on the blind's edge, and the warm spill just below it */
.op-seal-edge{position:absolute;left:6%;right:6%;bottom:0;height:1px;opacity:0;
  background:linear-gradient(90deg,rgba(255,214,150,0),rgba(255,226,180,.95) 30%,rgba(255,236,200,1) 50%,rgba(255,226,180,.95) 70%,rgba(255,214,150,0));
  transition:opacity .3s var(--ease-out)}
.op-seal-edge::after{content:"";position:absolute;left:-6%;right:-6%;top:1px;height:46px;
  background:radial-gradient(60% 100% at 50% 0%,rgba(255,196,120,.26),rgba(234,164,92,0))}
.op-seal.is-closed .op-seal-blind{transform:none;transition:transform .62s var(--ease-in-out)}
.op-seal.is-closed .op-seal-edge{animation:op-seal-edge .9s var(--ease-lamp) both}
@keyframes op-seal-edge{0%{opacity:1}62%{opacity:1}100%{opacity:0}}
.op-seal-face{position:absolute;left:0;right:0;top:30%;display:flex;flex-direction:column;align-items:center;text-align:center;transform:translateY(-38px)}
.op-seal-wax{position:relative;width:76px;height:76px;opacity:0;transform:scale(1.22);transition:opacity .2s,transform .3s var(--ease-out)}
.op-seal-wax .op-wax{position:relative;display:block}
.op-seal-glow{position:absolute;left:-46px;top:-46px;width:168px;height:168px;border-radius:50%;opacity:0;pointer-events:none;
  background:radial-gradient(closest-side,rgba(255,196,120,.34),rgba(234,164,92,.08) 52%,rgba(234,164,92,0))}
.op-seal.is-closed .op-seal-wax{opacity:1;transform:none;transition:opacity .28s .5s,transform .5s cubic-bezier(.2,.9,.25,1) .5s}
.op-seal.is-closed .op-seal-glow{animation:op-seal-glow 1.6s var(--ease-lamp) .55s both}
@keyframes op-seal-glow{0%{opacity:0}22%{opacity:1}100%{opacity:.42}}
.op-seal-title{display:block;margin-top:22px;font:italic 400 26px/1.15 var(--serif);color:var(--cream-hi);opacity:0;transition:opacity .2s}
.op-seal-sub{display:block;margin-top:9px;font:400 11px/1 var(--sans);letter-spacing:.26em;text-transform:uppercase;color:var(--brass);opacity:0;transition:opacity .2s}
.op-seal.is-closed .op-seal-title{opacity:1;transition:opacity .6s var(--ease-out) .78s}
.op-seal.is-closed .op-seal-sub{opacity:.9;transition:opacity .6s var(--ease-out) .9s}
/* "Ret": small, at the foot; the first tap asks, the second opens */
.op-seal-ret{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 14px;
  border:0;background:none;cursor:pointer;white-space:nowrap;font:400 11px/1 var(--sans);letter-spacing:.26em;color:var(--brass);opacity:0;
  transition:opacity .2s,color .3s}
.op-seal.is-closed .op-seal-ret{opacity:.7;transition:opacity .6s var(--ease-out) 1.1s,color .3s}
.op-seal-ret-ring{flex:none;width:8px;height:8px;border-radius:50%;box-shadow:inset 0 0 0 1px var(--brass-lo);transition:background .3s,box-shadow .3s}
.op-seal-ret.is-asking{color:var(--cream-hi);letter-spacing:.14em;opacity:1!important}
.op-seal-ret.is-asking .op-seal-ret-ring{background:var(--lamp-glass);box-shadow:0 0 8px rgba(255,190,110,.6)}
.op-seal.is-instant,.op-seal.is-instant *{transition:none!important;animation:none!important}
/* placed without the animation (a still, a reload, a tab switch): the lamp already out, the glow at rest */
.op-seal.is-settled .op-seal-edge,.op-seal.is-settled .op-seal-glow{animation:none}
.op-seal.is-settled.is-closed .op-seal-glow{opacity:.42}

/* ---------------- the filament bulb (?bulbs=filament; OP.ui.filament inside .op-festoon.is-filament) ----------------
   Magnus 30.10: bulbs that look like real bulbs. A ridged brass socket, a teardrop glass envelope with a highlight,
   two support wires and a looped filament. Unlit: clear glass, a dark copper filament. Past: the filament glows
   low. Now: bigger, the filament white-hot, the glass full of warm light, a halo behind. */
.op-bulb-fil{position:absolute;left:-6.5px;top:0;width:13px;height:23.4px;overflow:visible}
.op-bulb-fil .fil-glass{fill:rgba(255,236,210,.05)}
.op-bulb-fil .fil-rim{fill:none;stroke:rgba(214,182,140,.5);stroke-width:.75}
.op-bulb-fil .fil-glow{opacity:0;transition:opacity .5s var(--ease-lamp)}
.op-bulb-fil .fil-wire{fill:none;stroke:rgba(150,112,76,.65);stroke-width:.45}
.op-bulb-fil .fil-cold{fill:none;stroke:#6a4426;stroke-width:.8;stroke-linecap:round}
.op-bulb-fil .fil-warm{fill:none;stroke:#ffb25c;stroke-width:2.6;stroke-linecap:round;opacity:0;transition:opacity .5s}
.op-bulb-fil .fil-hot{fill:none;stroke:#fff3d4;stroke-width:.9;stroke-linecap:round;opacity:0;transition:opacity .5s}
.op-bulb-fil .fil-hi{fill:none;stroke:rgba(255,255,255,.3);stroke-width:.8;stroke-linecap:round}
.op-bulb-fil .fil-ridge{fill:none;stroke:rgba(40,24,10,.62);stroke-width:.65}
.op-bulb-fil .fil-collar{fill:#24150d}
.op-bulb.is-past .fil-glow{opacity:.34}
.op-bulb.is-past .fil-warm{opacity:.42}
.op-bulb.is-past .fil-hot{opacity:.55;stroke:#ffd9a0}
.op-bulb.is-past .fil-cold{opacity:0}
.op-bulb.is-now .op-bulb-fil{left:-10px;width:20px;height:36px}
.op-bulb.is-now .fil-glow{opacity:1}
.op-bulb.is-now .fil-warm{opacity:.9}
.op-bulb.is-now .fil-hot{opacity:1;animation:op-breathe 3.2s ease-in-out infinite}
.op-bulb.is-now .fil-cold{opacity:0}
.op-bulb.is-now .fil-wire{stroke:rgba(255,214,160,.7)}
.op-bulb.is-now .fil-rim{stroke:rgba(255,224,180,.62)}
.op-bulb.is-lighting .fil-hot,.op-bulb.is-lighting .fil-glow{animation:op-lighton .9s var(--ease-lamp) both}
/* the warm air round the lit bulb (a radial gradient, never a filter) */
.op-bulb-halo{position:absolute;left:-48px;top:-20px;width:96px;height:96px;border-radius:50%;pointer-events:none;opacity:0;
  background:radial-gradient(closest-side,rgba(255,214,150,.58),rgba(250,180,100,.2) 40%,rgba(234,164,92,.06) 70%,rgba(234,164,92,0));transition:opacity .5s var(--ease-lamp)}
.op-bulb.is-past .op-bulb-halo{opacity:.32;transform:translateY(-6px) scale(.5)}
.op-bulb.is-now .op-bulb-halo{opacity:1}
.op-festoon.is-filament .op-bulb-meta{top:31px}
.op-festoon.is-filament .op-bulb.is-now .op-bulb-meta{top:45px}

/* ---------------- 5.16 compass .op-compass + scale .op-scale ---------------- */
.op-compass{position:absolute;width:54px;height:54px;border-radius:50%;box-shadow:inset 0 0 0 1px var(--brass-lo),0 0 0 1px rgba(9,2,4,.25);pointer-events:none}
.op-compass-rose{position:absolute;inset:0;transition:transform 1.2s var(--ease-in-out)}
.op-compass-dot{position:absolute;left:50%;top:-2px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:var(--lamp-glass);
  box-shadow:0 0 5px 1px rgba(255,190,110,.7)}
.op-compass-n{position:absolute;left:50%;top:9px;width:14px;margin-left:-7px;text-align:center;font:400 10.5px/1 var(--sans);letter-spacing:0;color:var(--brass);
  text-shadow:var(--halo);transition:transform 1.2s var(--ease-in-out)}
.op-scale{position:relative;display:inline-block;height:26px}
.op-scale-bar{position:absolute;left:0;bottom:7px;width:var(--len,100px);height:1px;background:var(--brass);transition:width .6s var(--ease-out)}
.op-scale-bar::before,.op-scale-bar::after{content:"";position:absolute;bottom:0;width:1px;height:6px;background:var(--brass)}
.op-scale-bar::before{left:0}.op-scale-bar::after{right:0}
.op-scale-mid{position:absolute;left:50%;bottom:0;width:1px;height:4px;background:var(--brass)}
.op-scale-txt{position:absolute;left:0;top:0;width:var(--len,100px);display:flex;justify-content:space-between;font:400 10.5px/1 var(--sans);letter-spacing:.08em;color:var(--brass);white-space:nowrap;transition:width .6s var(--ease-out)}
.op-scale-txt span:last-child{margin-right:-1.2em}

/* ---------------- 13.1 Pointskalaen .op-score (OP.ui.score) — T1 · Stepper ----------------
   Magnus 30.10 evening (item 29): the stepper, with a smaller numeral and finer proportions than the take. A row of
   − · the Fraunces numeral · + (geometry from core: --ns numeral, --rd ring, --hit touch box, --edge), the score
   word under it, and a hairline 80–100 that only shows where the score sits: the five words' bands parted by fine
   ticks, the current word's band drawn brighter, a lit bead at the score. Empty: a ghost 90 and the hint. */
.op-score{position:relative;display:block;outline:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.op-score:focus-visible{outline:1px solid var(--brass-lo);outline-offset:6px;border-radius:14px}
.op-score-head{position:relative;height:calc(var(--ns) * 1.12)}
.op-score-num{position:absolute;left:calc(var(--edge) + var(--hit) - 6px);right:calc(var(--edge) + var(--hit) - 6px);top:0;bottom:0;
  display:flex;justify-content:center;align-items:center;font-size:var(--ns);line-height:1;letter-spacing:-.02em;color:var(--cream-hi);
  transition:color .5s,opacity .5s var(--ease-out)}
/* a little lamplight on the number, never a glow */
.op-score-num::before{content:"";position:absolute;left:50%;top:50%;width:calc(var(--ns) * 2.3);height:calc(var(--ns) * 1.4);transform:translate(-50%,-50%);
  border-radius:50%;pointer-events:none;background:radial-gradient(closest-side,rgba(255,190,120,.075),rgba(255,190,120,0));transition:opacity .6s var(--ease-lamp)}
.op-score-num.is-3{font-size:calc(var(--ns) * .8)}
.op-score-digits{position:relative;display:flex;transform:translateY(calc(var(--ns) * .02))}
.op-score-slot{display:grid;height:1.1em;line-height:1.1em;overflow:hidden}
.op-score-slot>span{grid-area:1/1;display:block;text-align:center}
.op-score.is-empty .op-score-num{color:var(--cream);opacity:.2;cursor:pointer}
.op-score.is-empty .op-score-num::before{opacity:0}
.op-score.is-empty.is-nudge .op-score-num{opacity:.55}
/* − and +: a hairline ring with the sign; pressed, the ring takes the lamplight. Never disabled: faint at the ends */
.op-score-step{position:absolute;top:50%;width:var(--hit);height:var(--hit);margin-top:calc(var(--hit) / -2);padding:0;border:0;background:none;cursor:pointer;
  touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;color:inherit}
.op-score-step.is-minus{left:var(--edge)}
.op-score-step.is-plus{right:var(--edge)}
.op-score-step::before{content:"";position:absolute;left:50%;top:50%;width:var(--rd);height:var(--rd);margin:calc(var(--rd) / -2) 0 0 calc(var(--rd) / -2);border-radius:50%;
  box-shadow:inset 0 0 0 1px rgba(230,204,168,.46);transition:box-shadow .35s var(--ease-out),background .35s var(--ease-out),opacity .35s}
.op-score-step i{position:absolute;left:50%;top:50%;width:calc(var(--rd) * .34);height:1.4px;margin:-.7px 0 0 calc(var(--rd) * -.17);border-radius:1px;
  background:var(--cream-hi);transition:opacity .35s}
.op-score-step i+i{transform:rotate(90deg)}
.op-score-step.is-down::before{background:radial-gradient(closest-side,rgba(255,200,132,.26),rgba(255,196,128,.06) 80%,rgba(255,196,128,0));
  box-shadow:inset 0 0 0 1px rgba(255,228,190,.9),0 0 26px -4px rgba(234,164,92,.55);transition-duration:.08s}
.op-score-step.is-end::before{opacity:.32}
.op-score-step.is-end i{opacity:.3}
.op-score-step:focus-visible{outline:none}
.op-score-step:focus-visible::before{box-shadow:inset 0 0 0 1px rgba(255,228,190,.9)}
/* the word under the numeral (or the hint while empty) */
.op-score-word{display:grid;place-items:center;height:30px;margin-top:4px;white-space:nowrap}
.op-score-word>span{grid-area:1/1}
.op-score-w{font:italic 400 25px/30px var(--serif);color:var(--cream)}
.op-score-hint{font:400 10.5px/30px var(--sans);letter-spacing:.26em;text-transform:uppercase;color:var(--brass);margin-right:-.26em;
  opacity:0;transition:opacity .5s var(--ease-out),color .4s}
.op-score.is-empty .op-score-hint{opacity:.82}
.op-score.is-nudge .op-score-hint{color:var(--cream-hi);opacity:1}
/* where it sits: 80 —|——|——•|——|—— 100 */
.op-score-scale{position:relative;height:20px;margin-top:14px}
.op-score-line{position:absolute;left:var(--li);right:var(--li);top:10px;height:1px;background:rgba(201,156,110,.26)}
.op-score-lo,.op-score-hi{position:absolute;top:3px;font:300 13px/1 var(--num);font-variation-settings:'SOFT' 100,'WONK' 0;font-variant-numeric:lining-nums;
  color:var(--brass);opacity:.66;white-space:nowrap}
.op-score-lo{right:calc(100% - var(--li) + 10px)}
.op-score-hi{left:calc(100% - var(--li) + 10px)}
.op-score-tick{position:absolute;top:-3px;width:1px;height:7px;margin-left:-.5px;background:rgba(201,156,110,.44)}
.op-score-tick.is-end{top:-4px;height:9px;background:rgba(201,156,110,.5)}
.op-score-band{position:absolute;top:-.5px;height:2px;border-radius:1px;opacity:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(240,222,192,.2),rgba(240,222,192,.66) 50%,rgba(240,222,192,.2));transition:opacity .45s var(--ease-out)}
.op-score-band.is-on{opacity:1}
.op-score-bead{position:absolute;top:-3.5px;left:50%;width:8px;height:8px;margin-left:-4px;border-radius:50%;background:var(--lamp-glass);
  box-shadow:0 0 0 2px rgba(18,8,9,.7),0 0 7px 1px rgba(255,190,110,.6),0 0 16px 3px rgba(234,164,92,.22);
  transition:left .3s var(--ease-out),transform .3s var(--ease-out),box-shadow .3s,opacity .4s}
.op-score.is-kick .op-score-bead{transform:scale(1.35);box-shadow:0 0 0 2px rgba(18,8,9,.7),0 0 11px 3px rgba(255,200,130,.75),0 0 22px 5px rgba(234,164,92,.28)}
.op-score.is-empty .op-score-bead{opacity:0}
.op-score.is-disabled .op-score-step,.op-score.is-disabled .op-score-num{pointer-events:none;cursor:default}

/* ---------------- 13.2 Smagsprofilen .op-profile (OP.ui.profile) ----------------
   Four rows (OP.PROFILE), hairlines between them. Stack: the two end words above seven glass segments; inline:
   the words beside them (--lw wide). The look follows the stepper (Magnus 30.10 evening, item 29): unlit segments
   are hairline glass in the ring's colour, the lit one is a small lamp with .op-pf-light spilling a halo onto its
   neighbours, and the end words stay quiet until the answer leans their way. Average (the reveal, item 30): the
   segment nearest the table's mean lit, the halo at the exact mean, the neighbour it leans toward faintly lit.
   Compare adds the guests' beads under the segments (their initials only with initials:true); the brass ring is
   the guide. */
.op-profile{position:relative;--seg-h:18px}
.op-pf-row{position:relative;padding:11px 0 12px;outline:none}
.op-pf-row+.op-pf-row::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;
  background:linear-gradient(90deg,transparent,var(--line) 14%,var(--line) 86%,transparent)}
.op-profile.is-input .op-pf-row{cursor:pointer;touch-action:none}
.op-pf-row:focus-visible .op-pf-track{outline:1px solid var(--brass-lo);outline-offset:5px;border-radius:999px}
.op-pf-ends{display:flex;justify-content:space-between;align-items:baseline;margin:0 1px 9px;white-space:nowrap}
.op-pf-lo,.op-pf-hi{font:italic 400 19px/1 var(--serif);color:var(--cream);opacity:.66;transition:opacity .4s var(--ease-out),color .4s}
.op-pf-lo.is-near,.op-pf-hi.is-near{opacity:1;color:var(--cream-hi)}
.op-pf-col{position:relative}
.op-pf-track{position:relative;height:var(--seg-h)}
.op-pf-seg{position:absolute;top:0;height:var(--seg-h);border-radius:var(--r-pill);
  background:linear-gradient(180deg,rgba(255,236,210,.06),rgba(255,236,210,.018) 62%,rgba(255,236,210,.035));      /* unlit glass, a little round */
  box-shadow:inset 0 0 0 1px rgba(230,204,168,.27),inset 0 1px 0 rgba(255,236,210,.06);transition:box-shadow .3s var(--ease-out)}
.op-profile.is-input .op-pf-row.is-touch .op-pf-seg{box-shadow:inset 0 0 0 1px rgba(230,204,168,.42),inset 0 1px 0 rgba(255,236,210,.08)}
.op-pf-seg::after{content:"";position:absolute;inset:0;border-radius:inherit;opacity:0;
  background:radial-gradient(130% 150% at 50% 72%,#fffaf0 0,#ffe4b0 34%,#ffbd6a 76%,#e98a40 100%);
  box-shadow:0 0 9px 1px rgba(255,190,110,.6),0 0 24px 5px rgba(234,164,92,.22);transition:opacity .22s var(--ease-lamp)}
.op-pf-seg.is-lit::after{opacity:1}
/* average: the neighbour the mean leans toward takes a share of the light (--lean, 0 … ~.45) */
.op-pf-seg.is-lean::after{opacity:var(--lean,0);box-shadow:none;
  background:radial-gradient(150% 170% at var(--lx,50%) 55%,rgba(255,206,140,.85),rgba(240,150,76,.42) 46%,rgba(233,138,64,0) 92%)}   /* the light spilling over from the lit one */
.op-pf-seg.is-flick::after{animation:op-pf-flick .12s var(--ease-lamp)}
@keyframes op-pf-flick{0%{opacity:.5;transform:scale(.9,.84)}50%{opacity:1;transform:scale(1.06,1.14)}100%{transform:none}}
.op-pf-light{position:absolute;top:50%;left:0;height:52px;margin-top:-26px;transform:translateX(-50%);border-radius:50%;pointer-events:none;opacity:0;
  background:radial-gradient(closest-side,rgba(255,206,140,.3),rgba(234,164,92,.09) 58%,rgba(234,164,92,0));transition:left .24s var(--ease-out),opacity .35s}
.op-pf-row.has-value .op-pf-light{opacity:1}
.op-profile.is-compare .op-pf-light{opacity:0}
.op-pf-ring{position:absolute;top:-4px;left:0;height:calc(var(--seg-h) + 8px);border-radius:var(--r-pill);pointer-events:none;opacity:0;
  box-shadow:inset 0 0 0 1.5px var(--brass-hi),0 0 10px rgba(226,192,148,.16);transition:opacity .5s var(--ease-out),box-shadow .5s}
.op-pf-row.has-ref .op-pf-ring{opacity:1}
.op-pf-row.is-match .op-pf-ring{box-shadow:inset 0 0 0 1.5px var(--lamp),0 0 16px rgba(255,200,130,.5),0 0 34px 4px rgba(234,164,92,.18)}
.op-pf-ring::after{content:"";position:absolute;inset:-12px -16px;border-radius:var(--r-pill);opacity:0;pointer-events:none;
  background:radial-gradient(closest-side,rgba(255,220,160,.55),rgba(234,164,92,0))}                     /* the match flare (reveal) */
/* compare: every guest is a small bead under the capsule they chose (Magnus 30.10, item 23: no letters on the
   reveal), in a seven-column grid that lines up with the capsules (core sets the columns). This iPad's own pair is
   lit like a lamp dot, the others are glass with a brass hairline; a tap on a row shows the full names */
.op-pf-dots{display:grid;margin-top:6px;row-gap:0}
.op-pf-cell{display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-start;gap:4px;min-width:0;padding:0 2px 1px}
.op-pf-cell.is-start{justify-content:flex-start;padding-left:5px}
.op-pf-cell.is-end{justify-content:flex-end;padding-right:5px}
.op-pf-dot{display:inline-block;flex:none;width:6px;height:6px;border-radius:50%;font-size:0;color:transparent;font-style:normal;
  background:rgba(255,236,210,.08);box-shadow:inset 0 0 0 1px rgba(214,182,140,.62);
  transition:opacity .5s var(--ease-lamp),transform .5s var(--ease-out)}
.op-pf-dot.is-me{background:var(--lamp-glass);box-shadow:0 0 5px 1px rgba(255,190,110,.55),0 0 12px 2px rgba(234,164,92,.18)}
/* initials:true (opt-in): the guests' initials as small capitals, a capsule's group in a small tray */
.op-profile.has-ini .op-pf-cell{gap:0 4px;padding:1px 2px 2px;border-radius:7px}
.op-profile.has-ini .op-pf-cell:not(:empty){background:rgba(255,236,210,.035);box-shadow:inset 0 0 0 1px rgba(201,156,110,.16)}
.op-profile.has-ini .op-pf-dot,.op-pf-names .op-pf-dot{width:auto;height:auto;border-radius:0;background:none;box-shadow:none;
  font:500 10.5px/13px var(--sans);letter-spacing:.05em;margin-right:-.05em;color:var(--brass-hi);opacity:.82;white-space:nowrap}
.op-profile.has-ini .op-pf-dot.is-me,.op-pf-names .op-pf-dot.is-me{color:var(--cream-hi);opacity:1;text-shadow:0 0 7px rgba(255,200,130,.6)}
.op-profile.is-compare .op-pf-row{cursor:pointer}
.op-pf-who{position:absolute;bottom:calc(100% + 2px);left:0;transform:translate(-50%,4px);padding:6px 11px 7px;border-radius:10px;white-space:nowrap;pointer-events:none;
  background:rgba(28,13,11,.94);box-shadow:inset 0 0 0 1px var(--brass-lo),0 10px 24px -12px rgba(0,0,0,.8);
  font:italic 400 16px/1 var(--serif);color:var(--cream-hi);opacity:0;transition:opacity .3s var(--ease-out),transform .3s var(--ease-out);z-index:2}
.op-pf-who.is-on{opacity:1;transform:translate(-50%,0)}
/* inline: words beside the capsules (compact: the reveal's cards) */
.op-profile.is-inline{--seg-h:16px}
/* the row's air: OP.ui.profile({pitch}) sets --pf-pt / --pf-pb (the reveal's Bordets smag, item 38a) */
.op-profile.is-inline .op-pf-row{display:flex;align-items:flex-start;gap:var(--gx,12px);padding:var(--pf-pt,7px) 0 var(--pf-pb,8px)}
.op-profile.is-inline .op-pf-lo,.op-profile.is-inline .op-pf-hi{flex:none;width:var(--lw,84px);font-size:17px;line-height:var(--seg-h);white-space:nowrap}
.op-profile.is-inline .op-pf-lo{text-align:right}
.op-profile.is-inline .op-pf-dots{margin-top:4px}
/* the legend: one specimen of each light */
.op-pf-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 20px;margin-top:12px;font:400 10.5px/1 var(--sans);letter-spacing:.22em;
  text-transform:uppercase;color:var(--brass);white-space:nowrap}
.op-pf-key{display:inline-flex;align-items:center;gap:8px}
.op-pf-key i{position:relative;flex:none;display:inline-block}
.op-pf-key-lit{width:20px;height:9px;border-radius:var(--r-pill);background:radial-gradient(130% 150% at 50% 72%,#fffaf0 0,#ffe4b0 34%,#ffbd6a 76%,#e98a40 100%);
  box-shadow:0 0 7px 1px rgba(255,190,110,.55)}
.op-pf-key-ring{width:22px;height:11px;border-radius:var(--r-pill);box-shadow:inset 0 0 0 1.5px var(--brass-hi)}
.op-pf-keys{display:contents}
.op-pf-key-dot{width:6px;height:6px;border-radius:50%;background:rgba(255,236,210,.08);box-shadow:inset 0 0 0 1px rgba(214,182,140,.62)}
.op-pf-key-dot.is-me{background:var(--lamp-glass);box-shadow:0 0 5px 1px rgba(255,190,110,.55)}
/* the key to the initials: "P Pernille · O Ole …" (names in Cormorant, as names are everywhere) */
.op-pf-names{display:flex;justify-content:center;flex-wrap:wrap;gap:7px 14px;margin-top:10px}
.op-pf-name{display:inline-flex;align-items:center;gap:6px;font:italic 400 15px/16px var(--serif);color:var(--cream);opacity:.86}
.op-pf-name.is-me{opacity:1;color:var(--cream-hi)}
.op-pf-name .op-pf-dot{flex:none;line-height:16px}
/* read mode with `who`: the initials sit in the lit capsule */
.op-pf-tag{position:absolute;top:0;height:var(--seg-h);display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:0;
  font:500 10.5px/1 var(--sans);letter-spacing:.03em;color:#3a1a0e;transition:left .24s var(--ease-out),opacity .3s}
.op-pf-row.has-value .op-pf-tag{opacity:1}
.op-profile.is-veiled .op-pf-tag{opacity:0}
/* veiled → reveal(): row by row the dots light, then the table's capsule, then the ring settles on */
.op-profile.is-veiled .op-pf-dots .op-pf-dot{opacity:0;transform:translateY(4px)}
.op-profile.is-veiled .op-pf-seg::after{opacity:0}
.op-profile.is-veiled .op-pf-ring{opacity:0;transform:scale(1.35,1.7)}
.op-profile.is-revealing .op-pf-dot{transition-delay:calc(var(--rd,0ms) + var(--d,0ms))}
.op-profile.is-revealing .op-pf-seg::after{transition:opacity .7s var(--ease-lamp) calc(var(--rd,0ms) + 380ms)}
.op-profile.is-veiled .op-pf-light{opacity:0}
.op-profile.is-revealing .op-pf-ring{transition:opacity .6s var(--ease-out) calc(var(--rd,0ms) + 680ms),transform .9s var(--ease-out) calc(var(--rd,0ms) + 680ms),box-shadow .5s}
.op-profile.is-revealing .op-pf-light{transition:opacity .7s var(--ease-lamp) calc(var(--rd,0ms) + 380ms)}
.op-profile.is-revealing .op-pf-row.is-match .op-pf-ring::after{animation:op-pf-match 1.4s var(--ease-lamp) calc(var(--rd,0ms) + 1150ms)}
@keyframes op-pf-match{0%{opacity:0;transform:scale(.7)}35%{opacity:1}100%{opacity:0;transform:scale(1.3)}}
/* average, veiled → reveal(): per row the halo runs in from the left end to the mean (--run), then the segment lights;
   the end words wait for it */
.op-profile.is-veiled .op-pf-row:not(.is-on) .op-pf-lo.is-near,.op-profile.is-veiled .op-pf-row:not(.is-on) .op-pf-hi.is-near{opacity:.66;color:var(--cream)}
.op-profile.is-average.is-revealing .op-pf-seg::after{transition:opacity .5s var(--ease-lamp)}
.op-profile.is-average.is-veiled .op-pf-row.is-run .op-pf-light{opacity:1;transition:left var(--run,1100ms) cubic-bezier(.33,.08,.2,1),opacity .35s var(--ease-out)}
.op-profile.is-average.is-veiled .op-pf-row.is-run:not(.is-on) .op-pf-light{background:radial-gradient(closest-side,rgba(255,222,164,.62),rgba(240,170,96,.2) 55%,rgba(234,164,92,0))}
.op-profile.is-average.is-veiled .op-pf-row.is-on .op-pf-seg.is-lit::after{opacity:1}
.op-profile.is-average.is-veiled .op-pf-row.is-on .op-pf-seg.is-lean::after{opacity:var(--lean,0);transition:opacity 1s var(--ease-lamp) .25s}
.op-profile.is-average.is-veiled .op-pf-row.is-on .op-pf-lo.is-near,.op-profile.is-average.is-veiled .op-pf-row.is-on .op-pf-hi.is-near{opacity:1;color:var(--cream-hi)}

/* ---------------- dev menu (prototype only) ---------------- */
#op-devhot{position:absolute;left:0;top:0;width:64px;height:64px;z-index:90}
#op-dev{position:absolute;inset:0;z-index:95;display:none;background:rgba(9,3,4,.94)}
#op-dev.is-open{display:block}
#op-dev .op-dev-in{position:absolute;left:48px;top:40px;right:48px;bottom:40px;display:grid;grid-template-columns:repeat(4,1fr);gap:0 26px;align-content:start;overflow:auto}
#op-dev h4{grid-column:1/-1;margin:0 0 12px;font-family:var(--serif);font-weight:400;font-size:38px;color:var(--cream-hi)}
#op-dev h5{grid-column:1/-1;margin:14px 0 4px;font:400 11px/1 var(--sans);letter-spacing:.26em;text-transform:uppercase;color:var(--brass)}
#op-dev button.step{text-align:left;background:none;border:none;border-bottom:1px solid var(--line);color:var(--cream);padding:8px 0;min-height:40px;font-size:16px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#op-dev button.step small{color:var(--mute);margin-left:8px;font-size:12px}
#op-dev button.step.cur{color:var(--lamp)}
#op-dev .tools{grid-column:1/-1;display:flex;gap:12px;margin-top:20px}

/* headless screenshots (?shot=1): resting states */
.op-shot *,.op-shot *::before,.op-shot *::after{transition:none!important;animation-play-state:paused!important}
.op-shot .op-rv>span,.op-shot .op-fade{opacity:1!important;transform:none!important}
.op-shot .op-glint-layer{opacity:1!important}
.op-shot .op-lighton,.op-shot .is-lighting *,.op-shot .is-rising,.op-shot .is-rising *{animation:none!important}

/* reduced motion: no loops, final states */
@media (prefers-reduced-motion:reduce){
  .op-glint,.op-flame,.op-bulb-hang,.op-bulb-glass::before,.op-lighton,.op-klar-bulb::after,.op-bulb-i,.op-bulbx,
  .op-niche,.op-niche-glow,.op-glint-layer,.op-pf-seg::after,.op-seal-edge,.op-seal-glow,.op-bulb-fil *,.op-hosted-lamp::after{animation:none!important}
  .op-arch,.op-arch::after,.op-mono-ring circle,
  .op-screen,.op-rv>span,.op-fade,.op-shutter-leaf,.op-compass-rose,.op-compass-n,.op-scale-bar,.op-scale-txt,
  .op-score-bead,.op-score-band,.op-score-num,.op-bulb-i,.op-pf-light,.op-pf-dot,.op-pf-ring{transition:none}
}
