:root{
  --bg:#f3f8fd;--surface:#fff;--surface-2:#f8fbff;--surface-3:#edf5fc;
  --text:#14263b;--muted:#5d7188;--line:#d7e4ef;--accent:#087ed8;--accent-2:#00a283;
  --danger:#d93148;--warning:#9a6500;--shadow:0 12px 34px rgba(32,74,110,.10)
}
html{background:var(--bg)}
body.public-body,body.admin-body{background:linear-gradient(180deg,#f8fbff 0,#eef6fc 48%,#f7fbff 100%)!important;color:var(--text)!important}
a{color:#076fbd}.information-bar{background:#e7f5ff!important;color:#17344c!important;border-bottom:1px solid #c9e3f4}.information-bar strong{color:#006fbf!important}.information-bar-note{color:#7a4e00!important}
.site-header,.admin-header{background:rgba(255,255,255,.96)!important;border-bottom:1px solid var(--line)!important;box-shadow:0 5px 20px rgba(42,79,110,.07)!important}.brand,.site-nav a,.admin-nav a{color:var(--text)!important}.brand-mark{background:linear-gradient(135deg,#0a83df,#00ae8b)!important;color:#fff!important}.public-nav a span{color:#1382cb!important}.menu-button{background:#fff!important;color:#17415e!important;border-color:#bdd4e5!important}
.v10-topbar,.v10-hero,.v10-upset-section,.site-footer{background:transparent!important;color:var(--text)!important}.v10-hero:before,.v10-hero:after{opacity:.09!important}.v10-hero-copy h1,.v10-section-title h2,.v10-summary-panel strong,.v10-venue-card h3,.v10-upset-card,.v11-home-result-card h2,.v12-alert-item h2{color:var(--text)!important}.v10-hero-copy p,.v10-section-title p,.v10-venue-card p,.v10-summary-panel p,.v10-upset-card p,.v11-home-result-card p,.v12-alert-item p{color:var(--muted)!important}.v10-hero-copy h1 em{color:#087dcc!important}
.v10-summary-panel,.v10-venue-card,.v10-upset-card,.v11-home-result-card,.v12-alert-item,.v10-guide-grid>a,.form-section,.content-card,.admin-card,.stat-card,.table-wrap,.login-panel,.v10-empty-card{background:#fff!important;color:var(--text)!important;border:1px solid var(--line)!important;box-shadow:var(--shadow)!important}.v10-summary-grid>div,.v10-venue-metrics>div{background:#f2f8fd!important;border-color:#d9e7f2!important}.v10-summary-grid dt,.v10-venue-metrics dt{color:#62788d!important}.v10-summary-grid dd,.v10-venue-metrics dd{color:#173751!important}.v10-venue-card.is-closed{background:#f7fafc!important;opacity:.78}.v10-venue-state{background:#e7edf2!important;color:#65788a!important}.v10-venue-state.is-running{background:#dff8ee!important;color:#087e62!important}.v10-venue-code,.v10-date-kicker,.v10-section-title>div>span,.v11-home-result-card>div>span{color:#0879c9!important}
.v10-primary-button,.button-primary,.admin-button-primary{background:linear-gradient(135deg,#087fd8,#00a78b)!important;color:#fff!important;border:0!important}.v10-secondary-button,.button-secondary,.admin-button-secondary{background:#fff!important;color:#17628f!important;border:1px solid #b8d4e6!important}.v10-text-link{color:#0876c7!important}.v10-hit-strip{background:#eef7ff!important;border-block:1px solid #d6e8f5!important;color:var(--text)!important}.v10-hit-strip a,.v10-hit-strip strong{color:var(--text)!important}
.v12-tomorrow-banner{background:linear-gradient(100deg,#e9f7ff,#e7fbf3)!important;color:#16364d!important;border:1px solid #c7e5ef!important;box-shadow:var(--shadow)!important}.v12-tomorrow-banner span{color:#577386!important}.v12-tomorrow-banner a{background:#087dcc!important;color:#fff!important}
input,select,textarea{background:#fff!important;color:#142b40!important;border-color:#bfd2e1!important}input::placeholder,textarea::placeholder{color:#8395a5!important}table{color:var(--text)!important}th{background:#eaf4fb!important;color:#29485f!important}td{background:#fff!important;border-color:#dce8f0!important}.flash-success{background:#e5f8ef!important;color:#11694f!important}.flash-error{background:#fff0f2!important;color:#9d293d!important}
.admin-page-header h1,.admin-page-header p,.admin-section-title h2,.admin-section-title p{color:var(--text)!important}.admin-sidebar,.admin-toolbar{background:#fff!important;border-color:var(--line)!important}.admin-nav a:hover,.site-nav a:hover{background:#edf7ff!important;color:#066daf!important}
.boat-number{border:1px solid rgba(0,0,0,.22)!important;box-shadow:inset 0 -1px 0 rgba(0,0,0,.12),0 1px 3px rgba(0,0,0,.10)}.boat-1{background:#fff!important;color:#111!important;border-color:#9da8b4!important}.boat-2{background:#17191d!important;color:#fff!important}.boat-3{background:#e3343f!important;color:#fff!important}.boat-4{background:#2378d5!important;color:#fff!important}.boat-5{background:#f4d338!important;color:#111!important}.boat-6{background:#1f9b56!important;color:#fff!important}
.v13-deadline-section{padding-top:26px}.v13-deadline-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.v13-deadline-card{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px;color:var(--text);box-shadow:0 8px 24px rgba(39,79,112,.08);text-decoration:none}.v13-deadline-card:hover{transform:translateY(-2px);border-color:#8cc5ea}.v13-deadline-time{display:grid;place-items:center;min-width:74px;background:#eaf6ff;border-radius:12px;padding:9px 6px;color:#076fb9}.v13-deadline-time strong{font-size:24px;line-height:1}.v13-deadline-time small{font-size:10px;margin-top:5px}.v13-deadline-info{min-width:0;flex:1}.v13-deadline-info>div{display:flex;align-items:center;gap:8px}.v13-deadline-info h3{font-size:16px;margin:0;color:#18364d}.v13-deadline-info p{margin:5px 0 0;color:#647c90;font-size:12px}.v13-deadline-picks{display:flex;gap:10px;align-items:center;margin-top:9px}.v13-deadline-picks small{color:#6e8293}.v13-deadline-status{font-size:10px;font-weight:800;padding:4px 7px;border-radius:999px;background:#e5f7ef;color:#08765b}.v13-deadline-status.is-past{background:#eef1f4;color:#697684}.v13-source-badge{display:inline-flex;gap:5px;align-items:center;padding:5px 9px;border-radius:999px;background:#e9f7ff;color:#086cae;font-size:11px;font-weight:800}
@media(max-width:900px){.v13-deadline-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.v13-deadline-grid{grid-template-columns:1fr}.v13-deadline-card{padding:12px}.v10-hero-copy h1{font-size:34px!important}}
/* v13全面明色化：旧版の濃色ヒーロー・カードを上書き */
.v10-hero,.race-hero,.public-body .page-header,.v10-page-hero,.v10-racer-profile-hero,.v11-result-hero,.v12-alert-hero{background:linear-gradient(120deg,#edf8ff 0%,#f9fcff 55%,#e8faf4 100%)!important;color:var(--text)!important;border-bottom:1px solid var(--line)!important}
.v10-hero-copy h1,.race-hero h1,.public-body .page-header h1,.v10-page-hero h1,.v10-racer-profile-hero h1,.v11-result-hero h1,.v12-alert-hero h1{color:#15364f!important}.v10-badge,.v11-result-kicker{background:#fff!important;border-color:#bcdced!important;color:#0873ba!important}.v10-hero .v10-secondary-button{background:#fff!important;color:#17628f!important;border-color:#b8d4e6!important}.v10-back-link{color:#176c9f!important}.v10-back-link:hover{color:#084f7a!important}
.v10-section-title.is-light h2,.v10-section-title.is-light p,.v10-section-title.is-light>div:first-child>span{color:inherit!important}.v10-upset-section{background:#edf6fc!important;border-block:1px solid #dae8f2!important}.v10-upset-card{background:#fff!important;color:var(--text)!important;border-color:var(--line)!important}.v10-upset-card-head span,.v10-upset-score span,.v10-upset-card>p{color:var(--muted)!important}.v10-upset-card-head strong,.v10-upset-score strong{color:#18364d!important}.v10-upset-card:hover{background:#f9fcff!important}
.v12-strategy-card.is-upset{background:linear-gradient(145deg,#fffaf1,#fff)!important;color:var(--text)!important;border-color:#efd6a8!important}.v12-strategy-card.is-upset header span,.v12-strategy-card.is-upset small,.v12-strategy-card.is-upset>p{color:#6f6555!important}.v12-strategy-card.is-upset header>b{background:#fff0d2!important;color:#915b00!important}.v12-strategy-card.is-upset .v12-strategy-main,.v12-strategy-card.is-upset .v12-strategy-formation{background:#fff6e5!important}.v12-strategy-card.is-upset .v12-upset-meter i{background:#eadfce!important}
.v11-result-date-panel{background:#fff!important;color:var(--text)!important;border-color:var(--line)!important;box-shadow:var(--shadow)!important}.v11-result-date-panel>small,.v11-result-date-panel>a{color:#0875bd!important}.v11-result-date-switcher a,.v11-result-date-switcher button{background:#edf7ff!important;color:#174661!important;border-color:#c7dce9!important}.v11-result-date-switcher button{background:#087dcc!important;color:#fff!important}.v11-venue-result-head,.venue-board-header{background:linear-gradient(90deg,#e6f4ff,#effaf6)!important;color:var(--text)!important;border:1px solid var(--line)!important}.v11-venue-result-head small,.v11-venue-result-head>a,.venue-summary,.venue-ident p{color:#56768c!important}.venue-ident>span{color:#087dcc!important;border-color:#acd2e9!important;background:#fff!important}
.results-rate-card,.v10-upset-detail-card{background:linear-gradient(145deg,#edf8ff,#fff)!important;color:var(--text)!important;border:1px solid var(--line)!important}.results-rate-card span,.results-rate-card small{color:var(--muted)!important}.v12-alert-hero p,.v11-result-hero p,.v11-sync-state,.v10-page-hero p,.v10-racer-profile-hero p{color:var(--muted)!important}.v12-notification-button{border-color:#bcd6e6!important}
.public-footer{background:#eaf3f9!important;color:#496579!important;border-top:1px solid #d1e1ec!important}.footer-brand,.footer-grid>div>strong,.footer-grid a:not(.footer-brand),.footer-grid p,.footer-bottom p{color:#35546a!important}.footer-bottom{border-top-color:#cbdde9!important}
.v10-prediction-header{background:#fff!important;color:var(--text)!important;border-color:var(--line)!important}.v10-prediction-header h1,.v10-prediction-race strong,.v10-prediction-race span,.v10-prediction-time strong{color:var(--text)!important}
