/* Espinho Rush 3D — dark PLB arcade */
:root{--hot:#ff0a8a;--light:#fff;--ink:#09070e;--soft:#a7a0ae}
.three-main{background:#070609;overflow:hidden}.three-main *, .three-main *::before,.three-main *::after{box-sizing:border-box}
.three-hero{padding:30px 0 70px;background:radial-gradient(circle at 80% 0%,rgba(255,10,138,.17),transparent 39%),linear-gradient(180deg,#0f0914,#070609 83%)}
.three-topline{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;font-weight:900;letter-spacing:.18em;color:#8f8697}.three-topline a{color:#f9c3dc}.three-topline a:hover{color:#ff0a8a}
.three-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:177px}.three-overline{display:inline-block;color:#ff55ad;letter-spacing:.17em;font-size:11px;font-weight:900}.three-heading h1,.three-ranking h2{font-size:clamp(48px,7vw,92px);letter-spacing:-.085em;line-height:.95;font-weight:1000;margin:8px 0 14px;color:#fff}.three-heading h1 em,.three-ranking h2 em{font-style:normal;color:#ff0a8a}.three-heading p{color:#bbb3c2;font-size:15px;line-height:1.5;margin:0}.three-brand-mark{width:120px;flex-shrink:0;filter:drop-shadow(0 15px 26px #ff0a8a33)}.three-brand-mark img{width:100%;height:auto}
.three-scores{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid #ffffff18;background:#141018;gap:1px;margin:13px 0 0}.three-scores>div{padding:17px 20px;border-right:1px solid #ffffff18;min-width:0}.three-scores>div:last-child{border:0}.three-scores small{display:block;color:#a99eb0;font-size:10px;letter-spacing:.12em;font-weight:900}.three-scores strong{display:block;color:white;font-size:clamp(18px,2.15vw,28px);letter-spacing:-.045em;margin-top:4px;white-space:nowrap;font-variant-numeric:tabular-nums}.three-scores #threeLives{color:#ff3f9b}
.three-stage{position:relative;width:100%;border:1px solid #ff0a8a42;background:#19091e;isolation:isolate;overflow:hidden;box-shadow:0 20px 90px #000a,0 0 0 1px #ffffff09;aspect-ratio:1100/610;min-height:390px}
#threeCanvas{display:block;width:100%;height:100%;outline:0;touch-action:none}
.three-stage-top{position:absolute;inset:13px 18px auto;display:flex;justify-content:space-between;pointer-events:none;z-index:2;font-weight:1000;font-size:10px;letter-spacing:.18em;color:#fff;text-shadow:0 1px 8px #000}.three-sector{color:#ff8ec9}.three-fallback{position:absolute;inset:0;z-index:20;display:grid;place-items:center;background:#100b17;padding:35px;text-align:center;color:white;font-size:18px}.three-fallback[hidden]{display:none!important}
.three-overlay,.three-tutorial{position:absolute;inset:0;z-index:7;display:grid;place-items:center;padding:20px;background:linear-gradient(100deg,#090611ed,#090611b6 58%,#1b051ab5);overflow-y:auto}.three-overlay[hidden],.three-tutorial[hidden]{display:none!important}
.three-dialog{max-width:520px;text-align:center;color:white}.three-dialog h2{font-size:clamp(43px,6vw,75px);font-weight:1000;line-height:.98;letter-spacing:-.082em;margin:14px 0}.three-dialog h2 em{font-style:normal;color:#ff0a8a}.three-dialog p{max-width:370px;margin:15px auto 23px;font-size:14px;color:#cec4d0;line-height:1.6}.three-dialog small{display:block;color:#ada4b1;margin:12px auto;max-width:440px;line-height:1.5}
.three-button{min-height:48px;padding:13px 25px;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:19px;cursor:pointer;border:1px solid #ff9fcd52;background:#e7007b;font-size:12px;font-weight:1000;letter-spacing:.09em;transition:filter .2s,transform .2s}.three-button:hover{transform:translateY(-2px);filter:brightness(1.15)}.three-button span{font-size:20px}
.three-tutorial{z-index:11;background:linear-gradient(125deg,#07030ff2,#220518f1)}.three-tutorial-card{width:min(100%,540px);border:1px solid #ff0a8a99;background:radial-gradient(circle at 50% 0%,#ff0a8a32,transparent 50%),#130e1b;padding:23px 30px 19px;text-align:center;box-shadow:0 12px 65px #0009;max-height:100%;overflow:auto}.three-tutorial-top{display:flex;justify-content:space-between;gap:12px}.three-tutorial-top b{color:white;font-size:12px}.three-tutorial-glyph{font-size:66px;color:#ff3199;font-weight:1000;text-shadow:0 0 30px #ff0a8a88;line-height:1.2;margin:10px 0}.three-tutorial-card h2{font-size:clamp(26px,4.5vw,44px);font-weight:1000;letter-spacing:-.055em;line-height:1.06;margin:10px 0;color:white}.three-tutorial-card p{max-width:440px;color:#d4cbd7;font-size:13px;line-height:1.55;margin:0 auto 13px}.three-tutorial-keys{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}.three-tutorial-keys span{padding:7px 11px;background:#ffffff10;color:white;border:1px solid #ffffff24;font-size:11px;font-weight:850}.three-tutorial-progress{display:flex;gap:5px;margin:18px 0 16px}.three-tutorial-progress b{height:3px;flex:1;background:#524350}.three-tutorial-progress b.active{background:#ff0a8a}.three-tutorial-buttons{display:flex;justify-content:space-between;align-items:center;gap:12px}.three-tutorial-buttons>button:first-child{min-height:45px;color:white;border:1px solid #ffffff38;background:#ffffff07;padding:12px 16px;cursor:pointer;font-weight:850;font-size:11px}.three-tutorial-buttons>button:disabled{opacity:.28}.three-tutorial-skip{border:0;background:none;color:#bdacbe;font-size:11px;text-decoration:underline;text-underline-offset:4px;margin-top:13px;cursor:pointer}
.three-notice{position:absolute;top:49px;left:50%;transform:translate(-50%,-16px);z-index:5;background:#080712d9;border:1px solid #ff0a8a88;color:#fff;opacity:0;pointer-events:none;transition:opacity .22s,transform .22s;padding:9px 14px;text-align:center;font-weight:900;font-size:11px;letter-spacing:.08em;max-width:85%}.three-notice.visible{opacity:1;transform:translate(-50%,0)}
.three-bottom-bar{display:flex;justify-content:space-between;gap:20px;padding:15px 0;align-items:center}.three-keyboard{display:flex;flex-wrap:wrap;gap:14px}.three-keyboard span{color:#b3a9b9;font-weight:800;font-size:10px;white-space:nowrap}.three-keyboard kbd{display:inline-block;background:#211627;border:1px solid #69506a;color:white;border-radius:4px;padding:4px 7px;margin:0 3px 0 0;font:inherit}.three-actions{display:flex;flex-wrap:wrap;gap:9px}.three-actions button{background:#201524;color:#fff;border:1px solid #ffffff26;font-size:10px;letter-spacing:.05em;font-weight:900;padding:10px 13px;cursor:pointer}.three-actions button:disabled{opacity:.35}.three-actions button:hover{border-color:#ff0a8a99}
.three-touch-controls{display:none;grid-template-columns:repeat(4,1fr);gap:9px;padding:8px 0 16px;touch-action:manipulation}.three-touch-controls button{min-width:0;min-height:68px;background:linear-gradient(160deg,#2a1229,#160b1d);border:1px solid #ffffff3c;color:white;font-size:26px;font-weight:900;touch-action:manipulation;cursor:pointer}.three-touch-controls button.pink{background:linear-gradient(135deg,#ff0a8a,#a60058);border-color:#ff87c1}.three-touch-controls button span{display:block;font-size:9px;letter-spacing:.05em}
.three-game-foot{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:13px 0 0}.three-game-foot>div{border:1px solid #ffffff15;background:#100c14;padding:18px}.three-game-foot strong{display:block;color:white;font-size:16px}.three-game-foot span{display:block;font-size:12px;color:#ad9fb0;margin-top:5px}
.three-audio-slot{display:flex;justify-content:flex-end;margin-top:10px}.page-espinho .audio-player{position:relative;inset:auto;min-height:64px;max-width:390px;clip-path:none}
.three-ranking{padding:82px 0 110px;border-top:1px solid #ffffff10;background:radial-gradient(circle at 85% 10%,#ff0a8a14,transparent 45%),#0a080d}.three-ranking-head{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:0 0 34px}.three-ranking-head h2{font-size:clamp(39px,5.6vw,67px)}.three-ranking-head p{color:#b9aaba;font-size:14px;margin:0}.three-crown{font-size:100px;color:#f70a81;line-height:1;opacity:.65}.three-ranking-panel{border:1px solid #ffffff20;background:#131018}.three-tabs{display:flex;gap:12px;padding:17px 20px;border-bottom:1px solid #ffffff1a}.three-tabs button{background:#211a28;border:1px solid #ffffff26;color:#fff;padding:10px 17px;cursor:pointer;font-size:11px;font-weight:900}.three-tabs button.active{background:#ff0a8a;border-color:#ff0a8a}.three-table-scroll{overflow:auto}.three-ranking table{width:100%;border-collapse:collapse;text-align:left;min-width:510px}.three-ranking th{font-size:11px;color:#a6a0ad;letter-spacing:.13em;padding:15px 19px;border-bottom:1px solid #ffffff21}.three-ranking td{padding:16px 19px;border-bottom:1px solid #ffffff15;color:#fff;font-size:14px}.three-ranking td:first-child{font-weight:900;color:#ff4fad}.three-ranking tbody tr:hover{background:#ff0a8a12}.three-ranking-status{font-size:12px;color:#b6a6b8;padding:13px 20px;margin:0}.three-ranking-note{padding:19px 0;font-size:13px;color:#aba1ae}.three-ranking-note span{color:#ff0a8a}.three-ranking-note a{color:white;border-bottom:1px solid #ff0a8a}
@media(max-width:900px){.three-bottom-bar{flex-direction:column;align-items:flex-start}.three-heading h1{font-size:65px}.three-brand-mark{width:95px}.three-stage{min-height:350px}}
@media(max-width:680px){.three-hero{padding:20px 0 35px}.three-heading{min-height:140px}.three-heading h1{font-size:clamp(42px,9vw,61px)}.three-heading p{font-size:12px}.three-overline{font-size:9px}.three-brand-mark{width:68px}.three-scores>div{padding:11px 5px;text-align:center}.three-scores small{font-size:8px;letter-spacing:0}.three-scores strong{font-size:15px}.three-scores #threeLives{font-size:12px}.three-stage{aspect-ratio:375/465;min-height:340px}.three-stage-top{font-size:8px;inset:12px 9px auto}.three-overlay,.three-tutorial{padding:9px}.three-dialog h2{font-size:clamp(36px,11vw,54px)}.three-dialog p{font-size:12px}.three-dialog small{font-size:10px}.three-tutorial-card{padding:13px 15px}.three-tutorial-glyph{font-size:36px;margin:4px 0}.three-tutorial-card h2{font-size:24px;margin:8px 0}.three-tutorial-card p{font-size:11px;line-height:1.45}.three-tutorial-keys span{font-size:9px;padding:5px 8px}.three-tutorial-progress{margin:11px 0}.three-tutorial-buttons .three-button,.three-tutorial-buttons>button:first-child{padding:8px 10px;min-height:39px;font-size:10px}.three-tutorial-skip{margin-top:9px}.three-keyboard{display:none}.three-bottom-bar{align-items:flex-end;padding:8px 0}.three-touch-controls{display:grid}.three-game-foot{grid-template-columns:1fr}.three-game-foot>div{padding:13px}.three-audio-slot{display:block}.page-espinho .audio-player{width:100%;max-width:none}.three-ranking{padding:55px 0 85px}.three-ranking-head h2{font-size:40px}.three-crown{display:none}}
@media(max-width:380px){.three-stage{aspect-ratio:320/460}.three-heading h1{font-size:37px}.three-heading p{font-size:11px}.three-brand-mark{width:55px}.three-scores strong{font-size:13px}.three-touch-controls button{min-height:61px}.three-tutorial-card p{font-size:10px}.three-tutorial-glyph{font-size:27px}}
@media(prefers-reduced-motion:reduce){.three-button,.three-notice{transition:none}}

.three-fallback a,.three-topline a{color:#ff78be;text-decoration:underline;text-underline-offset:4px}

/* Speedometer: progress follows the real simulation, not a decorative timer. */
.three-speed-hud{display:flex;align-items:center;gap:10px;font-weight:900;color:#fff;font-variant-numeric:tabular-nums;text-shadow:0 1px 7px #000}
.three-speed-hud strong{min-width:81px;text-align:right;white-space:nowrap;color:#fff;font-size:12px;letter-spacing:.055em}
.three-speed-track{display:block;width:78px;height:6px;background:#ffffff3b;border:1px solid #ffffff33;overflow:hidden;box-shadow:0 0 12px #ff0a8a33}
.three-speed-track i{display:block;width:0;height:100%;background:linear-gradient(90deg,#ff0a8a,#ffb7df);box-shadow:0 0 8px #ff0a8a;transition:width .22s linear}
@media(max-width:680px){.three-speed-hud{gap:5px}.three-speed-hud strong{font-size:10px;min-width:68px}.three-speed-track{width:46px;height:5px}}
