/* KEIBA-AI Neon Dashboard Theme */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16162a;
    --bg-card-hover: #1e1e3a;
    --border-color: #2a2a4a;
    --text-primary: #e0e0f0;
    --text-secondary: #8888aa;
    --text-muted: #555577;
    --cyan: #00f0ff;
    --magenta: #ff00aa;
    --green: #00ff88;
    --yellow: #ffcc00;
    --red: #ff3355;
    --orange: #ff8800;
    --glow-cyan: 0 0 10px rgba(0, 240, 255, 0.3), 0 0 30px rgba(0, 240, 255, 0.1);
    --glow-magenta: 0 0 10px rgba(255, 0, 170, 0.3), 0 0 30px rgba(255, 0, 170, 0.1);
    --glow-green: 0 0 10px rgba(0, 255, 136, 0.3), 0 0 30px rgba(0, 255, 136, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', 'Noto Sans JP', -apple-system, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: #66f8ff; text-shadow: var(--glow-cyan); }

/* ---- Header / Nav ---- */
.header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: var(--glow-cyan);
    letter-spacing: 2px;
}

.logo span { color: var(--magenta); text-shadow: var(--glow-magenta); }

nav { display: flex; gap: 4px; }

nav a {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.2s;
}

nav a:hover, nav a.active {
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.08);
}

nav a.active {
    border-bottom: 2px solid var(--cyan);
}

/* ---- Main layout ---- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* ---- Summary cards ---- */
.summary-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.summary-card:hover {
    border-color: var(--cyan);
    box-shadow: var(--glow-cyan);
}

.summary-card .label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.summary-card .value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cyan);
}

.summary-card .value.green { color: var(--green); }
.summary-card .value.magenta { color: var(--magenta); }
.summary-card .value.yellow { color: var(--yellow); }

/* ---- Venue section ---- */
.venue-section {
    margin-bottom: 40px;
}

.venue-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--magenta);
    text-shadow: var(--glow-magenta);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 0, 170, 0.2);
}

/* ---- Race cards ---- */
.race-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
}

.race-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
    cursor: pointer;
}

.race-card:hover {
    border-color: var(--cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

.race-card.has-bets {
    border-left: 3px solid var(--green);
}

.race-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.race-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cyan);
}

.bet-badge {
    background: var(--green);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
}

.no-bet-badge {
    background: var(--text-muted);
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
}

.top3-list {
    margin-bottom: 12px;
}

.top3-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.85rem;
}

.top3-rank {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #000;
}

.top3-rank.r1 { background: var(--yellow); }
.top3-rank.r2 { background: #c0c0c0; }
.top3-rank.r3 { background: #cd7f32; }

.top3-umaban {
    background: var(--bg-secondary);
    border-radius: 4px;
    padding: 1px 6px;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--cyan);
}

.top3-bamei { color: var(--text-primary); flex: 1; }
.top3-prob { color: var(--green); font-weight: 600; font-size: 0.8rem; }

.bet-list { border-top: 1px solid var(--border-color); padding-top: 10px; }

.bet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 0.8rem;
}

.bet-type-tag {
    background: rgba(255, 0, 170, 0.15);
    color: var(--magenta);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.bet-prob {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-right: 8px;
}

.bet-ev {
    font-weight: 700;
    color: var(--green);
    text-shadow: var(--glow-green);
    font-size: 0.85rem;
}

/* ---- Race course tag on card ---- */
.race-course-tag {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-left: 8px;
    font-weight: 400;
}

/* ---- Dimmed card for no bets ---- */
.race-card.no-bets {
    opacity: 0.55;
}

.race-card.no-bets:hover {
    opacity: 0.85;
}

/* ---- EV neon glow ---- */
.ev-neon {
    color: var(--green);
    font-weight: 700;
    text-shadow: var(--glow-green);
}

/* ---- Bet amount large ---- */
.bet-amount-large {
    font-size: 1rem;
    font-weight: 700;
    color: var(--yellow);
}

/* ---- Recommended row highlight ---- */
.row-recommended {
    background: rgba(0, 255, 136, 0.06);
    border-left: 2px solid var(--green);
}

/* ---- Tables ---- */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.data-table th {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 600;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.data-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.data-table tr:hover {
    background: var(--bg-card-hover);
}

.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table .center { text-align: center; }

/* ---- Waku colors ---- */
.waku {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
}

.waku-white { background: #eee; color: #333; border: 1px solid #999; }
.waku-black { background: #222; }
.waku-red { background: #d32f2f; }
.waku-blue { background: #1976d2; }
.waku-yellow { background: #f9a825; color: #333; }
.waku-green { background: #388e3c; }
.waku-orange { background: #ef6c00; }
.waku-pink { background: #e91e63; }

/* ---- Probability bar ---- */
.prob-bar-container {
    width: 80px;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
}

.prob-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--green));
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* ---- EV highlight ---- */
.ev-high { color: var(--green); font-weight: 700; }
.ev-mid { color: var(--yellow); }
.ev-low { color: var(--text-secondary); }

/* ---- Odds source badge ---- */
.odds-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.odds-badge.confirmed { background: rgba(0, 255, 136, 0.15); color: var(--green); }
.odds-badge.sokuho { background: rgba(255, 204, 0, 0.15); color: var(--yellow); }
.odds-badge.none { background: rgba(255, 51, 85, 0.15); color: var(--red); }

.odds-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.odds-badge.confirmed .dot { background: var(--green); box-shadow: 0 0 6px var(--green); }
.odds-badge.sokuho .dot { background: var(--yellow); box-shadow: 0 0 6px var(--yellow); animation: pulse 2s infinite; }
.odds-badge.none .dot { background: var(--red); }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ---- Odds cell ---- */
.odds-cell {
    transition: color 0.3s;
    font-variant-numeric: tabular-nums;
}

/* ---- Odds change animation ---- */
.odds-flash {
    animation: oddsFlash 0.8s ease;
}

.odds-up { color: var(--magenta) !important; }
.odds-down { color: var(--cyan) !important; }

.odds-up::after { content: ' \2191'; font-size: 0.7em; }
.odds-down::after { content: ' \2193'; font-size: 0.7em; }

@keyframes oddsFlash {
    0% { background: rgba(0, 240, 255, 0.3); box-shadow: inset 0 0 8px rgba(0, 240, 255, 0.4); }
    100% { background: transparent; box-shadow: none; }
}

/* ---- New recommendation pulse ---- */
.new-rec-pulse {
    animation: newRecPulse 2s ease;
}

@keyframes newRecPulse {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 240, 255, 0.2); }
    25% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.6); }
    50% { box-shadow: 0 0 5px rgba(0, 240, 255, 0.2); }
    75% { box-shadow: 0 0 15px rgba(0, 240, 255, 0.4); }
}

/* ---- Fade out ---- */
.fade-out {
    animation: fadeOutAnim 0.3s ease forwards;
}

@keyframes fadeOutAnim {
    to { opacity: 0; transform: translateY(5px); }
}

/* ---- Badge pulse for index page ---- */
.badge-pulse {
    animation: badgePulse 1s ease;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); text-shadow: var(--glow-green); }
}

/* ---- Update time display ---- */
.update-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover {
    border-color: var(--cyan);
    box-shadow: var(--glow-cyan);
}

.btn-primary {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--cyan);
    color: var(--cyan);
}

.btn-primary:hover {
    background: rgba(0, 240, 255, 0.2);
}

.btn .spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid var(--text-muted);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-text { opacity: 0.5; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- Date selector ---- */
.date-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.date-input {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 14px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.date-input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: var(--glow-cyan);
}

/* ---- History table ---- */
.profit-positive { color: var(--green); font-weight: 600; }
.profit-negative { color: var(--red); font-weight: 600; }

.roi-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
}

.roi-badge.positive { background: rgba(0, 255, 136, 0.15); color: var(--green); }
.roi-badge.negative { background: rgba(255, 51, 85, 0.15); color: var(--red); }

/* ---- Chart ---- */
.chart-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.chart-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* ---- Section divider ---- */
.section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

/* ---- 券種別TOP5 ---- */
.prob-type-section {
    margin-bottom: 24px;
}

.prob-type-header {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--magenta);
    margin-bottom: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 0, 170, 0.2);
}

/* ---- Model info ---- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.info-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
}

.info-item .key {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-item .val {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ---- Feature list ---- */
.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.feature-tag {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: monospace;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; height: auto; padding: 10px 0; gap: 8px; }
    nav { flex-wrap: wrap; justify-content: center; }
    nav a { padding: 6px 10px; font-size: 0.8rem; }
    .race-grid { grid-template-columns: 1fr; }
    .summary-row { grid-template-columns: repeat(2, 1fr); }
    .container { padding: 16px 12px; }
    .page-title { font-size: 1.2rem; }
    .data-table { font-size: 0.75rem; }
    .data-table th, .data-table td { padding: 6px 8px; }
}

@media (max-width: 480px) {
    .summary-row { grid-template-columns: 1fr; }
    nav a { padding: 4px 8px; font-size: 0.75rem; }
}

/* ============================================================
   SIDEBAR LAYOUT
   ============================================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 200;
    transition: width 0.3s ease;
    overflow: hidden;
}

.sidebar.collapsed { width: 56px; }

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    min-height: 56px;
}

.sidebar.collapsed .sidebar-header { justify-content: center; padding: 12px 8px; }
.sidebar.collapsed .sidebar-header .logo { display: none; }

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s;
}
.sidebar-toggle:hover { color: var(--cyan); }

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.nav-group { margin-bottom: 8px; }

.nav-group-label {
    padding: 8px 16px 4px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.sidebar.collapsed .nav-group-label { display: none; }

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.2s;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.05);
    text-shadow: none;
}

.nav-item.active {
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.08);
    border-left-color: var(--cyan);
}

.nav-icon { font-size: 1rem; min-width: 20px; text-align: center; }

.sidebar.collapsed .nav-text { display: none; }
.sidebar.collapsed .nav-item { justify-content: center; padding: 10px 8px; border-left: none; }

.sidebar-footer {
    padding: 12px 14px;
    border-top: 1px solid var(--border-color);
}

.sidebar-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
}
.status-dot.online { background: var(--green); box-shadow: 0 0 6px var(--green); }
.status-dot.offline { background: var(--red); box-shadow: 0 0 6px var(--red); }

.sidebar.collapsed .status-text { display: none; }

/* Main wrapper */
.has-sidebar .main-wrapper {
    margin-left: 220px;
    transition: margin-left 0.3s ease;
}
.has-sidebar.sidebar-collapsed .main-wrapper { margin-left: 56px; }

.has-sidebar .header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.header-breadcrumb span { color: var(--text-muted); }
.header-breadcrumb span:last-child { color: var(--text-primary); }

.header-actions { display: flex; gap: 8px; align-items: center; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 150;
}
.sidebar-overlay.visible { display: block; }

/* Mobile sidebar */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); width: 220px !important; }
    .sidebar.mobile-open { transform: translateX(0); }
    .has-sidebar .main-wrapper { margin-left: 0 !important; }
    .has-sidebar.sidebar-collapsed .main-wrapper { margin-left: 0 !important; }
    .mobile-menu-btn { display: block; }
}

/* ============================================================
   ADMIN COMPONENTS
   ============================================================ */
.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

/* Config input */
.config-input {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 10px;
    color: var(--text-primary);
    font-size: 0.85rem;
    width: 100%;
    transition: border-color 0.2s;
}
.config-input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 4px rgba(0, 240, 255, 0.2);
}

select.config-input { cursor: pointer; }

.btn-sm { padding: 4px 10px; font-size: 0.8rem; }

/* Config badges */
.config-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-on { background: rgba(0, 255, 136, 0.15); color: var(--green); }
.badge-off { background: rgba(255, 51, 85, 0.15); color: var(--red); }

/* Batch progress */
.batch-progress { }

.progress-bar-wrapper { margin-bottom: 8px; }

.progress-bar-track {
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--green));
    border-radius: 4px;
    width: 0%;
    transition: width 0.5s ease;
}

@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.progress-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Text muted helper */
.text-muted { color: var(--text-muted); }

/* Cyan value color (for summary cards) */
.summary-card .value.cyan { color: var(--cyan); }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ---- Table wrapper for horizontal scroll on mobile ---- */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
}

/* ---- Race detail top bar ---- */
.race-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.race-detail-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: var(--glow-cyan);
}

/* ---- Shutuba ---- */
.shutuba-race {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.shutuba-race-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.shutuba-race-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cyan);
}

.shutuba-race-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ---- Empty state ---- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state .icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state .msg { font-size: 1.1rem; }

/* ---- Toast notification ---- */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--cyan);
    border-radius: 8px;
    padding: 12px 20px;
    color: var(--cyan);
    font-size: 0.85rem;
    box-shadow: var(--glow-cyan);
    z-index: 1000;
    animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
}

@keyframes slideIn {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(10px); }
}
