@font-face{font-family:Bravura;src:url('/game-assets/beat-workshop/v2/Bravura.otf') format('opentype');font-display:swap}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:ui-rounded,'PingFang TC','Noto Sans TC',system-ui,sans-serif;color:#2b4e48;background:#efe5ce}button,select,input{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{border:1px solid #a1b7a3;border-radius:16px;padding:11px 17px;background:#fff9e9;color:#2b4e48;font-weight:750;cursor:pointer;min-height:44px;box-shadow:0 3px 0 #304c4020}button:hover{background:#f7f0d6}button:active{transform:translateY(2px);box-shadow:none}button:disabled{cursor:default;opacity:.55}button.primary{background:#2e6c5c;color:#fff9e9;border-color:#438474}button.primary:hover{background:#245749}a{color:inherit}header{height:64px;display:flex;align-items:center;gap:12px;padding:8px 24px;border-bottom:1px solid #637c6325;background:#fcf5e5;position:relative;z-index:3}header a{text-decoration:none;white-space:nowrap;font-size:14px}.brand{flex:1;min-width:0}.brand strong{font-size:20px}.brand small{display:block;font-size:9px;letter-spacing:2px;margin-top:3px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:750;color:#7e8064}main{height:calc(100dvh - 64px);display:flex;flex-direction:column;position:relative;background:radial-gradient(ellipse at 50% 45%,#fff4d5,#dfd7ba);isolation:isolate}.service{display:flex;align-items:center;justify-content:space-between;padding:12px 4vw 7px;z-index:2}.service h1{font-size:clamp(20px,2.2vw,30px);margin:2px 0}.order-counter{display:grid;text-align:right;gap:3px;font-size:12px}.order-counter b{font-size:15px}.scoreboard{display:grid;grid-template-columns:1.3fr 1fr;gap:14px;padding:0 4vw;z-index:2;max-width:1300px;width:100%;align-self:center}.scoreboard article{border:1px solid #d5c799;border-radius:18px;background:#fffbeded;padding:8px 14px;box-shadow:0 5px 20px #5e4b2920;min-width:0}.scoreboard article.is-current{border-color:#729889}.score-label{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px}.score-label span{font-size:10px;color:#64786d}.scoreboard svg{display:block;width:100%;height:clamp(70px,11vh,112px);color:#294c46;overflow:visible}.music{font-family:Bravura}.meter{font-size:29px;font-weight:800}.staff{stroke:currentColor;stroke-width:1;opacity:.4;fill:none}.stem{stroke:currentColor;stroke-width:1.5;fill:none}.beam{stroke:currentColor;stroke-width:4;fill:none}.tie{stroke:currentColor;stroke-width:1.7;fill:none}.count{font-size:12px;text-anchor:middle;fill:#64766b}.triplet{font-size:16px;font-style:italic}.event rect{fill:transparent}.event.cursor rect{fill:#f0d69d}.bar-report svg{width:100%;height:100px}.stage{flex:1;min-height:170px;position:relative;isolation:isolate;overflow:hidden}#scene{position:absolute;inset:-10% 0 -15%;z-index:-1}#scene canvas{width:100%;height:100%;display:block}#scene-status{position:absolute;left:50%;top:2px;transform:translateX(-50%);margin:0;white-space:nowrap;border-radius:30px;padding:6px 15px;background:#fff7e4dc;color:#345a4a;font-size:13px}#beat-count{position:absolute;top:38px;left:50%;transform:translateX(-50%);font-size:22px;font-weight:850;background:#2a5147eb;color:#fff7db;border-radius:40px;padding:5px 20px;white-space:nowrap}.handoff{position:absolute;bottom:102px;left:50%;transform:translateX(-50%);background:#fffae7e8;padding:6px 14px;border-radius:30px;font-size:12px;white-space:nowrap}.pads{position:absolute;bottom:14px;left:8%;right:8%;display:flex;justify-content:space-between;gap:20px}.cook-pad{width:32%;max-width:300px;min-height:76px;border-radius:23px;touch-action:none;user-select:none;-webkit-user-select:none;background:linear-gradient(#559b8d,#2e7267);color:#fffbe5;border:2px solid #a4c6b0;box-shadow:0 6px 0 #245449,0 10px 20px #304c4030;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px}.cook-pad.berry{background:linear-gradient(#c38187,#9d5966);border-color:#edbac1;box-shadow:0 6px 0 #774651,0 10px 20px #304c4030}.cook-pad strong{font-size:22px}.cook-pad small{font-size:10px;opacity:.85}.station-name{font-size:11px}.cook-pad.active{outline:3px solid #fff9d6;outline-offset:4px}.cook-pad.pressed{transform:translateY(5px);filter:brightness(1.15);box-shadow:none}.solo .pads{justify-content:center}.solo #pad-1{display:none}.solo .cook-pad{width:40%}#render-note{position:absolute;top:100px;left:8%;right:8%;font-size:12px;text-align:center;background:#fff8e3}footer{padding:4px 4vw 10px;background:linear-gradient(#e7e0c900,#ded9c5);z-index:2}footer>p{text-align:center;font-size:13px;margin:2px 0 9px;min-height:18px}.primary-actions{display:flex;gap:12px}.primary-actions>*{flex:1;min-width:0}.minor{display:flex;align-items:center;gap:10px;margin-top:8px}.minor button{border:0;box-shadow:none;background:none;min-height:30px;padding:2px;font-size:12px}.minor span{margin-left:auto;font-size:10px;color:#66766b}dialog{border:1px solid #c8b887;border-radius:30px;background:#fff9e9;color:#2b4e48;width:min(680px,calc(100vw - 28px));max-height:calc(100dvh - 30px);padding:30px;overflow:auto;box-shadow:0 20px 80px #183b3555}dialog::backdrop{background:#24483bd6;backdrop-filter:blur(5px)}dialog h2{font-size:clamp(25px,4vw,36px);margin:10px 0 15px}dialog p,dialog li{font-size:15px;line-height:1.8}dialog li{margin-bottom:10px}dialog button{margin-top:12px}label{display:flex;flex-direction:column;gap:8px;font-weight:750;font-size:14px;margin:12px 0}select{padding:10px 12px;border:1px solid #b0c0a3;border-radius:10px;background:#fffdf2;color:#2b4e48;min-height:44px;width:100%}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.full{width:100%;grid-column:1/-1}.callout{background:#e8ecd8;padding:15px;border-radius:16px}.back-link{display:block;text-align:center;margin:20px 0 3px}.check{flex-direction:row;align-items:center}.check input{width:20px;height:20px;accent-color:#2e6c5c}.bar-report article{padding:12px 0;border-bottom:1px solid #cbd4bc}.bar-report h3{font-size:15px;margin:4px 0}.bar-report p{font-size:13px;margin:3px 0}.bar-report .good{color:#2d7160}.bar-report .practice{color:#9b5e36}.still *{animation:none!important;transition:none!important}.board .scoreboard svg{height:125px}.board button{font-size:18px}.fallback #scene{background:radial-gradient(ellipse at center,#fbf2d6,#b7c9a7)}.fallback .stage:before{content:'青葉主廚　　♬　　莓果主廚';position:absolute;top:45%;left:0;right:0;text-align:center;font-size:24px;font-weight:800;opacity:.5}
@media(min-width:1500px){.stage #scene{inset:-22% 0 -35%}footer{padding-inline:15vw}}@media(max-width:650px){header{height:56px;padding:6px 9px;gap:7px}.brand strong{font-size:15px}.brand small{font-size:7px;letter-spacing:1px}header button{padding:8px;font-size:11px;min-height:40px;border-radius:12px}header a{font-size:11px}main{height:calc(100dvh - 56px)}.service{padding:9px 13px 5px}.service .eyebrow{font-size:8px;letter-spacing:1.4px}.service h1{font-size:20px}.order-counter{font-size:10px}.order-counter b{font-size:12px}.scoreboard{gap:7px;padding:0 10px;grid-template-columns:1.2fr 1fr}.scoreboard article{padding:7px 5px;border-radius:13px}.score-label{display:block;font-size:10px}.score-label span{display:block;font-size:8px;margin-top:3px}.scoreboard svg{height:70px}.stage{min-height:180px}#scene{inset:0 -30% -6%}#scene-status{font-size:10px;padding:5px 9px;top:6px}#beat-count{font-size:17px;top:35px}.pads{left:6%;right:6%;bottom:14px;gap:14px}.cook-pad{width:45%;min-height:72px;border-radius:20px}.cook-pad strong{font-size:19px}.solo .cook-pad{width:70%}.handoff{font-size:10px;bottom:99px;padding:5px 8px}footer{padding:3px 12px 7px}footer>p{font-size:11px;line-height:1.5;margin-bottom:5px}.primary-actions{gap:8px}.primary-actions button{padding:9px;font-size:13px}.minor{gap:9px;margin-top:4px}.minor button{font-size:10px}.minor span{font-size:8px}dialog{padding:22px;border-radius:24px}dialog p,dialog li{font-size:13px}.board .scoreboard svg{height:90px}}
@media(max-height:650px) and (min-width:651px){header{height:52px}main{height:calc(100dvh - 52px)}.service{padding-top:5px}.service h1{font-size:21px}.scoreboard svg{height:65px}.stage{min-height:135px}.cook-pad{min-height:58px}.handoff{bottom:83px}.cook-pad strong{font-size:18px}#scene{inset:-50% 0 -50%}#beat-count{font-size:15px;top:26px}#scene-status{font-size:10px;padding:4px 10px}footer>p{font-size:11px;margin:0 0 4px}.minor{margin-top:3px}}
@media(max-width:380px) and (max-height:650px){.service{padding-top:5px}.service h1{font-size:17px}.scoreboard svg{height:55px}.stage{min-height:160px}#scene-status{font-size:9px}footer>p{font-size:10px}.cook-pad{min-height:60px}.cook-pad strong{font-size:17px}.handoff{bottom:87px}.minor span{max-width:125px;text-align:right}.brand small{display:none}}

.music{font-weight:400!important;font-synthesis:none;fill:currentColor}
@media(max-width:650px) and (min-height:700px){.scoreboard{grid-template-columns:1fr;gap:5px}.scoreboard .current svg{height:82px}.scoreboard .upcoming{display:grid;grid-template-columns:84px 1fr;align-items:center;padding:4px 8px}.scoreboard .upcoming svg{height:50px}.scoreboard .upcoming .score-label{font-size:9px}.scoreboard .upcoming .callout{font-size:10px;margin:0;padding:5px}.stage #scene{inset:-5% -32% -12%}}

.fallback #scene{background:url('./cover.svg') center/contain no-repeat}.fallback .stage:before{display:none}

.event.received rect{fill:#d3e8ce}.event.missed rect{fill:#f4d1ce}.event.near rect{fill:#f7e2b3}.bar-report .event.received{color:#2f705b}.bar-report .event.missed{color:#a74b48}

@media(min-width:651px){.pads{justify-content:center;gap:8vw}.solo .pads{gap:0}}

/* Relay score and key share the same two fixed column centres. */
body:not(.solo) .scoreboard{grid-template-columns:1fr 1fr}body:not(.solo) .pads{left:4vw;right:4vw;display:grid;grid-template-columns:1fr 1fr;gap:14px}body:not(.solo) .cook-pad{width:88%;max-width:300px;justify-self:center}body:not(.solo) .scoreboard article[data-station="0"].is-current{border:2px solid #347c6c;background:#eef8e9}body:not(.solo) .scoreboard article[data-station="1"].is-current{border:2px solid #a35e70;background:#fff1ef}.scoreboard article.is-current .score-label b{font-weight:850}.scoreboard article.is-preview{background:#fffbed; border-style:dashed}.scoreboard article.is-finished{opacity:.65}.scoreboard article .score-label b{line-height:1.6}
@media(min-width:1414px){body:not(.solo) .pads{left:calc((100% - 1300px)/2 + 4vw);right:calc((100% - 1300px)/2 + 4vw)}}
@media(max-width:650px){body:not(.solo) .scoreboard{gap:7px}body:not(.solo) .scoreboard .upcoming{display:block;padding:7px 5px}body:not(.solo) .scoreboard .upcoming .score-label{font-size:10px}body:not(.solo) .scoreboard .current svg,body:not(.solo) .scoreboard .upcoming svg{height:82px}body:not(.solo) .pads{left:10px;right:10px;gap:7px}body:not(.solo) .cook-pad{width:94%}.scoreboard article .score-label b{display:block}}

body:not(.solo) .scoreboard .score-label{display:block}body:not(.solo) .scoreboard .score-label span{display:block;margin-top:2px}
