/* Ironkin home refinement — intentionally scoped to the homepage. */
body.home-ledger-v3 .home-premium{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:28px 0 48px}
body.home-ledger-v3 .home-refined-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);gap:42px;align-items:end;min-height:390px;padding:56px 52px;margin:0 0 14px;border:1px solid rgba(255,255,255,.07);border-radius:18px;background:linear-gradient(110deg,rgba(15,14,13,.91),rgba(7,7,7,.78)),url('/assets/ironkin-emblem.png') right 9% center/330px auto no-repeat;box-shadow:0 20px 55px rgba(0,0,0,.2);overflow:hidden}
body.home-ledger-v3 .home-refined-hero-copy{max-width:650px}
body.home-ledger-v3 .home-refined-hero .home-kicker{margin:0 0 16px;font-size:.66rem;letter-spacing:.18em;color:#ff8a32}
body.home-ledger-v3 .home-refined-hero h1{margin:0;color:#fff8f2;font-size:clamp(3.25rem,6vw,5.3rem);line-height:.9;letter-spacing:-.065em}
body.home-ledger-v3 .home-refined-hero h1 em{display:block;color:#ff7d21;font-style:normal}
body.home-ledger-v3 .home-refined-hero .home-hero-lead{max-width:570px;margin:20px 0 0;color:rgba(255,248,242,.61);font-size:.95rem;line-height:1.6}
body.home-ledger-v3 .home-hero-actions{display:flex;align-items:center;gap:20px;margin-top:22px}
body.home-ledger-v3 .home-text-link{color:rgba(255,248,242,.72);font-size:.78rem;font-weight:850;text-decoration:none;transition:color .16s ease}
body.home-ledger-v3 .home-text-link:hover{color:#ff8a32}
body.home-ledger-v3 .home-refined-status{align-self:end}
body.home-ledger-v3 .home-refined-status>.eyebrow{margin:0 0 10px;color:rgba(255,255,255,.38)}
body.home-ledger-v3 .home-status-rail{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;height:auto!important}
body.home-ledger-v3 .home-status-rail article{display:block!important;min-height:78px!important;padding:15px 16px!important;border:1px solid rgba(255,255,255,.075)!important;border-radius:11px!important;background:rgba(16,15,14,.82)!important;box-shadow:none!important}
body.home-ledger-v3 .home-status-rail article>div{display:flex!important;flex-direction:column!important;gap:8px!important;text-align:center}
body.home-ledger-v3 .home-status-rail strong{font-size:1.18rem!important;color:#fff8f2!important}
body.home-ledger-v3 .home-status-rail small{font-size:.56rem!important;letter-spacing:.09em!important;color:rgba(255,255,255,.37)!important}

body.home-ledger-v3 .home-context-stack{display:grid;gap:8px;margin:0 0 26px}
body.home-ledger-v3 .home-context-card,body.home-ledger-v3 .home-top-grid>.games-card.full,body.home-ledger-v3 .home-personalized-welcome{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:0!important;margin:0!important;padding:14px 16px!important;border:1px solid rgba(255,255,255,.07)!important;border-radius:12px!important;background:rgba(17,16,15,.72)!important;box-shadow:none!important}
body.home-ledger-v3 .home-context-card .eyebrow,body.home-ledger-v3 .home-personalized-welcome .eyebrow{margin-bottom:3px!important}
body.home-ledger-v3 .home-context-card h2,body.home-ledger-v3 .home-personalized-welcome h2{margin:0 0 3px!important;font-size:.98rem!important}
body.home-ledger-v3 .home-context-card p:not(.eyebrow),body.home-ledger-v3 .home-personalized-welcome p:not(.eyebrow){margin:0!important;color:rgba(255,255,255,.46)!important;font-size:.72rem!important;line-height:1.4!important}
body.home-ledger-v3 .home-context-card .btn{min-height:36px!important;padding:8px 13px!important;font-size:.72rem!important;white-space:nowrap}
body.home-ledger-v3 .home-personal-links{gap:6px!important;flex-wrap:nowrap!important}
body.home-ledger-v3 .home-personal-links a{padding:7px 9px!important;font-size:.66rem!important}

body.home-ledger-v3 .home-live-section{padding-top:4px}
body.home-ledger-v3 .home-section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 0 12px;padding:0 2px}
body.home-ledger-v3 .home-section-heading .eyebrow{margin:0 0 4px}
body.home-ledger-v3 .home-section-heading h2{margin:0;font-size:1.42rem}
body.home-ledger-v3 .home-section-heading>a{color:rgba(255,255,255,.48);font-size:.7rem;font-weight:800;text-decoration:none}
body.home-ledger-v3 .home-section-heading>a:hover{color:#ff8a32}
body.home-ledger-v3 .home-ledger-grid{display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr)!important;gap:12px!important;margin:0!important;align-items:stretch!important}
body.home-ledger-v3 .home-feature-panel,body.home-ledger-v3 .home-panel,body.home-ledger-v3 .home-news-section{border:1px solid rgba(255,255,255,.075)!important;border-radius:14px!important;background:rgba(17,16,15,.78)!important;box-shadow:none!important}
body.home-ledger-v3 .home-feature-panel{padding:20px!important}
body.home-ledger-v3 .home-feature-topline h2{font-size:1.55rem!important;line-height:1.05}
body.home-ledger-v3 .home-event-progress{margin:13px 0 14px!important;height:4px!important}
body.home-ledger-v3 .home-feature-panel .featured-stats{gap:7px!important;margin:12px 0 8px!important}
body.home-ledger-v3 .home-feature-panel .featured-stat{min-height:64px!important;padding:11px!important;border-color:rgba(255,255,255,.07)!important;background:rgba(255,255,255,.018)!important}
body.home-ledger-v3 .home-feature-panel .featured-stat strong{font-size:1rem!important;margin-bottom:5px!important;color:#fff8f2!important}
body.home-ledger-v3 .home-feature-panel .featured-stat span{font-size:.55rem!important}
body.home-ledger-v3 .home-total-panel{margin:8px 0 12px!important;padding:13px 15px!important;background:rgba(255,126,31,.075)!important}
body.home-ledger-v3 .home-total-panel strong{font-size:1.45rem!important}
body.home-ledger-v3 .home-rank-heading{margin-top:0!important}
body.home-ledger-v3 .home-feature-panel .home-top-three div{padding:8px 6px!important;font-size:.72rem}
body.home-ledger-v3 .home-feature-button{min-height:38px!important;margin-top:12px!important;font-size:.72rem!important}
body.home-ledger-v3 .home-ledger-side{display:grid!important;grid-template-rows:1fr 1fr!important;gap:12px!important}
body.home-ledger-v3 .home-panel{height:auto!important;padding:16px!important}
body.home-ledger-v3 .home-panel-heading{margin-bottom:8px!important}
body.home-ledger-v3 .home-panel-heading h2{font-size:1.05rem!important}
body.home-ledger-v3 .home-panel-heading a{font-size:.64rem!important}
body.home-ledger-v3 .home-upcoming-list,body.home-ledger-v3 .home-activity-list{max-height:190px!important;overflow:auto!important}
body.home-ledger-v3 .activity-feed-row,body.home-ledger-v3 .upcoming-event-row{min-height:48px!important;padding:8px 0!important}

body.home-ledger-v3 .home-news-section{margin:14px 0 0!important;padding:20px!important}
body.home-ledger-v3 .home-news-header{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:20px!important;margin-bottom:13px!important}
body.home-ledger-v3 .home-news-header h2{margin:2px 0 2px!important;font-size:1.35rem!important}
body.home-ledger-v3 .home-news-header p:last-child{margin:0!important;color:rgba(255,255,255,.42)!important;font-size:.72rem!important}
body.home-ledger-v3 .home-news-carousel{display:grid!important;grid-template-columns:28px minmax(0,1fr) 28px!important;gap:8px!important;align-items:stretch!important}
body.home-ledger-v3 .home-news-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;min-height:0!important;max-height:none!important;overflow:visible!important}
body.home-ledger-v3 .clan-news-preview-entry,body.home-ledger-v3 .clan-news-entry,body.home-ledger-v3 .news-card{min-height:170px!important;padding:14px!important;border:1px solid rgba(255,255,255,.065)!important;border-radius:11px!important;background:rgba(8,8,8,.42)!important;box-shadow:none!important}
body.home-ledger-v3 .home-news-arrow{position:static!important;width:28px!important;min-width:28px!important;height:auto!important;border-radius:9px!important;background:rgba(255,255,255,.025)!important;border:1px solid rgba(255,255,255,.06)!important;color:rgba(255,255,255,.55)!important}
body.home-ledger-v3 .home-news-arrow:hover:not(:disabled){color:#ff8a32!important;border-color:rgba(255,126,31,.25)!important}
body.home-ledger-v3 .home-news-dots{margin-top:10px!important}

body.home-ledger-v3 .home-brand-refined{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:16px!important;margin:12px 0 0!important;padding:15px 18px!important;border:1px solid rgba(255,255,255,.065)!important;border-radius:12px!important;background:rgba(15,14,14,.58)!important;box-shadow:none!important}
body.home-ledger-v3 .home-brand-refined .premium-brand-mark{width:38px!important;height:38px!important}
body.home-ledger-v3 .home-brand-refined h2{margin:1px 0 2px!important;font-size:.98rem!important;line-height:1.2!important}
body.home-ledger-v3 .home-brand-refined h2 span{color:#ff8a32}
body.home-ledger-v3 .home-brand-refined p:last-child{margin:0!important;font-size:.68rem!important;color:rgba(255,255,255,.42)!important}
body.home-ledger-v3 .home-brand-refined .btn{min-height:36px!important;padding:8px 12px!important;font-size:.68rem!important}

@media(max-width:900px){
 body.home-ledger-v3 .home-premium{width:min(100% - 28px,1180px)}
 body.home-ledger-v3 .home-refined-hero{grid-template-columns:1fr;gap:26px;min-height:0;padding:38px 34px;background:linear-gradient(110deg,rgba(15,14,13,.94),rgba(7,7,7,.86)),url('/assets/ironkin-emblem.png') right -30px center/280px auto no-repeat}
 body.home-ledger-v3 .home-refined-status{max-width:520px}
 body.home-ledger-v3 .home-ledger-grid{grid-template-columns:1fr!important}
 body.home-ledger-v3 .home-ledger-side{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto!important}
 body.home-ledger-v3 .home-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:640px){
 body.home-ledger-v3 .home-premium{width:min(100% - 20px,1180px);padding-top:18px}
 body.home-ledger-v3 .home-refined-hero{padding:30px 22px;background:linear-gradient(110deg,rgba(15,14,13,.96),rgba(7,7,7,.92));border-radius:14px}
 body.home-ledger-v3 .home-refined-hero h1{font-size:clamp(2.8rem,15vw,4rem)}
 body.home-ledger-v3 .home-refined-hero .home-hero-lead{font-size:.86rem}
 body.home-ledger-v3 .home-hero-actions{align-items:flex-start;gap:14px;flex-wrap:wrap}
 body.home-ledger-v3 .home-status-rail{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.home-ledger-v3 .home-context-card,body.home-ledger-v3 .home-personalized-welcome{align-items:flex-start!important;flex-direction:column!important;gap:10px!important}
 body.home-ledger-v3 .home-personal-links{width:100%;overflow:auto}
 body.home-ledger-v3 .home-ledger-side{grid-template-columns:1fr!important}
 body.home-ledger-v3 .home-feature-panel .featured-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.home-ledger-v3 .home-feature-panel .featured-stat{padding:9px 7px!important}
 body.home-ledger-v3 .home-news-header{align-items:flex-start!important;flex-direction:column!important;gap:8px!important}
 body.home-ledger-v3 .home-news-carousel{grid-template-columns:24px minmax(0,1fr) 24px!important;gap:5px!important}
 body.home-ledger-v3 .home-news-grid{grid-template-columns:1fr!important}
 body.home-ledger-v3 .home-brand-refined{grid-template-columns:auto 1fr!important}
 body.home-ledger-v3 .home-brand-refined .btn{grid-column:1/-1;width:100%}
}
@media(prefers-reduced-motion:reduce){body.home-ledger-v3 *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* 2026-10-01 visual corrections: keep the live dashboard compact and aligned. */
body.home-ledger-v3 .home-live-section{padding-top:0!important}
body.home-ledger-v3 .home-ledger-grid{align-items:start!important}
body.home-ledger-v3 .home-feature-panel{
  align-self:start!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
body.home-ledger-v3 .home-ledger-side{
  align-self:start!important;
  height:auto!important;
  grid-template-rows:auto auto!important;
}
body.home-ledger-v3 .home-ledger-side>.home-panel{
  height:auto!important;
  min-height:0!important;
}
body.home-ledger-v3 .home-upcoming-list,
body.home-ledger-v3 .home-activity-list{
  max-height:none!important;
  overflow:visible!important;
}
body.home-ledger-v3 .home-calendar-panel .home-list-widget{
  min-height:150px!important;
}

/* Compact Hall of Flame closer: no oversized legacy emblem leaking outside its rail. */
body.home-ledger-v3 .home-brand-refined{
  min-height:72px!important;
  overflow:hidden!important;
}
body.home-ledger-v3 .home-brand-refined .premium-brand-mark{
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  border-radius:50%!important;
  margin:0!important;
}
body.home-ledger-v3 .home-brand-refined .premium-brand-mark img{
  display:block!important;
  width:26px!important;
  height:26px!important;
  max-width:26px!important;
  max-height:26px!important;
  object-fit:contain!important;
}
body.home-ledger-v3 .home-brand-refined>div:nth-child(2){min-width:0}
body.home-ledger-v3 .home-brand-refined .eyebrow{margin:0 0 3px!important}


/* 2026-10-01: use the full live-column height for richer event standings. */
@media(min-width:901px){
  body.home-ledger-v3 .home-ledger-grid{align-items:stretch!important}
  body.home-ledger-v3 .home-feature-panel{align-self:stretch!important;display:flex!important;flex-direction:column!important;height:100%!important}
  body.home-ledger-v3 .home-feature-panel .home-top-three{flex:1 0 auto!important}
  body.home-ledger-v3 .home-feature-panel .home-top-three div{min-height:39px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
  body.home-ledger-v3 .home-feature-panel .featured-rotation-controls{margin-top:auto!important}
  body.home-ledger-v3 .home-feature-panel .home-feature-button{align-self:flex-start!important}
  body.home-ledger-v3 .home-ledger-side{height:100%!important}
}
