@font-face{font-family:Nunito;src:url('/fonts/nunito-regular.ttf')}@font-face{font-family:Nunito;src:url('/fonts/nunito-bold.ttf');font-weight:700 1000}@font-face{font-family:Lilita;src:url('/fonts/lilita-one.ttf')}
:root{color-scheme:dark;--ink:#fffdf5;--muted:#d5dfc5;--bg:#173f23;--panel:#245530;--line:#64835a;--gold:#fffdf5;--mint:#d8edbe;--red:#dfad87;--radius:16px;font-family:Nunito,system-ui,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);height:100dvh;overflow:hidden}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{color:inherit;cursor:pointer;border:0}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:3px}button{transition:background .16s,border-color .16s}a{color:var(--mint)}h1,h2,h3,p{margin:0}h1{font:clamp(24px,3.1vw,44px)/1.05 Lilita,sans-serif;letter-spacing:.01em}h2{font-size:22px;line-height:1.12}h3{font-size:17px}p{line-height:1.5}small{font-size:11px}i{font-style:normal}#war-app{height:100%;display:grid;grid-template-rows:70px minmax(0,1fr) auto;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.boot{padding:32px}.app-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:8px 25px;gap:15px}.wordmark{display:flex;align-items:center;gap:10px;text-align:left;background:none;padding:0}.wordmark img{width:46px;height:46px;object-fit:contain;border-radius:8px}.wordmark>span{font:23px/1 Lilita;white-space:nowrap}.wordmark b{color:var(--gold);font-weight:400}.wordmark small{display:block;font:8px Nunito;letter-spacing:.23em;margin-top:5px;color:var(--muted)}.header-middle{font-size:10px;letter-spacing:.14em;color:var(--muted);font-weight:800}.header-middle i{padding:0 10px;color:var(--gold)}.header-actions{display:flex;align-items:center;gap:18px}.wallet,.shop-balance{display:flex;align-items:center;gap:8px;font-weight:900;font-size:22px}.coin{display:inline-grid;place-items:center;border:2px solid #f4dc9b;border-radius:50%;height:27px;width:27px;color:#60431a;background:linear-gradient(145deg,#fff0ac,#d89a36);box-shadow:inset 0 0 0 2px #d9a743;font:18px Lilita}.wallet small{color:var(--gold)}.settings-button{background:#314827;border:1px solid var(--line);border-radius:10px;width:34px;height:34px;font-size:22px}.bottom-nav{display:flex;justify-content:center;gap:8px;height:60px;border-top:1px solid var(--line);background:#223819}.bottom-nav button{display:flex;align-items:center;justify-content:center;gap:8px;width:130px;background:none;border-top:3px solid transparent;color:var(--muted);font-size:13px;font-weight:800}.bottom-nav button span{font-size:20px}.bottom-nav button[aria-current]{border-color:var(--gold);color:var(--gold);background:linear-gradient(#fffdf512,transparent)}main{min-height:0;padding:20px 26px;max-width:1500px;width:100%;margin:auto;height:100%;overflow:hidden}.panel{background:linear-gradient(135deg,#2c4422,#23381a);border:1px solid var(--line);border-radius:var(--radius);padding:22px;min-width:0;overflow:hidden}.eyebrow{display:block;font-size:10px;font-weight:900;letter-spacing:.16em;color:var(--gold);margin-bottom:9px}.muted{color:var(--muted);font-size:12px}.primary,.secondary{min-height:42px;padding:10px 17px;font-size:12px;font-weight:900;letter-spacing:.035em;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:12px}.primary{background:var(--gold);color:#26381f;box-shadow:0 3px 0 #8c5336}.primary:hover:not(:disabled){background:#ffffff}.primary>span:last-child{margin-left:auto}.secondary{background:#344e2a;border:1px solid #546c4a;color:var(--ink)}.secondary:hover:not(:disabled){background:#456439}.text-button{background:none;color:var(--muted);padding:8px;font-size:11px;text-decoration:underline;text-underline-offset:3px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.section-heading .eyebrow{margin-bottom:7px}.small-tag{font-size:9px;letter-spacing:.06em;border:1px solid #576a50;border-radius:5px;padding:6px 8px;color:var(--muted);white-space:nowrap}.home-grid{display:grid;grid-template-columns:1.14fr 1fr;gap:20px;height:100%}.player-hero{position:relative;min-height:0;padding:30px;display:flex;flex-direction:column;justify-content:center}.hero-backdrop{position:absolute;inset:0;background:linear-gradient(90deg,#203815 2%,#203815e6 40%,#20381533),linear-gradient(0deg,#1e3814,transparent 70%),url('/stadiums/classic-v1.webp') center/cover;opacity:.8}.hero-player{position:absolute;right:-42px;bottom:25px;opacity:.95}.hero-copy{position:relative;width:74%;z-index:1}.hero-copy h1{font-size:clamp(28px,3.3vw,47px);max-width:310px;overflow-wrap:anywhere}.hero-copy>.eyebrow{margin-bottom:15px}.player-sub{font-size:11px;color:#e0e5ce;margin:8px 0}.player-sub i{padding:0 3px}.archetype{display:inline-block;border:1px solid #8ba97e;background:#28441dd9;padding:4px 9px;border-radius:5px;color:#bcdfcf;font-size:10px}.hero-rating{display:flex;gap:12px;align-items:center;margin:18px 0}.hero-rating>strong{font:76px/.95 Lilita;color:var(--gold);text-shadow:0 3px 0 #0005}.hero-rating>span{font-size:11px;line-height:1.6;letter-spacing:.1em}.hero-rating small{font-size:9px;color:var(--muted)}.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #90a88744;border-bottom:1px solid #90a88744;padding:13px 0;gap:8px}.stats-strip>div{display:grid;gap:2px}.stats-strip strong{font-size:23px;line-height:1.2}.stats-strip span{font-size:9px;color:var(--muted);font-weight:800;letter-spacing:.1em}.hero-copy .stats-strip{max-width:330px;background:#213817a6}.hero-cta{margin-top:22px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.hero-cta .primary{min-width:230px}.hero-footer{position:relative;display:flex;justify-content:space-between;margin-top:auto;padding-top:20px;border-top:1px solid #7f988d33;font-size:11px;font-weight:800;z-index:1}.hero-footer small{font-size:8px;color:var(--muted);margin-left:4px}.legacy-panel{display:flex;flex-direction:column}.legacy-intro{margin:12px 0}.empty-legacy{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:15px}.legacy-star{font-size:45px;color:var(--gold);margin-bottom:15px}.empty-legacy h3{font:30px/1.1 Lilita;color:#e8eadd}.empty-legacy p{max-width:260px;font-size:12px;color:var(--muted);margin-top:14px}.legacy-formula{display:flex;align-items:center;gap:12px;margin-top:28px;font-size:8px;letter-spacing:.07em;color:var(--muted)}.legacy-formula b{color:var(--gold)}.legacy-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:16px}.legacy-bottom>span{font-size:9px;letter-spacing:.1em;color:var(--muted)}.legacy-bottom strong{font:30px Lilita;color:var(--gold)}.legacy-list{margin:0;padding:0;list-style:none;flex:1;display:flex;flex-direction:column;justify-content:flex-start;gap:3px;min-height:0}.legacy-list li{display:flex;align-items:center;gap:10px;background:#1e381466;padding:4px 10px;border-radius:7px;flex:0 1 43px;min-height:0}.legacy-list .place{font-size:12px;width:14px;color:var(--gold)}.legacy-list li>span{flex:1}.legacy-list strong{font-size:12px;display:block}.legacy-list small{display:block;font-size:9px;color:var(--muted)}.legacy-list li>b:last-child{font-size:14px}.leader-portrait{height:34px;width:36px;overflow:hidden;flex-shrink:0}.leader-portrait>div{transform:translate(-8px,-3px)}
.create-screen{height:100%;display:grid;grid-template-columns:.8fr 1fr;gap:30px;max-width:1100px;margin:auto}.create-art{position:relative;overflow:hidden;padding:25px 10px}.create-art:before{content:'';position:absolute;inset:0;border-radius:20px;background:linear-gradient(#173f2366,#173f2300 35%,#173f23),url('/stadiums/classic-v1.webp') center/cover;opacity:.5}.create-art>*{position:relative;z-index:1}.create-art h1{font-size:clamp(33px,4vw,57px)}.create-art h1 em{font-style:normal;color:var(--gold)}.create-art p{font-size:12px;color:#e5e6d3;margin-top:20px;line-height:1.8}.creation-athlete{position:absolute;right:-20px;bottom:-32px;z-index:0}.art-caption{position:absolute;bottom:10px;font-size:9px;letter-spacing:.15em}.creation-form{display:flex;flex-direction:column;gap:13px;padding:25px}.creation-form h2{font-size:25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}.form-grid label{display:flex;flex-direction:column;gap:5px;font-size:10px;font-weight:800;color:#bfd0d3}.form-grid .wide{grid-column:1/-1}input:not([type=radio]):not([type=checkbox]),select{background:#1e3814;border:1px solid #566e4d;border-radius:7px;color:var(--ink);height:37px;min-width:0;width:100%;padding:8px 10px;font-size:12px}input::placeholder{color:#9ab490}select{padding-right:20px}.role-picks{display:grid;grid-template-columns:1fr 1fr;gap:10px}.role-picks label,.age-picks label{position:relative;cursor:pointer}.role-picks input,.age-picks input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0}.role-picks label>span{display:flex;flex-direction:column;gap:4px;border:1px solid #576d4e;border-radius:8px;padding:11px 13px;background:#1f3815}.role-picks small{color:var(--muted);font-size:10px}.role-picks b{letter-spacing:.1em;font-size:12px}.role-picks input:checked+span,.age-picks input:checked+span{border-color:var(--gold);background:#fffdf511;box-shadow:inset 0 0 0 1px #fffdf555}.role-picks input:focus-visible+span,.age-picks input:focus-visible+span{outline:3px solid var(--gold)}.age-picks{display:flex;border:0;margin:0;padding:0;gap:9px}.age-picks legend{font-size:10px;color:#bfd0d3;font-weight:800;margin-bottom:8px}.age-picks label{flex:1}.age-picks label>span{display:flex;flex-direction:column;align-items:center;gap:4px;background:#1f3815;border:1px solid #576d4e;border-radius:8px;padding:10px 4px}.age-picks b{font-size:24px;line-height:1.1}.age-picks b small{font-size:8px;color:var(--muted)}.age-picks strong{color:var(--gold);font-size:11px}.age-picks span>small{font-size:9px;color:var(--muted)}.form-note{font-size:10px;color:var(--muted)}.start-career{margin-top:auto;flex-shrink:0}.save-note{font-size:9px;color:var(--muted);text-align:center;display:block}.creation-form .save-note{margin-top:1px}
.series-screen{height:100%;display:flex;flex-direction:column;gap:13px}.mini-profile{padding:9px 16px;display:flex;align-items:center;gap:12px;min-height:78px;flex-shrink:0}.mini-avatar{height:62px;width:65px;overflow:hidden;flex-shrink:0}.mini-avatar>div{transform:translate(-10px,-5px)}.mini-profile .eyebrow{margin-bottom:4px;font-size:8px}.mini-profile h2{font-size:20px}.mini-profile p{font-size:10px;color:var(--muted);margin-top:4px}.mini-ovr{display:flex;flex-direction:column;align-items:center;margin-left:12px}.mini-ovr b{font:35px/1 Lilita;color:var(--gold)}.mini-ovr small{font-size:8px}.schedule-note{font-size:10px;color:var(--muted)}.opponent-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;min-height:0;flex:1}.opponent{background:#27401d;border:1px solid #526a48;border-radius:12px;padding:16px;text-align:left;display:flex;flex-direction:column;justify-content:space-between;gap:12px;min-height:0}.opponent.selected{border:2px solid var(--gold);padding:15px;background:linear-gradient(145deg,#3d3c30,#2a4120)}.opponent-top{display:flex;align-items:flex-start;justify-content:space-between}.opponent-top>span{font-size:9px;color:var(--mint);font-weight:900;letter-spacing:.1em}.opponent.competitive .opponent-top>span{color:var(--gold)}.opponent.risky .opponent-top>span{color:#e8a196}.opponent-top>b{font:29px/.9 Lilita;text-align:right}.opponent-top small{display:block;font:7px Nunito;margin-top:6px;color:var(--muted);letter-spacing:.04em}.opponent-club{display:flex;align-items:center;gap:11px}.club-badge{display:grid;place-items:center;color:var(--club);background:#1e3814;border:2px solid var(--club);border-radius:10px 10px 20px 20px;width:51px;height:56px;font:15px Lilita;flex-shrink:0}.club-badge.small{width:31px;height:33px;font-size:10px;border-width:1px;border-radius:5px 5px 11px 11px}.opponent-club strong{font-size:17px;line-height:1.1;display:block}.opponent-club small{display:block;color:var(--muted);font-size:9px;margin-top:5px}.cpu-plan{font-size:7px;color:var(--muted);letter-spacing:.06em}.cpu-plan strong{display:block;font-size:11px;color:var(--ink);margin-top:3px;letter-spacing:0}.offer-mp{display:flex;justify-content:space-between;border-top:1px solid #56665d77;padding-top:10px;font-size:8px;color:var(--muted)}.offer-mp b{color:var(--gold);font-size:11px;margin-left:4px}.compact h3{font-size:15px}.matchup{font-size:9px;color:var(--muted)}.matchup.good{color:var(--mint)}.matchup.bad{color:#f2c29d}.tactics-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.tactic{background:#283d1f;border:1px solid #516848;border-radius:8px;text-align:left;padding:12px 10px;min-width:0}.tactic.selected{border-color:var(--gold);background:#383d32}.tactic strong{font-size:11px;display:block;margin-bottom:7px}.tactic small{font-size:9px;display:block;line-height:1.4;margin-top:3px}.positive{color:var(--mint)}.negative{color:#f1c8a8}.series-actions{display:flex;justify-content:space-between;align-items:center;gap:10px}.series-actions>span{font-size:9px}.series-actions>div{display:flex;gap:10px}.series-actions .primary{min-width:220px}.series-actions .secondary{font-size:10px}.player-screen{display:flex;flex-direction:column;gap:18px;height:100%}.player-columns{display:grid;grid-template-columns:1.45fr 1fr;gap:18px;flex:1;min-height:0}.attributes-panel{display:flex;flex-direction:column}.attribute-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px 25px;align-content:center;flex:1;padding-top:15px}.attribute{display:grid;grid-template-columns:1fr auto;gap:5px 8px}.attribute>span{font-size:12px}.attribute>strong{font-size:14px;color:var(--gold)}.attribute strong small{font-size:8px;color:var(--mint);margin-left:5px}.attribute>i{grid-column:1/-1;background:#1e3814;height:4px;border-radius:3px;overflow:hidden}.attribute i>b{display:block;height:100%;background:linear-gradient(90deg,#85b86f,#a9d2b7)}.player-details{display:flex;flex-direction:column;gap:15px}.player-details>div>p{margin-top:10px}.synergy-list{flex:1;display:flex;flex-direction:column;justify-content:center;gap:8px}.synergy-list>div{padding:9px 12px;background:#314b26;border:1px solid #466456;border-radius:8px}.synergy-list strong{font-size:12px}.synergy-list small{display:block;color:#b1d2c1;font-size:10px;margin-top:4px}.synergy-list>h3{font:25px Lilita;color:var(--gold)}.synergy-list>p{color:var(--muted);font-size:12px}.player-detail-actions{display:flex;flex-direction:column;gap:9px}
.shop-screen{height:100%;display:flex;flex-direction:column;gap:20px}.shop-screen h1{font-size:35px}.pack-shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;flex:1;min-height:0}.shop-pack{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:20px}.foil-wrapper{height:clamp(145px,26vh,260px);width:clamp(110px,12vw,170px);position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:13px 4px;color:#dce5e7;border:3px solid #ccd5d3;box-shadow:5px 9px 15px #0005,inset 0 0 10px #edf2e86b;background:repeating-linear-gradient(115deg,transparent 0 20px,#ffffff0b 22px 26px),linear-gradient(145deg,#c7d0cc,#355429 15%,#8aa181 32%,#305123 50%,#bddcb0 70%,#345129 85%,#cbd6d0);clip-path:polygon(2% 0,98% 0,100% 3%,99% 97%,98% 100%,2% 100%,0 97%,1% 3%)}.foil-wrapper:before,.foil-wrapper:after{content:'';position:absolute;left:0;right:0;height:8px;background:repeating-linear-gradient(90deg,#adbbb4 0 1px,#58734d 1px 3px)}.foil-wrapper:before{top:0}.foil-wrapper:after{bottom:0}.foil-wrapper>span{font-size:7px;letter-spacing:.08em;z-index:1}.foil-wrapper strong{font:clamp(25px,3.7vw,45px)/.9 Lilita;text-align:center;transform:rotate(-9deg);text-shadow:1px 3px #254618,-1px -1px #d1d7c4;letter-spacing:-.02em}.foil-wrapper strong b{font-size:.55em;color:#f0d49a}.pack-baseball{font-size:35px;opacity:.8}.pack-skill{filter:hue-rotate(20deg)}.pack-athletic{filter:hue-rotate(-35deg)}.shop-pack-copy{width:100%;text-align:center;display:flex;flex-direction:column;gap:7px}.shop-pack h2{font-size:21px}.shop-pack p{font-size:11px;color:var(--muted)}.shop-pack-copy>small{font-size:9px;color:#d0d8bd}.shop-pack-copy .primary{margin-top:10px;font-size:10px;gap:6px;padding:10px 12px}.shop-pack-copy .primary>.coin{height:20px;width:20px;font-size:13px}.shop-pack-copy .primary>span:last-child{margin-left:auto;font-size:9px}.shop-footnote{display:flex;flex-wrap:wrap;gap:5px 15px;justify-content:center;align-items:center;color:var(--muted);font-size:10px}.shop-footnote b{color:var(--ink)}.shop-footnote>span{font-size:9px}.pack-reveal{height:100%;display:flex;flex-direction:column;align-items:center;gap:12px}.reveal-heading{text-align:center}.reveal-heading h1{font-size:32px}.reveal-heading p{font-size:11px;color:var(--muted);margin-top:8px}.reveal-cards{display:flex;align-items:center;justify-content:center;gap:24px;flex:1;width:100%;min-height:0}.trading-card{height:min(100%,420px);aspect-ratio:2.3/3.6;position:relative;border-radius:15px;max-width:30%;background:#96af8c;padding:5px;box-shadow:0 10px 20px #0006}.card-back{height:100%;width:100%;border:1px solid #c0e0b3;border-radius:11px;background:repeating-linear-gradient(125deg,#cef0c012 0 4px,transparent 4px 20px),linear-gradient(135deg,#c0cdd0,#325d20 20%,#98b68b 48%,#2b501c 66%,#cef0c0);display:flex;flex-direction:column;align-items:center;justify-content:space-around;padding:18px 4px;color:#f5e5b6;overflow:hidden;position:relative}.card-back>strong{font:clamp(24px,4.4vw,64px)/.85 Lilita;transform:rotate(-12deg);text-shadow:2px 4px #264719;letter-spacing:-.05em}.card-back>i{font-size:55px}.card-back>span,.card-back>small{font-size:9px;letter-spacing:.15em;z-index:1}.card-back:after{content:'';position:absolute;inset:-30%;background:linear-gradient(110deg,transparent 40%,#ffffff55 48%,transparent 55%);animation:foil 5s infinite}.card-face{height:100%;width:100%;background:linear-gradient(130deg,#48613d,#213917);border-radius:10px;padding:12px;display:flex;flex-direction:column;position:relative;overflow:hidden}.bronze{background:linear-gradient(125deg,#c29972,#795645,#efceb0)}.silver{background:linear-gradient(125deg,#d5e3e8,#7da06e,#e4eff2)}.gold{background:linear-gradient(125deg,#ffdf8a,#987735,#ffeca8)}.diamond{background:linear-gradient(125deg,#edfbff,#b5f09d,#e9d9fa,#cef0c0);box-shadow:0 0 18px #b6f09f55}.card-rarity{font-size:9px;color:#d7c0aa;text-transform:uppercase;letter-spacing:.15em;z-index:1}.silver .card-rarity{color:#cef0c0}.gold .card-rarity{color:#f3da9e}.diamond .card-rarity{color:#ccf0bd}.card-art{position:absolute;right:-3px;top:5px;opacity:.85;transform:scale(1.05);transform-origin:top right}.card-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#223a18 0%,transparent 90%)}.card-title{position:relative;z-index:1;margin-top:auto;margin-bottom:15px}.card-title>small{font-size:7px;color:var(--muted);letter-spacing:.1em}.card-title h2{font:25px/1 Lilita;margin-top:4px}.card-boosts{position:relative;z-index:1;display:flex;flex-direction:column;gap:6px;margin-bottom:13px}.card-boosts>div{display:flex;justify-content:space-between;border-bottom:1px solid #77946b55;padding-bottom:5px;font-size:11px}.card-boosts b{color:var(--gold)}.card-face>.primary{z-index:1;font-size:10px;min-height:35px;padding:8px}
.league-screen{height:100%;display:flex;flex-direction:column;gap:20px}.league-screen h1{font-size:35px}.league-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;min-height:0;flex:1}.standings-panel,.stories-panel{display:flex;flex-direction:column}.standings-panel .section-heading>span{font-size:9px;color:var(--muted)}.standings{list-style:none;padding:0;margin:15px 0;display:flex;flex-direction:column;justify-content:space-around;flex:1;gap:5px;min-height:0}.standings li{display:flex;align-items:center;gap:13px;flex:1;min-height:0;padding:6px 10px;border-radius:7px;border:1px solid transparent;background:#213818}.standings li>span:nth-of-type(2){flex:1;font-size:12px}.standings li>b{font-size:11px;color:var(--muted);width:12px}.standings li>strong{font-size:13px}.standings i{font-size:10px;color:var(--muted);padding:0 4px}.standings small{font-size:7px;color:var(--gold);display:block;margin-top:2px}.standings .your-club{border-color:#b6995b;background:#3b3a2c}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;font-size:10px;color:var(--muted)}.pagination .secondary{min-height:28px;padding:4px 12px}.story-list{display:flex;flex-direction:column;flex:1;justify-content:space-around;gap:15px;margin:20px 0;min-height:0}.story-list article{border-left:2px solid var(--gold);padding-left:12px}.story-list .eyebrow{font-size:8px;margin-bottom:4px}.story-list h3{font-size:15px}.story-list p{font-size:11px;color:var(--muted);margin-top:5px}.season-career-total{display:flex;justify-content:space-around;border-top:1px solid var(--line);margin-top:17px;padding-top:15px}.season-career-total>span{font-size:20px;font-weight:900;color:var(--gold)}.season-career-total small{display:block;font-size:8px;color:var(--muted);margin-top:4px}.result-screen{height:100%;display:flex;flex-direction:column;gap:18px}.result-banner{background:linear-gradient(105deg,#364a2d,#24381b);border:1px solid #6d8364;border-radius:15px;padding:22px;position:relative}.result-banner.won{background:linear-gradient(105deg,#39542e,#23391b)}.result-banner h1{font-size:38px;color:#e6ecd5}.result-banner p{font-size:12px;color:var(--muted);margin-top:8px}.result-banner p b{font-size:17px;padding:0 10px;color:var(--ink)}.result-coins{position:absolute;right:28px;top:45%;font-size:27px;color:var(--gold);display:flex;align-items:center;gap:7px;font-weight:900}.result-coins small{font-size:12px}.result-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:18px;flex:1;min-height:0}.stretch-stats,.chapter-story{display:flex;flex-direction:column;gap:18px}.war-number{font:35px Lilita;color:var(--mint);white-space:nowrap}.war-number small{display:block;font:8px Nunito;text-align:right}.stretch-stats .stats-strip{padding:15px 0}.line-score{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.line-score>div{background:#1e3814;border-radius:7px;padding:9px;text-align:center}.line-score span,.line-score small{display:block;color:var(--muted);font-size:8px}.line-score b{font-size:23px;line-height:1.8}.stretch-stats>.secondary{align-self:flex-start}.chapter-story h2{font:31px Lilita}.chapter-story>p{font-size:12px;color:#e4decc}.chapter-story>.primary{margin-top:auto}.retirement-screen{height:100%;display:grid;grid-template-columns:.75fr 1fr;align-items:center;gap:25px;max-width:1050px;margin:auto;background:radial-gradient(ellipse at 22% 65%,#4b6f6344,transparent 60%)}.retirement-art{display:flex;justify-content:center}.retirement-copy>p{font-size:12px;margin-top:10px;color:var(--muted)}.legacy-score{font:70px/.95 Lilita;color:var(--gold);display:block;margin:24px 0}.legacy-score small{font:9px Nunito;color:var(--muted);display:block;margin-top:7px;letter-spacing:.12em}.recap-achievements{display:flex;justify-content:space-between;padding:17px 0;gap:8px}.recap-achievements>span{font-size:8px;color:var(--muted)}.recap-achievements b{display:block;font-size:19px;color:var(--ink);margin-bottom:4px}.recap-buttons{display:flex;gap:10px;margin-top:20px}.recap-buttons button{font-size:10px}
.broadcast{position:relative;height:100%;overflow:hidden;border:1px solid #5f7c54;border-radius:18px;background:#1e3814}.broadcast-top{position:absolute;top:18px;left:22px;right:22px;display:flex;justify-content:space-between;align-items:center;z-index:4}.broadcast-top>span{font-size:10px;font-weight:900;letter-spacing:.13em;background:#1e3814d9;padding:9px 12px;border-radius:5px}.broadcast-top b{color:var(--gold);margin-left:12px}.broadcast-stadium{position:absolute;inset:0;background:linear-gradient(0deg,#1f3814 0%,#173f2300 65%),url('/stadiums/classic-v1.webp') center/cover;animation:camera 7s ease-out both}.scorebug{position:absolute;top:80px;left:22px;z-index:3;background:#1e3814e8;border-radius:8px;border:1px solid #75896e;padding:10px;display:grid;gap:6px;min-width:135px}.scorebug>span{display:flex;justify-content:space-between;gap:20px;font-size:14px}.scorebug b{color:var(--gold)}.scorebug small{font-size:8px;color:var(--muted)}.broadcast-athlete{position:absolute;right:14%;bottom:40px;z-index:1;animation:player-ready 2.2s ease-in-out infinite}.baseball-flight{position:absolute;width:12px;height:12px;border-radius:50%;background:#eee5c9;box-shadow:-6px 3px 10px #fff9;z-index:2;animation:ball-flight 2.2s ease-in-out infinite}.broadcast-caption{position:absolute;bottom:28px;left:32px;right:32px;z-index:3}.broadcast-caption>span{font-size:10px;letter-spacing:.15em;color:var(--gold)}.broadcast-caption h1{font-size:38px;margin:8px 0}.broadcast-caption p{font-size:12px;color:#d0d9d7}.replay-progress{display:flex;gap:6px;margin-top:16px;width:150px}.replay-progress i{height:4px;background:#8fa78677;border-radius:3px;flex:1}.replay-progress i.active{background:var(--gold)}@keyframes camera{from{transform:scale(1.08)}to{transform:scale(1)}}@keyframes player-ready{50%{transform:translateY(-3px) rotate(-1deg)}}@keyframes ball-flight{0%,10%{left:49%;top:49%;opacity:0;transform:scale(.3)}20%{opacity:1}70%{left:73%;top:33%;transform:scale(1.2)}90%,100%{left:90%;top:20%;opacity:0}}@keyframes foil{0%,60%{transform:translateX(-70%)}100%{transform:translateX(70%)}}
dialog{border:1px solid #72856b;border-radius:15px;background:#253d1b;color:var(--ink);padding:22px;width:min(580px,92vw);max-height:85dvh;box-shadow:0 20px 80px #000a}dialog::backdrop{background:#1e3814d9;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:16px}.dialog-header h2{font-size:20px}.close-dialog{width:30px;height:30px;background:#3e5833;border-radius:7px;font-size:23px}.dialog-body p,.dialog-body li{font-size:12px;color:#c0cccc;line-height:1.65}.dialog-body p{margin:12px 0}.dialog-body>.primary{width:100%;margin-top:15px}.dialog-body table{border-collapse:collapse;width:100%;font-size:12px;margin:20px 0}.dialog-body td,.dialog-body th{text-align:left;padding:10px;border-bottom:1px solid var(--line)}.settings-options{display:flex;flex-direction:column;gap:15px}.settings-options>p{margin:0}.settings-toggle{display:flex;align-items:center;justify-content:space-between;font-size:13px}.settings-toggle input{accent-color:var(--gold);width:20px;height:20px}.settings-buttons{display:flex;gap:10px}.import-button{cursor:pointer}.career-directory{display:flex;flex-direction:column;gap:6px;max-height:170px;overflow:auto}.career-directory-row{display:flex;justify-content:space-between;align-items:center;background:#1f3815;border:1px solid var(--line);border-radius:7px;padding:10px;text-align:left;gap:15px}.career-directory-row small{display:block;color:var(--muted);margin-top:4px;font-size:9px}.career-directory-row>span:last-child{font-size:9px;color:var(--gold)}.support-link{font-size:12px}#customize-player .primary{margin-top:20px;width:100%}.how-to{padding-left:20px;display:grid;gap:10px}#war-status{position:fixed;bottom:80px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;max-width:min(90vw,540px);padding:13px 20px;background:#e5d3ac;color:#253d1b;border-radius:10px;z-index:100;font-size:12px;box-shadow:0 5px 25px #0006;transition:.2s}#war-status.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1400px){.hero-player{right:0}.hero-copy{width:65%}.hero-copy h1{font-size:48px}.opponent{gap:18px}}
@media(max-height:720px){#war-app{grid-template-rows:57px minmax(0,1fr) auto}.app-header{padding:5px 22px}.wordmark img{width:37px;height:37px}.wordmark>span{font-size:20px}.bottom-nav{height:48px}main{padding:14px 22px}.panel{padding:17px}.hero-copy>.eyebrow{margin-bottom:10px}.hero-rating{margin:12px 0}.hero-rating>strong{font-size:61px}.hero-cta{margin-top:15px}.hero-footer{padding-top:12px}.hero-player{bottom:10px;right:-40px;transform:scale(.85);transform-origin:right bottom}.hero-copy h1{font-size:34px}.stats-strip{padding:9px 0}.stats-strip strong{font-size:21px}.empty-legacy p{margin-top:10px}.legacy-star{font-size:32px;margin-bottom:10px}.legacy-formula{margin-top:18px}.legacy-bottom{padding-top:10px}.legacy-intro{font-size:10px}.creation-form{padding:20px;gap:10px}.create-art{padding-top:15px}.role-picks label>span{padding:9px}.form-grid{gap:7px 12px}input:not([type=radio]):not([type=checkbox]),select{height:32px;padding:6px 9px}.age-picks label>span{padding:7px 3px}.creation-form h2{font-size:22px}.age-picks b{font-size:20px}.creation-athlete{transform:scale(.8);transform-origin:right bottom}.series-screen{gap:10px}.mini-profile{min-height:65px;padding:7px 15px}.mini-avatar{height:50px}.mini-avatar>div{transform:translate(-10px,-8px) scale(.9);transform-origin:top center}.opponent{padding:12px;gap:8px}.opponent.selected{padding:11px}.opponent-club strong{font-size:15px}.club-badge{height:44px;width:43px;font-size:13px}.opponent-top>b{font-size:25px}.tactic{padding:9px 8px}.tactic strong{margin-bottom:4px;font-size:10px}.tactic small{font-size:8px}.offer-mp{padding-top:7px}.series-actions .primary,.series-actions .secondary{min-height:35px}.section-heading h2{font-size:20px}.shop-screen{gap:13px}.shop-screen h1,.league-screen h1{font-size:30px}.shop-pack{gap:13px;padding:16px}.foil-wrapper{height:23vh}.pack-baseball{font-size:25px}.shop-pack-copy{gap:5px}.shop-pack-copy .primary{margin-top:7px}.shop-footnote{font-size:9px}.player-screen{gap:13px}.attribute-grid{gap:10px 20px}.player-details{gap:10px}.player-details>div>p{font-size:11px}.synergy-list>p{font-size:11px}.result-screen{gap:13px}.result-banner{padding:17px}.result-banner h1{font-size:32px}.stretch-stats,.chapter-story{gap:12px}.line-score b{font-size:20px}.result-columns .stats-strip{padding:10px 0}.chapter-story h2{font-size:27px}.chapter-story>p{font-size:11px}.league-screen{gap:14px}.story-list{gap:10px;margin:14px 0}.story-list p{font-size:10px}.story-list h3{font-size:14px}.standings{margin:10px 0}.standings li{padding:4px 8px}.legacy-list li{gap:7px;padding:3px 8px}.legacy-list strong{font-size:11px}.legacy-list small{font-size:8px}.legacy-score{font-size:58px;margin:18px 0}.retirement-copy .muted{font-size:11px}}
@media(max-width:760px){:root{font-size:12px}.header-middle{display:none}.header-actions{gap:12px}.app-header{padding-left:15px;padding-right:15px}main{padding:12px}.home-grid{gap:12px;grid-template-columns:1fr 1fr}.panel{padding:15px}.hero-copy{width:100%}.hero-copy h1{font-size:30px;max-width:190px}.hero-player{right:-85px;opacity:.45;bottom:30px;transform:scale(.8)}.hero-rating>strong{font-size:58px}.hero-footer{gap:9px}.hero-footer>span:last-child{font-size:8px}.hero-cta .primary{min-width:0;width:100%;font-size:9px;padding:11px}.legacy-panel h2{font-size:18px}.legacy-panel .section-heading{align-items:flex-start;flex-direction:column;gap:5px}.legacy-panel .eyebrow{font-size:8px}.legacy-intro{font-size:10px}.empty-legacy{padding:3px}.empty-legacy h3{font-size:25px}.empty-legacy p{font-size:10px}.legacy-formula{font-size:6px;gap:5px;flex-wrap:wrap;justify-content:center}.legacy-bottom>span{font-size:7px}.legacy-bottom strong{font-size:24px}.legacy-list .leader-portrait{display:none}.legacy-list li{gap:6px}.legacy-list li>b:last-child{font-size:10px}.legacy-list strong{font-size:9px}.legacy-list small{font-size:7px}.create-screen{gap:15px;grid-template-columns:.65fr 1fr}.create-art h1{font-size:33px}.create-art p{font-size:10px}.creation-form{padding:17px}.creation-form h2{font-size:20px}.form-grid{gap:9px}.role-picks label>span{padding:9px 6px}.role-picks small{font-size:8px}.role-picks b{font-size:10px}.creation-athlete{right:-60px}.opponent-grid{gap:8px}.opponent{padding:10px}.opponent.selected{padding:9px}.opponent-club{flex-direction:column;align-items:flex-start;gap:6px}.opponent-club strong{font-size:14px}.opponent-club small{font-size:8px}.opponent-top{gap:7px}.opponent-top>span{font-size:7px}.opponent-top>b{font-size:23px}.opponent-top small{font-size:6px}.cpu-plan{font-size:6px}.cpu-plan strong{font-size:9px}.offer-mp{flex-direction:column;gap:4px}.offer-mp b{font-size:10px}.tactics-grid{gap:5px}.tactic{padding:8px 6px}.tactic strong{font-size:9px}.tactic small{font-size:8px}.series-actions .primary{min-width:150px;font-size:10px}.series-actions .secondary{font-size:8px;padding:8px}.series-actions>div{gap:7px}.mini-profile h2{font-size:17px}.mini-profile p{font-size:9px}.mini-ovr{margin-left:0}.mini-ovr b{font-size:29px}.schedule-note{font-size:8px}.player-columns{gap:12px;grid-template-columns:1.2fr 1fr}.attribute-grid{gap:12px 13px}.attribute>span{font-size:10px}.attribute>strong{font-size:12px}.player-details h2{font-size:20px}.player-detail-actions button{font-size:9px;padding:8px}.synergy-list>h3{font-size:22px}.shop-screen h1{font-size:27px}.shop-balance{font-size:18px}.shop-pack{padding:12px;gap:15px}.pack-shop-grid{gap:10px}.shop-pack h2{font-size:18px}.shop-pack-copy .primary{padding:9px 7px;flex-wrap:wrap}.shop-pack-copy .primary>span:last-child{margin-left:0;font-size:8px;width:100%}.shop-pack p{font-size:10px}.shop-pack-copy>small{font-size:8px}.foil-wrapper{width:100px}.foil-wrapper strong{font-size:31px}.shop-footnote .text-button{padding:3px}.league-columns{gap:12px;grid-template-columns:1.1fr 1fr}.league-screen h1{font-size:28px}.league-screen .section-heading>.small-tag{font-size:7px;white-space:normal;text-align:right;max-width:110px}.standings li{gap:6px;padding:3px 5px}.standings li>span:nth-of-type(2){font-size:10px}.standings li>strong{font-size:10px}.standings li .club-badge{display:none}.standings-panel h2,.stories-panel h2{font-size:18px}.stories-panel .section-heading>.small-tag{display:none}.story-list p{font-size:9px}.result-banner h1{font-size:27px}.result-coins{font-size:21px;right:17px}.result-columns{gap:12px;grid-template-columns:1.1fr 1fr}.result-columns h2{font-size:21px}.chapter-story h2{font-size:26px}.result-columns .primary{font-size:9px}.retirement-screen{grid-template-columns:.6fr 1fr;gap:15px}.retirement-art{transform:scale(.75)}.retirement-copy h1{font-size:34px}.recap-buttons{flex-direction:column;gap:9px}.legacy-score{font-size:52px}}
@media(max-width:520px) and (min-height:521px){#war-app{grid-template-rows:60px minmax(0,1fr) auto}.bottom-nav{height:58px;gap:0}.bottom-nav button{font-size:9px;gap:4px;flex-direction:column;width:20%}.bottom-nav button span{font-size:20px;line-height:1}.wordmark>span{font-size:21px}.wallet{font-size:18px}.coin{height:24px;width:24px;font-size:16px}.home-grid{grid-template-columns:1fr 1fr;gap:9px}.player-hero{padding:14px 11px;justify-content:flex-start}.hero-copy>.eyebrow{font-size:7px;margin-bottom:10px}.hero-copy h1{font-size:27px}.player-sub{font-size:9px}.archetype{font-size:8px;padding:4px 5px}.hero-player{right:-100px;bottom:100px;transform:scale(.65);opacity:.35}.hero-rating{margin:25px 0 20px;gap:7px}.hero-rating>strong{font-size:59px}.hero-rating>span{font-size:8px}.hero-rating small{font-size:7px}.stats-strip{grid-template-columns:1fr 1fr;gap:11px 5px;padding:12px 0}.stats-strip strong{font-size:21px}.stats-strip span{font-size:8px}.hero-copy .stats-strip{background:#213817a6}.hero-cta{margin-top:22px}.hero-cta .primary{font-size:8px;padding:11px 6px;gap:4px}.hero-cta .text-button{font-size:9px;padding-left:0}.hero-footer{flex-direction:column;gap:9px;font-size:11px}.hero-footer small{font-size:7px;margin-left:0;display:block}.legacy-panel{padding:14px 10px}.legacy-intro{font-size:9px;line-height:1.5}.legacy-panel h2{font-size:19px}.small-tag{font-size:7px;padding:4px}.legacy-star{font-size:35px}.empty-legacy h3{font-size:24px}.empty-legacy p{font-size:9px}.legacy-formula{display:none}.legacy-bottom{flex-direction:column;gap:7px;align-items:flex-start}.legacy-list{gap:2px}.legacy-list li{padding:4px 3px;gap:4px;flex:1}.legacy-list .place{font-size:9px;width:10px}.legacy-list strong{font-size:8px}.legacy-list li>b:last-child{font-size:9px}.legacy-list small{font-size:6px}.create-screen{grid-template-columns:1fr;gap:0}.create-art{display:none}.creation-form{padding:20px;gap:13px;border-radius:13px}.creation-form h2{font-size:26px}.form-grid{gap:11px 12px}.form-grid label{font-size:11px}input:not([type=radio]):not([type=checkbox]),select{height:39px;font-size:12px}.role-picks label>span{padding:12px}.role-picks b{font-size:12px}.role-picks small{font-size:9px}.age-picks label>span{padding:11px 4px}.age-picks b{font-size:25px}.age-picks strong{font-size:12px}.age-picks span>small{font-size:9px}.form-note{font-size:10px}.start-career{min-height:44px}.mini-profile{gap:7px;padding:8px 10px;min-height:72px}.mini-profile h2{font-size:16px}.mini-profile .eyebrow{font-size:7px;letter-spacing:.06em}.mini-profile p{font-size:8px;max-width:150px}.mini-avatar{width:43px;height:53px}.mini-avatar>div{transform:translate(-21px,-5px) scale(.85)}.mini-ovr{margin-left:auto}.mini-ovr b{font-size:26px}.series-screen{gap:10px}.series-screen>.section-heading h2{font-size:19px}.schedule-note{font-size:7px;max-width:70px;text-align:right}.series-screen>.section-heading .eyebrow{font-size:7px}.opponent{padding:8px 7px;gap:8px}.opponent.selected{padding:7px 6px}.opponent-top{flex-direction:column;gap:8px}.opponent-top>b{font-size:24px;text-align:left}.opponent-top small{font-size:6px;margin-top:3px}.opponent-top>span{font-size:7px}.opponent-club .club-badge{width:32px;height:35px;font-size:10px}.opponent-club strong{font-size:12px}.opponent-club small{font-size:7px;line-height:1.4}.cpu-plan strong{font-size:8px;line-height:1.3}.offer-mp{font-size:6px;padding-top:6px;gap:4px}.offer-mp b{display:block;margin:2px 0 0;font-size:9px}.tactics-grid{grid-template-columns:repeat(5,1fr);gap:4px}.tactic{padding:8px 4px}.tactic strong{font-size:8px;line-height:1.25;min-height:29px}.tactic small{font-size:6px;line-height:1.45}.series-actions{flex-wrap:wrap;gap:8px}.series-actions>span{font-size:7px;line-height:1.4}.series-actions>div{width:100%;display:flex}.series-actions .primary{min-width:0;flex:1;font-size:10px;min-height:39px}.series-actions .secondary{font-size:8px;max-width:140px;line-height:1.2}.player-columns{grid-template-columns:1fr;gap:11px;grid-template-rows:1fr auto}.player-screen{gap:11px}.attributes-panel{padding:15px}.attributes-panel h2{font-size:20px}.attribute-grid{gap:9px 18px;padding-top:13px}.attribute>span{font-size:10px}.attribute>strong{font-size:12px}.player-details{padding:12px;gap:9px;display:grid;grid-template-columns:1fr 1fr}.player-details>div:first-child{display:none}.synergy-list{gap:4px}.synergy-list>h3{font-size:17px}.synergy-list>p{font-size:8px;line-height:1.5}.synergy-list>div{padding:5px 7px}.synergy-list strong{font-size:9px}.synergy-list small{font-size:7px}.player-detail-actions{justify-content:center;gap:7px}.player-detail-actions button{font-size:8px;padding:7px 5px;min-height:33px}.shop-screen{gap:15px}.shop-screen>.section-heading{align-items:flex-start;gap:7px}.shop-screen h1{font-size:26px;max-width:240px}.shop-screen .eyebrow{font-size:8px}.shop-balance{font-size:15px;gap:4px}.shop-balance .coin{height:19px;width:19px;font-size:11px}.shop-balance small{font-size:7px}.pack-shop-grid{gap:8px}.shop-pack{padding:9px 6px;gap:15px}.foil-wrapper{width:83px;height:180px;max-width:95%;padding-top:14px}.foil-wrapper strong{font-size:27px}.foil-wrapper>span{font-size:5px}.pack-baseball{font-size:28px}.shop-pack h2{font-size:15px;line-height:1.2;min-height:36px}.shop-pack p{font-size:8px;line-height:1.5;min-height:36px}.shop-pack-copy>small{font-size:7px;line-height:1.5;min-height:32px}.shop-pack-copy .primary{font-size:9px;gap:4px;min-height:56px;padding:8px 4px}.shop-pack-copy .primary>span:last-child{font-size:6px}.shop-pack-copy .primary>.coin{height:15px;width:15px;font-size:9px}.shop-pack-copy .primary small{display:none}.shop-footnote{text-align:center;font-size:8px;gap:8px}.shop-footnote>span{font-size:8px}.reveal-heading h1{font-size:26px}.reveal-heading p{font-size:10px;max-width:300px}.reveal-cards{gap:7px}.trading-card{aspect-ratio:2/4.8;max-width:32%;width:32%;max-height:380px;border-radius:11px;padding:3px}.card-back{padding:12px 2px}.card-back>strong{font-size:27px}.card-back>i{font-size:29px}.card-back>span,.card-back>small{font-size:6px;letter-spacing:.06em}.card-face{padding:8px 6px}.card-rarity{font-size:7px}.card-art{right:-42px;top:14px;transform:scale(.8);transform-origin:top center}.card-title{margin-bottom:14px}.card-title h2{font-size:20px}.card-title>small{font-size:5px}.card-boosts{gap:7px}.card-boosts>div{font-size:8px;align-items:center;gap:3px;min-height:25px}.card-boosts span{max-width:65px}.card-face>.primary{padding:8px 3px;font-size:7px;min-height:37px}.league-screen{gap:12px}.league-screen h1{font-size:27px}.league-screen>.section-heading>.small-tag{font-size:6px;max-width:85px}.league-columns{grid-template-columns:1fr;grid-template-rows:1.2fr 1fr;gap:12px}.standings-panel,.stories-panel{padding:12px}.standings-panel .section-heading h2,.stories-panel .section-heading h2{font-size:18px}.standings{gap:3px;margin:9px 0}.standings li{padding:4px 8px}.standings li>span:nth-of-type(2){font-size:10px}.standings li>strong{font-size:12px}.standings li .club-badge{display:grid;width:23px;height:25px;font-size:7px}.standings li{gap:9px}.pagination{gap:17px;font-size:8px}.pagination .secondary{min-height:23px;font-size:9px;padding:2px 9px}.story-list{gap:8px;margin:10px 0}.story-list article{padding-left:8px}.story-list h3{font-size:11px}.story-list p{font-size:8px;margin-top:3px;line-height:1.35}.story-list .eyebrow{font-size:6px;margin-bottom:3px}.season-career-total{display:none}.result-banner{padding:18px 14px}.result-banner h1{font-size:28px;max-width:240px}.result-banner .eyebrow{font-size:7px}.result-banner p{font-size:9px;max-width:255px;line-height:1.6}.result-banner p b{font-size:12px;padding:0 5px}.result-coins{font-size:16px;right:13px;top:auto;bottom:16px;gap:4px}.result-coins>.coin{height:20px;width:20px;font-size:12px}.result-coins small{font-size:7px}.result-columns{grid-template-columns:1fr;grid-template-rows:1.1fr 1fr;gap:11px}.stretch-stats{gap:9px;padding:14px}.stretch-stats .section-heading h2{font-size:20px}.stretch-stats .eyebrow{font-size:7px}.war-number{font-size:28px}.result-columns .stats-strip{grid-template-columns:repeat(4,1fr);padding:8px 0}.line-score{gap:8px}.line-score>div{padding:6px}.line-score b{font-size:17px;line-height:1.6}.line-score small,.line-score span{font-size:7px}.stretch-stats>.secondary{font-size:9px;padding:6px 12px;min-height:30px}.stretch-stats>.muted{font-size:9px}.chapter-story{padding:14px;gap:9px}.chapter-story h2{font-size:24px}.chapter-story>.eyebrow{font-size:7px;margin-bottom:0}.chapter-story>p{font-size:10px}.chapter-story>p.muted{font-size:8px}.chapter-story .primary{min-height:36px;font-size:9px}.retirement-screen{grid-template-columns:1fr;position:relative;gap:0}.retirement-art{position:absolute;right:-90px;top:-30px;opacity:.18;transform:scale(.9);z-index:0}.retirement-copy{position:relative;padding:15px;z-index:1}.retirement-copy h1{font-size:40px}.legacy-score{font-size:70px;margin:30px 0 22px}.retirement-copy .stats-strip{grid-template-columns:repeat(4,1fr)}.recap-achievements{margin-top:10px}.recap-buttons{margin-top:25px}.broadcast-athlete{right:-30px;bottom:80px;transform:scale(.8)}.broadcast-top{top:12px;left:12px;right:12px}.broadcast-top b{display:block;margin:4px 0 0;font-size:7px}.broadcast-top>span{font-size:8px}.broadcast-top .secondary{font-size:9px;min-height:30px;padding:7px 10px}.scorebug{top:85px;left:13px}.broadcast-caption{left:18px;right:18px;bottom:25px}.broadcast-caption h1{font-size:30px}.broadcast-caption p{font-size:10px}.broadcast-stadium{background-position:47% center}dialog{padding:17px}.settings-buttons .secondary{font-size:10px}}
@media(max-height:520px){#war-app{grid-template-rows:43px minmax(0,1fr) auto}.app-header{padding:3px 16px}.wordmark img{height:30px;width:30px}.wordmark>span{font-size:17px}.wordmark small{font-size:6px;margin-top:3px}.header-middle{font-size:8px}.settings-button{height:28px;width:28px;font-size:18px}.wallet{font-size:17px}.coin{height:21px;width:21px;font-size:14px}.bottom-nav{height:37px}.bottom-nav button{font-size:10px;gap:6px}.bottom-nav button span{font-size:16px}main{padding:8px 15px}.panel{padding:12px;border-radius:10px}.home-grid{gap:12px}.player-hero{padding:15px 20px}.hero-copy{width:75%}.hero-copy>.eyebrow{font-size:7px;margin-bottom:7px}.hero-copy h1{font-size:28px;max-width:260px}.player-sub{font-size:8px;margin:5px 0}.archetype{font-size:7px;padding:3px 6px}.hero-rating{margin:6px 0;gap:8px}.hero-rating>strong{font-size:46px}.hero-rating>span{font-size:7px}.hero-rating small{font-size:6px}.hero-copy .stats-strip{max-width:260px;padding:6px 0}.stats-strip strong{font-size:17px}.stats-strip span{font-size:7px}.hero-cta{margin-top:8px;flex-direction:row;align-items:center;gap:8px}.hero-cta .primary{font-size:8px;min-height:31px;padding:7px 10px;min-width:170px;width:auto}.hero-cta .text-button{font-size:8px}.hero-footer{padding-top:8px;font-size:8px}.hero-footer small{font-size:6px}.hero-player{bottom:-10px;right:-25px;transform:scale(.7);opacity:.9}.legacy-panel h2{font-size:18px}.legacy-panel .eyebrow{font-size:7px;margin-bottom:4px}.legacy-intro{font-size:8px;margin:7px 0}.legacy-panel .small-tag{font-size:6px;padding:4px}.legacy-panel .section-heading{flex-direction:row;align-items:center}.legacy-star{font-size:23px;margin-bottom:7px}.empty-legacy h3{font-size:24px}.empty-legacy p{font-size:8px;margin-top:7px;max-width:230px}.legacy-formula{margin-top:10px;font-size:6px;gap:7px}.legacy-bottom{padding-top:8px}.legacy-bottom>span{font-size:7px}.legacy-bottom strong{font-size:22px}.legacy-list{gap:1px}.legacy-list li{padding:1px 5px;gap:6px}.leader-portrait{display:none}.legacy-list strong{font-size:8px}.legacy-list small{font-size:6px}.legacy-list li>b:last-child{font-size:9px}.legacy-list .place{font-size:8px}.create-screen{grid-template-columns:.8fr 1.1fr;max-width:1000px;gap:20px}.create-art{display:block;padding:9px}.create-art h1{font-size:34px}.create-art .eyebrow{font-size:7px}.create-art p{font-size:9px;margin-top:13px}.creation-athlete{right:-20px;bottom:-30px;transform:scale(.7)}.art-caption{font-size:7px}.creation-form{padding:12px 17px;gap:7px}.creation-form .section-heading .eyebrow{font-size:6px;margin-bottom:3px}.creation-form h2{font-size:19px}.role-picks label>span{padding:6px 9px;gap:3px}.role-picks b{font-size:9px}.role-picks small{font-size:7px}.form-grid{gap:6px 12px;grid-template-columns:repeat(3,1fr)}.form-grid label{font-size:8px;gap:3px}.form-grid .wide{grid-column:auto;grid-row:auto}.form-grid .wide:first-child{grid-column:span 2}input:not([type=radio]):not([type=checkbox]),select{height:27px;padding:4px 7px;font-size:10px}.age-picks legend{font-size:8px;margin-bottom:5px}.age-picks label>span{padding:5px;display:grid;grid-template-columns:1fr 1fr;gap:3px 4px}.age-picks b{font-size:18px;grid-row:span 2}.age-picks b small{font-size:5px}.age-picks strong{font-size:8px}.age-picks span>small{font-size:6px}.form-note{font-size:7px}.start-career{min-height:29px;font-size:9px;padding:6px 10px}.creation-form .save-note{font-size:6px}.series-screen{gap:6px}.mini-profile{min-height:47px;max-height:47px;padding:4px 11px;gap:8px}.mini-avatar{height:40px;width:45px}.mini-avatar>div{transform:translate(-20px,-6px) scale(.75)}.mini-profile h2{font-size:15px}.mini-profile .eyebrow{font-size:6px;margin-bottom:2px}.mini-profile p{font-size:7px;margin-top:2px}.mini-ovr b{font-size:25px}.mini-ovr small{font-size:6px}.section-heading h2{font-size:17px}.section-heading .eyebrow{font-size:6px;margin-bottom:3px}.schedule-note{font-size:7px}.opponent-grid{gap:8px}.opponent{padding:7px 10px;gap:4px}.opponent.selected{padding:6px 9px}.opponent-top{align-items:center}.opponent-top>b{font-size:18px}.opponent-top small{font-size:5px;margin-top:2px}.opponent-top>span{font-size:7px}.opponent-club{flex-direction:row;gap:7px}.club-badge{width:28px;height:30px;font-size:9px;border-width:1px}.opponent-club strong{font-size:12px}.opponent-club small{font-size:7px;margin-top:2px}.cpu-plan{font-size:5px}.cpu-plan strong{display:inline;font-size:8px;margin-left:6px}.offer-mp{padding-top:4px;font-size:6px;flex-direction:row}.offer-mp b{font-size:8px}.compact h3{font-size:11px}.matchup{font-size:7px}.tactics-grid{gap:5px}.tactic{padding:5px 7px}.tactic strong{font-size:8px;margin-bottom:3px}.tactic small{font-size:6px;margin-top:2px}.series-actions>span{font-size:6px}.series-actions .primary{min-height:26px;font-size:8px;min-width:180px;padding:6px 10px}.series-actions .secondary{min-height:26px;font-size:7px;padding:6px 10px}.player-screen{gap:9px}.player-columns{gap:12px}.attributes-panel h2{font-size:17px}.attribute-grid{gap:6px 18px;padding-top:7px}.attribute>span{font-size:9px}.attribute>strong{font-size:10px}.attribute>i{height:3px}.attribute{gap:3px}.player-details{gap:7px}.player-details h2{font-size:19px}.player-details>div>p{font-size:8px;margin-top:5px}.synergy-list>h3{font-size:20px}.synergy-list>p{font-size:9px}.synergy-list>div{padding:5px 8px}.synergy-list strong{font-size:9px}.synergy-list small{font-size:7px;margin-top:2px}.player-detail-actions{gap:6px}.player-detail-actions button{font-size:8px;min-height:27px;padding:6px}.shop-screen{gap:8px}.shop-screen h1,.league-screen h1{font-size:25px}.shop-screen .eyebrow,.league-screen .eyebrow{font-size:6px;margin-bottom:4px}.shop-balance{font-size:17px}.pack-shop-grid{gap:12px}.shop-pack{flex-direction:row;padding:11px;gap:13px}.foil-wrapper{height:170px;width:105px;max-height:100%;flex-shrink:0}.foil-wrapper strong{font-size:30px}.foil-wrapper>span{font-size:5px}.shop-pack-copy{text-align:left;gap:6px}.shop-pack h2{font-size:17px}.shop-pack p{font-size:8px}.shop-pack-copy>small{font-size:7px}.shop-pack-copy .primary{padding:6px;gap:4px;min-height:31px;flex-wrap:wrap;font-size:8px;margin-top:4px}.shop-pack-copy .primary>span:last-child{font-size:6px;width:100%;margin-left:0}.shop-pack-copy .primary>.coin{height:15px;width:15px;font-size:9px}.shop-footnote{font-size:7px;gap:2px 12px}.shop-footnote>span{font-size:7px}.shop-footnote .text-button{font-size:7px;padding:3px}.pack-reveal{gap:7px}.reveal-heading .eyebrow{font-size:6px;margin-bottom:4px}.reveal-heading h1{font-size:24px}.reveal-heading p{font-size:8px;margin-top:5px}.reveal-cards{gap:20px}.trading-card{aspect-ratio:2.3/3.5;border-radius:10px;padding:4px}.card-back{padding:10px}.card-back>strong{font-size:40px}.card-back>i{font-size:25px}.card-back>span,.card-back>small{font-size:6px}.card-face{padding:7px}.card-art{top:-10px;right:-25px;transform:scale(.7);transform-origin:top right}.card-rarity{font-size:6px}.card-title{margin-bottom:8px}.card-title>small{font-size:5px}.card-title h2{font-size:18px}.card-boosts{gap:4px;margin-bottom:8px}.card-boosts>div{font-size:8px;padding-bottom:3px}.card-face>.primary{font-size:7px;min-height:25px;padding:5px}.pack-reveal>.save-note{font-size:7px}.league-screen{gap:9px}.league-columns{gap:12px}.standings-panel h2,.stories-panel h2{font-size:17px}.standings{margin:7px 0;gap:3px}.standings li{padding:3px 7px;gap:8px}.standings li>span:nth-of-type(2){font-size:9px}.standings li>strong{font-size:10px}.standings .club-badge{height:22px;width:22px;font-size:7px}.standings small{font-size:5px;margin-top:0}.pagination{font-size:8px;gap:15px}.pagination .secondary{padding:2px 9px;min-height:20px;font-size:9px}.story-list{margin:10px 0;gap:8px}.story-list h3{font-size:12px}.story-list p{font-size:8px;line-height:1.45}.story-list .eyebrow{font-size:6px;margin-bottom:3px}.season-career-total{padding-top:8px;margin-top:8px}.season-career-total>span{font-size:15px}.season-career-total small{font-size:6px;margin-top:1px}.result-screen{gap:9px}.result-banner{padding:12px 17px}.result-banner .eyebrow{font-size:6px;margin-bottom:4px}.result-banner h1{font-size:26px}.result-banner p{font-size:8px;margin-top:5px}.result-banner p b{font-size:12px}.result-coins{font-size:20px;top:35%}.result-coins small{font-size:8px}.result-columns{gap:12px}.stretch-stats,.chapter-story{gap:7px}.result-columns h2{font-size:19px}.result-columns .eyebrow{font-size:6px;margin-bottom:4px}.war-number{font-size:25px}.war-number small{font-size:6px}.result-columns .stats-strip{padding:7px 0}.line-score>div{padding:5px}.line-score b{font-size:16px;line-height:1.5}.line-score span,.line-score small{font-size:6px}.stretch-stats>.secondary{font-size:8px;padding:5px 10px;min-height:25px}.stretch-stats>.muted{font-size:8px}.chapter-story h2{font-size:22px}.chapter-story>p{font-size:9px}.chapter-story>p.muted{font-size:8px}.chapter-story .primary{font-size:8px;padding:7px;min-height:30px}.retirement-screen{grid-template-columns:.65fr 1fr;gap:15px}.retirement-art{transform:scale(.75)}.retirement-copy h1{font-size:31px}.retirement-copy>p{font-size:9px;margin-top:6px}.legacy-score{font-size:45px;margin:12px 0}.legacy-score small{font-size:6px;margin-top:5px}.retirement-copy .stats-strip{padding:8px 0}.recap-achievements{padding:10px 0}.recap-achievements>span{font-size:6px}.recap-achievements b{font-size:15px;margin-bottom:2px}.retirement-copy .muted{font-size:8px}.recap-buttons{flex-direction:row;gap:8px;margin-top:12px}.recap-buttons button{font-size:7px;min-height:29px;padding:7px 9px}.broadcast-top{top:11px;left:15px;right:15px}.broadcast-top>span{font-size:8px}.broadcast-top .secondary{font-size:8px;min-height:27px;padding:6px 10px}.scorebug{top:53px;left:15px;padding:7px;min-width:100px}.scorebug>span{font-size:11px}.scorebug small{font-size:6px}.broadcast-caption{bottom:17px;left:22px}.broadcast-caption h1{font-size:28px;margin:6px 0}.broadcast-caption>span{font-size:7px}.broadcast-caption p{font-size:9px}.broadcast-athlete{right:18%;bottom:-15px;transform:scale(.8);transform-origin:bottom}.replay-progress{margin-top:9px}.dialog-header{padding-bottom:9px;margin-bottom:9px}.dialog-header h2{font-size:17px}.dialog-body p,.dialog-body li{font-size:10px}.settings-options{gap:10px}.career-directory{max-height:95px}.how-to{gap:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}[data-motion=reduced] *,[data-motion=reduced] *:before,[data-motion=reduced] *:after{animation:none!important;transition:none!important}

/* Keep every reward and attribute inside the smallest supported landscape. */
@media(max-height:520px){
 .opponent{gap:2px;justify-content:space-between;padding:6px 9px}.opponent.selected{padding:5px 8px}
 .opponent-top>b{font-size:16px}.opponent-top small{display:none}
 .opponent-club{gap:6px}.opponent-club strong{font-size:10px;line-height:1.05}.opponent-club small{font-size:6px;line-height:1.1;margin-top:2px}
 .opponent-club .club-badge{width:23px;height:25px;font-size:8px}
 .cpu-plan{line-height:1.1;font-size:5px}.cpu-plan strong{font-size:7px}
 .offer-mp{padding-top:3px;font-size:5px;line-height:1.05;gap:2px}.offer-mp b{font-size:7px}
 .attribute-grid{gap:4px 16px;padding-top:6px}.attribute{line-height:1.05;gap:2px}.attribute>span,.attribute>strong{line-height:1.05}
 .player-details .eyebrow{font-size:7px;margin-bottom:4px}.player-details{gap:5px}.synergy-list{min-height:0;gap:4px}.synergy-list>h3{font-size:18px}.synergy-list>p{font-size:8px}
}

.opponent{position:relative;overflow:hidden}.opponent-portrait{position:absolute;right:-35px;top:21%;opacity:.5;pointer-events:none}.opponent>:not(.opponent-portrait){position:relative;z-index:1}.opponent-club>span:last-child{max-width:75%}
@media(max-width:520px) and (min-height:521px){.opponent-portrait{right:-100px;top:19%;opacity:.25;transform:scale(.75)}.opponent-club>span:last-child{max-width:100%}}
@media(max-height:520px){.opponent-portrait{display:none}.opponent-club>span:last-child{max-width:100%}}

.career-dropdown{border:1px solid var(--line);border-radius:7px;padding:9px 11px}.career-dropdown summary{cursor:pointer;font-size:12px;font-weight:800}.career-dropdown .career-directory{margin-top:10px}
@media(max-height:520px){.settings-options{gap:8px}.settings-options>p{font-size:8px}.settings-options .secondary{min-height:27px;padding:6px 10px;font-size:9px}.settings-options .save-note{font-size:6px}.settings-options .support-link{font-size:10px}.career-dropdown{padding:7px 9px}.career-dropdown summary{font-size:10px}}

@media(max-height:520px){
 .stretch-stats{gap:5px;padding:10px}.stretch-stats .section-heading h2{font-size:15px;line-height:1.1}.stretch-stats .section-heading .eyebrow{line-height:1;margin-bottom:3px}.stretch-stats .war-number{font-size:22px;line-height:1}.stretch-stats .war-number small{line-height:1;margin-top:2px}
 .result-columns .stats-strip{padding:4px 0}.result-columns .stats-strip strong{font-size:15px;line-height:1}.result-columns .stats-strip span{font-size:6px;line-height:1}
 .line-score>div{padding:4px}.line-score span,.line-score small{font-size:5px;line-height:1}.line-score b{font-size:15px;line-height:1.3}
 .stretch-stats>.secondary{min-height:22px;padding:4px 9px;font-size:7px}.stretch-stats>.muted{font-size:7px;line-height:1.2}
 .chapter-story{gap:5px;padding:10px}.chapter-story>p{font-size:8px;line-height:1.4}.chapter-story>p.muted{font-size:7px}
}

/* Ballpark palette: grass surfaces, clay panels and chalk/base-white accents. */
body{background:repeating-linear-gradient(92deg,#173f23 0 100px,#1c4828 100px 200px)}
.app-header{background:#163c22;border-bottom:1px solid #fffdf555}.bottom-nav{background:linear-gradient(110deg,#70432d,#553421);border-top:1px solid #e3bea0}.bottom-nav button{color:#eee2d0}.bottom-nav button[aria-current]{background:linear-gradient(#fffdf51a,transparent);color:#fffdf5;border-color:#fffdf5}
.panel{background:linear-gradient(135deg,#2b5b32,#1c4327);border-color:#709064}.legacy-panel,.creation-form,.player-details,.chapter-story,.stories-panel{background:linear-gradient(135deg,#75492f,#4f3425);border-color:#b28b69}.primary{background:#fffdf5;color:#214629;box-shadow:0 3px 0 #ab7650}.primary:hover:not(:disabled){background:white}.secondary{background:#315d35;border-color:#9bb78c;color:#fffdf5}.secondary:hover:not(:disabled){background:#3d6d40}.settings-button{background:#2e5a33;border-color:#a8bf95;color:#fffdf5}.hero-backdrop{background:linear-gradient(90deg,#164327 2%,#164327e6 40%,#16432733),linear-gradient(0deg,#174025,transparent 70%),url('/stadiums/classic-v1.webp') center/cover}.hero-copy .stats-strip{background:#173f23a6}.hero-footer{border-color:#d3e2b977}.hero-rating>strong{text-shadow:0 3px 0 #173520}.archetype{background:#2f5932e6;border-color:#c7dfaa;color:#f4f6df}.legacy-list li{background:#402d2266}.legacy-bottom{border-color:#dbc9b366}.mini-profile{background:linear-gradient(110deg,#2e6234,#1b492a);border-color:#88a872}.attribute>i{background:#143c21}.attribute i>b{background:linear-gradient(90deg,#9ac47a,#fffdf5)}.player-hero .stats-strip,.stretch-stats .stats-strip,.retirement-copy .stats-strip{border-color:#d3e3b677}.small-tag{border-color:#e3e8d077;color:#f1efdf}.form-grid label{color:#f1e7d7}.role-picks label>span,.age-picks label>span{background:#214b2a;border-color:#b7c39a}.role-picks input:checked+span,.age-picks input:checked+span{background:#355e32;border-color:white;box-shadow:inset 0 0 0 1px #fffdf555}.role-picks small,.age-picks span>small{color:#e0e7cc}.form-note,.creation-form .save-note{color:#e7d8c5}.stats-strip span{color:#d8e1c3}.story-list p,.player-details>div>p,.synergy-list>p,.chapter-story>p{color:#e9ddcc}.story-list article{border-color:#fffdf5}.standings li{background:#183e24}.standings .your-club{background:#70472d;border-color:#fffdf5}.standings small{color:#fffdf5}.tactic{background:#285630;border-color:#92a878}.tactic.selected{background:#436c3b;border-color:#fffdf5}.positive{color:#e1f3c6}.negative{color:#f3ceb1}.foil-wrapper{color:#fffdf5}.card-face{background:linear-gradient(130deg,#41643d,#1a3d25)}.card-art:after{background:linear-gradient(0deg,#1a3d25,transparent 90%)}.card-back{background:repeating-linear-gradient(125deg,#ffffff18 0 4px,transparent 4px 20px),linear-gradient(135deg,#f1f3e7,#24512e 20%,#94b58a 48%,#224d2b 66%,#d6e4ca);color:#fffdf5}.card-back>strong{text-shadow:2px 4px #244728}.card-title>small{color:#d7e4c4}.result-banner{background:linear-gradient(110deg,#70472f,#513726);border-color:#cfb18c}.result-banner.won{background:linear-gradient(110deg,#376b37,#204a2b)}.result-banner h1{color:#fffdf5}.line-score>div{background:#173e24}.broadcast-stadium{background:linear-gradient(0deg,#153d23 0%,#173f2300 65%),url('/stadiums/classic-v1.webp') center/cover}.broadcast-top>span,.scorebug{background:#183f25ed;border-color:#f2f0d6}.broadcast-caption h1{color:white}.result-coins{flex-wrap:wrap;justify-content:flex-end}.result-mp-detail{width:100%;text-align:right;font-size:8px;color:#eee2cd}.legacy-formula,.legacy-list small{color:#e1d2bd}
.scheduled-layout{display:grid;grid-template-columns:1.25fr 1fr;gap:16px;flex:1;min-height:0}.scheduled-grid{display:grid;grid-template-rows:minmax(0,1fr)auto;gap:10px;min-height:0}.scheduled-fixture{position:relative;display:flex;align-items:center;overflow:hidden;padding:20px}.fixture-copy{position:relative;z-index:2;max-width:80%}.fixture-copy>.eyebrow{font-size:10px}.fixture-clubs{display:flex;gap:12px;align-items:center}.fixture-clubs h3{font:clamp(20px,2.5vw,34px)/1.05 Lilita;max-width:290px}.fixture-clubs p{font-size:11px;color:#e2e8ce;margin-top:8px}.fixture-rewards{display:flex;gap:16px;flex-wrap:wrap;border-top:1px solid #dae7c36b;padding-top:12px;margin-top:20px;font-size:8px;color:#e0e6ca}.fixture-rewards b{color:#fffdf5;font-size:12px;margin-left:5px}.development-bonus{width:100%;font-size:9px;color:#e0f2c3;font-weight:900}.fixture-portrait{position:absolute;right:-15px;bottom:-20px;opacity:.5;z-index:0}.series-outlook{position:absolute;right:16px;top:18px;display:flex;flex-direction:column;align-items:flex-end;z-index:2}.series-outlook b{font:36px/1 Lilita;color:#fffdf5}.series-outlook small{font-size:7px;margin-top:5px;color:#e3e9d0}.fixture-notes{padding:14px 18px;display:flex;gap:20px;align-items:center;background:linear-gradient(115deg,#70452f,#553827);border-color:#a68260}.fixture-notes>div:first-child{flex:1}.fixture-notes .eyebrow{font-size:8px;margin-bottom:5px}.fixture-notes h3{font-size:16px}.fixture-notes p{font-size:10px;color:#efdecb;margin-top:5px;max-width:360px}.coming-up{display:flex;flex-wrap:wrap;gap:9px;max-width:150px}.coming-up>.eyebrow{width:100%;margin:0;font-size:6px}.coming-up>span:not(.eyebrow){display:flex;flex-direction:column;gap:3px}.coming-up b{font-size:9px;color:#fffdf5}.coming-up small{font-size:7px;color:#e5d4bf}.preparation-panel{display:flex;flex-direction:column;gap:10px;min-height:0}.preparation-grid{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:10px;flex:1;min-height:0}.preparation{position:relative;display:flex;flex-direction:column;justify-content:center;gap:7px;border:1px solid #94b17f;border-radius:11px;text-align:left;background:#28522d;padding:14px 18px;min-width:0}.preparation.selected{border:2px solid #fffdf5;background:linear-gradient(125deg,#47723d,#2b552f);padding:13px 17px}.preparation.selected:after{content:'';position:absolute;right:12px;top:12px;width:9px;height:9px;background:#fffdf5;transform:rotate(45deg)}.preparation strong{font-size:18px;padding-right:15px}.preparation small{font-size:11px;line-height:1.4}.preparation-panel>.section-heading{min-height:20px}.preparation-panel .matchup{font-size:9px;color:#e3e9d3}.preparation-panel .matchup b{color:white}.scheduled-screen .tactics-grid{flex-shrink:0}.scheduled-screen .series-actions .primary{min-width:255px}.club-badge{background:#163b20}.dialog-header{border-color:#ccd7b377}dialog{background:#24512d;border-color:#dbe4bf}dialog::backdrop{background:#0c291be6}.dialog-body p,.dialog-body li{color:#e7ead9}.settings-options .support-link,.settings-options .muted{color:#e9ecd8}.career-directory-row{background:#193e23}.career-directory-row small{color:#d8e4c5}.career-dropdown{border-color:#b6c69e66}
@media(max-width:760px){.scheduled-layout{gap:11px;grid-template-columns:1.1fr 1fr}.fixture-clubs h3{font-size:24px}.fixture-clubs{gap:8px}.fixture-copy>.eyebrow{font-size:8px}.fixture-clubs p{font-size:9px}.fixture-rewards{gap:10px}.fixture-rewards b{font-size:10px}.fixture-notes{padding:11px;gap:10px}.fixture-notes h3{font-size:14px}.fixture-notes p{font-size:9px}.fixture-notes .coming-up{display:none}.preparation{padding:12px}.preparation.selected{padding:11px}.preparation strong{font-size:15px}.preparation small{font-size:9px}.preparation-panel>.section-heading{align-items:flex-start;gap:5px;flex-direction:column}.preparation-panel .matchup{font-size:8px}.series-outlook b{font-size:29px}.fixture-portrait{right:-70px;opacity:.32}.scheduled-screen .series-actions .primary{min-width:215px}}
@media(max-width:520px) and (min-height:521px){.scheduled-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr)auto;gap:10px}.scheduled-grid{grid-template-columns:1.2fr 1fr;grid-template-rows:1fr;gap:8px}.scheduled-fixture{padding:12px}.fixture-copy{max-width:100%;align-self:flex-end}.fixture-copy>.eyebrow{font-size:6px;max-width:80px;margin-bottom:8px}.fixture-clubs{gap:6px;align-items:flex-start}.fixture-clubs .club-badge{width:26px;height:30px;font-size:8px;border-width:1px}.fixture-clubs h3{font-size:20px;max-width:125px}.fixture-clubs p{font-size:7px;line-height:1.5;margin-top:6px;max-width:125px}.fixture-rewards{gap:7px;font-size:6px;margin-top:10px;padding-top:8px}.fixture-rewards b{font-size:8px;margin-left:2px}.development-bonus{font-size:6px}.series-outlook{top:10px;right:10px}.series-outlook b{font-size:24px}.series-outlook small{font-size:5px;margin-top:3px}.fixture-portrait{right:-76px;top:-15px;bottom:auto;transform:scale(.7);opacity:.2;transform-origin:top center}.fixture-notes{padding:11px;display:block}.fixture-notes .eyebrow{font-size:6px;margin-bottom:5px}.fixture-notes h3{font-size:14px}.fixture-notes p{font-size:8px;line-height:1.45;margin-top:7px}.fixture-notes .coming-up{display:flex;margin-top:11px;gap:7px;max-width:100%}.coming-up b{font-size:7px}.coming-up small{font-size:6px}.coming-up>.eyebrow{font-size:5px}.preparation-panel{gap:7px}.preparation-panel>.section-heading{flex-direction:row;align-items:center;min-height:0}.preparation-panel .matchup{font-size:7px}.preparation-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr;gap:6px;min-height:92px;flex:none}.preparation{padding:8px 7px;gap:6px;justify-content:flex-start;border-radius:8px}.preparation.selected{padding:7px 6px}.preparation strong{font-size:10px;line-height:1.2;min-height:23px;padding-right:6px}.preparation small{font-size:7px;line-height:1.35}.preparation.selected:after{width:5px;height:5px;right:5px;top:6px}.scheduled-screen .tactic strong{min-height:25px}.scheduled-screen>.section-heading.compact .matchup{font-size:6px;max-width:150px;text-align:right}.scheduled-screen .series-actions .primary{min-width:0;width:100%;min-height:37px}.scheduled-screen .series-actions .muted{font-size:7px}.scheduled-screen .series-actions>div{width:100%}.result-mp-detail{font-size:5px}}
@media(max-height:520px){.scheduled-layout{gap:8px;grid-template-columns:1.25fr 1fr}.scheduled-screen{gap:6px}.scheduled-screen>.section-heading .eyebrow{font-size:5px;margin-bottom:2px}.scheduled-screen>.section-heading h2{font-size:16px}.scheduled-screen>.section-heading .schedule-note{font-size:6px}.scheduled-grid{gap:4px}.scheduled-fixture{padding:7px 10px;border-radius:8px}.fixture-copy{max-width:88%;align-self:center}.fixture-copy>.eyebrow{font-size:5px;margin-bottom:4px}.fixture-clubs{gap:7px}.fixture-clubs h3{font-size:17px;line-height:1.05;max-width:220px}.fixture-clubs p{font-size:6px;margin-top:3px}.fixture-clubs .club-badge{width:27px;height:30px;font-size:9px;border-width:1px}.fixture-rewards{gap:11px;font-size:5px;margin-top:6px;padding-top:5px;flex-wrap:nowrap}.fixture-rewards b{font-size:7px;margin-left:3px}.development-bonus{width:auto;font-size:5px}.series-outlook{top:8px;right:9px}.series-outlook b{font-size:23px}.series-outlook small{font-size:5px;margin-top:3px}.fixture-portrait{transform:scale(.5);transform-origin:bottom right;right:-10px;bottom:-15px;opacity:.25}.fixture-notes{padding:6px 10px;min-height:33px;gap:6px;display:block;border-radius:7px}.fixture-notes>div:first-child{display:grid;grid-template-columns:auto 1fr;gap:3px 8px;align-items:center}.fixture-notes .eyebrow{display:none}.fixture-notes h3{font-size:9px;line-height:1.1}.fixture-notes p{font-size:6px;line-height:1.25;margin:0}.fixture-notes .coming-up{display:none}.preparation-panel{gap:5px}.preparation-panel>.section-heading{min-height:0;flex-direction:row;align-items:center}.preparation-panel h3{font-size:10px}.preparation-panel .matchup{font-size:6px}.preparation-grid{gap:5px;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr}.preparation{padding:7px;gap:5px;justify-content:center;border-radius:8px}.preparation.selected{padding:6px}.preparation strong{font-size:10px;line-height:1.1;padding-right:5px;min-height:22px}.preparation small{font-size:7px;line-height:1.3}.preparation.selected:after{width:5px;height:5px;top:6px;right:5px}.scheduled-screen .series-actions .primary{min-width:215px;min-height:26px}.scheduled-screen .series-actions .muted{font-size:6px}.scheduled-screen>.section-heading.compact .matchup{font-size:6px}.result-mp-detail{font-size:5px}}
@media(max-width:520px) and (min-height:521px) and (max-height:740px){.scheduled-screen{gap:6px}.scheduled-screen .mini-profile{min-height:52px;max-height:52px}.scheduled-screen .mini-avatar{height:40px}.scheduled-screen .mini-avatar>div{transform:translate(-21px,-9px) scale(.75)}.scheduled-screen .mini-profile h2{font-size:14px}.scheduled-screen .mini-profile p{font-size:7px}.scheduled-screen>.section-heading h2{font-size:17px}.scheduled-screen>.section-heading .eyebrow{font-size:6px}.scheduled-grid{min-height:95px}.fixture-clubs h3{font-size:17px}.fixture-clubs p{font-size:6px}.fixture-copy>.eyebrow{font-size:5px}.fixture-clubs .club-badge{display:none}.fixture-notes .coming-up{display:none}.fixture-notes p{font-size:7px}.fixture-notes h3{font-size:12px}.fixture-rewards{margin-top:6px;padding-top:5px}.preparation-grid{min-height:80px}.preparation{gap:4px}.preparation strong{font-size:9px;min-height:21px}.preparation small{font-size:6px}.scheduled-screen .tactic{padding:6px 4px}.scheduled-screen .tactic strong{font-size:7px;min-height:22px}.scheduled-screen .tactic small{font-size:5px}.scheduled-screen .series-actions>.muted{display:none}.scheduled-screen .series-actions .primary{min-height:31px}}

/* Compact fixture keeps the schedule, payout and every preparation cost visible. */
.wallet{white-space:nowrap}.wallet>span:last-child{white-space:nowrap}
@media(max-height:520px){
 .scheduled-grid{gap:4px}.scheduled-fixture{padding:6px 9px}.fixture-copy{display:grid;grid-template-columns:minmax(0,1fr)auto;gap:3px 9px;width:calc(100% - 42px);max-width:88%}.fixture-copy>.eyebrow{grid-column:1;grid-row:1;margin:0;font-size:5px;line-height:1}.fixture-clubs{grid-column:1;grid-row:2;gap:5px}.fixture-clubs h3{font-size:14px;line-height:1}.fixture-clubs p{font-size:5px;line-height:1.2;margin-top:2px}.fixture-clubs .club-badge{width:21px;height:23px;font-size:7px}.fixture-rewards{grid-column:2;grid-row:1/3;flex-direction:column;justify-content:center;gap:4px;border:0;padding:0;margin:0;font-size:5px;white-space:nowrap}.fixture-rewards b{font-size:7px}.development-bonus{font-size:5px;max-width:70px;white-space:normal}.fixture-portrait{display:none}.fixture-notes{min-height:27px;padding:5px 9px}.fixture-notes h3{font-size:8px}.fixture-notes p{font-size:6px;line-height:1.15}
 .preparation-grid{grid-template-rows:minmax(0,1fr)}.preparation{padding:6px;gap:5px;min-height:0}.preparation.selected{padding:5px}.preparation strong{font-size:9px;min-height:20px;line-height:1.1}.preparation small{font-size:8px;line-height:1.2}
}
@media(max-width:520px) and (min-height:521px){.app-header{padding-left:12px;padding-right:12px;gap:8px}.wordmark{gap:7px}.wordmark img{width:34px;height:34px}.wordmark>span{font-size:19px}.header-actions{gap:8px}.wallet{font-size:17px;gap:6px}.wallet .coin{height:21px;width:21px;font-size:14px}.settings-button{height:30px;width:30px;font-size:19px}}

/* The single endurance tool spans the final row of the 11-tool grid. */
.attribute-grid .attribute:last-child{grid-column:1/-1}
@media(max-width:520px) and (min-height:521px) and (max-height:650px){
 .player-screen{gap:7px}
 .player-screen>.mini-profile{min-height:52px;max-height:52px;padding:6px 9px}
 .player-screen .mini-avatar{height:38px}
 .player-screen .mini-avatar>div{transform:translate(-21px,-10px) scale(.7)}
 .player-screen .mini-profile h2{font-size:14px}
 .player-screen .mini-profile p{font-size:7px}
 .player-columns{gap:7px}
 .attributes-panel{padding:12px}
 .attributes-panel .section-heading h2{font-size:17px}
 .attributes-panel .eyebrow{font-size:6px;margin-bottom:4px}
 .attributes-panel .small-tag{font-size:6px}
 .attribute-grid{padding-top:8px;gap:6px 14px}
 .attribute{gap:3px 6px}
 .attribute>span{font-size:9px}
 .attribute>strong{font-size:10px}
 .attribute>i{height:3px}
 .player-details{padding:8px;gap:8px}
 .synergy-list>h3{font-size:14px}
 .synergy-list>p{font-size:7px;line-height:1.4}
 .synergy-list>div{padding:4px;font-size:8px;line-height:1.1}
 .synergy-list strong{font-size:8px}
 .synergy-list small{font-size:6px;margin-top:2px}
 .player-detail-actions{gap:6px}
 .player-detail-actions button{min-height:27px;padding:5px;font-size:7px}
}
@media(max-width:360px) and (min-height:521px){
 .wordmark img{width:28px;height:28px}
 .wordmark>span{font-size:17px}
 .wallet{font-size:15px}
}

.mini-profile .profile-identity{min-width:0;flex:1}

.club-badge{background:transparent;border:0;padding:0;box-shadow:none}
.club-badge>svg{display:block;width:100%;height:100%}
/* Readability pass: reclaim oversized artwork space before shrinking controls. */
.calendar-commitment{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #8aa872;border-radius:8px;padding:8px 12px;background:#213f24;flex-shrink:0}.calendar-commitment strong{font-size:12px}.calendar-commitment span{font-size:10px;color:#e0e9cd}
.preparation strong{font-size:15px}.preparation small{font-size:11px}.tactic strong{font-size:13px}.tactic small{font-size:10px;line-height:1.3}.scheduled-screen .series-actions .muted{font-size:10px}
.hero-copy{max-width:74%}.hero-player{pointer-events:none}.hero-footer{gap:8px}.empty-legacy p{max-width:280px}.legacy-intro{font-size:12px}.legacy-list small{font-size:10px}
@media(max-width:700px) and (min-height:521px){
 #war-app{grid-template-rows:55px minmax(0,1fr) 55px}main{padding:10px 12px}.app-header{padding:7px 12px}.bottom-nav{height:55px}.bottom-nav button{min-width:0;font-size:11px}
 .home-grid{gap:8px}.player-hero{padding:14px 11px;justify-content:flex-start}.hero-copy{width:100%;max-width:100%}.hero-copy h1{font-size:25px}.hero-copy .eyebrow{font-size:8px;margin-bottom:8px}.player-sub{font-size:10px;line-height:1.35}.archetype{font-size:9px}.hero-rating{margin:14px 0}.hero-rating>strong{font-size:55px}.hero-copy .stats-strip{padding:10px 0;gap:8px}.hero-copy .stats-strip strong{font-size:21px}.hero-copy .stats-strip span{font-size:9px}.hero-cta{margin-top:13px}.hero-cta .primary{min-width:0;width:100%;font-size:10px;padding:9px 6px}.hero-cta .text-button{font-size:10px}.hero-player{bottom:53px;right:0;width:145px;height:170px;overflow:hidden;transform:none;opacity:1}.hero-player>div{transform:translateX(-12px) scale(.47);transform-origin:top left}.hero-footer{font-size:9px;line-height:1.4;display:grid;padding-top:9px}.hero-footer small{font-size:8px}.legacy-panel{padding:14px 11px}.legacy-panel .eyebrow{font-size:8px}.legacy-panel h2{font-size:19px}.legacy-panel .section-heading{display:block}.legacy-panel .small-tag{display:inline-block;font-size:8px;margin-top:6px}.legacy-intro{font-size:10px;line-height:1.4;margin:10px 0}.empty-legacy{padding:5px;justify-content:center}.empty-legacy h3{font-size:23px}.empty-legacy p{font-size:10px;line-height:1.4}.legacy-formula{font-size:7px;gap:5px;flex-wrap:wrap;margin-top:14px}.legacy-star{font-size:28px;margin-bottom:10px}.legacy-bottom{display:block;padding-top:9px}.legacy-bottom>span{font-size:8px;display:block}.legacy-bottom strong{font-size:27px}.legacy-list li{gap:4px;padding:4px}.legacy-list strong{font-size:10px}.legacy-list small{font-size:8px}.legacy-list li>b:last-child{font-size:10px}.leader-portrait{width:28px}
 .scheduled-screen{gap:7px}.scheduled-screen .mini-profile{min-height:46px;max-height:46px}.scheduled-screen .mini-avatar{height:38px}.scheduled-screen>.section-heading h2{font-size:19px}.scheduled-screen>.section-heading .eyebrow{font-size:9px}.schedule-note{display:none}.calendar-commitment{display:block;padding:6px 8px}.calendar-commitment strong{display:block;font-size:11px}.calendar-commitment span{display:block;font-size:9px;line-height:1.3;margin-top:2px}
 .scheduled-layout{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(80px,1fr)auto;gap:7px;flex:1}.scheduled-grid{grid-template-columns:1.1fr 1fr;min-height:80px}.scheduled-fixture{padding:8px}.fixture-portrait{display:none}.fixture-clubs h3{font-size:14px}.fixture-clubs p{font-size:9px}.fixture-rewards{font-size:9px;gap:8px}.series-outlook{display:none}.fixture-notes{padding:8px}.fixture-notes .eyebrow{font-size:8px;margin-bottom:4px}.fixture-notes h3{font-size:12px}.fixture-notes p{font-size:9px;line-height:1.3}.coming-up{display:none}
 .preparation-panel{gap:5px}.preparation-panel h3{font-size:13px}.preparation-panel .matchup{font-size:9px}.preparation-grid{min-height:80px;gap:5px}.preparation,.preparation.selected{padding:7px;gap:4px}.preparation strong{font-size:11px;min-height:25px}.preparation small{font-size:9px;line-height:1.25}.scheduled-screen>.section-heading.compact h3{font-size:13px}.scheduled-screen>.section-heading.compact .matchup{display:none}
 .scheduled-screen .tactics-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(66px,1fr));gap:5px}.scheduled-screen .tactic{padding:7px 6px;display:flex;flex-direction:column;justify-content:center;gap:4px}.scheduled-screen .tactic:nth-child(5){grid-column:2/4}.scheduled-screen .tactic strong{font-size:11px;min-height:0;line-height:1.15}.scheduled-screen .tactic small{font-size:9px;line-height:1.25}.scheduled-screen .series-actions{flex-shrink:0;gap:0}.scheduled-screen .series-actions>.muted{display:none}.scheduled-screen .series-actions .primary,.scheduled-screen .series-actions .secondary{min-height:37px;font-size:10px}
}
@media(max-height:520px){
 .scheduled-screen{gap:5px}.scheduled-screen>.mini-profile{display:none}.scheduled-screen>.section-heading h2{font-size:16px}.scheduled-screen>.section-heading .eyebrow{font-size:8px}.scheduled-screen .calendar-commitment{padding:5px 8px}.calendar-commitment strong{font-size:10px}.calendar-commitment span{font-size:8px}.scheduled-layout{min-height:85px}.scheduled-screen .fixture-portrait{display:none}.scheduled-screen .fixture-clubs h3{font-size:14px}.scheduled-screen .fixture-clubs p,.fixture-rewards{font-size:9px}.scheduled-screen .fixture-notes p{font-size:8px;line-height:1.3}.scheduled-screen .fixture-notes h3{font-size:11px}.scheduled-screen .preparation strong{font-size:11px;min-height:0}.scheduled-screen .preparation small{font-size:9px}.scheduled-screen .preparation{gap:3px;padding:7px}.scheduled-screen .preparation.selected{padding:6px}.scheduled-screen .preparation-panel h3{font-size:11px}.scheduled-screen .preparation-panel .matchup{font-size:8px}.scheduled-screen .tactic{padding:6px;min-height:54px}.scheduled-screen .tactic strong{font-size:10px;min-height:0}.scheduled-screen .tactic small{font-size:8px;line-height:1.2}.scheduled-screen .series-actions>.muted{display:none}.scheduled-screen .series-actions .primary,.scheduled-screen .series-actions .secondary{min-height:30px;font-size:10px}.scheduled-screen>.section-heading.compact h3{font-size:12px}.scheduled-screen>.section-heading.compact .matchup{font-size:8px}
 .hero-player{right:3px;bottom:28px;transform:none;opacity:1;width:115px;height:180px;overflow:hidden}.hero-player>div{transform:translateX(-24px) scale(.5);transform-origin:top left}.hero-copy{width:66%;max-width:66%}.hero-copy h1{font-size:25px}.hero-copy .stats-strip{grid-template-columns:repeat(2,1fr);gap:3px;padding:5px 0}.hero-copy .stats-strip strong{font-size:18px}.hero-cta{margin-top:8px}.hero-cta .primary{font-size:9px;min-width:0;padding:7px;min-height:31px}.hero-cta .text-button{font-size:9px}.hero-footer{font-size:9px}.legacy-intro,.empty-legacy p{font-size:10px}.empty-legacy h3{font-size:24px}.legacy-formula{font-size:7px}.legacy-panel h2{font-size:20px}.hero-rating{margin:7px 0}.hero-rating>strong{font-size:44px}
}
.pack-reason{font-size:11px!important;line-height:1.3;color:#e1e8cd;min-height:28px;margin-top:8px}.stretch-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:9px 14px;border:1px solid #8aa872;border-radius:10px;background:#213f24;flex-shrink:0}.stretch-summary>div{display:flex;gap:10px;align-items:center;justify-content:center}.stretch-summary b{font-size:24px}.stretch-summary span{font-size:10px;max-width:90px;line-height:1.3}.result-next{display:grid;gap:8px}.last-upgrade{padding:9px 10px;border:1px solid #8aab77;border-radius:8px;background:#23432b;display:grid;gap:4px}.last-upgrade strong{font-size:10px}.last-upgrade span{font-size:10px;line-height:1.4}.preparation strong,.preparation small{flex-shrink:0}.preparation small,.tactic small{overflow-wrap:anywhere}
#war-status[data-urgent="true"]{display:flex;align-items:center;gap:10px;pointer-events:auto;border:2px solid #7d452c;max-width:min(95vw,700px)}#war-status button{flex-shrink:0;border:1px solid #527047;background:#24472a;color:#fffdf0;border-radius:6px;padding:7px;font-size:11px;min-height:32px}#war-status[data-urgent="true"]>span{font-size:12px}
@media(max-width:700px) and (min-height:521px){.result-screen{gap:8px}.stretch-summary{padding:7px;gap:4px}.stretch-summary>div{display:block;text-align:center}.stretch-summary b{font-size:24px}.stretch-summary span{display:block;font-size:9px;max-width:none}.result-banner h1{font-size:26px}.result-banner{padding:14px}.result-coins{font-size:28px}.result-columns{min-height:0}.result-columns .panel{padding:13px}.line-score b{font-size:11px}.line-score span,.line-score small{font-size:9px}.chapter-story p{font-size:11px}.result-next .primary,.result-next .secondary{min-height:34px;font-size:10px}.last-upgrade{padding:7px}.pack-reason{font-size:9px!important}.preparation small{font-size:8.5px}.calendar-commitment span{font-size:9px}}
@media(max-height:520px){.stretch-summary{padding:5px 8px}.stretch-summary b{font-size:19px}.stretch-summary span{font-size:8px}.result-screen{gap:6px}.result-banner h1{font-size:25px}.result-banner{padding:8px 15px}.result-coins{font-size:25px}.result-next{gap:5px}.result-next .primary,.result-next .secondary{min-height:28px;font-size:9px;padding:5px}.line-score b{font-size:10px}.line-score span,.line-score small{font-size:8px}.chapter-story p{font-size:9px}.last-upgrade{padding:5px 7px}.last-upgrade strong,.last-upgrade span{font-size:8px}.scheduled-screen .preparation small{font-size:8px;line-height:1.15}.scheduled-screen .preparation strong{font-size:10px}.scheduled-screen .preparation{padding:5px}.scheduled-screen .preparation.selected{padding:4px}.pack-reason{font-size:9px!important;min-height:18px;margin-top:4px}}
.player-sections{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;flex-shrink:0}.player-sections button{min-height:34px;font-size:11px;padding:7px}.player-sections [aria-current]{background:#edf1d7;color:#23432b;border-color:#fffdf0}.performance-panel,.history-panel,.synergy-panel{min-height:0;flex:1;display:flex;flex-direction:column;gap:12px}.stats-scope{display:flex;gap:5px}.stats-scope button{min-height:31px;padding:6px 11px;font-size:11px}.stats-scope [aria-pressed="true"]{background:#edf1d7;color:#23432b}.season-picker{display:flex;gap:10px;align-items:center;font-size:11px}.season-picker select{max-width:280px;height:32px}.performance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex:1;min-height:0}.performance-grid>div{display:flex;flex-direction:column;justify-content:center;gap:6px;background:#1c3f28;border:1px solid #6d8b5c;border-radius:9px;padding:12px}.performance-grid strong{font:30px Lilita}.performance-grid span{font-size:10px;color:#e0e9d1}.performance-note{font-size:11px;color:#dce6cb;line-height:1.35;flex-shrink:0}.history-panel label{display:flex;align-items:center;gap:8px;font-size:11px}.history-panel select{height:32px;width:170px}.career-history-list{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:8px;min-height:0;flex:1}.career-history-list>article{border:1px solid #779667;background:#203f27;border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;justify-content:center;gap:4px}.career-history-list article>span{font-size:10px;color:#cce1b8}.career-history-list h3{font-size:15px}.career-history-list p{font-size:11px;line-height:1.35}.history-empty{grid-row:1/-1;align-self:center;text-align:center}.synergy-progress-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:12px;flex:1;min-height:0}.synergy-progress-grid>article{border:1px solid #79996a;border-radius:9px;background:#203f27;padding:14px;display:flex;flex-direction:column;justify-content:center;gap:8px}.synergy-progress-grid .eyebrow{font-size:10px;margin:0}.synergy-progress-grid h3{font-size:20px}.synergy-progress-grid p{font-size:12px;line-height:1.4}.synergy-progress-grid small{font-size:11px;line-height:1.4}.synergy-meter{height:5px;background:#41623b;border-radius:4px;overflow:hidden}.synergy-meter i{display:block;height:100%;background:#e2edc6}.find-club{font-size:9px;min-height:28px;padding:5px 8px}.customization-layout{display:grid;grid-template-columns:200px 1fr;gap:16px}.customization-layout #customize-preview{background:#1f4229;border-radius:10px;overflow:hidden;display:grid;place-items:center}.creation-look{min-height:30px;padding:5px 9px;font-size:10px}.handedness-note{font-size:10px;color:#dce6cc;line-height:1.35}.creation-form .form-grid{gap:8px 12px}
@media(max-width:700px) and (min-height:521px){.player-sections{gap:4px}.player-sections button{font-size:10px;min-height:33px;padding:6px 3px}.performance-panel,.history-panel,.synergy-panel{padding:12px;gap:9px}.performance-panel h2,.history-panel h2,.synergy-panel h2{font-size:19px}.performance-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.performance-grid>div{padding:8px}.performance-grid strong{font-size:27px}.performance-grid span{font-size:9px;line-height:1.3}.performance-note{font-size:10px}.stats-scope button{font-size:9px;min-height:30px;padding:5px 8px}.career-history-list h3{font-size:13px}.career-history-list p{font-size:10px}.career-history-list article>span{font-size:9px}.career-history-list>article{padding:9px}.history-panel select{width:140px;font-size:11px}.synergy-progress-grid{gap:7px}.synergy-progress-grid>article{padding:10px;gap:7px}.synergy-progress-grid h3{font-size:18px}.synergy-progress-grid p,.synergy-progress-grid small{font-size:10px}.synergy-progress-grid .eyebrow{font-size:8px}.customization-layout{grid-template-columns:100px 1fr;gap:10px}.customization-layout #customize-preview>div{transform:scale(.65);transform-origin:center}.customization-layout .form-grid{gap:8px}.customization-layout select{font-size:11px;height:34px;padding:5px}.customization-layout label{font-size:9px}
 .shop-screen .pack-shop-grid{grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr));gap:8px}.shop-screen .shop-pack{display:grid;grid-template-columns:85px 1fr;align-items:center;gap:12px;padding:10px}.shop-screen .foil-wrapper{width:80px;max-height:100%;height:128px;flex-shrink:0}.shop-screen .shop-pack-copy h2{font-size:18px}.shop-screen .shop-pack-copy p{font-size:11px;margin:4px 0}.shop-screen .shop-pack-copy>small{font-size:10px}.shop-screen .shop-pack-copy .primary{font-size:10px;min-height:34px;padding:6px 10px;margin-top:6px}.shop-screen .pack-reason{font-size:10px!important;min-height:0;margin-top:5px}.shop-screen .shop-footnote{font-size:10px;gap:6px}.shop-screen .shop-footnote p,.shop-screen .shop-footnote span{font-size:10px}.creation-form .form-grid{gap:8px}.creation-form .handedness-note{font-size:10px}.creation-form{gap:9px}.creation-form .form-note{font-size:10px}.age-picks label>span{padding:8px 4px}
}
@media(max-height:520px){.player-screen{gap:6px}.player-sections{gap:5px}.player-sections button{min-height:28px;font-size:10px;padding:5px}.performance-panel,.history-panel,.synergy-panel{padding:10px;gap:6px}.performance-panel h2,.history-panel h2,.synergy-panel h2{font-size:17px}.performance-grid{gap:5px}.performance-grid>div{padding:6px;gap:2px}.performance-grid strong{font-size:22px}.performance-grid span{font-size:8px}.performance-note{font-size:9px;line-height:1.2}.stats-scope button{min-height:25px;font-size:9px;padding:4px 8px}.season-picker select{height:26px;font-size:10px}.season-picker{font-size:10px}.career-history-list{gap:4px}.career-history-list>article{padding:5px 8px;gap:2px}.career-history-list h3{font-size:12px}.career-history-list p{font-size:9px}.career-history-list article>span{font-size:8px}.history-panel .pagination button{min-height:24px;padding:4px 12px}.history-panel select{height:26px;font-size:10px;width:140px}.synergy-progress-grid{gap:6px}.synergy-progress-grid>article{padding:8px;gap:4px}.synergy-progress-grid h3{font-size:15px}.synergy-progress-grid p,.synergy-progress-grid small{font-size:9px;line-height:1.2}.synergy-progress-grid .eyebrow{font-size:8px}.synergy-meter{height:4px}.find-club{min-height:24px;font-size:8px;padding:3px 6px}.customization-layout{grid-template-columns:120px 1fr;gap:10px}.customization-layout #customize-preview>div{transform:scale(.65);transform-origin:center}.customization-layout select{height:27px;font-size:10px;padding:4px}.customization-layout .form-grid{gap:6px}.customization-layout label{font-size:9px}#customize-player .primary{margin-top:10px;min-height:29px}.creation-form .form-grid{grid-template-columns:repeat(3,1fr);gap:5px 8px}.creation-form .form-grid .wide{grid-column:1/-1}.creation-form .form-grid input,.creation-form .form-grid select{height:27px;font-size:10px;padding:4px}.creation-form .form-grid label{font-size:9px;gap:3px}.creation-form .handedness-note{font-size:8px;line-height:1.2}.creation-form{gap:6px}.creation-look{min-height:25px;font-size:9px;padding:4px 7px}.creation-form .form-note{font-size:8px}.creation-form .age-picks label>span{padding:4px}.creation-form .age-picks legend{font-size:9px;margin-bottom:4px}
}
/* Keep every result action reachable in compact viewports. */
@media(max-width:700px) and (min-height:521px){
 .result-banner{display:grid;grid-template-columns:1fr auto;gap:5px;padding:10px 12px;flex-shrink:0}.result-banner>.eyebrow,.result-banner>h1{grid-column:1/-1;max-width:none;margin:0}.result-banner h1{font-size:22px;line-height:1.1}.result-banner p{margin:0;font-size:9px;line-height:1.3}.result-banner p b{padding:0 4px;font-size:13px}.result-coins{position:static;font-size:22px;gap:4px;max-width:110px}.result-coins .result-mp-detail{font-size:7px}.stretch-summary{padding:5px}.stretch-summary b{font-size:21px}.stretch-summary span{font-size:8px}.result-columns{grid-template-rows:minmax(0,1.08fr) minmax(0,1fr);gap:8px}.result-columns .panel{padding:10px;gap:6px}.stretch-stats>.muted,.chapter-story>p.muted{display:none}.result-columns .stats-strip{padding:7px 0}.stretch-stats .section-heading h2{font-size:19px}.result-columns .eyebrow{font-size:8px;margin-bottom:3px}.war-number{font-size:28px}.line-score{gap:5px}.line-score>div{padding:5px 3px}.line-score b{font-size:11px;line-height:1.5}.line-score span,.line-score small{font-size:8px}.stretch-stats>.secondary{min-height:32px;padding:6px 9px;font-size:10px;flex-shrink:0}.chapter-story h2{font-size:23px}.chapter-story>p{font-size:11px;line-height:1.35}.result-next{margin-top:auto;gap:6px}.result-next button{flex-shrink:0}
}
@media(max-height:520px){
 .result-banner{padding:6px 12px;flex-shrink:0}.result-banner h1{font-size:23px;line-height:1}.result-banner p{margin-top:3px}.result-banner .eyebrow{margin-bottom:3px}.stretch-summary{padding:4px 7px}.stretch-summary b{font-size:17px}.stretch-summary span{font-size:8px}.result-columns .panel{padding:8px 10px;gap:4px}.stretch-stats>.muted,.chapter-story>p.muted{display:none}.result-columns .stats-strip{padding:4px 0}.result-columns .stats-strip strong{font-size:15px;line-height:1}.line-score{gap:5px}.line-score>div{padding:3px}.line-score b{font-size:10px;line-height:1.3}.line-score span,.line-score small{font-size:7px;line-height:1.15}.stretch-stats>.secondary{min-height:24px;padding:4px 7px;flex-shrink:0}.chapter-story>p{line-height:1.3}.chapter-story h2{font-size:21px}.result-columns .eyebrow{margin-bottom:2px}.result-next{gap:5px;margin-top:auto}.result-next .primary,.result-next .secondary{min-height:26px;padding:5px;font-size:8px}
}
@media(max-height:520px){
 .performance-grid{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));min-height:0}.performance-grid>div{min-height:0;padding:5px;gap:2px}.performance-grid strong{font-size:20px}.performance-grid span{font-size:7px;line-height:1.2}.performance-panel{gap:5px}.performance-panel .section-heading{flex-shrink:0}.performance-note{flex-shrink:0}.result-banner .result-coins{top:25%}
}

@media(max-height:520px){.player-details-screen>.mini-profile{display:none}.career-history-list{grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr))}.career-history-list>article{padding:7px;gap:3px}.career-history-list h3{font-size:12px}.career-history-list p{font-size:9px}.synergy-progress-grid{grid-template-rows:repeat(2,minmax(0,1fr));min-height:0}.synergy-progress-grid>article{min-height:0}}
#war-app[data-screen="creation"]{grid-template-rows:70px minmax(0,1fr)}
@media(max-width:700px) and (min-height:521px){#war-app[data-screen="creation"]{grid-template-rows:55px minmax(0,1fr)}.creation-form h2{font-size:22px}.creation-form>.section-heading{gap:7px}.creation-form .save-note{font-size:9px}.creation-form .start-career{flex-shrink:0;min-height:38px;padding:8px}}
@media(max-height:520px){#war-app[data-screen="creation"]{grid-template-rows:44px minmax(0,1fr)}.creation-form{gap:4px;padding:10px 14px}.creation-form .role-picks label>span{padding:5px 8px;gap:2px}.creation-form .form-note{display:none}.creation-form .save-note{font-size:7px;line-height:1.2}.creation-form .start-career{flex-shrink:0;min-height:28px;padding:5px;font-size:10px}.creation-form .age-picks label>span{gap:2px}.creation-form .form-grid{gap:4px 8px}}
@media(max-width:700px) and (max-height:520px){.create-screen{grid-template-columns:1fr}.create-art{display:none}.creation-form h2{font-size:18px}.creation-form .section-heading .eyebrow{margin-bottom:3px}}

/* Cage's flat character art, on a grass-and-dirt television diamond. */
.cage-baseball-avatar svg{overflow:visible}.watch-header{font-size:10px;letter-spacing:.13em;color:#e5edcb}.series-actions>div{display:flex;gap:9px}.series-actions .secondary{white-space:nowrap}.live-view{height:100%;min-height:0;display:flex;flex-direction:column;gap:10px}.live-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.live-heading>span{font-size:11px;letter-spacing:.13em;display:flex;align-items:center;gap:7px}.live-heading>span>i{width:7px;height:7px;background:#fcfcdf;border-radius:50%;box-shadow:0 0 9px #d0ec9a}.live-heading b{font-size:9px;color:#d6e5bc;margin-left:10px}.live-heading .secondary{min-height:32px;padding:7px 15px;font-size:11px}.live-scoreboard{display:flex;align-items:center;gap:26px;background:#173e26;border:1px solid #66845d;border-radius:11px;padding:9px 20px;flex-shrink:0;box-shadow:0 4px 0 #112d1b}.live-scores{display:flex;gap:25px}.live-scores>span{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:900}.live-scores b{font-size:25px;min-width:20px}.live-scores i{width:5px;height:25px;border-radius:3px}.live-inning,.live-count,.live-outs{display:flex;flex-direction:column;align-items:center;gap:3px}.live-inning b,.live-count b{font-size:18px;line-height:1}.live-scoreboard span:not(.live-scores>span){font-size:8px;letter-spacing:.08em;color:#dce7c9}.live-count{margin-left:auto}.live-outs b{display:flex;gap:4px;min-height:18px;align-items:center}.live-outs i{width:9px;height:9px;border:1px solid #aec498;border-radius:50%}.live-outs i.on{background:#fff8dc}.live-bases{height:32px;width:40px;position:relative;margin-left:4px}.live-bases i{position:absolute;width:11px;height:11px;transform:rotate(45deg);border:1px solid #e1e6c4;background:#355a38;top:16px}.live-bases .base-0{left:0}.live-bases .base-1{left:13px;top:3px}.live-bases .base-2{left:26px}.live-bases .occupied{background:#fffdf0;box-shadow:0 0 7px #f4efbf66}.live-body{min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:12px}.live-field{position:relative;min-height:0;overflow:hidden;border:1px solid #7d9a6b;border-radius:13px;background:#578743;box-shadow:inset 0 0 50px #234c2933}.live-field svg{display:block;width:100%;height:100%;object-fit:contain}.live-play-tag{position:absolute;left:12px;top:11px;font-size:8px;letter-spacing:.13em;background:#163e29de;border:1px solid #759365;border-radius:5px;padding:5px 8px;color:#fffee9}.live-progress{height:4px;background:#204b2e;position:absolute;bottom:0;left:0;right:0}.live-progress i{height:100%;display:block;background:#fff9dd}.live-duel{display:flex;flex-direction:column;background:#8f603f;border:1px solid #c1976a;border-radius:13px;padding:18px;min-height:0;gap:14px}.live-matchup{display:flex;flex-direction:column;gap:6px}.duel-person{display:flex;align-items:center;gap:11px;min-width:0}.duel-person>div{width:65px;height:78px;overflow:hidden;flex-shrink:0;background:#b18155;border:1px solid #c6a07a;border-radius:8px}.duel-person>div>div{transform:translate(0,5px)}.duel-person>span{font-size:8px;letter-spacing:.09em;color:#f0dfc3;min-width:0}.duel-person b{display:block;font-size:16px;letter-spacing:0;color:#fffdf4;margin:3px 0;line-height:1.15}.duel-person small{font-size:9px;letter-spacing:0;line-height:1.3;display:block}.your-athlete>div{border-color:#fffdf0}.duel-vs{font:11px Lilita;text-align:center;color:#e4cda8}.live-call{margin:auto 0;min-height:86px}.live-call>span{font-size:9px;font-weight:900;letter-spacing:.12em;color:#ead5b2}.live-call h2{font:29px/1.05 Lilita;color:#fffdf4;margin:8px 0}.live-call p{font-size:11px;color:#f4e5cd}.live-context{border-top:1px solid #c49b6d;padding-top:12px}.live-context>span{display:flex;justify-content:space-between;font-size:8px;font-weight:900;gap:6px}.live-context p{font-size:9px;color:#ecd9bb;margin-top:6px}.live-controls{display:flex;justify-content:space-between;gap:12px;flex-shrink:0}.live-transport,.live-options{display:flex;gap:8px}.live-controls button{font-size:11px;padding:9px 15px;min-height:36px;border-radius:8px}.live-controls .primary{min-width:95px}.live-controls .secondary{background:#305b35;border:1px solid #789668}.live-options button{min-width:52px}
@media(max-width:700px) and (min-height:521px){.live-view{gap:9px}.live-heading b{display:none}.live-heading>span{font-size:9px}.live-scoreboard{gap:12px;padding:9px 12px}.live-scores{gap:11px}.live-scores>span{font-size:10px;gap:5px}.live-scores b{font-size:22px;min-width:15px}.live-inning b,.live-count b{font-size:14px}.live-scoreboard span:not(.live-scores>span){font-size:6px}.live-outs i{width:7px;height:7px}.live-outs b{gap:3px}.live-bases{transform:scale(.8);margin-left:-3px;width:32px}.live-body{display:flex;flex-direction:column;gap:9px}.live-field{flex:1;min-height:160px}.live-field svg{position:absolute;left:0;top:0;width:100%;height:100%}.live-duel{padding:11px 13px;display:grid;grid-template-columns:1fr 1fr;gap:9px;flex-shrink:0}.live-matchup{flex-direction:row;align-items:center;grid-column:1/-1;gap:8px}.duel-person{flex:1;gap:7px}.duel-person>div{width:40px;height:49px}.duel-person>div>div{transform:translate(0,3px) scale(.62);transform-origin:top left}.duel-person>span{font-size:6px;letter-spacing:.03em}.duel-person b{font-size:11px}.duel-person small{font-size:7px}.duel-vs{font-size:8px}.live-call{min-height:66px;margin:0}.live-call>span{font-size:7px}.live-call h2{font-size:21px;margin:5px 0}.live-call p{font-size:8px}.live-context{border-top:0;border-left:1px solid #c49b6d;padding:0 0 0 10px;align-self:center}.live-context>span{font-size:6px;flex-direction:column;gap:3px}.live-context p{font-size:8px;margin-top:5px}.live-controls{gap:6px;flex-wrap:wrap}.live-transport{gap:5px;flex:1}.live-controls button{padding:8px 9px;min-height:33px;font-size:9px}.live-controls .primary{min-width:65px}.live-options{gap:5px}.live-options button{min-width:35px}.series-actions>div{gap:5px}}
@media(max-height:520px){.live-view{gap:5px}.live-heading>span{font-size:7px}.live-heading b{font-size:6px;margin-left:3px}.live-heading .secondary{min-height:23px;font-size:8px;padding:4px 10px}.live-scoreboard{padding:5px 12px;gap:20px;border-radius:7px;box-shadow:0 2px 0 #112d1b}.live-scores{gap:18px}.live-scores>span{font-size:9px;gap:6px}.live-scores b{font-size:17px;min-width:14px}.live-scores i{height:17px;width:4px}.live-inning b,.live-count b{font-size:12px}.live-scoreboard span:not(.live-scores>span){font-size:6px}.live-outs i{width:6px;height:6px}.live-outs b{min-height:12px;gap:3px}.live-bases{height:24px;transform:scale(.7);transform-origin:center}.live-body{grid-template-columns:minmax(0,1fr) 195px;gap:7px}.live-duel{padding:9px;gap:5px;border-radius:8px}.live-matchup{gap:2px}.duel-person{gap:8px}.duel-person>div{height:43px;width:38px}.duel-person>div>div{transform:translate(0,1px) scale(.59);transform-origin:top left}.duel-person>span{font-size:5px}.duel-person b{font-size:10px;margin:2px 0}.duel-person small{font-size:6px}.duel-vs{font-size:6px}.live-call{min-height:45px}.live-call>span{font-size:6px}.live-call h2{font-size:19px;margin:4px 0}.live-call p{font-size:7px}.live-context{padding-top:6px}.live-context>span{font-size:5px}.live-context p{font-size:6px;margin-top:3px}.live-play-tag{top:6px;left:7px;padding:3px 5px;font-size:5px}.live-controls button{min-height:25px;font-size:8px;padding:5px 10px}.live-controls .primary{min-width:70px}.live-controls,.live-transport,.live-options{gap:6px}.live-field{border-radius:8px}}
.live-venue{display:flex;gap:15px;align-items:center;justify-content:space-between;font-size:10px;min-height:18px}.live-venue strong{letter-spacing:.06em}.live-venue>span{font-size:9px;color:#d1e0be}.live-field{background:#8db0a1}.live-field svg{background:#8db0a1}.live-controls button{padding:9px 11px}.live-options{gap:5px}.park-link{background:none;padding:0;color:#fff5d8;text-decoration:underline;text-underline-offset:2px;font:inherit}.parks-open{min-height:32px;padding:7px 12px;font-size:10px}.ballparks-screen{height:100%;min-height:0;display:flex;flex-direction:column;gap:14px}.ballparks-screen>.section-heading h1{font-size:30px}.ballparks-screen>.section-heading .secondary{min-height:32px;padding:7px 12px;font-size:10px}.ballpark-grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}.ballpark-card{min-height:0;text-align:left;background:#875b3e;border:1px solid #ba936e;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;padding:0}.ballpark-card.home-park{border:2px solid #fffbed}.ballpark-card>svg{width:100%;flex:1;min-height:0;display:block;background:#a8c5bb}.ballpark-card>div{padding:10px 13px;flex-shrink:0}.ballpark-card span{font-size:8px;color:#e6d6bb;letter-spacing:.08em}.ballpark-card h2{font:19px Lilita;margin:4px 0}.ballpark-card p{font-size:9px;letter-spacing:.1em;color:#fff2d6}.ballparks-screen>.pagination{flex-shrink:0;justify-content:center}.park-detail{display:flex;flex-direction:column;gap:10px}.park-picker-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.park-picker-label>select{max-width:75%;font-size:11px}.park-detail>svg{width:100%;max-height:42dvh;display:block;border:1px solid #8fa77d;border-radius:10px;background:#b2d0c1}.park-detail-copy strong{font-size:17px}.park-detail-copy>span{font-size:11px;color:#d5dfc5;margin-left:12px}.park-detail-copy p{margin:5px 0 0;font-size:11px!important}.park-dimensions{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.park-dimensions>span{text-align:center;background:#315c38;border:1px solid #7d986a;border-radius:7px;padding:7px}.park-dimensions small{display:block;font-size:9px;color:#d5dfc5}.park-dimensions b{display:block;font-size:19px}.park-wall-note{font-size:10px!important;margin:0!important}
@media(max-width:700px) and (min-height:521px){.live-venue{flex-direction:column;align-items:flex-start;gap:2px}.live-venue strong{font-size:9px}.live-venue>span{font-size:7px}.live-controls{flex-wrap:wrap}.live-transport,.live-options{width:100%;display:flex}.live-controls button{flex:1;min-height:30px;padding:7px 6px}.live-controls .primary{min-width:65px}.ballparks-screen{gap:9px}.ballparks-screen>.section-heading h1{font-size:22px}.ballparks-screen>.section-heading .eyebrow{font-size:7px}.ballparks-screen>.section-heading .secondary{font-size:7px;padding:6px 8px;min-height:28px}.ballpark-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:8px}.ballpark-card>div{padding:6px 8px}.ballpark-card span{font-size:6px}.ballpark-card h2{font-size:14px;margin:3px 0}.ballpark-card p{font-size:6px}.park-picker-label{font-size:9px}.park-picker-label>select{font-size:9px;max-width:72%}.park-detail-copy strong{font-size:14px}.park-detail-copy>span{font-size:9px}.park-dimensions>span{padding:5px}.park-dimensions b{font-size:17px}.park-dimensions small{font-size:7px}.parks-open{font-size:7px;min-height:26px;padding:6px 9px}}
@media(max-height:520px){.live-venue{min-height:9px;font-size:7px;gap:6px}.live-venue>span{font-size:6px}.live-options{gap:4px}.live-controls button{padding:5px 8px;font-size:7px}.ballparks-screen{gap:6px}.ballparks-screen>.section-heading h1{font-size:21px}.ballparks-screen>.section-heading .eyebrow{font-size:6px;margin-bottom:3px}.ballparks-screen>.section-heading .secondary{font-size:7px;padding:5px 9px;min-height:23px}.ballpark-grid{gap:7px}.ballpark-card{border-radius:7px}.ballpark-card>div{padding:5px 8px}.ballpark-card span{font-size:5px}.ballpark-card h2{font-size:12px;margin:2px 0}.ballpark-card p{font-size:6px}.ballparks-screen .pagination{font-size:6px;gap:12px}.ballparks-screen .pagination button{font-size:8px;min-height:20px;padding:2px 8px}.park-detail{display:grid;grid-template-columns:1.15fr 1fr;gap:7px 12px}.park-picker-label{grid-column:1/-1;font-size:8px}.park-picker-label select{height:24px;font-size:9px;max-width:70%}.park-detail>svg{grid-row:span 3;max-height:47dvh}.park-detail-copy strong{font-size:13px}.park-detail-copy>span{font-size:8px}.park-detail-copy p{font-size:8px!important}.park-dimensions{gap:4px}.park-dimensions>span{padding:4px}.park-dimensions b{font-size:13px}.park-dimensions small{font-size:6px}.park-wall-note{font-size:7px!important}.parks-open{font-size:7px;min-height:23px;padding:5px 9px}}
#war-app{grid-template-columns:minmax(0,1fr);min-width:0}#war-app>main,.bottom-nav{min-width:0}.bottom-nav{width:100%}.bottom-nav button{min-width:0}
/* The appearance card explains skipped innings while the field stays visible. */
.live-appearance{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:6px;width:max-content;max-width:85%;padding:15px 22px;border:1px solid #ccd7ad;border-radius:10px;background:#153f29f2;color:#fffbed;box-shadow:0 5px 18px #102f2b66;text-align:center;pointer-events:none}.live-appearance[hidden]{display:none}.live-appearance>span{font-size:8px;letter-spacing:.16em;color:#d3dfbd}.live-appearance strong{font:23px/1.1 Lilita}.live-appearance small{font-size:10px}.live-field>svg{isolation:isolate}.live-count>span{white-space:nowrap}
@media(max-width:700px){.live-appearance{padding:12px 17px;gap:5px}.live-appearance strong{font-size:20px}.live-appearance small{font-size:9px}}
@media(max-height:520px){.live-appearance{padding:9px 15px;gap:4px}.live-appearance strong{font-size:18px}.live-appearance small{font-size:8px}}
@media(max-height:520px){.live-duel{padding:7px;gap:5px}.live-matchup{flex-direction:row;gap:4px;align-items:center}.duel-person{gap:4px;flex:1;min-width:0}.duel-person>div{width:27px;height:32px}.duel-person>div>div{transform:translate(0,1px) scale(.42)}.duel-person b{font-size:8px;overflow-wrap:anywhere}.duel-person small{font-size:5px}.duel-vs{font-size:5px}.live-call{margin:0;min-height:40px}.live-call h2{font-size:17px;margin:4px 0}.live-context{margin-top:auto;padding-top:4px}.live-context p{display:none}}
/* Commentary updates must never change the camera's viewport size. */
.live-call h2{min-height:2.1em}.live-call p{line-height:1.3;min-height:2.6em}.live-progress i{width:100%;transform:scaleX(0);transform-origin:left center;will-change:transform}
@media(max-width:700px) and (min-height:521px){.live-duel{height:164px;flex:0 0 164px;box-sizing:border-box;grid-template-rows:49px 82px;overflow:hidden}.live-call{height:82px;min-height:82px;max-height:82px;overflow:hidden}.live-call>span{display:block;line-height:9px;white-space:nowrap}.live-call h2{height:42px;min-height:42px;max-height:42px;font-size:20px;line-height:21px;margin:3px 0;display:flex;align-items:center}.live-call p{height:20px;min-height:20px;max-height:20px;font-size:8px;line-height:10px;margin:0;overflow:hidden}.live-context{min-height:0;overflow:hidden}}

.live-scores>span>i.live-club-crest{width:20px;height:20px;display:flex;background:none;border:0;margin-right:2px}
.live-club-crest>svg{width:100%;height:100%;display:block}
.crowd-raised-arms{visibility:hidden}
[data-crowd-energy="cheer"] .crowd-raised-arms{visibility:visible}
[data-crowd-energy="cheer"][data-crowd-motion="on"] [data-crowd-wave]{animation:home-crowd-bounce .65s ease-in-out infinite alternate}
[data-crowd-energy="cheer"][data-crowd-motion="on"] [data-crowd-wave="1"]{animation-delay:-.22s}
[data-crowd-energy="cheer"][data-crowd-motion="on"] [data-crowd-wave="2"]{animation-delay:-.44s}
@keyframes home-crowd-bounce{from{transform:translateY(0)}to{transform:translateY(-.65px)}}
@media(prefers-reduced-motion:reduce){[data-crowd-energy="cheer"][data-crowd-motion="on"] [data-crowd-wave]{animation:none}}
@media(max-height:520px){.live-scores>span>i.live-club-crest{width:14px;height:14px}}

[data-crowd-energy="cheer"] .crowd-calm-people{visibility:hidden}
[data-crowd-energy="cheer"][data-crowd-motion="on"] [data-crowd-wave="1"]{animation-duration:.9s}
[data-crowd-energy="cheer"][data-crowd-motion="on"] [data-crowd-wave="2"]{animation-duration:1.1s}

/* The broadcast gives space to the play; game lines use only revealed events. */
#war-app[data-screen="broadcast"]{grid-template-rows:42px minmax(0,1fr)}
#war-app[data-screen="broadcast"] .app-header{padding:4px 14px}
#war-app[data-screen="broadcast"] .wordmark img{width:28px;height:28px}
#war-app[data-screen="broadcast"] .wordmark>span{font-size:16px}
#war-app[data-screen="broadcast"] .wordmark small{font-size:6px;margin-top:3px}
#war-app[data-screen="broadcast"] .watch-header{display:none}
#war-app[data-screen="broadcast"] main{padding:9px 13px}
.live-view{gap:7px}.live-heading>span{font-size:9px}.live-heading .secondary{min-height:27px;padding:5px 12px}
.live-scoreboard{padding:7px 14px;gap:19px}.live-scores b{font-size:23px}.live-scoreboard .live-inning span{font-size:7px;white-space:nowrap}
.live-body{grid-template-columns:minmax(0,1fr) 235px;gap:9px}.live-duel{padding:13px;gap:11px}
.duel-person>div{width:56px;height:65px}.duel-person>div>div{transform:translate(0,3px) scale(.86);transform-origin:top left}
.duel-person b{font-size:14px}.duel-person small{font-size:8px}.duel-person .duel-stats{font-size:9px;color:#fff7df;margin-top:4px;font-weight:900;letter-spacing:.02em}
.live-call h2{font-size:27px}.live-context p{font-size:10px;line-height:1.4}.live-venue>span{font-size:8px}
.live-umpire-call{position:absolute;right:12px;top:11px;border:1px solid #d9e7bf;border-radius:5px;background:#173e2be8;color:#fff8df;padding:5px 10px;font:900 11px/1.1 Nunito,system-ui;pointer-events:none}
.live-umpire-call[hidden]{display:none}.live-play-tag{max-width:calc(100% - 100px);white-space:nowrap;font-size:7px}
@media(max-width:700px) and (min-height:521px){
 #war-app[data-screen="broadcast"]{grid-template-rows:38px minmax(0,1fr)}
 #war-app[data-screen="broadcast"] main{padding:7px 9px}
 .live-scoreboard{gap:10px;padding:8px 10px}.live-scoreboard .live-inning span{font-size:5px}
 .live-body{display:flex;gap:7px}.live-duel{height:160px;flex:0 0 160px;padding:10px;gap:7px;grid-template-rows:57px 76px}
 .duel-person>div{width:39px;height:48px}.duel-person>div>div{transform:translate(0,3px) scale(.61)}
 .duel-person b{font-size:11px}.duel-person small{font-size:6px}.duel-person .duel-stats{font-size:6px;margin-top:3px}.duel-vs{font-size:7px}
 .live-call{height:76px;min-height:76px;max-height:76px}.live-call h2{font-size:19px;height:40px;min-height:40px;max-height:40px;line-height:20px}
 .live-call p{font-size:8px}.live-context p{font-size:8px;line-height:1.3}.live-venue>span{font-size:6px}
 .live-umpire-call{font-size:10px;padding:5px 8px;right:9px;top:9px}.live-play-tag{font-size:6px;left:9px;top:9px}
}
@media(max-height:520px){
 #war-app[data-screen="broadcast"]{grid-template-rows:31px minmax(0,1fr)}
 #war-app[data-screen="broadcast"] .app-header{padding:2px 10px}
 #war-app[data-screen="broadcast"] .wordmark img{width:23px;height:23px}
 #war-app[data-screen="broadcast"] .wordmark>span{font-size:13px}
 #war-app[data-screen="broadcast"] main{padding:5px 9px}
 .live-view{gap:5px}.live-heading .secondary{min-height:22px;font-size:8px;padding:4px 9px}.live-heading>span{font-size:7px}
 .live-scoreboard{padding:5px 11px;gap:17px}.live-scoreboard .live-inning span{font-size:5px}.live-scores b{font-size:20px}
 .live-body{grid-template-columns:minmax(0,1fr) 193px;gap:7px}.live-duel{padding:7px;gap:6px}
 .duel-person>div{width:27px;height:32px}.duel-person>div>div{transform:translate(0,1px) scale(.42)}
 .duel-person b{font-size:8px}.duel-person small{font-size:5px}.duel-person .duel-stats{font-size:5px;margin-top:2px}
 .live-call h2{font-size:17px}.live-context p{display:block;font-size:6px;line-height:1.2;max-height:22px;overflow:hidden}
 .live-umpire-call{font-size:9px;padding:4px 7px;right:8px;top:8px}.live-play-tag{font-size:6px;left:8px;top:8px}
}

@media(max-width:700px) and (min-height:521px){.duel-person small{font-size:7px}.duel-person .duel-stats{font-size:7px}}
@media(max-height:520px){
 .live-duel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:5px}
 .live-matchup{min-height:32px}.live-call{height:auto;max-height:none;min-height:0;overflow:hidden;margin:0;display:flex;flex-direction:column;justify-content:center}
 .live-call>span{font-size:6px;line-height:8px}.live-call h2{font-size:16px;line-height:17px;min-height:17px;max-height:34px;margin:3px 0}
 .live-call p{font-size:7px;line-height:9px;height:18px;min-height:18px;max-height:18px;overflow:hidden}
 .live-context{margin-top:0;padding-top:3px}.live-context p{display:none}
 .live-context[data-transition="yes"] p{display:block;font-size:6px;line-height:7px;max-height:14px;margin-top:2px}
}
[data-crowd-energy="calm"][data-crowd-motion="on"] [data-crowd-wave="1"]{animation:stadium-idle 8s ease-in-out infinite alternate}
@keyframes stadium-idle{to{transform:translateY(-.16px)}}
@media(prefers-reduced-motion:reduce){[data-crowd-wave]{animation:none!important}}
.live-game-choice{display:flex;align-items:center;gap:8px;font-size:10px;flex-shrink:0}.live-game-choice select{height:28px;width:auto;max-width:390px;padding:3px 8px;font-size:10px}
.broadcast-empty{margin:auto;text-align:center;display:grid;gap:15px}.live-transport{display:flex;gap:7px}
@media(max-width:700px){.live-game-choice{font-size:9px}.live-game-choice select{height:27px;max-width:290px;font-size:9px}.live-transport{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}.live-transport button{font-size:9px;min-height:34px;padding:6px 3px}}
@media(max-height:520px){.live-game-choice{position:absolute;right:120px;top:8px;max-width:230px;z-index:2}.live-game-choice select{height:24px;font-size:8px;max-width:190px}.live-heading{position:relative}.live-view{position:relative}.live-transport button{font-size:9px;padding:6px 8px}}

/* Rarity is visible in the whole card, the written tier and its per-stat gain. */
.pack-reveal .trading-card{height:min(100%,500px);aspect-ratio:2.3/3.7;max-width:31%;padding:5px;border-radius:16px;background:linear-gradient(135deg,#c5ddd1,#51755f);box-shadow:0 12px 24px #061b1680}
.pack-reveal .bronze{--rarity:#eeb387;--rarity-dark:#64371d;--art-light:#ecd6b1;--art-sky:#b69970;--field:#737d41;background:linear-gradient(125deg,#f5c392,#a65f35 35%,#e9a56f 65%,#f8d6ad)}
.pack-reveal .silver{--rarity:#def3ff;--rarity-dark:#354f65;--art-light:#e6f6ff;--art-sky:#9bbcd2;--field:#5f8b88;background:linear-gradient(125deg,#f5fdff,#8daebf 35%,#e1f5ff 62%,#b1d2e1);box-shadow:0 12px 24px #061b1680,inset 0 0 0 1px #ffffffc0}
.pack-reveal .gold{--rarity:#ffe69b;--rarity-dark:#674913;--art-light:#fff1b9;--art-sky:#d5ad50;--field:#80823d;background:linear-gradient(125deg,#fff2b1,#c18b2f 35%,#ffe183 65%,#c79535)}
.pack-reveal .diamond{--rarity:#e5faff;--rarity-dark:#34466a;--art-light:#eefaff;--art-sky:#a6c4e4;--field:#688a91;background:linear-gradient(125deg,#f6ffff,#a4dbef 24%,#e2c7fc 44%,#f6ffff 65%,#8ce1dc 82%,#d7d0ff);box-shadow:0 12px 24px #061b1680,0 0 20px #b3dffc45}
.pack-reveal .card-face{padding:0;display:grid;grid-template-rows:minmax(0,1fr)auto auto auto;gap:0;background:linear-gradient(125deg,#254d35,#133b29);border-radius:11px;border:1px solid var(--rarity-dark);box-shadow:inset 0 0 0 1px #ffffff18}
.pack-reveal .silver .card-face{outline:1px solid #f2fcff80;outline-offset:-4px}
.pack-reveal .diamond .card-face{outline:1px solid #f6fbffb0;outline-offset:-4px}
.pack-reveal .card-art{position:relative;inset:auto;opacity:1;transform:none;transform-origin:center;min-height:0;overflow:hidden;border-bottom:2px solid var(--rarity);background:radial-gradient(ellipse at 50% 25%,var(--art-light),transparent 73%),linear-gradient(var(--art-sky) 5%,var(--art-light) 80%)}
.pack-reveal .card-art:after{content:none}
.pack-reveal .card-art>svg{position:relative;display:block;width:100%;height:100%;z-index:1;padding-top:16px}
.pack-reveal .card-field{position:absolute;inset:53% 0 0;border-top:8px solid #244b3b55;background:repeating-linear-gradient(0deg,#ffffff0a 0 25px,#082e2520 25px 50px),var(--field);transform:perspective(200px) rotateX(8deg);transform-origin:top;opacity:.72}
.pack-reveal .diamond .card-art:before{content:'';position:absolute;inset:0;background:conic-gradient(from 45deg at 0 0,transparent 0 18%,#ffffffb0 18% 20%,transparent 20% 32%,#eadbff70 32% 39%,transparent 39%);pointer-events:none}
.pack-reveal .card-rarity{position:absolute;top:0;left:0;right:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:30px;padding:6px 12px;background:var(--rarity-dark);color:var(--rarity);font-size:11px;font-weight:900;letter-spacing:.12em;border-bottom:1px solid var(--rarity);text-shadow:0 1px #0004}
.pack-reveal .card-rarity small{color:var(--rarity);font-size:11px;font-weight:900;letter-spacing:0;white-space:nowrap}
.pack-reveal .card-rarity i{font-size:7px;font-weight:700}
.pack-reveal .card-title{margin:12px 13px 10px;min-height:47px;z-index:1}
.pack-reveal .card-title>small{display:block;color:var(--rarity);font-size:7px;line-height:1.3;letter-spacing:.1em}
.pack-reveal .card-title h2{font:27px/1.04 Lilita,sans-serif;color:#fffdf5;margin:6px 0 0;overflow-wrap:anywhere}
.pack-reveal .card-boosts{margin:0 13px 12px;gap:0}
.pack-reveal .card-boosts>div{min-height:29px;padding:6px 0;gap:7px;font-size:12px;line-height:1.15;border-bottom:1px solid var(--rarity);align-items:center}
.pack-reveal .card-boosts span{max-width:none}
.pack-reveal .card-boosts b{color:var(--rarity);font-size:13px}
.pack-reveal .card-face>.primary{margin:0 12px 12px;min-height:39px;font-size:10px;padding:8px 4px;box-shadow:0 3px var(--rarity-dark);border-bottom:2px solid var(--rarity);white-space:normal}

@media(max-width:520px) and (min-height:521px){
 .pack-reveal{gap:10px}
 .pack-reveal .reveal-cards{gap:6px;align-items:center}
 .pack-reveal .trading-card{width:calc((100% - 12px)/3);max-width:none;aspect-ratio:auto;max-height:470px;padding:3px;border-radius:11px}
 .pack-reveal .card-face{border-radius:7px}
 .pack-reveal .card-rarity{min-height:25px;padding:5px;font-size:8px;letter-spacing:.06em}
 .pack-reveal .card-rarity small{font-size:9px}
 .pack-reveal .card-rarity i{display:none}
 .pack-reveal .card-art>svg{padding-top:12px}
 .pack-reveal .card-title{margin:9px 6px 7px;min-height:53px}
 .pack-reveal .card-title>small{font-size:5px;letter-spacing:.04em}
 .pack-reveal .card-title h2{font-size:19px;line-height:1.05;margin-top:5px}
 .pack-reveal .card-boosts{margin:0 6px 10px}
 .pack-reveal .card-boosts>div{font-size:9px;min-height:35px;padding:7px 0;gap:3px}
 .pack-reveal .card-boosts b{font-size:11px;flex-shrink:0}
 .pack-reveal .card-face>.primary{margin:0 5px 8px;min-height:39px;font-size:8px;padding:6px 2px}
}
@media(max-height:520px){
 .pack-reveal .reveal-cards{gap:18px}
 .pack-reveal .trading-card{height:100%;max-height:500px;aspect-ratio:2.3/3.3;max-width:31%;padding:3px;border-radius:10px}
 .pack-reveal .card-face{border-radius:7px}
 .pack-reveal .card-rarity{min-height:19px;padding:3px 6px;font-size:7px}
 .pack-reveal .card-rarity small{font-size:8px}
 .pack-reveal .card-rarity i{font-size:5px}
 .pack-reveal .card-art>svg{padding-top:9px}
 .pack-reveal .card-title{margin:5px 7px;min-height:34px}
 .pack-reveal .card-title>small{font-size:5px}
 .pack-reveal .card-title h2{font-size:17px;line-height:1;margin-top:3px}
 .pack-reveal .card-boosts{margin:0 7px 6px}
 .pack-reveal .card-boosts>div{min-height:17px;padding:3px 0;font-size:8px}
 .pack-reveal .card-boosts b{font-size:9px}
 .pack-reveal .card-face>.primary{margin:0 6px 7px;min-height:25px;font-size:7px;padding:4px}
}
.pack-reveal .card-face{grid-template-rows:minmax(0,1fr) auto auto auto auto}.card-impact{margin:0 12px 8px;display:flex;justify-content:space-between;align-items:center;gap:5px;font-size:10px}.card-impact span{font-size:9px;text-align:right;color:#e0e9d0;max-width:65%}.pack-reveal .card-boosts b{text-align:right}.pack-reveal .card-boosts b small{font-size:8px;display:block}.pack-reveal .flipped .card-face{animation:development-reveal .36s ease-out both;backface-visibility:hidden;transform-origin:center}.pack-reveal .reveal-cards{perspective:1000px}
@keyframes development-reveal{from{transform:rotateY(-90deg);opacity:.3}to{transform:rotateY(0);opacity:1}}
@media(max-height:520px){.card-impact{margin:0 7px 4px;font-size:8px}.card-impact span{font-size:7px}.pack-reveal .card-title{min-height:26px}.pack-reveal .card-boosts>div{min-height:19px}.pack-reveal .card-boosts b small{font-size:6px}}
@media(max-width:520px) and (min-height:521px){.card-impact{display:block;margin:0 6px 7px;font-size:10px}.card-impact span{display:block;max-width:none;text-align:left;font-size:9px;line-height:1.3;margin-top:4px}.pack-reveal .card-boosts>div{font-size:10px}.pack-reveal .card-boosts b{font-size:11px}.pack-reveal .card-title h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.pack-reveal .flipped .card-face{animation:none}}
