/* Hungry Wars clan league visual polish v4. Scoped to the installed v2 season renderer. */
.hw-l2-screen .l2-header{grid-template-columns:minmax(330px,.92fr) minmax(0,2.15fr)!important;min-height:124px!important}
.hw-l2-screen .l2-road{padding-top:7px!important;padding-bottom:4px!important}
.hw-l2-screen .l2-road-caption{margin-bottom:1px!important}
.hw-l2-screen .l2-road-items{height:92px!important;gap:0!important;scrollbar-width:none!important}
.hw-l2-screen .l2-road-step{min-width:92px!important;flex-basis:92px!important;height:90px!important;justify-content:flex-start!important}
.hw-l2-screen .l2-road-step>.l2-badge{width:72px!important;height:72px!important;object-fit:contain!important;filter:drop-shadow(0 4px 3px rgba(0,0,0,.45))!important}
.hw-l2-screen .l2-road-step>b{font-size:9px!important;margin-top:-3px!important;padding:3px 7px!important}
.hw-l2-screen .l2-road-step.is-current>.l2-badge{transform:scale(1.12)!important;filter:drop-shadow(0 0 11px rgba(90,213,255,.9)) drop-shadow(0 4px 3px rgba(0,0,0,.45))!important}
.hw-l2-screen .l2-road-nav>button{width:30px!important;height:44px!important;font-size:27px!important}

.hw-l2-screen .l2-battle-head{padding:10px 0 2px!important}
.hw-l2-screen .l2-battle-head h3{font-size:24px!important;margin-bottom:3px!important}
.hw-l2-screen .l2-battle-head>b{font-size:15px!important}
.hw-l2-screen .l2-battle-head p{font-size:10px!important}
.hw-l2-screen .l2-arena{min-height:300px!important;flex:1 1 300px!important}
.hw-l2-screen .l2-arena-badge{top:2px!important;z-index:6!important}
.hw-l2-screen .l2-arena-badge>.l2-badge{width:122px!important;height:122px!important;object-fit:contain!important;filter:drop-shadow(0 6px 5px rgba(20,31,45,.5))!important}
.hw-l2-screen .l2-match-names{padding:0 12px 8px!important;gap:45px!important}
.hw-l2-screen .l2-match-names>div{min-height:58px!important;padding:12px 7px 7px!important}
.hw-l2-screen .l2-match-crest{width:64px!important;height:64px!important;top:-54px!important;left:8px!important;filter:drop-shadow(0 4px 3px rgba(0,0,0,.5))!important}
.hw-l2-screen .l2-match-names strong{font-size:16px!important}.hw-l2-screen .l2-match-names small{font-size:10px!important}
.hw-l2-screen .l2-season-score{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:10px!important;min-height:62px!important;padding:6px 12px!important;margin:0!important;background:linear-gradient(180deg,#203e5b,#122c45)!important;border-top:2px solid #76b9de!important;border-bottom:2px solid #0f2235!important;color:#fff8ce!important}
.hw-l2-screen .l2-season-score>div{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}
.hw-l2-screen .l2-season-score>div:last-child{justify-content:flex-end!important;text-align:right!important}
.hw-l2-screen .l2-season-score>span{font-size:10px!important;font-weight:1000!important;white-space:nowrap!important;color:#ffd86a!important;text-align:center!important}
.hw-l2-screen .l2-season-score small{display:block!important;font-size:8px!important;color:#cbe7fa!important}.hw-l2-screen .l2-season-score strong{display:block!important;font-size:27px!important;line-height:1!important;color:#fff!important;font-variant-numeric:tabular-nums!important}
.hw-l2-screen .l2-score-crest{width:38px!important;height:38px!important;flex:0 0 38px!important}
.hw-l2-screen .l2-opponent-reset{min-height:24px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#17324d!important;color:#c9e7fb!important;font-size:8px!important;font-weight:900!important;border-bottom:1px solid #5d8ca9!important}
.hw-l2-screen .l2-rules-note{padding:7px 9px!important;font-size:9px!important;min-height:45px!important}

.hw-l2-screen .l2-board-head{grid-template-columns:92px minmax(0,1fr) 34px!important;min-height:104px!important;padding-bottom:5px!important}
.hw-l2-screen .l2-board-head>.l2-badge{width:88px!important;height:88px!important;object-fit:contain!important;filter:drop-shadow(0 4px 3px rgba(76,44,5,.25))!important}
.hw-l2-screen .l2-board-head h3{font-size:22px!important;margin-bottom:4px!important}
.hw-l2-screen .l2-board-head p{font-size:9px!important;margin:0 0 2px!important}
.hw-l2-screen .l2-board-time{padding:3px 7px!important}.hw-l2-screen .l2-board-time span{font-size:13px!important}
.hw-l2-screen .l2-rank-row{min-height:56px!important;grid-template-columns:24px 52px minmax(0,1fr) 55px 68px 38px!important}
.hw-l2-screen .l2-row-crest{width:48px!important;height:48px!important}
.hw-l2-screen .l2-rank-name>b{font-size:12px!important}.hw-l2-screen .l2-rank-name>small{font-size:8px!important}
.hw-l2-screen .l2-rank-kills{font-size:15px!important}
.hw-l2-screen .l2-zone{min-height:52px!important}.hw-l2-screen .l2-zone-copy>b{font-size:11px!important}.hw-l2-screen .l2-zone-reward{min-width:132px!important}
.hw-l2-screen .l2-no-prize{font-size:9px!important;padding:4px 8px!important;border-radius:8px!important;background:rgba(255,255,255,.42)!important}

/* Hide the old settings button if an older copy survives the JS replacement. */
.hw-l2-screen [data-l2-settings]{display:none!important}

@media(max-width:1380px){
  .hw-l2-screen .l2-road-step{min-width:82px!important;flex-basis:82px!important}.hw-l2-screen .l2-road-step>.l2-badge{width:64px!important;height:64px!important}
  .hw-l2-screen .l2-arena-badge>.l2-badge{width:110px!important;height:110px!important}.hw-l2-screen .l2-match-crest{width:58px!important;height:58px!important;top:-49px!important}
  .hw-l2-screen .l2-board-head{grid-template-columns:82px minmax(0,1fr) 32px!important}.hw-l2-screen .l2-board-head>.l2-badge{width:78px!important;height:78px!important}
}
