@layer ui-sdk;

:root {
  color-scheme: dark;
  --ink: #101512;
  --paper: #f4f3e9;
  --acid: #caff73;
  --muted: #9ba49b;
  font-family: 'Space Mono', monospace;
  color: var(--paper);
  background: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--acid); outline-offset: 7px; }
[hidden] { display: none !important; }
.page { max-width: 1600px; margin: auto; padding: 0 52px; overflow: hidden; }
.site-header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #354037; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 700; letter-spacing: -.5px; }
.brand-star { font: 38px Arial, sans-serif; color: var(--acid); }
.header-right { display: flex; align-items: center; gap: 35px; }
.pair-label { color: #b1bab0; font-size: 10px; letter-spacing: 1px; }
.pair-label span { color: var(--acid); margin: 0 9px; }
.sound-control { display: flex; align-items: center; gap: 12px; background: transparent; border: 1px solid #465047; border-radius: 30px; padding: 10px 16px; font-size: 10px; letter-spacing: .7px; }
.sound-bars { display: flex; height: 15px; align-items: center; gap: 3px; }
.sound-bars i { width: 2px; height: 5px; background: var(--muted); }
.sound-bars i:nth-child(2) { height: 13px; }
.sound-bars i:nth-child(3) { height: 9px; }
[data-pressed] .sound-bars i { background: var(--acid); }
.title-block { text-align: center; padding-top: 39px; position: relative; z-index: 2; }
.eyebrow { font-size: 9px; letter-spacing: 2.7px; color: #b8c1b8; margin: 0 0 9px; }
h1 { font-family: 'Barlow Condensed', Impact, sans-serif; font-size: clamp(62px, 8.8vw, 128px); font-weight: 800; font-style: italic; line-height: .99; letter-spacing: -2px; margin: 0; }
h1 span { color: var(--acid); }
h1 sup { font: 13px 'Space Mono', monospace; display: inline-block; vertical-align: top; margin: 11px 0 0 10px; }
.tagline { font-size: 13px; margin: 17px 0 0; color: #b4bdb3; }
.tagline strong { color: var(--paper); font-weight: 400; }
.engine-stage { height: 488px; max-width: 1120px; position: relative; margin: 0 auto; isolation: isolate; }
.engine-stage::before { content: ''; position: absolute; inset: 8% 25% -10%; border-radius: 50%; background: radial-gradient(ellipse, #38463340 0%, transparent 68%); z-index: -2; }
.engine-assembly { position: absolute; left: 50%; top: 20px; width: 290px; height: 440px; transform: translateX(-50%) rotate(-7deg); }
#engine-button { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; padding: 0; border-radius: 30%; z-index: 3; touch-action: manipulation; transition: filter .2s, transform .2s; }
#engine-button:hover { filter: drop-shadow(0 0 15px #caff7326); transform: translateY(-5px); }
.engine-image { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(12px 18px 10px #0006); user-select: none; pointer-events: none; }
.orbit { position: absolute; left: 50%; top: 57%; width: 660px; height: 180px; border: 1px solid #374438; border-radius: 50%; z-index: -1; pointer-events: none; }
.orbit-one { transform: translate(-50%, -50%) rotate(-24deg); }
.orbit-two { width: 700px; height: 205px; transform: translate(-50%, -50%) rotate(24deg); border-style: dashed; opacity: .5; }
.star-field span { position: absolute; color: #98aa89; font-size: 18px; }
.star-field span:nth-child(1) { left: 12%; top: 7%; }
.star-field span:nth-child(2) { left: 31%; top: 19%; font-size: 29px; }
.star-field span:nth-child(3) { right: 18%; top: 11%; font-size: 10px; }
.star-field span:nth-child(4) { right: 6%; bottom: 25%; color: var(--acid); }
.star-field span:nth-child(5) { left: 22%; bottom: 15%; font-size: 35px; }
.star-field span:nth-child(6) { right: 31%; bottom: 19%; }
.star-field span:nth-child(7) { right: 30%; top: 5%; font-size: 30px; }
.skeptic { position: absolute; left: 6%; top: 90px; transform: rotate(-6deg); z-index: 4; }
.skeptic-bubble { background: var(--paper); color: #171c17; padding: 22px 24px 20px; border: 3px solid #131813; border-radius: 50% 45% 43% 49% / 33% 44% 40% 38%; font: italic 700 26px/.98 'Barlow Condensed', Impact, sans-serif; text-align: center; box-shadow: 3px 4px 0 #f4f3e949; position: relative; }
.skeptic-bubble::after { content: ''; position: absolute; width: 19px; height: 25px; bottom: -17px; right: 36px; background: var(--paper); clip-path: polygon(0 0,100% 0,100% 100%); transform: rotate(-15deg); }
.skeptic p { color: var(--muted); font-size: 9px; margin: 16px 0 0 7px; }
.skeptic p span { font-size: 23px; padding-left: 10px; }
.reply { position: absolute; right: 5%; top: 193px; transform: rotate(7deg); }
.reply-intro { color: var(--muted); font-size: 10px; }
.reply-word { font: italic 800 70px/.98 'Barlow Condensed', Impact, sans-serif; color: var(--acid); letter-spacing: -2px; }
.reply-word span { display: block; font: 60px/1 Arial, sans-serif; position: absolute; left: -15px; top: 78px; transform: rotate(20deg); }
.reply-small { font-size: 9px; display: block; margin-top: 9px; color: var(--muted); }
.engine-caption { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 8px; letter-spacing: 1.5px; white-space: nowrap; }
.status-light { width: 5px; height: 5px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 8px #caff7333; }
.exhaust { position: absolute; top: 89%; left: 50%; width: 180px; height: 180px; transform: translateX(-50%) scaleY(.2); transform-origin: center top; opacity: 0; z-index: 2; filter: blur(2px); pointer-events: none; background: linear-gradient(#fff9cb, #d9ff83 20%, #79eac5 48%, transparent 95%); clip-path: polygon(0 0,100% 0,75% 53%,60% 75%,50% 100%,37% 72%,19% 47%); }
.exhaust-core { position: absolute; inset: 0 32% 20%; background: #fffefa; filter: blur(5px); clip-path: polygon(0 0,100% 0,50% 100%); }
[data-firing="true"] .engine-assembly { animation: engine-shake .09s linear infinite; }
[data-firing="true"] .exhaust { opacity: 1; animation: plume .15s ease-in-out infinite alternate; }
[data-firing="true"] .engine-caption { color: var(--acid); }
[data-firing="true"] .reply { opacity: .18; }
.clouds { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.whoop-cloud { position: absolute; left: 59%; top: 24%; background: #fffef7; color: #151a15; border: 3px solid #151a15; border-radius: 43% 48% 42% 45% / 45% 40% 48% 44%; box-shadow: 5px 5px 0 #0007; padding: 21px 23px; min-width: 135px; font: italic 800 36px/.9 'Barlow Condensed', Impact, sans-serif; text-align: center; transform: rotate(8deg); animation: cloud-pop .82s ease-out both; }
.whoop-cloud::after { content: ''; position: absolute; bottom: -14px; left: 24px; width: 23px; height: 24px; background: #fffef7; clip-path: polygon(0 0,100% 0,0 100%); }
.whoop-cloud:nth-child(2) { top: 54%; left: 23%; transform: rotate(-10deg); font-size: 30px; }
.whoop-cloud:nth-child(3) { top: 43%; left: 60%; font-size: 35px; max-width: 230px; }
.launch-controls { position: relative; z-index: 7; text-align: center; padding: 17px 0 33px; }
.launch-button { background: var(--acid); color: #11190a; padding: 15px 27px; border: 1px solid var(--acid); border-radius: 5px; font: 700 12px 'Space Mono', monospace; letter-spacing: .8px; box-shadow: 0 4px 0 #607d39; transition: transform .15s, box-shadow .15s; }
.launch-button span { margin-left: 25px; font-size: 20px; vertical-align: middle; }
.launch-button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #607d39; }
.launch-button:active { transform: translateY(3px); box-shadow: 0 1px 0 #607d39; }
#engine-hint { margin: 18px 0 0; color: #a9b2a6; font-size: 9px; }
#engine-hint span { margin: 0 8px; color: #8e998d; }
kbd { font: 8px 'Space Mono', monospace; border: 1px solid #51604c; padding: 3px 7px; border-radius: 3px; color: #d8dfd1; }
.counter { color: #98a393; font-size: 8px; letter-spacing: 1px; margin: 24px 0 0; }
.counter span { color: var(--acid); font-size: 12px; padding-right: 9px; }
.launch-deck { position: relative; display: grid; grid-template-columns: minmax(0, 300px) minmax(240px, 1fr) minmax(0, 300px); align-items: end; gap: 24px; margin-top: -130px; padding-bottom: 60px; pointer-events: none; }
.launch-deck .launch-button, .launch-deck .tweet-card { pointer-events: auto; }
.launch-deck .launch-controls { padding-top: 147px; padding-bottom: 0; }
.tweet-card { position: relative; z-index: 8; min-width: 0; height: 266px; padding: 13px; border: 1px solid #465047; border-radius: 14px; background: #171f19; transform: translateY(36px); }
.tweet-heading { display: flex; justify-content: space-between; align-items: center; padding: 0 1px 11px; font-size: 8px; letter-spacing: 1.5px; color: #b8c4b1; }
.tweet-heading a { color: var(--acid); font-size: 13px; letter-spacing: 0; padding: 2px 3px; }
.tweet-viewport { height: 211px; overflow: auto; scrollbar-width: thin; scrollbar-color: #51604c #171f19; border-radius: 10px; }
.tweet-viewport .twitter-tweet { margin: 0 auto !important; }
blockquote.twitter-tweet { padding: 17px 14px; border: 1px solid #3d4a3e; border-radius: 11px; background: #101512; font-size: 11px; line-height: 1.7; }
blockquote.twitter-tweet p { margin: 0 0 14px; }
blockquote.twitter-tweet a { display: block; font-size: 9px; color: var(--acid); text-decoration: underline; text-underline-offset: 3px; }
.tweet-attribution { display: block; color: #b4bfae; font-size: 9px; margin-bottom: 5px; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 77px; border-top: 1px solid #354037; }
footer p { font-size: 8px; letter-spacing: 1px; margin: 0; color: #c1cabd; }
footer p span { color: #8e998a; }
.reference-link { background: none; border: 0; padding: 10px 0; font-size: 9px; color: #b9c3b4; }
.reference-link span { margin-left: 12px; color: var(--acid); }
ui-dialog-backdrop { position: fixed; inset: 0; background: #020603c9; backdrop-filter: blur(6px); z-index: 100; }
.meme-modal { position: fixed; inset: 0; margin: auto; width: min(580px, calc(100% - 32px)); height: fit-content; max-height: calc(100dvh - 40px); overflow: auto; background: var(--paper); color: #182116; padding: 28px; border: 2px solid #111; border-radius: 12px; z-index: 101; box-shadow: 10px 10px 0 #caff73; }
.meme-modal::backdrop { background: #020603c9; backdrop-filter: blur(6px); }
.modal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.modal-top span { font-size: 10px; letter-spacing: 2px; }
.close-button { border: 1px solid #111; border-radius: 20px; padding: 8px 12px; color: #111; background: transparent; font-size: 10px; line-height: 1; }
ui-dialog-title { display: block; font: 800 40px/1 'Barlow Condensed', Impact, sans-serif; }
ui-dialog-description { display: block; font-size: 11px; margin: 12px 0 18px; }
.meme-modal p { font-size: 12px; line-height: 1.7; color: #34412c; letter-spacing: 0; margin: 13px 0; }
.reference-image { width: 100%; height: auto; max-height: 250px; object-fit: contain; background: white; border: 1px solid #c7c9bb; }
.source-links { display: grid; gap: 12px; margin-top: 20px; font-size: 11px; }
.source-links a { text-decoration: underline; text-underline-offset: 4px; }
.meme-modal :focus-visible { outline-color: #355113; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@keyframes engine-shake { 0%,100% { transform: translateX(-50%) rotate(-7deg); } 50% { transform: translateX(calc(-50% + 2px)) translateY(-2px) rotate(-6.5deg); } }
@keyframes plume { from { transform: translateX(-50%) scaleY(.75); } to { transform: translateX(-50%) scaleY(1.1); } }
@keyframes cloud-pop { 0% { opacity: 0; scale: .5; translate: -15px 20px; } 18%,72% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1.08; translate: 8px -30px; } }
@media (min-width: 1450px) { .engine-stage { height: 530px; } .engine-assembly { top: 28px; height: 470px; width: 313px; } .title-block { padding-top: 50px; } }
@media (min-width: 901px) and (max-height: 850px) {
  .site-header { min-height: 67px; }
  .title-block { padding-top: 23px; }
  h1 { font-size: 86px; }
  .eyebrow { margin-bottom: 6px; font-size: 8px; }
  .tagline { margin-top: 10px; font-size: 11px; }
  .engine-stage { height: 339px; }
  .engine-assembly { top: 12px; width: 206px; height: 309px; }
  .skeptic { top: 57px; left: 13%; }
  .skeptic-bubble { font-size: 23px; padding: 18px 21px; }
  .reply { top: 130px; right: 11%; }
  .reply-word { font-size: 60px; }
  .reply-word span { top: 68px; }
  .orbit { width: 540px; height: 145px; }
  .orbit-two { width: 580px; height: 170px; }
  .launch-controls { padding: 13px 0 22px; }
  .launch-button { padding: 10px 24px; }
  #engine-hint { margin-top: 13px; }
  .counter { margin-top: 17px; }
  footer { min-height: 57px; }
  .exhaust { width: 125px; height: 130px; }
}
@media (max-width: 900px) {
  .page { padding: 0 25px; }
  h1 { font-size: clamp(60px, 11vw, 100px); }
  .engine-stage { height: 490px; }
  .engine-assembly { top: 35px; height: 420px; width: 280px; }
  .skeptic { left: 0; top: 74px; }
  .skeptic-bubble { font-size: 20px; padding: 19px; }
  .skeptic p { font-size: 7px; }
  .reply { right: 0; top: 235px; }
  .reply-word { font-size: 51px; }
  .reply-small { font-size: 7px; }
  .reply-word span { top: 60px; font-size: 45px; }
}
@media (max-width: 1100px) {
  .launch-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; gap: 22px; padding-bottom: 24px; }
  .tweet-card { transform: none; }
  .launch-deck .launch-controls { grid-column: 1 / -1; grid-row: 1; padding: 12px 0 5px; }
  .tweet-left { grid-column: 1; grid-row: 2; }
  .tweet-right { grid-column: 2; grid-row: 2; }
}
@media (max-width: 600px) {
  .page { padding: 0 20px; }
  .site-header { min-height: 74px; }
  .wordmark { font-size: 10px; gap: 7px; }
  .brand-star { font-size: 28px; }
  .pair-label { display: none; }
  .sound-control { padding: 9px 11px; font-size: 8px; gap: 9px; }
  .title-block { padding-top: 32px; }
  .eyebrow { font-size: 7px; letter-spacing: 1px; }
  h1 { font-size: 14vw; letter-spacing: -1px; white-space: nowrap; }
  h1 sup { font-size: 8px; margin: 5px 0 0 3px; }
  .tagline { font-size: 11px; margin-top: 13px; }
  .engine-stage { height: 440px; margin: 0 -10px; }
  .engine-assembly { top: 80px; width: 215px; height: 323px; }
  .skeptic { top: 25px; left: 2px; }
  .skeptic-bubble { font-size: 17px; padding: 14px 16px; border-width: 2px; }
  .skeptic p { font-size: 6px; margin-top: 21px; }
  .skeptic p span { padding-left: 0; font-size: 14px; }
  .reply { top: 225px; right: -3px; }
  .reply-intro { font-size: 7px; }
  .reply-word { font-size: 39px; }
  .reply-small { font-size: 6px; }
  .reply-word span { font-size: 34px; top: 54px; }
  .orbit { width: 380px; height: 130px; top: 62%; }
  .orbit-two { width: 410px; }
  .star-field span:nth-child(2) { left: 68%; top: 10%; }
  .star-field span:nth-child(1) { left: 45%; top: 3%; font-size: 10px; }
  .whoop-cloud { left: 52%; top: 20%; font-size: 26px; min-width: 100px; padding: 16px; }
  .whoop-cloud:nth-child(2) { left: 2%; top: 61%; font-size: 24px; }
  .whoop-cloud:nth-child(3) { left: 50%; top: 48%; font-size: 25px; max-width: 165px; }
  .exhaust { width: 135px; height: 150px; }
  .launch-controls { padding-top: 12px; padding-bottom: 27px; }
  .launch-button { padding: 14px 25px; }
  .launch-deck { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 26px; }
  .launch-deck .launch-controls { padding-bottom: 9px; }
  .tweet-left, .tweet-right { grid-column: 1; }
  .tweet-right { grid-row: 3; }
  .tweet-card { height: 292px; }
  .tweet-viewport { height: 237px; }
  footer { min-height: 84px; flex-direction: column; justify-content: center; gap: 5px; }
  footer p { font-size: 7px; }
  .counter { font-size: 7px; letter-spacing: .5px; }
  .meme-modal { padding: 20px; }
  ui-dialog-title { font-size: 33px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  [data-firing="true"] .engine-assembly { animation: none; }
  [data-firing="true"] .exhaust { animation: none; transform: translateX(-50%) scaleY(.8); }
  .whoop-cloud { animation: none; }
}
