.battle-page .battle-hero{background:radial-gradient(ellipse at 50% 120%,#176cc35c,transparent 52%),linear-gradient(125deg,#061326,#0b2b51 62%,#101a35)}.battle-page .battle-hero h1{font-size:clamp(38px,7vw,74px);line-height:.92;letter-spacing:-.055em}.battle-page .battle-hero h1 span{color:#71baff}.battle-page .battle-score{border:1px solid #ffffff25;background:#ffffff0c;backdrop-filter:blur(12px)}.battle-page .battle-intro{margin-top:28px}.battle-page .battle-card--daily{overflow:hidden;border:1px solid #a7c7e945;border-radius:26px;background:linear-gradient(145deg,#fff,#edf5ff);box-shadow:0 24px 60px #071b331c}.battle-page .battle-card--daily>header{padding:18px 22px;background:linear-gradient(100deg,#07182f,#123d70);color:#fff}.battle-page .battle-card--daily>header span{color:#7ec6ff}.battle-page .battle-card--daily>header b{color:#c8d9ee}.battle-page .battle-card--daily .battle-question-prompt{margin:19px 22px 0;color:#19334f;font-size:clamp(20px,3vw,29px);font-weight:950;letter-spacing:-.03em;text-align:center}.battle-page .battle-card--daily .battle-duel{display:grid;grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr);align-items:center;gap:12px;margin:18px 20px;padding:20px 12px;border-radius:22px;background:radial-gradient(circle at 50% 45%,#ffffff 0,transparent 31%),linear-gradient(110deg,#e8f3ff,#f6f9fc 50%,#fff0f1)}.battle-page .battle-card--daily .battle-duel>div{display:flex;align-items:center;flex-direction:column;min-width:0;text-align:center}.battle-page .battle-card--daily .battle-duel img{width:clamp(106px,19vw,190px);height:clamp(106px,19vw,190px);object-fit:contain;object-position:center bottom;filter:drop-shadow(0 12px 10px #102e4c24)}.battle-page .battle-card--daily .battle-duel b{margin-top:7px;color:#0b1d34;font-size:clamp(17px,3vw,29px);font-weight:1000;letter-spacing:-.04em;line-height:1.02}.battle-page .battle-card--daily .battle-duel>div small{margin-top:5px;color:#58708b;font-size:11px;font-weight:850}.battle-page .battle-card--daily .battle-duel>span{display:flex;align-items:center;flex-direction:column;justify-content:center;width:62px;height:62px;border:1px solid #ffffff;border-radius:50%;background:linear-gradient(145deg,#126fc3,#0a2b55);box-shadow:0 8px 25px #144c7a33;color:#fff}.battle-page .battle-card--daily .battle-duel>span small{font-size:8px;letter-spacing:.14em}.battle-page .battle-card--daily .battle-duel>span strong{font-size:17px}.battle-page .battle-card--daily .battle-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 20px 20px}.battle-page .battle-card--daily .battle-choices button{min-height:68px;border:1px solid #c4d8eb;border-radius:15px;background:#fff;color:#102a48;box-shadow:0 6px 18px #0c294413;transition:transform .16s,border-color .16s,background .16s}.battle-page .battle-card--daily .battle-choices button:hover{transform:translateY(-2px);border-color:#2986d2}.battle-page .battle-card--daily .battle-choices button.is-selected{border-color:#0d70c1;background:#e5f3ff}.battle-page .battle-card--daily .battle-choices button b{font-size:clamp(15px,2.3vw,20px)}.battle-page .battle-card--daily footer{padding:0 22px 20px;color:#566d86;text-align:center}.battle-page .battle-card--daily .battle-duel img:not([src]),.battle-page .battle-card--daily .battle-duel img[src=""]{display:none}.battle-page .battle-card--daily .battle-duel img:not([src]) + b,.battle-page .battle-card--daily .battle-duel img[src=""] + b{margin-top:0}.battle-page .battle-card--daily .battle-choices button:focus-visible,.battle-page .battle-score:focus-visible{outline:3px solid #f43d52;outline-offset:3px}@media(max-width:560px){.battle-page .battle-card--daily{border-radius:20px}.battle-page .battle-card--daily>header{padding:14px}.battle-page .battle-card--daily .battle-question-prompt{margin:16px 12px 0}.battle-page .battle-card--daily .battle-duel{grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);gap:4px;margin:12px;padding:15px 4px}.battle-page .battle-card--daily .battle-duel img{width:min(28vw,130px);height:min(28vw,130px)}.battle-page .battle-card--daily .battle-duel>span{width:44px;height:44px}.battle-page .battle-card--daily .battle-duel>span strong{font-size:13px}.battle-page .battle-card--daily .battle-duel b{font-size:16px}.battle-page .battle-card--daily .battle-duel>div small{font-size:9px}.battle-page .battle-card--daily .battle-choices{gap:7px;margin:0 10px 14px}.battle-page .battle-card--daily .battle-choices button{min-height:62px;padding:8px}}

.battle-page .battle-context{max-width:740px;margin:0 auto 16px;padding:0 22px;color:#48617b;font-size:13px;line-height:1.5;text-align:center}.battle-page .battle-context[hidden]{display:none!important}@media(max-width:560px){.battle-page .battle-context{padding:0 14px;font-size:12px}}

.battle-page .battle-form-bars{display:flex;align-items:end;gap:4px;width:82px;height:24px;margin:5px auto 0}.battle-page .battle-form-bars[hidden]{display:none!important}.battle-page .battle-form-bars i{flex:1;min-height:3px;border-radius:4px 4px 1px 1px;background:linear-gradient(180deg,#79c0ff,#1b6ab4)}.battle-page .battle-public-history__filter{display:grid;grid-template-columns:auto minmax(160px,260px);align-items:center;gap:9px;margin:-5px 0 14px;color:#47627e;font-size:12px;font-weight:800}.battle-page .battle-public-history__filter input{min-height:38px;padding:8px 11px;border:1px solid #ccdced;border-radius:10px;font:inherit}.battle-page .battle-public-history article h3 span{display:inline-flex;align-items:center;gap:5px}.battle-page .battle-public-history article h3 img{width:27px;height:27px;object-fit:contain;border-radius:50%;background:#eaf2fa}.battle-page .battle-history-empty{grid-column:1/-1;color:#61758c;text-align:center}@media(max-width:560px){.battle-page .battle-public-history__filter{grid-template-columns:1fr;gap:5px}.battle-page .battle-public-history__filter input{width:100%}}

.battle-page .battle-history-round article.is-cancelled{border-color:#ead7a6;background:#fffaf0}.battle-page .battle-history-round article.is-cancelled>b{color:#936500}

/* Public page: make the single nightly Battle use the available desktop width. */
.battle-page main.battle-shell{display:block!important;box-sizing:border-box;width:min(1280px,calc(100% - 48px))!important;max-width:1280px!important;margin-inline:auto!important}
.battle-page .battle-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;max-width:1120px;margin-inline:auto}
.battle-page .battle-card--daily .battle-player{min-height:clamp(300px,34vw,430px);align-items:center;padding:30px 7% 0}
.battle-page .battle-card--daily .battle-player>div{max-width:54%}
.battle-page .battle-card--daily .battle-player h2{font-size:clamp(34px,5vw,60px)}
.battle-page .battle-card--daily .battle-player p{font-size:clamp(13px,1.2vw,17px)}
.battle-page .battle-card--daily .battle-player img{right:3%;width:42%;height:100%;max-height:420px}
.battle-page .battle-card--daily .battle-choices{max-width:900px;margin:0 auto 20px}
.battle-page .battle-card--daily .battle-choices button{min-height:76px}
.battle-page .battle-public-history,.battle-page .battle-ranking,.battle-page .battle-history{width:100%;box-sizing:border-box}
.battle-page .battle-public-history{margin:28px 0;padding:clamp(20px,3vw,32px);border:1px solid #d7e5f2;border-radius:24px;background:linear-gradient(145deg,#fff,#f5f9fd);box-shadow:0 16px 40px #09274b0d}
.battle-page .battle-public-history>header span{color:#1777c6;font-size:10px;font-weight:950;letter-spacing:.12em}
.battle-page .battle-public-history h2{margin:5px 0 18px;color:#0b2038;font-size:clamp(24px,3vw,34px);letter-spacing:-.04em}
.battle-page .battle-public-history__filter{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;color:#47627e;font-size:12px;font-weight:850}
.battle-page .battle-public-history__filter input{box-sizing:border-box;width:min(100%,320px);min-height:42px;padding:9px 13px;border:1px solid #ccdced;border-radius:12px;background:#fff;color:#102947;font:inherit}
.battle-page .battle-public-history>[data-battle-public-history-list]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.battle-page .battle-public-history article{min-width:0;padding:17px;border:1px solid #e0eaf3;border-radius:16px;background:#fff;box-shadow:0 8px 22px #102a4608}
.battle-page .battle-public-history article>small{color:#6b8198;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.battle-page .battle-public-history article h3{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0;color:#102947;font-size:clamp(15px,1.6vw,20px)}
.battle-page .battle-public-history article h3 i{padding:0 3px;color:#2781c6;font-size:9px;font-style:normal}
.battle-page .battle-public-history article h3 span{display:inline-flex;align-items:center;gap:7px}
.battle-page .battle-public-history article h3 img{width:34px;height:34px;object-fit:contain;border-radius:50%;background:#eaf2fa}
.battle-page .battle-public-history article p{margin:4px 0 0;color:#66798d;font-size:12px;line-height:1.5}
.battle-page .battle-public-history article footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px;padding-top:11px;border-top:1px solid #e2eaf2;color:#405772;font-size:11px}
.battle-page .battle-public-history article footer b{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#e9f3fc;color:#0e69b2;font-size:9px;text-transform:uppercase;letter-spacing:.04em}
.battle-page .battle-public-history article footer span{color:#6a7e94;text-align:right}
@media(max-width:700px){.battle-page .battle-public-history{padding:18px 14px;border-radius:18px}.battle-page .battle-public-history__filter{align-items:stretch;flex-direction:column;gap:7px}.battle-page .battle-public-history__filter input{width:100%}.battle-page .battle-public-history>[data-battle-public-history-list]{grid-template-columns:1fr}.battle-page .battle-public-history article footer{align-items:flex-start;flex-direction:column}.battle-page .battle-public-history article footer span{text-align:left}}
@media(max-width:700px){.battle-page main.battle-shell{width:calc(100% - 24px)!important}.battle-page .battle-grid{gap:12px}.battle-page .battle-card--daily .battle-player{min-height:280px;padding:22px 16px 0}.battle-page .battle-card--daily .battle-player>div{max-width:58%}.battle-page .battle-card--daily .battle-player h2{font-size:clamp(27px,8vw,38px)}.battle-page .battle-card--daily .battle-player img{right:0;width:48%;max-height:280px}.battle-page .battle-card--daily .battle-choices{margin:0 10px 14px}}
