/* pitch-coin source adapted into a wide web stage; no changes to song or global tokens. */
#module-pitch .yp-level{display:grid;gap:5px;flex:0 0 auto;min-width:215px;padding-left:26px;border-left:1px solid var(--line);font-size:12px;color:var(--yc-muted)}
#module-pitch .yp-level strong{font:500 17px/1.4 var(--body);color:var(--ink)}
#module-pitch .yp-demo{display:grid;grid-template-rows:minmax(0,1fr) 68px;gap:0;height:100%;min-height:0;background:#fffefb;border-radius:18px;overflow:hidden;border:1px solid rgba(40,29,14,.06)}
#module-pitch .yp-game{min-height:0;display:grid;grid-template-rows:70px minmax(0,1fr) 42px;background:radial-gradient(120% 60% at 50% 0%,#2a2318,#14110c 60%);color:#fbf3e2;overflow:hidden}
#module-pitch .yp-game-head{display:flex;align-items:center;gap:20px;padding:15px 26px 9px;min-width:0}
#module-pitch .yp-scene{display:grid;gap:3px;flex:0 0 auto}
#module-pitch .yp-scene>span{font-size:9px;font-weight:500;letter-spacing:.16em;color:#ffc285}
#module-pitch .yp-scene>strong{font:400 20px/1.3 var(--title)}
#module-pitch .yp-demo-label{padding:5px 8px;border:1px solid rgba(255,210,122,.24);border-radius:5px;color:#f3d5a1;font-size:11px;white-space:nowrap}
#module-pitch .yp-note-list{display:flex;align-items:center;justify-content:center;gap:14px;flex:1;min-width:0;color:#d2c5b1;font-size:13px}
#module-pitch .yp-note-list span{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:1px solid rgba(255,235,200,.15);transition:background .15s,color .15s,border-color .15s}
#module-pitch .yp-note-list span.is-current{background:#ffd27a;color:#211608;border-color:#ffd27a}
#module-pitch .yp-note-list span.is-done{border-color:#ffd27a;color:#ffd27a}
#module-pitch .yp-demo-progress{display:grid;gap:4px;text-align:right;flex:0 0 auto}
#module-pitch .yp-demo-progress span{font-size:11px;color:#c2b39e}
#module-pitch .yp-demo-progress strong{font-size:17px;font-weight:400;color:#ffd27a;font-variant-numeric:tabular-nums}
#module-pitch .yp-canvas-wrap{position:relative;min-height:0;width:100%}
#module-pitch .yp-canvas{position:absolute;inset:0;display:block;width:100%;height:100%}
#module-pitch .yp-canvas-state{position:absolute;top:10px;left:58px;right:20px;text-align:right;pointer-events:none;font-size:12px;line-height:1.4;color:#d4c2a9}
#module-pitch .yp-judge-label{position:absolute;left:calc(48px + (100% - 48px)*.32);bottom:2px;transform:translateX(-50%);font-size:10px;color:#e29d7c;background:#17120c;padding:1px 5px}
#module-pitch .yp-game-readout{display:flex;align-items:center;justify-content:center;gap:10px;font-size:12px;color:#c6b9a7;padding:0 24px;min-width:0}
#module-pitch .yp-game-readout strong{font-size:16px;font-weight:400;color:#ffd27a;min-width:65px}
#module-pitch .yp-action-note{margin-left:18px;color:#d4c2a9;font-size:11px}
#module-pitch .yp-controls{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:10px 24px;color:var(--ink);background:#fffefb;min-width:0}
#module-pitch .yp-buttons{display:flex;align-items:center;gap:8px;flex:0 0 auto}
#module-pitch .yp-controls button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 13px;border-radius:9px;border:0;background:transparent;font:400 13px/1.4 var(--body);color:var(--ink);white-space:nowrap;cursor:pointer;transition:background .15s,transform .15s}
#module-pitch .yp-controls button:hover{background:#f4eee4}
#module-pitch .yp-controls button:active{transform:translateY(1px)}
#module-pitch .yp-controls button:focus-visible{outline:2px solid #e74216;outline-offset:3px}
#module-pitch .yp-controls button svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
#module-pitch .yp-controls button.yp-play{min-width:128px;background:var(--red);color:#fffdf8}
#module-pitch .yp-controls button.yp-play:hover{background:#e83c10}
#module-pitch .yp-time{display:flex;align-items:center;gap:10px;min-width:130px;max-width:370px;flex:1;font-size:11px;color:var(--yc-muted);font-variant-numeric:tabular-nums}
#module-pitch .yp-time-track{height:3px;background:#e9e2d6;flex:1;min-width:35px;border-radius:2px;overflow:hidden}
#module-pitch .yp-time-track i{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left;background:#d69336}
@media(max-width:900px){
 #module-pitch .yp-level{display:none}
 #module-pitch .yp-demo{height:430px;grid-template-rows:minmax(0,1fr) 68px}
 #module-pitch .yp-note-list{gap:8px}
 #module-pitch .yp-game-head{gap:12px;padding-inline:20px}
 #module-pitch .yp-controls{padding-inline:16px;gap:15px}
}
@media(max-width:600px){
 #module-pitch .yp-demo{height:430px;grid-template-rows:minmax(0,1fr) 106px;border-radius:14px}
 #module-pitch .yp-game{grid-template-rows:65px minmax(0,1fr) 42px}
 #module-pitch .yp-game-head{padding:12px 16px 6px;gap:10px}
 #module-pitch .yp-scene>strong{font-size:18px}
 #module-pitch .yp-scene>span{font-size:8px}
 #module-pitch .yp-demo-label{display:none}
 #module-pitch .yp-note-list{gap:5px;justify-content:flex-end}
 #module-pitch .yp-note-list span{width:23px;height:26px;border-radius:5px;font-size:11px}
 #module-pitch .yp-demo-progress{display:none}
 #module-pitch .yp-canvas-state{font-size:10px;left:52px;right:12px;max-width:220px;margin-left:auto}
 #module-pitch .yp-action-note{display:none}
 #module-pitch .yp-controls{display:grid;grid-template-rows:auto auto;gap:5px;padding:9px 10px 12px}
 #module-pitch .yp-buttons{justify-content:space-between;gap:3px}
 #module-pitch .yp-controls button{padding-inline:8px;font-size:12px;gap:5px}
 #module-pitch .yp-controls button.yp-play{min-width:113px}
 #module-pitch .yp-time{width:100%;max-width:none;padding:0 7px;box-sizing:border-box;font-size:10px;gap:8px}
}
@media(prefers-reduced-motion:reduce){#module-pitch .yp-controls button,#module-pitch .yp-note-list span{transition:none}}
