:root {
  color-scheme: light;
  --field: #c7ced2;
  --ink: #243039;
  --print: #342923;
  --paper: #f0ebdc;
  color: var(--ink);
  background: var(--field);
  font-family: 'Azeret Mono', monospace;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { color: var(--paper); background: var(--print); }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px 18px; z-index: 20; background: var(--paper); }
.skip-link:focus { top: 20px; }
.masthead { padding: 32px 4%; position: relative; z-index: 2; font-size: 13px; line-height: 1.5; }
.masthead > a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; letter-spacing: -.04em; }
.studio-mark { width: 34px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.studio { flex: 1; width: 100%; display: flex; flex-direction: column; min-height: 560px; }
.stage { position: relative; width: 100%; min-width: 0; min-height: 560px; flex: 1; }
.stage > canvas { display: block; width: 100%; height: 100%; }
.scene-poster { display: none; position: absolute; inset: 0; overflow: hidden; }
.scene-poster picture { display: block; position: absolute; inset: 0; }
.scene-poster img { display: block; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 100%; height: auto; }
.scene-loading .scene-poster { display: block; }
.scene-loading .ticket-home, .scene-loading [data-scene-print], .scene-loading .stage > canvas { visibility: hidden; }
.scene-loading .collection-controls { visibility: hidden; }
.ticket-home { position: relative; min-height: 560px; display: grid; place-items: center; padding: 30px 20px; }
.ticket-slot { width: min(82vw, 470px); display: grid; gap: 24px; }
.ticket { position: relative; color: var(--print); background: var(--paper); text-decoration: none; width: 100%; padding: 30px 35px; display: flex; flex-direction: column; gap: 0; min-height: 320px; pointer-events: auto; }
.ticket-title { font-size: clamp(36px, 9vw, 57px); line-height: 1.16; font-weight: 400; letter-spacing: -.05em; margin: 8px 0 30px; }
.cupcake-ticket { --print: #293448; --paper: #e9dfc8; }
.cupcake-ticket .ticket-title { font-family: 'Dela Gothic One', sans-serif; }
.ticket-kicker { font-size: 9px; margin-top: 24px; letter-spacing: -.025em; }
.cupcake-emblem { position: absolute; width: 110px; height: 130px; top: 98px; right: 15px; stroke: #293448; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.hero-cape { fill: #d66046; }
.hero-wrapper { fill: #e4ae62; }
.hero-frosting { fill: #faf1d6; }
.hero-spark { stroke-width: 2.5; }
:is(.scene-ready, .scene-preparing) .ticket-home { position: absolute; inset: 0; min-height: 0; pointer-events: none; }
:is(.scene-ready, .scene-preparing) .ticket-slot { width: 960px; height: 620px; display: block; }
:is(.scene-ready, .scene-preparing) .ticket { width: 100%; height: 100%; min-height: 0; padding: 59px 68px 49px; background: transparent; }
:is(.scene-ready, .scene-preparing) .ticket-title { font-size: 91px; margin: 14px 0 26px; max-width: 690px; }
:is(.scene-ready, .scene-preparing) .ticket-kicker { font-size: 21px; margin-top: 37px; }
:is(.scene-ready, .scene-preparing) .cupcake-emblem { width: 245px; height: 270px; top: 158px; right: 50px; }
:is(.scene-ready, .scene-preparing) .ticket:focus-visible { outline-width: 5px; outline-offset: -20px; }
.collection-controls { position: relative; z-index: 2; align-self: center; display: flex; align-items: center; gap: 17px; padding: 12px 24px; max-width: 100%; font-size: 11px; }
.collection-controls button { font: inherit; color: inherit; border: 0; background: transparent; cursor: pointer; min-width: 44px; min-height: 44px; }
.collection-controls button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
#collection-position { max-width: 230px; line-height: 1.6; }
#collection-index { position: relative; }
#collection-index summary { cursor: pointer; list-style: none; padding: 14px 0; white-space: nowrap; }
#collection-index summary::-webkit-details-marker { display: none; }
#collection-list { position: absolute; bottom: 100%; right: 0; min-width: 190px; list-style: none; background: var(--field); padding: 12px; margin: 0; border: 1px solid #7b8589; }
#collection-list button { width: 100%; text-align: left; }
.owner { white-space: nowrap; }
.foot { padding: 22px 4% 30px; position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.about { position: relative; width: 275px; font-size: 12px; line-height: 1.55; }
.about summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; list-style: none; padding: 12px 0; cursor: pointer; min-height: 44px; }
.about summary::-webkit-details-marker { display: none; }
.about-icon { display: block; width: 16px; height: 16px; flex: 0 0 16px; }
.about-icon svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; transform-origin: 50% 50%; transition: transform 140ms ease; }
.about[open] .about-icon svg { transform: rotate(45deg); }
.about-text { position: absolute; left: 0; bottom: calc(100% + 8px); width: 100%; padding: 0 0 15px; border-bottom: 1px solid #7b8589; background: var(--field); }
.about[open] .about-text { animation: about-reveal 140ms ease-out; }
@keyframes about-reveal { from { opacity: 0; } to { opacity: 1; } }
.about-text p { margin: 10px 0 13px; }
.about-text p { font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 14px; line-height: 1.55; }
.about-text a { text-underline-offset: 4px; }
@media (max-width: 600px) {
  .masthead { padding: 25px 6%; font-size: 11px; }
  .studio, .stage { min-height: 470px; }
  .ticket-home { min-height: 470px; }
  .ticket { padding: 29px; min-height: 315px; }
  .cupcake-emblem { width: 90px; right: 8px; top: 94px; }
  .foot { padding: 14px 6% 23px; }
  .about { width: 100%; font-size: 11px; }
  .about-text { max-width: none; }
  .about-text p { font-size: 14px; }
  :is(.scene-ready, .scene-preparing) .ticket { padding: 39px 52px; }
  :is(.scene-ready, .scene-preparing) .ticket-title { font-size: 113px; margin: 11px 0; }
  :is(.scene-ready, .scene-preparing) .ticket-kicker { font-size: 36px; margin-top: 25px; }
  :is(.scene-ready, .scene-preparing) .cupcake-emblem { width: 180px; height: 240px; top: 137px; right: 29px; }
  .collection-controls { flex-wrap: wrap; justify-content: center; gap: 10px; padding-inline: 16px; }
  #collection-position { max-width: 150px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .about-icon svg { transition: none; }
  .about[open] .about-text { animation: none; }
}
