/* Shared reading and navigation system. Preserve data and existing controllers. */
:root{--kls-read-ink:#f3f6fc;--kls-read-muted:#c0cede;--kls-read-gold:#f2ce80;--kls-read-line:#465c77}
.kls-primary-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;border-top:1px solid #344a64;padding-top:9px;margin-top:9px}
.kls-primary-nav a{justify-content:center;font-weight:750;font-size:14px;min-width:0;padding:9px 5px}
.kls-home-quick{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:min(960px,calc(100% - 24px));margin:14px auto 18px}
.kls-home-quick :is(a,button){display:grid;gap:4px;align-content:center;text-align:left;text-decoration:none;border:1px solid #61738c;border-radius:12px;padding:14px;background:linear-gradient(115deg,#1d334b,#102033);color:#f4f7fc;min-height:76px;font:inherit;cursor:pointer}
.kls-home-quick strong{font-size:18px;color:#f6d48c}.kls-home-quick span{font-size:13px;line-height:1.4;color:#d0dceb}
.kls-home-quick :is(a,button):focus-visible{outline:3px solid #ffe1a0;outline-offset:3px}
.kls-home-quick~.kls-startup-splash .kls-startup-crest{width:min(290px,65vw)!important}
.kls-home-quick~.kls-startup-splash .kls-startup-tagline{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;font-size:13px;letter-spacing:.12em}
.kls-experience{margin:8px 0 14px}.kls-experience .kls-context-label{min-height:38px}
.kls-experience .kls-explore-groups a span{font-size:13px;color:#c7d6e9}
/* Put tickets before secondary tools. All old tools retain their original handlers. */
.pc-panel [hidden]{display:none!important}
.mp-app.pc-enabled .pc-heading{margin-bottom:12px}.mp-app.pc-enabled .pc-heading h2{font-size:clamp(28px,5vw,38px);line-height:1.15}
.pc-primary-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:10px;align-items:start;margin-bottom:14px}
.pc-primary-actions .pc-add-menu{margin:0;min-width:0}.pc-primary-actions .pc-add-menu>summary,.pc-primary-actions .pc-import{min-height:48px;font-size:15px;padding:12px;box-sizing:border-box;justify-content:center}
.pc-primary-actions .pc-add-menu>summary{text-align:center}.pc-primary-actions .pc-import{border-color:#61748e;background:#142b42;color:#f1f5fb;line-height:1.4}
.pc-workspace-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;background:#0a1626;border:1px solid #445973;border-radius:12px;margin:0 0 16px}
.pc-workspace-tabs button{background:transparent!important;border:0!important;color:#cbd8e9!important;min-height:44px;font-size:15px!important;font-weight:800;border-radius:8px}
.pc-workspace-tabs button[aria-pressed=true]{background:#f2ce80!important;color:#102033!important}
.pc-workspace-panel{padding:15px;border:1px solid #455d79;border-radius:12px;background:#102238}
.pc-workspace-panel>p{font-size:14px!important;color:#c5d4e7!important;line-height:1.5!important}
.pc-workspace-panel .pc-tools{grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0 0;gap:10px}
.pc-workspace-panel .pc-tools button{font-size:14px;line-height:1.4;padding:15px 12px;background:#19334b;min-height:56px;color:#f1f6fe;border-color:#61748e}
.pc-panel .pc-sports{margin-bottom:10px;gap:6px}.pc-panel .pc-sports button{min-height:44px;font-size:14px;padding:9px 6px}
.pc-panel .pc-tabs{gap:10px;justify-content:space-between;margin-bottom:14px}.pc-panel .pc-tabs button{font-size:14px;padding:10px 3px}
.pc-panel .pc-list-heading{flex-wrap:wrap}.pc-panel .pc-list-heading h3{font-size:21px!important}
.pc-panel .pc-status,.pc-panel .pc-price-note,.pc-panel .pc-leg-note{font-size:13px!important;line-height:1.55!important;color:#c0cede!important}
.pc-panel .pc-ticket-title,.pc-panel .pc-leg-copy strong{font-size:17px!important;line-height:1.4!important}
.pc-panel .pc-overview .pc-leg-copy .pc-selection{font-size:15px!important}
.pc-panel .pc-overview .pc-leg-copy :is(.pc-matchup,small),.pc-panel .pc-overview .pc-final-result :is(span,small){font-size:12px!important;line-height:1.5!important}
.pc-panel .pc-overview .pc-final-result strong{font-size:20px}.pc-panel .pc-account{padding:18px}.pc-panel .pc-account p{font-size:15px!important}
/* Prop browsing: compact title, visible name/market controls, optional detail. */
.kls-props-page .hero{padding:15px 18px;margin:8px 0 12px;min-height:0;border-radius:13px}
.kls-props-page .hero h1{font-size:clamp(29px,5vw,38px);margin:4px 0 7px}.kls-props-page .hero p{font-size:14px;max-width:none;line-height:1.5}
.kls-props-page .fy-view-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.kls-props-page .fy-view-switch>a{grid-column:1/-1;padding:4px 0;min-height:36px;display:flex;align-items:center;font-size:14px;color:#f5d48c}
.kls-props-page .fy-intro{display:block;margin:12px 0}.kls-props-page .fy-intro h2{font-size:22px;margin:0 0 4px}.kls-props-page .fy-intro p{font-size:14px;line-height:1.5;margin:0;max-width:none}
.kls-props-page .group-title{font-size:16px}.kls-props-page :is(label,.market-help,.status,.score-note,footer){font-size:13px;line-height:1.5}
.kls-props-page .prop-extra-filters{margin:0}.prop-extra-filters>summary{color:#d7e3f3;font-size:14px;font-weight:700}.prop-extra-filters>div{display:grid;gap:10px;padding-top:4px}
.kls-props-page :is(.fy-status,.fy-coverage,.fy-how,.fy-preferences p){font-size:13px;line-height:1.55}.kls-props-page .fy-coverage{gap:8px}
.kls-props-page .card h2{font-size:23px}.kls-props-page .card :is(.muted,small),.kls-props-page .projection-label{font-size:13px;line-height:1.5}.kls-props-page .projection strong{font-size:23px}
/* Expand the spotlight intentionally; it no longer pushes games off screen. */
.cb-compact{background:#102237;border:1px solid #8a7952;border-radius:12px;margin:0;overflow:hidden}
.cb-compact>summary{display:grid;grid-template-columns:minmax(130px,1fr) minmax(0,2fr) auto;gap:5px 14px;align-items:center;list-style:none;cursor:pointer;padding:14px 16px;min-height:66px;color:#f1f5fc}
.cb-compact>summary::-webkit-details-marker{display:none}.cb-compact-name{color:#f4d084;font-size:16px;font-weight:850}.cb-compact-match{font-size:14px;line-height:1.4;font-weight:700}.cb-compact-state{grid-column:2;font-size:12px;color:#cbd8e8}.cb-compact-open{grid-column:3;grid-row:1/3;font-size:13px;color:#f4d084;border:1px solid #6b654e;border-radius:7px;padding:9px}
.cb-compact-open:after{content:' ＋'}.cb-compact[open] .cb-compact-open:after{content:' −'}.cb-compact[open]>summary{border-bottom:1px solid #4c6079}.cb-compact .cb-card{border:0;border-radius:0}.cb-compact .cb-hero{min-height:140px!important;padding:20px!important;background-position:center 40%}.cb-compact .cb-hero h2{font-size:clamp(28px,5vw,42px)!important}
.pd3-directory{padding:12px!important}.pd3-directory-heading{margin-bottom:9px!important}.pd3-primary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.pd3-primary button{min-height:46px;padding:10px 7px;font:750 14px/1.4 system-ui;border:1px solid #607894;border-radius:9px;color:#f1f5fb;background:#173149;cursor:pointer}
.pd3-more{margin:8px 0}.pd3-more>summary{font-size:14px;font-weight:750;cursor:pointer;color:#d5e2f4;padding:10px 3px;min-height:44px}.pd3-more .pd3-links{margin:4px 0}.pd3-links button{font-size:14px!important}
.pd3-actions button{font-size:14px!important;min-height:44px}.pd3-nav-status{font-size:14px!important;line-height:1.5}
/* Research: name search before matchup browsing, no invisible player controls. */
body.kls-research-page .hero{min-height:0!important;padding:14px 18px!important;margin:8px 0 12px!important}
body.kls-research-page .hero h1{font-size:clamp(27px,4vw,37px)!important}.kls-research-page .hero p{font-size:14px!important;line-height:1.5}.kls-research-page .hero small{display:none}
.kls-research-page .research-sport-tabs{margin:10px 0!important;max-width:none}.kls-research-page .research-favorites-strip{margin:8px 0!important}
.research-quick-search{padding:15px;border:1px solid #5e799b;border-radius:12px;background:#10253d;margin:12px 0 16px}
.research-quick-search h2{font-size:19px;margin:0 0 9px;color:#f3d18a}.research-quick-search form{display:flex;gap:9px;align-items:end}.research-quick-search label{flex:1;min-width:0;font-size:14px;color:#d5e2f2}.research-quick-search input{min-height:46px;font-size:16px!important}.research-quick-search button{width:auto;min-height:46px;font-size:14px}.research-quick-search>p{margin:8px 0 0;font-size:13px;color:#c8d6e7;line-height:1.5}
.research-search-results{display:grid;gap:8px;margin-top:10px}.research-search-results button{width:100%;display:grid;gap:4px;text-align:left;background:#1a324b;border-color:#5c7897;color:#f2f6fc;padding:12px}.research-search-results button strong{font-size:16px}.research-search-results button span{font-size:13px;color:#cbd9ea;line-height:1.4}
.kls-research-page .research-layout .panel h2{font-size:20px!important}.kls-research-page .research-step{font-size:15px}.kls-research-page .step-hint{font-size:12px}
.kls-research-page .research-layout :is(.muted,.picker-note,.research-view-note){font-size:13px!important;line-height:1.55!important}
.kls-research-page .research-player-banner{min-height:100px!important;padding:16px 60px 16px 16px!important}
@media(max-width:600px){
 .kls-home-quick{grid-template-columns:1fr 1fr;gap:8px;margin:12px auto}.kls-home-quick :is(a,button){padding:12px;min-height:72px}.kls-home-quick strong{font-size:17px}.kls-home-quick span{font-size:12px}
 .kls-experience-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.kls-experience .kls-sport-switch{grid-column:1/-1;max-width:none}.kls-experience .kls-sport-switch[hidden]{display:none!important}.kls-experience .kls-explore{grid-column:2}.kls-experience .kls-context-label{grid-column:1;grid-row:2;font-size:13px;padding:0 5px}.kls-experience .kls-explore>summary{width:auto;font-size:13px;padding:9px}.kls-experience:has(.kls-explore[open]) .kls-experience-top{display:flex}.kls-experience:has(.kls-explore[open]) .kls-explore{flex-basis:100%}
 .kls-primary-nav a{font-size:13px;padding:9px 4px}.pc-primary-actions{gap:8px}.pc-primary-actions .pc-import{font-size:13px;gap:6px}.pc-primary-actions .pc-import svg{width:20px;height:20px}.pc-workspace-panel .pc-tools{grid-template-columns:1fr 1fr}.pc-panel .pc-sports button{font-size:13px}.pc-panel .pc-tabs button{font-size:13px}
 .pc-panel .pc-overview .pc-leg{grid-template-columns:30px minmax(0,1fr)!important}.pc-panel .pc-overview .pc-leg-status{grid-column:2!important;grid-row:2!important;justify-self:start;font-size:12px!important}.pc-panel .pc-overview .pc-leg-copy strong{font-size:16px!important}.pc-panel .pc-overview .pc-leg-copy .pc-selection{font-size:14px!important}
 .cb-compact>summary{grid-template-columns:minmax(0,1fr) auto;padding:12px;gap:5px 8px}.cb-compact-name{grid-column:1;font-size:15px}.cb-compact-match{grid-column:1;font-size:14px}.cb-compact-state{grid-column:1}.cb-compact-open{grid-column:2;grid-row:1/4;max-width:82px;font-size:12px;line-height:1.4;text-align:center;padding:8px}
 .kls-props-page .hero{padding:12px 14px}.kls-props-page .fy-toolbar{gap:8px}.kls-props-page .fy-toolbar button{font-size:14px}.kls-props-page .fy-coverage{display:grid;grid-template-columns:1fr}
 .research-quick-search{padding:12px}.research-quick-search form{gap:7px}.research-quick-search form button{padding:11px 12px}.pd3-primary button{font-size:13px}.pd3-directory-heading span{display:none}
}
.pc-panel :is(.pc-metrics,.pc-payout,.pc-cash-metrics) span{font-size:12px;line-height:1.5}
.gk-pred-crown-section:has(.cb-compact){padding:0!important;border:0!important;background:none!important}
.gk-pred-crown-section:has(.cb-compact)>h3{display:none}
@media(max-width:600px){.kls-experience-top:has(.kls-sport-switch[hidden]) .kls-context-label{grid-row:1}}

/* Keep complete action words and let available space determine the column count. */
.pc-primary-actions .pc-import{min-width:0;word-break:normal;overflow-wrap:normal}
.pc-primary-actions .pc-import svg{flex:none}
.pc-primary-actions .pc-import-label{min-width:0;word-break:normal;overflow-wrap:normal}

.kls-source-badge{display:inline-flex;align-items:center;gap:.35em;max-width:100%;padding:.12em .45em;border:1px solid #796237;border-radius:.45em;background:#191923;color:#fff3d7;font-size:.78rem;font-weight:700;line-height:1.35;vertical-align:middle}
.kls-source-badge>b{color:#f6cf76;font-size:.7rem}
.kls-player-heading{display:flex;align-items:center;gap:.45em}
.kls-player-heading>.kls-player-initials{display:inline-grid;place-items:center;flex:0 0 2rem;height:2rem;border-radius:50%;background:#272331;color:#f6cf76;font-size:.78rem;font-weight:700}
