/* Dashboard-only styles: preserve the approved homepage and management forms. */
.cb-hub { --hub-border: #b4dbc333; --hub-muted: #b1c8bb; font-variant-numeric: tabular-nums; }
.cb-hub :is(a, button):focus-visible { outline: 2px solid #55edb0; outline-offset: 5px; border-radius: 5px; }
.cb-hub-hero { position: relative; isolation: isolate; overflow: hidden; padding: 42px; border: 1px solid #77e7b65c; border-radius: 20px; background: radial-gradient(ellipse at 85% 25%, #6aefbb19, transparent 55%), radial-gradient(ellipse at 0% 0%, #4dcf8d12, transparent 65%), linear-gradient(115deg, #143229, #0a191e); box-shadow: inset 0 1px #dcffe51a, 0 18px 45px #0003; }
.cb-hub-hero::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(transparent, #55edb0, transparent); }
.cb-hub-intro { position: relative; z-index: 1; max-width: 660px; }
.cb-hub h1 { font-size: clamp(30px, 3.6vw, 47px); letter-spacing: -.045em; font-weight: 750; line-height: 1.13; margin: 17px 0; }
.cb-hub-intro > p:not(.cb-eyebrow) { color: #bdd3c7; font-size: 15px; line-height: 1.8; max-width: 470px; overflow-wrap: anywhere; }
.cb-hub-intro strong { color: #f0fff6; font-weight: 600; }
.cb-hub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 25px; }
.cb-hub-secondary { color: #d4e8dd; font-size: 13px; padding-block: 10px; }
.cb-hub-secondary:hover { color: #55edb0; }
.cb-hub-role { position: absolute; right: 24px; top: 22px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #87eebf55; border-radius: 30px; padding: 6px 11px; font-size: 11px; color: #c0efd7; letter-spacing: .04em; background: #09241de0; box-shadow: inset 0 1px #e5ffee14; z-index: 2; }
.cb-hub-field { position: absolute; right: 25px; top: 50%; width: 295px; height: 235px; transform: translateY(-42%) rotate(-15deg); border: 1px solid #a4e2b169; border-radius: 50%; background: radial-gradient(ellipse at 50% 15%, #b7ffc226, transparent 70%), repeating-linear-gradient(90deg, #23594070 0 36px, #163e3170 36px 72px); box-shadow: inset 0 0 45px #06271d70, 0 0 0 7px #9aeebd04, 0 0 0 15px #9aeebd04, 0 12px 35px #0003; }
.cb-hub-field-ring { position: absolute; inset: 28px; border: 1px dashed #c2eac359; border-radius: 50%; }
.cb-hub-pitch { position: absolute; width: 42px; height: 100px; top: 65px; left: 126px; border: 1px solid #e1deb674; background: repeating-linear-gradient(90deg, #dfc58608 0 3px, transparent 3px 6px), linear-gradient(#d9ca8525, #adb87118); display: flex; flex-direction: column; justify-content: space-between; padding-block: 12px; }
.cb-hub-pitch i { height: 5px; border-block: 1px solid #e0ecc58a; margin-inline: -7px; }
.cb-hub-ball { position: absolute; right: 55px; top: 64px; width: 10px; height: 10px; background: radial-gradient(circle at 35% 25%, #edffe2, #57efbb 50%, #1aaa72); box-shadow: 0 0 25px #55edb088; border-radius: 50%; animation: hub-glow 4s ease-in-out infinite; }
.cb-hub-field-label { position: absolute; bottom: 35px; left: 43px; font-size: 8px; color: #c3dec8; letter-spacing: .13em; }
.cb-hub-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0 40px; }
.cb-hub-stat { position: relative; min-width: 0; padding: 23px; background: radial-gradient(ellipse at 100% 0%, #5af0b509, transparent 65%), linear-gradient(145deg, #142c29, #0a1a20); border: 1px solid var(--hub-border); border-radius: 14px; box-shadow: inset 0 1px #cffff414, 0 8px 22px #0002; transition: border-color .2s, transform .2s, box-shadow .2s; }
.cb-hub-stat:hover { transform: translateY(-3px); border-color: #77edbd7d; box-shadow: inset 0 1px #cffff428, 0 12px 28px #0004, 0 0 24px #55edb00a; }
.cb-hub-stat-heading { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #d0e5da; gap: 8px; line-height: 1.4; }
.cb-hub-stat-heading > span { display: grid; place-items: center; flex: 0 0 23px; height: 23px; border: 1px solid #94efc52e; border-radius: 50%; color: #9befc8; font-size: 12px; background: #8de7b906; }
.cb-hub-stat strong { min-width: 0; display: block; font-size: 42px; font-weight: 700; letter-spacing: -.04em; line-height: 1.2; color: #f0fff6; overflow-wrap: anywhere; }
.cb-hub-stat small { display: block; font-size: 12px; color: var(--hub-muted); line-height: 1.6; }
.cb-hub-columns { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cb-hub-section-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.cb-hub h2 { margin: 6px 0 0; font-size: 26px; letter-spacing: -.035em; font-weight: 700; }
.cb-hub .cb-eyebrow { font-size: 10px; color: #76efbd; }
.cb-hub-caption { color: var(--hub-muted); font-size: 12px; line-height: 1.6; margin: 12px 0 22px; }
.cb-hub-editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cb-hub-edition { position: relative; min-width: 0; border: 1px solid var(--hub-border); border-radius: 14px; padding: 22px 20px 0; background: radial-gradient(ellipse at 0% 0%, #56d8a50b, transparent 65%), linear-gradient(150deg, #142b27, #0b191f); box-shadow: inset 0 1px #cffff414, 0 10px 25px #0002; transition: border-color .2s, box-shadow .2s; }
.cb-hub-edition:is(:hover, :focus-within) { border-color: #86e6b76b; box-shadow: inset 0 1px #cffff420, 0 12px 28px #0003; }
.cb-hub-tournament { color: var(--hub-muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; margin: 0 0 4px; }
.cb-hub h3 { font-size: 23px; font-weight: 650; letter-spacing: -.025em; overflow-wrap: anywhere; }
.cb-hub-edition-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin: 22px 0 16px; color: var(--hub-muted); font-size: 11px; }
.cb-hub-edition-numbers b { display: block; color: #ecf9f0; font-size: 20px; font-weight: 650; line-height: 1.3; margin-bottom: 3px; overflow-wrap: anywhere; }
.cb-hub-reminder, .cb-hub-note { display: block; font-size: 12px; line-height: 1.7; min-height: 48px; margin: 0 0 16px; padding: 10px 12px; border: 1px solid #e9c59133; border-radius: 8px; background: linear-gradient(110deg, #ebc67e0c, #ebc67e03); color: #f1d6ac; overflow-wrap: anywhere; }
.cb-hub-reminder:hover { text-decoration: underline; text-underline-offset: 3px; }
.cb-hub-note { color: #b2dfc4; border-color: #8beabb29; background: #55edb007; }
.cb-hub-edition-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; border-top: 1px solid var(--hub-border); padding: 14px 0; }
.cb-hub-edition-links a { display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 7px 3px; border: 1px solid #a9d0bc29; border-radius: 7px; background: #071b1a6b; font-size: 11px; color: #d1e6da; transition: background .18s, border-color .18s; }
.cb-hub-edition-links a:hover { color: #9dffd1; border-color: #8ee6b860; background: #55edb014; }
.cb-hub-sidebar { display: grid; gap: 22px; }
.cb-hub-panel { position: relative; min-width: 0; padding: 24px; border: 1px solid var(--hub-border); border-radius: 14px; background: radial-gradient(ellipse at 100% 0%, #60deb30b, transparent 65%), linear-gradient(150deg, #112726, #0b191f); box-shadow: inset 0 1px #cffff414, 0 10px 25px #0002; }
.cb-hub-pill { background: linear-gradient(145deg, #254b3b, #143329); color: #9ef1c9; border: 1px solid #92e8b746; border-radius: 6px; padding: 4px 7px; font-size: 11px; box-shadow: inset 0 1px #d2ffe617; }
.cb-hub-fixture { display: block; padding: 18px 0; border-top: 1px solid var(--hub-border); transition: background .18s; }
.cb-hub-fixture-date { display: flex; justify-content: space-between; color: #8bf4bf; font-size: 12px; font-weight: 600; }
.cb-hub-match-teams { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; }
.cb-hub-match-teams .cb-team-logo { width: 36px; height: 36px; flex-basis: 36px; font-size: 10px; border-radius: 9px; }
.cb-hub-match-teams strong { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.cb-hub-match-teams strong span { display: block; color: #acc4b5; font-size: 10px; }
.cb-hub-fixture small { display: block; font-size: 11px; color: var(--hub-muted); overflow-wrap: anywhere; }
.cb-hub-fixture:hover strong { color: #55edb0; }
.cb-hub-quick > a { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--hub-border); font-size: 14px; }
.cb-hub-quick small { display: block; margin-top: 5px; font-size: 12px; color: var(--hub-muted); }
.cb-hub-quick b { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border: 1px solid #8fe3b738; border-radius: 8px; background: linear-gradient(145deg, #224837, #112e27); box-shadow: inset 0 1px #bfffd31a; color: #a2f3c7; font-weight: 400; }
.cb-hub-quick > a:hover { color: #55edb0; }
.cb-hub-empty { grid-column: 1 / -1; text-align: center; padding: 55px 26px; border: 1px dashed #9ae2b845; border-radius: 14px; background: radial-gradient(ellipse at 50% 0%, #55edb00d, transparent 80%), #0b1c1d; }
.cb-hub-empty > span { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 16px; border: 1px solid #80edb448; border-radius: 16px; background: linear-gradient(145deg, #234d3b, #102921); color: #97f7c7; font-size: 32px; box-shadow: inset 0 1px #d8ffe625, 0 8px 20px #0003; }
.cb-hub-empty p, .cb-hub-small-empty { color: var(--hub-muted); font-size: 13px; line-height: 1.8; margin-block: 15px; }
.cb-hub-small-empty span { font-size: 12px; }

.cb-hub-hero::after { content: ''; position: absolute; inset: 0 12% auto 7%; height: 1px; background: linear-gradient(90deg, transparent, #a7ffda9c, transparent); pointer-events: none; }
.cb-hub h1 .cb-accent { color: #69f2bc; text-shadow: 0 3px 28px #43e8b022; }
.cb-hub-actions .cb-button-primary { border: 1px solid #beffe27a; background: linear-gradient(115deg, #a5ffd3, #5aedb8 65%, #42dfb5); box-shadow: inset 0 1px #f3fff4aa, 0 7px 24px #36d89b26; font-size: 14px; }
.cb-hub-actions .cb-button-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px #fff, 0 10px 28px #36d89b3d; }
.cb-hub-role::before { content: ''; width: 5px; height: 5px; background: currentColor; transform: rotate(45deg); }
.cb-hub-role-owner { color: #f4dfae; border-color: #e6cc8452; background: linear-gradient(120deg, #4b412844, #17271fe8); }
.cb-hub-stat-value { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 12px; }
.cb-hub-stat-icon { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 12px; border: 1px solid #95e4b832; background: linear-gradient(145deg, #2c584340, #12342b66); box-shadow: inset 0 1px #c8ffdd1a; color: #9ce9bf; }
.cb-hub-stat-icon svg { width: 25px; height: 25px; }
.cb-hub-stat::before { content: ''; position: absolute; inset: -1px 20% auto; height: 1px; background: linear-gradient(90deg, transparent, #affbd35e, transparent); pointer-events: none; }
.cb-hub-edition .cb-team-logo, .cb-hub-fixture .cb-team-logo { border-color: #9be5be4a; background: radial-gradient(ellipse at 50% 0%, #94edb519, transparent 75%), linear-gradient(140deg, #1e4033, #102723); box-shadow: inset 0 1px #d0ffe71c, 0 5px 12px #0003; }
.cb-hub-edition-numbers > span { padding: 10px 8px; border: 1px solid #accfb522; border-radius: 8px; background: #07181770; }
.cb-hub-fixture:hover { background: #98eac008; }
.cb-hub-quick > a > span { min-width: 0; overflow-wrap: anywhere; }
@keyframes hub-glow { 50% { opacity: .5; box-shadow: 0 0 12px #55edb044; } }
@media (max-width: 1100px) { .cb-hub-field { opacity: .25; right: -50px; } .cb-hub-editions { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cb-hub-hero { padding: 55px 24px 28px; } .cb-hub-role { top: 16px; right: 16px; } .cb-hub-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 30px; } .cb-hub-stat { padding: 18px; } .cb-hub-stat strong { font-size: 36px; } .cb-hub-stat-icon { flex-basis: 34px; height: 34px; border-radius: 9px; } .cb-hub-stat-icon svg { width: 21px; height: 21px; } .cb-hub-columns { grid-template-columns: 1fr; } .cb-hub h1 { font-size: 32px; } .cb-hub-field { right: -150px; } }
@media (max-width: 480px) {
  .cb-hub-stat-heading { font-size: 12px; min-height: 34px; }.cb-hub-stat small { font-size: 11px; }.cb-hub-stat { padding: 16px; }
  .cb-hub-stat-value { gap: 6px; }.cb-hub-edition-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }.cb-hub-edition-links a { min-height: 42px; font-size: 12px; }
  .cb-hub-panel { padding: 20px; }.cb-hub h2 { font-size: 24px; }.cb-hub-intro > p:not(.cb-eyebrow) { font-size: 14px; }
}
@media (max-width: 380px) { .cb-hub-stat-icon { display: none; }.cb-hub-stats { gap: 10px; }.cb-hub-hero { padding-inline: 20px; }.cb-hub h1 { font-size: 29px; } }
@media (prefers-reduced-motion: reduce) {
  .cb-hub *, .cb-hub *::before, .cb-hub *::after { animation: none !important; transition: none !important; }
  .cb-hub-stat:hover, .cb-hub-actions .cb-button-primary:hover { transform: none; }
}
