
/* CricRate player intelligence dashboard — visual concept integration. */
.cr-dashboard{--cr-navy:#172934;--cr-gold:#b78a47;--cr-cream:#f0e9d9;--cr-border:#ddd8ce;max-width:1240px!important;margin:0 auto 64px;color:var(--cr-navy)}
.cr-dashboard .cr-topline{padding:24px 8px 30px;position:relative}
.cr-dashboard .cr-breadcrumb{color:#7f8382;font-size:12px;margin-bottom:27px}
.cr-dashboard .cr-kicker{text-transform:uppercase;letter-spacing:.17em;color:#a67b41;font-weight:800;font-size:10px}
.cr-dashboard h1,.cr-dashboard h2,.cr-dashboard h3{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.028em;line-height:1.1;color:var(--cr-navy)}
.cr-dashboard h1{font-size:clamp(36px,4.6vw,62px);margin:14px 0 25px}
.cr-dashboard h2{font-size:clamp(27px,3vw,36px);margin:10px 0 24px}
.cr-dashboard h3{font-size:clamp(21px,2.3vw,28px);margin:12px 0 16px}
.cr-dashboard p{color:#687078;line-height:1.65}
.cr-dashboard .cr-topline>p{max-width:720px}
.cr-dashboard .cr-team-select{display:inline-flex;flex-direction:column;gap:7px;margin-top:12px;color:#7d8082;font-size:10px;font-weight:800;letter-spacing:.13em}
.cr-dashboard .cr-team-select select{min-width:240px;max-width:100%;font-size:14px;letter-spacing:0;background:#fffdf8}
.cr-dashboard .cr-hero{display:grid;grid-template-columns:3fr 2fr;overflow:hidden;border-radius:15px;box-shadow:0 15px 40px rgba(16,39,52,.09)}
.cr-dashboard .cr-hero-left{background:linear-gradient(115deg,#162934,#304a5b);color:white;padding:clamp(22px,3vw,38px)}
.cr-dashboard .cr-hero-left h2,.cr-dashboard .cr-hero-left p{color:#fff}
.cr-dashboard .cr-hero-left h2{margin:0 0 10px;font-size:clamp(26px,3vw,40px)}
.cr-dashboard .cr-hero-left p{color:#bdc8ce;margin:3px 0;font-size:13px}
.cr-dashboard .cr-person{display:flex;align-items:center;gap:16px;margin:26px 0 18px}
.cr-dashboard .cr-avatar{width:85px;height:85px;border-radius:50%;background:linear-gradient(135deg,#d4bc8e,#f4e7cc);display:grid;place-items:center;color:var(--cr-navy);font:700 29px Georgia,serif;flex-shrink:0}
.cr-dashboard .cr-club-button,.cr-dashboard .cr-outline{border:1px solid #637581;background:transparent;color:#f5eedf;border-radius:9px;padding:12px 14px;margin:6px 8px 10px 0;cursor:pointer;font-weight:700;font-size:12px}
.cr-dashboard .cr-club-button{color:#ddbf86}
.cr-dashboard button:focus-visible,.cr-dashboard summary:focus-visible{outline:3px solid #dbb86b;outline-offset:3px}
.cr-dashboard .cr-hero-rating{background:#eee6d6;padding:32px;display:grid;grid-template-columns:minmax(130px,175px) 1fr;gap:22px;align-items:center}
.cr-dashboard .cr-ring{aspect-ratio:1;border-radius:50%;padding:10px;background:conic-gradient(var(--cr-gold) var(--rating-progress),#d9d4c9 0);box-shadow:0 0 0 4px #e6dece;display:grid;place-items:center}
.cr-dashboard .cr-ring>div{background:#fdfaf3;border-radius:50%;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}
.cr-dashboard .cr-ring strong{font:700 clamp(31px,3.4vw,48px) Georgia,serif}
.cr-dashboard .cr-ring small{font-size:9px;letter-spacing:.1em}
.cr-dashboard .cr-hero-rating h3{margin:12px 0 8px}
.cr-dashboard .cr-hero-rating p{font-size:12px}
.cr-dashboard .cr-assessment{font-size:12px;color:#956e35;font-weight:700}
.cr-dashboard .cr-summary-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:20px}
.cr-dashboard .cr-stat,.cr-dashboard .cr-panel,.cr-dashboard .cr-contrib{background:#fffdfa;border:1px solid var(--cr-border);border-radius:12px;padding:24px;box-shadow:0 5px 17px rgba(20,33,40,.035)}
.cr-dashboard .cr-stat{display:flex;flex-direction:column;gap:12px}
.cr-dashboard .cr-stat small{font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:700;color:#899092}
.cr-dashboard .cr-stat strong{font:700 38px Georgia,serif}
.cr-dashboard .cr-stat span{font-size:12px;color:#85888a}
.cr-dashboard .cr-section{margin-top:42px}
.cr-dashboard .cr-timeline-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:18px}
.cr-dashboard .cr-panel h3{margin-bottom:8px}
.cr-dashboard .cr-panel>p{font-size:13px}
.cr-dashboard .cr-chart-scroll{overflow-x:auto}
.cr-dashboard .cr-chart{position:relative;aspect-ratio:760/250;min-width:430px;margin-top:24px}
.cr-dashboard .cr-chart svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.cr-dashboard .cr-chart-line{fill:none;stroke:var(--cr-gold);stroke-width:3;vector-effect:non-scaling-stroke}
.cr-dashboard .cr-gridline{stroke:#e4e0d8;stroke-width:1;vector-effect:non-scaling-stroke}
.cr-dashboard .cr-axis{font-size:12px;fill:#a6a6a6}
.cr-dashboard .cr-plot-point{position:absolute;width:15px;height:15px;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;background:#172934;cursor:pointer;padding:0;box-shadow:0 0 0 1px #172934}
.cr-dashboard .cr-plot-point:hover,.cr-dashboard .cr-plot-point:focus-visible{background:var(--cr-gold);scale:1.3}
.cr-dashboard .cr-chart-ends{display:flex;justify-content:space-between;font-size:11px;color:#9a9e9f}
.cr-dashboard .cr-interpret{background:#ece9e0;border-radius:12px;padding:25px}
.cr-dashboard .cr-interpret>div:last-child{display:flex;align-items:center;gap:13px;border-top:1px solid #ddd7cb;margin-top:25px;padding-top:20px}
.cr-dashboard .cr-interpret strong{color:var(--cr-gold);font:italic 44px Georgia,serif}
.cr-dashboard .cr-interpret span{font-size:12px;color:#6a7272}
.cr-dashboard .cr-contrib-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.cr-dashboard .cr-contrib h3{margin-top:10px}
.cr-dashboard .cr-contrib-main{font:700 42px Georgia,serif}
.cr-dashboard .cr-contrib p{font-size:12px;margin:3px 0 18px}
.cr-dashboard .cr-contrib-pairs{border-top:1px solid #e3ded5;padding-top:16px;display:flex;flex-wrap:wrap;gap:22px}
.cr-dashboard .cr-contrib-pairs>div{display:flex;flex-direction:column;gap:7px}
.cr-dashboard .cr-contrib-pairs strong{font-size:16px}
.cr-dashboard .cr-contrib-pairs small{color:#999;font-size:11px}
.cr-dashboard .cr-method{font-size:12px;margin-top:12px;color:#667079}
.cr-dashboard .cr-honors-head{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.cr-dashboard .cr-honors-head h2{margin-bottom:8px}
.cr-dashboard .cr-period{border:1px solid #d4d2cb;border-radius:8px;display:flex;overflow:hidden}
.cr-dashboard .cr-period button{font-size:12px;border:0;padding:13px;background:transparent;cursor:pointer;color:#4a5c64}
.cr-dashboard .cr-period button.active{background:#182b36;color:#fff}
.cr-dashboard .cr-badge-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}
.cr-dashboard .cr-badge{border:1px solid #d6ccb8;border-radius:12px;background:radial-gradient(ellipse at center,#fffdf8 0%,#eee7dc 100%);min-width:0}
.cr-dashboard .cr-badge summary{list-style:none;cursor:pointer;display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px 12px;gap:7px}
.cr-dashboard .cr-badge summary::-webkit-details-marker{display:none}
.cr-dashboard .cr-badge-status{font-size:9px;letter-spacing:.18em;font-weight:800;color:#97703a}
.cr-dashboard .cr-shield{display:flex;position:relative;flex-direction:column;justify-content:center;align-items:center;width:115px;height:126px;background:#bb9550;color:#fff;clip-path:polygon(50% 0,93% 18%,90% 68%,50% 100%,10% 68%,7% 18%);margin:10px auto;isolation:isolate}
.cr-dashboard .cr-shield::before{content:"";position:absolute;inset:5px;background:#183341;clip-path:polygon(50% 0,93% 18%,90% 68%,50% 100%,10% 68%,7% 18%);z-index:-1}
.cr-dashboard .cr-shield span{font:700 48px Georgia,serif}
.cr-dashboard .cr-shield small{font-size:8px;letter-spacing:.16em}
.cr-dashboard .cr-shield-2,.cr-dashboard .cr-shield-3{background:#b87f65}
.cr-dashboard .cr-shield-4{background:#78949b}
.cr-dashboard .cr-shield-5{background:#d7ae56}
.cr-dashboard .cr-badge strong{font:700 20px Georgia,serif}
.cr-dashboard .cr-badge summary>small{color:#7f8786;font-size:11px}
.cr-dashboard .cr-badge-count{background:#f0e1c3;border:1px solid #e7d1a5;color:#805f2f;border-radius:25px;padding:7px 12px;font-size:11px}
.cr-dashboard .cr-badge.is-locked{filter:grayscale(1);opacity:.62}
.cr-dashboard .cr-badge-proof{padding:0 20px 18px;color:#4c5d61;font-size:12px}
.cr-dashboard .cr-badge-proof ul{padding-left:20px;max-height:150px;overflow:auto}
.cr-dashboard .cr-evidence-note{background:#eeeae0;border-radius:8px;padding:18px;font-size:12px}
.cr-dashboard .cr-match-table{background:#fffdfa;border:1px solid var(--cr-border);border-radius:12px;overflow:hidden}
.cr-dashboard .cr-match-item{width:100%;display:grid;grid-template-columns:2fr 1.5fr auto;gap:14px;align-items:center;text-align:left;padding:14px 20px;border:0;border-bottom:1px solid #e7e2da;background:transparent;color:#182b36;cursor:pointer}
.cr-dashboard .cr-match-item:last-child{border-bottom:0}
.cr-dashboard .cr-match-item:hover{background:#f7efdf}
.cr-dashboard .cr-match-item span:first-child{display:flex;flex-direction:column;gap:4px}
.cr-dashboard .cr-match-item small{color:#889096}
.cr-dashboard .cr-match-item b{background:#efe2c7;padding:8px;border-radius:20px}
.cr-dashboard .cr-dashboard-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:25px;flex-wrap:wrap}
.cr-dashboard .cr-dashboard-footer details{max-width:650px;font-size:12px}
.cr-dashboard .cr-empty{padding:30px;text-align:center}
@media(max-width:900px){.cr-dashboard .cr-hero{grid-template-columns:1fr}.cr-dashboard .cr-hero-rating{grid-template-columns:145px 1fr}.cr-dashboard .cr-summary-metrics{grid-template-columns:repeat(2,1fr)}.cr-dashboard .cr-timeline-layout{grid-template-columns:1fr}.cr-dashboard .cr-badge-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.cr-dashboard{padding:0 8px}.cr-dashboard .cr-topline{padding-top:10px}.cr-dashboard h1{font-size:35px}.cr-dashboard .cr-person{align-items:flex-start}.cr-dashboard .cr-avatar{width:60px;height:60px;font-size:23px}.cr-dashboard .cr-hero-rating{grid-template-columns:1fr;text-align:center;justify-items:center}.cr-dashboard .cr-ring{width:160px}.cr-dashboard .cr-summary-metrics{gap:9px}.cr-dashboard .cr-stat{padding:15px}.cr-dashboard .cr-stat strong{font-size:28px}.cr-dashboard .cr-contrib-grid,.cr-dashboard .cr-badge-grid{grid-template-columns:1fr}.cr-dashboard .cr-plot-point{width:18px;height:18px}.cr-dashboard .cr-match-item{grid-template-columns:1fr auto}.cr-dashboard .cr-match-item span:nth-child(2){grid-column:1/-1;grid-row:2}.cr-dashboard .cr-match-item b{grid-column:2;grid-row:1}.cr-dashboard .cr-panel,.cr-dashboard .cr-interpret{padding:18px}.cr-dashboard .cr-period{width:100%}.cr-dashboard .cr-period button{flex:1}}
@media(prefers-reduced-motion:reduce){.cr-dashboard *{scroll-behavior:auto!important;transition:none!important}}
