/* Home only: a vertical page with independent horizontal, non-autoplay rails. */
.personal-home { --home-panel: var(--panel, #171a26); --home-muted: var(--hint, #a2a8b7); min-width:0; padding-bottom:12px; }
.personal-home [hidden] { display:none!important; }
.home-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:4px 0 16px; }
.home-heading h2 { margin:3px 0 0; font-size:26px; letter-spacing:-.6px; }
.home-kicker { margin:0; color:var(--home-muted); font-size:9px; letter-spacing:1.5px; }
.home-edit, .home-save { background:var(--accent); color:var(--bg,#080b19); border:0; border-radius:20px; padding:11px 16px; min-height:44px; font:inherit; font-size:12px; font-weight:700; cursor:pointer; }
.home-interests { margin:0 0 20px; }
.home-interests>p { font-size:12px; line-height:1.6; color:var(--home-muted); margin:0; }
.home-interest-row { display:flex; gap:8px; overflow-x:auto; padding:0 0 5px; scrollbar-width:none; }
.home-interest { flex:0 0 auto; display:flex; align-items:center; gap:7px; max-width:180px; min-height:44px; background:var(--home-panel); border:1px solid var(--border); border-radius:24px; color:var(--text); font:inherit; font-size:11px; padding:5px 10px 5px 6px; cursor:pointer; }
.home-interest>span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.home-interest img,.home-interest-monogram { width:28px; height:28px; flex:0 0 28px; object-fit:contain; border-radius:50%; }
.home-interest-monogram { display:grid; place-items:center; background:var(--border); font-size:9px; font-weight:700; }
.home-section { margin:0 0 22px; min-width:0; }
.home-section-header { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px; }
.home-section-header h2 { font-size:17px; letter-spacing:-.25px; margin:0; }
.home-carousel { border:1px solid var(--border); border-radius:18px; background:var(--home-panel); overflow:hidden; min-width:0; }
.home-track { transition:height .18s ease; display:flex; width:100%; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none; align-items:flex-start; }
.home-track::-webkit-scrollbar,.home-interest-row::-webkit-scrollbar { display:none; }
.home-slide { position:relative; flex:0 0 100%; width:100%; min-width:0; box-sizing:border-box; scroll-snap-align:start; scroll-snap-stop:always; padding:14px 12px 8px; }
.home-slide-title { display:flex; align-items:center; gap:8px; margin:0 0 11px; }
.home-slide-title h3 { font-size:12px; color:var(--accent); margin:0; font-weight:700; }
.home-slide-body { min-width:0; }
.home-empty { margin:12px 0; color:var(--home-muted); font-size:12px; line-height:1.55; min-height:24px; }
.home-source { color:var(--home-muted); font-size:9px; margin:9px 0 2px; line-height:1.5; overflow-wrap:anywhere; }
.home-warning { border-left:2px solid var(--warning,#edb465); padding:5px 8px; font-size:11px; line-height:1.5; color:var(--warning,#edb465); }
.home-link { color:var(--accent); display:inline-flex; align-items:center; gap:8px; font:inherit; font-size:11px; background:none; border:0; padding:9px 0; min-height:40px; cursor:pointer; }
.home-carousel-controls { display:flex; justify-content:space-between; align-items:center; gap:8px; border-top:1px solid var(--border); padding:0 4px; min-height:42px; }
.home-carousel-controls>button { flex:0 0 40px; width:40px; height:42px; color:var(--text); background:none; border:0; font-size:25px; cursor:pointer; }
.home-carousel-controls button:disabled { opacity:.25; cursor:default; }
.home-dots { display:flex; align-items:center; justify-content:center; flex:1; gap:0; }
.home-dots button { height:40px; width:24px; display:grid; place-items:center; border:0; background:none; padding:0; cursor:pointer; }
.home-dots button>span { display:block; width:5px; height:5px; border-radius:50%; background:var(--home-muted); opacity:.35; }
.home-dots button[aria-current="true"]>span { background:var(--accent); opacity:1; width:16px; border-radius:4px; }
.personal-home button:focus-visible,.personal-home summary:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.home-match-list { display:grid; gap:0; }
.personal-home .match-card { padding:9px 0; border:0; border-radius:0; border-bottom:1px solid var(--border); background:none; }
.personal-home .match-card:last-child { border-bottom:0; }
.personal-home .match-meta { margin-bottom:6px; font-size:9px; }
.personal-home .match-teams { gap:7px; }
.personal-home .match-team { gap:6px; }
.personal-home .match-team-name { font-size:12px; }
.personal-home .match-score { font-size:16px; min-width:56px; }
.personal-home .match-card .team-badge { width:24px; height:24px; }
.home-season { font-size:10px; color:var(--home-muted); margin:0 0 7px; }
.home-mini-table { width:100%; border-collapse:collapse; table-layout:fixed; font-size:11px; }
.home-mini-table th,.home-mini-table td { padding:8px 2px; border-bottom:1px solid var(--border); text-align:center; vertical-align:middle; }
.home-mini-table thead th { color:var(--home-muted); font-weight:500; font-size:9px; }
.home-mini-table th:nth-child(1),.home-mini-table td:nth-child(1) { width:26px; }
.home-mini-table th:nth-child(2),.home-mini-table td:nth-child(2) { text-align:left; }
.home-mini-table th:nth-child(3),.home-mini-table td:nth-child(3) { width:24px; }
.home-mini-table th:nth-child(4),.home-mini-table td:nth-child(4) { width:28px; }
.home-mini-table th:nth-child(5),.home-mini-table td:nth-child(5) { width:72px; }
.home-mini-club { display:flex; align-items:center; gap:4px; min-width:0; }
.home-mini-club>span:not(.home-star) { overflow-wrap:anywhere; }
.home-mini-club img,.home-mini-club .team-badge,.home-mini-club .badge-fallback { width:18px!important; height:18px!important; min-width:18px; font-size:8px; flex:0 0 18px; }
.home-star { color:var(--accent); font-size:9px; margin-left:auto; }
.home-favorite-row { background:color-mix(in srgb,var(--accent) 7%,transparent); }
.home-table-gap>td,.home-table-gap>th { border-top:6px solid var(--home-panel); }
.home-form-row { display:flex; justify-content:center; gap:2px; }
.home-form { display:grid; place-items:center; width:12px; height:15px; border-radius:4px; font-size:8px; font-weight:700; }
.home-form.w { background:#153d30; color:#43e3a1; }
.home-form.d { background:#453b1c; color:#f5d365; }
.home-form.l { background:#43242d; color:#fb8299; }
.home-info { position:relative; font-size:11px; color:var(--home-muted); }
.home-info summary { width:30px; height:30px; display:grid; place-items:center; border:1px solid var(--border); border-radius:50%; cursor:pointer; list-style:none; }
.home-info p { position:absolute; right:0; width:220px; z-index:3; border:1px solid var(--border); background:var(--home-panel); border-radius:12px; padding:12px; line-height:1.6; box-shadow:0 10px 25px #0006; }
.home-news-card { border:0; background:none; text-align:left; color:var(--text); width:100%; display:grid; gap:12px; padding:0; cursor:pointer; font:inherit; }
.home-news-card img { width:100%; aspect-ratio:2.2; object-fit:cover; border-radius:11px; }
.home-news-card strong { font-size:16px; line-height:1.35; }
.home-news-meta { font-size:10px; color:var(--home-muted); }
.home-settings { padding:14px; margin-bottom:20px; border:1px solid var(--border); border-radius:14px; background:var(--home-panel); }
.home-settings h3 { margin:0 0 12px; font-size:14px; }
.home-league-choices { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.home-league-choices label { display:flex; align-items:center; gap:6px; font-size:11px; min-height:38px; }
.home-league-choices input { accent-color:var(--accent); }
.home-settings-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:12px; }
.home-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width:360px) { .home-slide { padding:12px 8px 6px; } .home-mini-table { font-size:10px; } .home-mini-table th:nth-child(5),.home-mini-table td:nth-child(5) { width:64px; } .home-form { width:10px; gap:1px; } }
@media (prefers-reduced-motion:reduce) { .home-track { scroll-behavior:auto; transition:none; } }

.home-table-info { color:var(--home-muted); font-size:10px; margin-top:6px; }
.home-table-info summary { cursor:pointer; padding:5px 0; }
.home-table-info p { margin:4px 0 8px; line-height:1.5; }
