:root {
  --paper: #f3f0ee;
  --ink: #161413;
  --gold: #daa91e;
  --pink: #e1b1fa;
  --ease: cubic-bezier(.32, .72, 0, 1);
  color-scheme: light;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
.presentation-view, .presentation-view * {
  -webkit-user-select: none;
  user-select: none;
}
button { font: inherit; }
button:focus-visible { outline: 4px solid var(--gold); outline-offset: 5px; }
[hidden] { display: none !important; }

#stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1920px;
  height: 1080px;
  transform: translate(-50%, -50%) scale(var(--stage-scale, 1));
  transform-origin: center;
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

#frames, .presentation-frame { position: absolute; inset: 0; }
.presentation-frame { overflow: hidden; }
.presentation-frame[inert] { pointer-events: none; }

#price-confirmation {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 58px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 38px;
  padding: 15px 17px 15px 31px;
  font-size: 29px;
  font-weight: 700;
  color: var(--paper);
  background: #25211e;
  border-radius: 60px;
  box-shadow: 0 16px 45px #08060455;
  animation: show-confirmation 200ms var(--ease) both;
}

#confirm-price {
  border: 0;
  min-width: 96px;
  padding: 13px 23px;
  border-radius: 40px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

#confirm-price:hover { background: #f5d780; }
@keyframes show-confirmation {
  from { opacity: 0; transform: translate(-50%, 13px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  #price-confirmation { animation: none; }
}
