/* The handset stays anchored to the picture when its host enters full screen. */
#remote-host.orion-remote-host {
  --orp-ink:#f1f0e8;
  --orp-light:#ffb47a;
  position:absolute;
  z-index:4;
  top:50%;
  right:clamp(12px,2.2%,30px);
  width:clamp(112px,15.5%,162px);
  height:min(82%,386px);
  transform:translateY(-50%);
  color:var(--orp-ink);
  pointer-events:none;
  container-type:size;
  isolation:isolate;
}
#remote-host[hidden] {display:none}
.orp-unit {
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:minmax(0,.72fr) minmax(0,2.45fr) minmax(0,.78fr) minmax(0,1.67fr) minmax(0,.77fr);
  align-items:center;
  justify-items:center;
  row-gap:1.55cqh;
  padding:5.5cqh 8.8cqw 4.3cqh;
  border:1px solid rgba(207,206,193,.48);
  border-radius:13cqw;
  background:linear-gradient(103deg,rgba(118,116,109,.58) 0%,rgba(50,51,46,.87) 4%,rgba(37,38,33,.88) 12%,rgba(57,58,52,.85) 48%,rgba(33,34,29,.89) 93%,rgba(102,101,93,.64) 100%);
  box-shadow:inset 1px 1px 1px rgba(253,250,229,.3),inset -2px -3px 4px rgba(0,0,0,.46),0 7px 20px rgba(0,0,0,.29);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  pointer-events:auto;
  opacity:.53;
  transition:opacity .2s ease, box-shadow .2s ease;
  user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout:none;
}
.orp-unit:hover,.orp-unit:has(.orp-key:focus-visible),[data-expanded=true]>.orp-unit {
  opacity:1;
  box-shadow:inset 1px 1px 1px rgba(253,250,229,.36),inset -2px -3px 4px rgba(0,0,0,.5),0 9px 24px rgba(0,0,0,.38);
}
.orp-key,.orp-reveal,.orp-close {
  appearance:none;
  -webkit-appearance:none;
  border:0;
  background:none;
  color:var(--orp-ink);
  cursor:pointer;
  display:grid;
  place-items:center;
  padding:0;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.orp-key {
  position:relative;
  min-width:0;
  min-height:0;
  border:1px solid #171815;
  box-shadow:inset 0 1px 1px #dedbc52a,0 1px 2px #0809087a;
  background:linear-gradient(160deg,#484943,#292a26 80%);
  border-radius:50%;
}
.orp-key:disabled {cursor:wait}
.orp-key:not(:disabled):hover,.orp-key:focus-visible {color:#fff;background-color:#56564d;filter:brightness(1.18)}
.orp-key:focus-visible,.orp-close:focus-visible,.orp-reveal:focus-visible {outline:2px solid #ffc294;outline-offset:1px;z-index:2}
.orp-key:active {transform:translateY(.8px);filter:brightness(.9)}
.orp-key.orp-holding {animation:orp-hold 5s linear both}
@keyframes orp-hold {from{box-shadow:inset 0 0 0 1px #eab08200}to{box-shadow:inset 0 0 0 2px #ffc18f}}
#remote-host svg {
  width:clamp(13px,13cqw,22px);
  height:clamp(13px,13cqw,22px);
  fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
  display:block;pointer-events:none;
}
.orp-top,.orp-modes,.orp-base {
  align-self:stretch;
  width:100%;
  display:grid;
  align-items:center;
  justify-items:center;
}
.orp-top {grid-template-columns:1fr .52fr 1fr;padding-inline:2%}
.orp-top .orp-key {height:100%;max-height:32cqw;aspect-ratio:1}
.orp-power-led {
  width:4px;height:7px;border-radius:8px;
  background:#242622;box-shadow:inset 0 0 1px #060705;
}
[data-power=true] .orp-power-led {background:#eab18a;box-shadow:0 0 5px #d5955d8c}
.orp-wheel {
  width:min(100%,30cqh);aspect-ratio:1;
  position:relative;
  border-radius:50%;
  background:conic-gradient(from 22deg,#343630 0deg,#51534b 59deg,#2b2d28 105deg,#52544c 165deg,#30312b 235deg,#494a42 292deg,#343630);
  border:1px solid #191a16;
  box-shadow:inset 0 1px 2px #c5c4ab55,inset 0 -2px 4px #121310b0,0 0 0 2px #2c2e28,0 1px 5px #11120e8c;
  display:grid;
  grid-template-columns:29.5% 41% 29.5%;
  grid-template-rows:29.5% 41% 29.5%;
  grid-template-areas:". up ." "left flame right" ". down .";
  place-items:stretch;
}
.orp-wheel .orp-key {background:none;box-shadow:none;border:0;border-radius:8px}
.orp-wheel [data-remote-key=up]{grid-area:up}
.orp-wheel [data-remote-key=down]{grid-area:down}
.orp-wheel [data-remote-key=left]{grid-area:left}
.orp-wheel [data-remote-key=right]{grid-area:right}
.orp-wheel [data-remote-key=flame] {
  grid-area:flame;background:linear-gradient(135deg,#4a493e,#262820);
  border-radius:50%;border:1px solid #24241f;color:var(--orp-light);
  box-shadow:inset 0 1px 1px #c1bca054,0 1px 4px #0a0b08b3;
}
.orp-wheel .orp-flame-shape {fill:currentColor;stroke:none}
.orp-modes {grid-template-columns:repeat(3,1fr);gap:4%}
.orp-modes .orp-key,.orp-center .orp-key {width:min(100%,10cqh);aspect-ratio:1;max-height:100%}
.orp-modes .orp-key::before {
  content:"";position:absolute;width:3px;height:3px;border-radius:50%;top:-5px;left:calc(50% - 1.5px);background:#25251f;
}
.orp-modes [aria-pressed=true]::before {background:#ffc089;box-shadow:0 0 4px #eca65c}
.orp-base {grid-template-columns:1fr 1fr 1fr;gap:7%;align-items:stretch}
.orp-rocker,.orp-center {width:100%;height:100%;min-height:0}
.orp-rocker {position:relative;display:grid;grid-template-rows:1fr 1fr;align-items:stretch;background:linear-gradient(140deg,#42433d,#282925);border:1px solid #1e1f19;border-radius:30px;box-shadow:inset 0 1px 1px #dedbc52b,0 1px 3px #15151285}
.orp-rocker .orp-key {background:transparent;box-shadow:none;border:0;border-radius:25px 25px 5px 5px}
.orp-rocker .orp-key:last-child {border-radius:5px 5px 25px 25px}
.orp-rocker span {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;color:#d1d2c5}
#remote-host .orp-rocker span svg {width:9.5cqw;height:9.5cqw}
#remote-host .orp-rocker .orp-key svg {width:11cqw;height:11cqw}
.orp-center {display:grid;grid-template-rows:1fr 1fr;gap:11%;align-items:center;justify-items:center}
.orp-readout {align-self:stretch;display:flex;min-width:0;width:100%;flex-direction:column;text-align:center;justify-content:center;gap:1px;border-top:1px solid #f4f1dc26}
.orp-readout-label,.orp-readout-value {display:block;line-height:1.1;white-space:nowrap}
.orp-readout-label {font:500 clamp(8px,6.5cqw,11px)/1.08 var(--sans,Arial,sans-serif);color:#c7c8bd}
.orp-readout-value {font:600 clamp(11px,8.5cqw,14px)/1.12 var(--sans,Arial,sans-serif);color:#ffe4c8}
.orp-tip {
  position:absolute;right:calc(100% + 10px);top:var(--orp-tip-y,50%);transform:translateY(-50%);
  text-align:left;width:max-content;max-width:min(165px,40vw);border:1px solid #c9c4b44f;border-radius:5px;
  padding:7px 10px;background:rgba(27,28,24,.97);color:#fff9ea;line-height:1.3;pointer-events:none;
}
.orp-tip b {font-weight:600;font-size:.825rem}.orp-tip span {display:block;font-size:.74rem;color:#d3d0bd}.orp-tip span:empty {display:none}
.orp-tip[hidden],.orp-reveal,.orp-close {display:none}
.orp-announcement {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.orp-reveal,.orp-close {position:absolute;border:1px solid #f1eee34d;border-radius:30px;background:#22231dc9;color:#fff9ec;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);pointer-events:auto}
#remote-host[data-compact=true] {width:clamp(125px,32%,152px);height:min(calc(100% - 20px),350px);right:10px}
#remote-host[data-compact=true][data-expanded=false] {top:auto;bottom:3px;right:8px;width:84px;height:42px;transform:none}
#remote-host[data-compact=true][data-expanded=true] {top:calc(50% + 21px);height:min(calc(100% - 64px),350px)}
.media-stage:has(#remote-host[data-compact=true][data-expanded=true]:not([hidden])) {min-height:min(366px,91dvh)}
[data-compact=true][data-expanded=false] .orp-unit {display:none}
[data-compact=true][data-expanded=false] .orp-reveal {display:flex;align-items:center;justify-content:center;gap:5px;right:0;bottom:5px;min-height:30px;padding:0 10px;opacity:.88;font-size:.74rem;font-weight:600}
[data-compact=true][data-expanded=false] .orp-reveal::before {content:"";position:absolute;inset:-8px -2px;border-radius:inherit}
#remote-host .orp-reveal svg {width:17px;height:19px}
[data-compact=true][data-expanded=true] .orp-close {display:grid;place-items:center;right:calc(100% + 5px);top:0;width:37px;height:37px}
#remote-host .orp-close svg {width:15px;height:15px}
@media(prefers-reduced-motion:reduce){.orp-unit{transition:none}.orp-key.orp-holding{animation:none;outline:1px solid #ffb87d}}
