@font-face{font-family:'SUIT Variable';src:url('assets/SUIT-Variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'Inter Tight';src:url('assets/InterTight-Medium.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:'Inter Tight';src:url('assets/InterTight-Bold.ttf') format('truetype');font-weight:700 900;font-display:swap}
@font-face{font-family:'DM Mono';src:url('assets/DMMono-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
:root{--paper:#fff;--black:#000;--night:#0b0d12;--ink:#10131a;--coral:#f36f63;--coral-deep:#ae322a;--blue:#3d6bc9;--lightblue:#c5d6f5;--butter:#ffe07a;--muted:#565a61;--line:#d6dbe3;--sans:'Inter Tight','SUIT Variable',sans-serif;--mono:'DM Mono','SUIT Variable',monospace;--lane-width:590px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--black);font-family:var(--sans);font-weight:500;word-break:keep-all;-webkit-font-smoothing:antialiased}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--blue);outline-offset:5px}button{border:0}button, a{touch-action:manipulation}[hidden]{display:none!important}.mono{font-family:var(--mono);font-weight:400}.lobby{max-width:1264px;padding:0 48px;margin:0 auto}.site-header{height:106px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:22px;font-size:15px;font-weight:700}.brand img{width:88px;height:auto}.brand-divider{height:23px;width:1px;background:#d6dbe3}.header-right{display:flex;align-items:center;gap:35px}.prototype-label{font-size:10px;color:var(--muted);letter-spacing:.06em}.text-button{background:transparent;padding:10px 0;display:inline-flex;align-items:center;justify-content:center;gap:15px;font-size:14px}.text-button span{font-size:20px}.text-button:hover{color:var(--coral-deep)}.hero{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;gap:45px;padding:68px 0 61px}.eyebrow{font-size:12px;margin:0 0 24px;letter-spacing:.025em;display:flex;align-items:center;gap:9px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--coral);flex-shrink:0}.hero h1{font-size:clamp(48px,5.9vw,77px);font-weight:850;line-height:1.13;letter-spacing:-.065em;margin:0 0 28px}.marked{position:relative;isolation:isolate;white-space:nowrap}.marked:after{content:'';position:absolute;bottom:5%;left:1%;right:-2%;height:23%;background:var(--coral);transform:rotate(-2deg);z-index:-1;border-radius:3px 9px 4px 4px}.hero-description{font-size:17px;line-height:1.85;letter-spacing:-.025em;color:var(--muted);margin:0 0 28px}.hero-link{display:inline-flex;align-items:center;gap:25px;border-bottom:1px solid #000;font-weight:700;font-size:14px;padding:0 0 8px}.hero-link span{font-size:21px;color:var(--coral-deep)}.hero-art{position:relative;height:365px;background:var(--night);border-radius:130px 130px 26px 26px;isolation:isolate;box-shadow:0 14px 32px #10131a13}.stage-art{position:absolute;width:100%;height:100%;object-fit:cover;border-radius:inherit;object-position:center}.hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#000c,transparent 55%);border-radius:inherit;pointer-events:none}.art-tape{position:absolute;top:-12px;left:44%;width:80px;height:28px;background:#c5d6f5b8;transform:rotate(-9deg);z-index:2;backdrop-filter:blur(3px)}.art-caption{position:absolute;z-index:3;bottom:27px;left:30px;color:#fff;display:flex;flex-direction:column;gap:11px}.art-caption .mono{font-size:9px;letter-spacing:.1em;color:#d8dfed}.art-caption-title{font-size:24px;font-weight:800;letter-spacing:-.04em}.art-index{position:absolute;z-index:3;bottom:29px;right:27px;color:#d8dfed;font-size:10px}.selection{border-top:0;padding:0 0 26px;scroll-margin-top:30px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:25px;background-image:url('assets/thread.webp');background-repeat:repeat-x;background-position:top;background-size:auto 4px;padding-top:27px}.section-heading .eyebrow{font-size:10px;margin-bottom:8px;color:var(--muted)}h2{font-size:27px;font-weight:800;letter-spacing:-.05em;line-height:1.2;margin:0}.section-heading p{font-size:13px;color:var(--muted);margin:0 0 3px}.track-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.track{display:grid;grid-template-columns:76px 1fr;align-items:center;gap:17px;text-align:left;position:relative;padding:19px;background:white;border:1px solid var(--line);border-radius:16px;transition:border-color .2s,background .2s,box-shadow .2s,transform .2s;min-height:124px}.track:hover{transform:translateY(-2px);border-color:#7d899c}.track[aria-pressed=true]{border:1.5px solid var(--ink);padding:18.5px;box-shadow:3px 4px 0 var(--lightblue);background:#f9fbff}.track-cover{width:76px;height:76px;border-radius:10px;object-fit:cover;background:var(--night)}.track[data-track='1'] .track-cover{object-position:15% 50%;filter:hue-rotate(22deg)}.track[data-track='2'] .track-cover{object-position:85% 50%;filter:hue-rotate(-22deg)}.track-number{font-size:9px;color:var(--muted);display:block;margin:0 0 8px}.track-title{display:block;font-size:19px;font-weight:800;letter-spacing:-.04em;margin:0 0 6px}.track-info{font-size:10px;color:var(--muted);line-height:1.7}.track-type{font-size:11px;display:block;color:#24448c;margin-top:6px}.track-selected{position:absolute;right:13px;top:13px;width:17px;height:17px;border:1px solid #b7beca;border-radius:50%}.track[aria-pressed=true] .track-selected{background:var(--blue);border-color:var(--blue)}.track[aria-pressed=true] .track-selected:after{content:'';display:block;width:7px;height:4px;border-left:1.5px solid white;border-bottom:1.5px solid white;transform:rotate(-45deg);margin:4px auto}.play-dock{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:31px}.difficulty-wrap{display:flex;align-items:center;gap:20px}.dock-label{font-size:13px;font-weight:700}.segmented{display:flex;padding:4px;background:#f0f2f6;border-radius:11px;gap:3px}.segmented button{padding:10px 18px;border-radius:8px;background:transparent;font-size:13px;color:#565a61;white-space:nowrap}.segmented button[aria-pressed=true]{background:#fff;color:#000;box-shadow:0 1px 4px #10131a14}.primary-button{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:18px 24px;background:var(--coral);color:#000;border-radius:12px;font-size:16px;font-weight:800;box-shadow:inset 0 -3px 0 #0002,inset 0 2px 0 #fff4;min-height:58px;transition:filter .2s,transform .2s}.primary-button:hover{filter:brightness(1.04);transform:translateY(-1px)}.primary-button:active{transform:translateY(1px);box-shadow:inset 0 2px 4px #0003}.button-arrow{font-size:25px;line-height:1}.selection-foot{display:flex;justify-content:space-between;align-items:center;margin-top:17px}.selection-foot p{font-size:11px;color:var(--muted);display:flex;gap:5px;align-items:center;margin:0}.selection-foot p span{margin-left:6px}.selection-foot kbd{font-family:var(--mono);font-size:10px;border:1px solid #d6dbe3;border-bottom-width:2px;border-radius:4px;padding:3px 5px;color:#565a61}.text-button.small{font-size:11px;color:var(--muted)}.site-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:23px 0 32px;gap:20px}.site-footer .mono{font-size:9px;letter-spacing:.035em;color:var(--muted)}.site-footer p{font-size:10px;color:var(--muted);margin:0}
.game{position:fixed;inset:0;background:#000;color:white;overflow:hidden;touch-action:none;isolation:isolate}.game-backdrop{position:absolute;inset:-2%;background:url('assets/signal-stage.webp') center 38%/cover no-repeat;filter:brightness(.72);transform:scale(1.025);z-index:-3}.game[data-track='1'] .game-backdrop{filter:brightness(.7) hue-rotate(22deg)}.game[data-track='2'] .game-backdrop{filter:brightness(.7) hue-rotate(-22deg)}.game-vignette{position:absolute;inset:0;background:linear-gradient(#000b,transparent 33%,#0006 65%,#000e),linear-gradient(90deg,#0009,transparent 25%,transparent 75%,#0009);z-index:-2}#stage{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.game-header{position:absolute;top:0;left:0;right:0;height:90px;padding:23px 35px;display:flex;align-items:center;justify-content:space-between;z-index:4;pointer-events:none}.game-header button{pointer-events:auto}.game-song{display:flex;align-items:center;gap:22px}.game-song img{width:78px;height:auto}.song-divider{height:30px;width:1px;background:#ffffff35}.game-song>div{display:flex;flex-direction:column;gap:5px}.game-song .mono{font-size:9px;color:#bec4d1;letter-spacing:.05em}.game-song strong{font-size:18px;font-weight:800;letter-spacing:-.03em}.game-meta{display:flex;align-items:center;gap:20px}.game-meta>.mono{font-size:11px;color:#c5d6f5}.icon-button{width:38px;height:38px;display:grid;place-items:center;border:1px solid #ffffff40;background:#0005;color:#fff;border-radius:10px}.icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.5}.song-progress{position:absolute;left:35px;right:35px;top:90px;height:2px;background:#ffffff1a;z-index:4}.song-progress>div{height:100%;width:0;background:var(--coral);box-shadow:0 0 14px #f36f63a0}.score-panel{position:absolute;top:131px;right:40px;display:flex;flex-direction:column;align-items:end;gap:8px;pointer-events:none}.score-label{font-size:9px;letter-spacing:.08em;color:#c5d6f5}.score-panel strong{font-size:31px;letter-spacing:-.055em}.score-panel #accuracy{font-size:12px;color:#a7b9df}.combo-panel{position:absolute;top:49%;left:max(6%,calc(50% - 460px));display:flex;align-items:center;flex-direction:column;gap:0;pointer-events:none}.combo-panel strong{font-size:85px;line-height:1.1;letter-spacing:-.075em;font-family:'Inter Tight',sans-serif;font-weight:700}.combo-panel>span{font-size:11px;letter-spacing:.23em;color:#bec4d1}.phrase-card{position:absolute;top:126px;left:50%;transform:translateX(-50%);width:min(550px,calc(100% - 40px));padding:19px 25px 17px;text-align:center;background:#07090fed;border:1px solid #b3c5ee40;border-radius:16px;box-shadow:0 14px 50px #0005;backdrop-filter:blur(14px);z-index:3}.phrase-category{font-size:10px;color:#ffb8af}.phrase-card p{font-size:23px;line-height:1.45;font-weight:750;letter-spacing:-.04em;margin:10px 0 11px}.phrase-card>strong{font-size:14px;font-weight:500;color:#e4eaf5;display:block}.phrase-instruction{font-size:11px;display:block;margin-top:12px;color:#b2bfda;min-height:16px}.phrase-card.answered{border-color:#f36f6360}.judgment{position:absolute;top:65%;left:50%;transform:translate(-50%,-50%);font-family:var(--mono);letter-spacing:.1em;font-size:25px;text-shadow:0 0 22px currentColor;font-weight:400;pointer-events:none;opacity:0;white-space:nowrap}.judgment.visible{animation:judgment-pop .52s ease-out forwards}@keyframes judgment-pop{0%{opacity:1;transform:translate(-50%,-50%) scale(1.12)}20%{opacity:1;transform:translate(-50%,-50%) scale(1)}80%{opacity:1}100%{opacity:0;transform:translate(-50%,-65%)}}.countdown{position:absolute;left:50%;top:49%;transform:translate(-50%,-50%);text-align:center;pointer-events:none}.countdown>.mono{display:block;font-size:104px;color:#fff;letter-spacing:-.09em;text-shadow:0 0 55px #f36f6350}.countdown p{font-size:20px;line-height:1.6;color:#e4eaf5}.countdown small{font-size:12px;color:#b2bfda}.mode-cue{position:absolute;top:111px;left:35px;display:flex;gap:8px;align-items:center;font-size:11px;color:#d0d8e7}.lane-controls{position:absolute;bottom:59px;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(2,1fr);width:min(var(--lane-width),calc(100% - 24px));gap:9px;z-index:5}.lane-controls button{position:relative;min-height:67px;border:1px solid #a5b6dc52;border-radius:10px;background:linear-gradient(145deg,#33426480,#0b111cd9);color:white;user-select:none;-webkit-user-select:none;touch-action:none;box-shadow:inset 0 1px 0 #ffffff20,0 3px 0 #0006;transition:background .07s,border-color .07s}.lane-controls button:nth-child(1),.lane-controls button:nth-child(4){border-bottom:2px solid #f36f6390}.lane-controls button:nth-child(2),.lane-controls button:nth-child(3){border-bottom:2px solid #7ca3f390}.lane-controls button.active{background:#9dbbe859;border-color:#dce7ff;box-shadow:0 0 28px #7ca3f350,inset 0 1px 12px #c5d6f530}.lane-controls button.intent{border-color:#fff;background:#869dc035}.lane-controls button kbd{font-family:var(--mono);font-size:18px;pointer-events:none}.lane-touch{position:absolute;right:10px;bottom:10px;font-family:var(--mono);font-size:8px;color:#95a8ce}.lane-answer{display:none;pointer-events:none}.lane-controls.choosing button{min-height:83px;padding:11px 5px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:#0c111eed;border-color:#6b7a9570;border-bottom-color:#829acb}.lane-controls.choosing .lane-answer{display:block;font-size:15px;font-weight:750;line-height:1.25;max-width:100%;overflow-wrap:anywhere}.lane-controls.choosing kbd{font-size:11px;color:#a8b9d8}.lane-controls.choosing .lane-touch{display:none}.game-bottom{position:absolute;bottom:max(19px,env(safe-area-inset-bottom));left:35px;right:35px;display:flex;align-items:center;justify-content:space-between;color:#b2bfd4;font-size:10px;z-index:5}.game-bottom button{background:transparent;color:#b2bfd4;font-size:10px;padding:5px}.game-bottom button[aria-pressed=true]{color:#fff}.pause-overlay{position:absolute;inset:0;background:#0008;backdrop-filter:blur(16px);display:grid;place-items:center;z-index:20}.pause-card{background:#fff;color:#000;width:min(390px,calc(100% - 40px));border-radius:23px;padding:36px;text-align:center;box-shadow:0 25px 90px #0005}.pause-card .eyebrow{justify-content:center;color:#565a61;font-size:10px;margin-bottom:19px}.pause-card h2{font-size:31px}.pause-card p{color:#565a61;font-size:13px;margin:17px 0 27px}.pause-card .primary-button{width:100%;font-size:14px}.pause-card .text-button{margin-top:18px;font-size:12px}
.results{max-width:1080px;margin:auto;padding:0 40px 50px}.result-header{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.result-header img{width:80px}.result-hero{display:flex;align-items:center;gap:35px;margin:44px 0 36px}.result-cover{position:relative;width:175px;height:145px;border-radius:55px 55px 15px 15px;overflow:hidden;flex-shrink:0}.result-cover img{width:100%;height:100%;object-fit:cover}.result-cover span{position:absolute;bottom:15px;left:17px;color:#fff;font-size:9px}.result-hero .eyebrow{font-size:10px;color:var(--muted);margin-bottom:13px}.result-hero h1{font-size:47px;line-height:1.15;letter-spacing:-.06em;margin:0;font-weight:850}.result-hero>div>p:last-child{font-size:14px;color:var(--muted);margin:14px 0 0}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:29px 0}.result-stats>div{border-right:1px solid var(--line)}.result-stats>div:last-child{border:0}.result-stats span{font-size:12px;color:var(--muted)}.result-stats strong{display:block;font-size:39px;letter-spacing:-.06em;margin:12px 0 11px}.result-stats p{font-size:11px;color:var(--muted);margin:0}.result-main{display:grid;grid-template-columns:1.45fr 1fr;gap:55px;margin-top:40px}.review-section h2{font-size:24px;margin-bottom:23px}.review-item{display:grid;grid-template-columns:23px 1fr;gap:10px;margin:0 0 22px}.review-status{display:grid;place-items:center;width:20px;height:20px;font-size:12px;border-radius:6px;background:#edf2fb;color:#24448c}.review-item.revisit .review-status{background:#fff0e9;color:#9a4334}.review-item strong{display:block;font-size:14px;line-height:1.5;font-weight:700}.review-item p{font-size:12px;line-height:1.65;color:var(--muted);margin:6px 0 0}.recall-card{position:relative;align-self:start;background:#f3f6fc;border:1px solid #d5dff2;border-radius:18px;padding:28px;overflow:visible}.recall-card>img{width:65px;height:65px;object-fit:contain;position:absolute;right:18px;top:-24px;transform:rotate(9deg);filter:drop-shadow(0 4px 3px #0001)}.recall-card>.eyebrow{font-size:9px;color:#24448c;margin:0 0 19px}.recall-card h2{font-size:28px;font-weight:800;line-height:1.3}.recall-card>p:not(.eyebrow){font-size:12px;color:var(--muted);line-height:1.6;margin:14px 0 21px}.secondary-button{width:100%;display:flex;align-items:center;justify-content:space-between;padding:13px 15px;background:#fff;border:1px solid #9baed6;border-radius:9px;font-size:13px;font-weight:700;gap:15px}.result-actions{display:flex;align-items:center;gap:23px;padding-top:25px;margin-top:18px;border-top:1px solid var(--line)}.result-actions>p{font-size:11px;color:var(--muted)}#recall-sentence{font-size:17px;line-height:1.6;font-weight:750;margin:18px 0 12px}#recall-question{font-size:12px;font-weight:500}#recall-options{display:flex;flex-direction:column;gap:7px;margin:14px 0}#recall-options button{border-radius:8px;padding:11px 13px;border:1px solid #b9c8e5;background:#fff;text-align:left;font-size:13px}#recall-options button.chosen{border-color:#24448c;background:#e0e9fa;color:#14284f}#recall-feedback{font-size:12px;line-height:1.7;color:#24448c;margin:14px 0}
dialog{position:fixed;border:1px solid #d6dbe3;border-radius:23px;box-shadow:0 25px 90px #0003;padding:38px;width:min(440px,calc(100% - 32px));color:#000;background:#fff;max-height:calc(100dvh - 40px);overflow:auto}dialog::backdrop{background:#10131a66;backdrop-filter:blur(8px)}dialog>.eyebrow{font-size:10px;color:var(--muted);margin-bottom:17px}dialog>h2{font-size:36px;line-height:1.2;margin-bottom:25px}.dialog-close{position:absolute;right:18px;top:15px;background:transparent;font-size:27px;color:var(--muted);width:35px;height:35px}.help-steps{list-style:none;margin:0;padding:0;counter-reset:help}.help-steps li{counter-increment:help;position:relative;padding-left:36px;margin:22px 0}.help-steps li:before{content:counter(help);position:absolute;left:0;top:0;font-family:var(--mono);font-size:13px;color:#24448c}.help-steps strong{font-size:15px;font-weight:750}.help-steps p,.help-note{font-size:12px;line-height:1.8;color:var(--muted);margin:7px 0}.help-note{border-top:1px solid var(--line);padding-top:17px;margin:21px 0}dialog>.primary-button{width:100%;font-size:14px}.setting-row{display:flex;align-items:center;justify-content:space-between;margin:25px 0}.setting-row strong{display:block;font-size:14px}.setting-row small{display:block;color:var(--muted);font-size:11px;margin-top:7px}.setting-row input{width:20px;height:20px;accent-color:var(--blue)}.offset-label{display:flex;justify-content:space-between;font-size:13px;padding-top:15px;margin-top:15px;border-top:1px solid var(--line)}.offset-label output{font-family:var(--mono);font-size:11px;color:var(--muted)}#offset-setting{width:100%;margin:19px 0 3px;accent-color:var(--blue)}.loading-overlay{position:fixed;inset:0;display:grid;place-content:center;justify-items:center;background:#ffffffee;backdrop-filter:blur(10px);z-index:100}.loading-mark{width:45px;height:45px;border:3px solid #d5dff2;border-top-color:var(--coral);border-radius:50%;animation:spin .9s linear infinite}.loading-overlay p{font-size:13px;color:#565a61;margin-top:23px}@keyframes spin{to{transform:rotate(360deg)}}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:15px 22px;border-radius:12px;background:#10131a;color:#fff;z-index:200;font-size:13px;max-width:calc(100% - 32px);box-shadow:0 6px 30px #0003}.playing{overflow:hidden}
@media(min-width:1600px){:root{--lane-width:670px}.lane-controls{bottom:70px}.lane-controls button{min-height:78px}}
@media(max-width:1000px){.lobby{padding:0 30px}.hero{gap:28px;padding:50px 0}.hero-art{height:325px}.hero h1{font-size:60px}.track{grid-template-columns:55px 1fr;gap:12px;padding:15px}.track[aria-pressed=true]{padding:14.5px}.track-cover{width:55px;height:64px}.track-title{font-size:16px}.track-type{font-size:10px}.track-info{font-size:9px}.score-panel{right:25px;top:122px}.score-panel strong{font-size:23px}.combo-panel{left:4%;top:47%}.combo-panel strong{font-size:60px}.phrase-card{top:119px;width:min(470px,calc(100% - 40px))}.phrase-card p{font-size:21px}.result-main{gap:30px}}
@media(max-width:700px){.lobby{padding:0 22px}.site-header{height:78px}.brand{gap:13px;font-size:12px}.brand img{width:71px}.brand-divider{height:18px}.header-right{gap:0}.prototype-label{display:none}.text-button{font-size:12px;gap:10px}.hero{grid-template-columns:1fr;padding:35px 0 34px;gap:30px}.hero-copy{position:relative}.hero .eyebrow{margin-bottom:18px;font-size:11px}.hero h1{font-size:57px;margin-bottom:20px}.hero-description{font-size:14px;line-height:1.8;margin-bottom:20px}.hero-link{font-size:12px;gap:18px}.hero-art{height:237px;border-radius:75px 75px 18px 18px}.art-caption{bottom:20px;left:23px;gap:8px}.art-caption-title{font-size:22px}.art-caption .mono{font-size:8px}.art-index{font-size:8px;bottom:23px;right:21px}.art-tape{width:65px;height:24px;top:-10px}.section-heading{padding-top:24px;margin-bottom:19px}.section-heading h2{font-size:25px}.section-heading .eyebrow{font-size:8px}.section-heading>p{font-size:10px;max-width:100px;line-height:1.5;text-align:right}.track-grid{grid-template-columns:1fr;gap:11px}.track{grid-template-columns:66px 1fr;gap:17px;padding:15px;min-height:101px}.track[aria-pressed=true]{padding:14.5px}.track-cover{width:66px;height:66px}.track-number{font-size:8px;margin-bottom:5px}.track-title{font-size:18px;margin-bottom:4px}.track-info{font-size:10px}.track-type{position:absolute;right:16px;bottom:18px;font-size:10px;max-width:84px;text-align:right}.play-dock{flex-direction:column;gap:23px;margin-top:28px;align-items:stretch}.difficulty-wrap{justify-content:space-between;gap:13px}.dock-label{font-size:12px}.segmented{padding:3px;gap:1px}.segmented button{padding:10px 12px;font-size:11px}.primary-button{width:100%;font-size:15px;padding:17px 21px}.selection-foot{margin-top:11px}.selection-foot kbd{display:none}.selection-foot p{font-size:9px}.selection-foot p span{margin:0}.text-button.small{font-size:10px}.site-footer{align-items:start;flex-direction:column;gap:12px;padding:21px 0 30px}.site-footer .mono{font-size:8px}.site-footer p{font-size:9px;line-height:1.7}.game-header{height:74px;padding:16px 18px}.game-song{gap:12px}.game-song img{width:57px}.song-divider{height:25px}.game-song .mono{font-size:7px}.game-song strong{font-size:14px}.game-meta{gap:10px}.game-meta>.mono{font-size:8px}.icon-button{width:31px;height:31px;border-radius:8px}.song-progress{left:18px;right:18px;top:74px}.score-panel{top:94px;right:19px;gap:5px}.score-label{font-size:7px}.score-panel strong{font-size:21px}.score-panel #accuracy{font-size:9px}.mode-cue{top:98px;left:18px;font-size:9px}.combo-panel{left:22px;top:42%}.combo-panel strong{font-size:46px}.combo-panel>span{font-size:7px;letter-spacing:.16em}.phrase-card{top:159px;width:calc(100% - 36px);padding:15px 17px 13px;border-radius:13px}.phrase-card p{font-size:20px;margin:8px 0 10px;line-height:1.45}.phrase-category{font-size:9px}.phrase-card>strong{font-size:12px}.phrase-instruction{font-size:10px;margin-top:10px}.judgment{top:64%;font-size:20px}.lane-controls{bottom:61px;gap:6px;width:calc(100% - 24px)}.lane-controls button{min-height:62px;border-radius:9px}.lane-controls button kbd{font-size:16px}.lane-touch{font-size:7px;right:6px;bottom:8px}.lane-controls.choosing button{min-height:89px;padding:11px 4px 9px;gap:8px}.lane-controls.choosing .lane-answer{font-size:13px;line-height:1.25}.game-bottom{left:18px;right:18px;font-size:9px;bottom:max(21px,env(safe-area-inset-bottom))}.game-bottom #hit-hint{display:none}.game-bottom button{font-size:9px}.game-backdrop{background-position:center 35%;filter:brightness(.63)}.countdown{top:48%}.countdown>.mono{font-size:90px}.countdown p{font-size:16px}.countdown small{font-size:11px}.results{padding:0 22px 35px}.result-header{height:78px}.result-header img{width:70px}.result-hero{gap:19px;margin:30px 0}.result-cover{width:95px;height:111px;border-radius:35px 35px 10px 10px}.result-cover span{font-size:7px;bottom:12px;left:12px}.result-hero .eyebrow{font-size:8px;margin-bottom:9px}.result-hero h1{font-size:33px;line-height:1.2}.result-hero>div>p:last-child{font-size:12px;margin-top:10px}.result-stats{gap:12px;padding:23px 0}.result-stats strong{font-size:25px;margin:12px 0 9px}.result-stats span{font-size:10px}.result-stats p{font-size:9px;line-height:1.6;padding-right:8px}.result-main{grid-template-columns:1fr;gap:27px;margin-top:28px}.review-section h2{font-size:23px;margin-bottom:22px}.review-item{margin-bottom:19px}.review-item strong{font-size:13px}.review-item p{font-size:11px}.recall-card{padding:25px}.recall-card h2{font-size:28px}.result-actions{flex-direction:column;align-items:stretch;gap:8px;margin-top:30px}.result-actions>p{text-align:center;font-size:10px}dialog{padding:32px 26px}dialog>h2{font-size:32px}}
@media(max-height:650px) and (min-width:701px){.game-header{height:68px;padding:15px 25px}.song-progress{top:68px;left:25px;right:25px}.mode-cue{top:87px;left:25px}.score-panel{top:93px}.phrase-card{top:83px;padding:12px 20px}.phrase-card p{font-size:18px;margin:7px 0}.phrase-instruction{margin-top:7px}.lane-controls{bottom:44px}.lane-controls button{min-height:49px}.lane-controls.choosing button{min-height:69px}.game-bottom{bottom:12px}.combo-panel strong{font-size:58px}}
@media(max-height:660px) and (max-width:700px){.phrase-card{top:133px;padding:12px 15px}.phrase-card p{font-size:18px}.phrase-instruction{font-size:9px;margin-top:7px}.lane-controls{bottom:48px}.lane-controls.choosing button{min-height:80px}.game-bottom{bottom:14px}.combo-panel{top:47%;left:17px}.combo-panel strong{font-size:37px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.judgment.visible{animation:judgment-fade .52s ease-out forwards!important}@keyframes judgment-fade{0%,80%{opacity:1}to{opacity:0}}}   /* 판정 글자는 움직이지 않고 0.52초 보였다 흐려진다. 끝 장면이 투명한 judgment-pop을 0.01ms로 줄이면 opacity:1을 이겨 보이지 않는다 */

/* Listening gates keep the playing surface free of question text. */
.phrase-card{width:min(380px,calc(100% - 40px));padding:19px 24px;background:#07090fd9}
.phrase-card>strong{font-size:20px;font-weight:750;margin-top:12px}
.voice-wave{display:flex;justify-content:center;align-items:center;gap:5px;height:32px;margin-top:14px}
.voice-wave i{width:4px;height:8px;border-radius:5px;background:#c5d6f5;animation:voice-bars .9s ease-in-out infinite alternate}
.voice-wave i:nth-child(2){animation-delay:-.2s}.voice-wave i:nth-child(3){animation-delay:-.5s}.voice-wave i:nth-child(4){animation-delay:-.35s}.voice-wave i:nth-child(5){animation-delay:-.1s}
.phrase-card:not([data-phase=listening]) .voice-wave i{animation-play-state:paused;height:6px;background:#ffb8af}
@keyframes voice-bars{to{height:29px}}
.lane-controls.choosing .lane-answer{font:800 31px 'Inter Tight',sans-serif;line-height:1}
.lane-controls.choosing button:first-child{border-bottom:3px solid #ff9386}.lane-controls.choosing button:last-child{border-bottom:3px solid #a8c7ff}
.lane-controls.choosing button:disabled{cursor:default;opacity:.45}
.pause-overlay~.voice-wave{animation-play-state:paused}
@media(max-width:700px){.phrase-card{top:153px;width:calc(100% - 72px)}.phrase-card>strong{font-size:18px}.lane-controls.choosing .lane-answer{font-size:31px}.voice-wave{height:25px;margin-top:12px}}

.learning-recommendation{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:22px 25px;margin:0 0 26px;background:#f2f1eb;border:1px solid #dddcd3;border-radius:16px}.learning-recommendation>div{flex:1;min-width:210px}.learning-recommendation strong{font-size:17px}.learning-recommendation p{font-size:13px;line-height:1.7;margin:8px 0}.learning-recommendation small{font-size:11px;color:#61625c;line-height:1.7}.learning-recommendation .secondary-button{width:auto;flex-shrink:0;margin:0}.learning-recommendation .text-button{font-size:11px;min-height:44px}.learning-result-note{font-size:13px;line-height:1.7;color:#575b58;margin:20px 0}.learning-recommendation>button{max-width:100%;white-space:normal}@media(max-width:700px){.learning-recommendation{padding:18px;gap:14px}.learning-recommendation>div{flex-basis:100%;min-width:0}}
/* ════ 펠트 부품(2026-10-04) ═══════════════════════════════════════════════
 * 로비·결과의 누르는 부품을 실제 니들 펠트 사진(assets/felt, docs/디자인/펠트부품의 원본을 줄인 것)으로 깐다.
 * 마감 점검표대로 납작한 CSS 체크 원·검은 윤곽·밀린 그림자·기운 테이프·작은 실땀 줄을 걷었다.
 * 배치·글·게임 화면은 그대로다. 판에 두께가 있어 CSS 윤곽·안쪽 그림자는 넣지 않고, 누르면 3px 가라앉는다. */
:root{--f-cream:url(assets/felt/slab-cream.webp);--f-blush:url(assets/felt/slab-blush.webp);
 --f-cream-l:url(assets/felt/slab-cream-long.webp);--f-blush-l:url(assets/felt/slab-blush-long.webp);--f-coral-l:url(assets/felt/slab-coral-long.webp);
 --f-pill-l:url(assets/felt/chip-blush-long.webp);--f-check:url(assets/felt/badge-check.webp);--f-dot-cream:url(assets/felt/badge-cream.webp);
 --felt-ink:#2a120d;--lift:drop-shadow(0 5px 6px rgba(90,50,30,.16));--lift-down:drop-shadow(0 1px 2px rgba(90,50,30,.2))}
/* 9칸 펠트 판: --fh(판의 배율 높이)에 맞춰 테두리 폭을 정해 모서리·실땀이 늘 같은 배율로 보인다 */
.primary-button,.secondary-button,.segmented button,.track,#recall-options button{--fh:48px;--src:var(--f-cream);--sl:90 95 fill;--bv:.37;--bh:.39;
 box-sizing:border-box;border:solid transparent;border-width:calc(var(--fh)*var(--bv)) calc(var(--fh)*var(--bh));border-radius:18px;
 border-image-source:var(--src);border-image-slice:var(--sl);border-image-width:1;border-image-outset:0;border-image-repeat:round stretch;
 background:none;box-shadow:none;color:var(--felt-ink);filter:var(--lift);transition:transform .07s ease,filter .07s ease,opacity .2s}
.primary-button:hover,.track:hover{transform:none;filter:var(--lift)}
.primary-button:active,.secondary-button:active,.segmented button:active,.track:active,#recall-options button:active{transform:translateY(3px);filter:var(--lift-down);box-shadow:none}
.primary-button:disabled,.secondary-button:disabled,#recall-options button:disabled{opacity:.45}
/* 주 행동(이 곡으로 시작·한 번 더 연주·이어서 연주): 코랄 긴 판, 화살표는 블러시 펠트 알약 */
.primary-button{--fh:60px;--src:var(--f-coral-l);--sl:70 80 fill;--bv:.39;--bh:.44;min-height:var(--fh);padding:0 0 3px;gap:24px;
 color:#fff;font-weight:800;text-shadow:0 1px 1px rgba(120,30,20,.4)}
.primary-button>span[aria-hidden],.primary-button .button-arrow{display:inline-grid;place-items:center;flex:none;min-width:34px;height:32px;padding:0 10px 1px;margin-right:-6px;
 background:var(--f-pill-l) center/100% 100% no-repeat;color:var(--felt-ink);text-shadow:none;font-weight:700}
/* 추천 곡·다른 문장 듣기: 짧은 크림 판 */
.secondary-button{--fh:46px;min-height:var(--fh);padding:0 0 2px;border-radius:18px}
/* 곡 카드: 크림 판, 고른 곡은 블러시 판 + 펠트 체크 배지(납작한 CSS 체크 원·검은 윤곽·밀린 그림자 대신) */
.track{--fh:64px;min-height:112px;padding:0 0 4px;border-radius:18px}
/* 원본의 고른 카드 규칙이 border 축약형으로 펠트 판을 지우므로 판을 다시 깐다 */
.track[aria-pressed=true]{--src:var(--f-blush);border-style:solid;border-color:transparent;border-width:calc(var(--fh)*var(--bv)) calc(var(--fh)*var(--bh));
 border-image-source:var(--src);border-image-slice:var(--sl);border-image-width:1;border-image-outset:0;border-image-repeat:round stretch;padding:0 0 4px;box-shadow:none;background:none}
.track .track-selected{display:none}
.track[aria-pressed=true] .track-selected{display:block;right:calc(var(--fh)*var(--bh)*-1 + 2px);top:calc(var(--fh)*var(--bv)*-1 - 10px);width:30px;height:30px;border:0;border-radius:0;
 background:var(--f-check) center/contain no-repeat;filter:drop-shadow(0 2px 2px rgba(90,30,20,.25))}
.track[aria-pressed=true] .track-selected:after{content:none}
/* 리듬 난이도: 칸마다 짧은 크림 판, 고른 칸은 블러시 */
.segmented{padding:0;background:none;border-radius:0;gap:8px}
.segmented button{--fh:42px;padding:0 0 2px;border-radius:18px;background:none;color:var(--felt-ink)}
.segmented button[aria-pressed=true]{--src:var(--f-blush);background:none;box-shadow:none;color:var(--felt-ink)}
/* 다른 문장 듣기의 보기: 크림 판, 고른 보기는 블러시 */
#recall-options button{--fh:44px;min-height:var(--fh);padding:0 0 2px;border-radius:18px;background:none}
#recall-options button.chosen{--src:var(--f-blush);border-color:transparent;background:none;color:var(--felt-ink)}
/* F·J 글쇠와 닫기: 크림 펠트 원판 */
.selection-foot kbd{display:inline-grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:0;background:var(--f-dot-cream) center/contain no-repeat;color:rgba(42,18,13,.78);font-size:11px}
.dialog-close{display:grid;place-items:center;width:40px;height:40px;background:var(--f-dot-cream) center/contain no-repeat;filter:var(--lift);color:var(--felt-ink);font-size:22px;line-height:1}
/* 마감 점검표: 납작한 테이프와 작은 실땀 줄은 걷는다 */
.art-tape{display:none}
.section-heading{background-image:none;border-top:1px solid var(--line)}
@media(max-width:700px){
 .selection-foot kbd{display:none}
 .primary-button{--fh:56px}
 .segmented{gap:6px}
 .segmented button{--fh:38px;font-size:12px}
 .track{min-height:104px}
 /* 펠트 판의 테두리만큼 안쪽이 좁아져 겹치므로, 휴대폰에서는 곡 갈래를 정보 줄 아래에 둔다 */
 .track-type{position:static;max-width:none;text-align:left;margin-top:4px}
}
@media(prefers-reduced-motion:reduce){.primary-button,.secondary-button,.segmented button,.track,#recall-options button{transition:none}}
