/* New independent hero selector; keeps the original Invoker layout intact. */
.hero-switch{display:flex;align-items:center;gap:6px;background:#0a121d;border:1px solid #29384d;padding:5px;border-radius:9px}.hero-tab{background:transparent;border:1px solid transparent;border-radius:6px;padding:10px 21px;color:#97a6bb;font-weight:800;font-size:12px;white-space:nowrap}.hero-tab:hover{background:#263348;color:#fff}.hero-tab.active{border-color:#a18447;background:linear-gradient(130deg,#3e3020,#221d17);color:#eaca7b;box-shadow:inset 0 1px 0 #f4c96725}.hero-tab span{margin-right:6px;font-size:16px}.trainer-view{padding-bottom:1px}.pudge-view{background:radial-gradient(ellipse 64% 20% at 62% 2%,rgba(111,88,35,.13),transparent)}.pudge-emblem{width:144px;height:124px;flex-shrink:0;display:grid;place-items:center;position:relative}.emblem-ring{width:83px;height:83px;border:3px solid #93804d;border-radius:50%;transform:rotate(-18deg);box-shadow:0 0 42px #ce9b4f42,inset 0 0 24px #daa74f32;background:radial-gradient(circle at 35% 30%,#5e5836,#22291b 55%,#0d1415)}.emblem-hook{position:absolute;color:#e8c677;font-size:58px;text-shadow:0 0 22px #d4a05099;transform:rotate(-22deg)}.pudge-hero .hero-copy p{color:#aab8c4}.pudge-mark{font-size:24px;letter-spacing:6px;color:#b6a177}.pudge-mark span{color:#a4c278}.pudge-shell{border-color:#465139}.pudge-topbar{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:10px;min-height:58px;padding:8px 16px;border-bottom:1px solid #2b3c37}.pudge-topbar .timer-display{color:#eadab4}.hook-actions{display:flex;justify-content:flex-end}.pudge-hud{display:flex;align-items:stretch;gap:0;min-height:75px;padding:11px 19px 12px;border-bottom:1px solid #30423e}.pudge-hud>div:not(.pudge-hud-note){min-width:113px;display:flex;flex-direction:column;gap:4px;border-right:1px solid #263b3b;margin-right:17px;padding-right:17px}.pudge-hud small{font-size:9px;letter-spacing:1.05px;color:#8ca19a;font-weight:750}.pudge-hud strong{font:800 25px/1.15 ui-monospace,Consolas,monospace;color:#eaf4ee}.pudge-hud-note{margin-left:auto;align-self:center;color:#8c9c9c;font-size:11px;text-align:right}.pudge-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;min-height:515px}.pudge-center{min-width:0;border-right:1px solid #293a3b}.pudge-arena-frame{position:relative;height:430px;background:linear-gradient(140deg,#1f302d,#101d1b);overflow:hidden;isolation:isolate}.pudge-arena-frame canvas{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair;outline-offset:-4px}.arena-badge,.arena-controls-hint{position:absolute;pointer-events:none;font-size:9px;letter-spacing:1.3px;font-weight:850;color:#b7c9bb;text-shadow:0 2px 6px #000}.arena-badge{top:13px;left:15px;padding:6px 9px;border-radius:3px;background:#0a1617b8;border:1px solid #66866c60}.arena-live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#75c58f;margin-left:5px}.arena-controls-hint{bottom:12px;left:14px;opacity:.7}.pudge-overlay{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(90deg,rgba(7,14,18,.89),rgba(8,16,19,.73));z-index:4;padding:18px}.pudge-overlay-inner{text-align:center;max-width:405px}.pudge-overlay-symbol{font-size:60px;color:#ddb86c;filter:drop-shadow(0 0 22px #ce9c51aa);margin-bottom:9px}.pudge-overlay h2{font-size:25px;line-height:1.12;margin:9px 0 9px;letter-spacing:-.5px}.pudge-overlay p{color:#a1b2b7;line-height:1.55;margin:0 auto 18px;font-size:13px}.pudge-event{position:absolute;left:50%;top:16px;transform:translateX(-50%);pointer-events:none;background:#122e24df;border:1px solid #5fa885aa;color:#acffd4;border-radius:7px;padding:8px 13px;opacity:0;font-weight:800;white-space:nowrap;transition:opacity .18s;z-index:3}.pudge-event.show{opacity:1}.pudge-event.miss{background:#442020e6;border-color:#d76a64;color:#ffd3cf}.pudge-bottom-row{min-height:83px;display:flex;gap:16px;align-items:center;padding:14px 16px;flex-wrap:wrap}.hook-difficulty{display:flex;flex-direction:column;gap:5px}.hook-difficulty label{font-weight:750;color:#8fa5a4;font-size:10px}.hook-difficulty select{background:#111e28;color:#e7eceb;padding:7px 12px;border:1px solid #3c514f;border-radius:5px;cursor:pointer}.hook-guide{display:flex;align-items:center;gap:8px;color:#d7e6dc;font-size:11px;cursor:pointer}.hook-guide input{accent-color:#d4b568;width:16px;height:16px}.pudge-bottom-tip{font-size:11px;color:#81948d;line-height:1.4;max-width:195px;margin-left:auto}.pudge-side{padding:17px 15px;background:#0d151f}.pudge-side-title{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #2c3b45;padding-bottom:11px}.pudge-best{display:flex;flex-direction:column;gap:9px;margin:13px 0 12px;padding:14px;border:1px solid #765e2b;background:linear-gradient(140deg,#322a14,#201b15);border-radius:4px}.pudge-best small{font-weight:800;font-size:10px;color:#aa9874;letter-spacing:.8px}.pudge-best strong{font:800 29px ui-monospace,Consolas,monospace;color:#e8c46d}.pudge-best span{color:#a7a6a2;font-size:11px}.pudge-results{display:flex;flex-direction:column;gap:3px;max-height:192px;overflow-y:auto}.pudge-result{display:flex;justify-content:space-between;align-items:center;border:1px solid #283747;border-radius:4px;background:#131d2b;padding:10px 11px;font-size:11px}.pudge-result b{color:#e7c478}.pudge-result span{color:#8497a2}.pudge-empty{text-align:center;padding:14px 10px;color:#83919f;font-size:12px}.pudge-help{border-top:1px solid #2e3b43;margin-top:14px;padding-top:8px;color:#a2b1ba;font-size:11px;line-height:1.55}.pudge-help h3{font-size:12px;color:#e6ecef;margin:6px 0}.pudge-help p{margin:6px 0}.pudge-help p b{color:#dec579}.pudge-help kbd{background:#1c293a;border:1px solid #3a4e63;padding:1px 4px;border-radius:3px;color:#e8eceb}.pudge-status-line{font-size:10px;color:#769682;border-top:1px solid #27363e;padding-top:10px;margin-top:15px}.pudge-below .eyebrow{color:#b1c883}.pudge-below .feature span{color:#c6b56e}
@media (max-width:1000px){.pudge-main-grid{grid-template-columns:minmax(0,1fr) 220px}.pudge-hud>div:not(.pudge-hud-note){min-width:90px;margin-right:10px;padding-right:10px}.pudge-hud-note{font-size:10px}.pudge-arena-frame{height:405px}}@media (max-width:740px){.header-inner{gap:10px;flex-wrap:wrap;padding-block:9px}.hero-switch{order:3;width:100%;justify-content:center}.hero-tab{flex:1;max-width:180px}.pudge-main-grid{grid-template-columns:1fr}.pudge-center{border-right:0}.pudge-side{border-top:1px solid #31403b}.pudge-hud{flex-wrap:wrap;gap:13px}.pudge-hud>div:not(.pudge-hud-note){min-width:58px;flex:1;margin:0;padding:0}.pudge-hud-note{width:100%;text-align:left;margin:0}.pudge-arena-frame{height:355px}.pudge-mark{display:none}.pudge-bottom-tip{max-width:none;margin:0}.pudge-topbar{grid-template-columns:1fr auto auto}.pudge-topbar .mode-tab{font-size:10px;padding:9px 8px}.pudge-topbar .timer-display{font-size:19px}}@media (max-width:460px){.pudge-topbar{gap:4px;padding:5px}.pudge-topbar .mode-tabs{padding:2px}.pudge-topbar .mode-tab{padding:8px 5px}.pudge-topbar .timer-display{font-size:16px}.pudge-hud{padding:10px}.pudge-hud strong{font-size:21px}.pudge-arena-frame{height:330px}.pudge-overlay h2{font-size:21px}.pudge-bottom-row{gap:12px;padding:10px}.pudge-hero .hero-copy h1{font-size:32px}.pudge-emblem{width:100px;height:110px}.emblem-ring{width:65px;height:65px}.emblem-hook{font-size:45px}}
/* The original Invoker mobile CSS gives .mode-tabs / .timer-display grid areas.
   Define explicit areas for the Pudge toolbar to prevent overlapping controls. */
@media (max-width:640px){
  .pudge-topbar{grid-template-areas:'tabs timer tools';grid-template-columns:minmax(0,1fr) auto auto;row-gap:0;column-gap:8px;min-height:60px;padding:8px 10px}
  .pudge-topbar .mode-tabs{grid-area:tabs;min-width:0;max-width:100%;width:max-content}
  .pudge-topbar .timer-display{grid-area:timer;white-space:nowrap;text-align:center;font-size:18px}
  .pudge-topbar .hook-actions{grid-area:tools}
}
@media (max-width:390px){.pudge-topbar{column-gap:4px;padding:6px}.pudge-topbar .mode-tab{font-size:9px;padding:7px 4px}.pudge-topbar .timer-display{font-size:15px}.pudge-topbar .icon-button{min-width:20px}}
