/* =====================================================================
   LikedWin — Özellik "Nasıl çalışır?" anlatımı (panel + mağaza ortak)
   JS: assets/js/feature-howto.js. Gradyan YOK, renkler kendi token'ları
   (gece modu: html[data-theme] + cihaz tercihi). Marka rengi sayfadan
   gelir: panel --ct-brand / --primary-color, mağaza --brand.
   Sahne evreleri: .fh-stage[data-p="0|1|2"]. Ortak yardımcılar:
     .fh-pop.onN  → N. evreden itibaren görünür (gecikme: --d)
     .fh-badge.bN → N. evreden itibaren rozet çıkar
     .off2        → 2. evrede soluklaşır
   ===================================================================== */

.fh-root,
.fh-pill {
    --fh-brand: var(--ct-brand, var(--brand, var(--primary-color, #2544d8)));
    --fh-brand-soft: color-mix(in srgb, var(--fh-brand) 11%, transparent);
    --fh-brand-line: color-mix(in srgb, var(--fh-brand) 30%, transparent);
}
.fh-root {
    --fh-bg: #ffffff;
    --fh-stage: #f3f5fa;
    --fh-card: #ffffff;
    --fh-line: #e2e6ee;
    --fh-ink: #0f172a;
    --fh-muted: #5b6475;
    --fh-ok: #16a34a;
    --fh-ok-soft: #e8f7ee;
    --fh-err: #dc2626;
    --fh-shadow: 0 24px 60px rgba(15, 23, 42, .22), 0 2px 8px rgba(15, 23, 42, .08);
}
html[data-theme="dark"] .fh-root {
    --fh-bg: #1d2125;
    --fh-stage: #15181b;
    --fh-card: #252a2f;
    --fh-line: #323840;
    --fh-ink: #e9ecef;
    --fh-muted: #9aa3ad;
    --fh-ok: #4ade80;
    --fh-ok-soft: rgba(74, 222, 128, .12);
    --fh-err: #f87171;
    --fh-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .fh-root {
        --fh-bg: #1d2125;
        --fh-stage: #15181b;
        --fh-card: #252a2f;
        --fh-line: #323840;
        --fh-ink: #e9ecef;
        --fh-muted: #9aa3ad;
        --fh-ok: #4ade80;
        --fh-ok-soft: rgba(74, 222, 128, .12);
        --fh-err: #f87171;
        --fh-shadow: 0 24px 60px rgba(0, 0, 0, .55);
    }
}

/* ---------- Karttaki düğme ---------- */
.fh-has-pill { display: inline-flex !important; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.fh-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px 3px 6px;
    border: 0;
    border-radius: 999px;
    background: var(--fh-brand-soft);
    color: var(--fh-brand);
    font: inherit;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, transform .15s ease;
}
.fh-pill i { font-size: 12px; }
.fh-pill:hover { background: color-mix(in srgb, var(--fh-brand) 18%, transparent); }
.fh-pill:active { transform: scale(.96); }
.fh-pill:focus-visible { outline: 2px solid var(--fh-brand); outline-offset: 2px; }

/* ---------- Pencere ---------- */
html.fh-lock { overflow: hidden; }
.fh-root[hidden] { display: none !important; }
.fh-root {
    position: fixed;
    inset: 0;
    z-index: 2147483200;   /* canlı destek balonunun (2147483000) üstünde */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: var(--fh-ink);
    font-size: 14px;
    line-height: 1.5;
}
.fh-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 22, .55);
    opacity: 0;
    transition: opacity .22s ease;
}
.fh-dialog {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: var(--fh-bg);
    border: 1px solid var(--fh-line);
    box-shadow: var(--fh-shadow);
    opacity: 0;
    transform: translateY(14px) scale(.97);
    transition: opacity .22s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.fh-root.is-open .fh-overlay { opacity: 1; }
.fh-root.is-open .fh-dialog { opacity: 1; transform: none; }

.fh-x {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border: 1px solid var(--fh-line);
    border-radius: 50%;
    background: var(--fh-bg);
    color: var(--fh-ink);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 15px;
}
.fh-x:hover { border-color: var(--fh-brand-line); color: var(--fh-brand); }

.fh-body { padding: 16px 20px 6px; overflow-y: auto; }
.fh-kicker {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--fh-brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}
.fh-price {
    margin-left: auto;
    padding: 2px 9px;
    border-radius: 999px;
    border: 1px solid var(--fh-line);
    background: var(--fh-stage);
    color: var(--fh-ink);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0;
}
.fh-title { margin: 6px 0 4px; font-size: 20px; line-height: 1.25; font-weight: 800; color: var(--fh-ink); }
.fh-lead { margin: 0 0 12px; color: var(--fh-muted); font-size: 14px; }

.fh-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fh-step {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--fh-muted);
    font: inherit;
    font-size: 13.5px;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.fh-num {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--fh-stage);
    border: 1px solid var(--fh-line);
    color: var(--fh-muted);
    font-size: 12px;
    font-weight: 800;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.fh-txt { padding-top: 2px; }
.fh-steps li.is-on .fh-step { background: var(--fh-brand-soft); border-color: var(--fh-brand-line); color: var(--fh-ink); }
.fh-steps li.is-on .fh-num { background: var(--fh-brand); border-color: var(--fh-brand); color: #fff; }
.fh-steps li.is-done .fh-num { background: var(--fh-ok-soft); border-color: transparent; color: var(--fh-ok); }
.fh-prog {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--fh-brand);
}
.fh-steps li.is-on .fh-prog { animation: fh-prog var(--fh-ms, 2700ms) linear forwards; }
@keyframes fh-prog { from { width: 0; } to { width: 100%; } }

.fh-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 20px 16px;
    border-top: 1px solid var(--fh-line);
    margin-top: 10px;
}
.fh-nav { display: flex; align-items: center; gap: 6px; color: var(--fh-muted); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fh-navbtn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid var(--fh-line);
    background: var(--fh-bg);
    color: var(--fh-ink);
    display: grid;
    place-items: center;
    cursor: pointer;
}
.fh-navbtn:hover { border-color: var(--fh-brand-line); color: var(--fh-brand); }
.fh-navbtn[hidden] { display: none; }
.fh-acts { display: flex; gap: 8px; }
.fh-btn {
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 11px;
    border: 1px solid var(--fh-line);
    background: var(--fh-bg);
    color: var(--fh-ink);
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.fh-btn:hover { border-color: var(--fh-brand-line); }
.fh-btn--pri { background: var(--fh-brand); border-color: var(--fh-brand); color: #fff; }
.fh-btn--pri:hover { background: color-mix(in srgb, var(--fh-brand) 88%, #000); }
.fh-btn--pri.is-on { background: var(--fh-ok-soft); border-color: transparent; color: var(--fh-ok); }
.fh-btn:disabled { cursor: default; opacity: .8; }
.fh-btn[hidden] { display: none; }

@media (max-width: 560px) {
    .fh-root { align-items: flex-end; padding: 0; }
    .fh-dialog {
        max-width: none;
        max-height: 94vh;
        max-height: 94dvh;
        border-radius: 20px 20px 0 0;
        border-bottom: 0;
        transform: translateY(40px);
    }
    .fh-title { font-size: 18px; }
    .fh-foot { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
    .fh-btn { padding: 8px 12px; }
}
@media (max-width: 380px) {
    .fh-acts .fh-btn:not(.fh-btn--pri) { display: none; }
}

/* =====================================================================
   SAHNE
   ===================================================================== */
.fh-stage {
    position: relative;
    flex: none;
    height: 212px;
    background: var(--fh-stage);
    border-bottom: 1px solid var(--fh-line);
    overflow: hidden;
    color: var(--fh-ink);
    font-size: 12px;
}
.fh-sc { position: absolute; inset: 0; padding: 18px 16px; display: flex; align-items: center; justify-content: center; }
.fh-stage .sc-col { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.fh-stage small { font-size: 11px; color: var(--fh-muted); }
.fh-stage b { font-weight: 700; }

.fh-av {
    --c: #6366f1;
    position: relative;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--c);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    transition: opacity .5s ease, filter .5s ease, transform .45s cubic-bezier(.3, 1.5, .5, 1);
}
.fh-badge {
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 8px;
    border: 2px solid var(--fh-stage);
    transform: scale(0);
    transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.fh-badge.ok { background: var(--fh-ok); }
.fh-badge.no { background: var(--fh-err); }
.fh-badge.lock { background: var(--fh-muted); }

.fh-tk {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    background: var(--fh-card);
    border: 1px solid var(--fh-line);
    border-radius: 10px;
    color: var(--fh-ink);
    font-size: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}
.fh-ico {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    background: var(--fh-brand-soft);
    color: var(--fh-brand);
    font-size: 11px;
}
.fh-ln { display: block; height: 6px; border-radius: 3px; background: var(--fh-line); }
.fh-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--fh-card);
    border: 1px solid var(--fh-line);
    color: var(--fh-muted);
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
}
.fh-tag.is-ok { color: var(--fh-ok); background: var(--fh-ok-soft); border-color: transparent; }

/* Ortak evre yardımcıları */
.fh-pop { opacity: 0; transform: scale(.6); transition: opacity .3s ease, transform .45s cubic-bezier(.3, 1.5, .5, 1); }
.fh-grow { transform: scaleX(0); transform-origin: left center; transition: transform .45s ease; }
.fh-stage[data-p="0"] .on0, .fh-stage[data-p="1"] .on0, .fh-stage[data-p="2"] .on0,
.fh-stage[data-p="1"] .on1, .fh-stage[data-p="2"] .on1,
.fh-stage[data-p="2"] .on2 { opacity: 1; transform: none; transition-delay: var(--d, 0s); }
.fh-stage[data-p="1"] .b1, .fh-stage[data-p="2"] .b1,
.fh-stage[data-p="2"] .b2 { transform: scale(1); transition-delay: var(--d, 0s); }
.fh-stage[data-p="2"] .off2 { opacity: .32; filter: grayscale(1); }
.fh-stage .off2 { transition: opacity .5s ease, filter .5s ease; }

/* ---------- Vitrin ---------- */
.sc-show .sc-rows { position: relative; width: 100%; max-width: 330px; height: 182px; }
.sc-show .sc-r {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    transform: translateY(calc(var(--s0) * 46px));
    transition: transform .85s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease, border-color .4s ease;
}
.fh-stage[data-p="1"] .sc-show .sc-r,
.fh-stage[data-p="2"] .sc-show .sc-r { transform: translateY(calc(var(--s1) * 46px)); }
.sc-show .sc-t { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.sc-show .sc-r:not(.is-you) { opacity: .85; }
.sc-show .is-you { z-index: 2; border-color: var(--fh-brand-line); }
.fh-stage[data-p="1"] .sc-show .is-you,
.fh-stage[data-p="2"] .sc-show .is-you { border-color: var(--fh-brand); box-shadow: 0 0 0 3px var(--fh-brand-soft), 0 6px 16px rgba(15, 23, 42, .1); }
.sc-show .sc-star { color: #b45309; background: #fef3c7; border-color: transparent; }
.sc-show .sc-star i { color: #f59e0b; }
.sc-show .sc-avs { display: flex; padding-left: 4px; }
.sc-show .sc-avs .fh-av { width: 22px; height: 22px; font-size: 10px; margin-left: -6px; box-shadow: 0 0 0 2px var(--fh-card); }

/* ---------- Şehir ---------- */
.sc-city .sc-chips { display: flex; gap: 6px; }
.sc-city .sc-chip { font-size: 11.5px; padding: 3px 10px; transition: background-color .35s ease, color .35s ease, border-color .35s ease; }
.fh-stage[data-p="1"] .sc-city .is-pick,
.fh-stage[data-p="2"] .sc-city .is-pick { background: var(--fh-brand); border-color: var(--fh-brand); color: #fff; }
.sc-city .sc-grid { display: grid; grid-template-columns: repeat(3, 72px); gap: 12px 10px; justify-items: center; }
.sc-city .sc-person { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sc-city .sc-person small { font-weight: 600; }

/* ---------- Bağlı Görev / Hariç Bırak ---------- */
.sc-link { gap: 8px; }
.sc-link .sc-box { flex-direction: column; justify-content: center; text-align: center; width: 92px; padding: 10px 6px; gap: 6px; font-size: 11.5px; line-height: 1.25; }
.sc-link .sc-box.is-new { transition: border-color .4s ease, box-shadow .4s ease; }
.fh-stage[data-p="2"] .sc-link .sc-box.is-new { border-color: var(--fh-brand); box-shadow: 0 0 0 3px var(--fh-brand-soft); }
.sc-link .sc-arr { color: var(--fh-muted); font-size: 11px; opacity: .6; }
.sc-link .sc-people { display: flex; flex-direction: column; gap: 6px; }
.sc-link .sc-p { display: grid; grid-template-columns: 30px 34px auto; align-items: center; gap: 6px; height: 34px; }
.sc-link .sc-did { font-size: 10.5px; font-weight: 700; color: var(--fh-ok); }
.sc-link .sc-res { min-width: 70px; justify-content: center; }
.sc-link.is-ex .sc-p:not(.off2) .sc-did { color: var(--fh-muted); }

/* ---------- Günlük sınır ---------- */
.sc-daily .sc-days { display: flex; align-items: flex-end; gap: 12px; }
.sc-daily .sc-day { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 70px; }
.sc-daily .sc-next { color: var(--fh-muted); opacity: .5; margin-bottom: 64px; font-size: 11px; }
.sc-daily .sc-barbox {
    position: relative;
    width: 46px;
    height: 96px;
    border-radius: 10px;
    background: var(--fh-card);
    border: 1px solid var(--fh-line);
    border-top: 2px dashed var(--fh-muted);
    overflow: hidden;
}
.sc-daily .sc-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--fh-brand); }
.sc-daily .sc-num { position: absolute; left: 0; right: 0; top: 6px; text-align: center; font-size: 10px; font-weight: 800; color: #fff; opacity: 0; }
.sc-daily .sc-lock { opacity: 0; transform: translateY(4px); }
.sc-daily .sc-lock i { font-size: 9px; }
/* 1. gün: 0. evrede dolar; 2. gün: 1. evrede; 3. gün: 2. evrede */
.fh-stage[data-p="0"] .sc-daily .d0 .sc-fill { animation: fh-fill 1.3s .25s ease-in-out forwards; }
.fh-stage[data-p="0"] .sc-daily .d0 .sc-num,
.fh-stage[data-p="0"] .sc-daily .d0 .sc-lock { animation: fh-in .3s 1.55s ease forwards; }
.fh-stage[data-p="1"] .sc-daily .d0 .sc-fill, .fh-stage[data-p="2"] .sc-daily .d0 .sc-fill,
.fh-stage[data-p="2"] .sc-daily .d1 .sc-fill { height: 100%; }
.fh-stage[data-p="1"] .sc-daily .d0 :is(.sc-num, .sc-lock), .fh-stage[data-p="2"] .sc-daily .d0 :is(.sc-num, .sc-lock),
.fh-stage[data-p="2"] .sc-daily .d1 :is(.sc-num, .sc-lock) { opacity: 1; transform: none; }
.fh-stage[data-p="1"] .sc-daily .d1 .sc-fill { animation: fh-fill 1.3s .25s ease-in-out forwards; }
.fh-stage[data-p="1"] .sc-daily .d1 :is(.sc-num, .sc-lock) { animation: fh-in .3s 1.55s ease forwards; }
.fh-stage[data-p="2"] .sc-daily .d2 .sc-fill { animation: fh-fill 1.3s .25s ease-in-out forwards; }
.fh-stage[data-p="2"] .sc-daily .d2 :is(.sc-num, .sc-lock) { animation: fh-in .3s 1.55s ease forwards; }
.fh-stage[data-p="1"] .sc-daily .d0 .sc-barbox, .fh-stage[data-p="2"] .sc-daily .d0 .sc-barbox,
.fh-stage[data-p="2"] .sc-daily .d1 .sc-barbox { opacity: .55; }
@keyframes fh-fill { from { height: 0; } to { height: 100%; } }
@keyframes fh-in { to { opacity: 1; transform: none; } }

/* ---------- Doğal Akış ---------- */
.sc-flow .sc-col { gap: 6px; max-width: 380px; }
.sc-flow .sc-track { position: relative; width: 100%; display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 4px 8px; }
.sc-flow .sc-track > .fh-tag { justify-content: center; }
.sc-flow .is-flow > .fh-tag:first-child { color: var(--fh-brand); border-color: var(--fh-brand-line); background: var(--fh-brand-soft); }
.sc-flow .sc-line { position: relative; height: 28px; border-bottom: 2px dashed var(--fh-line); }
.sc-flow .sc-dot {
    position: absolute;
    left: var(--x);
    bottom: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--c);
    box-shadow: 0 0 0 2px var(--fh-stage);
    opacity: 0;
    transform: translateY(8px) scale(.5);
    transition: opacity .3s ease, transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.sc-flow .is-normal .sc-dot { transition-delay: 0s; }
.fh-stage[data-p="0"] .sc-flow .is-normal .sc-dot,
.fh-stage[data-p="1"] .sc-flow .is-normal .sc-dot,
.fh-stage[data-p="2"] .sc-flow .is-normal .sc-dot { opacity: 1; transform: none; transition-delay: var(--d); }
.fh-stage[data-p="1"] .sc-flow .is-flow .sc-dot,
.fh-stage[data-p="2"] .sc-flow .is-flow .sc-dot { opacity: 1; transform: none; transition-delay: var(--d); }
.fh-stage[data-p="2"] .sc-flow .is-flow .sc-dot { transition-delay: 0s; }
.sc-flow .sc-note { grid-column: 2; justify-self: end; }
.sc-flow .sc-axis { width: 100%; display: flex; justify-content: space-between; padding-left: 86px; }
.sc-flow .sc-axis small:nth-child(2) { color: var(--fh-brand); font-weight: 700; }

/* ---------- Özel yorumlar ---------- */
.sc-cmt .sc-col { align-items: stretch; gap: 8px; max-width: 330px; }
.sc-cmt .sc-head { align-self: flex-start; }
.sc-cmt .sc-cr { display: flex; align-items: center; gap: 8px; height: 38px; }
.sc-cmt .sc-quote {
    flex: 0 0 170px;
    padding: 7px 10px;
    border-radius: 10px 10px 10px 3px;
    background: var(--fh-card);
    border: 1px solid var(--fh-line);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sc-cmt .sc-arrow { position: relative; display: block; width: 30px; height: 2px; background: var(--fh-brand); }
.sc-cmt .sc-arrow::after {
    content: "";
    position: absolute;
    right: -1px;
    top: -4px;
    border: 5px solid transparent;
    border-left-color: var(--fh-brand);
    border-right-width: 0;
}

/* ---------- Görevi Zamanla ---------- */
.sc-sched { gap: 22px; }
.sc-sched .sc-clock {
    position: relative;
    flex: none;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: var(--fh-card);
    border: 3px solid var(--fh-line);
    transition: border-color .4s ease;
}
.fh-stage[data-p="2"] .sc-sched .sc-clock { border-color: var(--fh-brand); }
.sc-sched .sc-tick { position: absolute; left: 50%; top: 50%; width: 2px; height: 6px; margin-left: -1px; background: var(--fh-line); transform: rotate(var(--r)) translateY(-46px); transform-origin: 50% 0; }
.sc-sched .sc-hand { position: absolute; left: 50%; bottom: 50%; border-radius: 3px; transform-origin: 50% 100%; background: var(--fh-ink); }
.sc-sched .sc-h { width: 4px; height: 26px; margin-left: -2px; transform: rotate(240deg); }
.sc-sched .sc-m { width: 3px; height: 38px; margin-left: -1.5px; transform: rotate(0deg); background: var(--fh-brand); }
.sc-sched .sc-pin { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--fh-ink); }
.sc-sched .sc-cbadge { width: 26px; height: 26px; right: -4px; bottom: -4px; font-size: 12px; border-width: 3px; }
.fh-stage[data-p="1"] .sc-sched .sc-h { animation: fh-hour 1.9s .2s ease-in-out forwards; }
.fh-stage[data-p="1"] .sc-sched .sc-m { animation: fh-min 1.9s .2s ease-in-out forwards; }
.fh-stage[data-p="2"] .sc-sched .sc-h { transform: rotate(300deg); }
@keyframes fh-hour { from { transform: rotate(240deg); } to { transform: rotate(300deg); } }
@keyframes fh-min { from { transform: rotate(0deg); } to { transform: rotate(720deg); } }
.sc-sched .sc-side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sc-sched .sc-card { min-width: 160px; transition: border-color .4s ease, box-shadow .4s ease; }
.fh-stage[data-p="2"] .sc-sched .sc-card { border-color: var(--fh-ok); box-shadow: 0 0 0 3px var(--fh-ok-soft); }
.sc-sched .sc-t { display: flex; flex-direction: column; gap: 2px; }
.sc-sched .sc-st { position: relative; display: block; height: 16px; font-weight: 700; }
.sc-sched .sc-st > span { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; transition: opacity .3s ease, transform .3s ease; }
.sc-sched .s2 { opacity: 0; transform: translateY(6px); color: var(--fh-ok); }
.fh-stage[data-p="2"] .sc-sched .s01 { opacity: 0; transform: translateY(-6px); }
.fh-stage[data-p="2"] .sc-sched .s2 { opacity: 1; transform: none; }
.sc-sched .sc-live { width: 8px; height: 8px; border-radius: 50%; background: var(--fh-ok); animation: fh-blink 1.2s ease-in-out infinite; }
@keyframes fh-blink { 50% { opacity: .35; } }
.sc-sched .sc-avs { display: flex; gap: 0; padding-left: 6px; }
.sc-sched .sc-avs .fh-av { width: 24px; height: 24px; font-size: 10px; margin-left: -6px; box-shadow: 0 0 0 2px var(--fh-stage); }

/* ---------- Tekrarlı Görev ---------- */
.sc-rep .sc-v {
    position: absolute;
    inset: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .4s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
    pointer-events: none;
}
.fh-stage[data-p="0"] .sc-v0, .fh-stage[data-p="1"] .sc-v1, .fh-stage[data-p="2"] .sc-v2 { opacity: 1; transform: none; }
.sc-rep .sc-vt { color: var(--fh-brand); border-color: var(--fh-brand-line); background: var(--fh-brand-soft); font-size: 11.5px; padding: 3px 10px; }
.sc-rep .sc-vs { font-weight: 600; }
.sc-rep .sq { opacity: 0; transform: translateY(8px) scale(.85); transition: opacity .3s ease, transform .4s cubic-bezier(.3, 1.5, .5, 1); }
.fh-stage[data-p="0"] .sc-v0 .sq, .fh-stage[data-p="1"] .sc-v1 .sq { opacity: 1; transform: none; transition-delay: var(--d); }
.sc-rep .sc-seq { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.sc-rep .sc-big { width: 38px; height: 38px; font-size: 14px; margin-right: 4px; }
.sc-rep .sc-do { padding: 5px 8px; font-weight: 700; font-size: 11px; white-space: nowrap; }
.sc-rep .sc-do i { color: var(--fh-ok); }
.sc-rep .sc-wait { font-size: 10px; font-weight: 700; color: var(--fh-muted); white-space: nowrap; }
.sc-rep .sc-cal { display: flex; gap: 7px; }
.sc-rep .sc-cd { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 50px; padding: 7px 0; border-radius: 10px; background: var(--fh-card); border: 1px solid var(--fh-line); }
.sc-rep .sc-cd b { font-size: 11px; }
.sc-rep .sc-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 360px; }
.sc-rep .sc-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 12px; border-radius: 12px; background: var(--fh-card); border: 1px solid var(--fh-line); }
.sc-rep .sc-opt > i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--fh-brand-soft); color: var(--fh-brand); font-size: 13px; }
.sc-rep .sc-opt b { font-size: 13px; }
.sc-rep .sc-opt small { line-height: 1.35; }

/* ---------- Uzman ekip onayı ---------- */
.sc-exp .sc-col { position: relative; gap: 10px; }
.sc-exp .sc-proofs { position: relative; display: flex; gap: 12px; }
.sc-exp .sc-proof {
    position: relative;
    width: 66px;
    padding: 6px;
    border-radius: 10px;
    background: var(--fh-card);
    border: 1px solid var(--fh-line);
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, filter .5s ease;
}
.fh-stage[data-p="0"] .sc-exp .sc-proof { animation: fh-rise .5s var(--d) cubic-bezier(.2, .8, .2, 1) forwards; }
.fh-stage[data-p="1"] .sc-exp .sc-proof, .fh-stage[data-p="2"] .sc-exp .sc-proof { opacity: 1; transform: none; }
.fh-stage[data-p="2"] .sc-exp .sc-proof.off2 { opacity: .32; }
@keyframes fh-rise { to { opacity: 1; transform: none; } }
.sc-exp .sc-shot { height: 46px; border-radius: 6px; background: var(--fh-stage); display: grid; place-items: center; color: var(--fh-muted); font-size: 16px; }
.sc-exp .sc-scan { position: absolute; top: -6px; bottom: -6px; left: 0; width: 3px; border-radius: 2px; background: var(--fh-brand); opacity: 0; }
.fh-stage[data-p="1"] .sc-exp .sc-scan { animation: fh-scan 1.5s .15s ease-in-out forwards; }
@keyframes fh-scan { 0% { left: -4px; opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% + 4px); opacity: 0; } }
.sc-exp .sc-res { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; min-height: 22px; }

/* ---------- Kendim onaylayacağım ---------- */
.sc-self .sc-panel {
    width: 100%;
    max-width: 330px;
    padding: 10px;
    border-radius: 14px;
    background: var(--fh-card);
    border: 1px solid var(--fh-line);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sc-self .sc-ph { font-size: 11px; font-weight: 700; color: var(--fh-muted); display: flex; align-items: center; gap: 6px; }
.sc-self .sc-item { position: relative; display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 10px; background: var(--fh-stage); border: 1px solid var(--fh-line); }
.sc-self .sc-thumb { flex: none; width: 34px; height: 34px; border-radius: 7px; background: var(--fh-card); display: grid; place-items: center; color: var(--fh-muted); font-size: 14px; }
.sc-self .sc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; }
.sc-self .sc-btns { display: flex; gap: 5px; }
.sc-self .sc-btns > span { position: relative; padding: 4px 8px; border-radius: 8px; font-size: 10.5px; font-weight: 700; border: 1px solid var(--fh-line); background: var(--fh-card); white-space: nowrap; }
.sc-self .sc-ok { color: var(--fh-ok); transition: background-color .25s ease, color .25s ease, transform .15s ease; }
.sc-self .sc-no { color: var(--fh-err); }
.sc-self .i1 { opacity: 0; transform: translateY(-10px); }
.fh-stage[data-p="0"] .sc-self .i1 { animation: fh-rise .5s .2s cubic-bezier(.2, .8, .2, 1) forwards; }
.fh-stage[data-p="1"] .sc-self .i1, .fh-stage[data-p="2"] .sc-self .i1 { opacity: 1; transform: none; }
.fh-stage[data-p="1"] .sc-self .sc-ok { animation: fh-press .3s 1.15s ease forwards; }
.fh-stage[data-p="2"] .sc-self .sc-ok { background: var(--fh-ok); color: #fff; border-color: var(--fh-ok); }
@keyframes fh-press { 40% { transform: scale(.9); } 100% { transform: none; background: var(--fh-ok); color: #fff; border-color: var(--fh-ok); } }
.sc-self .sc-cursor {
    position: absolute;
    left: 55%;
    top: 55%;
    font-size: 18px;
    color: var(--fh-ink);
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25));
}
.fh-stage[data-p="1"] .sc-self .sc-cursor { animation: fh-cursor 1.7s .2s ease forwards; }
@keyframes fh-cursor {
    0% { opacity: 0; transform: translate(70px, 70px); }
    25% { opacity: 1; }
    60% { opacity: 1; transform: translate(0, 0); }
    70% { transform: translate(0, 0) scale(.85); }
    80%, 100% { opacity: 1; transform: translate(0, 0) scale(1); }
}
.sc-self .sc-timer { color: var(--fh-brand); border-color: var(--fh-brand-line); background: var(--fh-brand-soft); }

/* ---------- Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
    .fh-root *, .fh-root *::before, .fh-root *::after {
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
}
