.player-hub-page .page-hero { padding: 30px 0; overflow: hidden; color: white; background: radial-gradient(ellipse at 85% 20%, #386b86, transparent 55%), #132e48; border-bottom: 4px solid #ed374b; }
.player-hub-page .page-hero h1 { font-size: clamp(2rem, 5vw, 3.7rem); margin: 0; line-height: 1.1; letter-spacing: -.025em; }
.player-hub-page .page-hero .eyebrow { display: block; color: #add5e8; font-size: .68rem; letter-spacing: .18em; margin: 0 0 14px; }
.player-hub-page .page-hero .lead { font-size: 1rem; margin: 14px 0 0; color: #c8dce7; }
.hub-hero-layout { display: flex; justify-content: space-between; align-items: center; position: relative; }
.hub-hero-field { width: 220px; height: 170px; flex: 0 0 auto; color: #d3e9ed; margin: -20px 2% -20px 20px; }
.player-hub-page > .section { padding: 20px 0; }
.hub-player-picker { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hub-player-picker label { font-size: .8rem; font-weight: 600; }
.hub-player-picker select { flex: 1; min-width: 0; padding: 12px; border: 1px solid #c5d8e5; border-radius: 8px; background: white; }
.hub-player-picker button { flex-shrink:0; white-space:nowrap; }
.hub-panel { border: 1px solid #c5d8e5; border-radius: 12px; background: white; margin: 18px 0; padding: 0 16px; }
.player-hub-page #statistics { margin-bottom:0; padding-bottom:0; border-bottom:0; }
.hub-panel > summary { cursor: pointer; font-weight: 600; padding: 16px 0; color: #173650; }
.hub-panel[open] > summary { margin-bottom: 12px; border-bottom: 1px solid #dce7ef; }
.hub-panel .report-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); padding-bottom: 16px; }
.hub-panel .report-item > a { display: none; }
.player-hub-page .my-player-profile { margin-top: 0; }
.player-hub-page .player-detail-toolbar { display:none; }
.player-hub-page .player-detail-toolbar > div { display: none; }
.hub-welcome-loading, .hub-profile-loading { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: clamp(24px, 5vw, 60px); border: 1px solid #cbdde7; border-radius: 22px; background: radial-gradient(ellipse at 100% 0, #e1eff2, transparent 65%), #fff; box-shadow: 0 18px 50px #13314d0a; min-height: 320px; }
.hub-welcome-loading[hidden] { display: none; }
.hub-live-label { display: block; color: #cf3044; font: 600 .75rem var(--font-head, "Oswald", sans-serif); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 18px; }
.hub-loading-copy h2, .hub-load-error h2 { font-family: var(--font-head, "Oswald", sans-serif); font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.15; color: #17334e; margin: 0 0 12px; text-transform: uppercase; overflow-wrap: anywhere; }
.hub-loading-copy p { color: #60798c; margin: 0; font-size: .94rem; }
.hub-loading-status { display: flex; gap: 10px; align-items: center; margin-top: 28px; font-size: .8rem; color: #49687d; }
.hub-loading-status > span { width: 14px; height: 14px; flex-shrink: 0; border: 2px solid #c6dce7; border-top-color: #cf3044; border-radius: 50%; animation: hub-spin 1s linear infinite; }
.hub-loading-preview { padding: 25px; border-radius: 16px; border: 1px solid #dbe7ee; background: #ffffffb8; transform: rotate(-2deg); }
.hub-skeleton { height: 100px; background: linear-gradient(100deg,#edf3f7,#dce7ee,#edf3f7); background-size: 200% 100%; border-radius: 8px; animation: hub-loading 1.8s ease-in-out infinite; }
.hub-skeleton-title { height: 12px; width: 58%; margin-bottom: 24px; }
.hub-skeleton-metrics { display: flex; gap: 12px; }
.hub-skeleton-metrics > i { flex: 1; height: 50px; }
.hub-skeleton-chart { margin-top: 20px; height: 75px; clip-path: polygon(0 70%, 18% 50%, 36% 60%, 58% 20%, 76% 36%, 100% 0, 100% 100%, 0 100%); border-radius: 0; }
.hub-known-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 26px; }
.hub-known-stats span { display: grid; gap: 3px; font-size: .7rem; color: #60798c; text-transform: uppercase; letter-spacing: .06em; }
.hub-known-stats strong { font-family: var(--font-head, "Oswald", sans-serif); font-size: 2rem; line-height: 1.1; color: #17334e; }
.hub-load-error { border: 1px solid #cbdde7; border-left: 4px solid #ed374b; background: white; padding: 32px; border-radius: 16px; }
.hub-load-error p { color: #60798c; }
.hub-load-error details { margin-top: 20px; font-size: .8rem; overflow-wrap: anywhere; }
.hub-load-error summary { cursor: pointer; }
@keyframes hub-loading { to { background-position: -200% 0; } }
@keyframes hub-spin { to { transform: rotate(360deg); } }
@media(prefers-reduced-motion: reduce) { .hub-skeleton, .hub-loading-status > span { animation: none; } }
@media(max-width:700px) { .hub-hero-field { position: absolute; right: -40px; opacity: .25; width: 170px; z-index: 0; } .hub-hero-layout > div { z-index: 1; } .hub-welcome-loading, .hub-profile-loading { grid-template-columns: 1fr; gap: 24px; } .hub-loading-preview { transform: none; padding: 20px; } .hub-skeleton-chart { height: 45px; } .hub-player-picker button { white-space: normal; } }
@media(max-width:600px) { .hub-player-picker { flex-wrap:wrap; gap:8px; } .hub-player-picker label { width:100%; } .hub-player-picker button { font-size:.65rem; padding:10px 8px; } .player-hub-page .container { width:calc(100% - 24px); } }
