.home-page .home-main{padding-block:20px 40px}
.home-hero{position:relative;isolation:isolate;min-height:260px;display:grid;align-items:center;border:1px solid var(--line);border-radius:var(--surface-radius);background:#101a25}
.home-hero:has(.home-matches:not([hidden])){z-index:5}
.home-hero-art{position:absolute;inset:0 0 0 auto;width:72%;height:100%;object-fit:cover;object-position:center 52%;border-radius:inherit;z-index:-2}
.home-hero::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(90deg,#101a25 2%,#101a25ed 30%,#101a258c 58%,#101a2510 100%),linear-gradient(0deg,#121a2ce0,transparent 79%)}
.home-hero-body{padding:30px clamp(20px,5vw,62px);max-width:790px}
.home-page .home-hero .home-wordmark{margin:0 0 19px}
.home-wordmark .site-wordmark{width:clamp(154px,26vw,237px)}
.home-search{position:relative}
.home-search-label{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.home-search form{display:flex;gap:7px;padding:5px;background:#111c27;border:1px solid var(--line);border-radius:var(--surface-radius)}
.home-search form:focus-within{border-color:var(--accent-gold)}
.home-search input{min-width:0;width:100%;background:transparent;border:0;padding:10px 11px;font-size:1rem}
.home-search input:focus-visible{outline:0}
.home-search form button{flex:none;background:var(--accent-gold);color:#1f190f;border:1px solid var(--accent-gold);font-weight:700;padding-inline:17px}
.home-search form button:hover{background:#f6d99e}
.home-quick{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.home-quick button{padding:4px 10px;min-height:32px;background:#172731e8;color:#e7eef2;border-color:#4a5760;font-size:.875rem}
.home-matches{position:absolute;top:calc(100% + 6px);inset-inline:0;z-index:4;max-height:min(410px,55vh);overflow:auto;padding:6px;border:1px solid #6b6658;border-radius:10px;background:#14212c;box-shadow:0 14px 36px #03080dbb}
.home-matches>p{margin:6px 9px;color:#b8c7d0;font-size:.85rem}
.home-matches ul{margin:0;padding:0;list-style:none}
.home-matches a{display:flex;justify-content:space-between;gap:8px;padding:9px;border-radius:6px;color:#eef3f5;text-decoration:none}
.home-matches a:hover,.home-matches a:focus-visible{background:#243847}
.home-matches small{color:#b5c8d1;flex:none}
.home-columns{margin-top:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.home-panel{padding:18px;border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--panel)}
.home-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px}
.home-panel-head h2{margin:0 0 2px;color:#f4f3ec;font-size:1.35rem}
.home-panel-head p{margin:0;color:#b1c1cb;font-size:.875rem}
.home-panel-head a{color:#f3ca73;font-size:.875rem;white-space:nowrap}
.home-list{display:grid;gap:6px}
.home-comp{display:flex;gap:10px;align-items:center;min-width:0;padding:8px;border:1px solid #2d4250;border-radius:9px;background:#1a2a36;text-decoration:none;color:#f2f4f5}
.home-comp:hover{background:#243847;border-color:#776749}
.home-comp img,.home-comp-fallback{width:38px;height:38px;flex:none;border-radius:7px;border:1px solid #75664e;object-fit:cover}
.home-comp-fallback{display:grid;place-items:center;background:#3a3024;color:#f3ca73;font-weight:800}
.home-comp strong{display:block}
.home-comp small{display:block;color:#b3c4cd;font-size:.8rem}
.home-comp-tier{background:#394451;color:#f2d290;border-radius:5px;padding:2px 6px;font-weight:800;font-size:.8rem}
.home-comp-tier[data-tier="S"]{background:#583441;color:#ffd2d8}
.home-comp-tier[data-tier="A"]{background:#513d2b;color:#ffd1a1}
.home-comp-tier[data-tier="B"]{background:#484025;color:#f4df9a}
.home-comp-metric{white-space:nowrap;margin-inline-start:auto;color:var(--data-green);font-size:.84rem}
.home-rooms{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,112px),1fr));gap:6px;margin:0;padding:0;list-style:none}
.home-room{display:flex;align-items:center;gap:7px;padding:6px 8px;height:100%;min-height:35px;border:1px solid #2d4250;border-radius:7px;background:#1a2a36;color:#edf3f6;font-size:.875rem;text-decoration:none;user-select:none;touch-action:manipulation}
.home-room:hover,.home-room:focus-visible{background:#273746;border-color:#8b764e;color:#f5d68d}
.home-room img{flex:none;object-fit:contain;border-radius:4px}
.home-room span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-live-group{margin-top:16px;padding-top:13px;border-top:1px solid #344654}
.home-live-group h3{margin:0 0 8px;font-size:.95rem}
.home-page .home-panel .home-rooms{grid-template-columns:repeat(3,minmax(0,1fr))}
.home-watch-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px}
.home-watch-apply{font-size:.875rem;color:var(--muted)}
.home-watch-apply summary{width:fit-content;cursor:pointer;color:#f3ca73}
.home-watch-apply p{margin:7px 0 0;font-size:inherit}
.live-room-status{margin:10px 0;color:#ffda9b;font-size:.85rem}
@media(pointer:coarse){.home-watch-hint{display:none}}
.live-page .live-main{padding-block:30px 44px}
.live-page .live-heading{background:transparent;border:0;margin-bottom:16px}
.live-heading h1{margin:0;font-size:clamp(1.8rem,4vw,2.7rem);line-height:1.2}
.live-filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin-bottom:14px}
.live-filters label{display:flex;align-items:center;gap:8px;color:var(--muted)}
#live-count{color:var(--muted);font-size:.875rem}
.live-directory.home-rooms{grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:8px}
.live-directory .home-room{padding:9px 11px}
.live-directory .home-room small{margin-inline-start:auto;color:#b6c4cf;white-space:nowrap}
@media(max-width:740px){.home-columns{grid-template-columns:1fr}.home-hero-art{width:91%;object-position:64% center}.home-hero::before{background:linear-gradient(90deg,#101a25f5,#101a25ad 68%,#101a2559)}}
@media(max-width:420px){.home-page .home-main{padding-top:14px}.home-panel{padding:13px}.home-hero-body{padding-inline:14px}.home-search input{font-size:.875rem;padding-inline:7px}.home-search form button{padding-inline:9px}}

.jcc-home-heading{display:flex;align-items:center;gap:10px;margin-bottom:19px}
.home-page .jcc-home-heading .home-wordmark{margin:0}
.jcc-home-status{padding:3px 8px;border:1px solid #776749;border-radius:6px;color:#f3ca73;font-size:.8rem;white-space:nowrap}

:is(.tft-home,.jcc-home){
  background:#0b1119;
  font-family:Inter,"Source Han Sans SC","Noto Sans CJK SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
}
:is(.tft-home,.jcc-home) .home-main{padding-block:28px 40px}
:is(.tft-home,.jcc-home) .home-hero{
  grid-template-columns:minmax(0,1fr) auto;
  min-height:316px;
  background:#101922;
}
:is(.tft-home,.jcc-home) .home-hero-art{width:67%;object-position:55% 46%;opacity:.61}
:is(.tft-home,.jcc-home) .home-hero::before{
  background:linear-gradient(90deg,#101922 8%,#101922 30%,#1019229e 55%,#10192216 100%),linear-gradient(0deg,#101922b8,transparent 68%);
}
:is(.tft-home,.jcc-home) .home-hero-body{max-width:none;padding:32px clamp(20px,4vw,50px)}
:is(.tft-home,.jcc-home) .home-kicker{
  width:fit-content;margin:0 0 14px;padding:3px 8px;border:1px solid #e9c47b52;border-radius:6px;
  background:#2b251a;color:var(--accent-gold,#e9c47b);font-size:.78rem;font-weight:600;
}
:is(.tft-home,.jcc-home) .home-hero h1{
  margin:0;color:#f4f0e8;font-size:clamp(2.1rem,4.2vw,3.9rem);font-weight:700;line-height:1.12;letter-spacing:-.045em;
}
:is(.tft-home,.jcc-home) .home-hero-summary{margin:12px 0 20px;color:#bfc9d0;font-size:clamp(.9rem,1.45vw,1rem)}
:is(.tft-home,.jcc-home) .home-search{max-width:530px}
:is(.tft-home,.jcc-home) .home-search form{gap:6px;padding:4px;border-color:#3a4a55;border-radius:8px;background:#0c151f}
:is(.tft-home,.jcc-home) .home-search form:focus-within{border-color:var(--accent-gold,#e9c47b)}
:is(.tft-home,.jcc-home) .home-search input{min-height:38px;padding:7px 8px;font-size:.875rem}
:is(.tft-home,.jcc-home) .home-search form button{
  min-height:38px;padding:5px 15px;border:1px solid var(--accent-gold,#e9c47b);border-radius:5px;
  background:var(--accent-gold,#e9c47b);color:#20180e;font-size:.875rem;font-weight:700;
}
:is(.tft-home,.jcc-home) .home-search form button:hover{background:#f6d99e}
:is(.tft-home,.jcc-home) .home-quick{align-items:center;gap:6px;margin-top:10px}
:is(.tft-home,.jcc-home) .home-quick-label{color:#afbdc8;font-size:.74rem}
:is(.tft-home,.jcc-home) .home-quick button{min-height:27px;padding:2px 7px;border-color:#304150;border-radius:5px;background:#14212c;font-size:.74rem}
:is(.tft-home,.jcc-home) .home-quick button:hover{border-color:var(--accent-gold,#e9c47b);color:var(--accent-gold,#e9c47b)}
:is(.tft-home,.jcc-home) .home-season{
  align-self:center;justify-self:end;display:grid;gap:4px;justify-items:start;
  margin-inline-end:clamp(20px,4vw,50px);padding:13px 17px;border:1px solid #e9c47b66;border-radius:9px;
  background:#101922d9;color:#ddd3be;font-size:.82rem;font-weight:600;white-space:nowrap;
}
:is(.tft-home,.jcc-home) .home-season strong{color:var(--accent-gold,#e9c47b);font-size:2rem;font-weight:700;line-height:1}
:is(.tft-home,.jcc-home) .home-columns{margin-top:16px}
:is(.tft-home,.jcc-home) .home-panel{min-width:0;padding:17px;background:#111d28}
:is(.tft-home,.jcc-home) .home-panel-head{margin-bottom:12px}
:is(.tft-home,.jcc-home) .home-panel-head h2{font-size:1.22rem;font-weight:700}
:is(.tft-home,.jcc-home) .home-panel-head a,:is(.tft-home,.jcc-home) .home-watch-apply summary{color:var(--accent-gold,#e9c47b)}
:is(.tft-home,.jcc-home) .home-panel-head p,:is(.tft-home,.jcc-home) .home-watch-apply{font-size:.78rem}
:is(.tft-home,.jcc-home) .home-rank-labels,:is(.tft-home,.jcc-home) .home-comp{
  display:grid;grid-template-columns:30px 36px minmax(0,1fr) minmax(63px,.6fr) 56px;
  align-items:center;gap:8px;padding-inline:8px;
}
:is(.tft-home,.jcc-home) .home-rank-labels{margin-bottom:5px;color:#afbdc8;font-size:.75rem}
:is(.tft-home,.jcc-home) .home-rank-labels span:last-child{text-align:right}
:is(.tft-home,.jcc-home) .home-comp{padding-block:6px;border-color:#273a48;background:#162632}
:is(.tft-home,.jcc-home) .home-comp:hover{border-color:#806b45;background:#1c303d}
:is(.tft-home,.jcc-home) .home-comp img,:is(.tft-home,.jcc-home) .home-comp-fallback{width:36px;height:36px}
:is(.tft-home,.jcc-home) .home-comp-tier{justify-self:start;min-width:23px;padding:2px 5px;text-align:center;font-weight:700}
:is(.tft-home,.jcc-home) .home-comp-name,:is(.tft-home,.jcc-home) .home-comp-strategy{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(.tft-home,.jcc-home) .home-comp-name{font-size:.92rem;font-weight:600}
:is(.tft-home,.jcc-home) .home-comp-metric{margin:0;text-align:right;color:var(--data-green,#89dfbb);font-weight:600;font-variant-numeric:tabular-nums}
:is(.tft-home,.jcc-home) .home-panel .home-rooms{grid-template-columns:repeat(3,minmax(0,1fr))}
:is(.tft-home,.jcc-home) .home-room{min-height:38px;border-color:#273a48;background:#162632}
:is(.tft-home,.jcc-home) .home-room:hover,:is(.tft-home,.jcc-home) .home-room:focus-visible{border-color:#806b45;background:#1c303d}

@media(max-width:900px){
  :is(.tft-home,.jcc-home) .home-comp,:is(.tft-home,.jcc-home) .home-rank-labels{gap:5px;grid-template-columns:27px 32px minmax(0,1fr) 54px 42px}
  :is(.tft-home,.jcc-home) .home-comp img,:is(.tft-home,.jcc-home) .home-comp-fallback{width:32px;height:32px}
}
@media(max-width:740px){
  :is(.tft-home,.jcc-home) .home-hero{grid-template-columns:1fr;min-height:0}
  :is(.tft-home,.jcc-home) .home-hero-body{padding-block:64px 24px}
  :is(.tft-home,.jcc-home) .home-hero-art{width:100%}
  :is(.tft-home,.jcc-home) .home-hero::before{background:linear-gradient(90deg,#101922f5,#101922ad 72%,#1019228c)}
  :is(.tft-home,.jcc-home) .home-season{position:absolute;inset:13px 16px auto auto;display:flex;align-items:baseline;gap:6px;margin:0;padding:5px 8px}
  :is(.tft-home,.jcc-home) .home-season strong{font-size:1rem}
  :is(.tft-home,.jcc-home) .home-season span{font-size:.72rem}
}
@media(max-width:420px){
  :is(.tft-home,.jcc-home) .home-main{padding-top:14px}
  :is(.tft-home,.jcc-home) .home-panel{padding:11px}
  :is(.tft-home,.jcc-home) .home-comp,:is(.tft-home,.jcc-home) .home-rank-labels{padding-inline:4px}
  :is(.tft-home,.jcc-home) .home-comp-name{font-size:.8rem}
  :is(.tft-home,.jcc-home) .home-comp-strategy,:is(.tft-home,.jcc-home) .home-comp-metric{font-size:.72rem}
}

.home-item-strength{margin-top:16px;min-height:122px}
.home-item-strength-list{display:grid;gap:8px;min-height:74px}
.home-item-strength-band{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.home-item-strength-band>.home-comp-tier{width:24px;text-align:center;flex:none;padding-block:5px}
.home-item-strength-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:5px;background:var(--panel);overflow:hidden}
.home-item-strength-icon img{width:30px;height:30px;object-fit:contain}
.home-item-strength-icon:hover,.home-item-strength-icon:focus-visible{outline:2px solid var(--accent-gold)}

/* Keep both primary homepage panels compact; lists scroll in their own cards. */
.tft-home .home-columns>.home-panel{height:clamp(270px,34vh,320px);min-height:0;display:flex;flex-direction:column;overflow:auto}
.tft-home .home-columns>.home-panel:first-child{overflow:hidden}
.tft-home #home-ranked{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;align-content:start;padding-right:3px}
.tft-home .home-item-strength{width:calc((100% - 16px)/2);min-height:156px;box-sizing:border-box}
@media(max-width:740px){.tft-home .home-columns>.home-panel{height:285px}.tft-home .home-item-strength{width:100%}}

/* Homepage equipment strength: aligned, full-width compact tiers. */
.tft-home .home-item-strength-list{gap:9px;min-height:0;margin-top:8px}
.tft-home .home-item-strength-band{display:grid;grid-template-columns:30px repeat(8,minmax(0,1fr));gap:6px;align-items:center}
.tft-home .home-item-strength-band>.home-comp-tier{width:100%;height:100%;min-height:38px;display:grid;place-items:center;border-radius:5px;padding:0;font-size:.9rem}
.tft-home .home-item-strength-icon{width:100%;height:auto;aspect-ratio:1;max-height:54px;min-width:0;box-sizing:border-box;border-radius:6px;padding:3px}
.tft-home .home-item-strength-icon img{width:100%;height:100%;max-width:42px;max-height:42px;object-fit:contain;border-radius:3px}
@media(max-width:420px){.tft-home .home-item-strength-band{grid-template-columns:24px repeat(8,minmax(0,1fr));gap:3px}.tft-home .home-item-strength-icon{padding:1px}.tft-home .home-item-strength-band>.home-comp-tier{min-height:28px}}
