/* ── AHS LIVE — yarış şeridi ───────────────────────────────── */
.ahs-live {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #c9d1d9;
    background: #0d1117;
    padding: 18px;
    border-radius: 12px;
}

.ahs-live-sec { margin-bottom: 26px; }
.ahs-live-sec:last-child { margin-bottom: 0; }

.ahs-live-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 10px 14px;
    background: linear-gradient(90deg, rgba(88,166,255,.10), rgba(88,166,255,0));
    border-left: 3px solid #58a6ff;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #e6edf3;
}
.ahs-live-count {
    min-width: 22px;
    padding: 2px 8px;
    border-radius: 10px;
    background: #58a6ff;
    color: #0d1117;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}
.ahs-live-empty {
    padding: 14px;
    color: #6e7681;
    font-size: 12px;
    text-align: center;
}

/* ── Şerit ─────────────────────────────────────────────────── */
.ahs-strip {
    margin-bottom: 10px;
    padding: 10px 12px 14px;
    background: #12161d;
    border: 1px solid #21262d;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.ahs-strip:hover {
    border-color: #58a6ff;
    background: #161b22;
    box-shadow: 0 0 0 1px rgba(88,166,255,.15), 0 4px 14px rgba(0,0,0,.4);
}
.ahs-strip.pending { opacity: .55; }

.ahs-strip-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
}
.ahs-sym   { font-weight: 700; color: #e6edf3; letter-spacing: .02em; }
.ahs-bar   { padding: 1px 6px; border-radius: 4px; background: #21262d; color: #8b949e; font-size: 10px; }
.ahs-dir   { font-size: 11px; }
.ahs-strip.bull .ahs-dir { color: #26a47a; }
.ahs-strip.bear .ahs-dir { color: #ef4444; }
.ahs-meta  { color: #8b5cf6; font-size: 11px; font-weight: 600; }
.ahs-badge {
    padding: 1px 7px;
    border: 1px solid rgba(210,153,34,.4);
    border-radius: 10px;
    color: #d29922;
    font-size: 9px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.ahs-spacer { flex: 1; }
.ahs-r      { font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ahs-r.up   { color: #3fb950; }
.ahs-r.down { color: #f85149; }
.ahs-price  { color: #8b949e; font-size: 11px; font-variant-numeric: tabular-nums; }

/* ── Ray ───────────────────────────────────────────────────── */
.ahs-track {
    position: relative;
    height: 26px;
    border-radius: 6px;
    background: linear-gradient(90deg,
        rgba(239,68,68,.20) 0%,
        rgba(110,118,129,.10) 45%,
        rgba(34,197,94,.20) 100%);
    overflow: hidden;
}

.ahs-risk {
    position: absolute; left: 0; top: 0; bottom: 0;
    background: rgba(239,68,68,.10);
}

.ahs-fill {
    position: absolute; top: 0; bottom: 0;
    width: 0;
    transition: left .4s ease, width .4s ease;
}
.ahs-fill.up   { background: rgba(34,197,94,.28); }
.ahs-fill.down { background: rgba(239,68,68,.28); }

/* TP çentikleri */
.ahs-tp {
    position: absolute; top: 0; bottom: 0;
    width: 0;
}
.ahs-tp i {
    position: absolute; top: 0; bottom: 0; left: 0;
    width: 1px;
    background: rgba(34,197,94,.45);
}
.ahs-tp b {
    position: absolute; bottom: 1px; left: 4px;
    color: rgba(201,209,217,.85);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-shadow: 0 1px 3px rgba(0,0,0,.9);
    white-space: nowrap;
}
.ahs-tp.hit i { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.6); }
.ahs-tp.hit b { color: #3fb950; }

/* Entry çizgisi */
.ahs-entry { position: absolute; top: 0; bottom: 0; width: 0; }
.ahs-entry i {
    position: absolute; top: 0; bottom: 0; left: 0;
    width: 1px;
    background: #58a6ff;
}
.ahs-entry b {
    position: absolute; top: 1px; left: 3px;
    color: #58a6ff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .04em;
}

/* Canlı fiyat kapsülü */
.ahs-cap {
    position: absolute; top: 50%; left: 0;
    transform: translate(-50%, -50%);
    padding: 2px 7px;
    border-radius: 10px;
    background: #e6edf3;
    color: #0d1117;
    font-size: 10px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,.5);
    transition: left .4s ease;
    z-index: 2;
}

@media (max-width: 600px) {
    .ahs-live { padding: 12px; }
    .ahs-strip-head { flex-wrap: wrap; }
}
.ahs-tp.last b { left: auto; right: 3px; }
.ahs-stop { position: absolute; top: 0; bottom: 0; left: 0; width: 0; }
.ahs-stop i { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #f85149; }
.ahs-stop b {
    position: absolute; top: 1px; left: 5px;
    color: #f85149; font-size: 9px; font-weight: 700; letter-spacing: .04em;
    text-shadow: 0 1px 3px rgba(0,0,0,.9);
}
.ahs-cap.beyond { background: #22c55e; color: #052e16; box-shadow: 0 0 12px rgba(34,197,94,.5); }
.ahs-sym { color: #e6edf3; text-decoration: none; }
.ahs-sym:hover { color: #58a6ff; text-decoration: underline; }
.ahs-live-note {
    margin: -6px 0 12px 4px;
    color: #8b949e;
    font-size: 11px;
    line-height: 1.5;
}
.ahs-live-note b { color: #c9d1d9; }
.ahs-live-daily {
    margin: 4px 0 18px;
    padding: 10px 14px;
    background: #12161d;
    border: 1px solid #21262d;
    border-radius: 8px;
    color: #8b949e;
    font-size: 12px;
    text-align: center;
}
.ahs-live-daily b      { color: #c9d1d9; }
.ahs-live-daily b.win  { color: #3fb950; }
.ahs-live-daily b.mid  { color: #d29922; }
.ahs-live-daily b.loss { color: #f85149; }
.ahs-live-net {
    display: block;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #21262d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
}