/* A cena é desenhada em perspectiva; o painel da urna mantém os botões HTML acessíveis. */
html{touch-action:manipulation;-webkit-text-size-adjust:100%}body{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}input,textarea,select{-webkit-user-select:auto;user-select:auto;touch-action:manipulation;font-size:16px}button,a,img{touch-action:manipulation;-webkit-touch-callout:none}img{-webkit-user-drag:none}button:focus-visible,a:focus-visible{outline:3px solid #347caf;outline-offset:3px}
.sv-room{position:fixed;inset:0;z-index:1;background:#e6dfd0;overflow:hidden;touch-action:manipulation}.sv-room canvas{width:100%;height:100%;display:block}.sv-room-hud{position:absolute;top:calc(env(safe-area-inset-top,0px) + 14px);left:50%;transform:translateX(-50%);font-size:10px;font-weight:650;letter-spacing:1.1px;color:white;background:#15232dda;padding:10px 16px;border-radius:24px;white-space:nowrap;box-shadow:0 4px 20px #0003}.sv-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#b9d87a;margin-right:6px}.sv-walk{position:absolute;bottom:calc(8% + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(92%,420px);padding:20px;background:#17242ee8;border:1px solid #ffffff35;color:#fff;border-radius:16px;display:grid;gap:8px;text-align:center;box-shadow:0 14px 38px #0004}.sv-walk strong{font-size:19px}.sv-walk span{font-size:13px;color:#dbe4e9}.sv-walk button{background:#fff;color:#243341;margin:6px auto 0;font-size:11px;letter-spacing:.5px;padding:10px 18px}
.sv-walking #app,.sv-walking .top,.sv-walking .mode-banner,.sv-walking footer,.sv-voting .top,.sv-voting .mode-banner,.sv-voting footer{display:none}.sv-voting #app{position:relative;z-index:2;margin:0 auto;padding:calc(60px + env(safe-area-inset-top,0px)) 12px calc(16px + env(safe-area-inset-bottom,0px));min-height:100dvh;max-width:980px;display:flex;flex-direction:column;justify-content:center;pointer-events:none}.sv-voting #app>*{pointer-events:auto}.sv-voting #app>.row{background:#17242ee8;color:white;padding:10px 14px;border-radius:12px;margin:0 0 10px;gap:5px;box-shadow:0 5px 18px #0003}.sv-voting #app>.row h1{font-size:19px;letter-spacing:-.3px;margin:0 0 3px;font-weight:650}.sv-voting #app>.row p{font-size:11px;color:#e1e7e8;margin:0}.sv-voting #sound{font-size:11px;padding:8px;background:#ffffff15;color:#fff;border-color:#ffffff60}.sv-voting .urnabox{width:100%;margin:0 auto 13px;padding:clamp(10px,2.2vw,22px);gap:12px;border:1px solid #c7c8c3;border-radius:13px;background:linear-gradient(160deg,#f1f0e9 0%,#d8d8d0 45%,#babbb4 100%);box-shadow:0 8px 0 #92948e,0 12px 0 #777c76,0 25px 35px #171a1c65,inset 0 2px 2px #fff;transform:perspective(1200px) rotateX(2deg);transform-origin:center bottom;touch-action:manipulation}.sv-voting .urnascreen{background:linear-gradient(125deg,#f8fbfc,#e8edf0);border:5px solid #373f43;border-radius:5px;box-shadow:inset 0 2px 8px #0003;min-height:300px;gap:8px;padding:12px}.sv-voting .screen-head{font-size:10px;letter-spacing:.7px;color:#324852}.sv-voting .urnascreen h2{font-size:clamp(16px,3vw,23px);font-weight:650;margin:4px 0 8px}.sv-voting .urnascreen h3{font-weight:650}.sv-voting .screen-bottom{font-size:10px}.sv-voting .keyboard{background:linear-gradient(160deg,#41484b,#292e31);border:1px solid #202729;border-radius:6px;box-shadow:inset 0 2px 6px #0005;padding:12px;gap:8px}.sv-voting .keyboard-head{background:#c7c8c2;font-size:10px;padding:7px;letter-spacing:.4px}.sv-voting .digits{margin:8px auto;max-width:250px;gap:8px}.sv-voting .digits button{background:linear-gradient(#43494c,#1d2225);border:1px solid #191d20;box-shadow:0 4px 0 #101619,inset 0 1px 1px #ffffff40;border-radius:5px;min-height:40px;font-weight:550;font-size:21px;padding:6px}.sv-voting .actions button{box-shadow:0 4px 0 #15191b,inset 0 1px 2px #ffffff80;min-height:38px;letter-spacing:0;font-size:10px;font-weight:750}.sv-voting .digits button:active,.sv-voting .actions button:active{transform:translateY(3px);box-shadow:0 1px 0 #15191b}.sv-voting .actions .confirm{background:#55b979}.sv-voting .actions .correct{background:#f08a45}.sv-voting #app>p{color:white!important;background:#17242edc;border-radius:8px;padding:8px;margin:5px auto 0;font-size:10px!important}.sv-voting .number-boxes b{font-weight:550;background:#fff}.sv-finished #app{visibility:hidden;pointer-events:none}#toast{z-index:100}
@media(max-width:700px){.sv-voting #app{justify-content:center;max-width:460px}.sv-voting .urnabox{grid-template-columns:1fr;gap:9px}.sv-voting .urnascreen{min-height:210px;padding:9px;gap:4px}.sv-voting .keyboard{padding:8px}.sv-voting .keyboard-head img{width:26px;height:20px}.sv-voting .digits{max-width:230px;gap:6px;margin:2px auto 6px}.sv-voting .digits button{min-height:35px;padding:4px;font-size:19px}.sv-voting .actions button{padding:9px 2px;min-height:34px}.sv-voting .actions .confirm{padding-block:12px}.sv-voting .ballot-photo{width:63px;height:74px}.sv-voting .ballot-vice{width:43px;height:49px}.sv-voting .candidate-preview{grid-template-columns:minmax(0,1fr) 70px}.sv-voting .number-boxes b{width:27px;height:32px;font-size:23px}.sv-voting .urnascreen p{margin:3px 0;font-size:12px}.sv-voting .urnascreen small{font-size:11px}.sv-voting .urnascreen h3{font-size:15px}.sv-voting .screen-bottom{font-size:9px}}
@media(orientation:landscape) and (max-height:600px){.sv-voting #app{max-width:780px;padding-top:45px;justify-content:start}.sv-voting .urnabox{grid-template-columns:1.2fr 1fr;gap:8px}.sv-voting .urnascreen{min-height:220px}.sv-voting .digits{margin:4px auto;gap:5px}.sv-voting .digits button{min-height:28px;font-size:17px;padding:2px}.sv-voting #app>.row{padding:5px 10px}.sv-voting .keyboard-head{padding:4px}.sv-voting .actions button{padding:6px 2px;min-height:30px}.sv-voting .actions .confirm{padding-block:8px}.sv-voting .sv-room-hud{top:5px}.sv-voting #app>p{margin:0}.sv-voting .keyboard{padding:7px}}
