#duel-content{--wd-green:#d9fb63;--wd-blue:#cdcdcd;--wd-red:#ff9ca6;max-width:920px;margin:20px auto 40px;color:#edf3ef}.wd-shell{border:1px solid #454545;border-radius:14px;background:#1f1f1f;min-height:550px;position:relative;overflow:hidden}.wd-screen{padding:24px;min-height:550px;display:flex;flex-direction:column;gap:18px}.wd-button{font:600 13px/1.3 var(--body);color:#e6eeee;background:#373737;border:1px solid #656565;border-radius:7px;padding:11px 15px;min-height:42px;cursor:pointer;transition:background .15s;white-space:normal}.wd-button:hover{background:#4c4c4c}.wd-button:disabled{opacity:.4;cursor:default}.wd-button:focus-visible,.wd-player:focus-visible{outline:2px solid var(--wd-green);outline-offset:3px}.wd-primary{background:var(--wd-green);border-color:var(--wd-green);color:#162309}.wd-primary:hover{background:#e8ff9b}.wd-back,.wd-info,.wd-text{background:none;border-color:transparent;color:#b7cbd0;padding:7px;min-height:36px}.wd-back:hover,.wd-info:hover,.wd-text:hover{background:#3c3c3c}.wd-home-top,.wd-screen-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.wd-brand{font:700 22px var(--display);letter-spacing:.03em}.wd-inbox{font-size:12px;min-height:36px;padding:9px 12px}.wd-home-title{padding:22px 0 10px}.wd-season-chip{font-size:10px;letter-spacing:.12em;color:#b6c9a5}.wd-home-title h2{font:700 62px/.95 var(--display);white-space:pre-line;margin:15px 0;letter-spacing:-.02em}.wd-home-title p{font-size:14px;line-height:1.7;color:#bcbcbc;margin:0}.wd-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wd-mode{min-height:62px;text-align:left;font-size:16px}.wd-home-hint,.wd-home-lineup{font-size:12px;line-height:1.7;color:#b9b9b9;margin:0}.wd-home-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#9a9a9a;font-size:10px}.wd-home-bottom .wd-text{font-size:10px}.wd-challenge-strip{font-size:11px;text-align:left;min-height:39px;background:#293b30;border-color:#51634a}.wd-screen-top h2{font:600 24px/1.1 var(--display);margin:0;text-align:center}.wd-screen-top .wd-back{font-size:12px}.wd-screen-top .wd-info{font-size:19px;min-width:35px}.wd-lineup{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.wd-slot{border:1px dashed #5d5d5d;background:#2a2a2a;border-radius:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:105px;padding:8px 4px;min-width:0;gap:3px;text-align:center}.wd-slot-photo{width:45px;height:45px;object-fit:contain;object-position:bottom;background:#434343;border-radius:5px}.wd-slot-empty{color:#7e7e7e;font-size:27px;line-height:1}.wd-slot-role{font-size:9px;color:#acacac;text-transform:uppercase;letter-spacing:.05em}.wd-slot strong{font-size:11px;line-height:1.2;overflow-wrap:anywhere;max-width:100%}.wd-slot small{font-size:9px;color:#c0d39e}.wd-slot.is-filled{border-style:solid;border-color:#687b50}.wd-roll-heading h3{font:600 24px var(--display);margin:0}.wd-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.wd-team-card{min-height:175px;display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px 10px;text-align:center}.wd-team-card img{width:42px;height:42px;object-fit:contain}.wd-team-card strong{font:700 31px var(--display);color:#d5e7b9}.wd-team-card>span{font-size:12px;line-height:1.3;min-height:31px}.wd-team-card small{font-size:9px;color:#aebfb4;line-height:1.4}.wd-reroll{align-self:center;font-size:12px}.wd-roll{min-height:140px;font-size:23px;margin:0;align-self:stretch}.wd-clue-note,.wd-portrait-note{font-size:10px;line-height:1.7;color:#a9a9a9;margin:0}.wd-draft-bottom{margin-top:auto;display:flex;justify-content:space-between}.wd-draft-bottom .wd-text{font-size:11px}.wd-choice-title{display:flex;align-items:center;gap:14px}.wd-choice-title h3{font-size:14px;margin:0;line-height:1.4}.wd-choice-title .wd-back{padding-left:0;font-size:11px}.wd-player-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.wd-player{min-width:0;padding:0;overflow:hidden;border:1px solid #5c5c5c;background:#323232;color:#f0f6f4;border-radius:8px;text-align:left;cursor:pointer}.wd-player:hover{border-color:#bdd882;background:#2d463d}.wd-player:disabled{opacity:.4}.wd-player-art{height:115px;background:#404040;position:relative;overflow:hidden}.wd-player-photo{width:100%;height:100%;object-fit:contain;object-position:bottom}.wd-role{position:absolute;top:7px;left:7px;font-size:9px;color:#dce9ed;background:#242424d9;padding:3px 5px;border-radius:3px}.wd-crown{position:absolute;right:7px;top:3px;color:#edcd76;font-size:22px;text-shadow:0 2px 5px #000}.wd-player-body{padding:10px}.wd-player-name{display:block;font-size:14px;line-height:1.25;overflow-wrap:anywhere}.wd-player-year{display:block;font-size:11px;color:#b4d2a4;margin:4px 0 7px}.wd-tags{display:flex;flex-wrap:wrap;gap:3px}.wd-tags span{font-size:9px;line-height:1.3;color:#e4e8cb;background:#43523c;padding:3px 5px;border-radius:3px}.wd-trait{display:block;font-size:10px;line-height:1.4;color:#bdbdbd;margin-top:7px}.wd-draft-complete{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;padding:20px 0}.wd-draft-complete h3{font:600 34px var(--display);margin:0}.wd-draft-complete p{font-size:12px;line-height:1.8;color:#b4c7cb;margin:0}.wd-complete-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.wd-inbox-list{display:flex;flex-direction:column;gap:12px}.wd-challenge{border:1px solid #505050;background:#2d2d2d;border-radius:8px;padding:15px;display:grid;grid-template-columns:1fr auto;gap:10px}.wd-challenge>strong{font-size:13px}.wd-challenge>span{font-size:11px;color:#a8bfbc;text-transform:capitalize}.wd-challenge-actions{grid-column:1/-1;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.wd-challenge-actions .wd-button{font-size:11px;padding:8px 11px;min-height:35px}.wd-challenge-actions small{font-size:11px;color:#bcd29d;line-height:1.5}.wd-inbox-nav{display:flex;align-items:center;gap:12px}.wd-inbox-nav>span{font-size:11px;color:#ababab}.wd-inbox-nav .wd-button{font-size:11px;min-height:32px;padding:7px 11px}.wd-note,.wd-error{font-size:12px;line-height:1.6;color:#c2c2c2;margin:0}.wd-error{color:#ffb8a3;background:#492e2a;padding:9px 12px;border-radius:6px}.wd-working{font-size:11px;color:#d9fb63;position:absolute;right:16px;bottom:8px;animation:wd-working 1s infinite alternate}.wd-rules-dialog{background:#292929;color:#e4eeee;border:1px solid #6c6c6c;border-radius:12px;max-width:600px;width:calc(100% - 32px);max-height:80vh;padding:22px}.wd-rules-dialog::backdrop{background:#101010e0;backdrop-filter:blur(4px)}.wd-rules-dialog h2{font:600 29px var(--display);margin:15px 0}.wd-rules-dialog p{font-size:12px;line-height:1.8;color:#b9ccd2}.wd-rules-dialog summary{font-size:12px;cursor:pointer}.wd-rules-dialog a{display:block;font-size:11px;color:#c1d99c;margin:10px 0}.wd-battle{padding:20px;display:flex;flex-direction:column;gap:12px;min-height:unset}.wd-battle-top{display:flex;justify-content:center;align-items:center;gap:16px;font-size:16px}.wd-battle-top>span{color:#9a9a9a;font-size:11px}.wd-live-score{display:grid;grid-template-columns:1fr auto 1fr;gap:5px 22px;align-items:center;text-align:center;max-width:260px;margin:auto}.wd-live-score strong{font:700 32px/1 var(--display)}.wd-home-score{color:var(--wd-blue)}.wd-away-score{color:var(--wd-red)}.wd-game-time{color:#bbced3;font-size:12px}.wd-live-score small{font-size:9px;color:#a5a5a5;grid-column:1/-1}.wd-map{width:100%;max-width:660px;aspect-ratio:1000/740;max-height:45vh;position:relative;overflow:hidden;border:1px solid #476353;border-radius:8px;background:#172b25;margin:auto}.wd-map-terrain{display:block;width:100%;height:100%}.wd-map-overlay{position:absolute;inset:0}.wd-token{position:absolute;left:10%;top:85%;width:35px;height:35px;transform:translate(-50%,-50%);border:2px solid var(--wd-blue);border-radius:50%;background:#3c3c3c;box-shadow:0 0 0 2px #122227cc;transition:left .3s linear,top .3s linear;z-index:2}.wd-token.wd-away{left:90%;top:15%;border-color:var(--wd-red);background:#4e2934}.wd-token-photo{width:100%;height:100%;object-fit:cover;object-position:50% 20%;border-radius:50%;display:block}.wd-token>span:last-child{position:absolute;top:calc(100% + 3px);left:50%;transform:translateX(-50%);font-size:8px;line-height:1.4;background:#191919df;color:#f1f1f1;padding:1px 3px;border-radius:2px;white-space:nowrap}.wd-token.wd-away>span:last-child{color:#ffd7db}.wd-in-combat{box-shadow:0 0 0 4px #e8dd8844,0 0 15px #e8dd8866}.wd-letter{display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;color:#cccccc}.wd-token .wd-letter{font-size:15px}.wd-event-feed{display:flex;gap:9px;min-height:32px;align-items:center;justify-content:center;color:#b6cad0;font-size:12px;line-height:1.5;text-align:center}.wd-event-feed time{color:#d9fb63;font-size:11px;flex:none}.wd-playback-controls{display:flex;justify-content:center;gap:8px}.wd-playback-controls .wd-button{font-size:11px;padding:7px 13px;min-height:32px}.wd-outcome{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;padding:12px;background:#293c29;border:1px solid #6b814a;border-radius:8px}.wd-outcome[hidden]{display:none}.wd-outcome>strong{font:600 25px var(--display);color:#e1f7a4}.wd-result-actions{display:flex;gap:7px}.wd-result-actions .wd-button{font-size:11px;min-height:34px;padding:7px 12px}@keyframes wd-working{to{opacity:.4}}
@media(max-width:700px){#duel-content{margin:10px 0 25px;max-width:100%}.wd-shell{min-height:520px;border-radius:10px}.wd-screen{min-height:520px;padding:16px;gap:13px}.wd-brand{font-size:21px}.wd-home-title{padding:12px 0 6px}.wd-home-title h2{font-size:50px;margin:12px 0}.wd-home-title p{font-size:12px;line-height:1.6}.wd-season-chip{font-size:8px}.wd-mode-grid{grid-template-columns:1fr;gap:9px}.wd-mode{font-size:14px;min-height:50px;padding:12px 14px}.wd-home-hint,.wd-home-lineup{font-size:11px}.wd-home-bottom{font-size:8px}.wd-home-bottom .wd-text{font-size:9px;padding:5px}.wd-screen-top{gap:6px}.wd-screen-top h2{font-size:22px}.wd-screen-top .wd-back{font-size:10px;padding:5px 0}.wd-screen-top .wd-info{padding:5px 0;min-width:25px}.wd-lineup{gap:4px}.wd-slot{min-height:84px;padding:6px 2px;gap:2px;border-radius:5px}.wd-slot-photo{width:33px;height:33px}.wd-slot-role{font-size:7px;letter-spacing:0}.wd-slot strong{font-size:8px}.wd-slot small{font-size:8px}.wd-slot-empty{font-size:22px}.wd-roll-heading h3{font-size:21px}.wd-team-grid{gap:6px}.wd-team-card{min-height:160px;padding:12px 5px;gap:7px;border-radius:6px}.wd-team-card img{width:32px;height:32px}.wd-team-card strong{font-size:29px}.wd-team-card>span{font-size:11px;min-height:30px}.wd-team-card small{font-size:8px}.wd-reroll{font-size:11px;padding:9px 12px;min-height:36px}.wd-roll{min-height:130px;font-size:22px}.wd-clue-note,.wd-portrait-note{font-size:9px;line-height:1.6}.wd-choice-title{gap:10px}.wd-choice-title h3{font-size:12px}.wd-choice-title .wd-back{font-size:10px;min-height:28px}.wd-player-grid{gap:7px;grid-template-columns:repeat(3,minmax(0,1fr))}.wd-player-art{height:76px}.wd-player-body{padding:7px}.wd-player-name{font-size:12px}.wd-player-year{font-size:9px;margin:3px 0 5px}.wd-role{font-size:7px;top:4px;left:4px;padding:2px 3px}.wd-crown{font-size:18px;right:4px;top:0}.wd-tags span{font-size:7px;padding:2px 3px;line-height:1.3}.wd-trait{font-size:8px;line-height:1.4;margin-top:5px}.wd-draft-bottom .wd-text{font-size:10px;min-height:28px;padding:4px}.wd-draft-complete{padding:15px 0;gap:15px}.wd-draft-complete h3{font-size:30px}.wd-draft-complete p{font-size:11px}.wd-complete-actions{flex-direction:column;width:100%}.wd-complete-actions .wd-button{font-size:12px;min-height:43px}.wd-challenge{padding:12px;gap:8px}.wd-challenge>strong{font-size:12px}.wd-challenge>span{font-size:10px}.wd-challenge-actions .wd-button{font-size:10px;min-height:32px;padding:6px 9px}.wd-challenge-actions small{font-size:10px}.wd-inbox-list{gap:9px}.wd-battle{padding:13px;gap:10px}.wd-battle-top{font-size:13px;gap:12px}.wd-live-score strong{font-size:26px}.wd-live-score{gap:3px 22px}.wd-live-score small{font-size:8px}.wd-map{max-height:36vh;aspect-ratio:1.15}.wd-token{width:24px;height:24px;border-width:1.5px}.wd-token>span:last-child{font-size:6px;padding:0 2px;top:calc(100% + 2px)}.wd-token .wd-letter{font-size:12px}.wd-event-feed{font-size:10px;min-height:32px;gap:7px}.wd-event-feed time{font-size:9px}.wd-playback-controls .wd-button{font-size:10px;min-height:29px;padding:6px 11px}.wd-outcome{padding:10px;gap:8px;flex-direction:column}.wd-outcome>strong{font-size:22px}.wd-result-actions .wd-button{font-size:10px;padding:6px 9px;min-height:30px}.wd-note,.wd-error{font-size:11px}.wd-error{padding:8px}.wd-rules-dialog{padding:18px}}
@media(prefers-reduced-motion:reduce){#duel-content *,#duel-content *::before,#duel-content *::after{animation:none!important;transition:none!important}}
@media(max-width:700px){.wd-screen{gap:10px}.wd-player-art{height:52px}.wd-player-body{padding:6px;height:77px;overflow:hidden}.wd-player-year{line-height:1.25;margin:3px 0 4px}.wd-tags{max-height:20px;overflow:hidden}.wd-trait{line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.wd-portrait-note{font-size:8px}.wd-player-name{font-size:12px;line-height:1.2}}
/* Reading screens grow naturally; only battle playback owns a bounded viewport. */
@media(max-width:700px){body.duel-active #duel-content{margin:0;border:0;border-radius:0}body.duel-active #duel-content:not(.wd-battle){height:auto;max-height:none;min-height:0;overflow:visible}body.duel-active #duel-content:not(.wd-battle)>.wd-screen{height:auto;max-height:none;min-height:0;overflow:visible}.duel-active .wd-battle{height:calc(100dvh - 64px);max-height:calc(100dvh - 64px);min-height:0}.duel-active .wd-map{flex-shrink:1;min-height:180px}.duel-active .wd-outcome{flex-shrink:0}}
@media(max-width:700px){.duel-active .wd-live-score{margin:8px auto}.duel-active .wd-map{margin:4px auto;max-height:42dvh;aspect-ratio:1.2}.duel-active .wd-battle{justify-content:flex-start}.duel-active .wd-event-feed{margin-top:6px}.duel-active .wd-outcome{margin-top:4px}}
/* Scout the roster before choosing a team; names remain readable without opening 15 cards. */
.wd-team-card{gap:6px}.wd-team-names{display:flex!important;flex-direction:column;gap:3px;align-self:stretch;min-height:0!important;border-top:1px solid #476158;margin-top:3px;padding-top:7px}.wd-team-name{display:flex;gap:7px;align-items:center;text-align:left;line-height:1.3;font-size:11px;min-width:0}.wd-team-name>span{font-size:8px;color:#92acb3;min-width:10px}.wd-team-name>strong{font:600 12px/1.3 var(--body);color:#edf4e9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.wd-team-name.wd-unavailable{opacity:.33}.wd-team-name.wd-unavailable>strong{text-decoration:line-through}.wd-combat-fx{position:absolute;z-index:4;pointer-events:none;transform:translate(-50%,-50%);width:44px;height:44px;opacity:0;border:2px solid var(--wd-impact-color,#e1d47e);border-radius:50%;box-shadow:0 0 15px var(--wd-impact-color,#e1d47e)}.wd-combat-fx::before,.wd-combat-fx::after{content:'';position:absolute;left:50%;top:50%;width:60px;height:2px;background:var(--wd-impact-color,#e1d47e);transform:translate(-50%,-50%) rotate(35deg);box-shadow:0 0 7px currentColor}.wd-combat-fx::after{transform:translate(-50%,-50%) rotate(-35deg)}.wd-impact{animation:wd-impact-ring .36s ease-out both}.wd-spark{position:absolute;left:50%;top:50%;width:4px;height:4px;background:#fff6c8;transform:rotate(calc(var(--spark)*72deg)) translateX(24px);border-radius:1px}.wd-spark:nth-child(1){--spark:0}.wd-spark:nth-child(2){--spark:1}.wd-spark:nth-child(3){--spark:2}.wd-spark:nth-child(4){--spark:3}.wd-spark:nth-child(5){--spark:4}.wd-nexus-impact{width:75px;height:75px}.wd-victory-mark{font-size:27px;line-height:1;color:#d9fb63}.wd-outcome{animation:wd-result-appear .2s ease-out both}.wd-token{transition-duration:.17s}.wd-outcome>strong{font-size:25px}.wd-outcome .wd-result-actions{flex-wrap:wrap;justify-content:center}@keyframes wd-impact-ring{0%{opacity:.9;scale:.4}100%{opacity:0;scale:1.6}}@keyframes wd-result-appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.wd-screen{padding:12px;gap:8px}.wd-slot{min-height:76px}.wd-team-card{padding:9px 6px;gap:4px;min-height:181px;justify-content:flex-start}.wd-team-card>img{display:none}.wd-team-card>strong{font-size:26px;line-height:1}.wd-team-card>span:not(.wd-team-names){font-size:10px;min-height:26px;line-height:1.25;display:flex;align-items:center;justify-content:center}.wd-team-card>small{font-size:7px;line-height:1.4;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.wd-team-names{gap:3px;padding-top:5px;margin-top:2px}.wd-team-name{gap:3px;font-size:9px;line-height:1.15}.wd-team-name>span{font-size:7px;min-width:7px}.wd-team-name>strong{font-size:10px;line-height:1.2}.wd-home-bottom{font-size:7px}.wd-combat-fx{width:27px;height:27px;border-width:1px}.wd-combat-fx::before,.wd-combat-fx::after{width:38px;height:1px}.wd-spark{width:3px;height:3px;transform:rotate(calc(var(--spark)*72deg)) translateX(16px)}.wd-nexus-impact{width:44px;height:44px}.wd-outcome{flex-direction:row;gap:8px;padding:8px}.wd-outcome>strong{font-size:20px}.wd-victory-mark{font-size:21px}.wd-result-actions{width:100%}.wd-outcome .wd-button{font-size:10px}}
@media(prefers-reduced-motion:reduce){.wd-impact{animation:none!important;opacity:.35}.wd-outcome{animation:none!important}.wd-combat-fx::before,.wd-combat-fx::after,.wd-spark{display:none}.wd-token{transition:none!important}}
@media(max-width:700px) and (max-height:740px){.wd-screen{gap:6px;padding:10px 12px}.wd-slot{min-height:66px;padding:4px 2px}.wd-slot-photo{height:27px;width:27px}.wd-player-art{height:44px}.wd-player-body{height:66px;padding:5px}.wd-player-name{font-size:11px}.wd-player-year{font-size:8px;margin:2px 0 3px}.wd-tags{max-height:17px}.wd-trait{font-size:7px;margin-top:3px}.wd-choice-title .wd-back{min-height:25px}.wd-roll-heading h3{font-size:20px}.wd-team-card{min-height:170px}.wd-portrait-note{line-height:1.4}.wd-home-title{padding:7px 0 3px}.wd-home-title h2{font-size:44px;margin:8px 0}.wd-home-title p{font-size:11px}.wd-mode{min-height:44px}.wd-home-bottom .wd-text{min-height:28px}.duel-active .wd-map{max-height:34dvh;min-height:155px}.wd-battle{gap:7px}.wd-outcome .wd-result-actions{gap:5px}}
/* A compact tournament, a fixed broadcast feed and a live arcade chance. */
.wd-campaign{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:0;width:100%;gap:4px}.wd-campaign li{font-size:10px;line-height:1.4;color:#959595;border-top:2px solid #474747;padding:6px 2px 0;text-align:center;white-space:nowrap}.wd-campaign li.is-current{color:#d9fb63;border-color:#d9fb63}.wd-campaign li.is-cleared{color:#c3d5a0;border-color:#809b59}.wd-chance{width:100%;max-width:660px;margin:0 auto;flex-shrink:0}.wd-chance-labels{display:flex;align-items:center;justify-content:space-between;font-size:11px;line-height:1.3;margin-bottom:4px}.wd-chance-labels>span{font-size:8px;letter-spacing:.08em;color:#a9a9a9}.wd-chance-home{color:#cdcdcd}.wd-chance-away{color:#ff9ca6}.wd-chance-track{height:5px;border-radius:3px;background:#d97e8b;overflow:hidden}.wd-chance-fill{display:block;height:100%;width:50%;background:#b3b3b3;transition:width .35s ease-out}.wd-battle .wd-campaign{max-width:660px;margin:0 auto}.wd-event-feed{display:block;list-style:none;height:122px;min-height:122px;max-height:122px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#606060 #282828;max-width:660px;width:100%;margin:0 auto;padding:0 9px;background:#1f1f1f;border:1px solid #4c4c4c;border-radius:6px;text-align:left;flex-shrink:0}.wd-log-row{display:grid;grid-template-columns:24px 22px minmax(0,1fr);align-items:start;gap:7px;min-height:27px;padding:5px 0;border-bottom:1px solid #3a3a3a;font-size:11px;line-height:1.45;color:#cfcfcf}.wd-log-row:last-child{border-bottom:0;color:#f0f5e9}.wd-log-row>time{font-size:9px;font-variant-numeric:tabular-nums;color:#a9a9a9;padding-top:1px}.wd-log-kind{font-size:8px;line-height:17px;background:#484848;color:#dcdcdc;border-radius:3px;text-align:center;font-weight:700}.wd-log-away .wd-log-kind{background:#633641;color:#ffc7ce}.wd-log-failed .wd-log-kind{background:#4f4f4f;color:#e3caa4}.wd-log-text{overflow-wrap:anywhere}.wd-deflected{border-style:dashed;box-shadow:none}.wd-deflected::before,.wd-deflected::after{background:#c5cfb9}.wd-outcome{width:100%;max-width:660px;height:70px;min-height:70px;max-height:70px;display:grid;grid-template-columns:24px 1fr;gap:3px 8px;padding:5px 10px;margin:0 auto;flex-shrink:0}.wd-outcome .wd-victory-mark{grid-column:1;grid-row:1;text-align:right}.wd-outcome>strong{grid-column:2;grid-row:1;font-size:23px;line-height:1.1}.wd-outcome .wd-result-actions{grid-column:1/-1;justify-content:center;width:auto}.wd-outcome .wd-button{padding:6px 11px;min-height:28px;font-size:10px}#duel-content .wd-outcome[hidden]{display:grid;visibility:hidden;pointer-events:none}.wd-battle{gap:10px}.wd-battle .wd-map{height:300px;max-height:300px;min-height:0;aspect-ratio:auto;flex-shrink:0;margin:0 auto}.wd-map-terrain{width:100%;height:100%}.wd-token{transition-duration:.4s}.wd-home-title{padding:10px 0 0}.wd-home-title h2{font-size:46px;margin:11px 0;white-space:normal}.wd-home-title p{font-size:12px}.wd-home-history{width:100%;min-width:0}.wd-history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 4px}.wd-history-heading h3{font-size:12px;font-weight:600;margin:0}.wd-history-heading .wd-text{min-height:25px;padding:3px;font-size:10px}.wd-history-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left;width:100%;border-radius:0;background:none;border:0;border-bottom:1px solid #444444;padding:9px 2px;min-height:48px}.wd-history-row:hover{background:#2f2f2f}.wd-match-outcome{display:flex;align-items:center;justify-content:center;width:25px;height:25px;background:#474747;border-radius:5px;font-size:11px;font-weight:700;color:#c3c3c3}.wd-match-outcome.is-win{color:#ddf7a1;background:#3d522e}.wd-match-outcome.is-loss{color:#ffc2bd;background:#613d42}.wd-match-identity{display:flex;flex-direction:column;gap:4px;min-width:0}.wd-match-identity strong{font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wd-match-identity small{font-size:9px;color:#a6a6a6}.wd-match-score{display:flex;flex-direction:column;gap:4px;text-align:right}.wd-match-score>strong{font-size:13px;font-variant-numeric:tabular-nums;line-height:1}.wd-match-score>small{font-size:9px;color:#bdbdbd}.wd-history-list{display:flex;flex-direction:column;gap:8px}.wd-history-list .wd-history-row{border:1px solid #505050;background:#2c2c2c;border-radius:7px;padding:13px 12px;min-height:74px}.wd-inbox-tabs{display:flex;background:#1d1d1d;border:1px solid #4a4a4a;border-radius:7px;padding:3px;gap:4px}.wd-inbox-tabs .wd-button{flex:1;border:0;min-height:32px;font-size:12px;background:none;color:#a9a9a9;padding:7px 10px}.wd-inbox-tabs .is-selected{color:#e8f0df;background:#2c444a}.wd-invite{padding:12px 13px;background:#2f2f2f;border:1px solid #535353;border-left:3px solid #a7be65;border-radius:8px;display:flex;flex-direction:column;gap:10px}.wd-invite-accepted{border-left-color:#b9b9b9}.wd-invite-head{display:flex;align-items:center;gap:10px}.wd-invite-head>div{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.wd-invite-head small{font-size:8px;letter-spacing:.08em;color:#9e9e9e}.wd-invite-head strong{font-size:16px;line-height:1.1}.wd-invite-status{font-size:9px;color:#c6dbab;background:#364b37;border:1px solid #4e6546;padding:4px 6px;border-radius:4px;white-space:nowrap}.wd-invite-accepted .wd-invite-status{color:#dbdbdb;background:#484848;border-color:#696969}.wd-decline{border:0;background:none;color:#b6b6b6;min-height:28px;min-width:20px;padding:1px;font-size:23px}.wd-invite-ready{display:flex;gap:15px;font-size:9px;color:#979797}.wd-invite-ready .is-ready{color:#c6e293}.wd-invite-actions{display:flex;align-items:center;gap:7px;min-height:30px}.wd-invite-actions .wd-button{font-size:11px;min-height:31px;padding:7px 10px}.wd-invite-actions>small{color:#a8a8a8;font-size:10px;line-height:1.5}.wd-inbox-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}.wd-inbox-bottom .wd-button{font-size:11px;min-height:35px;padding:8px 12px}.wd-inbox-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:25px 15px;min-height:160px;color:#bbbbbb}.wd-inbox-empty>span{font-size:38px;color:#8ebdbe}.wd-inbox-empty>strong{font-size:16px;color:#e0e9e7;margin-top:5px}.wd-inbox-empty>p{font-size:12px;line-height:1.7;max-width:250px;margin:10px 0 0}
@media(max-width:700px){.wd-campaign{gap:3px}.wd-campaign li{font-size:8px;line-height:1.25;padding-top:4px;border-top-width:2px}.wd-battle{gap:6px;padding:10px}.wd-battle .wd-campaign{margin:0 auto;flex-shrink:0}.wd-battle .wd-battle-top{font-size:12px;gap:12px;line-height:1.2}.wd-battle .wd-live-score{margin:0 auto;gap:2px 22px;flex-shrink:0}.wd-battle .wd-live-score strong{font-size:25px}.wd-battle .wd-live-score small{font-size:7px;line-height:1.3}.wd-chance-labels{font-size:9px;margin-bottom:3px}.wd-chance-labels>span{font-size:7px;letter-spacing:.04em}.wd-chance-track{height:4px}.wd-battle .wd-map{height:220px;min-height:0;max-height:220px;margin:0 auto;aspect-ratio:auto}.wd-event-feed{height:95px;min-height:95px;max-height:95px;padding:0 7px;margin:0 auto!important}.wd-log-row{grid-template-columns:18px 18px minmax(0,1fr);gap:5px;font-size:9px;line-height:1.4;padding:5px 0;min-height:24px}.wd-log-row>time{font-size:8px}.wd-log-kind{font-size:7px;line-height:15px}.wd-playback-controls{flex-shrink:0}.wd-playback-controls .wd-button{font-size:9px;padding:5px 11px;min-height:27px}.wd-battle .wd-outcome{height:64px;min-height:64px;max-height:64px;margin:0 auto;padding:4px 8px;gap:3px 6px}.wd-outcome>strong{font-size:20px;line-height:1}.wd-outcome .wd-result-actions{gap:6px}.wd-outcome .wd-button{font-size:9px;padding:5px 9px;min-height:27px}.wd-victory-mark{font-size:20px}.wd-home-title{padding:6px 0 0}.wd-home-title h2{font-size:37px;line-height:1;margin:8px 0}.wd-home-title p{font-size:11px;line-height:1.5}.wd-home-history .wd-note{font-size:10px}.wd-history-heading h3{font-size:11px}.wd-history-heading .wd-text{font-size:9px}.wd-history-row{gap:8px;grid-template-columns:24px minmax(0,1fr) auto;min-height:44px;padding:7px 1px}.wd-match-outcome{width:23px;height:23px;font-size:10px}.wd-match-identity strong{font-size:11px}.wd-match-identity small{font-size:8px}.wd-match-score>strong{font-size:12px}.wd-match-score>small{font-size:8px}.wd-history-list{gap:9px}.wd-history-list .wd-history-row{min-height:74px;padding:12px}.wd-inbox-tabs .wd-button{font-size:11px;min-height:29px;padding:6px 9px}.wd-invite{padding:10px 11px;gap:8px}.wd-invite-head{gap:6px}.wd-invite-head strong{font-size:14px}.wd-invite-head small{font-size:7px}.wd-invite-status{font-size:8px;padding:3px 5px}.wd-invite-ready{font-size:8px;gap:12px}.wd-invite-actions{gap:6px;min-height:29px}.wd-invite-actions .wd-button{font-size:10px;min-height:29px;padding:6px 9px}.wd-invite-actions>small{font-size:9px}.wd-inbox-bottom .wd-button{font-size:10px;min-height:32px;padding:7px 10px}.wd-inbox-empty{min-height:150px;padding:20px 10px}.wd-inbox-empty>strong{font-size:14px}.wd-inbox-empty>p{font-size:11px}.wd-inbox-list{gap:8px}}
@media(max-width:700px) and (max-height:740px){.wd-battle{gap:4px;padding:8px}.wd-battle .wd-map{height:160px;max-height:160px;min-height:0}.wd-event-feed{height:90px;min-height:90px;max-height:90px}.wd-battle .wd-live-score strong{font-size:23px}.wd-battle .wd-campaign li{font-size:7px;line-height:1.2;padding-top:3px}.wd-battle-top{line-height:1.15}.wd-home-title h2{font-size:33px;margin:6px 0}.wd-home-title p{font-size:10px;line-height:1.45}.wd-home-title{padding:3px 0 0}.wd-mode-grid{gap:7px}.wd-mode{min-height:39px;padding:9px 12px;font-size:12px}.wd-history-row{min-height:41px;padding:6px 1px}.wd-invite{padding:8px 10px;gap:6px}.wd-invite-head strong{font-size:13px}.wd-invite-actions .wd-button{min-height:27px;font-size:9px;padding:5px 8px}.wd-invite-ready{font-size:7px}.wd-inbox-tabs .wd-button{min-height:26px;padding:5px}.wd-inbox-list{gap:7px}.wd-inbox-bottom .wd-button{min-height:29px;font-size:9px}.wd-history-list .wd-history-row{min-height:68px}.wd-battle .wd-outcome{height:61px;min-height:61px;max-height:61px}.wd-outcome>strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.wd-chance-fill{transition:none!important}}

.wd-victory-mark{display:inline-flex;align-items:center;justify-content:center}.wd-victory-mark svg{width:26px;height:26px;display:block}@media(max-width:700px){.wd-victory-mark svg{width:21px;height:21px}}
/* No large nested background slab or double side rail. */
#duel-content.wd-shell{background:transparent;border:0;box-shadow:none;border-radius:0}.wd-screen{background:transparent}.wd-team-card>img{display:block}@media(max-width:700px){body.duel-active main{padding:0 16px}.duel-active .wd-screen{padding:12px 0}.duel-active .wd-battle{padding:10px 0}.wd-team-card{position:relative}.wd-team-card>img{display:block;position:absolute;left:7px;top:10px;width:24px;height:24px;object-fit:contain}.wd-team-card>strong{align-self:flex-end;width:calc(100% - 27px);font-size:24px;min-height:25px;text-align:center}.wd-team-card>span:not(.wd-team-names){min-height:28px}}

/* Worlds Duel lobby: an artwork-led game client within the navy / acid identity. */
#duel-content.wd-lobby{max-width:1120px;margin:25px auto 35px;min-height:0;overflow:visible}.wd-lobby>.wd-screen{min-height:0;padding:0;gap:19px;overflow:visible;height:auto}.wd-lobby-icon{display:inline-flex;align-items:center;justify-content:center;flex:none}.wd-lobby-icon svg{display:block;width:22px;height:22px}.wd-lobby-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:46px}.wd-lobby-brand{display:flex;align-items:center;gap:13px;min-width:0}.wd-lobby-brand>.wd-lobby-icon{width:37px;height:37px;border:1px solid #575757;background:#212121;color:#d9fb63}.wd-lobby-brand h1{font:700 29px/1 var(--display);letter-spacing:.025em;margin:0}.wd-lobby-inbox{display:flex;align-items:center;gap:10px;background:transparent;border:1px solid #4e4e4e;border-radius:0;padding:11px 15px;color:#d2d2d2;font:600 12px var(--body);min-height:42px}.wd-lobby-inbox .wd-lobby-icon svg{width:18px;height:18px}.wd-lobby-inbox:hover{background:#292929;border-color:#9c9c9c}.wd-lobby-badge{font:700 11px var(--body);padding:3px 5px;background:#d9fb63;color:#111d13;min-width:20px;text-align:center}.wd-lobby-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(310px,1fr);gap:0;min-height:328px;align-items:stretch}.wd-lobby-poster{position:relative;min-width:0;isolation:isolate;overflow:hidden;background:#262626;min-height:328px;border:1px solid #4e4e4e;border-right:0}.wd-lobby-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% 35%;z-index:-2}.wd-lobby-art-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#151515f0 0%,#1818189c 39%,#20202015 75%),linear-gradient(0deg,#161616f0 0%,transparent 75%)}.wd-lobby-copy{position:relative;padding:35px 30px 26px;min-height:328px;display:flex;flex-direction:column;justify-content:center;align-items:start}.wd-lobby-copy h2{font:800 clamp(48px,5.1vw,68px)/.89 var(--display);letter-spacing:-.025em;margin:0;text-transform:uppercase}.wd-lobby-copy h2>span{display:block}.wd-lobby-copy h2>span:last-child{color:#d9fb63}.wd-lobby-copy>p{font:500 12px/1.7 var(--body);color:#d3dfe5;max-width:230px;margin:19px 0 24px}.wd-lobby-era{display:flex;flex-wrap:wrap;gap:8px 13px;font:600 10px/1.6 var(--body);color:#bcbcbc;padding-top:13px;border-top:1px solid #76767670}.wd-lobby-era strong{color:#e0e8e6;font-weight:600}.wd-lobby-run{background:#1f1f1f;border:1px solid #575757;padding:25px 23px;display:flex;flex-direction:column;gap:18px;min-width:0}.wd-lobby-run-top{display:flex;gap:15px;justify-content:space-between;align-items:center}.wd-lobby-run-top h3{font:700 27px/1 var(--display);letter-spacing:.01em;margin:0 0 9px}.wd-lobby-run-top p{font:11px/1.5 var(--body);color:#b1b1b1;margin:0}.wd-run-trophy{color:#d9fb63;width:46px;height:46px;border:1px solid #536d4b;clip-path:polygon(0 0,80% 0,100% 20%,100% 100%,20% 100%,0 80%);background:#263726}.wd-run-trophy svg{width:25px;height:25px}.wd-lobby-progress-copy{display:flex;justify-content:space-between;align-items:center;gap:15px;font:10px/1.5 var(--body);color:#bababa;margin-top:1px}.wd-lobby-progress-copy strong{color:#deedc2;font:700 13px var(--body);flex-shrink:0}.wd-lobby-path{position:relative;gap:0!important;padding:0!important;margin:0!important;min-height:60px}.wd-lobby-path li{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:0!important;border:0!important;min-width:0;font:10px/1.25 var(--body);color:#aaaaaa}.wd-lobby-path li:after{content:'';position:absolute;left:50%;right:-50%;top:14px;height:1px;background:#525252;z-index:0}.wd-lobby-path li:last-child:after{display:none}.wd-lobby-node{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:#2a2a2a;border:1px solid #676767;transform:rotate(45deg);font:700 10px var(--body);color:#aeaeae}.wd-lobby-node>span{transform:rotate(-45deg)}.wd-lobby-node .wd-lobby-icon svg{width:16px;height:16px}.wd-lobby-path .is-current .wd-lobby-node{background:#d9fb63;border-color:#d9fb63;color:#122014}.wd-lobby-path .is-current .wd-lobby-step{color:#e1f8ad}.wd-lobby-path .is-cleared .wd-lobby-node{background:#233a28;border-color:#6d8b4e;color:#d9fb63}.wd-lobby-path .is-cleared:after{background:#6d8b4e}.wd-lobby-play{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:59px;padding:12px 16px;background:#d9fb63;border:1px solid #d9fb63;color:#14200e;border-radius:0;position:relative;text-align:left;margin-top:auto;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px))}.wd-lobby-play strong{display:block;font:700 24px/1.05 var(--display)}.wd-lobby-play small{display:block;font:600 9px/1.6 var(--body);color:#3a4c20;margin-top:5px}.wd-lobby-play>.wd-lobby-icon{transition:transform .15s ease-out}.wd-lobby-play:hover{background:#e8ff9b}.wd-lobby-play:hover>.wd-lobby-icon{transform:translateX(3px)}.wd-lobby-rival{display:flex;align-items:center;gap:10px;justify-content:flex-start;background:transparent;border:1px solid #5f5f5f;color:#d9d9d9;padding:11px 12px;border-radius:0;min-height:44px;text-align:left}.wd-lobby-rival>span:nth-child(2){flex:1;font:600 11px/1.5 var(--body);overflow-wrap:anywhere}.wd-lobby-rival>.wd-lobby-icon svg{width:18px;height:18px}.wd-lobby-rival:hover{background:#2f2f2f;border-color:#8f8f8f}.wd-lobby-record{display:flex;align-items:center;gap:22px;padding:14px 0;border-bottom:1px solid #454545;border-top:1px solid #454545;min-height:57px}.wd-lobby-player{display:flex;align-items:center;gap:9px;min-width:0}.wd-player-presence{height:6px;width:6px;background:#d9fb63;border-radius:50%;flex-shrink:0}.wd-lobby-player strong{font:600 16px/1 var(--display);max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wd-lobby-form{display:flex;gap:12px;align-items:baseline;margin-left:auto}.wd-lobby-form small{color:#a4a4a4;font:10px/1.5 var(--body)}.wd-lobby-form b{font:600 18px var(--display);color:#d5e5d7}.wd-lobby-titles{display:flex;align-items:center;gap:7px;font:11px var(--body);color:#adc193}.wd-lobby-titles svg{width:16px;height:16px}.wd-lobby-history-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:8px}.wd-lobby-history-top h3{font:600 20px var(--display);letter-spacing:.035em;margin:0;color:#dedede}.wd-lobby-history-top .wd-text{font:11px var(--body);min-height:32px;padding:7px 0;border-radius:0}.wd-lobby-history-empty{display:flex;align-items:center;gap:15px;padding:15px 0 18px;border-bottom:1px solid #404040}.wd-lobby-history-empty>.wd-lobby-icon{color:#838383}.wd-lobby-history-empty svg{width:29px;height:29px}.wd-lobby-history-empty strong{font:600 20px var(--display);color:#cccccc}.wd-lobby-history-empty p{font:11px/1.5 var(--body);color:#a5a5a5;margin:5px 0 0}.wd-lobby-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;color:#a3a3a3;font:10px/1.6 var(--body)}.wd-lobby-footer .wd-text{min-height:32px;padding:6px 0;font:10px var(--body);border-radius:0}.wd-lobby-invite{display:flex;align-items:center;gap:12px;border:1px solid #556b3e;border-radius:0;background:#1d2c22;padding:10px 13px;min-height:39px;color:#cfe7af;font:11px var(--body);text-align:left}.wd-lobby-invite>span:nth-child(2){flex:1}.wd-lobby-invite svg{width:17px;height:17px}
#duel-content .wd-history-row{display:grid;grid-template-columns:75px minmax(0,1fr) 72px 28px;gap:16px;align-items:center;min-height:68px;padding:12px 0;border:0;border-bottom:1px solid #404040;border-radius:0;background:transparent;width:100%;text-align:left}#duel-content .wd-history-row:hover{background:#252525}.wd-match-outcome{font:700 10px/1 var(--body);letter-spacing:.06em;min-height:0;width:auto;height:auto;border:0;border-radius:0;background:none;padding:0;color:#aeaeae}.wd-match-outcome.is-win{color:#c5e798;background:none}.wd-match-outcome.is-loss{color:#e7a1ac;background:none}.wd-match-identity{min-width:0}.wd-match-identity strong{display:block;font:600 19px/1.2 var(--display);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#dfdfdf}.wd-match-identity small{display:block;font:10px/1.6 var(--body);color:#a1a1a1;margin-top:4px}.wd-match-score{text-align:right}.wd-match-score strong{font:600 24px/1 var(--display);color:#d4d4d4;display:block}.wd-match-score small{font:8px/1.4 var(--body);letter-spacing:.06em;display:block;color:#9a9a9a;margin-top:5px}.wd-replay-icon{color:#adadad;margin-left:auto}.wd-replay-icon svg{width:18px;height:18px}.wd-lobby-enter{animation:wd-lobby-reveal .26s cubic-bezier(.2,.7,.3,1) both}@keyframes wd-lobby-reveal{from{opacity:.55;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1100px){.wd-lobby-poster,.wd-lobby-copy{min-height:346px}.wd-lobby-copy{padding-left:35px}.wd-lobby-run{padding:27px}}
@media(max-width:700px){body.duel-active #duel-content.wd-lobby{height:auto;max-height:none;min-height:0;overflow:visible;margin:0;padding-bottom:10px}.wd-lobby>.wd-screen{height:auto;max-height:none;overflow:visible;padding:12px 0 0;gap:12px}.wd-lobby-toolbar{min-height:34px;gap:12px}.wd-lobby-brand{gap:9px}.wd-lobby-brand>.wd-lobby-icon{width:29px;height:29px}.wd-lobby-brand>.wd-lobby-icon svg{width:18px;height:18px}.wd-lobby-brand h1{font-size:23px}.wd-lobby-inbox{min-height:34px;padding:7px 9px;gap:7px;font-size:10px}.wd-lobby-inbox svg{width:15px;height:15px}.wd-lobby-grid{grid-template-columns:minmax(0,1fr);min-height:0}.wd-lobby-poster{min-height:158px;border-right:1px solid #4e4e4e;border-bottom:0}.wd-lobby-art{object-position:65% 27%}.wd-lobby-art-shade{background:linear-gradient(90deg,#151515e8 0%,#181818a8 35%,#20202000 100%),linear-gradient(0deg,#161616a8,transparent 85%)}.wd-lobby-copy{min-height:158px;padding:20px}.wd-lobby-copy h2{font-size:42px}.wd-lobby-copy>p{font-size:10px;line-height:1.5;margin:11px 0 10px;max-width:180px}.wd-lobby-era{padding:6px 0 0;gap:12px;font-size:8px}.wd-lobby-run{padding:16px;gap:12px}.wd-lobby-run-top h3{font-size:23px;margin-bottom:5px}.wd-lobby-run-top p{font-size:10px}.wd-run-trophy{width:36px;height:36px}.wd-run-trophy svg{width:21px;height:21px}.wd-lobby-progress-copy{font-size:9px;margin-top:0}.wd-lobby-progress-copy strong{font-size:11px}.wd-lobby-path{min-height:49px}.wd-lobby-path li{gap:8px;font-size:9px}.wd-lobby-node{width:23px;height:23px;font-size:9px}.wd-lobby-path li:after{top:11px}.wd-lobby-play{min-height:48px;padding:9px 13px;margin-top:0}.wd-lobby-play strong{font-size:22px}.wd-lobby-play small{font-size:8px;margin-top:3px}.wd-lobby-rival{min-height:37px;padding:8px 11px;gap:9px}.wd-lobby-rival>span:nth-child(2){font-size:10px}.wd-lobby-record{padding:10px 0;gap:12px;min-height:44px}.wd-lobby-player strong{font-size:15px;max-width:95px}.wd-lobby-form{gap:8px}.wd-lobby-form small{font-size:8px}.wd-lobby-form b{font-size:16px}.wd-lobby-titles{font-size:9px;gap:4px}.wd-lobby-titles svg{width:13px;height:13px}.wd-lobby-history-top{margin-bottom:3px}.wd-lobby-history-top h3{font-size:18px}.wd-lobby-history-top .wd-text{font-size:10px;min-height:26px}.wd-lobby-history-empty{padding:11px 0 13px;gap:12px}.wd-lobby-history-empty strong{font-size:19px}.wd-lobby-history-empty p{font-size:10px}.wd-lobby-history-empty svg{width:26px;height:26px}.wd-lobby-footer{font-size:8px;gap:10px}.wd-lobby-footer .wd-text{font-size:9px;min-height:26px}.wd-lobby-invite{font-size:10px;min-height:34px;padding:8px 10px}#duel-content .wd-history-row{grid-template-columns:58px minmax(0,1fr) 50px 18px;gap:10px;min-height:53px;padding:9px 0}.wd-match-outcome{font-size:8px}.wd-match-identity strong{font-size:17px}.wd-match-identity small{font-size:8px;margin-top:3px}.wd-match-score strong{font-size:21px}.wd-match-score small{font-size:7px;margin-top:3px}.wd-replay-icon svg{width:14px;height:14px}}
@media(max-width:700px) and (max-height:740px){.wd-lobby>.wd-screen{gap:9px;padding-top:9px}.wd-lobby-poster,.wd-lobby-copy{min-height:132px}.wd-lobby-copy{padding:14px 17px}.wd-lobby-copy h2{font-size:36px}.wd-lobby-copy>p{margin:8px 0;font-size:9px}.wd-lobby-era{font-size:7px;padding-top:5px}.wd-lobby-run{padding:12px 14px;gap:9px}.wd-lobby-run-top h3{font-size:21px}.wd-lobby-run-top p{font-size:9px}.wd-run-trophy{width:31px;height:31px}.wd-lobby-progress-copy{font-size:8px}.wd-lobby-path{min-height:44px}.wd-lobby-path li{font-size:8px}.wd-lobby-play{min-height:44px;padding:8px 11px}.wd-lobby-play strong{font-size:20px}.wd-lobby-rival{min-height:34px;padding:7px 10px}.wd-lobby-record{padding:8px 0;min-height:37px}.wd-lobby-history-top h3{font-size:16px}#duel-content .wd-lobby-history .wd-history-row{min-height:43px;padding:6px 0}.wd-lobby-footer{font-size:7px}.wd-lobby-footer .wd-text{min-height:24px;font-size:8px}}
@media(prefers-reduced-motion:reduce){.wd-lobby-enter{animation:none}.wd-lobby-play>.wd-lobby-icon{transition:none}}
.wd-lobby-play:focus-visible{outline:2px solid #14200e;outline-offset:-5px}

/* Quiet navigation with a full touch target. */
#duel-content .wd-screen-top .wd-return{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;min-height:44px;padding:4px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#bababa;font:600 12px/1.2 var(--body);white-space:nowrap}
#duel-content .wd-return .wd-lobby-icon{width:17px;height:17px;flex:0 0 17px;transition:transform .16s ease}
#duel-content .wd-return:hover{color:var(--wd-green);background:transparent}
@media(hover:hover){#duel-content .wd-return:hover .wd-lobby-icon{transform:translateX(-2px)}}
@media(max-width:480px){#duel-content .wd-screen-top .wd-return{font-size:11px;gap:4px}}
@media(prefers-reduced-motion:reduce){#duel-content .wd-return .wd-lobby-icon{transition:none}}

/* Finishing pass: secondary Duel surfaces share the broadcast control rhythm. */
#duel-content .wd-screen-top{min-height:44px;flex-wrap:wrap}
#duel-content .wd-screen-top h2{font-weight:700;letter-spacing:.015em}
#duel-content .wd-info{min-width:44px;min-height:44px}
#duel-content .wd-inbox-tabs{gap:20px;padding:0;background:transparent;border:0;border-bottom:1px solid #444444;border-radius:0}
#duel-content .wd-inbox-tabs .wd-button{position:relative;flex:0 1 auto;min-height:44px;padding:10px 2px;border-radius:0;color:#bcbcbc;font:600 14px/1.2 var(--display);letter-spacing:.025em;background:transparent}
#duel-content .wd-inbox-tabs .is-selected{color:#f3f7ff;box-shadow:inset 0 -3px var(--accent,#00cfe8)}
#duel-content .wd-inbox-tabs .wd-button:hover{color:#fff;background:#262626}
#duel-content .wd-invite{padding:18px;gap:14px;border:1px solid #4c4c4c;border-radius:2px;background:#1c1c1c}
#duel-content .wd-invite-head{gap:12px;flex-wrap:wrap}
#duel-content .wd-invite-head strong{font:700 25px/1.1 var(--display);overflow-wrap:anywhere}
#duel-content .wd-invite-head small{font-size:10px;line-height:1.5;color:#c1c1c1}
#duel-content .wd-invite-status{font-size:10px;line-height:1.4;padding:5px 8px;border-radius:2px;white-space:normal}
#duel-content .wd-invite-ready{gap:14px;flex-wrap:wrap;font-size:11px;line-height:1.5;color:#bcbcbc}
#duel-content .wd-invite-actions{gap:10px;flex-wrap:wrap}
#duel-content .wd-invite-actions .wd-button,#duel-content .wd-inbox-nav .wd-button,#duel-content .wd-inbox-bottom .wd-button,#duel-content .wd-challenge-actions .wd-button{min-height:44px;min-width:44px;padding:10px 14px;border-radius:2px;font-size:12px}
#duel-content .wd-invite-actions>small{font-size:12px;max-width:55ch;color:#c7c7c7}
#duel-content .wd-inbox-nav{gap:10px;flex-wrap:wrap;padding-top:4px}
#duel-content .wd-inbox-nav>span{font-size:12px;min-width:40px;text-align:center;font-variant-numeric:tabular-nums;color:#c7c7c7}
#duel-content .wd-inbox-bottom{padding-top:18px;border-top:1px solid #444444;flex-wrap:wrap}
#duel-content .wd-inbox-empty{min-height:220px;padding:32px 18px;background:#1a1a1a;border-block:1px solid #3c3c3c}
#duel-content .wd-inbox-empty>span{font-size:28px;color:var(--accent-soft,#00cfe8)}
#duel-content .wd-inbox-empty>strong{font:700 27px/1.15 var(--display);color:#edf5ff;margin-top:12px}
#duel-content .wd-inbox-empty>p{font-size:13px;max-width:34ch;color:#c6c6c6}
#duel-content .wd-history-heading .wd-text{min-height:44px;padding-inline:10px}
#duel-content .wd-history-list>.wd-note{padding:24px 18px;border-block:1px solid #414141;background:#1a1a1a;font-size:13px;line-height:1.7}
#duel-content .wd-error{border-radius:2px;background:#3a2029;color:#ffd4d9;padding:12px 14px;overflow-wrap:anywhere}
#duel-content .wd-history-row{font-variant-numeric:tabular-nums}
#duel-content .wd-button:focus-visible,.wd-rules-dialog :focus-visible{outline:2px solid var(--accent-soft,#00cfe8);outline-offset:3px}
.wd-rules-dialog{border-radius:2px;background:#1a1a1a;border-color:#5f5f5f;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#00cfe8 #1a1a1a;scrollbar-width:thin;padding-bottom:max(22px,env(safe-area-inset-bottom))}
.wd-rules-dialog .wd-back{min-height:44px;padding:8px 12px;border:1px solid #5f5f5f;border-radius:2px}
.wd-rules-dialog summary{min-height:44px;padding:12px 0;color:var(--accent-soft,#00cfe8)}
.wd-rules-dialog a{padding:6px 0;overflow-wrap:anywhere;line-height:1.6}
@media(max-width:700px){
 #duel-content .wd-invite{padding:14px;gap:12px}
 #duel-content .wd-invite-head strong{font-size:23px}
 #duel-content .wd-invite-actions .wd-button{flex:1 1 auto}
 #duel-content .wd-inbox-bottom{gap:8px}
 #duel-content .wd-inbox-bottom .wd-button{flex:1 1 auto}
 #duel-content .wd-inbox-empty{min-height:190px;padding:24px 14px}
 #duel-content .wd-inbox-tabs .wd-button{font-size:14px}
}

/* Inbox controls stay in the reading flow, with pagination below the cards. */
#duel-content .wd-inbox-screen{max-height:none;overflow:visible;min-height:min(680px,calc(100dvh - 160px));gap:20px}
#duel-content .wd-inbox-screen .wd-screen-top{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;align-items:center}
#duel-content .wd-inbox-screen .wd-screen-top h2{margin:0;text-align:center;font-size:clamp(25px,5vw,34px);line-height:1.15}
#duel-content .wd-inbox-screen .wd-return{width:44px;justify-content:center}
#duel-content .wd-inbox-screen .wd-return>span:last-child{display:none}
#duel-content .wd-inbox-new-challenge{width:100%;min-height:52px;font:700 17px/1.2 var(--display);letter-spacing:.025em;border-radius:2px}
#duel-content .wd-inbox-screen .wd-inbox-list{flex:1}
#duel-content .wd-inbox-screen .wd-inbox-bottom{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:18px}
#duel-content .wd-inbox-screen .wd-inbox-nav{padding:0;gap:8px}
#duel-content .wd-inbox-screen .wd-inbox-nav .wd-button{font-size:14px}
.wd-rules-dialog{color:#e6effa;width:min(600px,calc(100% - 28px));max-height:calc(100dvh - 40px);padding:24px;font:400 14px/1.65 var(--body,system-ui);box-sizing:border-box}
.wd-rules-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:14px;border-bottom:1px solid #4c4c4c}
.wd-rules-dialog .wd-rules-heading h2{margin:0;color:#f4f8ff;font:700 32px/1.1 var(--display,system-ui)}
.wd-rules-dialog p,.wd-rules-dialog details{font-size:14px;line-height:1.65;color:#dddddd}
.wd-rules-dialog p{margin:18px 0}
.wd-rules-dialog .wd-back{flex:none;min-width:64px;background:#2d2d2d;color:#f1f6ff;font:600 14px/1.3 var(--body,system-ui)}
.wd-rules-dialog summary{font-size:15px;font-weight:600;cursor:pointer}
.wd-rules-dialog a{display:block;color:var(--accent-soft,#a5eff2);font-size:14px;line-height:1.65}
.wd-rules-dialog::backdrop{background:#0a0a0abf;backdrop-filter:blur(5px)}
@media(max-width:700px){
 #duel-content .wd-inbox-screen{gap:16px;padding-bottom:88px}
 #duel-content .wd-inbox-screen .wd-inbox-bottom{flex-direction:column;align-items:stretch}
 #duel-content .wd-inbox-screen .wd-inbox-nav{justify-content:center}
 #duel-content .wd-inbox-screen .wd-inbox-bottom>.wd-button{align-self:center}
 .wd-rules-dialog{padding:20px;max-height:calc(100dvh - 28px)}
}

/* Saved matches keep their result, opponent and score together at every width. */
#duel-view #duel-content .wd-lobby-history{background:transparent;border:0;padding:0;min-width:0}
#duel-view #duel-content .wd-lobby-history-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
#duel-view #duel-content .wd-lobby-history-top h3{margin:0;min-width:0;color:#fff;font:600 24px/1.15 var(--display);letter-spacing:.02em}
#duel-view #duel-content .wd-history-row{box-sizing:border-box;display:grid;grid-template-columns:94px minmax(0,1fr) 96px 20px;grid-template-areas:"outcome identity score arrow";align-items:center;gap:12px;width:100%;height:auto;min-height:92px;margin:0;padding:16px;border:1px solid #393939;border-radius:8px;background:linear-gradient(115deg,#222 0%,#181818 100%);box-shadow:none;text-align:left;overflow:visible}
#duel-view #duel-content .wd-lobby-history .wd-history-row+.wd-history-row{margin-top:8px}
#duel-view #duel-content .wd-history-row>*{box-sizing:border-box;min-width:0}
#duel-view #duel-content .wd-history-row .wd-match-outcome{grid-area:outcome;display:block;width:auto;height:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent!important;box-shadow:none;color:#ccc;font:600 14px/1.4 var(--body)!important;letter-spacing:.045em;white-space:nowrap;text-align:left}
#duel-view #duel-content .wd-history-row .wd-match-outcome.is-win{color:#00cfe8}
#duel-view #duel-content .wd-history-row .wd-match-outcome.is-loss{color:#ff637c}
#duel-view #duel-content .wd-history-row .wd-match-identity{grid-area:identity;display:flex;flex-direction:column;gap:5px}
#duel-view #duel-content .wd-history-row .wd-match-identity strong{display:block;color:#fff;font:600 20px/1.2 var(--display);white-space:normal;overflow-wrap:anywhere;overflow:visible;text-overflow:clip}
#duel-view #duel-content .wd-history-row .wd-match-identity small{margin:0;color:#c4c4c4;font:400 14px/1.5 var(--body)!important}
#duel-view #duel-content .wd-history-row .wd-match-score{grid-area:score;display:flex;flex-direction:column;align-items:flex-end;gap:6px;text-align:right;white-space:nowrap}
#duel-view #duel-content .wd-history-row .wd-match-score strong{display:block;color:#fff;font:600 28px/1 var(--display);font-variant-numeric:tabular-nums;white-space:nowrap}
#duel-view #duel-content .wd-history-row .wd-match-score small{display:block;margin:0;color:#c4c4c4;font:400 14px/1.4 var(--body)!important;letter-spacing:0;white-space:nowrap}
#duel-view #duel-content .wd-history-row .wd-replay-icon{grid-area:arrow;justify-self:end;align-self:center;width:20px;height:20px;margin:0;color:#b8b8b8}
#duel-view #duel-content .wd-history-row .wd-replay-icon svg{display:block;width:20px;height:20px}
#duel-view #duel-content .wd-history-row:hover{border-color:#666;background:linear-gradient(115deg,#2b2b2b 0%,#202020 100%)}
#duel-view #duel-content .wd-history-row:active{background:#282828;border-color:#00cfe8}
#duel-view #duel-content .wd-history-row:focus-visible{outline:2px solid #00cfe8;outline-offset:3px}
#duel-view #duel-content .wd-lobby-history-top .wd-text,
#duel-view #duel-content .wd-lobby-footer .wd-text{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;min-height:44px;margin:0;padding:8px 12px;border:1px solid transparent;border-radius:6px;background:transparent;box-shadow:none;color:#eee;font:600 16px/1.4 var(--body)!important;white-space:nowrap}
#duel-view #duel-content .wd-lobby-history-top .wd-text:hover,
#duel-view #duel-content .wd-lobby-footer .wd-text:hover{background:#252525;color:#fff;border-color:#444}
#duel-view #duel-content .wd-lobby-history-top .wd-text:focus-visible,
#duel-view #duel-content .wd-lobby-footer .wd-text:focus-visible{outline:2px solid #00cfe8;outline-offset:2px}
#duel-view #duel-content .wd-lobby-footer{justify-content:flex-start;gap:12px;margin:0;padding:4px 0 0;min-height:0;background:transparent;border:0}
#duel-view #duel-content .wd-lobby-footer .wd-text{margin-left:-12px}
#duel-view #duel-content .wd-history-list+.wd-inbox-nav button{min-height:44px;padding:10px 14px;font:600 14px/1.4 var(--body)}
@media(max-width:700px){
 #duel-view #duel-content .wd-lobby-history-top h3{font-size:22px}
 #duel-view #duel-content .wd-lobby-history-top .wd-text{font-size:14px!important;padding-right:8px;padding-left:8px}
 #duel-view #duel-content .wd-history-row{grid-template-columns:minmax(0,1fr) 82px 20px;grid-template-areas:"outcome score arrow" "identity score arrow";gap:4px 12px;min-height:108px;padding:14px}
 #duel-view #duel-content .wd-history-row .wd-match-identity strong{font-size:18px}
 #duel-view #duel-content .wd-history-row .wd-match-score strong{font-size:26px}
}
/* Two clear invitation formats; both require the rival's acceptance. */
.wd-rival-chooser .wd-rival-intro{font-size:18px;line-height:1.5;color:#d5dddd;max-width:54ch}
.wd-rival-opponent{display:grid;gap:8px;margin:20px 0;color:#e3eeee;font-size:16px;max-width:480px}
.wd-rival-opponent select{width:100%;min-height:48px;padding:10px 12px;background:#191d1e;color:#fff;border:1px solid #536166;border-radius:8px;font:inherit}
.wd-rival-formats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.wd-rival-formats .wd-rival-format{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;text-align:left;padding:24px;border:1px solid #405255;border-radius:12px;background:linear-gradient(125deg,#293234,#15191a);color:#f1f7f7;white-space:normal}
.wd-rival-format .wd-lobby-icon{color:#00d4e8;width:32px;height:32px}.wd-rival-format small{font-size:14px;color:#aee9ee}.wd-rival-format h3{margin:0;font-size:30px}.wd-rival-format p{font:400 17px/1.5 var(--body-font,Arial,sans-serif);margin:0;color:#d5dede}.wd-rival-format>strong{font-size:17px;color:#00d4e8;margin-top:auto}
.wd-rival-format:hover{border-color:#00d4e8}.wd-rival-chooser :is(button,select):focus-visible{outline:2px solid #00d4e8;outline-offset:4px}
@media(max-width:600px){.wd-rival-formats{grid-template-columns:1fr;gap:10px}.wd-rival-formats .wd-rival-format{padding:14px;gap:6px}.wd-rival-format h3{font-size:26px}.wd-rival-format .wd-lobby-icon{display:none}.wd-rival-chooser .wd-rival-intro{font-size:17px}.wd-rival-opponent{margin:8px 0}}
.wd-invite-review .wd-invite-five{display:grid;gap:6px;margin:18px 0}
.wd-invite-seat{display:grid;grid-template-columns:68px 40px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #39484a;border-radius:8px;background:linear-gradient(110deg,#252c2d,#141818)}
.wd-invite-seat>small{font-size:14px;color:#c0ced0}.wd-invite-seat>strong{font-size:19px;line-height:1.25;overflow-wrap:anywhere}.wd-invite-seat>span{font-size:14px;color:#c0ced0}.wd-invite-portrait{width:40px;height:40px;object-fit:contain;border-radius:5px}.wd-invite-review-actions{display:flex;flex-wrap:wrap;gap:10px}.wd-invite-review-actions .wd-button,.wd-invite-actions .wd-invite-withdraw{min-height:46px;padding:10px 16px;font-size:16px}.wd-invite-actions .wd-invite-withdraw{border:1px solid #755054;background:transparent;color:#ffb1b9}.wd-invite-notice{padding:12px 16px;color:#b2ede1;font-size:17px;border-left:3px solid #00d4e8}
@media(max-width:600px){.wd-invite-seat{grid-template-columns:56px 36px minmax(0,1fr);gap:8px;padding:8px 10px}.wd-invite-seat>span{grid-column:3}.wd-invite-seat>strong{font-size:18px}.wd-invite-portrait{width:36px;height:36px;grid-row:span 2}.wd-invite-review-actions{display:grid;grid-template-columns:1fr 1fr}.wd-invite-review-actions>.wd-primary{grid-column:1/-1}}
.wd-monogram{display:flex;align-items:center;justify-content:center;box-sizing:border-box;aspect-ratio:1;border:1px solid #785a28;background:radial-gradient(circle at 50% 35%,#0f2a3d,#010a13);color:#c8aa6e;font-family:var(--display,'Barlow Condensed',Arial,sans-serif);font-weight:700;letter-spacing:.04em;line-height:1;overflow:hidden}
