/* Be the Bartender — prototype styles.
 * --s  : scene unit -> CSS px     (panorama pixels)
 * --ms : machine-art px -> CSS px (hi-res machine pixels)
 * Both are set by layout.js for the current device. */

:root { --s: .82; --ms: .27; --bar-h: 700px; --status-h: 113px; --safe-top: 0px; --safe-bottom: 0px;
  --cond: "DIN Condensed", "DINCondensed-Bold", "Bahnschrift SemiCondensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, "Helvetica Neue", Arial, sans-serif; }

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #0d0809; color: #fff;
  overscroll-behavior: none; -webkit-text-size-adjust: 100%; touch-action: manipulation;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
  font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; }
img { -webkit-user-drag: none; user-select: none; }
button { font: inherit; color: inherit; -webkit-appearance: none; appearance: none; }

#safe-probe { position: fixed; top: 0; left: 0; width: 0; visibility: hidden; pointer-events: none;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }

/* ------------------------------------------------------------ app shell */
#shell { position: fixed; inset: 0; }
#app { position: absolute; inset: 0; overflow: hidden; background: #160d0d; opacity: 0; transition: opacity .3s; }
body.ready #app { opacity: 1; }

/* ------------------------------------------------------------ bar scroller */
#bar { position: absolute; left: 0; right: 0; top: 0; height: var(--bar-h);
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain; scrollbar-width: none;
  touch-action: pan-x; cursor: grab; }
#bar::-webkit-scrollbar { display: none; }
#bar.dragging { cursor: grabbing; }
#track { position: relative; height: 100%; overflow: clip; }
#scene { position: absolute; }
.scene-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.snap { position: absolute; top: 0; width: 1px; height: 1px; scroll-snap-align: center; pointer-events: none; }

/* ------------------------------------------------------------ hotspots */
.hotspot { position: absolute; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer;
  border-radius: calc(var(--ms) * 60px); outline: none; }
.hotspot::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: max(100%, 44px); height: max(100%, 40px); border-radius: inherit; }
.hotspot.round { border-radius: 50%; }
.hotspot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0)); mix-blend-mode: screen; }
.hotspot.flash::after { animation: flash .35s ease-out; }
.hotspot:focus-visible { box-shadow: 0 0 0 2px #7ff3ff; }
@keyframes flash { 0% { opacity: 1; } 100% { opacity: 0; } }

body.debug .hotspot, body.debug .m-btn, body.debug .carousel { outline: 1px dashed #00f6ff; background: rgba(0,246,255,.12); }
body.debug .hotspot::before { outline: 1px dotted rgba(255,255,0,.6); }
body.debug .customer-slot { border-color: rgba(255,255,0,.6); }

/* ------------------------------------------------------------ machines */
.machine { position: absolute; }
.machine-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

.m-display { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  pointer-events: none; font-family: var(--cond); font-weight: 700; text-transform: uppercase; overflow: hidden;
  padding: 0 calc(var(--ms) * 40px); }
.m-display .d1 { font-size: calc(var(--ms) * 62px); line-height: 1.05; letter-spacing: .06em; color: #8af6ff;
  text-shadow: 0 0 calc(var(--ms) * 14px) #19d2ff, 0 0 2px #19d2ff; white-space: nowrap; }
.m-display .d2 { font-size: calc(var(--ms) * 40px); letter-spacing: .14em; color: #ffc067;
  text-shadow: 0 0 calc(var(--ms) * 12px) #ff8a1c; margin-top: calc(var(--ms) * 6px); white-space: nowrap;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.m-display.flash { animation: dflash .45s; }
.m-display.warn .d1, .m-display.warn .d2 { animation: dwarn .7s; }
  .m-display.long .d1 { font-size: calc(var(--ms) * 48px); letter-spacing: .03em; }
@keyframes dflash { 0% { filter: brightness(2.2); } 100% { filter: none; } }
@keyframes dwarn { 0%, 60% { color: #ff5a5a; text-shadow: 0 0 10px #ff1e1e; } }

.stage-off { pointer-events: none; opacity: 0; transition: opacity .12s; }
.stage-off.on { opacity: 1; }
.stage-glow { pointer-events: none; opacity: 0; transition: opacity .12s; border-radius: 999px;
  border: calc(var(--ms) * 9px) solid #8dff5c; background: rgba(40, 190, 40, .30); mix-blend-mode: screen;
  box-shadow: 0 0 calc(var(--ms) * 30px) #3dff3d, inset 0 0 calc(var(--ms) * 34px) rgba(70, 255, 70, .6); }
.stage-glow.on { opacity: 1; }
.console-glow { border-radius: calc(var(--s) * 13px); border-width: calc(var(--s) * 3px);
  box-shadow: 0 0 calc(var(--s) * 10px) #3dff3d, inset 0 0 calc(var(--s) * 10px) rgba(70,255,70,.6); }
.tab-glow { pointer-events: none; opacity: 0; transition: opacity .12s; border-radius: calc(var(--s) * 10px);
  border: calc(var(--s) * 2.5px) solid #ffb43c; background: rgba(255, 150, 30, .22); mix-blend-mode: screen;
  box-shadow: 0 0 calc(var(--s) * 9px) #ff9a1e; }
.tab-glow.on { opacity: 1; }

/* control buttons (sprites from the original art) */
.m-btn { position: absolute; border: 0; padding: 0; margin: 0; background: none; cursor: pointer;
  transition: transform .08s, filter .08s; border-radius: calc(var(--ms) * 70px); }
.m-btn::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: max(100%, 44px); transform: translateY(-50%); }
.m-btn img { position: relative; display: block; width: 100%; height: 100%; pointer-events: none; }
.m-btn:active { transform: scale(.94); filter: brightness(1.35) saturate(1.2); }
.m-btn:focus-visible { outline: 2px solid #7ff3ff; }

.win-arrow { pointer-events: none; }

/* ------------------------------------------------------------ carousel */
.m-window { pointer-events: auto; }
.carousel { position: absolute; left: 0; right: 0; top: 0; bottom: 13%; overflow: hidden; touch-action: none; cursor: grab; }
.carousel-strip { display: flex; height: 100%; will-change: transform; }
.c-item { position: relative; flex: none; height: 100%; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; padding: calc(var(--ms) * 22px) 0 calc(var(--ms) * 6px); cursor: pointer; }
.c-art { flex: 1; min-height: 0; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.c-art img { max-width: 84%; max-height: 100%; object-fit: contain; pointer-events: none; display: block; }
.c-art img.c-icon { max-height: 72%; max-width: 60%; margin-bottom: 6%; filter: drop-shadow(0 0 calc(var(--ms) * 8px) rgba(140,240,255,.7)); }
.c-label { font-family: var(--cond); font-weight: 700; font-stretch: condensed; font-size: calc(var(--ms) * 38px); line-height: 1.15;
  letter-spacing: .02em; color: #fff; white-space: nowrap; text-shadow: 0 1px 0 #000, 0 0 4px #000, 0 0 2px #000;
  margin-top: calc(var(--ms) * 4px); max-width: 100%; overflow: hidden; text-overflow: clip; }
.c-item::before { content: ""; position: absolute; inset: 2% 5% 0; border-radius: calc(var(--ms) * 22px);
  border: calc(var(--ms) * 7px) solid transparent; pointer-events: none; transition: border-color .12s, box-shadow .12s; }
.c-item.sel::before { border-color: #9bff58;
  box-shadow: 0 0 calc(var(--ms) * 22px) #57ff2a, inset 0 0 calc(var(--ms) * 22px) rgba(87,255,42,.45); }
.c-item.sel::after { content: "✓"; position: absolute; top: 4%; right: 10%; font-weight: 900; color: #c9ff9c;
  font-size: calc(var(--ms) * 44px); text-shadow: 0 0 6px #57ff2a; }
.c-item.pop .c-art { animation: pop .25s; }
@keyframes pop { 50% { transform: scale(1.08); } }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 2.5%; display: flex; justify-content: center;
  gap: calc(var(--ms) * 22px); pointer-events: none; }
.carousel-dots i { width: calc(var(--ms) * 22px); height: calc(var(--ms) * 22px); border-radius: 50%;
  border: calc(var(--ms) * 3px) solid rgba(200,225,240,.7); }
.carousel-dots i.on { background: #e9f6ff; box-shadow: 0 0 6px #7ff3ff; }
.carousel-dots i:only-child { opacity: .5; }

/* POUR stage panel */
.pour-panel { position: absolute; inset: 6% 8% 6%; display: none; flex-direction: column; justify-content: center;
  gap: 10%; touch-action: none; }
.m-window[data-mode="pour"] .carousel, .m-window[data-mode="pour"] .carousel-dots { display: none; }
.m-window[data-mode="pour"] .pour-panel { display: flex; }
.pour-row { display: flex; align-items: center; gap: 4%; }
.pour-lbl, .pour-deg { font-family: var(--cond); font-weight: 700; font-size: calc(var(--ms) * 44px); color: #8af6ff;
  text-shadow: 0 0 8px #19d2ff; min-width: 15%; text-align: center; }
.tilt-range { flex: 1; -webkit-appearance: none; appearance: none; height: 44px; background: transparent; margin: 0; touch-action: none; }
.tilt-range::-webkit-slider-runnable-track { height: 6px; border-radius: 4px; background: linear-gradient(90deg, #ff8a1c, #19d2ff 50%, #ff8a1c); box-shadow: 0 0 8px #19d2ff; }
.tilt-range::-moz-range-track { height: 6px; border-radius: 4px; background: linear-gradient(90deg, #ff8a1c, #19d2ff 50%, #ff8a1c); }
.tilt-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%;
  background: radial-gradient(#fff, #c9d6ff 60%, #7a6aa8); box-shadow: 0 0 10px #8af6ff; }
.tilt-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #dfe8ff; border: 0; }
.pour-btn { flex: 1; min-height: 44px; border-radius: 999px; font-family: var(--cond); font-weight: 700;
  font-size: calc(var(--ms) * 42px); letter-spacing: .06em; cursor: pointer; background: rgba(4,18,26,.8);
  border: 2px solid #ffb04a; color: #ffd08a; box-shadow: 0 0 8px rgba(255,140,30,.6), inset 0 0 8px rgba(255,140,30,.3);
  touch-action: none; }
.pour-btn.hold { border-color: #8dff5c; color: #d8ffc0; box-shadow: 0 0 8px rgba(80,255,60,.6), inset 0 0 8px rgba(80,255,60,.3); }
.pour-btn.active { filter: brightness(1.5); transform: scale(.97); }
.pour-btn.motion.active { background: rgba(255,140,30,.3); }

/* tilting glass on the beer platform */
.tilt-glass { pointer-events: none; transition: transform .1s linear; }
.glass-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.beer-fill-wrap { position: absolute; inset: 0;
  clip-path: polygon(7% 7%, 93% 7%, 84% 95%, 16% 95%); }
.beer-fill { position: absolute; left: 0; right: 0; bottom: 5%; height: 0; opacity: .86; }
.beer-fill::after { content: ""; position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 30% 80%, rgba(255,255,255,.25) 0 1px, transparent 1px 9px); opacity: .5; }
.beer-foam { position: absolute; left: 0; right: 0; top: 0; height: 0; transform: translateY(-60%);
  border-radius: 40% 40% 10% 10%; box-shadow: inset 0 -4px 6px rgba(0,0,0,.15); }
.beer-stream { pointer-events: none; opacity: 0; border-radius: 40%; transition: opacity .1s;
  filter: drop-shadow(0 0 3px rgba(255,190,80,.8)); transform-origin: top; }
.beer-stream.on { opacity: .9; animation: stream .18s linear infinite; }
@keyframes stream { 50% { transform: scaleX(.75); } }

/* mixed machine chamber & porthole */
.chamber { pointer-events: none; transition: all .25s; }
.chamber img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; display: block; }
.porthole { pointer-events: none; border-radius: 999px; overflow: hidden; }
.porthole.run::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: portglow 1.6s ease-out; }
.porthole.run[data-proc="liquor"]::before  { background: radial-gradient(ellipse at 50% 60%, rgba(255,170,60,.75), transparent 70%); }
.porthole.run[data-proc="glass"]::before   { background: linear-gradient(180deg, transparent 30%, rgba(255,255,255,.7) 50%, transparent 70%); background-size: 100% 300%; animation: sweep 1.6s ease-in-out; }
.porthole.run[data-proc="ice"]::before     { background: radial-gradient(ellipse at 50% 30%, rgba(120,220,255,.9), transparent 70%); }
.porthole.run[data-proc="mixers"]::before  { background: radial-gradient(circle, rgba(170,255,255,.8) 0 2px, transparent 3px) 0 0 / 22% 9%; animation: bubbles 1.6s linear; }
.porthole.run[data-proc="garnish"]::before { background: conic-gradient(from 0deg, rgba(160,255,90,.75), transparent 30%, rgba(160,255,90,.75) 50%, transparent 80%); animation: spin 1.6s linear; }
@keyframes portglow { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sweep { 0% { background-position: 0 100%; opacity: 1; } 100% { background-position: 0 0; opacity: 0; } }
@keyframes bubbles { 0% { background-position: 0 100%; opacity: 1; } 100% { background-position: 0 0; opacity: 0; } }
@keyframes spin { 0% { transform: rotate(0); opacity: 1; } 100% { transform: rotate(540deg); opacity: 0; } }

/* ------------------------------------------------------------ console */
.console-layer > * { pointer-events: auto; }
.console-layer > .stage-off, .console-layer > .stage-glow, .console-layer > .tab-glow { pointer-events: none; }
.console-screen { pointer-events: none !important; opacity: 0; transition: opacity .15s; overflow: hidden;
  border-radius: calc(var(--s) * 12px);
  background: radial-gradient(120% 90% at 30% 20%, #133049, #071522 70%); box-shadow: inset 0 0 calc(var(--s) * 10px) #000; }
.console-screen.on { opacity: 1; }
.cs-in { position: absolute; inset: 6% 13% 4%; display: flex; flex-direction: column; }
.cs-kicker { font-family: var(--cond); font-size: calc(var(--s) * 11px); letter-spacing: .2em; color: #ffb45a; }
.cs-title { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; color: #f6c75a;
  font-size: calc(var(--s) * 27px); line-height: 1.05; text-shadow: 0 0 6px rgba(246,199,90,.35); }
.cs-sub { font-size: calc(var(--s) * 9px); letter-spacing: .3em; text-transform: uppercase; color: #dfe9f2; margin: 1% 0 3%; }
.cs-body { font-size: calc(var(--s) * 12.5px); line-height: 1.3; color: #eef4f8; }
.cs-body ul { margin: 0; padding: 0; list-style: none; }
.cs-body li::before { content: "• "; color: #ffb45a; }
.cs-body p { margin: 0 0 2%; }
.cs-body .note { margin-top: 3%; padding-top: 2%; border-top: 1px solid rgba(246,199,90,.5); font-style: italic; color: #d4e0ea; }
.cs-body .ph { color: #ffb45a; font-family: var(--cond); letter-spacing: .08em; }
.cs-body .sub2 { color: #9fd6ff; }
.console-arrow { pointer-events: none !important; opacity: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: calc(var(--s) * 2.5px) solid #ff9f3a; color: #ffbf6a; font-weight: 700;
  font-size: calc(var(--s) * 30px); line-height: 1; background: rgba(40,18,6,.85); box-shadow: 0 0 calc(var(--s) * 8px) #ff8a1c;
  transform: scale(.78); }
.console-arrow.on { opacity: 1; }

/* ------------------------------------------------------------ seats & drinks */
.customer-slot { cursor: pointer; border: 1px dashed rgba(255, 214, 160, .16);
  border-radius: calc(var(--s) * 70px) calc(var(--s) * 70px) calc(var(--s) * 12px) calc(var(--s) * 12px);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; transition: border-color .2s, background .2s; }
.slot-tag { margin-top: 8%; font-family: var(--cond); font-weight: 700; letter-spacing: .12em; white-space: nowrap;
  font-size: calc(var(--s) * 13px); color: rgba(255, 220, 170, .55); padding: .25em .7em; border-radius: 999px;
  border: 1px solid rgba(255, 220, 170, .2); background: rgba(0,0,0,.25); }
.slot-hint { margin-top: auto; margin-bottom: 30%; font-size: calc(var(--s) * 11px); letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,220,170,.22); }
.customer-slot.target { border-color: rgba(141, 255, 92, .55); background: rgba(141,255,92,.04); }
.customer-slot.target .slot-tag { color: #c9ff9c; border-color: rgba(141,255,92,.6); }
.coaster-mark { pointer-events: none; border-radius: 50%; }
.coaster-mark.target { animation: coaster 1.4s ease-in-out infinite; }
@keyframes coaster { 50% { box-shadow: 0 0 calc(var(--s) * 18px) calc(var(--s) * 4px) rgba(141,255,92,.55); } }
.drink { z-index: 5; pointer-events: none; filter: drop-shadow(0 calc(var(--s) * 4px) calc(var(--s) * 3px) rgba(0,0,0,.6)); }
.drink img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; display: block; }
.drink.landed { animation: land .35s; }
.drink.gone { opacity: 0; transform: translateY(-20%); transition: opacity .5s, transform .5s; }
@keyframes land { 40% { transform: translateY(-6%) scale(1.04); } }

/* ------------------------------------------------------------ nav indicator */
#navpill { position: absolute; z-index: 20; left: 50%; transform: translateX(-50%);
  top: calc(var(--bar-h) - 50px); height: 44px; display: flex; align-items: center;
  background: rgba(14, 8, 12, .66); border: 1px solid rgba(255, 190, 255, .22); border-radius: 22px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 4px 14px rgba(0,0,0,.45); }
.nav-arrow { width: 44px; height: 44px; border: 0; background: none; color: #ffcf86; cursor: pointer; padding: 0;
  font-size: 30px; line-height: 1; display: flex; align-items: center; justify-content: center; text-shadow: 0 0 8px #ff8a1c; }
.nav-arrow span { margin-top: -4px; }
.nav-arrow:disabled { opacity: .22; cursor: default; }
.nav-arrow:active:not(:disabled) { transform: scale(.9); }
.nav-mid { display: flex; flex-direction: column; align-items: center; min-width: 132px; }
.nav-name { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
  color: #8af6ff; text-shadow: 0 0 8px #19d2ff; line-height: 1.1; white-space: nowrap; }
.nav-dots { display: flex; gap: 2px; margin-top: 2px; }
.nav-dot { width: 14px; height: 12px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.nav-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; transform: translate(-50%,-50%);
  border-radius: 50%; background: rgba(255,255,255,.28); }
.nav-dot.machine::after { border-radius: 1.5px; }
.nav-dot.console::after { width: 7px; height: 7px; transform: translate(-50%,-50%) rotate(45deg); border-radius: 1px; }
.nav-dot.on::after { background: #ffcf86; box-shadow: 0 0 6px #ff8a1c; }

/* ------------------------------------------------------------ status panel */
#status { position: absolute; z-index: 15; left: 0; right: 0; bottom: 0; height: calc(var(--status-h) + var(--safe-bottom));
  background: linear-gradient(#2b1b2b, #0b0709 60%); box-shadow: 0 -6px 16px rgba(0,0,0,.65); }
.status-panel { position: relative; width: 100%; height: var(--status-h); }
.status-art { display: block; width: 100%; height: 100%; pointer-events: none; }
.sv { position: absolute; transform: translate(-50%, -50%); font-family: var(--round); font-weight: 800; color: #fff;
  white-space: nowrap; font-variant-numeric: tabular-nums; pointer-events: none;
  text-shadow: 0 0 calc(var(--status-h) * .05) #4fd2ff, 0 0 2px #4fd2ff, 0 2px 3px rgba(0,0,0,.8); }
.sv.round { font-size: calc(var(--status-h) * .31); }
.sv.score { font-size: calc(var(--status-h) * .2); }
.sv.tips  { font-size: calc(var(--status-h) * .12); padding: .1em .45em; border-radius: 999px; background: rgba(8,8,20,.72);
  border: 1px solid rgba(255,200,90,.55); color: #ffe39a; text-shadow: 0 0 6px rgba(255,170,40,.8); }
.sv.bump { animation: bump .45s; }
@keyframes bump { 40% { transform: translate(-50%, -50%) scale(1.25); filter: brightness(1.6); } }

#toast { position: absolute; z-index: 30; left: 50%; top: calc(var(--bar-h) - 112px); max-width: 90%;
  transform: translate(-50%, 8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  background: rgba(10, 6, 10, .85); border: 1px solid rgba(255, 190, 120, .35); color: #ffe2b8;
  font-size: 13px; padding: 7px 14px; border-radius: 16px; text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

#rotate { display: none; }
@media (orientation: landscape) and (max-height: 500px) {
  body:not(.framed) #rotate { display: flex; position: fixed; inset: 0; z-index: 99; align-items: center; justify-content: center;
    background: #120a0b; color: #ffcf86; font-size: 18px; }
}

/* ------------------------------------------------------------ desktop test frame */
#devbar { display: none; }
body.framed { background: radial-gradient(circle at 50% 30%, #2a2430, #0f0d12); }
body.framed #devbar { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; position: fixed; top: 10px; left: 0; right: 0; z-index: 50; }
.devbtn { border: 1px solid #554a5e; background: #1d1922; color: #cfc4d8; padding: 5px 10px; border-radius: 8px; font-size: 12px; cursor: pointer; }
.devbtn.on { background: #ffcf86; color: #1a1010; border-color: #ffcf86; }
body.framed #shell { position: absolute; left: 50%; top: 48px; right: auto; bottom: auto;
  transform-origin: top center; padding: 12px; border-radius: 60px; background: #050505;
  box-shadow: 0 0 0 2px #3a3540, 0 30px 80px rgba(0,0,0,.7); }
body.framed #app { position: relative; inset: auto; border-radius: 48px; }
#app.has-island::before { content: ""; position: absolute; z-index: 100; top: 11px; left: 50%; width: 124px; height: 36px;
  transform: translateX(-50%); background: #000; border-radius: 20px; pointer-events: none; }
body.framed #app::after { content: ""; position: absolute; z-index: 100; bottom: 8px; left: 50%; width: 134px; height: 5px;
  transform: translateX(-50%); background: rgba(255,255,255,.55); border-radius: 3px; pointer-events: none; }
body.framed #app[data-sim-bottom="0"]::after { display: none; }
