.tt-penalty-page,.tt-penalty-page.has-tasks,.tt-penalty-page:not(.has-tasks){position:relative;display:block;width:100%;max-width:1800px;margin:6px auto}
.tt-penalty-frame-wrap{width:100%;height:auto;aspect-ratio:1375/862;min-height:0;overflow:hidden;border:0;border-radius:0;background:#031017;box-sizing:border-box}
@media(max-width:700px){.tt-penalty-frame-wrap{aspect-ratio:auto;height:750px}}
@media(max-width:480px){.tt-penalty-page,.tt-penalty-page.has-tasks,.tt-penalty-page:not(.has-tasks){width:min(calc(100% + 32px),calc(100vw - 16px));max-width:none;margin-inline:clamp(-16px,calc((100% - 100vw + 16px)/2),8px)}}

/* Volt Arena task panel: decoration scales independently of live mission content. */
.tt-penalty-page .tt-penalty-tasks{display:none;position:fixed;right:var(--volt-task-right,12px);top:var(--volt-task-top,64px);z-index:1000;width:var(--volt-task-width,440px);max-width:calc(100% - 24px);height:auto;min-height:0;max-height:min(var(--volt-task-height,700px),calc(100dvh - var(--volt-task-top,64px) - 12px));box-sizing:border-box;padding:17px 26px 30px;border:0;border-radius:0;background:transparent url('/games/penalty-rush/volt/tasks-shell.svg') center/100% 100% no-repeat;box-shadow:none;filter:drop-shadow(0 10px 20px #000b);color:#ecf6fb;font-family:Arial,Helvetica,sans-serif;font-style:italic;overflow:visible;container-type:inline-size}
.tt-penalty-page.volt-tasks-open .tt-penalty-tasks{display:flex;flex-direction:column;gap:0}
.tt-penalty-page .tt-penalty-tasks>header{position:relative;display:flex;align-items:center;justify-content:center;gap:16px;flex:none;min-height:64px;padding:0 48px 12px;margin:0 0 14px;border:0;background:none}
.tt-penalty-page .tt-penalty-tasks>header:before,.tt-penalty-page .tt-penalty-tasks>header:after{content:"";position:absolute;bottom:14px;width:18px;height:20px;background:repeating-linear-gradient(90deg,#ffbf1b 0 5px,transparent 5px 8px);transform:skew(-35deg);filter:drop-shadow(0 0 5px #ffad00)}
.tt-penalty-page .tt-penalty-tasks>header:before{left:12%}.tt-penalty-page .tt-penalty-tasks>header:after{right:15%}
.tt-penalty-page .tt-penalty-tasks>header h2{color:#f2f7fa;margin:0;font:italic 900 clamp(22px,6.2cqw,34px)/1 Arial,Helvetica,sans-serif;text-transform:uppercase;letter-spacing:1px;text-shadow:0 2px 2px #73848a,0 5px 5px #000}
.tt-penalty-page .tt-penalty-tasks>header>span{position:relative;display:grid;place-items:center;flex-shrink:0;width:54px;height:40px;padding:0;border:0;border-radius:0;clip-path:polygon(20% 0,80% 0,100% 50%,80% 100%,20% 100%,0 50%);background:linear-gradient(#fff7b8 0,#ffd236 12%,#ffac00 80%,#fff5aa 100%);box-shadow:inset 0 0 6px #fff;color:#101416;font:italic 900 34px/1 Arial,sans-serif;text-shadow:0 1px #ffd061}
.tt-penalty-page .volt-tasks-close{position:absolute;right:0;top:4px;display:grid;place-items:center;width:42px;height:42px;padding:0;margin:0;border:0;background:transparent;color:#dcebf0;font:normal 300 38px/1 Arial;cursor:pointer}
.tt-penalty-page .volt-tasks-close:hover{color:#37f3ff}.tt-penalty-page .volt-tasks-close:focus-visible{outline:2px solid #36eaff;outline-offset:2px}
.tt-penalty-page .tt-penalty-tasks-list{display:flex;flex-direction:column;gap:10px;min-height:0;max-height:none;margin:0;padding:4px 0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#2c6774 #06151d}
.tt-penalty-page .tt-penalty-task,.tt-penalty-page .tt-penalty-task.is-complete{display:flex;position:relative;flex-direction:column;flex-shrink:0;gap:0;margin:0;padding:15px 27px 19px;min-width:0;border:0;border-radius:0;background:transparent url('/games/penalty-rush/volt/task-card.svg') center/100% 100% no-repeat;box-shadow:none;color:#eaf4f8}
.tt-penalty-page .tt-penalty-task.is-active{background-image:url('/games/penalty-rush/volt/task-card-active.svg')}
.tt-penalty-page .tt-task-head{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;padding:0;margin:0;border:0;min-height:55px}
.tt-penalty-page .tt-task-icon{position:relative;display:grid;place-items:center;width:64px;height:55px;border:0;border-radius:0;background:linear-gradient(125deg,#35eaff,#244452 25%,#0a1d28 70%,#53efff);clip-path:polygon(22% 0,87% 0,100% 20%,78% 100%,12% 100%,0 80%);color:#30e9ff;box-shadow:none}
.tt-penalty-page .tt-task-icon:before{content:"";position:absolute;inset:1px;background:linear-gradient(125deg,#143947,#061922);clip-path:inherit}
.tt-penalty-page .tt-task-icon svg{position:relative;width:36px;height:36px;filter:drop-shadow(0 2px 5px #00d4ff55)}
.tt-penalty-page .tt-task-heading{min-width:0}.tt-penalty-page .tt-task-heading h3{margin:0;color:#f0f6fa;font:italic 900 clamp(18px,5.4cqw,29px)/1.12 Arial,Helvetica,sans-serif;letter-spacing:-.5px;overflow-wrap:break-word;text-shadow:0 2px 2px #000}
.tt-penalty-page .tt-task-heading>.tt-task-state{display:flex;align-items:center;gap:8px;margin:5px 0 0;color:#ffcb25;font:bold italic clamp(12px,3.7cqw,19px)/1.2 Arial,sans-serif}
.tt-penalty-page .tt-task-state i{display:block;width:11px;height:11px;flex:none;border-radius:50%;background:#ff8b0c}
.tt-penalty-page .tt-task-progress{margin:9px 0 0;padding:10px 0 0;border:0;border-top:1px solid #375966;border-radius:0;background:none}
.tt-penalty-page .tt-task-progress-label{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:0 0 8px;color:#bdcbd2;font:bold italic clamp(12px,3.6cqw,18px)/1.2 Arial,sans-serif}
.tt-penalty-page .tt-task-progress-label strong{color:#f3f6f8;font:900 italic clamp(16px,4.6cqw,24px)/1.2 Arial,sans-serif;overflow-wrap:anywhere}
.tt-penalty-page .tt-task-track{height:12px;margin:0 12px 0;border:1px solid #658694;border-radius:2px;background:linear-gradient(#24424f,#06121a 65%,#132c37);overflow:visible;transform:skew(-12deg)}
.tt-penalty-page .tt-task-track i{display:block;height:100%;max-width:100%;background:linear-gradient(#fff4a0,#ffce25 35%,#ffab00 70%,#ffdf4f);border-radius:2px;box-shadow:0 0 8px #ffb600aa}
.tt-penalty-page .tt-task-reward{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin:10px 0 0;padding:10px 0 0;border:0;border-top:1px solid #375966;border-radius:0;background:none}
.tt-penalty-page .tt-task-reward-label{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;min-width:0;color:#9daeb9;font:500 italic clamp(12px,3.5cqw,18px)/1.2 Arial,sans-serif}
.tt-penalty-page .tt-task-reward-label small{color:#c4cfd4;font:inherit;line-height:1.2}
.tt-penalty-page .tt-task-reward-label>span{display:block;padding-left:16px;border-left:1px solid #617d88;color:#96a8b5;font:inherit;line-height:1.2}
.tt-penalty-page .tt-task-reward strong,.tt-penalty-page .tt-task-reward .tt-card-amount{margin:0;max-width:none;text-align:right;color:#ffd037;font:900 italic clamp(19px,5.2cqw,28px)/1.1 Arial,sans-serif;letter-spacing:-.5px;white-space:nowrap}
.tt-penalty-page .tt-card-amount b{font:inherit;margin-inline-start:.12em}
.tt-penalty-page .tt-task-action{margin:14px 16px 0;padding:0}
.tt-penalty-page .tt-task-action button,.tt-penalty-page .tt-task-action button.is-claim{position:relative;display:block;width:100%;min-height:56px;padding:7px 22px;border:0;border-radius:0;clip-path:polygon(18px 0,calc(100% - 7px) 0,100% 7px,100% calc(100% - 7px),calc(100% - 7px) 100%,7px 100%,0 calc(100% - 7px),0 18px);background:linear-gradient(#fff3a3,#ffaa00);box-shadow:none;color:#13232b;font:900 italic clamp(14px,4.2cqw,22px)/1.1 Arial,sans-serif;white-space:normal;cursor:pointer}
.tt-penalty-page .tt-task-action button:disabled{opacity:1;background:linear-gradient(#71929f,#2f5260);color:#859aa5;cursor:default;isolation:isolate}
.tt-penalty-page .tt-task-action button:disabled:before{content:"";position:absolute;inset:1px;clip-path:inherit;background:linear-gradient(120deg,#193440,#081821);z-index:-1}
.tt-penalty-page .tt-task-action button:not(:disabled):hover{background:linear-gradient(#fff9cb,#ffc735);color:#07151c}
.tt-penalty-page .tt-task-action button:focus-visible{outline:3px solid #fff;outline-offset:-5px}
.tt-penalty-page .tt-penalty-task-time{align-self:flex-start;max-width:100%;margin:8px 0 0;padding:4px 8px;border:1px solid #355c6d;background:#09222e;color:#b3cbd7;font:12px/1.3 Arial,sans-serif;border-radius:0}
.tt-penalty-page .tt-mission-error{margin:10px 0 0;padding:8px;border:1px solid #c77b36;border-radius:0;background:#2d2019;color:#ffdda4;font:14px/1.4 Arial,sans-serif;overflow-wrap:anywhere}
.tt-penalty-page .tt-penalty-all-tasks{position:relative;display:flex;align-items:center;justify-content:space-between;flex:none;gap:12px;min-height:66px;margin:18px 2px 0;padding:12px 40px;border:0;border-radius:0;background:transparent url('/games/penalty-rush/volt/task-footer.svg') center/100% 100% no-repeat;color:#e6f4fa;font:900 italic clamp(20px,5.5cqw,29px)/1.2 Arial,sans-serif;text-decoration:none;box-shadow:none}
.tt-penalty-page .tt-penalty-all-tasks:hover{color:#6ef5ff;filter:brightness(1.2)}.tt-penalty-page .tt-penalty-all-tasks:focus-visible{outline:2px solid #b5ffff;outline-offset:-8px}
.tt-penalty-page .tt-penalty-all-tasks svg{display:block;width:32px;height:32px;flex:none}
@media(max-width:700px){
 .tt-penalty-page .tt-penalty-tasks{position:fixed;inset:16px 8px auto;width:auto;max-width:560px;margin:0 auto;max-height:calc(100dvh - 32px);z-index:1000;padding:15px 16px 20px}
 .tt-penalty-page .tt-penalty-tasks>header{min-height:58px;padding:0 42px 8px;margin-bottom:8px;gap:10px}
 .tt-penalty-page .tt-penalty-tasks>header:before{left:5%}.tt-penalty-page .tt-penalty-tasks>header:after{right:9%}
 .tt-penalty-page .tt-penalty-tasks>header>span{width:42px;height:32px;font-size:27px}
 .tt-penalty-page .volt-tasks-close{right:-4px;top:1px;width:40px;height:40px;font-size:32px}
 .tt-penalty-page .tt-penalty-task{padding:14px 20px 19px}
 .tt-penalty-page .tt-task-head{grid-template-columns:45px minmax(0,1fr);gap:8px;min-height:45px}
 .tt-penalty-page .tt-task-icon{width:45px;height:43px}.tt-penalty-page .tt-task-icon svg{width:29px;height:29px}
 .tt-penalty-page .tt-task-reward-label{gap:5px}.tt-penalty-page .tt-task-reward-label>span{padding-left:6px}
 .tt-penalty-page .tt-task-action{margin:12px 4px 0}.tt-penalty-page .tt-task-action button{min-height:48px;padding:7px 18px}
 .tt-penalty-page .tt-penalty-all-tasks{min-height:57px;padding:12px 27px;margin-top:12px}
}

@media(min-width:701px){
 .tt-penalty-page .tt-penalty-tasks{padding:13px 20px 20px}
 .tt-penalty-page .tt-penalty-tasks>header{min-height:52px;margin-bottom:8px;padding-bottom:7px;gap:10px}
 .tt-penalty-page .tt-penalty-tasks>header>span{width:44px;height:34px;font-size:28px}
 .tt-penalty-page .tt-penalty-tasks>header:before,.tt-penalty-page .tt-penalty-tasks>header:after{width:13px;height:16px;bottom:9px}
 .tt-penalty-page .tt-penalty-tasks>header:before{left:8%}.tt-penalty-page .tt-penalty-tasks>header:after{right:12%}
 .tt-penalty-page .volt-tasks-close{top:0;width:36px;height:36px;font-size:30px}
 .tt-penalty-page .tt-penalty-tasks-list{gap:7px}
 .tt-penalty-page .tt-penalty-task{padding:12px 20px 16px}
 .tt-penalty-page .tt-task-head{grid-template-columns:46px minmax(0,1fr);min-height:43px;gap:9px}
 .tt-penalty-page .tt-task-icon{width:46px;height:43px}.tt-penalty-page .tt-task-icon svg{width:29px;height:29px}
 .tt-penalty-page .tt-task-reward{margin-top:7px;padding-top:8px}
 .tt-penalty-page .tt-task-reward-label{gap:5px 8px}.tt-penalty-page .tt-task-reward-label>span{padding-left:8px}
 .tt-penalty-page .tt-task-action{margin:10px 8px 0}.tt-penalty-page .tt-task-action button{min-height:42px;font-size:16px;padding:6px 14px}
 .tt-penalty-page .tt-task-progress{margin-top:7px;padding-top:7px}
 .tt-penalty-page .tt-penalty-all-tasks{min-height:53px;margin-top:10px;padding:10px 30px;font-size:23px}
}
