@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #171916;
  --paper: #f6f3eb;
  --acid: #f2ff61;
  --acid-strong: #dfff00;
  --coral: #ff6b57;
  --lilac: #b9a7ff;
  --blue: #6fd5ff;
  --muted: #6f7069;
  --line: rgba(23, 25, 22, 0.18);
  --shadow: 0 18px 55px rgba(34, 31, 22, 0.12);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 25, 22, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 25, 22, 0.034) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, textarea, input { font: inherit; }
button { color: inherit; }
button:focus-visible, textarea:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.ambient-one { width: 38vw; height: 38vw; top: -21vw; right: -10vw; background: rgba(242, 255, 97, .7); }
.ambient-two { width: 31vw; height: 31vw; bottom: -20vw; left: -14vw; background: rgba(185, 167, 255, .26); }

.topbar {
  width: min(1180px, calc(100% - 40px));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 800; letter-spacing: -.035em; }
.brand-mark { position: relative; width: 37px; height: 32px; display: grid; place-items: center; border-radius: 46% 46% 44% 44%; color: var(--paper); background: var(--ink); font-family: "DM Mono", monospace; transform: rotate(-3deg); }
.brand-mark i { position: absolute; width: 11px; height: 11px; top: -4px; border-radius: 2px 9px 2px 5px; background: var(--ink); transform: rotate(45deg); }
.brand-mark i:first-child { left: 3px; }
.brand-mark i:nth-child(2) { right: 3px; transform: rotate(45deg) scaleX(-1); }
.brand-mark b { position: relative; font-size: 17px; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.sound-button, .tiny-link { border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.48); cursor: pointer; }
.sound-button { height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px 0 10px; font: 500 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .04em; }
.sound-button > span:first-child { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--acid); font-size: 13px; font-weight: 700; }
.sound-off { display: none !important; }
.sound-button[aria-pressed="false"] .sound-on { display: none !important; }
.sound-button[aria-pressed="false"] .sound-off { display: grid !important; }
.tiny-link { padding: 10px 15px; font-size: 12px; font-weight: 700; }

.app-shell { width: min(1180px, calc(100% - 40px)); min-height: calc(100vh - 162px); margin: 0 auto; display: grid; }
.screen { align-self: center; width: 100%; padding: 34px 0 80px; }
.hidden { display: none !important; }
.hero-copy { max-width: 790px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: #51534c; font: 500 11px "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 9px; border-radius: 999px; background: var(--acid-strong); border: 1px solid var(--ink); }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(49px, 7vw, 92px); line-height: .94; letter-spacing: -.075em; font-weight: 800; }
h1 em { color: transparent; -webkit-text-stroke: 1.5px var(--ink); font-style: normal; }
.hero-subtitle { margin-bottom: 34px; max-width: 530px; color: var(--muted); font-size: 18px; line-height: 1.6; }

.creator-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr); gap: 30px; align-items: stretch; }
.compose-card, .result-card, .letter-card, .gotcha-card { border: 1.5px solid var(--ink); background: rgba(255,255,255,.75); box-shadow: 8px 8px 0 var(--ink); }
.compose-card { padding: clamp(24px, 4vw, 40px); border-radius: 28px; }
.step-row { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.step-number { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--ink); color: var(--acid); font: 500 11px "DM Mono", monospace; }
.step-label, label, .label-like { font-size: 12px; font-weight: 800; letter-spacing: .015em; text-transform: uppercase; }
label { display: block; margin-bottom: 9px; }
label span { color: var(--muted); font-weight: 500; text-transform: none; }
.textarea-wrap { position: relative; margin-bottom: 18px; }
textarea, input { width: 100%; color: var(--ink); border: 1.4px solid var(--ink); background: #fffdf7; transition: box-shadow .2s, transform .2s; }
textarea { resize: vertical; min-height: 128px; padding: 18px 19px 36px; border-radius: 16px; font-size: 17px; line-height: 1.55; }
textarea::placeholder, input::placeholder { color: #a2a198; }
textarea:focus, input:focus { box-shadow: 4px 4px 0 var(--acid-strong); transform: translate(-2px, -2px); }
.textarea-wrap > span { position: absolute; right: 15px; bottom: 11px; color: var(--muted); font: 400 10px "DM Mono", monospace; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
input { height: 48px; padding: 0 14px; border-radius: 12px; }
.tone-field { min-width: 0; }
.label-like { display: block; margin-bottom: 9px; }
.tone-picker { display: flex; gap: 7px; }
.tone { flex: 1; height: 48px; padding: 0 9px; border: 1.4px solid var(--ink); border-radius: 12px; background: #fffdf7; cursor: pointer; font-size: 12px; font-weight: 700; }
.tone.active { background: var(--lilac); box-shadow: 3px 3px 0 var(--ink); transform: translate(-2px,-2px); }
.form-error { min-height: 20px; margin: 12px 0 4px; color: #b72f20; font-size: 12px; font-weight: 700; }
.primary-button, .secondary-button { min-height: 58px; border: 1.5px solid var(--ink); border-radius: 14px; cursor: pointer; font-weight: 800; transition: transform .18s, box-shadow .18s, background .18s; }
.primary-button { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 21px; background: var(--acid); box-shadow: 5px 5px 0 var(--ink); }
.primary-button b { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; color: var(--paper); background: var(--ink); font-size: 17px; }
.primary-button:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); background: var(--acid-strong); }
.primary-button:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--ink); }
.secondary-button { width: 100%; padding: 0 20px; background: #fffdf7; }
.secondary-button:hover { background: var(--lilac); }
.quota-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 20px; }
.quota-copy { display: flex; flex-direction: column; font-size: 12px; font-weight: 700; }
.quota-copy small { margin-top: 2px; color: var(--muted); font: 400 9px "DM Mono", monospace; text-transform: uppercase; }
.quota-dots { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; max-width: 120px; }
.quota-dots i { width: 10px; height: 10px; display: block; border: 1px solid var(--ink); border-radius: 50%; background: var(--acid); }
.quota-dots i.used { background: transparent; opacity: .38; }

.seko-stage { position: relative; min-height: 500px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 30px 20px 19px; border: 1.5px solid var(--ink); border-radius: 28px; background: var(--lilac); box-shadow: 8px 8px 0 var(--ink); }
.seko-stage::before { content: ""; position: absolute; width: 380px; height: 380px; left: 50%; bottom: 60px; transform: translateX(-50%); border: 1px solid rgba(23,25,22,.24); border-radius: 50%; }
.seko-stage::after { content: ""; position: absolute; width: 260px; height: 260px; left: 50%; bottom: 120px; transform: translateX(-50%); border: 1px solid rgba(23,25,22,.18); border-radius: 50%; }
.speech-bubble { position: absolute; z-index: 5; top: 26px; right: 22px; padding: 13px 16px; border: 1.5px solid var(--ink); border-radius: 15px 15px 3px 15px; background: #fffdf7; box-shadow: 3px 3px 0 var(--ink); font-size: 13px; line-height: 1.35; transform: rotate(2deg); }
.spark { position: absolute; z-index: 2; font-family: "DM Mono", monospace; }
.spark-a { top: 90px; left: 36px; font-size: 30px; animation: spin 4s linear infinite; }
.spark-b { top: 148px; right: 35px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--acid); border: 1px solid var(--ink); font-size: 26px; line-height: 0; }
.seko-art { display: block; object-fit: contain; filter: drop-shadow(0 14px 0 rgba(23,25,22,.12)); }
.creator-seko-art { position: relative; z-index: 4; width: min(390px, 100%); margin: 42px auto -1px; transform-origin: center bottom; animation: float 3.2s ease-in-out infinite; }
.creator-seko-art.seko-sweet { animation-duration: 2.2s; filter: drop-shadow(0 14px 0 rgba(242,255,97,.28)); }
.seko { position: relative; z-index: 4; width: 270px; height: 305px; transform-origin: center bottom; animation: float 3.2s ease-in-out infinite; }
.seko-head { position: absolute; left: 29px; top: 28px; width: 212px; height: 218px; border: 2px solid var(--ink); border-radius: 47% 47% 43% 43%; background: var(--ink); box-shadow: inset 0 -10px rgba(255,255,255,.03); }
.ear { position: absolute; z-index: 0; top: 10px; width: 78px; height: 84px; overflow: hidden; border: 2px solid var(--ink); background: var(--ink); }
.ear span { position: absolute; width: 38px; height: 40px; bottom: 10px; background: var(--coral); opacity: .8; }
.ear-left { left: 29px; border-radius: 12px 70px 8px 58px; transform: rotate(-18deg); }
.ear-left span { left: 14px; border-radius: 8px 32px 4px 28px; }
.ear-right { right: 29px; border-radius: 70px 12px 58px 8px; transform: rotate(18deg); }
.ear-right span { right: 14px; border-radius: 32px 8px 28px 4px; }
.eye { position: absolute; top: 91px; width: 35px; height: 14px; border-radius: 50%; background: var(--acid); transition: all .25s; }
.eye::after { content: ""; position: absolute; top: 1px; width: 7px; height: 12px; border-radius: 50%; background: var(--ink); }
.eye-left { left: 39px; transform: rotate(8deg); }
.eye-left::after { right: 8px; }
.eye-right { right: 39px; transform: rotate(-8deg); }
.eye-right::after { left: 8px; }
.seko-nose { position: absolute; left: 50%; top: 128px; width: 13px; height: 10px; transform: translateX(-50%) rotate(45deg); border-radius: 4px 6px 4px 6px; background: var(--coral); }
.seko-mouth { position: absolute; left: 50%; top: 145px; width: 31px; height: 17px; transform: translateX(-50%); border-bottom: 2px solid #fffdf7; border-radius: 0 0 50% 50%; }
.whisker { position: absolute; top: 144px; width: 42px; height: 1px; background: #fffdf7; opacity: .85; }
.whisker-l1 { left: -5px; transform: rotate(8deg); }.whisker-l2 { left: -2px; top: 158px; transform: rotate(-7deg); }
.whisker-r1 { right: -5px; transform: rotate(-8deg); }.whisker-r2 { right: -2px; top: 158px; transform: rotate(7deg); }
.hand { position: absolute; z-index: 6; top: 217px; width: 92px; height: 76px; border: 2px solid var(--ink); border-radius: 48% 48% 43% 43%; background: #fffdf7; }
.hand-left { left: 15px; transform: rotate(13deg); }.hand-right { right: 15px; transform: rotate(-13deg); }
.hand i { position: absolute; top: 10px; width: 1px; height: 23px; background: var(--ink); opacity: .42; }
.hand i:first-child { left: 34px; transform: rotate(-8deg); }.hand i:nth-child(2) { right: 34px; transform: rotate(8deg); }
.seko-sweet .eye { height: 18px; border-radius: 50% 50% 10% 10%; transform: translateY(3px); }
.seko-sweet .seko-mouth { width: 22px; height: 15px; border-bottom-color: var(--coral); }
.seko-tag { position: relative; z-index: 5; width: 100%; display: flex; align-items: baseline; justify-content: space-between; margin: 0; padding: 13px 4px 0; border-top: 1px solid rgba(23,25,22,.35); font: 500 11px "DM Mono", monospace; letter-spacing: .12em; }
.seko-tag span { color: rgba(23,25,22,.65); font-size: 9px; letter-spacing: 0; }

.ready-screen { max-width: 760px; margin: auto; }
.result-card { padding: clamp(28px, 6vw, 62px); border-radius: 32px; text-align: center; }
.result-card .eyebrow { justify-content: center; }
.result-card h1 { font-size: clamp(48px, 7vw, 78px); }
.result-card > p { color: var(--muted); }
.success-stamp { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 28px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--acid); box-shadow: 4px 4px 0 var(--ink); font-size: 28px; font-weight: 800; transform: rotate(-6deg); }
.link-box { display: flex; align-items: center; gap: 10px; margin: 30px 0 16px; padding: 9px 9px 9px 17px; border: 1.4px solid var(--ink); border-radius: 14px; background: #fffdf7; text-align: left; }
.link-box span { min-width: 0; flex: 1; overflow: hidden; color: var(--muted); font: 400 11px "DM Mono", monospace; white-space: nowrap; text-overflow: ellipsis; }
.link-box button { border: 0; border-radius: 9px; padding: 10px 14px; color: var(--paper); background: var(--ink); cursor: pointer; font-size: 12px; font-weight: 700; }
.share-actions { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
.text-button { margin: 24px auto 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; color: var(--muted); font-size: 12px; font-weight: 700; }
.privacy-note { margin: 30px 0 0 !important; padding-top: 19px; border-top: 1px solid var(--line); font: 400 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .05em; }

.recipient-screen, .opening-screen { max-width: 830px; margin: auto; }
.recipient-wrap { display: flex; flex-direction: column; align-items: center; }
.recipient-meta { margin-bottom: 22px; color: var(--muted); font: 500 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }
.lock-dot { color: var(--acid-strong); -webkit-text-stroke: 1px var(--ink); margin-right: 8px; }
.letter-card { position: relative; width: 100%; min-height: 430px; overflow: hidden; padding: clamp(44px, 7vw, 76px); border-radius: 10px 10px 30px 30px; transform: rotate(-.45deg); }
.letter-card::before { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(23,25,22,.13); pointer-events: none; }
.letter-fold { position: absolute; z-index: 0; top: -215px; left: 50%; width: 620px; height: 360px; border: 1.5px solid var(--ink); background: var(--lilac); transform: translateX(-50%) rotate(45deg); }
.letter-heading, .letter-greeting, .letter-card h1, .letter-signoff { position: relative; z-index: 2; }
.letter-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 58px; padding-bottom: 15px; border-bottom: 1px solid var(--line); font: 500 10px "DM Mono", monospace; letter-spacing: .12em; }
.letter-heading b { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--acid); font-size: 16px; }
.letter-greeting { margin-bottom: 13px; color: var(--muted); font: 500 13px "DM Mono", monospace; }
.letter-card h1 { max-width: 680px; margin: 0; font-size: clamp(35px, 6vw, 62px); line-height: 1.06; letter-spacing: -.055em; overflow-wrap: anywhere; }
.letter-signoff { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font: 500 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }
.message-seal { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 400 9px "DM Mono", monospace; text-transform: uppercase; }
.message-seal i { display: block; width: 18px; height: 18px; border-radius: 50% 50% 45% 45%; background: var(--ink); box-shadow: 9px 0 0 -4px var(--acid); }
.reveal-button { max-width: 330px; margin-top: 35px; }
.reveal-button:disabled { cursor: wait; opacity: .58; transform: none; box-shadow: 5px 5px 0 var(--ink); }
.tiny-warning { margin: 17px 0 0; color: var(--muted); font: 400 10px "DM Mono", monospace; }

.opening-wrap { min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.mini-seko { position: relative; width: 166px; height: 172px; margin-bottom: 35px; animation: nervous .4s ease-in-out infinite alternate; }
.mini-head { position: absolute; z-index: 2; left: 20px; top: 24px; width: 126px; height: 125px; border-radius: 48% 48% 44% 44%; background: var(--ink); }
.mini-head i { position: absolute; top: 54px; width: 25px; height: 8px; border-radius: 50%; background: var(--acid); }
.mini-head i:first-child { left: 25px; }.mini-head i:nth-child(2) { right: 25px; }
.mini-head b { position: absolute; left: 50%; bottom: 35px; width: 18px; height: 9px; transform: translateX(-50%); border-bottom: 2px solid white; border-radius: 50%; }
.mini-ear { position: absolute; z-index: 1; top: 12px; width: 48px; height: 55px; background: var(--ink); }
.mini-ear.left { left: 19px; border-radius: 7px 42px 5px 35px; transform: rotate(-17deg); }.mini-ear.right { right: 19px; border-radius: 42px 7px 35px 5px; transform: rotate(17deg); }
.mini-hand { position: absolute; z-index: 3; bottom: 5px; width: 54px; height: 44px; border: 1.5px solid var(--ink); border-radius: 50%; background: #fffdf7; }
.mini-hand.left { left: 12px; transform: rotate(10deg); }.mini-hand.right { right: 12px; transform: rotate(-10deg); }
.opening-kicker { margin-bottom: 25px; font-size: 18px; font-weight: 800; }
.loading-track { width: min(360px, 75vw); height: 13px; overflow: hidden; border: 1.4px solid var(--ink); border-radius: 999px; background: #fffdf7; box-shadow: 3px 3px 0 var(--ink); }
.loading-track span { display: block; width: 0; height: 100%; background: var(--acid-strong); transition: width .4s ease; }
.opening-warning { min-height: 20px; margin-top: 23px; color: var(--coral); font: 500 11px "DM Mono", monospace; opacity: 0; transform: translateY(6px); transition: .3s; }
.opening-warning.show { opacity: 1; transform: translateY(0); }

.screen-enter { animation: screenIn .35s ease both; }
.secrets-screen, .gotcha-screen { position: relative; min-height: calc(100vh - 162px); display: grid; place-items: center; overflow: hidden; }
.secrets-only-wrap { width: min(940px, 100%); text-align: center; }
.secrets-only-wrap .eyebrow { justify-content: center; }
.secrets-only-wrap h1 { margin-bottom: 0; font-size: clamp(55px, 8vw, 102px); }
.secret-pile { position: relative; min-height: 460px; margin: -25px auto 0; }
.secret-word { position: absolute; z-index: 7; display: block; padding: 11px 17px; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); font: 500 clamp(29px, 5vw, 60px) "DM Mono", monospace; letter-spacing: -.05em; opacity: 1; }
.secrets-screen.screen-enter .secret-word { animation: secretPop .5s cubic-bezier(.2,1.5,.5,1) both; }
.secrets-screen.screen-enter .secret-two { animation-delay: .08s; }
.secrets-screen.screen-enter .secret-three { animation-delay: .16s; }
.secrets-screen.screen-enter .secret-four { animation-delay: .24s; }
.secrets-screen.screen-enter .secret-five { animation-delay: .32s; }
.secret-one { left: 7%; top: 13%; background: var(--acid); transform: rotate(-9deg); }
.secret-two { right: 7%; top: 19%; background: var(--coral); transform: rotate(8deg); }
.secret-three { left: 31%; top: 39%; background: #fffdf7; transform: rotate(4deg); }
.secret-four { right: 10%; top: 61%; background: var(--blue); transform: rotate(-7deg); }
.secret-five { left: 10%; top: 67%; background: var(--lilac); transform: rotate(2deg); }
.secret-caption { margin: -35px 0 0; color: var(--muted); font: 500 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }

.gotcha-screen { background: radial-gradient(circle at center, var(--acid) 0 24%, transparent 24.2%), transparent; }
.gotcha-burst { position: absolute; width: min(780px, 90vw); aspect-ratio: 1; border-radius: 50%; background: repeating-conic-gradient(from 3deg, rgba(242,255,97,.86) 0deg 9deg, transparent 9deg 18deg); animation: burstSpin 14s linear infinite; }
.gotcha-wrap { position: relative; z-index: 2; width: min(980px, 100%); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; }
.gotcha-seko-art { width: min(520px, 100%); animation: clownJump .72s cubic-bezier(.2,1.5,.4,1) both, float 2.5s .75s ease-in-out infinite; }
.gotcha-copy { margin-left: -25px; transform: rotate(-2deg); }
.gotcha-stamp { display: inline-block; padding: 7px 11px; border: 1.5px solid var(--ink); background: var(--coral); box-shadow: 3px 3px 0 var(--ink); font: 500 11px "DM Mono", monospace; letter-spacing: .1em; }
.gotcha-copy h1 { margin: 4px 0 12px; font-size: clamp(82px, 12vw, 175px); line-height: .84; letter-spacing: -.085em; text-shadow: 8px 8px 0 var(--lilac); }
.gotcha-copy p { margin: 0; color: var(--muted); font-size: 17px; font-weight: 700; }

.leaderboard-screen { max-width: 980px; margin: auto; }
.score-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: end; margin-bottom: 30px; }
.score-heading h1 { margin: 0; font-size: clamp(48px, 7vw, 78px); }
.seko-id-chip { display: inline-block; margin-top: 14px; padding: 7px 11px; border: 1px solid var(--ink); border-radius: 999px; background: var(--acid); font: 600 10px "DM Mono", monospace; letter-spacing: .06em; }
.score-heading > p { color: var(--muted); line-height: 1.7; }
.score-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.score-strip article { min-height: 145px; display: flex; flex-direction: column; justify-content: center; padding: 22px; border: 1.5px solid var(--ink); border-radius: 20px; background: #fffdf7; box-shadow: 5px 5px 0 var(--ink); }
.score-strip article:first-child { background: var(--coral); }.score-strip article:nth-child(2) { background: var(--acid); }.score-strip .rank-stat { background: var(--lilac); }
.score-strip span, .score-strip small { font: 500 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .07em; }
.score-strip strong { margin: 4px 0 2px; font-size: 45px; line-height: 1; letter-spacing: -.05em; }
.score-strip small { color: rgba(23,25,22,.64); font-size: 8px; }
.boards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.board-card { overflow: hidden; border: 1.5px solid var(--ink); border-radius: 23px; background: rgba(255,255,255,.78); box-shadow: 6px 6px 0 var(--ink); }
.board-title { display: flex; align-items: center; gap: 13px; padding: 20px 22px 17px; border-bottom: 1px solid var(--line); }
.board-title > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--acid); font: 500 10px "DM Mono", monospace; }
.board-title h2 { margin: 0; font-size: 20px; letter-spacing: -.035em; }.board-title p { margin: 2px 0 0; color: var(--muted); font: 400 9px "DM Mono", monospace; text-transform: uppercase; }
.ranking-list { margin: 0; padding: 8px 18px 14px; list-style: none; }
.ranking-list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; min-height: 43px; border-bottom: 1px solid var(--line); }
.ranking-list li:last-child { border-bottom: 0; }
.ranking-list span { color: var(--muted); font: 500 9px "DM Mono", monospace; }.ranking-list strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.ranking-list b { min-width: 31px; text-align: right; font: 500 14px "DM Mono", monospace; }
.fooled-board .board-title { background: rgba(255,107,87,.16); }.tricked-board .board-title { background: rgba(242,255,97,.35); }
.final-actions { display: grid; grid-template-columns: 1.2fr .8fr; gap: 13px; margin-top: 26px; }
.confetti span { position: fixed; z-index: 3; top: -20px; width: 9px; height: 15px; border: 1px solid var(--ink); animation: confettiFall var(--duration) linear var(--delay) forwards; transform: translateX(var(--x)) rotate(var(--r)); }

.modal-backdrop { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(23,25,22,.68); backdrop-filter: blur(8px); }
.score-share-modal { position: relative; width: min(900px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 34px; border: 1.5px solid var(--ink); border-radius: 28px; background: var(--paper); box-shadow: 9px 9px 0 var(--acid); text-align: center; }
.score-share-modal h2 { margin: 12px 0 6px; font-size: clamp(27px, 4vw, 39px); letter-spacing: -.045em; }
.score-share-modal > p { margin: 0 auto 19px; color: var(--muted); font-size: 13px; }
.score-share-modal > small { display: block; margin-top: 15px; color: var(--muted); font: 400 9px/1.5 "DM Mono", monospace; text-transform: uppercase; letter-spacing: .05em; }
.share-card-badge { display: inline-block; padding: 6px 9px; background: var(--ink); color: var(--acid); font: 500 9px "DM Mono", monospace; letter-spacing: .09em; }
.score-card-frame { min-height: 360px; display: grid; place-items: center; padding: 15px; border: 1.5px solid var(--ink); border-radius: 21px; background: rgba(255,255,255,.66); }
.score-card-frame > span { color: var(--muted); font: 500 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }
.score-card-frame img { display: block; width: min(430px, 100%); max-height: 50vh; object-fit: contain; border: 1px solid var(--line); box-shadow: 0 13px 30px rgba(23,25,22,.14); }
.score-share-actions { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; margin-top: 17px; }
.score-share-actions button:disabled { cursor: wait; opacity: .48; }
.ad-modal { position: relative; width: min(470px, 100%); padding: 38px; border: 1.5px solid var(--ink); border-radius: 28px; background: var(--paper); box-shadow: 9px 9px 0 var(--acid); text-align: center; }
.modal-close { position: absolute; top: 13px; right: 13px; width: 32px; height: 32px; border: 1px solid var(--ink); border-radius: 50%; background: white; cursor: pointer; font-size: 20px; line-height: 1; }
.ad-badge { display: inline-block; margin-bottom: 24px; padding: 6px 9px; background: var(--ink); color: var(--acid); font: 500 9px "DM Mono", monospace; letter-spacing: .09em; }
.ad-art { width: 145px; height: 145px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto 25px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--lilac); box-shadow: 6px 6px 0 var(--ink); transform: rotate(-4deg); }
.ad-art span { font-size: 59px; font-weight: 800; line-height: .85; }.ad-art i { font: 500 9px "DM Mono", monospace; }
.ad-modal h2 { margin-bottom: 9px; font-size: 31px; letter-spacing: -.04em; }
.ad-modal > p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.ad-modal > small { display: block; margin-top: 18px; color: var(--muted); font: 400 9px/1.5 "DM Mono", monospace; }

.toast { position: fixed; z-index: 40; left: 50%; bottom: 28px; padding: 11px 16px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--paper); background: var(--ink); box-shadow: 4px 4px 0 var(--acid); font: 500 11px "DM Mono", monospace; opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
footer { width: min(1180px, calc(100% - 40px)); min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 auto; border-top: 1px solid var(--line); color: var(--muted); font: 400 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .04em; }

@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nervous { from { transform: translateX(-2px) rotate(-1deg); } to { transform: translateX(2px) rotate(1deg); } }
@keyframes secretPop { from { opacity: 0; scale: .4; filter: blur(5px); } to { opacity: 1; scale: 1; filter: blur(0); } }
@keyframes screenIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes clownJump { from { opacity: 0; transform: translateY(120px) scale(.45) rotate(-14deg); } to { opacity: 1; transform: translateY(0) scale(1) rotate(0); } }
@keyframes burstSpin { to { transform: rotate(360deg); } }
@keyframes confettiFall { to { top: 110vh; transform: translateX(calc(var(--x) + var(--drift))) rotate(calc(var(--r) + 540deg)); } }

@media (max-width: 900px) {
  .creator-grid { grid-template-columns: 1fr; }
  .seko-stage { min-height: 430px; }
  .creator-seko-art { width: min(360px, 90%); margin-bottom: -12px; }
  .gotcha-wrap { grid-template-columns: 1fr; text-align: center; }
  .gotcha-seko-art { width: min(390px, 78vw); margin: 0 auto -40px; }
  .gotcha-copy { margin: 0; }
  .score-heading { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { background-size: 32px 32px; }
  .topbar { width: calc(100% - 28px); height: 76px; }
  .brand { font-size: 14px; }.brand-mark { width: 32px; height: 28px; }
  .sound-label { display: none; }.sound-button { width: 38px; padding: 0; justify-content: center; }
  .app-shell { width: calc(100% - 28px); min-height: calc(100vh - 136px); }
  .screen { padding: 22px 0 55px; }
  h1 { letter-spacing: -.06em; }
  .hero-subtitle { margin-bottom: 25px; font-size: 15px; }
  .creator-grid { gap: 20px; }
  .compose-card { border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); }
  .field-row { grid-template-columns: 1fr; }
  .seko-stage { min-height: 390px; border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); }
  .creator-seko-art { width: 315px; margin: 48px auto -5px; }
  .speech-bubble { top: 21px; right: 17px; }
  .result-card { border-radius: 24px; box-shadow: 5px 5px 0 var(--ink); }
  .share-actions { grid-template-columns: 1fr; }
  .letter-card { min-height: 410px; padding: 34px 27px; border-radius: 8px 8px 24px 24px; box-shadow: 5px 5px 0 var(--ink); }
  .letter-fold { top: -235px; width: 520px; }
  .letter-heading { margin-bottom: 52px; }
  .letter-card h1 { font-size: clamp(33px, 10vw, 49px); }
  .letter-signoff { align-items: flex-start; flex-direction: column; margin-top: 38px; }
  .secrets-only-wrap h1 { font-size: 54px; }
  .secret-pile { width: 100%; min-height: 390px; margin-top: 0; }
  .secret-word { font-size: clamp(22px, 9vw, 36px); padding: 9px 11px; box-shadow: 4px 4px 0 var(--ink); }
  .secret-one { left: 1%; top: 12%; }.secret-two { right: 1%; top: 24%; }.secret-three { left: 19%; top: 44%; }.secret-four { right: 0; top: 66%; }.secret-five { left: 2%; top: 73%; }
  .secret-caption { margin-top: -28px; }
  .gotcha-seko-art { margin-top: -15px; }
  .gotcha-copy h1 { font-size: 84px; text-shadow: 5px 5px 0 var(--lilac); }
  .score-heading { gap: 8px; }.score-heading h1 { font-size: 50px; }
  .score-strip { grid-template-columns: 1fr 1fr; }.score-strip .rank-stat { grid-column: 1 / -1; min-height: 115px; }
  .boards-grid { grid-template-columns: 1fr; }
  .final-actions { grid-template-columns: 1fr; }
  .score-share-modal { padding: 31px 17px 23px; }
  .score-card-frame { min-height: 260px; padding: 10px; }
  .score-card-frame img { max-height: 46vh; }
  .score-share-actions { grid-template-columns: 1fr; }
  footer { width: calc(100% - 28px); min-height: 60px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
  .ad-modal { padding: 34px 23px 27px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
