@font-face {
  font-family: Inter;
  src: url("assets/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #11141a;
  --white: #fff;
  --surface: #f7f9fc;
  --muted: #5e6470;
  --line: #e0e3e9;
  --dark-line: #303741;
  --blue: #96b8ef;
  --page-gutter: max(32px, calc((100vw - 1168px) / 2));
  --display-font: var(--body-font);
  --body-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--body-font);
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
button:disabled { cursor: wait; opacity: .65; }
::selection { color: var(--white); background: #37557f; }
:focus-visible { outline: 3px solid #6490d2; outline-offset: 5px; }
.skip-link { position: absolute; z-index: 50; top: 12px; left: 16px; padding: 12px 20px; border-radius: 30px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; padding: 0 var(--page-gutter); background: var(--ink); color: var(--white); }
.brand { display: inline-flex; width: fit-content; text-decoration: none; flex-shrink: 0; }
.brand img { display: block; width: 140px; height: 36px; }
.site-header .brand img { filter: brightness(0) invert(1); }
nav { display: flex; gap: 32px; }
nav a { font-size: 14px; font-weight: 500; letter-spacing: -.02em; text-decoration: none; text-underline-offset: 5px; }
nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 15px 24px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; line-height: 1.4; letter-spacing: -.025em; font-weight: 500; background: transparent; text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button > span { width: 21px; height: 21px; border: 1px solid currentColor; border-radius: 50%; display: inline-grid; place-items: center; font-size: 15px; line-height: 1; }
.button-small { justify-self: end; border-color: #636873; min-height: 40px; padding: 9px 17px; font-size: 13px; color: var(--white); }
.button-small:hover { border-color: var(--white); background: #262c36; }
.button-small > span { width: 17px; height: 17px; font-size: 12px; }
.button-danger { border-color: #bd6f73; color: #9a353d; }
.button-danger:hover { border-color: #9a353d; background: #fff2f2; color: #812a31; }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: #3d424d; }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: #e8ecf2; }
.button-outline { border-color: #949cae; color: var(--white); }
.button-outline:hover { border-color: var(--white); background: rgb(255 255 255 / 8%); }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white); min-height: 640px; min-height: clamp(640px, calc(87svh - 84px), 820px); padding: 77px var(--page-gutter) 35px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.hero-atmosphere { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 50% 65%, rgb(78 61 133 / 9%), transparent 65%); }
.hero-atmosphere canvas { width: 100%; height: 100%; display: block; opacity: .85; }
.hero-atmosphere::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 35%, rgb(17 20 26 / 38%), transparent 65%); }
.hero-copy { width: 100%; max-width: 850px; position: relative; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: -.02em; color: #c6cedc; }
.event-dot { width: 5px; height: 5px; border-radius: 50%; background: #bba2f1; }
h1, h2 { font-family: var(--display-font); }
h1 { margin: 26px 0 23px; font-size: clamp(56px, 6.4vw, 88px); line-height: 1.05; font-weight: 300; letter-spacing: -.055em; }
h1 strong, h2 strong { font-weight: 800; }
.hero-intro { max-width: 540px; margin: 0 auto; font-size: 18px; line-height: 1.6; color: #c3c9d4; letter-spacing: -.025em; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; }
.login-hint { margin: 17px 0 0; font-size: 11px; line-height: 1.5; color: #a8b1c2; }
.hero-details { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 62px; font-size: 13px; color: #c0cad9; letter-spacing: -.02em; }
.detail-divider { width: 1px; height: 14px; background: #69788d; }
.ticker { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 87px; padding: 0 var(--page-gutter); background: var(--surface); border-bottom: 1px solid var(--line); }
.ticker div { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 18px 15px; font-size: 12px; color: #424b59; letter-spacing: -.015em; border-right: 1px solid var(--line); }
.ticker div:first-child { padding-left: 0; justify-content: flex-start; }
.ticker div:last-child { padding-right: 0; border: 0; justify-content: flex-end; }
.ticker span { font-size: 10px; color: #757e8d; font-variant-numeric: tabular-nums; }

.section { padding: 104px var(--page-gutter) 112px; }
.section-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 34px; font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: -.01em; color: var(--muted); }
.section-kicker::before { content: ""; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
h2 { margin: 0; font-size: clamp(42px, 4.4vw, 64px); font-weight: 300; line-height: 1.1; letter-spacing: -.045em; }
.brief-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.brief-copy { padding-top: 2px; }
.brief-copy .lead { font-size: 27px; line-height: 1.35; letter-spacing: -.035em; margin: 0 0 22px; font-weight: 400; }
.brief-copy > p:not(.lead) { font-size: 15px; line-height: 1.75; color: var(--muted); margin: 0; letter-spacing: -.02em; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.principles div { border-left: 1px solid #bec2cc; padding: 0 0 2px 15px; display: flex; flex-direction: column; position: relative; }
.principles div::before { content: ""; position: absolute; left: -3px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: #818a98; box-shadow: 0 3px 0 white; }
.principles span { font-size: 11px; color: #6b7380; margin-bottom: 12px; }
.principles strong { font-size: 19px; font-weight: 700; letter-spacing: -.035em; margin-bottom: 7px; }
.principles small { font-size: 12px; line-height: 1.5; color: var(--muted); }

.section-dark { color: var(--white); background: var(--ink); }
.section-dark .section-kicker { color: #aeb9ca; }
.scope-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; }
.scope-heading p { max-width: 400px; margin: 0 0 5px auto; font-size: 16px; color: #b7bfcd; line-height: 1.65; letter-spacing: -.02em; }
.scope-browser { display: grid; grid-template-columns: 29% minmax(0, 1fr); margin-top: 50px; border: 1px solid var(--dark-line); border-radius: 12px; overflow: hidden; }
.scope-tabs { display: flex; flex-direction: column; padding: 12px; border-right: 1px solid var(--dark-line); }
.scope-tabs button { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 17px; color: #b6bfcd; background: transparent; border: 0; border-radius: 7px; font-size: 14px; letter-spacing: -.02em; }
.scope-tabs button:hover { color: var(--white); background: #1c222c; }
.scope-tabs button[aria-selected="true"] { color: var(--ink); background: var(--white); font-weight: 500; }
.scope-tabs button:focus-visible { outline-offset: -3px; }
.scope-tabs button span { font-size: 11px; font-variant-numeric: tabular-nums; opacity: .75; }
.scope-panel { min-width: 0; min-height: 409px; padding: 27px 32px; display: flex; flex-direction: column; }
.scope-panel-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 22px; font-size: 9px; font-weight: 500; letter-spacing: .08em; color: #a3aec0; }
.scope-panel ol { margin: 0; padding: 0; list-style: none; counter-reset: item; flex: 1; }
.scope-panel li { counter-increment: item; display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--dark-line); padding: 22px 0; font-size: 18px; letter-spacing: -.025em; overflow-wrap: anywhere; }
.scope-panel li::before { content: counter(item, decimal-leading-zero); color: #8794a8; font-size: 10px; letter-spacing: 0; }
.scope-panel li small { margin-left: auto; flex-shrink: 0; font-size: 9px; letter-spacing: .04em; color: #91a6c6; }
.scope-note { display: flex; align-items: flex-start; gap: 12px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--dark-line); color: #a5afbe; font-size: 11px; line-height: 1.65; }
.scope-note > span { display: grid; place-items: center; width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; border: 1px solid #687385; border-radius: 50%; font-size: 10px; }
.scope-note p { margin: 0; }

.scoring-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; }
.scoring-layout > div:first-child p { max-width: 370px; margin: 25px 0 0; font-size: 15px; line-height: 1.7; color: var(--muted); letter-spacing: -.02em; }
.score-stack { border-top: 1px solid #bec2cc; }
.score-row { display: grid; grid-template-columns: 1fr auto 42px; align-items: center; gap: 18px; min-height: 104px; border-bottom: 1px solid var(--line); }
.score-name { font-size: 18px; letter-spacing: -.03em; }
.score-row strong { font-size: 49px; letter-spacing: -.05em; line-height: 1; font-weight: 300; font-variant-numeric: tabular-nums; }
.score-row.critical strong { font-weight: 800; }
.score-unit { font-size: 9px; letter-spacing: .03em; color: var(--muted); }
.score-row.fix { color: #39537a; }

/* Aggregate-only participant leaderboard. */
.leaderboard-page { min-height: 100svh; display: flex; flex-direction: column; background: var(--ink); color: white; }
.leaderboard-page main { flex: 1; }
.leaderboard-page .section { padding-top: 72px; padding-bottom: 64px; }
.leaderboard-page h1 { font-size: clamp(48px, 6vw, 78px); margin: 0; text-align: left; }
.leaderboard-page footer { border-top: 1px solid var(--dark-line); color: #aab3c3; }
.leaderboard-page footer .brand img { filter: brightness(0) invert(1); }
.leaderboard-page .skip-link { color: var(--ink); }
nav a[aria-current="page"] { color: #c7b9ef; text-decoration: underline; }
.leaderboard-home { display: inline-block; margin-top: 28px; color: #c3cbd9; font-size: 12px; text-decoration: none; }
.leaderboard-home:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.leaderboard-shortcut { display: inline-block; margin-top: 14px; color: #c7b9ef; font-size: 12px; text-decoration: none; text-underline-offset: 4px; }
.leaderboard-shortcut:hover { color: white; text-decoration: underline; }
.leaderboard-shortcut span { margin-left: 7px; }
.leaderboard-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; }
.leaderboard-heading > div { max-width: 350px; }
.leaderboard-heading p { color: #b9c3d2; font-size: 15px; line-height: 1.7; margin: 0 0 24px; }
.leaderboard-panel { margin-top: 48px; padding: 28px 32px; border: 1px solid var(--dark-line); border-top: 2px solid #a08acd; border-radius: 12px; background: #181c25; }
.leaderboard-panel-heading { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: #adb6c6; font-size: 10px; line-height: 1.6; letter-spacing: .05em; }
.leaderboard-state { padding: 42px 0 25px; color: #c3cbd9; line-height: 1.7; font-size: 15px; }
.leaderboard-state:empty { display: none; }
#leaderboard-login { margin-bottom: 18px; }
.leaderboard-standing { padding: 16px 18px; margin: 26px 0 14px; background: #292239; border: 1px solid #443750; border-radius: 8px; color: #ded1fa; font-size: 13px; line-height: 1.6; }
.leaderboard-table { width: 100%; border-collapse: collapse; margin-top: 24px; table-layout: fixed; }
.leaderboard-table th { padding: 0 16px 18px; text-align: left; color: #aab3c3; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; }
.leaderboard-table th:first-child { width: 76px; }
.leaderboard-table th:nth-last-child(-n+3) { width: 110px; text-align: right; }
.leaderboard-table td { border-top: 1px solid var(--dark-line); padding: 21px 16px; font-size: 15px; overflow-wrap: anywhere; }
.leaderboard-table td:first-child { color: #bba4ee; font-size: 20px; font-variant-numeric: tabular-nums; }
.leaderboard-table td:nth-last-child(-n+3) { text-align: right; font-variant-numeric: tabular-nums; }
.leaderboard-table td:last-child { font-size: 26px; font-weight: 600; letter-spacing: -.04em; }
.leaderboard-table tr.is-you { background: #242032; }
.leaderboard-name { font-weight: 500; line-height: 1.5; }
.leaderboard-you { display: inline-block; padding: 3px 7px; margin-left: 10px; border-radius: 4px; color: #cbb6f4; background: #39304b; font-size: 9px; font-weight: 500; vertical-align: middle; }
.leaderboard-footnote { margin: 20px 0 0; color: #aab3c3; font-size: 11px; line-height: 1.8; }

.prizes { background: var(--surface); }
.prizes-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.prizes-head p { max-width: 290px; color: var(--muted); line-height: 1.65; font-size: 16px; letter-spacing: -.02em; margin: 0 0 5px; }
.prize-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 52px; }
.prize-card { position: relative; min-height: 334px; padding: 26px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; border: 1px solid #dce1e9; border-radius: 12px; background: var(--white); }
.prize-card.first { background: #e8edf5; border-color: #d5deeb; }
.place { position: absolute; top: 24px; left: 26px; font-size: 12px; color: #5c687a; }
.prize-card h3 { position: relative; font-size: 23px; line-height: 1.3; font-weight: 700; letter-spacing: -.04em; margin: 18px 0 7px; }
.prize-card p { margin: 0; font-size: 9px; letter-spacing: .06em; color: var(--muted); }
.prize-icon { position: absolute; left: 50%; top: 43%; transform: translate(-50%, -50%); }
.mac { width: 110px; height: 110px; border-radius: 22px; background: linear-gradient(135deg, #f5f7fb, #c4cbd6 55%, #dce1e9); border: 1px solid #acb5c4; box-shadow: 0 7px 0 #aeb7c5, 0 18px 25px rgb(34 48 73 / 12%); }
.mac::after { content: ""; position: absolute; bottom: -4px; right: 19px; width: 3px; height: 3px; border-radius: 50%; background: #f4f7fc; }
.mac span { position: absolute; inset: 41%; border: 1px solid #9ba6b5; border-radius: 50%; }
.pi { width: 116px; height: 85px; border: 1px solid #717e91; border-radius: 7px; background: repeating-linear-gradient(90deg, transparent 0 12px, rgb(186 204 229 / 10%) 12px 13px), #44556f; box-shadow: 0 5px 0 #263247, 0 17px 25px rgb(34 48 73 / 12%); }
.pi::before { content: ""; position: absolute; top: 6px; left: 12px; width: 72px; height: 8px; background: repeating-linear-gradient(90deg, #b5bdca 0 3px, #263247 3px 6px); }
.pi::after { content: ""; position: absolute; right: -4px; top: 14px; width: 21px; height: 23px; background: #c9d0dc; border: 2px solid #9ba7b8; box-shadow: 0 30px 0 -1px #c9d0dc; }
.pi span { position: absolute; width: 31px; height: 31px; left: 34px; top: 32px; border: 3px solid #aab8ce; background: #233047; }
.pi i { position: absolute; left: 9px; top: 31px; width: 10px; height: 40px; border-top: 7px solid #b9c7d9; border-bottom: 7px solid #b9c7d9; }
.flipper { width: 140px; height: 72px; border: 1px solid #c3cbd7; border-radius: 14px 20px 20px 14px; background: linear-gradient(150deg, #fff, #dce2eb); box-shadow: 0 5px 0 #b9c2cf, 0 17px 25px rgb(34 48 73 / 12%); transform: translate(-50%, -50%) rotate(-8deg); }
.flipper span { position: absolute; width: 62px; height: 40px; left: 10px; top: 12px; border: 4px solid #8997ab; border-radius: 5px; background: #bacbe1; }
.flipper::after { content: "+"; position: absolute; color: #f1f4f8; background: #576983; border-radius: 50%; font-size: 24px; line-height: 29px; text-align: center; width: 30px; height: 30px; right: 14px; top: 19px; }

.cta { padding: 99px var(--page-gutter) 96px; text-align: center; color: var(--white); background: radial-gradient(ellipse at 50% 125%, #29233f, transparent 70%), var(--ink); }
.cta .section-kicker { color: #b8c3d5; justify-content: center; margin-bottom: 23px; }
.cta h2 { font-size: clamp(40px, 5vw, 70px); margin-bottom: 32px; }
.cta p { margin: 22px 0 0; color: #b9c3d2; font-size: 13px; line-height: 1.6; letter-spacing: -.015em; }
footer { min-height: 116px; display: flex; align-items: center; gap: 35px; padding: 30px var(--page-gutter); color: var(--muted); font-size: 12px; letter-spacing: -.015em; }
footer > span:last-child { margin-left: auto; }

dialog { width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 40px); border: 1px solid #e0e4eb; border-radius: 18px; padding: 0; color: var(--ink); background: var(--white); box-shadow: 0 30px 100px rgb(0 0 0 / 25%); }
dialog::backdrop { background: rgb(10 16 27 / 72%); backdrop-filter: blur(6px); }
dialog form { padding: 34px 40px 30px; }
.form-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.form-header .section-kicker { margin: 0 0 13px; font-size: 11px; }
.form-header h2 { font-size: 36px; letter-spacing: -.04em; }
.close-button { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; font-size: 22px; line-height: 1; background: var(--surface); color: var(--ink); }
.close-button:hover { background: var(--ink); color: var(--white); }
.form-progress { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; margin: 27px 0; }
.form-progress span { height: 3px; border-radius: 4px; background: #e4e8ef; }
.form-progress span.active { background: #405b85; }
.form-step { display: none; }
.form-step.active { display: block; animation: enter .2s ease; }
@keyframes enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.step-label { margin: 0 0 22px; font-size: 9px; font-weight: 500; letter-spacing: .08em; color: var(--muted); }
label { display: block; margin-bottom: 21px; position: relative; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: -.01em; }
input, textarea, select { display: block; width: 100%; min-width: 0; margin-top: 8px; border: 1px solid #ccd2dc; border-radius: 7px; padding: 12px 13px; outline: none; color: var(--ink); background: var(--white); resize: vertical; font-size: 14px; font-weight: 400; line-height: 1.5; }
textarea { padding-bottom: 26px; }
input::placeholder, textarea::placeholder { color: #727986; }
input:focus, textarea:focus, select:focus { border-color: #4c6b9a; box-shadow: 0 0 0 3px rgb(80 116 170 / 12%); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
label > small { position: absolute; right: 9px; bottom: 8px; background: var(--white); padding: 0 3px; font-size: 9px; color: #737d8c; font-weight: 400; }
.optional { float: right; padding-top: 2px; font-size: 8px; letter-spacing: .025em; color: var(--muted); }
.checkbox { display: flex; align-items: flex-start; gap: 11px; font-size: 11px; font-weight: 400; line-height: 1.6; color: #565f6d; }
.checkbox input { width: 16px; height: 16px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--ink); }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-actions .button { min-height: 46px; padding: 11px 21px; font-size: 13px; }
.text-button { border: 0; padding: 10px; color: var(--muted); background: transparent; font-size: 13px; }
.text-button:hover { color: var(--ink); }
.form-error { min-height: 21px; padding-bottom: 6px; font-size: 12px; line-height: 1.6; color: #ab303e; }
.success-state { padding: 65px 45px; text-align: center; }
.success-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 27px; border-radius: 50%; color: #315680; background: #eaf0f8; font-size: 25px; }
.success-state h2 { font-size: 48px; font-weight: 700; }
.success-state .step-label { margin-bottom: 16px; }
.success-state p:not(.step-label) { color: var(--muted); line-height: 1.7; font-size: 15px; margin: 20px auto 28px; max-width: 430px; }
.success-state strong { color: var(--ink); }

/* Linear identity and submission states. */
.auth-controls { justify-self: end; }
.signed-in-controls { display: flex; align-items: center; gap: 12px; }
.linear-icon { display: inline-block; flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(45deg, transparent 0 39%, currentColor 39% 100%), repeating-linear-gradient(45deg, currentColor 0 2px, transparent 2px 4px); }
.account-menu { position: relative; }
.account-menu summary { list-style: none; cursor: pointer; border-radius: 50%; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e8ecf5; color: #344665; font-size: 12px; font-weight: 600; letter-spacing: -.03em; }
.account-popover { position: absolute; z-index: 10; top: 47px; right: 0; min-width: 230px; max-width: 280px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); box-shadow: 0 8px 30px rgb(0 0 0 / 16%); overflow-wrap: anywhere; }
.account-popover strong, .account-popover > span { display: block; font-size: 13px; }
.account-popover > span { color: var(--muted); font-size: 11px; margin-top: 5px; }
.account-popover button { width: 100%; padding: 12px 0 0; margin-top: 15px; border: 0; border-top: 1px solid var(--line); text-align: left; background: transparent; color: var(--ink); font-size: 12px; }
.auth-notice { position: fixed; z-index: 30; bottom: 22px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); padding: 15px 22px; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 30px rgb(0 0 0 / 15%); font-size: 13px; line-height: 1.6; }
#login-dialog { width: min(550px, calc(100% - 32px)); }
.login-panel { position: relative; padding: 50px 40px 40px; text-align: center; }
.close-login { position: absolute; top: 20px; right: 20px; }
.login-symbol { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 18px; background: var(--ink); color: white; }
.login-symbol .linear-icon { width: 30px; height: 30px; }
.login-panel .section-kicker { justify-content: center; margin-bottom: 20px; font-size: 12px; }
.login-panel h2 { font-size: 39px; }
.login-panel > p:not(.section-kicker) { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 22px 0 28px; }
.login-panel .button { width: 100%; font-size: 14px; }
.login-panel > p.login-status { font-size: 12px; margin-bottom: 0; }
.reporter-card { display: flex; align-items: center; gap: 12px; padding: 15px; margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.reporter-card > div { min-width: 0; }
.reporter-card strong, .reporter-card > div > span { display: block; overflow-wrap: anywhere; font-size: 12px; }
.reporter-card > div > span { color: var(--muted); font-size: 11px; margin-top: 3px; }
.reporter-card .account-avatar { flex-shrink: 0; }
.verified-identity { margin-left: auto; white-space: nowrap; font-size: 10px; color: var(--muted); }
.destination-note { margin: 12px 0 22px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.reauth-link { display: block; margin: 2px 0 18px; font-size: 12px; line-height: 1.6; color: #34537e; }
.field-hint { display: flex; gap: 11px; margin: -6px 0 22px; padding: 12px 14px; border: 1px dashed var(--edge, #bec2cc); border-radius: 6px; font-size: 11.5px; line-height: 1.65; color: var(--slate, #3d424d); background: var(--surface); }
.field-hint-mark { flex: 0 0 auto; font-weight: 800; color: var(--accent-text, #6b4cf5); }
.field-hint strong { font-weight: 650; }
.revision-intro { margin: 18px 0 0; padding: 12px 14px; border: 1px solid #c9bdf5; border-radius: 6px; background: var(--tint, #ebe6ff); font-size: 12px; line-height: 1.6; }
.revision-intro strong { font-weight: 650; overflow-wrap: anywhere; }
.revision-only[hidden], .revision-intro[hidden] { display: none; }
.revision-history { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.revision-history h4 { margin: 0 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.revision-history ol { margin: 0; padding: 0; list-style: none; }
.revision-history li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 13px; line-height: 1.6; }
.revision-history li p { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 12.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.revision-history > p { margin: 14px 0 0; font-size: 12px; }
.attach-field { margin-bottom: 21px; }
.attach-heading { margin-bottom: 8px; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: -.01em; }
.attach-zone { display: block; position: relative; margin: 0; padding: 18px 16px; border: 1.5px dashed var(--edge, #bec2cc); border-radius: 8px; background: white; text-align: center; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.attach-zone:hover, .attach-zone.is-dragging, .attach-zone:focus-within { border-color: var(--accent, #8f6eff); background: var(--surface, #f7f9fc); }
.attach-zone.is-dragging { transform: translateY(-2px); }
.attach-zone-icon { display: grid !important; place-items: center; width: 28px; height: 28px; margin: 0 auto 7px; border: 1px solid var(--edge, #bec2cc); border-radius: 50%; color: var(--accent-text, #6b4cf5); font: 700 18px/1 var(--mono, monospace); }
.attach-zone input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; overflow: hidden; }
.attach-zone strong { display: block; font-size: 13px; font-weight: 650; }
.attach-zone strong em { color: var(--accent-text, #6b4cf5); font-style: normal; }
.attach-zone span { display: block; margin-top: 5px; font-size: 11px; font-weight: 400; color: var(--muted); }
.attach-list, .attach-existing, .attachment-gallery ul { list-style: none; margin: 10px 0 0; padding: 0; }
.attach-item, .attach-existing li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.attach-item > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.attach-item strong, .attach-existing strong { font-weight: 600; overflow-wrap: anywhere; }
.attach-existing strong { flex: 1; min-width: 0; }
.attach-item span, .attach-existing li > span:last-child { font-size: 11px; color: var(--muted); }
.attach-item.failed span { color: #ab303e; }
.attach-item .text-button { padding: 0 4px; font-size: 11px; color: var(--accent-text, #6b4cf5); }
.attach-thumb { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); object-fit: cover; font: 700 10px/1 var(--mono, monospace); color: var(--muted); }
.attach-remove { flex: 0 0 auto; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 5px; background: transparent; font-size: 16px; line-height: 1; color: var(--muted); cursor: pointer; }
.attach-remove:hover { background: var(--ink); color: white; }
.attachment-gallery { margin-top: 30px; }
.attachment-gallery h4 { margin: 0 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.attachment-gallery ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.attachment-gallery li { display: flex; flex-direction: column; gap: 6px; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.attachment-gallery a { display: block; }
.attachment-gallery img { display: block; width: 100%; height: 110px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); object-fit: cover; }
.attachment-gallery .attach-thumb { width: 100%; height: 110px; font-size: 14px; }
.receipt { display: block; margin-top: 24px; color: var(--muted); font-size: 10px; }
.success-state .close-success { display: block; margin: 12px auto 0; }

#my-submissions-dialog { width: min(720px, calc(100% - 32px)); }
.submissions-panel { padding: 36px; }
.submissions-intro, .submissions-message { color: var(--muted); font-size: 13px; line-height: 1.7; }
.submissions-intro { margin: 16px 0 28px; }
.submissions-message:empty { display: none; }
.submission-card { display: block; width: 100%; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; color: var(--ink); cursor: pointer; }
.submission-card:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.submission-card strong { display: block; margin: 9px 0; font-size: 18px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.submission-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.submission-status { display: inline-block; padding: 3px 9px; background: #efebff; color: #594483; border-radius: 20px; font-size: 10px; }
.submission-status.pending { background: #fff1d9; color: #795a25; }
.submissions-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.submission-detail h3 { font-size: 26px; font-weight: 500; line-height: 1.3; margin: 24px 0 16px; overflow-wrap: anywhere; }
.submission-detail dl { margin: 28px 0 0; }
.submission-detail dt { margin-top: 24px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.submission-detail dd { margin: 9px 0 0; font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 440px) {
  .submissions-panel { padding: 27px 20px; }
  .submission-card strong { font-size: 16px; }
}

@media (min-width: 1600px) { .hero { padding-top: 105px; } }
@media (max-width: 1000px) {
  .site-header { gap: 22px; }
  .site-header nav { gap: 18px; }
  .brief-grid, .scoring-layout, .scope-heading { gap: 45px; }
  .scope-panel { padding: 24px; }
  .scope-panel li { font-size: 16px; }
  .ticker div { font-size: 11px; padding: 17px 10px; gap: 10px; }
  .prize-grid { gap: 14px; }
  .prize-card { padding: 22px; }
  .prize-card h3 { font-size: 21px; }
}
@media (max-width: 760px) {
  :root { --page-gutter: 24px; }
  .site-header { grid-template-columns: 1fr auto; gap: 18px; height: 78px; }
  .site-header nav { display: none; }
  .leaderboard-heading { flex-direction: column; align-items: flex-start; gap: 28px; }
  .leaderboard-heading > div { max-width: 100%; }
  .leaderboard-panel { margin-top: 32px; padding: 24px 18px; }
  .hero { min-height: 616px; padding-top: 72px; }
  h1 { font-size: 70px; }
  .hero-intro { font-size: 17px; max-width: 475px; }
  .ticker { grid-template-columns: 1fr 1fr; }
  .ticker div { justify-content: flex-start !important; min-height: 60px; border-bottom: 1px solid var(--line); padding: 16px !important; font-size: 12px; }
  .ticker div:nth-child(even) { border-right: 0; }
  .ticker div:nth-last-child(-n+2) { border-bottom: 0; }
  .section { padding-top: 72px; padding-bottom: 76px; }
  .section-kicker { margin-bottom: 27px; }
  .brief-grid, .scoring-layout, .scope-heading { grid-template-columns: 1fr; gap: 34px; }
  h2 { font-size: 50px; }
  .brief-copy .lead { max-width: 590px; }
  .scope-heading p { margin: 0; max-width: 520px; }
  .scope-browser { margin-top: 36px; grid-template-columns: 1fr; }
  .scope-tabs { display: flex; flex-direction: row; gap: 6px; border-right: 0; border-bottom: 1px solid var(--dark-line); overflow-x: auto; scrollbar-width: thin; scrollbar-color: #627087 transparent; }
  .scope-tabs button { flex-shrink: 0; padding: 13px; font-size: 12px; }
  .scope-tabs button span { font-size: 9px; }
  .scope-panel { min-height: 310px; }
  .scoring-layout > div:first-child p { max-width: 550px; }
  .score-row { min-height: 91px; }
  .prizes-head { flex-direction: column; align-items: flex-start; gap: 25px; }
  .prizes-head p { max-width: 440px; }
  .prize-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 35px; }
  .prize-card { min-height: 180px; padding: 28px; }
  .place { top: 22px; left: 28px; }
  .prize-icon { left: auto; right: 40px; top: 50%; transform: translateY(-50%) scale(.8); }
  .flipper { transform: translateY(-50%) scale(.8) rotate(-8deg); right: 24px; }
  .prize-card h3 { font-size: 23px; }
  .cta { padding-top: 72px; padding-bottom: 72px; }
  footer { flex-wrap: wrap; gap: 22px; }
  footer .brand { width: 100%; }
}
@media (max-width: 440px) {
  :root { --page-gutter: 20px; }
  .brand img { width: 110px; height: auto; }
  .site-header { gap: 10px; }
  .signed-in-controls { gap: 8px; }
  .signed-in-controls .button-small { padding: 9px 11px; font-size: 11px; }
  #login-button { font-size: 11px; gap: 8px; padding: 10px 12px; }
  #login-button .linear-icon { width: 13px; height: 13px; }
  .leaderboard-table th, .leaderboard-table td { padding-left: 8px; padding-right: 8px; }
  .leaderboard-table th:first-child { width: 42px; }
  .leaderboard-table th:last-child { width: 64px; }
  .leaderboard-table th.leaderboard-submissions { width: 76px; }
  .leaderboard-table .leaderboard-findings { display: none; }
  .leaderboard-table td { font-size: 13px; }
  .leaderboard-table td:last-child { font-size: 23px; }
  .leaderboard-table th:nth-child(2) { width: auto; text-align: left; }
  .login-panel { padding: 47px 23px 30px; }
  .login-panel h2 { font-size: 31px; }
  .verified-identity { display: none; }
  .button-small { font-size: 12px; padding: 9px 13px; gap: 9px; }
  .hero { min-height: 643px; padding-top: 66px; }
  h1 { font-size: clamp(48px, 13.5vw, 60px); margin: 25px 0; }
  .eyebrow { font-size: 12px; }
  .hero-intro { max-width: 330px; font-size: 16px; }
  .hero-actions { flex-direction: column; gap: 12px; margin-top: 30px; }
  .hero-actions .button { width: 218px; min-height: 50px; font-size: 14px; }
  .hero-details { margin-top: 44px; flex-direction: column; gap: 8px; font-size: 11px; }
  .detail-divider { display: none; }
  .ticker { padding: 0 12px; }
  .ticker div { font-size: 10px; padding: 15px 8px !important; gap: 9px; }
  .ticker span { font-size: 9px; }
  h2 { font-size: 44px; }
  .brief-copy .lead { font-size: 25px; }
  .principles { gap: 12px; }
  .principles div { padding-left: 10px; }
  .principles small { font-size: 11px; }
  .scope-panel { padding: 22px 17px; }
  .scope-panel li { gap: 10px; font-size: 14px; }
  .scope-panel li small { display: none; }
  .scope-panel-head { font-size: 8px; letter-spacing: .03em; }
  .prize-card h3 { font-size: 21px; }
  .prize-icon { right: 10px; transform: translateY(-50%) scale(.68); }
  .flipper { right: -1px; transform: translateY(-50%) scale(.68) rotate(-8deg); }
  .cta h2 { font-size: 43px; }
  dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; }
  dialog form { padding: 27px 20px 24px; }
  .form-header h2 { font-size: 30px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  input, textarea, select { font-size: 16px; }
  .success-state { padding: 50px 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* The hackathon poster: one expressive opening, then a compact participant hub. */
.playful {
  --ink: #191a21;
  --slate: #424650;
  --muted: #656a76;
  --edge: #cdd0d8;
  --line: #e4e5eb;
  --surface: #f7f8fa;
  --surface-2: #eceef3;
  --accent: #496b88;
  --accent-text: #385a77;
  --tint: #e7edf1;
  --tint-strong: #c8d5df;
  --poster: #dce5eb;
  --paper: #ffffff;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  background: var(--paper);
  color: var(--ink);
}
.playful ::selection { background: var(--tint-strong); color: var(--ink); }
.playful :focus-visible { outline: 3px solid var(--accent-text); outline-offset: 4px; }
.playful { min-height: 100vh; display: flex; flex-direction: column; }
.playful main { flex: 1 1 auto; min-width: 0; }
body.playful > main#top { display: flex; min-width: 0; }
body.playful > main#top .hero { flex: 1 1 auto; min-width: 0; width: 100%; }
.playful .site-header { position: sticky; top: 0; z-index: 20; background: #f1f3f4; color: var(--ink); border-bottom: 1px solid #dce1e4; height: clamp(72px, 6.1vw, 88px); gap: clamp(18px, 2vw, 28px); }
.playful .event-brand { display: inline-flex; flex-direction: row; align-items: center; gap: 13px; min-width: 0; }
.playful .site-header .event-brand-mark { width: 32px; height: 32px; filter: brightness(0); }
.event-brand-copy { display: flex; flex-direction: column; gap: 6px; }
.event-brand-name { font-size: 18px; line-height: 1.15; font-weight: 650; letter-spacing: -.045em; white-space: nowrap; }
.event-brand-name > span { font-weight: 450; }
.event-brand-name { font-family: var(--display-font); letter-spacing: -.02em; }
.event-brand small { font: 9px/1.4 var(--mono); letter-spacing: .07em; color: var(--muted); }
.playful nav { gap: 26px; }
.playful nav a { font-weight: 500; font-size: 14px; color: #242a32; letter-spacing: .005em; }
.playful nav a:hover, .playful nav a[aria-current="page"] { color: var(--accent-text); text-decoration-thickness: 1px; }
.playful nav a[aria-current="page"] { color: var(--accent-text); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.playful .button { border: 1px solid transparent; border-radius: 8px; font-weight: 550; min-height: 50px; box-shadow: none; transition: background .16s, border-color .16s, transform .16s; }
.playful .button:hover { transform: translateY(-1px); }
.playful .button:active { transform: translateY(0); }
.playful .button > span { border: 0; font-size: 18px; }
.playful .button-small { min-height: 40px; font-size: 12px; }
.playful .button-small, .playful .button-primary, .playful .button-light { background: var(--ink); color: white; }
.playful .button-small:hover, .playful .button-primary:hover, .playful .button-light:hover { background: var(--slate); }
.playful .button-outline { background: transparent; border-color: var(--edge); color: var(--ink); }
.playful .button-outline:hover { background: white; border-color: #9398a5; }
.playful .button:disabled { transform: none; }
.playful .account-avatar { color: #245f9b; background: var(--tint); border: 1px solid var(--tint-strong); border-radius: 50%; }
.playful .account-popover { background: white; border: 1px solid var(--line); box-shadow: 0 8px 30px #17191f12; }
.playful .account-popover button:hover { color: var(--accent-text); }
.playful .hero { display: block; min-height: 0; padding-top: 32px; padding-bottom: 0; color: var(--ink); background: var(--poster); }
.hero-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 36px; }
.hero-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.playful .hero-copy { max-width: none; text-align: left; }
.playful .eyebrow, .event-date { font: 500 13px/1.6 var(--body-font); letter-spacing: -.01em; color: #3f6687; }
.playful .event-date { display: inline-flex; align-items: center; padding: 7px 12px; border: 1px solid #b8ccdc; border-radius: 999px; background: #fff; color: #1f3d56; font-weight: 700; }
.playful .eyebrow { gap: 9px; padding: 0; border: 0; }
.playful .event-dot { display: inline-block; flex-shrink: 0; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.playful h1, .playful h2 { font-weight: 550; letter-spacing: -.03em; }
.playful h1 strong, .playful h2 strong { font-weight: inherit; }
.playful .hero h1 { font-size: clamp(60px, 6.2vw, 88px); font-weight: 650; line-height: 1.01; margin: 0 0 25px; letter-spacing: -.045em; }
.playful .hero-intro { max-width: 440px; margin: 0; color: #34546f; font-size: 18px; line-height: 1.65; letter-spacing: .005em; }
.playful .hero-actions { justify-content: flex-start; gap: 12px; margin-top: 29px; }
.playful .hero-actions .button { padding-inline: 20px; font-size: 13px; }
.playful .hero-actions .button-light { min-height: 54px; padding-inline: 24px; font-size: 15px; font-weight: 650; }
.playful .hero .button-outline { border-color: #8db1d0; }
.playful .hero .button-outline:hover { border-color: #477ba8; background: #ffffff40; }
.playful .login-hint { color: #53728d; font-size: 11px; margin-top: 15px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.playful .leaderboard-shortcut, .playful .rules-shortcut { display: inline-block; margin-top: 17px; color: #315b7d; font-size: 12px; font-weight: 500; text-decoration: none; text-underline-offset: 4px; }
.playful .leaderboard-shortcut:hover, .playful .rules-shortcut:hover { color: var(--accent-text); text-decoration: underline; }
.playful .leaderboard-shortcut span, .playful .rules-shortcut span { margin-left: 6px; color: var(--accent-text); }
.hero-playground { position: relative; min-width: 0; padding: 25px 22px 32px; pointer-events: none; }
.bug-orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 420px; margin: auto; background: #f1f3f4; border-radius: 50%; transform: rotate(5deg); }
.bug-orbit::before { content: ""; position: absolute; inset: -17px; border: 1px solid #8588c855; border-radius: 50%; }
.bug-orbit canvas { position: relative; display: block; width: 100%; height: 100%; }
.orbit-cross { position: absolute; z-index: 1; color: #686ab0; font: 300 26px/1 Inter, sans-serif; }
.orbit-cross-top { top: -23px; left: calc(50% - 8px); }
.orbit-cross-bottom { bottom: 11px; right: 36px; }
.bug-note { position: absolute; bottom: 10px; left: 12px; padding: 13px 19px; border: 1px solid #c7dced; border-radius: 12px 12px 12px 2px; background: #fff; transform: rotate(-5deg); color: #29445e; font: 500 14px/1.3 var(--mono); letter-spacing: -.02em; }
.bug-note span { display: block; margin-top: 4px; color: #736280; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.bug-note-lgtm { top: 38px; right: 4px; bottom: auto; left: auto; padding: 9px 13px; border-radius: 3px 12px 12px 12px; background: #dff0cf; border-color: #c6dfb2; color: #38582d; font: 600 12px/1 var(--mono); letter-spacing: .06em; transform: rotate(6deg); }
.bug-note-interesting { top: 8px; bottom: auto; left: -8px; padding: 9px 13px; border-radius: 12px 12px 2px 12px; color: #426887; font-size: 12px; transform: rotate(-6deg); }
.playful .hero-details { justify-content: space-between; color: #53728d; border-top: 1px solid #bdd2e4; margin-top: 42px; padding: 20px 0; font-size: 12px; line-height: 1.6; letter-spacing: -.01em; }
.playful .hero-details > span { display: inline-flex; align-items: center; gap: 10px; }
.playful .hero-details .detail-divider { display: none; }
.playful .section { padding-top: 68px; padding-bottom: 72px; }
.playful .section-kicker { font: 500 12px/1.6 Inter, sans-serif; letter-spacing: -.01em; color: var(--muted); margin-bottom: 30px; }
.playful .section-kicker::before { display: none; }
.playful h2 { font-size: clamp(35px, 3.3vw, 46px); line-height: 1.12; }
.playful .brief { padding-top: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.playful .brief-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.playful .brief h2 { font-size: 25px; letter-spacing: -.04em; line-height: 1.25; margin-bottom: 13px; }
.playful .brief-copy > p { max-width: 390px; font-size: 13px; line-height: 1.7; }
.brief-rules { display: inline-block; margin-top: 14px; color: var(--accent-text); font-size: 12px; font-weight: 500; text-underline-offset: 4px; }
.playful .principles { gap: 26px; margin-top: 0; }
.playful .principles div { border: 0; border-left: 1px solid var(--line); padding: 0 0 0 18px; background: transparent; }
.playful .principles div::before { display: none; }
.playful .principles span { font: 10px var(--mono); color: var(--accent-text); margin-bottom: 12px; }
.playful .principles strong { font-weight: 550; font-size: 18px; }
.playful .principles small { color: var(--muted); font-size: 12px; line-height: 1.55; }
.playful .scope { background: white; color: var(--ink); }
.playful .scope-heading { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.playful .scope-heading p { color: var(--muted); font-size: 14px; }
.playful .scope-browser { border: 1px solid var(--line); border-radius: 10px; box-shadow: none; background: white; color: var(--ink); grid-template-columns: 26% minmax(0, 1fr); margin-top: 32px; }
.playful .scope-tabs { background: #f7f6fa; border-color: var(--line); padding: 10px; }
.playful .scope-tabs button { color: var(--slate); font-weight: 450; border-radius: 6px; padding-block: 14px; }
.playful .scope-tabs button:hover { color: var(--ink); background: #eeebf3; }
.playful .scope-tabs button[aria-selected="true"] { color: white; background: var(--ink); font-weight: 550; }
.playful .scope-tabs button:focus-visible { outline: 2px solid #8bb4d5; outline-offset: -3px; }
.playful .scope-panel { min-height: 365px; }
.playful .scope-panel-head { color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: 0; }
.playful .scope-counter { font: 9px var(--mono); align-self: center; }
.playful .scope-panel li, .playful .scope-note { border-color: var(--line); }
.playful .scope-panel li { font-size: 17px; }
.playful .scope-panel li a { min-width: 0; color: inherit; text-decoration: none; text-underline-offset: 4px; overflow-wrap: anywhere; }
.playful .scope-panel li a:hover { color: var(--accent-text); text-decoration: underline; }
.playful .scope-panel li::before { color: #857592; font-family: var(--mono); }
.playful .scope-panel li small { padding: 4px 0 4px 7px; font-size: 8px; }
.playful .scope-panel li .scope-ref { margin-left: auto; color: var(--muted); font: 10px var(--mono); }
.playful .scope-panel li .scope-status { margin-left: 0; color: var(--accent-text); }
.playful .scope-note { color: var(--muted); }
.playful .scope-note > span { color: var(--accent-text); border-color: #9bbbd7; }
.playful .scoring { background: var(--ink); color: white; padding-top: 50px; padding-bottom: 40px; }
.playful .scoring-layout { display: block; }
.playful .scoring-heading { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.playful .scoring-layout > div:first-child p { max-width: none; margin: 0; font-size: 13px; line-height: 1.7; color: #bfc0cb; }
.playful .score-stack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 34px; border: 0; border-radius: 0; overflow: hidden; }
.playful .score-row { grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; row-gap: 13px; border: 0; border-left: 1px solid #45434f; padding: 0 30px; min-height: 95px; background: transparent; }
.playful .score-row:first-child { border: 0; padding-left: 0; }
.playful .score-row.critical, .playful .score-row.fix { color: #c9afea; }
.playful .score-row strong { grid-column: 1; font-weight: 500; font-size: 58px; letter-spacing: -.07em; }
.playful .score-name { grid-column: 1 / -1; font-weight: 450; font-size: 13px; color: #ceccd7; }
.playful .score-unit { color: #aaa7b8; font-size: 11px; }
.scoring-note { color: #aaa7b8; font-size: 11px; margin: 27px 0 0; line-height: 1.6; }
.playful .prizes { background: white; border: 0; }
.playful .prizes-head p { font-size: 14px; }
.playful .prize-grid { margin-top: 32px; gap: 18px; }
.playful .prize-card { min-height: 226px; padding: 24px; border: 1px solid var(--line); box-shadow: none; background: #f8f8fa; border-radius: 10px; }
.playful .prize-card.first { background: #e7edf1; border-color: #d1dce4; }
.playful .place { top: 22px; left: 24px; color: var(--muted); font: 12px Inter, sans-serif; letter-spacing: -.02em; }
.playful .prize-icon { top: 44%; transform: translate(-50%, -50%) scale(.73); }
.playful .flipper { transform: translate(-50%, -50%) scale(.73) rotate(-8deg); }
.playful .prize-card h3 { font-weight: 550; font-size: 20px; }
.playful .prizes-page-section { min-height: 0; padding-top: 58px; padding-bottom: 58px; background: #f1f4f6; }
.playful .prizes-page-intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.playful .prizes-page-intro .section-kicker { margin: 0 0 16px; color: var(--accent-text); }
.playful .prizes-page-intro h1 { margin: 0; font-size: clamp(46px, 5.2vw, 68px); line-height: 1; letter-spacing: -.06em; }
.playful .prizes-page-intro > p:last-child { max-width: 250px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.playful .prizes-page-section .prize-grid { margin-top: 58px; }
.playful .prizes-page-section .prize-card { min-height: 260px; }
.playful .prizes-page-section .prize-card h2 { position: relative; margin: 18px 0 7px; font-size: 23px; letter-spacing: -.04em; }
.playful .prizes-page-section .prize-card p { position: relative; margin: 0; color: var(--muted); font-size: 12px; }
.playful .prizes-page-section .prize-photo { position: absolute; left: 50%; top: 43%; width: 72%; height: 150px; object-fit: contain; transform: translate(-50%, -50%); }
.playful .prizes-page-section .prize-photo-mac { width: 78%; mix-blend-mode: multiply; }
.playful .prizes-page-section .prize-photo-pi { width: 78%; height: 160px; mix-blend-mode: multiply; }
.playful .prizes-page-section .prize-photo-flipper { width: 72%; height: 164px; }
.playful .scope-directory { min-height: calc(100svh - 204px); padding-top: 78px; padding-bottom: 84px; background: #f1f4f6; }
.playful .scope-directory > * { width: min(100%, 920px); margin-left: auto; margin-right: auto; }
.playful .scope-directory-intro { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.playful .scope-directory-intro { align-items: flex-start; }
.scope-directory-title { display: flex; align-items: center; gap: 22px; }
.scope-mascot-layer { position: fixed; inset: 0; z-index: 15; overflow: hidden; pointer-events: none; }
.scope-mascot { position: absolute; left: 0; top: 0; display: block; width: 104px; height: 104px; padding: 0; border: 0; background: transparent; border-radius: 16px; touch-action: manipulation; cursor: pointer; pointer-events: auto; }
.scope-mascot:disabled { opacity: 1; pointer-events: none; }
.scope-mascot canvas { display: block; width: 100%; height: 100%; }
.scope-mascot-thought { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 4px 7px; border: 1px solid var(--tint-strong); border-radius: 8px 8px 8px 0; background: white; color: var(--accent-text); font: 11px/1.2 var(--mono); white-space: nowrap; pointer-events: none; }
.playful .scope-directory-intro .section-kicker { margin: 0 0 15px; color: var(--accent-text); }
.playful .scope-directory-intro h1 { margin: 0; font-size: clamp(42px, 5.2vw, 66px); line-height: .98; letter-spacing: -.07em; }
.playful .scope-directory-intro #scope-title { letter-spacing: -.025em; }
.playful .scope-directory-intro > p { max-width: 360px; margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.scope-utility-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 30px; }
.scope-view-toggle { display: inline-flex; width: fit-content; flex: 0 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.playful .scope-view-toggle button { position: relative; min-width: 96px; min-height: 42px; padding: 10px 17px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--muted); font: 600 14px/1 var(--body-font); letter-spacing: -.01em; cursor: pointer; }
.playful .scope-view-toggle button:first-child { border-left: 0; }
.playful .scope-view-toggle button:hover { color: var(--accent-text); background: var(--tint); }
.playful .scope-view-toggle button[aria-selected="true"] { background: var(--accent-text); color: white; font-weight: 700; box-shadow: inset 0 -3px 0 #fff; }
.playful .scope-view-toggle button:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.scope-addition-note { max-width: 470px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; text-align: right; }
.scope-addition-note strong { color: var(--accent-text); font-weight: 650; }
.scope-directory-intro h1 span { display: inline-block; }
.scope-page-links { display: flex; flex-wrap: wrap; margin-top: 26px; gap: 24px; }
.playful .scope-page-links a { font-size: 15px; color: var(--accent-text); text-decoration: underline; text-underline-offset: 5px; }
#repositories, #impact-in-scope { scroll-margin-top: 150px; }
[data-scope-panel="impact"] .scope-impact-directory { margin-top: 30px; }
.scope-impact { margin: 64px 12px 0; padding-top: 32px; border-top: 1px solid var(--tint-strong); }
.impact-conversation { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 26px; margin: 30px 0; }
#impact-guide-bug { display: block; width: 112px; height: 112px; }
.impact-thought { position: relative; max-width: 780px; padding: 22px 26px; background: white; border: 1px solid var(--tint-strong); border-radius: 24px; color: var(--slate); font: 15px/1.75 var(--mono); }
.impact-thought::before, .impact-thought::after { content: ''; position: absolute; background: white; border: 1px solid var(--tint-strong); border-radius: 50%; }
.impact-thought::before { width: 12px; height: 12px; left: -18px; top: 50%; }
.impact-thought::after { width: 6px; height: 6px; left: -29px; top: 58%; }
.impact-thought p { margin: 0; }
.impact-thought p + p { margin-top: 14px; }
.impact-thought a { color: var(--accent-text); text-underline-offset: 3px; }
.impact-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; }
.impact-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 17px; line-height: 1.55; }
.impact-table caption { padding: 20px; text-align: left; font-size: 21px; font-weight: 650; color: var(--accent-text); background: var(--tint); }
.impact-table th, .impact-table td { padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.impact-table thead { color: var(--slate); font-size: 14px; background: #f7f9fa; }
.impact-table tbody th { font-weight: 600; }
.impact-table td:last-child { font: 650 23px/1.2 var(--mono); }
.impact-examples { margin-top: 30px; }
.impact-examples caption span { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--muted); }
.impact-examples tbody th { width: 68%; }
.impact-examples tbody th span { display: block; margin-top: 6px; font-size: 15px; font-weight: 400; color: var(--muted); }
.impact-examples td:last-child { color: var(--slate); font: inherit; }
.impact-score-note { max-width: 780px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.impact-overview { padding: 64px 0 76px; background: transparent; color: var(--ink); }
.playful .impact-overview { width: 100%; box-sizing: border-box; }
.impact-overview-intro { display: block; width: 100%; max-width: 920px; margin: 0; }
.impact-overview-intro h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: .98; letter-spacing: -.07em; }
.impact-overview-intro p { max-width: 620px; margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; text-align: left; }
.impact-thought-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; max-width: 920px; margin: 34px 0 0; }
.impact-thought-card { min-height: 148px; padding: 18px; border: 1px solid #c7dced; border-radius: 6px; background: #fff; box-shadow: none; transform: none; }
.impact-thought-card::after { content: none; }
.impact-thought-card.impact-critical { background: #fff; border-color: #c7dced; box-shadow: none; }
.impact-thought-card:nth-child(2) { background: #e9f1f5; border-color: #c7dced; color: #29445e; }
.impact-thought-card:nth-child(3) { background: #dff0cf; border-color: #c6dfb2; color: #38582d; }
.impact-thought-card:nth-child(4) { background: #f4f5f7; border-color: #d9dde2; }
.impact-thought-card:nth-child(5) { background: #e9eef1; border-color: #cbd7dc; }
.impact-points { display: block; color: var(--accent-text); font: 650 clamp(22px, 2.3vw, 30px)/1 var(--display-font); letter-spacing: -.05em; }
.impact-thought-card h3 { margin: 0 0 13px; color: var(--muted); font: 600 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.impact-thought-card p { margin: 12px 0 0; color: var(--muted); font: 13px/1.55 var(--mono); }
.impact-thought-card:nth-child(3) .impact-points, .impact-thought-card:nth-child(3) h3 { color: #38582d; }
.impact-overview-note { width: 100%; max-width: 920px; margin: 30px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.impact-overview-note a { color: var(--accent-text); text-underline-offset: 3px; }
@media (max-width: 760px) {
  .scope-impact { margin-inline: 0; }
  .impact-conversation { grid-template-columns: 1fr; gap: 18px; }
  #impact-guide-bug { width: 80px; height: 80px; }
  .impact-thought { padding: 18px; font-size: 14px; }
  .impact-thought::before { left: 56px; top: -18px; }
  .impact-thought::after { left: 42px; top: -28px; }
  .impact-table { font-size: 15px; }
  .impact-table th, .impact-table td { padding: 14px; }
  .impact-overview { padding: 50px 0 60px; }
  .impact-overview-intro { display: block; }
  .impact-overview-intro p { margin-top: 18px; }
  .impact-thought-grid { grid-template-columns: 1fr; gap: 18px; }
  .impact-thought-card { min-height: 0; }
  .scope-impact-directory > .impact-thought-grid { grid-template-columns: 1fr; margin: 18px 16px 22px; }
}

.playful .scope-branch-callout { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 20px; margin-top: 46px; padding: 18px 20px; border: 1px solid #d1dce4; border-radius: 10px; background: #e7edf1; }
.playful .scope-branch-callout span { color: var(--accent-text); font: 10px var(--mono); letter-spacing: .08em; }
.playful .scope-branch-callout strong { font: 600 18px var(--mono); }
.playful .scope-branch-callout p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.playful .scope-branch-callout code { color: var(--ink); font-family: var(--mono); }
.playful .scope-directory-browser { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 0; margin-top: 26px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
@media (min-width: 761px) {
  .playful .scope-directory-browser { width: min(100%, 920px); }
}
.playful .scope-directory-browser .scope-branch-callout { grid-column: 1 / -1; margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #e7edf1; }
.scope-repo-columns { display: grid; grid-template-columns: minmax(0, 1fr) 78px 88px; align-items: center; gap: 16px; padding: 11px 20px; border-bottom: 1px solid var(--line); background: #f8fafb; color: var(--muted); font: 600 12px/1.3 var(--body-font); letter-spacing: -.01em; }
.scope-impact-directory { margin-top: 46px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; }
.scope-impact-directory-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding: 20px; border-bottom: 1px solid var(--tint-strong); background: var(--tint); }
.scope-impact-directory-head h2 { margin: 0; color: var(--accent-text); font-size: 24px; font-weight: 650; letter-spacing: -.01em; }
.scope-impact-directory > .impact-thought-grid { width: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; margin: 0; padding: 24px 20px 28px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .scope-impact-directory > .impact-thought-grid { grid-template-columns: 1fr; padding: 18px 16px 22px; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .scope-impact-directory > .impact-thought-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.scope-impact-directory-head p { max-width: 390px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.scope-impact-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.scope-impact-table th, .scope-impact-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.scope-impact-table tbody th { width: 132px; color: var(--ink); text-align: center; vertical-align: middle; }
.impact-severity { display: block; width: fit-content; margin: 0 auto; padding: 6px 9px; border: 1px solid currentColor; border-radius: 4px; font: 650 13px/1 var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.impact-severity.critical { color: #91424d; background: #fff1f1; }
.impact-severity.high { color: #7a6030; background: #fff7df; }
.impact-severity.medium { color: #3c6c62; background: #edf7f2; }
.scope-impact-table td { color: var(--muted); font-size: 14px; line-height: 1.55; }
.scope-impact-table td strong, .scope-impact-table td span { display: block; }
.scope-impact-table td strong { color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.4; }
.scope-impact-table td span { margin-top: 4px; }
.scope-impact-table tbody tr:last-child th, .scope-impact-table tbody tr:last-child td { border-bottom: 0; }
.playful .scope-filter { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 4px; padding: 0; }
.playful .scope-filter p { margin: 4px 9px 8px; color: #aaa4b1; font: 9px var(--mono); letter-spacing: .08em; }
.playful .scope-filter button { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 9px; border: 0; border-radius: 6px; background: transparent; color: var(--slate); text-align: left; font: 13px Inter, sans-serif; cursor: pointer; }
.playful .scope-filter button span { color: var(--muted); font: 9px var(--mono); }
.playful .scope-filter button span::after { content: "＋"; margin-left: 9px; color: #aaa4b1; font-size: 11px; }
.playful .scope-filter button[aria-expanded="true"] span::after { content: "−"; }
.playful .scope-filter button:hover { background: #f2eef7; color: var(--ink); }
.playful .scope-filter button.is-active { background: var(--ink); color: #fff; }
.playful .scope-filter button.is-active span { color: #c8bad9; }
.playful .scope-directory-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.playful .scope-group { overflow: hidden; border: 0; border-radius: 0; background: #fff; }
.playful .scope-group + .scope-group { border-top: 1px solid var(--line); }
.playful .scope-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 54px; padding: 14px 20px 13px; border: 0; border-bottom: 1px solid #d5dfe5; background: #edf1f3; color: var(--accent-text); text-align: left; cursor: pointer; }
.playful .scope-group-heading:hover { background: #e4eaee; }
.playful .scope-group-heading::after { content: "−"; color: var(--accent-text); font: 16px var(--mono); }
.playful .scope-group-heading[aria-expanded="false"]::after { content: "+"; }
.playful .scope-group-heading h2 { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -.035em; }
.playful .scope-group-heading span { color: var(--muted); font: 10px var(--mono); }
.playful .scope-repo-row { display: grid; grid-template-columns: minmax(0, 1fr) 78px 88px; align-items: center; gap: 16px; min-height: 62px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.playful .scope-repo-row:last-child { border-bottom: 0; }
.playful .scope-repo-row > a { min-width: 0; overflow-wrap: anywhere; color: var(--ink); font-size: 17px; font-weight: 500; text-decoration: none; text-underline-offset: 4px; }
.playful .scope-repo-row > a:hover { color: var(--accent-text); text-decoration: underline; }
.playful .scope-repo-ref { display: contents; color: var(--muted); font-family: var(--mono); }
.playful .scope-repo-pin { display: grid; gap: 4px; min-width: 0; text-align: left; }
.playful .scope-repo-pin-label { display: none; color: var(--muted); font: 600 10px/1.2 var(--body-font); letter-spacing: 0; }
.playful .scope-repo-pin-value { color: var(--ink); font: 650 14px/1.2 var(--mono); overflow-wrap: anywhere; text-decoration: none; }
.playful a.scope-repo-pin-value:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.playful .scope-repo-pin.is-missing .scope-repo-pin-value { color: #777f89; font-family: var(--body-font); font-size: 12px; font-weight: 500; }
.scope-directory-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.scope-directory-note > span { display: grid; place-items: center; width: 18px; height: 18px; flex: 0 0 18px; border: 1px solid #9bbbd7; border-radius: 50%; color: var(--accent-text); font-size: 10px; }
.scope-directory-note p { margin: 0; }
.prizes-page-note { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 32px; margin-top: 38px; padding-top: 24px; border-top: 1px solid #d3d9e1; }
.prizes-page-note > span { color: var(--accent-text); font-size: 16px; line-height: 1.5; font-weight: 700; }
.prizes-page-note > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 30px; }
.prizes-page-note p { max-width: 640px; margin: 0; color: #4d5868; font-size: 16px; line-height: 1.6; }
.prizes-page-links { display: flex; flex-wrap: wrap; gap: 18px 24px; margin-top: 1px; }
.prizes-page-links a { color: var(--ink); font-size: 16px; line-height: 1.5; font-weight: 650; text-underline-offset: 4px; }
.prizes-page-links a:hover { color: var(--ink); }
.playful .prize-card p { color: var(--muted); font-family: var(--mono); letter-spacing: .08em; }
.playful .cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--poster); color: var(--ink); padding-top: 42px; padding-bottom: 42px; text-align: left; }
.playful .cta p { color: #6b617c; margin: 12px 0 0; font-size: 13px; }
.playful .cta h2 { font-size: clamp(25px, 2.5vw, 34px); margin: 0; letter-spacing: -.04em; }
.playful .cta .button { flex-shrink: 0; font-size: 13px; }
.playful footer { background: var(--paper); color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); gap: 30px; }
.playful footer .brand img { filter: brightness(0); width: 122px; }
.playful dialog { background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 100px #17191f30; }
.playful dialog::backdrop { background: #17191f80; backdrop-filter: blur(5px); }
.playful dialog h2 { font-size: 34px; }
.playful .close-button { border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }
.playful .close-button:hover { background: var(--tint); color: var(--ink); }
.playful .form-progress { gap: 6px; }
.playful .form-progress span { height: 3px; background: var(--surface-2); border-radius: 2px; }
.playful .form-progress span.active { background: var(--accent-text); }
.playful .step-label { font-family: var(--mono); color: var(--accent-text); }
.playful input, .playful textarea, .playful select { border-color: var(--edge); border-radius: 7px; background: white; }
.playful input:focus, .playful textarea:focus, .playful select:focus { border-color: var(--accent-text); box-shadow: 0 0 0 3px #9375ed1a; }
.playful .login-symbol { background: var(--tint); color: var(--accent-text); border: 1px solid var(--tint-strong); border-radius: 14px; }
.playful .reporter-card { background: var(--surface); border-color: var(--line); }
.playful .success-mark { background: var(--tint); color: var(--accent-text); border: 1px solid var(--tint-strong); border-radius: 50%; }
.playful .success-state h2 { font-size: 44px; }
.playful .submission-status { color: #245f9b; background: var(--tint); border-radius: 20px; }
.playful .submission-status.pending { background: #fff1d9; color: #795a25; }
.playful .auth-notice { border: 1px solid var(--line); background: white; box-shadow: 0 8px 30px #17191f12; }
.playful.leaderboard-page { background: #f1f4f6; }
.playful.leaderboard-page .section { background: #f1f4f6; color: var(--ink); }
.playful.leaderboard-page .section-kicker { color: var(--accent-text); margin-bottom: 18px; }
.playful.leaderboard-page h1 { font-size: clamp(44px, 5.4vw, 72px); font-weight: 600; line-height: 1.08; letter-spacing: -.065em; }
.playful .leaderboard-heading { gap: 48px; }
.playful .leaderboard-heading > div { max-width: 340px; }
.playful .leaderboard-heading p { color: var(--muted); font-size: 14px; }
.playful .leaderboard-panel { border: 1px solid var(--line); background: white; border-radius: 12px; box-shadow: none; }
.playful .leaderboard-panel-heading { color: var(--muted); font-family: var(--mono); padding-bottom: 20px; border-bottom: 1px solid var(--line); text-transform: uppercase; font-size: 9px; }
.playful .leaderboard-state { color: var(--muted); }
.playful .leaderboard-standing { background: var(--tint); color: #245f9b; border: 1px solid var(--tint-strong); border-radius: 6px; font-size: 13px; }
.playful .leaderboard-table th { color: var(--muted); font-size: 9px; font-family: var(--mono); }
.playful .leaderboard-table td { border-color: var(--line); }
.playful .leaderboard-table td:first-child { color: var(--accent-text); font-size: 18px; font-variant-numeric: tabular-nums; font-weight: 500; }
.playful .leaderboard-table td:last-child { font-weight: 550; }
.playful .leaderboard-table tr.is-you { background: #f8f6fc; }
.playful .leaderboard-table tbody tr:first-child td:first-child { font-weight: 700; }
.playful .leaderboard-you { color: #245f9b; background: var(--tint); border-radius: 4px; font-family: var(--mono); }
.playful .leaderboard-footnote, .playful .leaderboard-home { color: var(--muted); }
.playful .leaderboard-home:hover { color: var(--accent-text); }
@media (max-width: 1100px) {
  .playful .site-header { gap: 20px; }
  .playful .site-header nav { gap: 18px; }
  .hero-main { gap: 40px; }
  .playful .hero h1 { font-size: clamp(56px, 6.3vw, 76px); }
  .playful .hero-actions .button { padding-inline: 15px; font-size: 12px; }
  .playful .brief-grid { gap: 40px; }
  .playful .score-row { padding-inline: 24px; }
}
@media (max-width: 900px) {
  .playful .site-header { grid-template-columns: 1fr auto; height: auto; padding-top: 18px; }
  .playful .site-header nav { display: flex; grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 20px; padding: 0 0 16px; }
  .hero-main { gap: 30px; }
  .playful .hero h1 { font-size: clamp(45px, 6.2vw, 60px); }
  .playful .hero-intro { font-size: 15px; }
  .playful .hero-actions { flex-wrap: wrap; }
  .bug-note { font-size: 13px; padding: 10px 14px; }
  .playful .leaderboard-heading { flex-direction: column; align-items: flex-start; gap: 24px; }
  .playful .leaderboard-heading > div { max-width: 500px; }
}
@media (max-width: 760px) {
  .playful .hero { padding-top: 24px; }
  .hero-topline { padding-bottom: 30px; gap: 15px; }
  .playful .eyebrow, .event-date { font-size: 11px; }
  .hero-main { grid-template-columns: 1fr; gap: 20px; }
  .playful .hero-copy { max-width: 570px; }
  .playful .hero h1 { font-size: clamp(48px, 8.8vw, 66px); }
  .playful .hero-intro { font-size: 16px; max-width: 440px; }
  .playful .hero-actions { flex-direction: row; flex-wrap: nowrap; gap: 10px; }
  .playful .hero-actions .button { width: auto; min-width: 0; font-size: 13px; padding-inline: 18px; }
  .hero-playground { width: min(100%, 340px); justify-self: center; padding: 24px 24px 28px; }
  .bug-note { bottom: 3px; left: 0; }
  .bug-note-lgtm { top: 26px; right: 0; bottom: auto; left: auto; }
  .bug-note-interesting { top: 2px; right: auto; bottom: auto; left: 0; }
  .playful .hero-details { margin-top: 20px; padding-block: 18px; font-size: 11px; }
  .playful .section { padding-top: 48px; padding-bottom: 48px; }
  .playful .brief-grid { grid-template-columns: 1fr; gap: 28px; }
  .playful .brief { padding-block: 36px; }
  .playful .brief-copy > p { max-width: 490px; font-size: 14px; }
  .playful .scope-heading { grid-template-columns: 1fr; gap: 18px; }
  .playful .scope-browser { grid-template-columns: 1fr; }
  .playful .scope-tabs { scrollbar-color: #a9c391 #f2f5ee; }
  .playful .scope-tabs button { min-height: 44px; }
  .playful .scope-panel { min-height: 280px; }
  .playful .scoring-heading { flex-direction: column; align-items: flex-start; gap: 18px; }
  .playful .score-stack { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .playful .score-row { min-height: 95px; padding: 0 24px; }
  .playful .score-row:nth-child(odd) { border-left: 0; padding-left: 0; }
  .playful .prizes-head { gap: 18px; }
  .playful .prize-card { min-height: 150px; padding: 24px; }
  .playful .prize-icon { left: auto; right: 20px; top: 50%; transform: translateY(-50%) scale(.65); }
  .playful .flipper { right: 12px; transform: translateY(-50%) scale(.65) rotate(-8deg); }
  .playful .leaderboard-panel { padding: 24px 18px; }
  .playful .cta { flex-direction: column; align-items: flex-start; padding-top: 36px; padding-bottom: 36px; gap: 24px; }
  .playful footer { gap: 20px; }
}
@media (max-width: 440px) {
  .playful .site-header { gap: 18px 8px; }
  .playful .event-brand { gap: 8px; }
  .playful .site-header .event-brand-mark { width: 27px; height: 27px; }
  .event-brand-name { font-size: 15px; line-height: 1.2; letter-spacing: -.035em; }
  .event-brand-name > span { display: block; }
  .event-brand small { display: none; }
  .playful .site-header nav { gap: 4px; }
  .playful .site-header nav a { font-size: 11px; }
  .playful .site-header .account-avatar { width: 30px; height: 30px; }
  .playful .signed-in-controls .button-small { padding: 9px 10px; font-size: 11px; gap: 6px; }
  .playful .hero h1 { font-size: clamp(45px, 12.5vw, 55px); margin-top: 0; }
  .hero-topline { flex-direction: column; align-items: flex-start; gap: 6px; padding-bottom: 28px; }
  .playful .hero-actions .button { padding-inline: 13px; font-size: 12px; gap: 8px; min-height: 48px; }
  .playful .hero-actions .button > span { width: 15px; }
  .hero-links { gap: 0 22px; }
  .playful .hero-details { flex-direction: column; align-items: flex-start; gap: 6px; }
  .playful h2 { font-size: 35px; }
  .playful .principles { gap: 14px; }
  .playful .principles div { padding-left: 10px; }
  .playful .principles strong { font-size: 17px; }
  .playful .principles small { font-size: 11px; }
  .playful .scope-panel li { font-size: 14px; }
  .playful .scope-panel li .scope-status { display: none; }
  .playful .score-row strong { font-size: 52px; }
  .playful .score-row { padding-inline: 18px; gap: 12px 7px; }
  .playful .score-unit { font-size: 10px; }
  .playful .prize-card h3 { font-size: 18px; max-width: 160px; }
  .playful .prizes-page-section { min-height: 0; padding-top: 48px; padding-bottom: 54px; }
  .playful .prizes-page-intro { display: block; }
  .playful .prizes-page-intro h1 { font-size: 46px; }
  .playful .prizes-page-intro > p:last-child { margin-top: 18px; }
  .playful .prizes-page-section .prize-grid { margin-top: 34px; }
  .playful .prizes-page-section .prize-card { min-height: 180px; }
  .playful .prizes-page-section .prize-card h2 { font-size: 19px; max-width: 160px; }
  .playful .prizes-page-section .prize-photo { left: auto; right: 18px; top: 50%; width: 42%; height: 112px; transform: translateY(-50%); }
  .playful .prizes-page-section .prize-photo-pi { width: 42%; height: 116px; }
  .playful .prizes-page-section .prize-photo-flipper { width: 42%; height: 122px; }
  .playful .scope-directory { min-height: 0; padding-top: 48px; padding-bottom: 58px; }
  .playful .scope-directory-intro { display: block; }
  .playful .scope-directory-intro h1 { font-size: 42px; }
  .playful .scope-directory-intro > p { margin-top: 18px; }
  .playful .scope-branch-callout { grid-template-columns: auto auto; gap: 8px 14px; margin-top: 32px; }
  .playful .scope-branch-callout p { grid-column: 1 / -1; }
  .playful .scope-directory-browser { gap: 0; margin-top: 26px; padding: 0; }
  .prizes-page-note { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
  .playful .prize-icon { right: 0; transform: translateY(-50%) scale(.58); }
  .playful .flipper { right: -5px; transform: translateY(-50%) scale(.58) rotate(-8deg); }
  .playful dialog h2 { font-size: 29px; }
  .playful .success-state h2 { font-size: 38px; }
  .playful.leaderboard-page h1 { font-size: 46px; }
  .playful.leaderboard-page .section { padding-top: 44px; }
  .playful .leaderboard-standing { font-size: 12px; padding: 13px; }
  .playful .leaderboard-table td:last-child { font-size: 24px; }
  .playful .leaderboard-table th:first-child { width: 46px; }
  .playful footer > span:last-child { margin-left: 0; font: 9px var(--mono); }
}

@media (max-width: 700px) {
  .scope-mascot { width: 84px; height: 84px; }
  .scope-utility-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .scope-addition-note { max-width: none; text-align: left; }
  .scope-repo-columns { display: none; }
  .playful .scope-group-heading { min-height: 52px; padding: 13px 16px 12px; }
  .playful .scope-group-heading h2 { font-size: 22px; }
  .playful .scope-repo-row { grid-template-columns: 1fr; align-items: start; gap: 9px; min-height: 0; padding: 14px 16px; }
  .playful .scope-repo-row > a { font-size: 18px; line-height: 1.35; }
  .playful .scope-repo-ref { display: flex; justify-self: start; flex-wrap: wrap; gap: 8px 18px; }
  .playful .scope-repo-pin { display: inline-flex; align-items: baseline; gap: 6px; text-align: left; }
  .playful .scope-repo-pin-label { display: inline; font-size: 11px; }
  .playful .scope-repo-pin-value { font-size: 13px; }
  .playful .scope-repo-pin.is-missing .scope-repo-pin-value { font-size: 12px; }
  [data-scope-panel="impact"] .scope-impact-directory { margin-top: 26px; }
  .scope-impact-directory-head { display: block; padding: 15px 16px; }
  .scope-impact-directory-head h2 { font-size: 28px; }
  .scope-impact-table, .scope-impact-table tbody { display: block; width: 100%; }
  .scope-impact-table tbody tr { display: block; padding: 16px; border-bottom: 1px solid var(--line); }
  .scope-impact-table th, .scope-impact-table td { display: block; width: auto; padding: 0; border: 0; }
  .scope-impact-table tbody th { width: auto; }
  .scope-impact-table td { margin-top: 12px; font-size: 14px; }
  .scope-impact-table td strong { font-size: 17px; }
  .scope-impact-table tbody tr:last-child { border-bottom: 0; }
}

@media (max-width: 360px) {
  .playful .hero-actions { flex-direction: column; align-items: stretch; }
  .playful .hero-actions .button { width: 100%; }
}

/* Opt-in music: a quiet utility control, animated only while sound plays. */
.music-toggle { position: fixed; z-index: 6; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 24px; background: white; color: var(--slate); font: 9px/1 var(--mono, monospace); letter-spacing: .04em; cursor: pointer; box-shadow: 0 2px 10px #17191f0a; transition: border-color .15s, background .15s; }
.music-toggle:hover { border-color: var(--edge); background: var(--surface); }
.music-toggle { z-index: 30; }
.music-toggle:active { background: var(--tint); }
.music-toggle[aria-pressed="true"] { background: var(--tint, #ebe6ff); }

/* Prizes page: let the objects carry the personality, with a clear first-place lead. */
.playful.prizes-page, .playful.prizes-page main { background: #f1f4f6; }
.playful.prizes-page .prize-card { min-height: 260px; }
.playful.prizes-page .prize-card.first { background: #e3ebf0; border-color: #cbd8e1; }
.playful.prizes-page .place { display: flex; align-items: center; gap: 10px; color: var(--accent-text); font-size: 12px; }
.playful.prizes-page .place-rank { color: var(--accent-text); font: 700 19px/1 var(--display-font); letter-spacing: -.03em; }
.playful.prizes-page .place-label { color: #596574; font-size: 13px; font-weight: 650; }
.playful.prizes-page .prize-card.first .place-label { color: var(--accent-text); font-weight: 650; }
.playful.prizes-page .prize-card.first h2 { font-size: 25px; }
.playful.prizes-page .prizes-page-section .prize-card p { color: var(--muted); font: 400 13px/1.45 var(--body-font); letter-spacing: .01em; }
.playful.prizes-page .prize-card.first .prize-photo-mac { width: 78%; height: 162px; }
.playful.prizes-page .prize-photo-pi { top: 40%; width: 68%; height: 142px; }
.playful.prizes-page .prize-photo-flipper { width: 70%; height: 160px; }
@media (max-width: 760px) {
  .playful.prizes-page .prize-card, .playful.prizes-page .prize-card.first { min-height: 202px; transform: none; }
  .playful.prizes-page .prize-card h2, .playful.prizes-page .prize-card p { max-width: 58%; }
  .playful.prizes-page .prize-card.first h2 { font-size: 21px; }
  .playful.prizes-page .place-rank { font-size: 17px; }
  .playful.prizes-page .prize-card.first .prize-photo-mac { width: 42%; height: 112px; }
  .playful.prizes-page .prize-photo-pi { top: 50%; width: 35%; height: 104px; }
  .playful.prizes-page .prize-photo-flipper { width: 42%; height: 122px; }
  .playful.prizes-page .prize-photo-flipper { right: 56px; }
  .playful.prizes-page .prizes-page-note { margin-top: 34px; }
  .playful.prizes-page .prizes-page-note > div { grid-template-columns: 1fr; gap: 16px; }
  .playful.prizes-page .music-toggle { width: 40px; padding: 0; justify-content: center; }
  .playful.prizes-page .music-label { display: none; }
}
.music-bars { display: inline-flex; align-items: flex-end; gap: 2px; width: 13px; height: 12px; }
.music-bars i { flex: 1; height: 30%; background: var(--ink); }
.music-toggle.is-playing .music-bars i { animation: music-bounce .48s ease-in-out infinite alternate; }
.music-toggle.is-playing .music-bars i:nth-child(2) { animation-delay: -.16s; }
.music-toggle.is-playing .music-bars i:nth-child(3) { animation-delay: -.32s; }
@keyframes music-bounce { from { height: 25%; } to { height: 100%; } }
footer:has(~ .music-toggle) { padding-bottom: 30px; }
.home-footer { min-height: 44px; padding: 12px var(--page-gutter); border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 12px; letter-spacing: .01em; }

/* Keep the home view contained on shorter desktop windows without shrinking the artwork. */
@media (min-width: 761px) and (max-height: 850px) {
  .playful .hero-topline { padding-bottom: 24px; }
  .playful .hero-playground { padding-top: 10px; padding-bottom: 16px; }
  .playful .hero-details { margin-top: 24px; padding-block: 14px; }
  .playful footer:has(~ .music-toggle) { min-height: 86px; padding-top: 20px; padding-bottom: 20px; }
  .home-footer { min-height: 40px; padding-top: 10px; padding-bottom: 10px; }
}

.playful footer.home-footer { min-height: 44px; padding: 12px var(--page-gutter); }

/* The footer is a darker closing note, deliberately separate from the light header. */
.playful .site-footer { position: sticky; bottom: 0; z-index: 10; min-height: clamp(64px, 6.1vw, 88px); display: flex; align-items: center; gap: clamp(18px, 2vw, 28px); padding: clamp(16px, 1.7vw, 24px) var(--page-gutter); background: var(--ink); color: #c8d0dc; border-top: 0; font-size: 11px; letter-spacing: .02em; }
.playful.scope-page .site-footer, .playful.rules-page .site-footer, .playful.prizes-page .site-footer, .playful.leaderboard-page .site-footer { position: static; }
.playful .site-footer .brand img { width: 122px; filter: brightness(0) invert(1); }
.playful .site-footer > span:last-child { margin-left: auto; color: #8995a5; font: 9px/1.4 var(--mono); letter-spacing: .08em; }
.playful.prizes-page .site-footer { padding-right: max(var(--page-gutter), 136px); font-size: 12px; }
.playful.prizes-page .site-footer > span:last-child { color: #9ca7b6; font: 500 12px/1.4 var(--body-font); letter-spacing: .01em; }
.playful .home-site-footer { min-height: 86px; padding-block: 24px; background: var(--ink); color: #c8d0dc; border-top: 0; font-size: 16px; letter-spacing: -.01em; }
.playful .home-site-footer > span:last-child { color: #c8d0dc; font: inherit; letter-spacing: inherit; }

@media (max-width: 760px) {
  .playful .site-footer { position: static; }
  .playful .site-footer { align-items: flex-start; flex-wrap: wrap; gap: 14px 20px; padding-top: 22px; padding-bottom: 22px; }
  .playful.prizes-page .site-footer { padding-right: 72px; }
  .playful .site-footer .brand { width: 100%; }
  .playful .site-footer > span:last-child { margin-left: 0; }
}

/* Rules page: one column of plain, readable text. */
.rules-article { max-width: 820px; margin: 0 auto; padding: 56px 16px 96px; font-size: 17px; line-height: 1.7; letter-spacing: -.01em; }
.rules-article .section-kicker { margin-bottom: 18px; }
.playful.rules-page h1 { margin: 0 0 20px; font-size: clamp(38px, 4.5vw, 52px); line-height: 1.1; letter-spacing: -.05em; }
.rules-lead { margin: 0 0 12px; font-size: 20px; line-height: 1.6; color: var(--slate); }
.rules-article h2 { margin: 44px 0 12px; font-size: 24px; line-height: 1.25; letter-spacing: -.03em; font-weight: 750; }
.rules-article p { margin: 0 0 16px; }
.rules-article ul, .rules-article ol { margin: 0 0 16px; padding-left: 24px; }
.rules-article li { margin: 6px 0; }
.rules-article a { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.rules-article strong { font-weight: 700; }
.rules-end { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 560px) {
  .rules-article { padding-top: 40px; font-size: 16px; }
  .rules-article h2 { font-size: 21px; }
}
