/* ==========================================================================
   styles-tomb.css — the Tomb look for Corpse TV's On demand.

   A cinema in an underground Egyptian tomb: sandstone halls, lotus columns,
   painted hieroglyph friezes in lapis, turquoise and gold, torchlight, and
   beyond it the pyramids, the Sphinx and the Nile. The billboard is the
   screen inside a pylon gateway, the rows are carved sandstone shelves under
   painted friezes, the browse chips are gold cartouches.

   The realism is all in pre-rendered pictures (Blender, CC0 textures) under
   assets/tomb/, so it costs a Fire Stick the same as any image. Only the
   moving parts (torch flicker, drifting dust, the projector beam) are off in
   lite mode. Every picture has a CSS fallback underneath, so the look still
   holds if one fails to load.
   ========================================================================== */

.zone-lot.is-tomb,.zone-lot.is-theatre{--tomb-gold:#e3b955;--tomb-gold-hi:#f7dd8f;--tomb-lapis:#1f4fa3;--tomb-lapis-d:#14306a;--tomb-turq:#31b8a8;--tomb-sand:#c9a46a;--tomb-ember:#ff9a3c;
  --tomb-frieze:repeating-linear-gradient(90deg,var(--tomb-lapis) 0 14px,var(--tomb-gold) 14px 18px,var(--tomb-turq) 18px 30px,var(--tomb-gold) 30px 34px,#b23a2a 34px 44px,var(--tomb-gold) 44px 48px);
  background:#0c0906}
/* the hall: rendered plate, fallback night-and-sandstone gradient underneath */
.zone-lot.is-tomb::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background:
    linear-gradient(180deg,rgba(10,7,4,.15) 0%,rgba(10,7,4,.5) 45%,rgba(10,7,4,.92) 100%),
    url("assets/tomb/tomb-wide.webp?v=20261128b") center 30%/cover no-repeat,
    linear-gradient(180deg,rgba(12,9,5,.55),rgba(12,9,5,.75)),
    url("assets/tomb/glyph-wall.svg?v=20261128b") left top/180px 200px repeat,
    radial-gradient(90% 55% at 50% 0%,#1d2a4a 0%,#14182a 35%,transparent 60%),
    radial-gradient(120% 70% at 50% 100%,#4a3318 0%,#20160c 50%,#0c0906 85%)}
/* torchlight flickering over the plate (screen blend of the light pass) */
.zone-lot.is-tomb::after{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;mix-blend-mode:screen;opacity:.85;
  background:url("assets/tomb/torches-pass.webp?v=20261128b") center 30%/cover no-repeat;animation:tombFlicker 2.8s steps(1) infinite}
@keyframes tombFlicker{0%{opacity:.84}8%{opacity:.7}19%{opacity:.92}33%{opacity:.76}46%{opacity:.9}59%{opacity:.73}72%{opacity:.95}88%{opacity:.8}}
.zone-lot.is-tomb > *{position:relative;z-index:1}
@media (max-aspect-ratio:3/4){
  .zone-lot.is-tomb::before{background:
    linear-gradient(180deg,rgba(10,7,4,.1) 0%,rgba(10,7,4,.55) 40%,rgba(10,7,4,.94) 100%),
    url("assets/tomb/tomb-tall.webp?v=20261128b") center top/cover no-repeat,
    radial-gradient(140% 50% at 50% 0%,#1d2a4a 0%,#14182a 40%,transparent 65%),
    radial-gradient(140% 60% at 50% 100%,#4a3318 0%,#20160c 50%,#0c0906 85%)}
  .zone-lot.is-tomb::after{display:none}
}

/* sand and dust drifting through the torchlight */
.tv.is-tomb::before{content:"";position:fixed;inset:-20% 0 0;z-index:0;pointer-events:none;opacity:.35;
  background-image:radial-gradient(1.5px 1.5px at 12% 30%,#ffe2a8 50%,transparent 51%),radial-gradient(1px 1px at 38% 62%,#ffe2a8 50%,transparent 51%),
    radial-gradient(1.2px 1.2px at 64% 22%,#ffe2a8 50%,transparent 51%),radial-gradient(1px 1px at 82% 70%,#ffe2a8 50%,transparent 51%),
    radial-gradient(1.4px 1.4px at 26% 84%,#ffe2a8 50%,transparent 51%),radial-gradient(1px 1px at 92% 40%,#ffe2a8 50%,transparent 51%);
  background-size:520px 520px;animation:tombDust 40s linear infinite}
@keyframes tombDust{to{transform:translate(4%,20%)}}

/* the menu: a lapis-and-gold band, like a pharaoh's headdress */
.tv.is-tomb.is-demand .tv-modes{background:linear-gradient(180deg,rgba(20,26,48,.97),rgba(10,12,24,.96));border:0;
  box-shadow:0 1px 0 rgba(227,185,85,.25) inset,0 12px 26px -14px #000}
.tv.is-tomb.is-demand .tv-modes::after{content:"";position:absolute;left:0;right:0;bottom:-18px;height:18px;pointer-events:none;
  background:url("assets/tomb/glyph-band.svg?v=20261128b") left center/auto 18px repeat-x,linear-gradient(180deg,#0e1222,#0a0c18);border-bottom:2px solid var(--tomb-gold);box-shadow:0 8px 16px -8px #000}
.tv.is-tomb.is-demand .tv-modes{margin-bottom:26px}
.tv.is-tomb.is-demand .tv-modes::before{content:"CORPSE TV";font:800 19px/1 "Cinzel",serif;letter-spacing:.14em;color:var(--tomb-gold);
  text-shadow:0 1px 0 #000,0 0 18px rgba(227,185,85,.45)}
.tv.is-tomb .tv-modes button{color:#d6c39c;font-family:"Cinzel",serif;font-weight:600;letter-spacing:.06em}
.tv.is-tomb .tv-modes button.is-on{background:linear-gradient(180deg,#f7dd8f,#c9962f);color:#1a1206;box-shadow:0 1px 0 #fff5 inset,0 2px 6px #0008}

/* the screen: billboard inside the pylon gateway, a projector beam from above */
.tv.is-tomb .tv-hero{border:0;border-radius:4px;box-shadow:0 0 0 1px #000,0 30px 80px -20px #000,0 0 140px -30px rgba(227,185,85,.35)}
.tv.is-tomb .tv-hero::after{content:"";position:absolute;inset:-1px;z-index:2;pointer-events:none;
  background:url("assets/tomb/pylon-frame.png?v=20261128b") center/100% 100% no-repeat;
  box-shadow:inset 0 0 0 8px #3b2b17,inset 0 0 0 10px var(--tomb-gold),inset 0 0 0 12px #000,inset 0 0 60px 20px rgba(0,0,0,.7)}
.tv.is-tomb .tv-hero::before{content:"";position:absolute;left:50%;top:-40%;width:140%;height:140%;transform:translateX(-50%);z-index:1;pointer-events:none;
  background:conic-gradient(from 180deg at 50% 0%,transparent 160deg,rgba(255,236,190,.06) 175deg,rgba(255,236,190,.1) 180deg,rgba(255,236,190,.06) 185deg,transparent 200deg);
  mix-blend-mode:screen;animation:tombBeam 6s ease-in-out infinite alternate}
@keyframes tombBeam{from{opacity:.6}to{opacity:1}}
.tv.is-tomb .tv-herotext{z-index:3}
.tv.is-tomb .tv-hero .tv-heroart::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:url("assets/tomb/glyph-wall.svg?v=20261128b") left top/90px 100px repeat-y,url("assets/tomb/glyph-wall.svg?v=20261128b") right top/90px 100px repeat-y,
    linear-gradient(90deg,rgba(14,10,6,.92) 0,rgba(14,10,6,.92) 46px,transparent 46px,transparent calc(100% - 46px),rgba(14,10,6,.92) calc(100% - 46px));
  -webkit-mask:linear-gradient(90deg,#000 0 46px,transparent 46px calc(100% - 46px),#000 calc(100% - 46px));mask:linear-gradient(90deg,#000 0 46px,transparent 46px calc(100% - 46px),#000 calc(100% - 46px))}
.tv.is-tomb .tv-hero .tv-herotext{padding-left:clamp(64px,5vw,80px)}
@media (max-width:700px){ .tv.is-tomb .tv-hero .tv-heroart::before{display:none} .tv.is-tomb .tv-hero .tv-herotext{padding-left:22px} }
.tv.is-tomb .tv-herok{font-family:"Cinzel",serif;font-weight:800;letter-spacing:.18em;color:var(--tomb-gold)}
.tv.is-tomb .tv-herobadge{background:var(--neon);font-family:var(--display)}
.tv.is-tomb .tv-herotext h3,.tv.is-tomb .tv-titletext h3{font-family:"Cinzel",serif;font-weight:800;letter-spacing:.02em;color:var(--tomb-gold-hi);
  text-shadow:0 2px 0 #000,0 0 30px rgba(227,185,85,.4)}
.tv.is-tomb .tv-play{background:linear-gradient(180deg,#f7dd8f,#c9962f);color:#1a1206;box-shadow:0 2px 0 #fff5 inset,0 6px 18px -6px rgba(227,185,85,.6)}
.tv.is-tomb .tv-ghostbtn,.tv.is-tomb .tv-roundbtn{border-color:rgba(227,185,85,.55);background:rgba(14,18,34,.6);color:#f3e6c6}
.tv.is-tomb .tv-free{border-color:var(--tomb-turq);color:#7fe3d6}

/* the shelves: carved sandstone under a painted frieze, gold-framed posters */
.tv.is-tomb .tv-rail{position:relative;padding:36px 14px 8px;margin:22px 0 10px;border-radius:4px;
  background:linear-gradient(180deg,rgba(12,9,5,.62),rgba(12,9,5,.86)),url("assets/tomb/glyph-wall.svg?v=20261128b") left top/180px 200px repeat,url("assets/tomb/sandstone-panel.webp?v=20261128b") center/cover,linear-gradient(180deg,#5a4224,#2a1d0f);
  box-shadow:inset 0 -14px 24px -12px #000,0 14px 30px -18px #000;border:1px solid #4d3a20}
.tv.is-tomb .tv-rail::before{content:"";position:absolute;left:0;right:0;top:0;height:24px;border-radius:4px 4px 0 0;
  background:url("assets/tomb/glyph-band.svg?v=20261128b") left center/auto 24px repeat-x,linear-gradient(180deg,#121a33,#0b1022);border-bottom:2px solid var(--tomb-gold)}
.tv.is-tomb .tv-rail::after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:var(--tomb-frieze);opacity:.8;border-radius:0 0 4px 4px}
.tv.is-tomb .tv-railhead h3{font:800 17px/1.2 "Cinzel",serif;letter-spacing:.08em;color:var(--tomb-gold);text-shadow:0 1px 0 #000,0 0 14px rgba(227,185,85,.3)}
.tv.is-tomb .tv-railhead h3::before{content:"";display:inline-block;width:8px;height:12px;margin-right:9px;vertical-align:-1px;border-radius:50% 50% 45% 45%;
  background:radial-gradient(circle at 50% 70%,#fff3c4,#ff9a3c 55%,transparent 72%);box-shadow:0 0 12px 3px rgba(255,154,60,.55);animation:tombFlicker 2.2s steps(1) infinite}
.tv.is-tomb .tv-railmore{color:#d6c39c;font-family:"Cinzel",serif}
.tv.is-tomb .tv-railmore:hover{color:var(--tomb-gold-hi)}
.tv.is-tomb .tv-dart{border:2px solid #6b5126;border-radius:4px;box-shadow:0 0 0 1px #000,0 0 0 3px var(--tomb-lapis-d),0 10px 22px -10px #000}
.tv.is-tomb .tv-dcard:hover .tv-dart,.tv.is-tomb .tv-dcard:focus-visible .tv-dart{border-color:var(--tomb-gold-hi);box-shadow:0 0 0 2px var(--neon),0 0 28px -2px rgba(227,185,85,.6)}
.tv.is-tomb .tv-dcard b{color:#f3e6c6}
.tv.is-tomb .tv-dcard small{color:#b19d76}
.tv.is-tomb .tv-rank{color:#0e0a05;-webkit-text-stroke:2px var(--tomb-gold);font-family:"Cinzel",serif;font-weight:800}
.tv.is-tomb .tv-dprog span,.tv.is-tomb .tv-titleprog span{background:linear-gradient(90deg,var(--tomb-turq),var(--tomb-gold-hi))}
.tv.is-tomb .tv-railbtn.is-prev{background:linear-gradient(90deg,rgba(14,10,6,.95),transparent)}
.tv.is-tomb .tv-railbtn.is-next{background:linear-gradient(270deg,rgba(14,10,6,.95),transparent)}

/* the browse chips are cartouches: gold rings with the tied bar at one end */
.tv.is-tomb .tv-dfilters button{border:2px solid #8a6a32;border-right-width:5px;border-radius:999px;background:linear-gradient(180deg,#2e2414,#19120a);color:#e2cfa4;
  font-family:"Cinzel",serif;font-weight:600;letter-spacing:.04em;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 2px 4px #0008}
.tv.is-tomb .tv-dfilters button.is-on{background:linear-gradient(180deg,#f7dd8f,#c9962f);color:#1a1206;border-color:#5a3f12}
.tv.is-tomb .tv-dfilters button i{color:#9c8559}
.tv.is-tomb .tv-dfilters button.is-on i{color:#5a3f12}

/* title page and grid headings in the same carved style */
.tv.is-tomb .tv-tpage{border:0;border-radius:4px;box-shadow:0 0 0 1px #000,0 0 0 3px var(--tomb-gold),0 30px 80px -20px #000}
.tv.is-tomb .tv-tpage::before{content:"";position:absolute;left:0;right:0;top:0;height:26px;z-index:3;pointer-events:none;
  background:url("assets/tomb/glyph-band.svg?v=20261128b") left center/auto 26px repeat-x,linear-gradient(180deg,#121a33,#0b1022);border-bottom:2px solid var(--tomb-gold)}
.tv.is-tomb .tv-tpage .tv-backbtn{top:36px}
.tv.is-tomb .tv-gridhead{padding-top:4px}
.tv.is-tomb .tv-titlefacts dt{color:#b19d76;font-family:"Cinzel",serif}
.tv.is-tomb .tv-linkbtn{color:#7fe3d6}
.tv.is-tomb .tv-gridhead h3{font:800 22px/1.2 "Cinzel",serif;letter-spacing:.06em;color:var(--tomb-gold)}
.tv.is-tomb .tv-q{background:rgba(14,18,34,.85);border-color:#6b5126;color:#f3e6c6}

/* the Tomb switch (only on the On demand screen) */
.tv-themebtn{display:none;min-height:38px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--night-2,#221829);color:var(--dim);font:600 13px/1 var(--sans);cursor:pointer}
.tv.is-demand .tv-themebtn{display:inline-flex;align-items:center;gap:6px}
.tv-themebtn[aria-pressed="true"]{border-color:#c9962f;color:#f7dd8f;background:linear-gradient(180deg,#2e2414,#19120a)}

/* lite mode (Fire TV, phones, slow devices): same pictures, nothing moves */
html.is-lite .zone-lot.is-tomb::after{animation:none;opacity:.8}
html.is-lite .tv.is-tomb::before{display:none}
html.is-lite .tv.is-tomb .tv-hero::before{animation:none}
html.is-lite .tv.is-tomb .tv-railhead h3::before{animation:none}
@media (prefers-reduced-motion:reduce){
  .zone-lot.is-tomb::after,.tv.is-tomb .tv-hero::before,.tv.is-tomb .tv-railhead h3::before{animation:none}
  .tv.is-tomb::before{display:none}
}

/* the scarab that scurries across now and then (js/tv.js scurry) */
.tv-scarab{position:fixed;left:0;top:0;z-index:8;pointer-events:none;height:auto;margin:-20px 0 0 -16px;will-change:transform;
  filter:drop-shadow(0 4px 3px rgba(0,0,0,.75)) drop-shadow(0 0 6px rgba(255,170,80,.18))}
html.is-lite .tv-scarab{filter:none}

/* ============================ the tomb in depth ============================ */
/* Layers from far to near; each moves more the closer it is. The rendered
   layers (tomb-far / tomb-hall / tomb-near .webp) sit on top of drawn
   stand-ins, so the scene works before and after the renders arrive. */
.zone-lot.is-tomb::before,.zone-lot.is-tomb::after{display:none}
.tomb-scene{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;display:none;--px:0;--py:0;--sy:0;background:#07090f}
.zone-lot.is-tomb .tomb-scene{display:block}
.tomb-scene > div{position:absolute;inset:-7%;will-change:transform;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
html.is-lite .tomb-scene > div{transition:transform .5s ease-out!important;will-change:auto}
.tomb-far{background:url("assets/tomb/tomb-far.webp?v=20261128b") center/cover no-repeat,url("assets/tomb/sky-giza.svg?v=20261128b") 58% 100%/auto 135% no-repeat;
  transform:translate3d(calc(var(--px) * -10px),calc(var(--py) * -6px - var(--sy) * 30px),0) scale(1.02)}
/* drawn stand-in for the hall: carved walls with a great opening onto the night */
.tomb-hall-fb{background:linear-gradient(180deg,rgba(20,14,8,.35),rgba(20,14,8,.7)),url("assets/tomb/glyph-wall.svg?v=20261128b") left top/180px 200px repeat,linear-gradient(180deg,#4a3520,#2a1d10 60%,#170f08);
  -webkit-mask:radial-gradient(ellipse 36% 40% at 50% 30%,transparent 96%,#000 100%);mask:radial-gradient(ellipse 36% 40% at 50% 30%,transparent 96%,#000 100%);
  transform:translate3d(calc(var(--px) * -22px),calc(var(--py) * -12px - var(--sy) * 80px),0) scale(1.06)}
.tomb-hall{background:url("assets/tomb/tomb-hall.webp?v=20261128b") center/cover no-repeat;
  transform:translate3d(calc(var(--px) * -22px),calc(var(--py) * -12px - var(--sy) * 80px),0) scale(1.06)}
.tomb-light{background:url("assets/tomb/torches-pass.webp?v=20261128b") center/cover no-repeat;mix-blend-mode:screen;opacity:.85;animation:tombFlicker 2.8s steps(1) infinite;
  transform:translate3d(calc(var(--px) * -22px),calc(var(--py) * -12px - var(--sy) * 80px),0) scale(1.06)}
.tomb-near{background:url("assets/tomb/tomb-near.webp?v=20261128b") center/cover no-repeat;
  transform:translate3d(calc(var(--px) * -46px),calc(var(--py) * -22px - var(--sy) * 160px),0) scale(1.1)}
/* drawn stand-in columns at the edges, until tomb-near.webp exists */
.tomb-near::before,.tomb-near::after{content:"";position:absolute;top:0;bottom:-10%;width:clamp(90px,11vw,220px);background:url("assets/tomb/column.svg?v=20261128b") center top/100% 100% no-repeat;filter:brightness(.8)}
.tomb-near::before{left:4%}
.tomb-near::after{right:4%;transform:scaleX(-1)}
/* keep the UI readable: darker toward the bottom, vignette at the sides */
.tomb-shade{inset:0!important;transform:none!important;background:linear-gradient(180deg,rgba(6,5,4,0) 0%,rgba(6,5,4,.35) 45%,rgba(6,5,4,.88) 100%),radial-gradient(120% 90% at 50% 40%,transparent 55%,rgba(0,0,0,.7) 100%)}
html.is-lite .tomb-light{animation:none}
@media (max-width:700px){
  .tomb-far{background:url("assets/tomb/tomb-far-tall.webp?v=20261128b") center/cover no-repeat,url("assets/tomb/sky-giza.svg?v=20261128b") 62% 60%/cover no-repeat}
  .tomb-hall{background-image:url("assets/tomb/tomb-hall-tall.webp?v=20261128b")}
  .tomb-near{background-image:url("assets/tomb/tomb-near-tall.webp?v=20261128b")}
  .tomb-near::before,.tomb-near::after{width:70px}
  .tomb-light{display:none}
}
.zone-lot.is-tomb > .tomb-scene{position:fixed;z-index:0}
/* the shelves are ledges in the hall, not walls in front of it: the depth
   scene shows through behind and between the rows */
.tv.is-tomb .tv-rail{background:linear-gradient(180deg,rgba(14,10,6,.42),rgba(14,10,6,.68));border-color:rgba(227,185,85,.28);
  box-shadow:inset 0 -14px 24px -12px rgba(0,0,0,.6),0 18px 30px -20px #000}
.tv.is-tomb .tv-dfilters{padding:6px 4px;border-radius:999px;background:rgba(10,8,5,.45)}
.tv.is-tomb .tv-guidehead{background:transparent}
/* the entrance: open space at the top of On demand where the tomb itself is
   the picture, the pyramids and the moon seen through the great opening */
.tomb-stage{display:none}
.tv.is-tomb .tomb-stage{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px;height:clamp(240px,46vh,520px);margin:0 0 14px;text-align:center;pointer-events:none}
.tomb-stage p{margin:0;font:800 clamp(34px,5vw,72px)/1 "Cinzel",serif;letter-spacing:.16em;color:#f7dd8f;
  text-shadow:0 2px 0 #000,0 0 34px rgba(227,185,85,.55),0 0 2px #000}
.tomb-stage span{font:600 clamp(12px,1.2vw,15px)/1 "Cinzel",serif;letter-spacing:.4em;text-transform:uppercase;color:#d6c39c;text-shadow:0 1px 0 #000}
.tomb-stage i{font-style:normal;color:#e3b955;font-size:18px;animation:tombBob 2.4s ease-in-out infinite}
@keyframes tombBob{50%{transform:translateY(6px)}}
html.is-lite .tomb-stage i{animation:none}

/* =============================== theatre mode =============================== */
/* Watch with the tomb on: the render fills the window and the player sits on
   its painted cinema screen (position from js/tv.js theatreFit). The channel
   info and remote are a slim bar over the seats; Watch / Guide / On demand
   float at the top. Fullscreen (:fullscreen) is untouched: the show alone. */
.tomb-theatre{display:none}
.zone-lot.is-theatre > .tomb-theatre{display:block;position:fixed;inset:0;z-index:0;pointer-events:none;
  background:#000 url("assets/tomb/tomb-wide.webp?v=20261128b") center/cover no-repeat}
@media (max-aspect-ratio:3/4){ .zone-lot.is-theatre > .tomb-theatre{background-image:url("assets/tomb/tomb-tall.webp?v=20261128b")} }
.zone-lot.is-theatre{overflow:hidden}
.tv.is-theatre .tv-head,.tv.is-theatre .tv-hint,.tv.is-theatre .fineprint,.tv.is-theatre .tv-alexa{display:none}
.tv.is-theatre .tv-setslot{max-width:none;margin:0}
.tv.is-theatre .tv-set:not(:fullscreen){position:fixed;inset:0;z-index:2;padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;pointer-events:none}
.tv.is-theatre .tv-set:not(:fullscreen) .tv-screenwrap{position:absolute;left:var(--scr-x);top:var(--scr-y);width:var(--scr-w);height:var(--scr-h);
  aspect-ratio:auto;border:0;border-radius:2px;background:#000;pointer-events:auto;
  box-shadow:0 0 0 1px #000,0 0 50px 6px rgba(255,210,150,.16)}
.tv.is-theatre .tv-set:not(:fullscreen) .tv-bar{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);width:min(940px,94vw);margin:0;
  background:rgba(12,9,6,.82);border:1px solid rgba(227,185,85,.35);pointer-events:auto}
html:not(.is-lite) .tv.is-theatre .tv-set:not(:fullscreen) .tv-bar{backdrop-filter:blur(8px)}
.tv.is-theatre .tv-guidewrap{position:fixed;top:calc(var(--top-h) + 8px);left:50%;transform:translateX(-50%);z-index:3;margin:0}
.tv.is-theatre .tv-modes{margin:0;background:rgba(12,9,6,.82);border-color:rgba(227,185,85,.35)}
@media (max-width:700px){
  .tv.is-theatre .tv-set:not(:fullscreen) .tv-bar{bottom:calc(10px + var(--dock-h,0px));width:96vw}
  .tv.is-theatre .tv-set:not(:fullscreen) .tv-next{display:none}
}
.tv-scarab.is-aisle{margin:0;transform-origin:50% 50%;translate:-50% -55%;z-index:3}

/* ============ the false door, the burial chamber, the real scarab ============ */
.tomb-door{display:none}
.zone-lot.is-theatre .tomb-door:not([hidden]){display:block;position:fixed;z-index:3;left:var(--door-x);top:var(--door-y);width:var(--door-w);height:var(--door-h);
  padding:0;border:0;background:transparent;cursor:pointer;border-radius:3px;transition:background .5s,box-shadow .5s}
.zone-lot.is-theatre .tomb-door:hover,.zone-lot.is-theatre .tomb-door:focus-visible{outline:none;
  background:linear-gradient(90deg,rgba(255,190,110,.1),rgba(255,206,140,.55) 40%,rgba(255,236,180,.85) 50%,rgba(255,206,140,.55) 60%,rgba(255,190,110,.1));
  box-shadow:0 0 30px 10px rgba(255,170,80,.6),0 0 90px 26px rgba(255,150,60,.3)}
.tomb-room{position:fixed;inset:0;z-index:90;background:#000 url("assets/tomb/room2-wide.webp?v=20261128b") center/cover no-repeat}
@media (max-aspect-ratio:3/4){ .tomb-room{background-image:url("assets/tomb/room2-tall.webp?v=20261128b")} }
.tomb-room-plaque{position:absolute;left:50%;top:calc(var(--top-h,60px) + 18px);transform:translateX(-50%);text-align:center;padding:10px 22px;border-radius:8px;
  background:rgba(12,9,6,.6);border:1px solid rgba(227,185,85,.45)}
.tomb-room-plaque p{margin:0;font:600 11px/1 "Cinzel",serif;letter-spacing:.3em;text-transform:uppercase;color:#d6c39c}
.tomb-room-plaque h3{margin:6px 0 0;font:800 clamp(20px,2.6vw,32px)/1 "Cinzel",serif;letter-spacing:.08em;color:#f7dd8f;text-shadow:0 2px 0 #000}
.tomb-room-back{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);min-height:46px;padding:0 22px;border-radius:999px;
  border:1px solid rgba(227,185,85,.6);background:rgba(12,9,6,.75);color:#f3e6c6;font:700 15px/1 var(--sans);cursor:pointer}
.tomb-room-back:hover,.tomb-room-back:focus-visible{outline:none;border-color:#f7dd8f;box-shadow:0 0 0 3px rgba(247,221,143,.35)}
/* the rendered scarab: 8-frame walk sprite */
div.tv-scarab{aspect-ratio:1;background:url("assets/tomb/scarab-walk.webp?v=20261128b") 0 0/800% 100% no-repeat;animation:scarabLegs .48s steps(8) infinite}
div.tv-scarab.is-still{animation-play-state:paused}
@keyframes scarabLegs{from{background-position:0 0}to{background-position:114.2857% 0}}
html.is-lite div.tv-scarab{animation:scarabLegs .6s steps(8) infinite!important}
html.is-lite div.tv-scarab.is-still{animation-play-state:paused!important}
.tomb-walkdark{position:fixed;inset:0;z-index:89;background:radial-gradient(circle at 50% 50%,rgba(20,10,4,.85),#000 70%);pointer-events:none;opacity:0}
.zone-lot.is-theatre > .tomb-theatre{will-change:transform}
.tomb-walkvid{position:fixed;inset:0;width:100%;height:100%;z-index:95;object-fit:cover;background:#000;pointer-events:none}
/* the pictures come first: nothing drawn over the billboard, title pages or
   posters (the stone gateway and inscription columns covered the film) */
.tv.is-tomb .tv-hero::after{background:none!important;box-shadow:inset 0 0 0 2px var(--tomb-gold),inset 0 0 0 4px var(--tomb-lapis-d)!important}
.tv.is-tomb .tv-hero .tv-heroart::before{display:none!important}
.tv.is-tomb .tv-hero .tv-herotext{padding-left:clamp(22px,4vw,56px)!important}
.tv.is-tomb .tv-dart img,.tv.is-tomb .tv-epart img,.tv.is-tomb .tv-titleart img{filter:none!important;opacity:1!important}
/* shelves solid enough that the scene never sits behind a poster or a title */
.tv.is-tomb .tv-rail{background:linear-gradient(180deg,rgba(14,10,6,.9),rgba(10,7,4,.94))!important}
.tv.is-tomb .tv-eps,.tv.is-tomb .tv-gridhead,.tv.is-tomb .tv-dgrid{background:rgba(10,7,4,.88);border-radius:6px}
.tv.is-tomb .tv-dgrid{padding:12px}
/* On demand: its own still scene (no parallax, flicker, dust or beetles).
   demand-wide/-tall.webp is the "Treasury of Images" render; until it exists
   a still carved wall shows instead. */
.zone-lot.is-tomb .tomb-scene{display:none!important}
.tv.is-tomb::before{display:none!important}
.zone-lot.is-tomb::after{display:none!important}
.zone-lot.is-tomb::before{display:block!important;content:"";position:fixed;inset:0;z-index:0;pointer-events:none;animation:none!important;
  background:linear-gradient(180deg,rgba(8,6,4,.35),rgba(8,6,4,.78)),url("assets/tomb/demand-wide.webp?v=20261128b") center/cover no-repeat,
    linear-gradient(180deg,rgba(14,10,6,.55),rgba(14,10,6,.8)),url("assets/tomb/glyph-wall.svg?v=20261128b") 0 0/180px 200px repeat,linear-gradient(180deg,#3a2a17,#160f08)!important}
@media (max-aspect-ratio:3/4){
  .zone-lot.is-tomb::before{background:linear-gradient(180deg,rgba(8,6,4,.35),rgba(8,6,4,.78)),url("assets/tomb/demand-tall.webp?v=20261128b") center top/cover no-repeat,
    linear-gradient(180deg,rgba(14,10,6,.55),rgba(14,10,6,.8)),url("assets/tomb/glyph-wall.svg?v=20261128b") 0 0/180px 200px repeat,linear-gradient(180deg,#3a2a17,#160f08)!important}
}
.zone-lot.is-tomb.is-theatre::before{display:none!important}

/* ------------------------- TV guide: Hall of the Scribes -------------------------
   Its own still scene (guide-wide/-tall.webp); On demand keeps the Treasury. */
.zone-lot.is-tomb.is-guide-on:not(.is-demand-on)::before{
  background:linear-gradient(180deg,rgba(8,6,4,.3),rgba(8,6,4,.72)),url("assets/tomb/guide-wide.webp?v=20261128b") center/cover no-repeat,linear-gradient(180deg,#3a2a17,#160f08)!important}
@media (max-aspect-ratio:3/4){
  .zone-lot.is-tomb.is-guide-on:not(.is-demand-on)::before{
    background:linear-gradient(180deg,rgba(8,6,4,.3),rgba(8,6,4,.72)),url("assets/tomb/guide-tall.webp?v=20261128b") center top/cover no-repeat,linear-gradient(180deg,#3a2a17,#160f08)!important}
}
/* mode buttons: lapis bar, gold edge, Cinzel caps */
.tv.is-tomb .tv-modes{background:linear-gradient(180deg,#14306a,#0d1c40);border:1px solid var(--tomb-gold);box-shadow:0 6px 18px -8px #000}
.tv.is-tomb .tv-modes button{color:#e9d9b0;font-family:"Cinzel",serif;font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:12.5px}
.tv.is-tomb .tv-modes button:hover{color:var(--tomb-gold-hi)}
.tv.is-tomb .tv-modes button.is-on{background:linear-gradient(180deg,var(--tomb-gold-hi),var(--tomb-gold));color:#1b1206;box-shadow:inset 0 -2px 0 rgba(0,0,0,.25)}
.tv.is-tomb .tv-modes button:focus-visible{outline:none;box-shadow:0 0 0 2px var(--tomb-gold-hi)}
/* the guide grid: a carved sandstone and lapis panel, solid so the listings stay readable */
.tv.is-tomb .tv-grid{background:rgba(16,11,6,.94);border:2px solid var(--tomb-gold);border-radius:6px;box-shadow:0 0 0 4px #2b1e0f,0 18px 40px -12px #000}
.tv.is-tomb .tv-ghead{background:linear-gradient(180deg,#14306a,#0f2453);border-bottom:2px solid var(--tomb-gold)}
.tv.is-tomb .tv-gcorner{background:#0f2453;border-right:2px solid var(--tomb-gold);color:var(--tomb-gold-hi);font-family:"Cinzel",serif;font-weight:700}
.tv.is-tomb .tv-tick{border-left-color:rgba(227,185,85,.25);color:#e9d9b0}
.tv.is-tomb .tv-gsec{color:var(--tomb-gold);font-family:"Cinzel",serif;font-weight:700;letter-spacing:.1em}
.tv.is-tomb .tv-grow{border-bottom-color:rgba(227,185,85,.14)}
.tv.is-tomb .tv-gch{background:#21170c;border-right:2px solid rgba(227,185,85,.55);color:#f1e6c8}
.tv.is-tomb .tv-gch b{color:var(--tomb-turq);text-shadow:0 0 6px rgba(49,184,168,.4)}
.tv.is-tomb .tv-grow:hover .tv-gch,.tv.is-tomb .tv-grow:focus-visible .tv-gch{background:#352512}
.tv.is-tomb .tv-grow.is-on .tv-gch{background:linear-gradient(90deg,var(--tomb-gold),var(--tomb-gold-hi));color:#1b1206}
.tv.is-tomb .tv-grow.is-on .tv-gch b{color:#14306a}
.tv.is-tomb .tv-grow:focus-visible{box-shadow:inset 0 0 0 2px var(--tomb-gold-hi)}
.tv.is-tomb .tv-cell{background:rgba(201,164,106,.04);border-left-color:rgba(227,185,85,.16);color:#bfae88}
.tv.is-tomb .tv-cell b{color:#efe3c4}
.tv.is-tomb .tv-cell.is-now{background:rgba(49,184,168,.12)}
.tv.is-tomb .tv-grow:hover .tv-cell{background:rgba(227,185,85,.08)}
.tv.is-tomb .tv-nowline{background:var(--tomb-ember);box-shadow:0 0 8px var(--tomb-ember)}

/* ------------- the player band above the guide: a gilded shrine, not the old purple ------------- */
.tv.is-tomb .tv-setslot{background:linear-gradient(180deg,rgba(12,9,5,.97),rgba(12,9,5,.9))!important;border-bottom:2px solid var(--tomb-gold)!important;box-shadow:0 10px 24px -12px #000}
.tv.is-tomb .tv-set:not(:fullscreen){background:linear-gradient(160deg,#2d2011,#150f07)!important;border:2px solid var(--tomb-gold)!important;border-radius:8px!important;
  box-shadow:0 0 0 3px #2b1e0f,inset 0 0 0 1px rgba(247,221,143,.25),0 14px 30px -14px #000!important}
.tv.is-tomb .tv-screenwrap{border:2px solid #0b0703;border-radius:4px;box-shadow:0 0 0 2px rgba(227,185,85,.55)}
.tv.is-tomb .tv-bar{background:linear-gradient(180deg,#14306a,#0c1c3f)!important;border:1px solid rgba(227,185,85,.6)!important;border-radius:6px!important;position:relative}
.tv.is-tomb .tv-bar::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:var(--tomb-frieze);opacity:.9}
.tv.is-tomb .tv-barin{padding-top:14px}
.tv.is-tomb .tv-chname{color:var(--tomb-gold-hi);font-family:"Cinzel",serif;font-weight:800;letter-spacing:.06em}
.tv.is-tomb .tv-chname b{background:var(--tomb-gold);color:#1b1206;border-radius:3px}
.tv.is-tomb .tv-now{color:#f4ead0}
.tv.is-tomb .tv-now small,.tv.is-tomb .tv-next,.tv.is-tomb .tv-time{color:#b8c3dd}
.tv.is-tomb .tv-next b{color:#e9d9b0}
.tv.is-tomb .tv-btn{background:linear-gradient(180deg,#3a2a15,#22180b);border:1px solid var(--tomb-gold);color:#f1e2bb;border-radius:6px;box-shadow:0 3px 0 #0b0703}
.tv.is-tomb .tv-btn:hover{background:linear-gradient(180deg,#4a3519,#2b1e0d);color:var(--tomb-gold-hi)}
.tv.is-tomb .tv-btn:focus-visible{outline:none;box-shadow:0 0 0 2px var(--tomb-gold-hi),0 3px 0 #0b0703}
.tv.is-tomb .tv-btn.tv-watch{background:linear-gradient(180deg,var(--tomb-gold-hi),var(--tomb-gold));color:#1b1206;border-color:#7a5a1c}
.tv.is-tomb .tv-osd b{color:var(--tomb-gold-hi);text-shadow:0 0 10px rgba(0,0,0,.9)}
/* guide header, search, chips */
.tv.is-tomb .tv-guidehead h2{color:var(--tomb-gold-hi);font-family:"Cinzel",serif;font-weight:800;letter-spacing:.08em;text-shadow:0 2px 6px #000}
.tv.is-tomb .tv-q{background:rgba(16,11,6,.9)!important;border:1px solid rgba(227,185,85,.6)!important;color:#f1e6c8}
.tv.is-tomb .tv-adultbtn,.tv.is-tomb .tv-themebtn{background:#22180b;border:1px solid rgba(227,185,85,.6);color:#e9d9b0}
.tv.is-tomb .tv-sections button{background:rgba(20,14,7,.9);border:1px solid rgba(227,185,85,.45);color:#e0d0a8;border-radius:4px}
.tv.is-tomb .tv-sections button:hover{color:var(--tomb-gold-hi);border-color:var(--tomb-gold)}
.tv.is-tomb .tv-sections button.is-on{background:linear-gradient(180deg,var(--tomb-gold-hi),var(--tomb-gold));color:#1b1206;border-color:#7a5a1c}
.tv.is-tomb .tv-remote .tv-btn:not(.tv-watch):not(.tv-backlive){background:linear-gradient(180deg,#3a2a15,#22180b)!important;color:#f1e2bb!important;border:1px solid var(--tomb-gold)!important}
.tv.is-tomb .tv-remote .tv-btn.tv-backlive{background:linear-gradient(180deg,#ffb15c,var(--tomb-ember))!important;color:#1b1206!important;border:1px solid #7a3d0c!important}

/* ------- Music button and player: themed while the tomb is showing on Corpse TV ------- */
html.tomb-ui body[data-zone="lot"] .player-btn{background:linear-gradient(180deg,#3a2a15,#1d1409)!important;border:1px solid var(--tomb-gold,#e3b955)!important;color:#f1e2bb!important;
  border-radius:6px;font-family:"Cinzel",serif;font-weight:800;letter-spacing:.1em;text-transform:uppercase;box-shadow:0 0 0 3px rgba(43,30,15,.9),0 8px 20px -6px #000}
html.tomb-ui body[data-zone="lot"] .player-btn svg{color:#e3b955}
html.tomb-ui body[data-zone="lot"] .player-btn:hover{color:#f7dd8f!important;border-color:#f7dd8f!important}
html.tomb-ui body[data-zone="lot"] .player{background:linear-gradient(180deg,rgba(20,48,106,.97),rgba(12,28,63,.97));border:1px solid #e3b955;border-radius:6px}
html.tomb-ui body[data-zone="lot"] .pl-eyebrow,html.tomb-ui body[data-zone="lot"] .pl-artist{color:#e3b955}
html.tomb-ui body[data-zone="lot"] .pl-title{color:#f4ead0}
html.tomb-ui body[data-zone="lot"] .pl-art{border-color:rgba(227,185,85,.6);background:#22180b}
html.tomb-ui body[data-zone="lot"] .pl-b{background:linear-gradient(180deg,#3a2a15,#22180b);border:1px solid rgba(227,185,85,.7);color:#f1e2bb}
html.tomb-ui body[data-zone="lot"] .pl-b:hover{color:#f7dd8f}
html.tomb-ui body[data-zone="lot"] .pl-play{background:linear-gradient(180deg,#f7dd8f,#e3b955)!important;color:#1b1206!important;border-color:#7a5a1c!important}
html.tomb-ui body[data-zone="lot"] .player{background:linear-gradient(180deg,rgba(20,48,106,.97),rgba(12,28,63,.97))!important;border:1px solid #e3b955!important;border-radius:6px!important}
html.tomb-ui body[data-zone="lot"] .pl-list button{color:#e9d9b0!important;background:transparent!important}
html.tomb-ui body[data-zone="lot"] .pl-list button:hover{background:rgba(227,185,85,.12)!important}
html.tomb-ui body[data-zone="lot"] .pl-list button.is-on{background:linear-gradient(180deg,#f7dd8f,#e3b955)!important;color:#1b1206!important}
html.tomb-ui body[data-zone="lot"] .pl-note,html.tomb-ui body[data-zone="lot"] .pl-count,html.tomb-ui body[data-zone="lot"] .pl-pos{color:#b8c3dd!important}
html.tomb-ui body[data-zone="lot"] .pl-artist,html.tomb-ui body[data-zone="lot"] .pl-eyebrow{color:#e3b955!important}

/* ------------------------------ living firelight ------------------------------
   js liveMount(): base still with the flames turned down, each lamp group's
   light in three wind positions (screen-blended, opacity driven per frame),
   and a rendered flame loop at every flame. */
#tombLive,.tomb-live{position:fixed!important;inset:0;z-index:0!important;overflow:hidden;pointer-events:none;contain:strict}
.tomb-room > .tomb-live{z-index:0!important}
.tomb-room > :not(.tomb-live){z-index:2}
.tomb-live-box{position:absolute;left:0;top:0;transform-origin:0 0}
.tomb-live-base,.tomb-live-light{position:absolute;inset:0;width:100%;height:100%;display:block}
.tomb-live-light{mix-blend-mode:screen;opacity:0;will-change:opacity}
.tomb-flame{position:absolute;background-repeat:no-repeat;background-position:0 0;transform-origin:50% 100%;mix-blend-mode:screen;will-change:transform,background-position}
.tomb-live-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,6,4,.3),rgba(8,6,4,.72))}
/* the live set replaces the flat still behind the guide / On demand / theatre */
.zone-lot.is-tomb.is-live::before{background:#0b0703!important}
.zone-lot.is-theatre.is-live > .tomb-theatre{background:transparent!important}

/* ---------------- Watch (theatre): the info bar and mode buttons match the tomb ---------------- */
.tv.is-theatre .tv-bar{background:linear-gradient(180deg,rgba(20,48,106,.95),rgba(12,28,63,.95))!important;border:1px solid rgba(227,185,85,.7)!important;border-radius:6px!important;position:relative;overflow:hidden}
.tv.is-theatre .tv-bar::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:var(--tomb-frieze);opacity:.9;z-index:1}
.tv.is-theatre .tv-chname{color:var(--tomb-gold-hi)!important;font-family:"Cinzel",serif;font-weight:800;letter-spacing:.06em}
.tv.is-theatre .tv-chname b{background:var(--tomb-gold)!important;color:#1b1206!important;border-radius:3px}
.tv.is-theatre .tv-now{color:#f4ead0}
.tv.is-theatre .tv-now small,.tv.is-theatre .tv-next,.tv.is-theatre .tv-time,.tv.is-theatre .tv-about,.tv.is-theatre .tv-barin > p{color:#b8c3dd!important}
.tv.is-theatre .tv-remote .tv-btn:not(.tv-backlive){background:linear-gradient(180deg,#3a2a15,#22180b)!important;color:#f1e2bb!important;border:1px solid var(--tomb-gold)!important;border-radius:6px!important;box-shadow:0 3px 0 #0b0703!important}
.tv.is-theatre .tv-remote .tv-btn:not(.tv-backlive):hover{color:var(--tomb-gold-hi)!important}
.tv.is-theatre .tv-remote .tv-btn.tv-backlive{background:linear-gradient(180deg,#ffb15c,var(--tomb-ember))!important;color:#1b1206!important;border:1px solid #7a3d0c!important}
.tv.is-theatre .tv-modes{background:linear-gradient(180deg,#14306a,#0d1c40)!important;border:1px solid var(--tomb-gold)!important;border-radius:8px!important}
.tv.is-theatre .tv-modes button{color:#e9d9b0!important;font-family:"Cinzel",serif!important;font-weight:700!important;letter-spacing:.06em;text-transform:uppercase;font-size:12.5px!important;border-radius:6px!important;background:transparent!important}
.tv.is-theatre .tv-modes button.is-on{background:linear-gradient(180deg,var(--tomb-gold-hi),var(--tomb-gold))!important;color:#1b1206!important}

/* ---------------- the site's top bar while the tomb shows ---------------- */
html.tomb-ui body[data-zone="lot"] .topbar{background:linear-gradient(180deg,rgba(16,11,5,.96),rgba(10,7,3,.94))!important;border-bottom:1px solid rgba(227,185,85,.55)!important;box-shadow:0 6px 18px -8px #000!important}
html.tomb-ui body[data-zone="lot"] .topbar::before,html.tomb-ui body[data-zone="lot"] .topbar::after{background:linear-gradient(90deg,#14306a,#e3b955,#31b8a8,#e3b955,#14306a)!important}
html.tomb-ui body[data-zone="lot"] .brand-name{color:#f7dd8f!important}
html.tomb-ui body[data-zone="lot"] .brand-sub{color:#c9a46a!important}
html.tomb-ui body[data-zone="lot"] .brand .mark{border-color:#e3b955!important;box-shadow:0 0 0 2px #2b1e0f,0 0 12px rgba(227,185,85,.35)!important}
html.tomb-ui body[data-zone="lot"] .tab{color:#d9c79c!important}
html.tomb-ui body[data-zone="lot"] .tab:hover{color:#f7dd8f!important}
html.tomb-ui body[data-zone="lot"] .tab.is-on{background:linear-gradient(180deg,#f7dd8f,#e3b955)!important;color:#1b1206!important;border-color:#7a5a1c!important;box-shadow:none!important}
html.tomb-ui body[data-zone="lot"] .chip{background:#22180b!important;border:1px solid rgba(227,185,85,.55)!important;color:#e9d9b0!important}
html.tomb-ui body[data-zone="lot"] .chip svg{color:#e3b955}
html.tomb-ui body[data-zone="lot"] .chip-cta{background:linear-gradient(180deg,#f7dd8f,#e3b955)!important;color:#1b1206!important;border-color:#7a5a1c!important;box-shadow:none!important}
.tomb-live-group{position:absolute;inset:0;mix-blend-mode:screen;isolation:isolate;will-change:filter}
.tomb-live-group > .tomb-live-light{mix-blend-mode:screen}

/* ---------------- the beetle (beetleRun drives legs, path and rock per frame) ---------------- */
div.tv-scarab.is-live{animation:none!important;will-change:transform,background-position;
  /* torch-lit: warm sheen on the black shell, a soft warm-dark shadow thrown away from the flames, a faint contact shadow */
  filter:brightness(.82) sepia(.22) saturate(1.15) contrast(1.08) drop-shadow(0 1px 1px rgba(0,0,0,.85)) drop-shadow(3px 6px 5px rgba(20,8,0,.55)) drop-shadow(0 0 5px rgba(255,160,70,.12))}
html.is-lite div.tv-scarab.is-live{filter:brightness(.82) sepia(.2) drop-shadow(2px 4px 3px rgba(0,0,0,.6))}
.tomb-halo{position:absolute;border-radius:50%;pointer-events:none;mix-blend-mode:screen;will-change:opacity,transform;
  background:radial-gradient(closest-side,rgba(255,196,110,.42),rgba(255,140,50,.18) 45%,rgba(255,110,30,.06) 70%,rgba(0,0,0,0))}
html.is-lite .tomb-halo{will-change:auto}

/* ---------------- the hidden stair (room 2) and the Embalming Chamber (room 3) ---------------- */
.tomb-room.is-r3{z-index:91;background-image:url("assets/tomb/room3-wide.webp?v=20261128b")}
@media (max-aspect-ratio:3/4){ .tomb-room.is-r3{background-image:url("assets/tomb/room3-tall.webp?v=20261128b")} }
.tomb-room > .tomb-stair{position:fixed;z-index:3;padding:0;border:0;border-radius:40%;background:transparent;cursor:pointer;transition:background .6s,box-shadow .6s}
/* found: cool light welling up out of the opening, like the render's light below */
.tomb-room > .tomb-stair:hover,.tomb-room > .tomb-stair:focus-visible{outline:none;
  background:radial-gradient(ellipse at 50% 60%,rgba(190,220,255,.42),rgba(150,190,240,.16) 45%,rgba(0,0,0,0) 72%);
  box-shadow:0 0 50px 14px rgba(150,190,255,.25)}
.tomb-room > .tomb-stairup{position:absolute;left:0;top:0;bottom:0;width:33%;z-index:2;padding:0;border:0;background:transparent;cursor:pointer;transition:background .6s}
.tomb-room > .tomb-stairup:hover,.tomb-room > .tomb-stairup:focus-visible{outline:none;background:linear-gradient(90deg,rgba(255,206,140,.16),rgba(0,0,0,0))}
@media (max-aspect-ratio:3/4){ .tomb-room > .tomb-stairup{display:none} }

/* walking with the channel still on the screen: the clip sits under the TV set, the controls step aside */
.tomb-walkvid.is-under{z-index:1}
.tv.is-walking .tv-bar,.tv.is-walking .tv-osd{opacity:0!important;transition:opacity .25s}
.tv.is-walking .tv-screenwrap{will-change:transform;backface-visibility:hidden}

/* the Tomb switch, now in the mode bar for everyone */
.tv-modes .tv-themebtn{display:inline-flex!important;align-items:center;gap:6px;margin-left:6px;min-height:38px;border-radius:10px}
.tv.is-tomb .tv-modes .tv-themebtn,.tv.is-theatre .tv-modes .tv-themebtn{background:transparent!important;border:1px solid rgba(227,185,85,.6)!important;color:#f7dd8f!important;text-transform:none!important}
