@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/outfit-latin-500-normal-DKnIMDSk.woff2) format("woff2"),url(/assets/outfit-latin-500-normal-ClnHRwRh.woff) format("woff")}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/outfit-latin-600-normal-B7SfZ07L.woff2) format("woff2"),url(/assets/outfit-latin-600-normal-BEfTtDA7.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dm-sans-latin-400-normal-CW0RaeGs.woff2) format("woff2"),url(/assets/dm-sans-latin-400-normal-BwCSEQnW.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/dm-sans-latin-500-normal-B9HHJjqV.woff2) format("woff2"),url(/assets/dm-sans-latin-500-normal-Dr3UlScf.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/dm-sans-latin-600-normal-Aqo67rzb.woff2) format("woff2"),url(/assets/dm-sans-latin-600-normal-BmdmIIQ2.woff) format("woff")}:root{font-family:DM Sans,sans-serif;color:var(--ink);background:var(--ground);font-synthesis:none;font-weight:400;--ground: #f5f1e8;--surface: #eee9de;--ink: #242720;--muted: #65675d;--line: #d6d2c6;--accent: #ebad51;--accent-ink: #242720;--focus: #285a93;--danger: #91362e;--ease: cubic-bezier(.16, 1, .3, 1);color-scheme:light;scrollbar-color:var(--muted) var(--ground)}:root[data-theme=dark]{--ground: #1c1d1a;--surface: #272923;--ink: #f5f1e8;--muted: #b5b7aa;--line: #44473d;--focus: #a8c9f1;--danger: #ffb4a8;color-scheme:dark}*{box-sizing:border-box}html{-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;overscroll-behavior:none;scroll-padding:24px}body{margin:0;min-width:320px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;color:inherit;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;transition:transform .14s var(--ease),background-color .14s ease}button:active{transform:scale(.98)}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:5px}::selection{background:var(--accent);color:var(--accent-ink)}input,select{caret-color:var(--ink)}a{color:inherit;text-underline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Outfit,sans-serif;font-weight:500}h1{font-size:clamp(2.3rem,4.9vw,4.8rem);line-height:1.06;letter-spacing:-.035em;text-wrap:balance}h2{font-size:1.6rem;line-height:1.2;letter-spacing:-.02em}h3{font-size:1.15rem;letter-spacing:-.015em}p{line-height:1.6}svg{flex-shrink:0}.muted{color:var(--muted)}.small{font-size:.88rem}.full{width:100%}.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}.app-shell{max-width:1600px;margin:0 auto;padding:0 max(28px,env(safe-area-inset-left)) 0 max(28px,env(safe-area-inset-right));min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}.skip-link{position:fixed;top:8px;left:16px;z-index:10;transform:translateY(-150%);background:var(--accent);color:var(--accent-ink);padding:16px}.skip-link:focus{transform:translateY(0)}.app-header{display:flex;align-items:center;justify-content:space-between;min-height:104px;border-bottom:1px solid var(--line);gap:24px;padding-top:env(safe-area-inset-top)}.brand-button{border:0;background:none;padding:8px 0}.brand{display:inline-flex;align-items:center;font-family:Outfit,sans-serif;font-size:2rem;letter-spacing:-.04em;font-weight:600;line-height:1}.brand-dot{color:var(--muted)}.brand-disc{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:var(--ink);margin-right:10px}.brand-disc i{width:10px;height:10px;border:3px solid var(--ground);border-radius:50%}.app-header nav{display:flex;align-items:center;gap:12px}.app-header nav>button{background:none;border:0;padding:12px;font-size:.9rem;min-height:48px}.app-header nav .nav-active{box-shadow:inset 0 -2px var(--ink)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:48px;min-width:48px;min-height:48px;padding:10px;background:none;border:1px solid var(--line);border-radius:50%}.app-header nav .icon-button{border:1px solid var(--line)}main{flex:1;width:100%;outline:none}footer{display:flex;justify-content:space-between;gap:20px;padding:28px 0 max(28px,env(safe-area-inset-bottom));color:var(--muted);font-size:.78rem;border-top:1px solid var(--line);margin-top:56px}.primary,.secondary,.reveal-button{display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:15px 24px;min-height:56px;border-radius:10px;font-weight:600;font-size:1rem;border:0}.primary{background:var(--accent);color:var(--accent-ink)}.secondary{background:transparent;border:1px solid var(--line);color:var(--ink)}.reveal-button{background:var(--ink);color:var(--ground)}.text-button{background:none;border:0;display:inline-flex;align-items:center;gap:10px;padding:12px 0;min-height:48px;font-size:.9rem}.notice{padding:16px 20px;background:var(--surface);border:1px solid var(--line);margin-top:24px;border-radius:10px;line-height:1.5;display:flex;align-items:center;justify-content:space-between;gap:16px}.notice.error{color:var(--danger)}.notice .icon-button{flex-shrink:0}.working{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:var(--ink);color:var(--ground);padding:14px 24px;border-radius:10px;z-index:20;box-shadow:0 6px 20px #0002;text-align:center;max-width:calc(100% - 32px);width:max-content;font-size:.9rem}.loading{min-height:60vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:24px}.loading p{color:var(--muted)}.auth-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:clamp(40px,7vw,120px);max-width:1180px;margin:64px auto 32px;align-items:center}.welcome h1 span{color:var(--muted)}.welcome>p{max-width:420px;margin-top:24px;color:var(--muted);font-size:1.05rem}.welcome-example{display:flex;align-items:center;gap:24px;margin-top:32px}.welcome-example>span{font-size:.8rem;line-height:1.6;color:var(--muted);max-width:140px}.welcome-example .music-card{width:180px;max-width:180px;flex-shrink:0}.welcome-example .card-front{padding:18px}.welcome-example .card-front h2{font-size:1.25rem;line-height:1.15}.welcome-example .song-year{font-size:3.5rem}.welcome-example .song-artists{font-size:.7rem}.auth-panel{max-width:400px;width:100%;justify-self:end}.auth-panel>h2{font-size:2.2rem}.auth-panel>p{color:var(--muted);margin-top:12px}.auth-tabs{display:flex;border-bottom:1px solid var(--line);margin:32px 0 24px}.auth-tabs button{flex:1;min-height:48px;border:0;background:none;font-size:.95rem;color:var(--muted);border-bottom:2px solid transparent}.auth-tabs button[aria-pressed=true]{border-bottom-color:var(--ink);color:var(--ink);font-weight:600}fieldset{border:0;margin:0;padding:0;min-width:0}label{display:flex;flex-direction:column;gap:9px;font-size:.9rem;font-weight:500;min-width:0}form label+label{margin-top:20px}input,select{width:100%;background:var(--ground);border:1px solid var(--line);border-radius:8px;color:var(--ink);font-size:16px;min-height:54px;padding:12px 14px;min-width:0}input::placeholder{color:var(--muted);opacity:1}select{padding-right:32px}form .full{margin-top:28px}.auth-panel .fine-print{font-size:.8rem;line-height:1.6;margin-top:20px;max-width:38ch}.color-0{--card: #efa38b}.color-1{--card: #c0b1e2}.color-2{--card: #e8be62}.color-3{--card: #b8cf97}.color-4{--card: #a3cbd7}.music-card{width:min(100%,340px);perspective:1400px;color:#242720}.card-rotator{position:relative;width:100%;display:grid;transform-style:preserve-3d;transition:transform .24s cubic-bezier(.4,0,.2,1)}.music-card.is-revealed .card-rotator{transform:rotateY(180deg)}.card-face{position:relative;grid-area:1 / 1;-webkit-backface-visibility:hidden;backface-visibility:hidden;border-radius:16px;overflow:hidden;background:var(--card);padding:28px}.card-back{aspect-ratio:4 / 5;display:flex;flex-direction:column;justify-content:space-between;align-items:center}.card-wordmark{align-self:flex-start;font:600 1.5rem Outfit,sans-serif;letter-spacing:-.04em}.card-back-caption{font-size:.75rem;font-weight:500}.record{width:100%;aspect-ratio:1;border-radius:50%;background:#292d27;display:grid;place-items:center;position:relative;border:1px solid #41463a}.record:before,.record:after{content:"";position:absolute;inset:12%;border:1px solid #515649;border-radius:50%}.record:after{inset:20%;border-color:#43483c}.record-label{border-radius:50%;width:34%;aspect-ratio:1;background:var(--card, #efa38b);display:grid;place-items:center;z-index:1}.record-label span{font:500 2.6rem Outfit,sans-serif;letter-spacing:-.04em;color:#242720;transform:translateY(-3px)}.card-back .record{width:88%}.card-front{gap:16px;overflow:visible;transform:rotateY(180deg);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}.song-artists{font-size:1rem;font-weight:500;overflow-wrap:anywhere;line-height:1.4}.card-front h2{font-size:clamp(1.8rem,2.9vw,2.8rem);line-height:1.12;letter-spacing:-.03em;overflow-wrap:anywhere;max-width:100%;margin:12px 0}.song-year{font-family:Outfit,sans-serif;font-size:clamp(4.5rem,7vw,6rem);font-weight:500;line-height:.95;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.home-page{max-width:1180px;margin:56px auto 0}.home-top{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:64px}.home-top h1{font-size:clamp(3rem,5.8vw,5.5rem)}.home-top p{color:var(--muted);margin-top:24px}.home-top .primary{margin-top:32px}.home-record{background:var(--surface);padding:36px;aspect-ratio:1;display:flex;flex-direction:column;justify-content:space-between;align-items:center;max-width:370px;justify-self:end;width:100%;border-radius:16px;--card: #e8be62}.home-record .record{max-width:270px}.home-record>span{font-size:.78rem;color:var(--muted);text-align:center;margin-top:20px}.spotify-connection{border-block:1px solid var(--line);padding:28px 0;display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:48px}.spotify-connection h2{font-size:1.3rem}.spotify-connection p{font-size:.9rem;color:var(--muted);margin-top:8px}.spotify-connection button{flex-shrink:0}.resume-section{margin-top:40px}.resume-section>h2{margin-bottom:16px}.how-to{display:grid;grid-template-columns:1fr 1fr 1fr 1.5fr;gap:28px;margin-top:48px;padding-top:28px}.how-to p{font-size:.9rem;color:var(--muted)}.how-to b{color:var(--ink);display:block;margin-bottom:4px}.history-page{max-width:1100px;margin:56px auto}.history-page>p{margin-top:16px}.history-list{list-style:none;padding:0;margin:24px 0 0}.history-list li{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);padding:22px 0}.history-list li p{font-size:.85rem;color:var(--muted);margin-top:6px}.history-list li .secondary{flex-shrink:0;min-height:48px;font-size:.9rem}.empty-state{padding:64px 0}.empty-state p{color:var(--muted);margin:16px 0 28px}.setup-page{max-width:960px;margin:32px auto 0}.setup-page>h1{margin-top:20px}.setup-page>p{margin-top:14px}.setup-layout{display:grid;grid-template-columns:1fr 1fr;gap:80px;margin-top:40px}.setup-layout h2{margin-bottom:16px}.setup-layout section>p{margin-bottom:20px}.player-inputs{display:flex;flex-direction:column;gap:12px}.player-inputs>div{display:flex;align-items:center;gap:12px}.player-number{display:grid;place-items:center;width:36px;min-width:36px;height:36px;border-radius:50%;font-family:Outfit;background:var(--card);color:#242720}.add-player{margin-top:16px;width:100%}.music-options label{margin-top:20px}.year-range{display:flex;align-items:flex-end;gap:16px}.year-range>span{padding-bottom:17px;color:var(--muted)}.year-range label{width:50%}.setup-bottom{border-top:1px solid var(--line);margin-top:40px;padding-top:28px;display:flex;align-items:center;justify-content:space-between;gap:24px}.setup-bottom p{font-size:.85rem;color:var(--muted)}.setup-bottom .primary{min-width:200px}.validation{color:var(--danger);margin-top:24px}.game-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 0;color:var(--muted);font-size:.85rem}.separator{margin:0 14px;color:var(--line)}.game-layout{display:grid;grid-template-columns:minmax(360px,1.4fr) minmax(280px,1fr);gap:clamp(32px,6vw,96px);max-width:1200px;margin:0 auto}.game-stage{display:flex;flex-direction:column;align-items:center;gap:24px}.turn-heading{text-align:center;width:100%}.turn-heading h1{font-size:clamp(1.8rem,3.2vw,2.8rem);overflow-wrap:anywhere}.turn-heading p{font-size:.95rem;color:var(--muted);margin-top:10px}.turn-controls{width:min(100%,340px);display:flex;flex-direction:column;gap:12px}.turn-controls>span{text-align:center}.playback-controls,.answer-controls{display:flex;gap:12px}.playback-controls>button,.answer-controls>button{flex:1;min-width:0;padding-inline:14px}.timelines{border-left:1px solid var(--line);padding-left:32px;max-height:calc(100vh - 210px);max-height:calc(100dvh - 210px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.timelines>h2{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:20px}.timelines>h2>span{font-family:DM Sans;font-size:.8rem;font-weight:400;color:var(--muted);letter-spacing:0}.player-timeline{padding:20px 0;border-top:1px solid var(--line)}.player-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;font-variant-numeric:tabular-nums}.player-heading h3{display:flex;align-items:center;gap:10px;overflow-wrap:anywhere}.player-dot{width:12px;min-width:12px;height:12px;border-radius:50%;background:var(--card)}.current-player h3{font-weight:600}.current-player .player-dot{outline:2px solid var(--ink);outline-offset:3px}.progress-track{display:flex;gap:5px;margin-top:14px}.progress-track i{height:4px;flex:1;border-radius:2px;background:var(--line)}.progress-track .filled{background:var(--ink)}.empty-timeline{font-size:.8rem;color:var(--muted);margin-top:12px}.timeline-cards{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}.mini-card{display:flex;align-items:center;gap:16px;padding:12px 14px;background:var(--card);color:#242720;border-radius:8px}.mini-card>strong{font:500 1.65rem Outfit;font-variant-numeric:tabular-nums;letter-spacing:-.03em}.mini-card>div{min-width:0;display:flex;flex-direction:column;gap:3px}.mini-card b{font-size:.85rem;font-weight:600;overflow-wrap:anywhere}.mini-card span{font-size:.75rem;overflow-wrap:anywhere}@media(hover:hover)and (pointer:fine){.primary:hover{background:#f1bb6b}.secondary:hover,.icon-button:hover,.app-header nav>button:hover{background:var(--surface)}.reveal-button:hover{opacity:.9}.text-button:hover{text-decoration:underline;text-underline-offset:5px}}@media(min-width:1700px){:root{font-size:20px}.app-shell{padding-inline:56px;max-width:1900px}.app-header{min-height:128px}.game-layout{max-width:1560px;grid-template-columns:1.3fr 1fr}.music-card,.turn-controls{width:390px}.game-stage{gap:32px}.card-front h2{font-size:2.5rem}.song-year{font-size:6rem}.timelines{padding-left:48px}.home-page,.auth-layout{max-width:1500px}.auth-panel{max-width:480px}.welcome-example .music-card{width:220px;max-width:220px}.welcome-example .song-year{font-size:3.5rem}button,input,select{min-height:60px}.icon-button{min-width:60px;min-height:60px;width:60px}}@media(max-width:1000px){.auth-layout{gap:40px}.welcome h1{font-size:3.6rem}.game-layout{grid-template-columns:minmax(320px,1.2fr) minmax(270px,1fr);gap:32px}.timelines{padding-left:24px}.setup-layout,.home-top{gap:40px}.how-to{grid-template-columns:1fr 1fr}.home-record{padding:28px}.auth-panel>h2{font-size:2rem}}@media(max-width:759px){.app-shell{padding-inline:max(20px,env(safe-area-inset-left)) max(20px,env(safe-area-inset-right))}.app-header{min-height:84px;gap:12px}.brand{font-size:1.75rem}.brand-disc{width:25px;height:25px;margin-right:8px}.app-header nav{gap:2px}.app-header nav>button{font-size:.8rem;padding:10px}.app-header nav .icon-button{width:44px;min-width:44px;min-height:44px}.app-header .logout{font-size:.75rem}.auth-layout{display:flex;flex-direction:column;align-items:stretch;gap:36px;margin:36px auto 0;max-width:440px}.welcome h1{font-size:clamp(2.5rem,9vw,3.5rem)}.welcome h1 br:first-child{display:none}.welcome>p{font-size:.95rem;max-width:38ch;margin-top:18px}.welcome-example{display:none}.auth-panel{max-width:none;justify-self:stretch}.auth-panel>h2{font-size:1.7rem}.auth-panel>p{margin-top:8px}.auth-tabs{margin-top:24px}.home-page{margin-top:36px}.home-top{display:block}.home-top h1{font-size:3.5rem}.home-record{display:none}.home-top p{font-size:.95rem}.spotify-connection{align-items:flex-start;flex-direction:column;gap:20px;margin-top:36px}.spotify-connection .secondary{width:100%}.how-to{gap:24px;grid-template-columns:1fr;margin-top:36px}.how-to p b{display:inline;margin-right:6px}.how-to p{max-width:40ch}.game-layout{display:flex;flex-direction:column;gap:36px}.game-heading{padding:12px 0 20px}.game-heading>span{font-size:.75rem}.game-stage{gap:22px}.turn-heading h1{font-size:1.9rem}.turn-heading p{font-size:.85rem}.music-card{width:min(76vw,300px)}.turn-controls{width:min(100%,360px)}.card-face{padding:24px}.card-front h2{font-size:2rem}.song-year{font-size:5rem}.timelines{border-left:0;border-top:1px solid var(--line);padding:24px 0 0;max-height:none;overflow:visible}.timelines>h2{font-size:1.5rem}.timeline-cards{display:grid;grid-template-columns:1fr}.history-page{margin-top:36px}.history-list li{align-items:flex-start;flex-direction:column;gap:16px}.history-list li>button{width:100%}.setup-page{margin-top:20px}.setup-page>h1{font-size:2.5rem}.setup-layout{display:flex;flex-direction:column;gap:36px;margin-top:32px}.setup-bottom{align-items:stretch;flex-direction:column}.setup-bottom .primary{width:100%}.setup-bottom p{text-align:center}.player-inputs .icon-button{width:44px;min-width:44px}.history-list h3{font-size:1.1rem}.notice{padding:12px;font-size:.9rem}footer{margin-top:40px;padding-top:24px;flex-direction:column;gap:6px;font-size:.72rem}}@media(max-width:390px){.app-shell{padding-inline:16px}.app-header nav>button{padding-inline:7px}.brand{font-size:1.5rem}.brand-disc{width:22px;height:22px}.app-header{gap:6px}.app-header nav .icon-button{min-width:40px;width:40px}.app-header .logout{padding-inline:5px}.game-heading .text-button{font-size:.8rem}.game-heading>span{font-size:.7rem}.separator{margin-inline:6px}.turn-heading h1{font-size:1.7rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}button:active{transform:none}}html[data-input=keyboard] *,html[data-input=keyboard] *:before,html[data-input=keyboard] *:after{transition:none!important;animation:none!important}.spotify-link{font-size:.8rem;color:var(--muted);text-align:center;padding:12px;min-height:48px;display:flex;justify-content:center;align-items:center}@media(max-width:759px){.app-header nav{min-width:0;flex-wrap:wrap;justify-content:flex-end}}.player-heading:focus-visible,.timeline-cards li:focus-visible{outline-offset:-3px;border-radius:8px}.player-timeline{scroll-margin-block:8px}@media(min-width:1200px)and (max-height:1100px){.game-heading{padding-block:12px}.game-stage{gap:20px}.game-stage>.music-card{width:min(340px,calc((100vh - 600px)*.8));min-width:230px}.turn-heading h1{font-size:2rem}.turn-heading p{font-size:.85rem}.timelines{max-height:calc(100vh - 230px)}.card-front h2{font-size:2rem}.song-year{font-size:5rem}}
