@charset "UTF-8";
:root{color-scheme:light;--ink:#253248;--muted:#5b6878;--blue:#30697b;--line:#d9e3e8;--paper:#f3f7f8;--white:#fff;--accent:#c5415c;--radius:1.1rem;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:5rem}body{margin:0;background:var(--paper);color:var(--ink);font-size:1rem;line-height:1.55}a{color:var(--blue);text-underline-offset:.22em}a:hover{color:var(--accent)}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:4px}img{max-width:100%;height:auto;display:block}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.15;letter-spacing:-.025em}h1{font-size:clamp(1.9rem,4vw,3.3rem)}h2{font-size:clamp(1.65rem,3vw,2.2rem);margin-bottom:0}h3{font-size:1.2rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:1rem;z-index:20;background:white;padding:.75rem 1rem}.skip-link:focus{top:1rem}
.hero{background:#b8d7e5;overflow:hidden;border-bottom:7px solid var(--ink)}.hero-inner{max-width:1040px;margin:auto;display:grid;grid-template-columns:1.2fr 1fr;gap:3rem;align-items:center;padding:3rem 2rem 0;min-height:400px}.hero-copy{padding-bottom:2.8rem}.brand{display:block;max-width:340px}.brand img{width:100%;height:auto}.intro{font-size:1.18rem;margin:1.4rem 0 1.6rem;color:#273f50}.store-links{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.store-links a{display:block;max-width:150px;transition:transform .15s}.store-links img{width:auto;height:46px;object-fit:contain}.store-links a:hover{transform:translateY(-2px)}.gameplay{align-self:end;max-height:390px;width:100%;object-fit:contain;object-position:bottom}
.page{max-width:1000px;margin:0 auto;padding:2.5rem 2rem 3rem}.section-heading{display:flex;justify-content:space-between;gap:1rem;align-items:end;margin-bottom:1.6rem}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.75rem;font-weight:750;color:var(--blue);margin-bottom:.55rem}.unit{font-size:.875rem;color:var(--muted);white-space:nowrap}.city-duel{margin-bottom:3rem}.duel-scores{display:grid;grid-template-columns:1fr auto 1fr;gap:1.5rem;align-items:center;background:var(--ink);color:#fff;border-radius:var(--radius);padding:1.8rem 2rem}.city{display:flex;align-items:baseline;gap:1rem;flex-wrap:wrap;position:relative}.city:last-child{justify-content:flex-end}.city h3{font-size:clamp(1.1rem,3vw,1.5rem);margin:0;font-weight:550}.city strong{font-size:clamp(2.5rem,6vw,4.2rem);font-weight:800;font-variant-numeric:tabular-nums;line-height:1}.versus{font-size:.8rem;font-weight:750;letter-spacing:.1em;color:#b0d2e0}.leader{font-size:.75rem;background:#b8d7e5;color:#203749;padding:.15rem .6rem;border-radius:1rem;white-space:nowrap}.leaderboard{scroll-margin-top:5rem}table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}thead{background:#e7eff3}th,td{padding:1rem 1.2rem;text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere}thead th{font-size:.8rem;text-transform:uppercase;letter-spacing:.055em;color:var(--muted);font-weight:700}tbody th{font-weight:600}tbody th a{text-decoration:none;color:var(--ink)}tbody th a:hover{text-decoration:underline;color:var(--blue)}tbody tr:last-child>*{border-bottom:0}tbody tr:nth-child(-n+3) .rank{color:var(--blue);font-weight:800}.rank{width:70px;color:var(--muted);font-variant-numeric:tabular-nums}.number{text-align:right;width:100px;font-variant-numeric:tabular-nums}.floors{font-weight:800;font-size:1.1rem}.time{color:var(--muted)}.time span[aria-hidden]{font-size:.8rem;margin-left:2px}.date{width:145px;font-size:.85rem;color:var(--muted)}.player-city{display:block;font-size:.875rem;font-weight:400;color:var(--muted);margin-top:.15rem}.highlight{background:#e8f4f8}.empty{padding:3rem 2rem;background:white;border:1px solid var(--line);border-radius:var(--radius)}.empty p{margin:0;color:var(--muted)}
.score-card{background:white;border:1px solid var(--line);border-top:5px solid var(--blue);border-radius:var(--radius);padding:2rem;margin-bottom:2.8rem}.score-card h1{font-size:clamp(1.7rem,4vw,2.7rem);margin-bottom:1rem}.score-card h1 span{font-weight:400;color:var(--muted)}.score-card p:last-child{margin-bottom:0}.muted{color:var(--muted)}.score-form{display:grid;grid-template-columns:1fr 1fr auto;gap:1rem;align-items:end;margin-top:1.8rem}.field label{font-size:.875rem;font-weight:650;display:block;margin-bottom:.5rem}.field input{border:1px solid #8d9eaa;border-radius:.55rem;min-height:48px;padding:.6rem .8rem;width:100%;background:#fff;color:var(--ink)}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:0;border-radius:.55rem;padding:.7rem 1.25rem;background:var(--blue);color:white;font-weight:650;text-decoration:none}.button:hover{background:var(--ink);color:#fff}.button:disabled{opacity:.6;cursor:wait}.form-note{grid-column:1/-1;margin:0;font-size:.875rem;color:var(--muted)}.share-actions{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap;margin-top:1.4rem}.share-status{font-size:.875rem;color:var(--blue);min-height:1.4em;margin:.8rem 0 0}.message{border-radius:.7rem;padding:1rem 1.3rem;margin-bottom:1.5rem}.message p{margin:0}.error{border:1px solid #d894a4;background:#fff1f3;color:#842238}.footer{max-width:1000px;margin:auto;padding:1.5rem 2rem max(2rem,env(safe-area-inset-bottom));display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-top:1px solid var(--line);font-size:.875rem;color:var(--muted)}.footer nav{display:flex;gap:1.5rem}.app-header{background:var(--ink);color:white;display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:68px;padding:1rem max(1.2rem,env(safe-area-inset-left));padding-top:max(1rem,env(safe-area-inset-top))}.app-header a{color:white;text-decoration:none;font-weight:650}.app-header .close-button{font-size:.95rem;font-weight:400;border:1px solid #708395;border-radius:.5rem;padding:.4rem .7rem}.close-button span{font-size:1.3rem;margin-left:.4rem}.in-app .page{padding-top:1.5rem}.prose{max-width:780px}.prose h2{font-size:1.4rem;margin:2rem 0 .8rem}.prose h1{margin:.8rem 0 1.8rem}.notice{margin:12vh auto;padding:2rem;max-width:650px}.notice h1{font-size:2rem}
@media(max-width:700px){.hero-inner{gap:1rem;padding:2rem 1.2rem 0;min-height:300px}.brand{max-width:260px}.hero-copy{padding-bottom:2rem}.intro{font-size:1rem}.store-links{gap:.5rem}.store-links img{height:37px}.gameplay{max-height:300px}.page{padding:2rem 1rem}.duel-scores{padding:1.5rem;gap:.75rem}.city{gap:.5rem;flex-direction:column;align-items:center}.city:last-child{justify-content:center}.city h3{font-size:1.2rem}.section-heading{align-items:start}.section-heading .unit{font-size:.8rem}.date{display:none}.rank{width:48px}.number{width:76px}th,td{padding:.9rem .75rem}.score-card{padding:1.4rem}.score-form{grid-template-columns:1fr 1fr}.score-form>.button{grid-column:1/-1}.footer{padding-left:1rem;padding-right:1rem}}
@media(max-width:420px){.hero-inner{grid-template-columns:1fr .62fr;gap:0;min-height:260px}.gameplay{max-width:160px;max-height:260px}.intro{font-size:.94rem}.store-links{display:block}.store-links a{margin-top:.5rem}.store-links img{height:36px}.page{padding-left:.75rem;padding-right:.75rem}.section-heading .unit{max-width:86px;white-space:normal;text-align:right}.duel-scores{padding:1.25rem .75rem}.score-form{grid-template-columns:1fr}.score-card{padding:1.1rem}.rank{width:40px}.number{width:64px}th,td{padding:.8rem .55rem}.unit{font-size:.75rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Original teal header, city duel and quiet striped scores. Content must fit at 320px. */
:root{--ink:#2e3b56;--blue:#2e3b56;--paper:#fff;--line:#e3e6e7;--radius:.3rem}
body{background:#fff}h1,h2,h3{letter-spacing:normal;font-weight:500}
.hero{background:#8ed1ce;border-bottom:0}.hero-inner{max-width:1000px;min-height:360px;padding-top:2rem}.gameplay{max-height:350px}
.page{max-width:900px;padding-top:2rem}.section-heading{align-items:baseline;margin-bottom:1rem;flex-wrap:wrap;gap:.35rem 1rem}
h2{font-size:1.8rem;text-transform:uppercase}.unit{white-space:normal;font-size:.8rem}
.city-duel{margin-bottom:2rem}.duel-scores{background:none;color:var(--ink);border:0;border-radius:0;padding:.5rem 0 1.5rem;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:1rem;border-bottom:2px solid #8ed1ce}
.city,.city:last-child{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;min-width:0}
.city h3{font-size:clamp(1.05rem,3.6vw,1.45rem);font-weight:400;text-transform:uppercase;white-space:nowrap}
.city strong{font-size:clamp(2.1rem,7vw,3.4rem);font-weight:500;line-height:1.2}.versus{color:var(--ink);font-size:1.3rem;font-weight:400;letter-spacing:0}
table{border:0;border-radius:0;overflow:visible}thead{background:#8ed1ce}th,td{padding:.75rem .65rem;overflow-wrap:normal;border-bottom:0;vertical-align:top}thead th{font-size:.75rem;letter-spacing:0;color:var(--ink);font-weight:600;white-space:nowrap}
tbody tr:nth-child(even){background:#f1f3f3}tbody tr.highlight{background:#d7efed}tbody th{font-weight:500}tbody th a{display:block;overflow-wrap:anywhere}.player-city{font-size:.82rem;line-height:1.4;overflow-wrap:anywhere;margin-top:.2rem}
.rank{width:2.75rem;font-size:.85rem}.number{width:5rem;white-space:nowrap}.floors{font-size:1rem;font-weight:600}.date{width:7.5rem;white-space:nowrap;font-size:.8rem}.time{font-size:.9rem}.time span[aria-hidden]{margin-left:.1rem}
.score-card{border:0;border-radius:0;border-bottom:2px solid #8ed1ce;padding:0 0 1.75rem;margin-bottom:1.75rem}.score-card h1{font-size:clamp(1.5rem,6vw,2.3rem);line-height:1.3;overflow-wrap:break-word}.score-card p{overflow-wrap:break-word}.eyebrow{font-weight:600;letter-spacing:.06em}
.field{min-width:0}.field input{border-radius:.25rem}.button{border-radius:.25rem}.app-header{min-height:56px;padding:.65rem max(1rem,env(safe-area-inset-right)) .65rem max(1rem,env(safe-area-inset-left));padding-top:max(.65rem,env(safe-area-inset-top));gap:.75rem}.app-header .close-button{padding:.25rem .65rem;border-radius:.25rem}.in-app .page{padding-top:1rem}.in-app .city-duel{margin-bottom:1.25rem}.footer{max-width:900px}.footer nav{flex-wrap:wrap;gap:.5rem 1rem}
@media(max-width:700px){.date{display:none}.number{width:4.5rem}.hero-inner{min-height:290px}.page{padding:1.25rem 1rem}.duel-scores{padding:.5rem 0 1rem}.city-duel{margin-bottom:1.5rem}}
@media(max-width:420px){.page{padding-left:.65rem;padding-right:.65rem}.rank{width:2rem}.number{width:3.7rem}th,td{padding:.65rem .35rem}h2{font-size:1.5rem}.section-heading .unit{max-width:none;text-align:left}.hero-inner{grid-template-columns:minmax(0,1fr) minmax(0,.65fr);min-height:260px}.hero-copy{min-width:0}.duel-scores{gap:.4rem}.score-card{padding:0 0 1.5rem}.footer{padding-left:.8rem;padding-right:.8rem}}
