/* =====================================================================
   CÔTE DE NUITS · the tasting (screen "rating") — DESIGN-v2 §13 (Pointskalaen + Smagsprofilen), §5.4, §5.10, §7,
   §8; Magnus 30.10 (FEEDBACK-30-10 §6, §8, §10, §13, §14). The producer's painted cellar is the background
   (OP.world.backdrop, the world paused): sharp while it breathes, pre-blurred under the scoring. Stage px.
   Phases (root classes, one at a time): .is-doorway (Kælderdøren, live or frozen: only the kicker and the festoon;
   .is-push once its camera sets off) · .is-card (the end-card) · .is-rest (the painting breathes: its caption bottom
   left, "Point og smag" bottom right; without the console Tilbage bottom left under the caption) · .is-up (the
   scoring: header tabs, guest panels, the niche). Arrival: .is-door | .is-freeze | .is-direct. [data-house]: whose
   door and cellar (bertagna · boisset · huguenot).
   State: .is-lit (the painting is up: its lights flicker) · .is-hosted (Magnus' console is live) · .is-both (both
   guests sealed this wine) · .is-complete (every visible wine sealed) · .is-switching (a compare tab: the panels'
   contents and the bottle cross over) · .is-flying (a name is on its way into its tab) · .is-settled.
   ===================================================================== */
.scr-rating{color:var(--cream)}
/* without OP.world at all: the paintings are drawn here (sharp, then the soft one over it) */
.scr-rating .rt-bg{position:absolute;inset:0;background:#1c0d0b}
.scr-rating .rt-bg i{position:absolute;inset:0;background:center/cover no-repeat}
.scr-rating .rt-bg-soft{opacity:0;transition:opacity .9s var(--ease-out)}
.scr-rating .rt-bg.is-soft .rt-bg-soft{opacity:1}

/* ---------------- the painting's own lights: every candle and lantern in it flickers (js LAMPS) ----------------
   The inner box copies the backdrop's geometry (inset −1 %, push-in 2 % over 48 s about 50 % 56 %, css/atlas.css
   .ow-drift), so a glow stays on its flame. Opacity and transform only; no blend modes. */
.scr-rating .rt-lamps{position:absolute;inset:0;overflow:hidden;pointer-events:none;opacity:0;transition:opacity 1.6s var(--ease-lamp)}
.scr-rating.is-lit .rt-lamps{opacity:1}
.scr-rating.is-up .rt-lamps{opacity:.5;transition-duration:1.2s}
.scr-rating .rt-lamps-in{position:absolute;inset:-1%;transform-origin:50% 56%}
.scr-rating .rt-lamps.is-drifting .rt-lamps-in{animation:rt-drift 48s cubic-bezier(.2,.5,.3,1) forwards}
@keyframes rt-drift{from{transform:scale(1)}to{transform:scale(1.02)}}
/* the light a flame throws on the room (wide, faint) and, in its middle, the flame's own bright core: the two
   flicker on different beats, so the wall breathes while the flame dances */
.scr-rating .rt-lamp-at{position:absolute;transition:opacity 1.2s var(--ease-out)}
/* without the console the resting caption stands higher: a light under its letters is turned down (js CAP) */
.scr-rating.is-rest:not(.is-hosted) .rt-lamp-at.is-cap{opacity:.3}
.scr-rating .rt-lamp{position:absolute;inset:0;border-radius:50%;opacity:.7;
  background:radial-gradient(closest-side,rgba(255,226,170,.30) 0,rgba(255,200,124,.19) 18%,rgba(255,176,96,.09) 42%,rgba(255,160,84,.03) 70%,rgba(255,160,84,0));
  animation:rt-room var(--dur,3s) ease-in-out var(--del,0s) infinite}
.scr-rating .rt-lamp::after{content:"";position:absolute;left:40%;top:40%;width:20%;height:20%;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,246,222,.72),rgba(255,214,150,.34) 46%,rgba(255,190,110,0));
  animation:rt-core calc(var(--dur,3s) * .61) ease-in-out var(--del,0s) infinite}
.scr-rating .rt-lamp.is-lantern{animation-name:rt-lantern}
.scr-rating .rt-lamp.is-lantern::after{animation-name:rt-lantern-core}
/* an electric shade: no flicker, a slow breath; the light falls below the shade */
.scr-rating .rt-lamp.is-pendant{animation-name:rt-pendant;
  background:radial-gradient(60% 50% at 50% 62%,rgba(255,226,170,.26) 0,rgba(255,200,124,.15) 24%,rgba(255,176,96,.06) 58%,rgba(255,176,96,0))}
.scr-rating .rt-lamp.is-pendant::after{top:44%;height:12%;left:34%;width:32%;animation:none;opacity:.8;
  background:radial-gradient(closest-side,rgba(255,240,206,.6),rgba(255,206,134,.2) 60%,rgba(255,190,110,0))}
@keyframes rt-room{0%,100%{opacity:.62;transform:scale(1)}11%{opacity:.9;transform:scale(1.04)}19%{opacity:.6;transform:scale(.98)}
  33%{opacity:1;transform:scale(1.05)}46%{opacity:.68;transform:scale(.99)}58%{opacity:.86;transform:scale(1.02)}
  71%{opacity:.52;transform:scale(.97)}86%{opacity:.94;transform:scale(1.04)}}
@keyframes rt-core{0%,100%{opacity:.7;transform:scale(1)}17%{opacity:1;transform:scale(1.18,1.3)}29%{opacity:.55;transform:scale(.9,.86)}
  48%{opacity:.95;transform:scale(1.1,1.2)}63%{opacity:.62;transform:scale(.94)}81%{opacity:.88;transform:scale(1.06,1.14)}}
@keyframes rt-lantern{0%,100%{opacity:.68;transform:scale(1)}21%{opacity:.92;transform:scale(1.03)}38%{opacity:.62;transform:scale(.98)}
  57%{opacity:1;transform:scale(1.04)}76%{opacity:.6;transform:scale(.97)}}
@keyframes rt-lantern-core{0%,100%{opacity:.7}26%{opacity:1}44%{opacity:.6}69%{opacity:.92}}
@keyframes rt-pendant{0%,100%{opacity:.7;transform:scale(1)}50%{opacity:.9;transform:scale(1.025)}}
/* dust turning in the cellar's lamplight while the painting breathes (one canvas, stage-sized) */
.scr-rating .rt-dust{position:absolute;left:0;top:0;pointer-events:none;opacity:0;transition:opacity 2.4s var(--ease-out)}
.scr-rating.is-lit .rt-dust{opacity:.85}
.scr-rating.is-up .rt-dust{opacity:0;transition-duration:1s}

/* the header and the foot sit in a little more shadow; the table's warm light rises from below (§8) */
.scr-rating .rt-veil{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity 1.4s var(--ease-out)}
.scr-rating .rt-veil::before,.scr-rating .rt-veil::after{content:"";position:absolute;inset:0;transition:opacity 1.4s var(--ease-out)}
/* the end-card: the header and the foot in shadow */
.scr-rating .rt-veil::before{background:linear-gradient(180deg,rgba(9,2,4,.26) 110px,rgba(9,2,4,0) 210px,rgba(9,2,4,0) 600px,rgba(9,2,4,.46) 100%)}
/* the scoring: and the sides too, under the panels */
.scr-rating .rt-veil::after{opacity:0;
  background:radial-gradient(28% 20% at 50% 86%,rgba(9,2,4,.38),rgba(9,2,4,0) 100%),
             linear-gradient(90deg,rgba(9,2,4,.3),rgba(9,2,4,0) 30%,rgba(9,2,4,0) 70%,rgba(9,2,4,.3))}
.scr-rating.is-card .rt-veil,.scr-rating.is-up .rt-veil{opacity:1}
.scr-rating.is-up .rt-veil::after{opacity:1}
/* the header always has a little night above it: the festoon and the kicker sit on the world's sky during the door
   and on the sharp painting's bright vault after it */
.scr-rating .rt-topveil{position:absolute;left:0;right:0;top:0;height:230px;pointer-events:none;
  background:linear-gradient(180deg,rgba(9,2,4,.74) 0,rgba(9,2,4,.6) 80px,rgba(9,2,4,.3) 140px,rgba(9,2,4,.1) 190px,rgba(9,2,4,0) 230px)}
/* while the painting breathes the vault above stays lighter: only the festoon's corner and the kicker's get shade */
.scr-rating.is-rest .rt-topveil{opacity:.78;transition:opacity 1.6s var(--ease-out)}
/* Bertagna's door push (the frontal camera, C8): straight up the lane to the glass door, La Poste's wall rises
   behind the numerals about +1.8 s, the lit limestone front fills the corner from +2.2 s, the "Domaine Bertagna ·
   Caveau Wine Shop" board and its white letters pass under the numerals (+2.9 to +3.3 s), then the flood covers
   them; the faint future numerals (40 %) merged with the stone (1.9:1; 1.6:1 in the flood, the tier word 2.9:1).
   A soft pool of dusk under the kicker line keeps them reading as they do on the sky (2.1:1 and 5.8:1 at the
   least). Only there and only then: it gathers over the push's first half second (choreo 'glide' = .is-push,
   +1.0 → +1.5 s, while the kicker is still on the sky), its level set every frame by the js from the push's own
   start (--rt-pool on .rt-topveil: a transition can start late on a loaded GPU, the world's push does not), and
   goes with the flood as it fades off the cellar painting (choreo 'cellar', +3.6 s: the class leaves and the fade
   below runs with the flood's own, .9 s ease-in-out; the vault's corner is dark). Its falloff is gaussian and stays
   inside the header's own shade (y < 170), so over the even light of the flood it reads as the corner's dusk, never
   as a patch. The board hangs where the real one does, so it stays. Stills (&door=f) set the same curve through
   --rt-pool (js frozen). */
.scr-rating .rt-topveil::before{content:"";position:absolute;left:0;top:0;width:1180px;height:300px;opacity:0;
  transition:opacity .9s ease-in-out;
  background:radial-gradient(460px 128px at 196px 48px,rgba(9,2,4,.62) 0,rgba(9,2,4,.58) 16%,rgba(9,2,4,.48) 32%,rgba(9,2,4,.34) 48%,
    rgba(9,2,4,.2) 63%,rgba(9,2,4,.09) 78%,rgba(9,2,4,.03) 90%,rgba(9,2,4,0) 100%)}
.scr-rating.is-doorway.is-push[data-house="bertagna"] .rt-topveil::before{opacity:var(--rt-pool,0);transition:none;will-change:opacity}
.scr-rating.is-freeze[data-house="bertagna"] .rt-topveil::before{opacity:var(--rt-pool,0);transition:none}
.scr-rating .rt-festoon .op-bulb-name{text-shadow:var(--halo)}
/* C25 GUESTUI (Magnus 15.11, F): festoon names and glass numerals brighter, as on the journey (opacity only) */
.scr-rating .rt-festoon .op-bulb:not(.is-now) .op-bulb-name{opacity:.82}
.scr-rating .rt-festoon .op-bulb.is-past .op-bulb-name{opacity:.92}
.scr-rating .rt-kick .op-win:not(.is-now){opacity:.66}
.scr-rating .rt-kick .op-win.is-past{opacity:.92}
.scr-rating .rt-light{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity 1.8s var(--ease-out) .4s;
  background:radial-gradient(70% 55% at 50% 112%,rgba(234,150,80,.26),transparent 70%)}
.scr-rating.is-up .rt-light{opacity:1}
/* the candles on the table breathe (an extra pool of light, its opacity only) */
.scr-rating .rt-light::before{content:"";position:absolute;inset:0;opacity:.6;
  background:radial-gradient(38% 26% at 50% 104%,rgba(255,176,96,.20),rgba(255,176,96,0) 70%),
             radial-gradient(22% 16% at 50% 100%,rgba(255,214,150,.10),rgba(255,214,150,0) 70%)}
.scr-rating.is-up .rt-light::before{animation:rt-candle 7.3s ease-in-out infinite}
@keyframes rt-candle{0%,100%{opacity:.6}18%{opacity:.86}31%{opacity:.7}47%{opacity:1}63%{opacity:.74}79%{opacity:.92}}
/* the frozen door's flood (stills only: the live flood is the world's own) */
.scr-rating .rt-flood{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.scr-rating .rt-flood i{position:absolute;left:0;top:0;width:0;height:0;border-radius:50%;opacity:0;
  background:radial-gradient(circle closest-side,#fff3dc 0%,#ffe2b4 26%,#ffe2b4 54%,rgba(255,214,150,.35) 74%,rgba(255,214,150,0) 100%)}

/* ---------------- header: seven windows + kicker · wine tabs · the festoon ---------------- */
.scr-rating .rt-kick{position:absolute;left:40px;top:38px;z-index:20}
/* C25 GUESTUI (DESIGN-13a): through the door and in the cellar the glass row stands where the journey left it (56/47);
   it glides to the corner only when the panels rise */
.scr-rating:not(.is-up) .rt-kick{left:56px;top:47px}
.scr-rating .rt-kick{transition:left 1.1s var(--ease-in-out),top 1.1s var(--ease-in-out)}
.scr-rating .rt-kick .op-kick{text-shadow:var(--halo)}
/* the festoon arrives at full size where the journey left it, Smagningen lights, then it folds into the corner */
.scr-rating .rt-festoon{transform-origin:100% 0;transition:transform 1.2s var(--ease-in-out) .1s}
.scr-rating .rt-festoon .op-bulb-meta{transition:opacity .5s var(--ease-out)}
.scr-rating.is-up .rt-festoon{transform:scale(.5)}
.scr-rating.is-up .rt-festoon .op-bulb:not(.is-now) .op-bulb-meta{opacity:0}
.scr-rating.is-up .rt-festoon .op-bulb.is-now .op-bulb-meta{left:auto;right:-26px;transform:none;align-items:flex-end}
.scr-rating.is-up .rt-festoon .op-bulb.is-now .op-bulb-name{font-size:34px}
.scr-rating.is-up .rt-festoon .op-bulb.is-now .op-glyph{margin-right:18px}

.scr-rating .rt-tabs{position:absolute;left:350px;top:18px;width:480px;height:80px;display:flex;justify-content:center;align-items:stretch;z-index:20;
  opacity:0;pointer-events:none;transition:opacity 1s var(--ease-out) .55s}
.scr-rating.is-up .rt-tabs{opacity:1;pointer-events:auto}
.scr-rating .rt-tab{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;padding:2px 18px 0;min-width:130px;
  background:none;border:0;border-radius:14px;color:var(--cream);cursor:default;transition:opacity .6s var(--ease-out)}
.scr-rating .rt-tabs.is-multi .rt-tab{cursor:pointer}
.scr-rating .rt-tab:not(.is-cur){opacity:.56}
.scr-rating .rt-tab:not(.is-cur):active{opacity:.8}
.scr-rating .rt-tab-win{display:flex;align-items:flex-end;gap:9px;height:26px}
.scr-rating .rt-tab-win .op-arch{transition:box-shadow .6s,opacity .6s}
/* the guests' initials either side of the wine's mark: faint until that guest has sealed this wine, then lit */
.scr-rating .rt-tab-ini{min-width:18px;margin-bottom:3px;font:500 10.5px/1 var(--sans);letter-spacing:.06em;color:var(--brass);opacity:.42;
  white-space:nowrap;text-shadow:var(--halo);transition:opacity .6s var(--ease-out),color .6s}
.scr-rating .rt-tab-ini.d-a{text-align:right}
.scr-rating .rt-tab-ini.d-b{text-align:left}
.scr-rating .rt-tab-ini.is-lit{opacity:1;color:var(--cream-hi);text-shadow:0 0 7px rgba(255,200,130,.75),0 0 18px rgba(234,164,92,.35),var(--halo)}
.scr-rating .rt-tab-ini.is-lighting{animation:rt-ini-on .9s var(--ease-lamp)}
@keyframes rt-ini-on{0%{opacity:.42}40%{opacity:1}55%{opacity:.55}100%{opacity:1}}
.scr-rating .rt-tab-name{font:400 27px/1 var(--serif);color:var(--cream-hi);white-space:nowrap;text-shadow:var(--halo);letter-spacing:.005em;transition:opacity .5s}
.scr-rating .rt-tab-name i{font-size:.62em;margin-right:.14em}
.scr-rating .rt-tab-sub{display:flex;align-items:baseline;gap:9px;white-space:nowrap}
.scr-rating .rt-tab-sub span{font:400 10.5px/1 var(--sans);letter-spacing:.26em;text-transform:uppercase;color:var(--brass);text-shadow:var(--halo)}
.scr-rating .rt-tab-sub b{font-size:13px;font-weight:300;color:var(--brass);text-shadow:var(--halo)}
.scr-rating .rt-tab-sep{flex:none;width:1px;margin:8px 6px 4px;background:linear-gradient(180deg,transparent,var(--line) 30%,var(--line) 70%,transparent)}
/* a line of lamplight under the wine in the glass; it travels when the tab changes */
.scr-rating .rt-tab-glow{position:absolute;left:0;bottom:-4px;height:2px;pointer-events:none;
  background:radial-gradient(50% 100% at 50% 50%,rgba(255,215,156,.75),rgba(255,190,110,.18) 60%,rgba(255,190,110,0));
  transition:transform .7s var(--ease-in-out),width .7s var(--ease-in-out)}
.scr-rating .rt-tabs:not(.is-multi) .rt-tab-glow{display:none}
.scr-rating .rt-tab.is-nudge{animation:rt-dim .65s var(--ease-out)}
@keyframes rt-dim{30%{opacity:.25}}
/* a name is flying into its tab */
.scr-rating.is-flying .rt-tab.is-home .rt-tab-name{opacity:0;transition:none}

/* ---------------- centre: the bottle in its niche ---------------- */
/* Magnus 31.10 (item 38b): the bottle is the hero between the two panels. The niche is wider than U1's 196 (240, still
   80 px clear of each panel) and, with Magnus' console, runs from under the tabs to the panels' foot (y 116–792);
   without the console it stops at y 692, so Tilbage · Videre fit beneath it on the Klar row. The bottle
   (img/bottle-<id>.png: 291×900, its axis on the centre column) is sized by height only (--bh), so every wine stands
   on the niche's centre line, x 590. Niche px: the numeral y 22 · the bottle y 72 → 72 + --bh · its pool under the
   foot · producer · vintage on the hairline at the foot. */
.scr-rating .rt-niche-at{--bh:432px;position:absolute;left:470px;top:116px;width:240px;height:576px;pointer-events:none;opacity:0}
.scr-rating.is-hosted .rt-niche-at{--bh:532px;height:676px}
.scr-rating .rt-niche-at.is-on{opacity:1}
.scr-rating .rt-niche-box{position:absolute;inset:0;transition:opacity .6s var(--ease-out)}
.scr-rating .rt-niche-box .op-niche{left:0;top:0;width:240px;height:100%;--w:240px}
.scr-rating .rt-niche-box .op-niche-bottle{top:72px;height:var(--bh)}
.scr-rating .rt-niche-box .op-niche-bottle img,.scr-rating .rt-niche-box .op-niche-bottle svg{height:var(--bh);width:auto}
.scr-rating .rt-niche-box .op-niche-pool{top:calc(72px + var(--bh) - 15px);width:200px;height:30px;margin-left:-100px}
.scr-rating .rt-niche-box .op-niche-foot{left:22px;right:22px}
/* the console comes or goes once the tasting is under way: the niche and its bottle glide to the other size */
.scr-rating.is-settled .rt-niche-at,.scr-rating.is-settled .rt-niche-box .op-niche-bottle,.scr-rating.is-settled .rt-niche-box .op-niche-bottle img,
.scr-rating.is-settled .rt-niche-box .op-niche-pool{transition:height .9s var(--ease-in-out),top .9s var(--ease-in-out)}
/* the wine's place in the lunette, taller now, fades into the alcove's dark round the bottle's shoulders (no hard sill
   behind the neck) */
.scr-rating .rt-niche-box .op-niche-view{height:330px;-webkit-mask-image:linear-gradient(180deg,#000 40%,rgba(0,0,0,.4) 70%,transparent);
  mask-image:linear-gradient(180deg,#000 40%,rgba(0,0,0,.4) 70%,transparent)}
/* the alcove's candle lights the cellar wall round it: a wide warm glow that breathes like the table's candles */
.scr-rating .rt-wall{position:absolute;left:-150px;right:-150px;top:-70px;bottom:-60px;opacity:0;transition:opacity 1.8s var(--ease-lamp) .25s}
.scr-rating .rt-wall::before{content:"";position:absolute;inset:0;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,176,104,.24),rgba(234,146,78,.10) 48%,rgba(234,146,78,.03) 72%,rgba(234,146,78,0))}
.scr-rating .rt-niche-at.is-on .rt-wall{opacity:1}
.scr-rating.is-up .rt-wall::before{animation:rt-candle 8.9s ease-in-out infinite}
/* the candle inside the alcove, behind the bottle: a slow flicker of its own */
.scr-rating .rt-candle{position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:.55;
  background:radial-gradient(62% 34% at 50% 64%,rgba(255,206,140,.46),rgba(255,170,100,.14) 58%,rgba(255,170,100,0) 80%),
             radial-gradient(70% 12% at 50% 91%,rgba(255,196,128,.22),rgba(255,196,128,0) 80%)}
.scr-rating.is-up .rt-candle{animation:rt-flick 5.3s ease-in-out infinite}
@keyframes rt-flick{0%,100%{opacity:.55}14%{opacity:.8}22%{opacity:.62}39%{opacity:.9}52%{opacity:.6}71%{opacity:.84}86%{opacity:.66}}
/* both glasses sealed: the candle flares once and its light washes the wall */
.scr-rating .rt-flare{position:absolute;left:-150px;right:-150px;top:40px;bottom:10px;border-radius:50%;opacity:0;
  background:radial-gradient(closest-side,rgba(255,214,150,.58),rgba(234,160,90,.2) 50%,rgba(234,160,90,0))}
.scr-rating .rt-niche-at.is-flare .rt-flare{animation:rt-flare 1.9s var(--ease-lamp)}
.scr-rating .rt-niche-at.is-flare .rt-candle{animation:rt-cflare 1.9s var(--ease-lamp)}
@keyframes rt-flare{0%{opacity:0}28%{opacity:1}100%{opacity:0}}
@keyframes rt-cflare{0%{opacity:.55}28%{opacity:1}100%{opacity:.55}}
/* dust turning in the candle's light (one canvas, wider than the niche so it drifts out into the room) */
.scr-rating .rt-motes{position:absolute;left:-50px;top:-32px;pointer-events:none;opacity:0;transition:opacity 2.6s var(--ease-out)}
.scr-rating .rt-niche-at.is-on .rt-motes{opacity:1}

/* Magnus 31.10 (item 38b): no status line and no "Magnus fører" here; the seals on the panels say who is ready.
   Without Magnus' console: Tilbage under the niche, on the Klar row (y 713–769); once everyone at this iPad is
   ready it glides aside and Videre lights beside it, the pair centred under the bottle (Tilbage 112 + 22 + Videre
   128, measured: Tilbage ends at x 571, Videre starts at 593) */
.scr-rating .rt-back{position:absolute;left:590px;top:713px;transform:translateX(-50%);z-index:20;opacity:0;pointer-events:none;
  transition:opacity .9s var(--ease-out),transform .9s var(--ease-in-out)}
.scr-rating.is-up:not(.is-hosted) .rt-back{opacity:.82;pointer-events:auto;transition-delay:1.2s,0s}
.scr-rating.is-up.is-complete:not(.is-hosted) .rt-back{transform:translateX(calc(-100% - 19px))}
.scr-rating .rt-cta-at{position:absolute;left:593px;top:713px;z-index:20;pointer-events:none}
.scr-rating .rt-cta{opacity:0;transform:translateY(8px);pointer-events:none}
.scr-rating.is-up.is-complete:not(.is-hosted) .rt-cta{opacity:1;transform:none;pointer-events:auto;transition:opacity .9s var(--ease-lamp) .35s,transform .9s var(--ease-out) .35s,box-shadow .4s}

/* ---------------- the end-card (Kælderdøren 4.5 s), then its caption while the painting breathes ---------------- */
.scr-rating .rt-endcard{position:absolute;inset:0;z-index:30;pointer-events:none;text-align:center}
.scr-rating .rt-endcard>*{opacity:0;transition:opacity .45s var(--ease-out)}
/* the card's shadow reaches down past the second line: the painted tables hold candles right under it */
.scr-rating .rt-ec-veil{position:absolute;left:110px;right:110px;top:160px;height:540px;
  background:radial-gradient(50% 50% at 50% 46%,rgba(9,2,4,.76),rgba(9,2,4,.6) 34%,rgba(9,2,4,.3) 62%,rgba(9,2,4,0) 100%)}
.scr-rating .rt-ec-kick{position:absolute;left:0;right:0;top:296px;display:flex;align-items:center;justify-content:center;gap:16px;
  font:400 12.5px/1 var(--sans);letter-spacing:.3em;text-transform:uppercase;color:var(--brass-hi);text-shadow:var(--halo)}
.scr-rating .rt-ec-kick span{margin-right:-.3em}
.scr-rating .rt-ec-kick i{width:44px;height:1px;background:linear-gradient(90deg,rgba(226,192,148,0),rgba(226,192,148,.55))}
.scr-rating .rt-ec-kick i:last-child{background:linear-gradient(270deg,rgba(226,192,148,0),rgba(226,192,148,.55))}
.scr-rating .rt-ec-name{position:absolute;left:0;right:0;top:322px;margin:0 auto;width:max-content;white-space:nowrap;transform-origin:50% 50%;
  font:400 66px/1.04 var(--serif);color:var(--cream-hi);letter-spacing:.005em;text-shadow:var(--halo)}
.scr-rating .rt-ec-name i,.scr-rating .rt-cap-name i{font-size:.62em;margin-right:.14em}
.scr-rating .rt-ec-sub{position:absolute;left:0;right:0;top:404px;font:400 11px/1 var(--sans);letter-spacing:.28em;text-transform:uppercase;color:var(--brass);text-shadow:var(--halo)}
.scr-rating .rt-ec-line{position:absolute;left:0;right:0;top:442px;font:italic 400 25px/1.3 var(--serif);color:var(--cream-hi);text-shadow:var(--halo)}
.scr-rating .rt-ec-line2{position:absolute;left:0;right:0;top:480px;font:italic 400 19px/1.3 var(--serif);color:var(--cream);text-shadow:var(--halo)}
.scr-rating.is-card .rt-endcard>.rt-ec-veil,.scr-rating.is-card .rt-ec-kick,.scr-rating.is-card .rt-ec-name,
.scr-rating.is-card .rt-ec-sub,.scr-rating.is-card .rt-ec-line{opacity:1;transition:opacity 1s var(--ease-out)}
.scr-rating.is-card .rt-ec-veil{transition-duration:1.4s}
.scr-rating.is-card .rt-ec-name{transition-delay:.15s}
.scr-rating.is-card .rt-ec-sub{transition-delay:.35s}
.scr-rating.is-card .rt-ec-line{transition-delay:.55s}
.scr-rating.is-card .rt-ec-line2{opacity:.92;transition:opacity 1s var(--ease-out) .8s}
/* the caption: the painting's label at its foot, on a band of shadow that keeps the painting's middle free */
.scr-rating .rt-band{position:absolute;left:0;right:0;bottom:0;height:340px;
  background:linear-gradient(0deg,rgba(9,2,4,.8) 0,rgba(9,2,4,.6) 80px,rgba(9,2,4,.3) 170px,rgba(9,2,4,.1) 250px,rgba(9,2,4,0) 340px),
             radial-gradient(46% 62% at 18% 100%,rgba(9,2,4,.4),rgba(9,2,4,0) 100%)}
.scr-rating .rt-cap-sub{position:absolute;left:58px;top:664px;font:400 11px/1 var(--sans);letter-spacing:.28em;text-transform:uppercase;color:var(--brass-hi);
  text-align:left;white-space:nowrap;text-shadow:var(--halo)}
.scr-rating .rt-cap-name{position:absolute;left:56px;top:682px;width:max-content;white-space:nowrap;text-align:left;transform-origin:50% 50%;
  font:400 46px/1.04 var(--serif);color:var(--cream-hi);letter-spacing:.005em;text-shadow:var(--halo)}
.scr-rating .rt-cap-line{position:absolute;left:58px;top:740px;font:italic 400 20px/1.3 var(--serif);color:var(--cream);text-align:left;white-space:nowrap;text-shadow:var(--halo)}
/* without Magnus' console Tilbage takes the corner under it (.rt-dock-back), so the caption stands 56 px higher: its
   line ends 34 px above Tilbage. Should the console come or go while the painting rests, the caption glides */
.scr-rating:not(.is-hosted) .rt-cap-sub{top:608px}
.scr-rating:not(.is-hosted) .rt-cap-name{top:626px}
.scr-rating:not(.is-hosted) .rt-cap-line{top:684px}
.scr-rating.is-rest .rt-endcard>.rt-band{opacity:1;transition:opacity 1.6s var(--ease-out)}
.scr-rating.is-rest .rt-cap-sub{opacity:.95;transition:opacity .9s var(--ease-out) 1s,top .9s var(--ease-in-out)}
.scr-rating.is-rest .rt-cap-line{opacity:.92;transition:opacity .9s var(--ease-out) 1.25s,top .9s var(--ease-in-out)}
/* a name in flight is always seen; where it lands takes over in the same frame (so its opacity never fades) */
.scr-rating .rt-ec-name,.scr-rating .rt-cap-name{will-change:transform}
.scr-rating.is-rest .rt-ec-name{transition:none}
.scr-rating .rt-endcard>.rt-cap-name{transition:top .9s var(--ease-in-out)}
.scr-rating.is-rest .rt-cap-name.is-landed{opacity:1}
.scr-rating .rt-endcard>.is-fly{opacity:1!important;transition:none!important}

/* "Point og smag" bottom right (where Næste always is), and only that when Magnus drives (no "Magnus fører": item
   38b). Without his console Tilbage stands bottom left on the button's centre line (y 750, as the chapter screens'
   op-dock-left), its arrow under the caption's left edge (x 56). Beside the button it sat on Boisset's painted
   foreground lantern and glasses (C4 review); the corner is the dark railing over the barrels at Boisset, the shadow
   under the barrel rack at Bertagna and bare stone floor at Huguenot, under the band's darkest corner. */
.scr-rating .rt-dock{z-index:32;opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .4s var(--ease-out),transform .4s var(--ease-out)}
.scr-rating.is-rest .rt-dock{opacity:1;transform:none;pointer-events:auto;transition:opacity 1s var(--ease-lamp) 1.1s,transform 1s var(--ease-out) 1.1s}
.scr-rating .rt-dock-back{left:48px}
.scr-rating .rt-rest-back{opacity:.82;text-shadow:var(--halo)}
.scr-rating.is-hosted .rt-rest-back{display:none}
.scr-rating.is-up .rt-dock{transition-duration:.3s}

/* ---------------- the guests' panels — T1 · Stepper (A x 26, B x 790; 364×692, y 100) ----------------
   Magnus 31.10 (item 29): clearly wider panels, so the stepper and the four rows breathe; a smaller numeral (82).
   Panel px (js IN): the name y 12 (centred) · —— POINT —— y 82 · the stepper y 102, 350 wide and centred (its −
   and + rings end on the 30 px padding) · —— SMAGEN —— · the 4 × 7 segments inside the padding · Klar at the foot */
.scr-rating .rt-panel{z-index:10;opacity:0;transform:translateY(36px);pointer-events:none;
  transition:opacity .9s var(--ease-out) var(--d,0ms),transform 1.1s var(--ease-out) var(--d,0ms)}
.scr-rating.is-up .rt-panel{opacity:1;transform:none;pointer-events:auto}
.scr-rating .rt-who{position:absolute;left:30px;right:30px;top:12px;text-align:center;font:400 46px/1.15 var(--hand);color:var(--cream-hi);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 4px}
.scr-rating .rt-who.is-anon{top:20px;font:italic 400 28px/1.6 var(--serif);color:var(--cream)}
/* "—— POINT ——": Jost between two hairlines */
.scr-rating .rt-lab{position:absolute;left:30px;right:30px;height:12px;display:flex;align-items:center;gap:16px;pointer-events:none;
  font:400 10.5px/1 var(--sans);letter-spacing:.3em;text-transform:uppercase;color:var(--brass);white-space:nowrap}
.scr-rating .rt-lab span{margin-right:-.3em}
.scr-rating .rt-lab::before,.scr-rating .rt-lab::after{content:"";flex:1;height:1px;background:rgba(201,156,110,.22)}
.scr-rating .rt-score-at{position:absolute;transition:opacity .6s var(--ease-out)}
.scr-rating .rt-prof-at{position:absolute;transition:opacity .6s var(--ease-out)}
.scr-rating .rt-klar-at{position:absolute;left:20px;right:20px;display:flex;justify-content:center}
.scr-rating .rt-klar{width:268px;height:62px;transition:opacity .5s var(--ease-out),box-shadow .4s,background .4s}
/* Klar waits for a score (it still answers a tap: the ghost 90 and its hint brighten) */
.scr-rating .rt-klar.is-waiting{opacity:.4}
.scr-rating .rt-panel.is-nudge .rt-klar{animation:rt-dim .65s var(--ease-out)}
/* Låst: the blind covers the whole panel edge to edge (name, answers and lamp), the card's own plain dark with no
   inlaid frame; its own "Ret" sits at the foot */
.scr-rating .rt-seal{left:0;top:0;right:0;bottom:0;z-index:5}
.scr-rating .rt-seal .op-seal-face{top:31%}
/* C25 GUESTUI (Magnus 15.11, DESIGN-12): every guest here has pressed Klar: the two plates tone down to about a third
   so the cellar comes forward again; the seal, "Pernille er klar" and Ret stay full. Ret brings them back. The card's
   own surface moves to a layer of its own so it can fade (same gradient and shadow as .op-card) */
.scr-rating .rt-panel{background:none;box-shadow:none}
.scr-rating .rt-panel::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;
  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);
  transition:opacity .5s var(--ease-out)}
.scr-rating .rt-panel>.rt-who,.scr-rating .rt-panel>.rt-lab,.scr-rating .rt-panel>.rt-klar-at{transition:opacity .5s var(--ease-out)}
.scr-rating .rt-seal .op-seal-blind{transition:transform .56s var(--ease-in-out) .14s,opacity .5s var(--ease-out)}
.scr-rating.is-allklar .rt-panel.is-ready::before{opacity:0;transition:opacity 1.2s var(--ease-out) .5s}
.scr-rating.is-allklar .rt-panel.is-ready>.rt-who,.scr-rating.is-allklar .rt-panel.is-ready>.rt-lab,
.scr-rating.is-allklar .rt-panel.is-ready>.rt-score-at,.scr-rating.is-allklar .rt-panel.is-ready>.rt-prof-at,
.scr-rating.is-allklar .rt-panel.is-ready>.rt-klar-at{opacity:0;transition:opacity .6s var(--ease-out) .3s}
.scr-rating.is-allklar .rt-panel.is-ready .op-seal.is-closed .op-seal-blind{opacity:.34;transition:transform .62s var(--ease-in-out),opacity 1.2s var(--ease-out) .5s}
/* "4 af 6 er klar": one quiet line under the bottle, in the niche's foot under the producer and vintage */
.scr-rating .rt-klarline{position:absolute;left:0;right:0;bottom:14px;   /* C26 FIX-GUEST (LOOK-7): 10 px up (was 4) */
  text-align:center;font:italic 400 16px/1 var(--serif);color:var(--cream);
  text-shadow:var(--halo);opacity:0;transition:opacity .8s var(--ease-out);white-space:nowrap}
.scr-rating.is-up .rt-klarline.is-on{opacity:.82}
/* C26 FIX-GUEST (LOOK-7): with the line on, the producer and vintage move up under their hairline (13 → 5 px), so the
   two lines keep ~4 px between them */
.scr-rating .rt-niche-at .op-niche-foot{transition:padding-top .8s var(--ease-out),bottom .8s var(--ease-out)}
.scr-rating.is-up .rt-niche-at.has-klar .op-niche-foot{padding-top:5px;bottom:32px}
/* a compare tab: the panels' contents and the bottle cross over (Trinskift) */
.scr-rating.is-switching .rt-score-at,.scr-rating.is-switching .rt-prof-at,
.scr-rating.is-switching .rt-niche-box{opacity:0;transition-duration:.28s;transition-delay:0s}

/* ---------------- ?state=aroma: the constellation at the sizes other screens use ---------------- */
.scr-rating .rt-spec{position:absolute;inset:0;z-index:80;background:rgba(9,2,4,.9)}
.scr-rating .rt-spec-box{position:absolute;box-shadow:inset 0 0 0 1px rgba(201,156,110,.16);border-radius:8px}
.scr-rating .rt-spec-lab{position:absolute;white-space:nowrap}

@media (prefers-reduced-motion:reduce){
  .scr-rating.is-up .rt-light::before,.scr-rating.is-up .rt-wall::before,.scr-rating.is-up .rt-candle,.scr-rating .rt-lamp,.scr-rating .rt-lamp::after,
  .scr-rating .rt-lamps-in,.scr-rating .rt-tab-ini{animation:none!important}
  .scr-rating .rt-panel,.scr-rating .rt-tabs,.scr-rating .rt-festoon,.scr-rating .rt-wall,.scr-rating .rt-lamps,
  .scr-rating .rt-endcard>*,.scr-rating .rt-motes,.scr-rating .rt-dust,.scr-rating .rt-dock,.scr-rating.is-settled .rt-niche-at,
  .scr-rating.is-settled .rt-niche-box .op-niche-bottle,.scr-rating.is-settled .rt-niche-box .op-niche-bottle img,
  .scr-rating.is-settled .rt-niche-box .op-niche-pool{transition:none}
  /* the caption keeps its fades but never glides */
  .scr-rating.is-rest .rt-cap-sub,.scr-rating.is-rest .rt-cap-line,.scr-rating .rt-endcard>.rt-cap-name{transition-property:opacity}
}
