:root { color-scheme: dark; font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; background: #090508; color: #ffe8cb; }
html { height: 100%; overflow: clip; }
* { box-sizing: border-box; }
body { margin: 0; height: 100dvh; display: flex; align-items: center; justify-content: center; padding: .6rem; overflow: clip; background: #18040a; isolation: isolate; }
.stage-lights { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.stage-lights i { position: absolute; top: -60vh; left: 10%; width: 35vw; height: 160vh; transform-origin: 50% 0; background: linear-gradient(180deg, #ffbc3040, #a23d1726 65%, transparent); filter: blur(28px); clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%); animation: sweep 8s ease-in-out infinite alternate; }
.stage-lights i:nth-child(2) { left: 50%; background: linear-gradient(180deg, #c92a6b59, #de244322 65%, transparent); animation-duration: 11s; animation-delay: -5s; }
.stage-lights i:nth-child(3) { left: 80%; background: linear-gradient(180deg, #387bd05b, #3b47c02b 65%, transparent); animation-duration: 9s; animation-delay: -3s; }
body:has(.stage.is-playing) .stage-lights { opacity: 1; }
@keyframes sweep { from { transform: rotate(-25deg); } to { transform: rotate(27deg); } }
.stage { position: relative; flex: none; width: min(960px, calc(100vw - clamp(5rem, 18vw, 12rem))); height: calc(100dvh - 1.2rem); }
.amp { position: relative; z-index: 1; display: grid; grid-template-rows: minmax(0, 1fr) minmax(0, .42fr) auto; width: 100%; height: 100%; overflow: hidden; border: clamp(6px, 1.4vw, 13px) solid #2a1c13; border-radius: 1rem; background: #130b09; box-shadow: inset 0 0 0 2px #926737, 0 0 0 2px #070305, 0 18px 60px #0009; }
.light-rig { position: absolute; z-index: 4; inset: 0 0 auto; height: 16px; display: flex; justify-content: space-around; align-items: center; border-bottom: 2px solid #8c693c; background: linear-gradient(#120b0b, #453329 50%, #130c08); pointer-events: none; }
.lamp { --lamp: #fff4d5; --beam: #fff2bc43; position: relative; width: 12px; height: 12px; border: 2px solid #2b2421; border-radius: 50%; background: #30251f; opacity: .15; box-shadow: none; }
.stage.is-playing .lamp { background: var(--lamp); opacity: 1; box-shadow: 0 0 9px 3px var(--lamp); animation: light-cycle 5.2s steps(1, end) infinite; }
.lamp::after { content: ''; position: absolute; z-index: -1; top: 10px; left: 50%; width: clamp(120px, 17vw, 250px); height: min(50vh, 390px); transform: translateX(-50%); transform-origin: 50% 0; background: linear-gradient(var(--beam), transparent); clip-path: polygon(49% 0, 51% 0, 100% 100%, 0 100%); opacity: 0; animation: beam-sweep 6s ease-in-out infinite alternate paused; }
.stage.is-playing .lamp::after { opacity: 1; animation-play-state: running; }
.stage.is-playing .lamp:nth-child(1) { animation-duration: 3.7s; animation-delay: -2.2s; }
.stage.is-playing .lamp:nth-child(2) { animation-duration: 5.9s; animation-delay: -4.7s; }
.stage.is-playing .lamp:nth-child(3) { animation-duration: 4.4s; animation-delay: -1.3s; }
.stage.is-playing .lamp:nth-child(4) { animation-duration: 7.1s; animation-delay: -5.6s; }
.stage.is-playing .lamp:nth-child(5) { animation-duration: 6.3s; animation-delay: -3.1s; }
.stage.is-playing .lamp:nth-child(6) { animation-duration: 4.9s; animation-delay: -2.8s; }
.stage.is-playing .lamp:nth-child(7) { animation-duration: 8.2s; animation-delay: -7.4s; }
.stage.is-playing .lamp:nth-child(8) { animation-duration: 5.3s; animation-delay: -.6s; }
.stage.is-playing .lamp:nth-child(2n)::after { animation-duration: 8.4s; animation-delay: -3.2s; }
.stage.is-playing .lamp:nth-child(3n)::after { animation-duration: 6.7s; animation-delay: -4.5s; }
.lamp.amber { --lamp: #ffb82d; --beam: #ffa02555; }
.lamp.magenta { --lamp: #ff58ba; --beam: #e341a14b; }
.lamp.blue { --lamp: #5aafff; --beam: #4da3ff50; }
.lamp.red { --lamp: #ff5638; --beam: #ed3c334d; }
.amp.is-eleven .lamp { filter: brightness(var(--bulb-brightness, 1.5)); }
@keyframes light-cycle { 0%, 36%, 62%, 100% { opacity: .18; } 12%, 30%, 50%, 82% { opacity: 1; } }
@keyframes beam-sweep { from { transform: translateX(-50%) rotate(-14deg); } to { transform: translateX(-50%) rotate(14deg); } }
.stage-effects { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.fog-wing { position: absolute; bottom: -2%; width: 85%; height: 26%; opacity: calc(var(--fog-density, 0) * .65); transition: opacity 3.5s ease-out; }
.stage.is-playing .fog-wing { transition-duration: 4.5s; transition-timing-function: ease-in; }
.fog-left { left: -34%; }
.fog-right { right: -34%; transform: scaleX(-1); }
.fog-wing i { position: absolute; bottom: -30%; left: -12%; width: 70%; height: 110%; border-radius: 50%; background: radial-gradient(ellipse at 52% 60%, #f8f3e7bd 0, #d9d4c8a3 33%, #aab0ae52 57%, transparent 78%); filter: blur(16px); animation: fog-enter 12s ease-in-out infinite alternate; }
.fog-wing i:nth-child(2) { left: 20%; bottom: -35%; width: 76%; animation-delay: -4s; animation-duration: 15s; }
.fog-wing i:nth-child(3) { left: 50%; bottom: -42%; width: 62%; animation-delay: -8s; animation-duration: 18s; }
@keyframes fog-enter { from { transform: translateX(-27%) scale(.83, .7); } to { transform: translateX(30%) scale(1.2, 1.1); } }
.pyro-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .2s, visibility 0s .2s; }
.stage.pyro-on .pyro-canvas { visibility: visible; opacity: 1; transition: opacity .2s; }
.amp-panel { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(210px, .8fr); gap: clamp(.5rem, 2vw, 1.5rem); min-height: 0; padding: clamp(1.15rem, 3vh, 1.5rem) clamp(1rem, 3vw, 2rem) clamp(.8rem, 3vh, 1.4rem); border-bottom: 8px solid #a47540; background: repeating-linear-gradient(94deg, #392720 0 3px, #422c23 4px 8px, #31221d 9px 12px); }
.amp-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 20%, #ffb43522 43%, transparent 53%, #bb355a26 71%, transparent 82%); background-size: 200% 100%; opacity: 0; }
.stage.is-playing .amp-panel::before { opacity: 1; animation: panel-sweep 9s ease-in-out infinite alternate; }
@keyframes panel-sweep { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.amp-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 0; }
.eyebrow { margin: 0; color: #efb964; font: 700 clamp(.55rem, 1vw, .75rem) system-ui, sans-serif; text-transform: uppercase; letter-spacing: .16em; }
h1 { margin: .15rem 0; font-size: clamp(2.8rem, min(9vw, 12vh), 6.2rem); line-height: .84; text-transform: uppercase; letter-spacing: -.04em; text-shadow: .06em .07em #650719; white-space: nowrap; }
h1 span { display: block; color: #ffbc25; }
@keyframes roll-in { from { opacity: 0; transform: translateY(.35em) rotate(-1deg); } to { opacity: 1; transform: none; } }
.jack-row { display: flex; align-items: center; gap: .8rem; margin-top: clamp(.8rem, 3vh, 1.7rem); }
.input-jack { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border: 4px ridge #bd985e; border-radius: 50%; background: #090807; box-shadow: 0 0 0 2px #1e140f; flex: none; cursor: pointer; }
.amp.is-eleven .input-jack { translate: var(--jack-x, 0px) var(--jack-y, 0px); filter: blur(var(--jack-blur, 0px)) drop-shadow(0 0 5px #ffa74e); }
.input-jack span { width: .55rem; height: .55rem; border-radius: 50%; background: #010101; box-shadow: 0 0 0 3px #574238; }
.file-picker, button { cursor: pointer; border: 2px solid #ffdb87; background: #d99019; color: #250f0b; padding: .45rem .75rem; font: inherit; text-transform: uppercase; letter-spacing: .05em; box-shadow: .17rem .18rem 0 #6f1021; white-space: nowrap; }
.file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-picker:focus-within { outline: 3px solid #fff2b3; outline-offset: 3px; }
.file-name { font: 500 clamp(.7rem, 1.5vw, .88rem) system-ui, sans-serif; color: #f1bd75; margin: .5rem 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 100%; }
.controls { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; }
button:disabled { opacity: .48; cursor: not-allowed; }
button:not(:disabled):hover, .file-picker:hover { filter: brightness(1.18); }
.warning { font: 500 clamp(.68rem, 1.3vw, .82rem) system-ui, sans-serif; color: #ffb0a1; margin: .6rem 0 0; }
.cabinet { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; padding: .4rem; border: 2px ridge #b08852; background: linear-gradient(140deg, #201512, #100d0b); box-shadow: inset 0 0 1.5rem #000; }
.knob-label { color: #ffcf80; font-size: clamp(.9rem, 2vw, 1.25rem); text-transform: uppercase; letter-spacing: .08em; }
.dial-ring { position: relative; flex: none; width: min(26vh, 21vw, 220px); aspect-ratio: 1; margin: .35rem auto; border-radius: 50%; background: radial-gradient(circle, transparent 0 41%, #4a2b23 42% 43%, transparent 44%); }
.dial { position: absolute; inset: 18%; border-radius: 50%; cursor: grab; touch-action: none; outline: none; filter: drop-shadow(.3rem .5rem .35rem #000); }
.dial:active { cursor: grabbing; }
.dial:focus-visible { outline: 3px solid #ffe591; outline-offset: 6px; }
.dial-face { position: relative; width: 100%; height: 100%; border: 4px solid #ae9166; border-radius: 50%; background: repeating-conic-gradient(#3a302e 0deg 3deg, #181315 4deg 8deg); box-shadow: inset 0 0 0 .55rem #2b2222, inset 0 0 1.2rem 1.2rem #050304, 0 0 0 3px #141012; transform: rotate(var(--angle, -135deg)); }
.dial-face::after { content: ''; position: absolute; top: 6%; left: 50%; width: 8px; height: 32%; transform: translateX(-50%); border-radius: 6px; background: linear-gradient(90deg, #a13b19, #ffcc4a, #a13b19); box-shadow: 0 0 7px #ff981c; }
.dial-number { position: absolute; top: calc(50% + var(--y)); left: calc(50% + var(--x)); min-width: 1.7rem; min-height: 1.7rem; padding: .1rem; border: 0; box-shadow: none; background: transparent; color: #d4ad71; font: inherit; font-size: clamp(.7rem, min(1.4vw, 2vh), 1.05rem); line-height: 1; transform: translate(-50%, -50%); cursor: pointer; }
.dial-number:hover, .dial-number:focus-visible { color: #fff0bc; background: #6b301c; border-radius: 50%; outline: 2px solid #ffcf80; }
.dial-number:last-child { color: #ffbd2b; font-size: 1.3em; text-shadow: 0 0 9px #fa4600; }
.meter { text-align: center; }
output { display: block; color: #ffb00e; font-size: clamp(1.6rem, 4vh, 2.7rem); line-height: 1; text-shadow: .08em .08em #6a001d; }
.mode-readout { font: 600 clamp(.65rem, 1.2vw, .85rem) system-ui, sans-serif; margin: .15rem 0 0; color: #e9b877; }
#more-eleven { margin: .45rem 0 0; padding: .3rem .65rem; border-color: #ffc65d; background: #972818; color: #fff0cc; font-size: clamp(.68rem, 1.2vw, .9rem); box-shadow: 0 0 12px #c52b3680; }
#more-eleven[hidden] { display: none; }
#more-eleven[aria-pressed="true"] { background: #ffb936; color: #220d08; box-shadow: 0 0 20px #ff6b2b; }
.stage.more-eleven .amp { box-shadow: inset 0 0 0 2px #ffb049, 0 0 0 2px #3b0808, 0 0 32px #ff551eae, 0 18px 60px #0009; }
.stage.more-eleven .cabinet { border-color: #ffbd5b; box-shadow: inset 0 0 2rem #70210c, 0 0 22px #fc50256b; }
.stage.more-eleven output { color: #fff1a6; text-shadow: 0 0 18px #ff6623, .08em .08em #6a001d; }
.dial-hint { font: .65rem system-ui, sans-serif; color: #ae8b72; margin: .3rem 0 0; }
.speaker-grill { position: relative; min-height: 0; overflow: hidden; background: repeating-linear-gradient(45deg, #0009 0 2px, transparent 2px 5px), repeating-linear-gradient(-45deg, #0008 0 2px, transparent 2px 5px), #2d2925; border-top: 2px solid #20150e; }
.speaker-cone { position: absolute; width: min(26vw, 24vh); aspect-ratio: 1; border-radius: 50%; top: -20%; left: 15%; border: 14px ridge #151515; background: radial-gradient(circle, #111 0 22%, #202020 23% 37%, #070707 39% 65%, #252525 67% 70%, #0a0a0a 71%); opacity: .7; box-shadow: 0 0 0 3px #080808; }
.speaker-cone.second { left: auto; right: 15%; }
.amp.is-eleven .speaker-cone { scale: var(--speaker-scale, 1); }
.amp-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; width: min(76%, 25rem); min-height: 4rem; padding: .4rem .6rem; border: 2px solid #b48a4a; background: #1f1712; color: #e9bc73; font-size: clamp(.8rem, 2vw, 1.4rem); letter-spacing: .08em; text-align: center; box-shadow: 0 3px 15px #000; }
.badge-message { display: block; min-height: 2.5em; margin-top: .3rem; color: #f0d8b4; font: 500 clamp(.62rem, 1.1vw, .78rem)/1.25 system-ui, sans-serif; letter-spacing: 0; text-wrap: balance; }
.badge-message[hidden] { display: none; }
.badge-message.rolling-in { animation: roll-in .38s ease-out; }
.cable { position: absolute; right: -2rem; bottom: -3rem; width: 8rem; height: 8rem; border: 10px solid #060606; border-radius: 50%; }
.fine-print { margin: 0; padding: .3rem .7rem; color: #b69976; background: #130b09; font: .6rem/1.2 system-ui, sans-serif; text-align: center; }
.amp.is-eleven { translate: var(--cab-x, 0px) var(--cab-y, 0px); }
.amp.is-eleven :is(h1, p, button, output, .knob-label, .file-picker) { translate: var(--text-x, 0px) var(--text-y, 0px); filter: blur(var(--text-blur, 0px)); }
@media (prefers-reduced-motion: reduce) { .amp.is-eleven, .amp.is-eleven :is(h1, p, button, output, .knob-label, .file-picker), .amp.is-eleven .input-jack { translate: none; filter: none; } .stage-lights i, .stage.is-playing .amp-panel::before, .stage.is-playing .lamp, .lamp::after, .fog-wing i, .badge-message.rolling-in { animation: none; } .pyro-canvas { display: none; } .stage-lights, .fog-wing { transition: none; } }
@media (max-width: 650px) {
  .stage { width: calc(100vw - 2rem); }
  .amp { grid-template-rows: minmax(0, 1fr) minmax(0, .19fr) auto; }
  .amp-panel { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: .2rem; padding: 1.15rem .9rem .6rem; }
  .amp-copy { align-items: center; text-align: center; }
  h1 { font-size: clamp(2.5rem, min(13vw, 6.3vh), 4rem); }
  .input-jack { width: 2rem; height: 2rem; }
  .jack-row { margin-top: clamp(.65rem, 2vh, 1rem); }
  .file-picker, button { font-size: .8rem; padding: .35rem .5rem; }
  .file-name { margin: .2rem 0; }
  .controls { margin-top: .3rem; justify-content: center; }
  .warning { margin: .25rem 0; font-size: .65rem; }
  .cabinet { border: 0; border-top: 2px solid #b08852; padding: .15rem; }
  .dial-ring { width: min(24vh, 45vw, 188px); margin: .1rem auto; }
  .dial-number { font-size: .76rem; }
  .knob-label { font-size: .9rem; }
  .dial-hint { font-size: .55rem; }
  .speaker-cone { width: 28vw; top: -40%; }
  .fine-print { font-size: .5rem; }
}
@media (max-height: 560px) and (min-width: 651px) { h1 { font-size: clamp(2.5rem, 10vh, 4.5rem); } .dial-ring { width: min(24vh, 18vw); } .amp-panel { padding-top: 1.15rem; padding-bottom: .5rem; } }
@media (max-width: 650px) and (max-height: 620px) { .amp { grid-template-rows: minmax(0, 1fr) minmax(76px, .16fr) auto; } .amp-panel { padding-top: 1.1rem; padding-bottom: .25rem; } .dial-ring { width: min(15vh, 30vw); } #more-eleven { margin-top: .2rem; padding: .2rem .5rem; } .dial-hint { margin-top: 0; } .speaker-cone { top: -60%; } }
