/* =====================================================================
   LikedWin — Instagram sahnesi (lws--instagram, ig-*)
   Kabuk: organik-hit ohs-* + sahne-motor lws-* (önce yüklenir). Burada
   yalnız Instagram'a özel görünümler: profil, gönderi penceresi, arama,
   Reels, hikâye görüntüleyici/düzenleyici, yayın kanalı, akış.
   Instagram arayüzü açık temada beyaz, sitenin koyu temasında Instagram'ın
   kendi koyu modu; hikâye ve Reels her zaman koyu. Gradyan YOK: renkli
   halka ve logo düz renk.
   ===================================================================== */

.lws--instagram {
    --lws-brand: #e1306c;
    --lws-brand-ink: #fff;
    --lws-brand-soft: rgba(225, 48, 108, .12);
    --ig-bg: #fff;
    --ig-ink: #000;
    --ig-text: #262626;
    --ig-sub: #737373;
    --ig-line: #dbdbdb;
    --ig-soft: #efefef;
    --ig-hover: #fafafa;
    --ig-blue: #0095f6;
    --ig-link: #00376b;
    --ig-red: #ff3040;
    --ig-ring: #e1306c;
    --ig-green: #1fa855;
    --ig-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
:root[data-theme="dark"] .lws--instagram {
    --ig-bg: #000; --ig-ink: #f5f5f5; --ig-text: #f5f5f5; --ig-sub: #a8a8a8;
    --ig-line: #262626; --ig-soft: #262626; --ig-hover: #121212; --ig-link: #e0f1ff;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .lws--instagram {
        --ig-bg: #000; --ig-ink: #f5f5f5; --ig-text: #f5f5f5; --ig-sub: #a8a8a8;
        --ig-line: #262626; --ig-soft: #262626; --ig-hover: #121212; --ig-link: #e0f1ff;
    }
}
.lws--instagram .ohs-chart__col.is-up i { background: #e1306c; }

/* ---------- Ortak ---------- */
.igv { display: flex; flex-direction: column; gap: 12px; }
.igv .ig-top { justify-content: space-between; flex: 0 0 auto; }
.ig-frame {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    border: 1px solid var(--ig-line);
    border-radius: 12px;
    background: var(--ig-bg);
    color: var(--ig-text);
    font-family: var(--ig-font);
    font-size: 13px;
    line-height: 1.35;
    overflow: hidden;
}
.ig-frame b { font-weight: 600; color: var(--ig-ink); }
.ig-frame small { color: var(--ig-sub); }

.ig-av {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--c, #9ca3af);
    color: #fff;
    font-family: var(--ig-font);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    overflow: hidden;
}
.ig-av svg, .ig-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-av--brand { background: #c8693f; color: #fff6ec; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 700; letter-spacing: -.03em; }
.ig-av--gap { background: transparent; }
.ig-ring { display: inline-grid; place-items: center; flex: 0 0 auto; padding: 2px; border-radius: 50%; background: var(--ig-bg); box-shadow: 0 0 0 2px var(--ig-ring); }
.ig-ring .ig-av { width: 28px; height: 28px; font-size: 12px; }
.ig-ring--lg .ig-av { width: 86px; height: 86px; font-size: 32px; }
.ig-tick { color: var(--ig-blue); font-size: 12px; }

.ig-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 32px; padding: 0 16px;
    border-radius: 8px;
    background: var(--ig-soft);
    color: var(--ig-ink);
    font-size: 13px; font-weight: 600;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, transform .15s ease;
}
.ig-btn--blue { background: var(--ig-blue); color: #fff; }
.ig-btn--ico { padding: 0 11px; }
.ig-bbtn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    height: 34px; padding: 0 16px;
    border-radius: 8px;
    background: var(--ig-blue); color: #fff;
    font-family: var(--ig-font); font-size: 13px; font-weight: 600;
    white-space: nowrap;
    transition: transform .15s ease;
}
.igv .is-press { transform: scale(.92); }
.ig-link { color: var(--ig-blue); font-weight: 600; }

.ig-rail {
    display: flex; flex-direction: column; align-items: center; gap: 19px;
    flex: 0 0 58px;
    padding: 16px 0 14px;
    border-right: 1px solid var(--ig-line);
    color: var(--ig-ink);
    font-size: 19px;
}
.ig-rail__logo { font-size: 23px; margin-bottom: 6px; }
.ig-rail i.is-cur { font-weight: 900; }
.ig-rail__me { margin-top: auto; }
.ig-rail__me .ig-av { width: 24px; height: 24px; }

.ig-toast {
    position: absolute; left: 50%; bottom: 14px; z-index: 6;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(38, 38, 38, .94);
    color: #fff;
    font-family: var(--ig-font); font-size: 12.5px; font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, 8px);
    transition: opacity .25s ease, transform .3s ease;
    pointer-events: none;
}
.ig-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.ig-toast:empty { display: none; }
.ig-plus { right: 18px; top: 14px; z-index: 7; color: var(--ig-red); font-size: 15px; }

/* Düz renk görseller */
.ig-art { position: absolute; inset: 0; display: block; overflow: hidden; }
.ig-art--ico { display: grid; place-items: center; background: var(--bg); color: var(--fg); font-size: 34px; }
.ig-art--vases { background: #eadfce; }
.ig-art--vases b { position: absolute; left: 0; right: 0; bottom: 18%; height: 3.5%; background: #c9b49a; }
.ig-art--vases i { position: absolute; bottom: 21.5%; display: block; }
.ig-v1 { left: 14%; width: 23%; height: 40%; background: #2f5d8a; border-radius: 46% 46% 36% 36% / 58% 58% 40% 40%; }
.ig-v1::before { content: ''; position: absolute; left: 33%; right: 33%; top: -13%; height: 16%; background: #2f5d8a; border-radius: 3px 3px 0 0; }
.ig-v2 { left: 42%; width: 17%; height: 56%; background: #c8693f; border-radius: 38% 38% 26% 26% / 22% 22% 16% 16%; }
.ig-v2::before { content: ''; position: absolute; left: 30%; right: 30%; top: -9%; height: 11%; background: #c8693f; border-radius: 3px 3px 0 0; }
.ig-v3 { left: 65%; width: 22%; height: 24%; background: #f3ece0; border-radius: 10% 10% 50% 50% / 10% 10% 70% 70%; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .06); }
.ig-v1::after, .ig-v2::after { content: ''; position: absolute; left: 0; right: 0; top: 34%; height: 9%; background: rgba(255, 255, 255, .22); }
.ig-art--mini { position: relative; width: 100%; height: 50%; margin-top: 6px; background: transparent; }
.ig-art--mini b { background: rgba(255, 255, 255, .45); }

/* ---------- Gönderi penceresi ---------- */
.ig-post { display: grid; grid-template-columns: minmax(0, 1fr) 336px; }
.ig-post__media { position: relative; min-height: 0; overflow: hidden; background: #eadfce; }
.ig-dots { position: absolute; left: 50%; bottom: 12px; display: flex; gap: 4px; transform: translateX(-50%); }
.ig-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.ig-dots i.is-cur { background: #fff; }
.ig-post__side { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; border-left: 1px solid var(--ig-line); }
.ig-post__head { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; height: 58px; padding: 0 14px; border-bottom: 1px solid var(--ig-line); }
.ig-post__who { display: flex; flex-direction: column; min-width: 0; }
.ig-post__who b { font-size: 13.5px; }
.ig-post__who small { font-size: 11.5px; color: var(--ig-text); }
.ig-dotsep { color: var(--ig-sub); }
.ig-more { margin-left: auto; color: var(--ig-ink); }

.ig-cmts { display: flex; flex-direction: column; justify-content: flex-start; gap: 13px; flex: 1 1 auto; min-height: 0; margin: 0; padding: 14px; list-style: none; overflow: hidden; }
.ig-cmt { display: flex; align-items: flex-start; gap: 11px; flex: 0 0 auto; }
.ig-cmt.is-gone { display: none !important; }
.ig-cmt .ig-av { width: 30px; height: 30px; font-size: 12px; }
.ig-cmt__b { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
.ig-cmt__t { font-size: 13px; color: var(--ig-text); overflow-wrap: anywhere; }
.ig-cmt__b small { font-size: 11.5px; font-weight: 600; }
.ig-cmt__b small b { color: inherit; font-weight: 600; }
.ig-cmt__h { flex: 0 0 auto; margin-top: 8px; font-size: 11px; color: var(--ig-sub); transition: color .2s ease; }
.ig-cmt__h.is-on { color: var(--ig-red); }
.ig-cmt__h.is-on::before { content: "\f004"; font-weight: 900; }
.ig-cmt__h.is-on { animation: lws-pop .45s cubic-bezier(.2, .9, .3, 1.4); }
.ig-cmt[data-ig-x^="cm"]:not(.is-on), .ig-cmt[data-ig-x^="rc"]:not(.is-on) { display: none; }
.ig-cmt.is-mine.is-on { animation: ig-in .4s ease; }
@keyframes ig-in { from { opacity: 0; transform: translateY(8px); } }
.ig-cmt.is-target { margin: -6px -8px; padding: 6px 8px; border-radius: 10px; background: rgba(0, 149, 246, .08); box-shadow: inset 0 0 0 1px rgba(0, 149, 246, .35); }
.ig-cmt__tag { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; padding: 1px 6px; border-radius: 99px; background: var(--ig-blue); color: #fff; font-style: normal; font-size: 10px; font-weight: 700; white-space: nowrap; }
.ig-cmt__tag i { font-size: 9px; }
.ig-mn { color: var(--ig-link); font-weight: 600; }

.ig-acts { display: flex; align-items: center; gap: 15px; flex: 0 0 auto; padding: 9px 14px 4px; border-top: 1px solid var(--ig-line); }
.ig-act { display: inline-flex; align-items: center; gap: 5px; color: var(--ig-ink); font-size: 13px; font-weight: 600; transition: transform .15s ease; }
.ig-act i { font-size: 21px; transition: color .2s ease; }
.ig-act b { font-variant-numeric: tabular-nums; }
.ig-act--save { margin-left: auto; }
.ig-act--like.is-on i, .ig-ract.is-on .fa-heart, .ig-sheart.is-on, .ig-fa--like.is-on, .ig-lb__heart.is-on { color: var(--ig-red); }
.ig-act--like.is-on i::before, .ig-ract.is-on .fa-heart::before, .ig-sheart.is-on::before, .ig-fa--like.is-on::before, .ig-lb__heart.is-on::before { content: "\f004"; font-weight: 900; }
.ig-act--save.is-on i::before, .ig-ract.is-on .fa-bookmark::before, .ig-fa--save.is-on::before { content: "\f02e"; font-weight: 900; }
.ig-act--rp.is-on i { color: var(--ig-green); }
.ig-act.is-on i, .ig-ract.is-on i, .ig-sheart.is-on, .ig-fa--like.is-on, .ig-fa--save.is-on, .ig-lb__heart.is-on { animation: lws-pop .45s cubic-bezier(.2, .9, .3, 1.4); }
.ig-post__meta { flex: 0 0 auto; padding: 2px 14px 10px; font-size: 11px; color: var(--ig-sub); }

.ig-cin { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; min-height: 48px; padding: 8px 14px; border-top: 1px solid var(--ig-line); }
.ig-cin > i { font-size: 20px; color: var(--ig-ink); }
.ig-cin__t { flex: 1 1 auto; min-width: 0; font-size: 13px; color: var(--ig-text); overflow-wrap: anywhere; }
.ig-cin__t:empty::before { content: attr(data-ph); color: var(--ig-sub); }
.ig-cin__go { color: var(--ig-blue); font-weight: 600; opacity: .4; transition: opacity .2s ease; }
.ig-cin.is-focus .ig-cin__go { opacity: 1; }

.ig-sug {
    position: absolute; left: 12px; right: 12px; bottom: 56px; z-index: 5;
    margin: 0; padding: 6px 0; list-style: none;
    border-radius: 10px;
    background: var(--ig-bg);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .18), 0 0 0 1px var(--ig-line);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.ig-sug.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
.ig-sug li { display: flex; align-items: center; gap: 10px; padding: 6px 12px; }
.ig-sug li.is-hl, .ig-sug li.is-press { background: var(--ig-soft); }
.ig-sug .ig-tx { display: flex; flex-direction: column; min-width: 0; }
.ig-sug small { font-size: 11.5px; }

/* Gönderi anketi */
.ig-poll {
    position: absolute; left: 50%; top: 50%; z-index: 2;
    display: flex; flex-direction: column; gap: 7px;
    width: 236px; max-width: 82%;
    padding: 12px;
    border-radius: 14px;
    background: #fff; color: #262626;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
    transform: translate(-50%, -50%);
    font-family: var(--ig-font);
}
.ig-poll > b { color: #262626; font-size: 13.5px; text-align: center; }
.ig-poll__o { position: relative; display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 12px; border-radius: 9px; background: #efefef; overflow: hidden; font-size: 12.5px; font-weight: 600; transition: transform .15s ease; }
.ig-poll__o i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); background: #d9d9d9; transform: scaleX(0); transform-origin: left center; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.ig-poll__o.is-sel i { background: #ffd1df; }
.ig-poll__o em, .ig-poll__o small { position: relative; font-style: normal; }
.ig-poll__o small { color: #262626; opacity: 0; transition: opacity .3s ease; }
.ig-poll.is-on .ig-poll__o i { transform: scaleX(1); }
.ig-poll.is-on .ig-poll__o small { opacity: 1; }
.ig-poll__n { text-align: center; font-size: 11px; color: #737373 !important; }
.ig-poll__n b { color: #737373; font-weight: 600; }

/* Paylaş menüsü */
.ig-sheet {
    position: absolute; inset: 0; z-index: 8;
    display: grid; place-items: center;
    background: rgba(0, 0, 0, .55);
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility 0s linear .25s;
}
.ig-sheet.is-on { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.ig-sheet__box { width: 352px; max-width: 94%; border-radius: 12px; background: var(--ig-bg); color: var(--ig-text); overflow: hidden; transform: scale(1.04); transition: transform .3s ease; }
.ig-sheet.is-on .ig-sheet__box { transform: none; }
.ig-sheet__h { position: relative; display: flex; align-items: center; justify-content: center; height: 42px; border-bottom: 1px solid var(--ig-line); }
.ig-sheet__h b { font-size: 14px; }
.ig-sheet__h i { position: absolute; right: 14px; color: var(--ig-ink); }
.ig-sheet__q { display: flex; align-items: center; gap: 8px; margin: 10px 14px 4px; padding: 7px 12px; border-radius: 8px; background: var(--ig-soft); color: var(--ig-sub); font-size: 12.5px; }
.ig-sheet__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 4px; padding: 8px 10px 10px; }
.ig-fr { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.ig-fr .ig-av { width: 46px; height: 46px; font-size: 17px; }
.ig-fr small { max-width: 100%; font-size: 11px; color: var(--ig-text) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-fr__ok { position: absolute; top: 30px; left: calc(50% + 12px); font-size: 16px; color: var(--ig-blue); background: var(--ig-bg); border-radius: 50%; opacity: 0; transform: scale(.5); transition: opacity .2s ease, transform .25s ease; }
.ig-fr.is-sel .ig-fr__ok { opacity: 1; transform: none; }
.ig-sheet__foot { border-top: 1px solid var(--ig-line); }
.ig-sheet__opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 10px 6px; }
.ig-opt { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; text-align: center; }
.ig-opt i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ig-soft); color: var(--ig-ink); font-size: 15px; }
.ig-opt small { font-size: 10.5px; line-height: 1.2; color: var(--ig-text) !important; }
.ig-opt.is-press i, .ig-opt.is-hl i { background: var(--ig-blue); color: #fff; }
.ig-sheet--note .ig-fr:nth-child(n+5) { display: none; }
.ig-sheet__send, .ig-sheet__notego { display: none; align-items: center; gap: 10px; padding: 10px 14px; }
.ig-sheet__msg { flex: 1 1 auto; color: var(--ig-sub); font-size: 12.5px; }
.ig-sheet.is-pick .ig-sheet__opts, .ig-sheet.is-note .ig-sheet__opts { display: none; }
.ig-sheet.is-pick .ig-sheet__send { display: flex; }
.ig-sheet.is-note .ig-sheet__notego { display: flex; }
.ig-sheet__notego .ig-bbtn { flex: 1 1 auto; }
.ig-note { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 14px 2px; }
.ig-note__me { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 38px; }
.ig-note__me .ig-av { width: 50px; height: 50px; }
.ig-note__bub {
    position: absolute; top: 0; left: 50%;
    min-width: 92px; max-width: 290px;
    padding: 7px 12px;
    border-radius: 16px;
    background: var(--ig-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15), 0 0 0 1px var(--ig-line);
    font-size: 12px; text-align: center; white-space: nowrap;
    transform: translateX(-50%);
    transition: box-shadow .2s ease;
}
.ig-note__bub.is-focus { box-shadow: 0 0 0 2px var(--ig-blue); }
.ig-note__t:empty::before { content: attr(data-ph); color: var(--ig-sub); }
.ig-note > small { font-size: 11px; }

/* Repost notu */
.ig-rp {
    position: absolute; right: 16px; bottom: 112px; z-index: 6;
    display: flex; flex-direction: column; gap: 10px;
    width: 304px;
    padding: 14px;
    border-radius: 14px;
    background: var(--ig-bg);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .22), 0 0 0 1px var(--ig-line);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.ig-rp.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
.ig-rp__h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ig-rp__h i { color: var(--ig-green); font-size: 16px; }
.ig-rp__h small { width: 100%; font-size: 11.5px; }
.ig-rp__row { display: flex; align-items: center; gap: 10px; }
.ig-rp__in { flex: 1 1 auto; min-width: 0; min-height: 34px; padding: 8px 12px; border-radius: 16px; background: var(--ig-soft); font-size: 12.5px; transition: box-shadow .2s ease; }
.ig-rp__in.is-focus { box-shadow: 0 0 0 2px var(--ig-blue); }
.ig-rp__in span:empty::before { content: attr(data-ph); color: var(--ig-sub); }
.ig-rp .ig-bbtn { align-self: flex-end; }

/* ---------- Profil ---------- */
.ig-prof__main { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; padding: 20px 34px 0; overflow: hidden; }
.ig-prof__head {
    display: grid;
    grid-template-columns: 116px auto minmax(0, 1fr);
    grid-template-areas: "ava user btns" "ava stats stats" "ava bio bio";
    column-gap: 26px; row-gap: 9px;
    align-items: center;
}
.ig-prof__ava { grid-area: ava; align-self: start; display: flex; justify-content: center; padding-top: 2px; }
.ig-prof__user { grid-area: user; display: inline-flex; align-items: center; gap: 6px; }
.ig-prof__user b { font-size: 19px; font-weight: 400; }
.ig-prof__btns { grid-area: btns; display: flex; gap: 8px; }
.ig-prof__stats { grid-area: stats; display: flex; gap: 30px; font-size: 14px; color: var(--ig-text); }
.ig-prof__stats b { font-weight: 600; }
.ig-prof__bio { grid-area: bio; display: flex; flex-direction: column; gap: 1px; font-size: 13px; }
.ig-prof__bio > small { font-size: 12.5px; }
.ig-follow .ig-follow__on { display: none; }
.ig-follow.is-on { background: var(--ig-soft); color: var(--ig-ink); }
.ig-follow.is-on .ig-follow__off { display: none; }
.ig-follow.is-on .ig-follow__on { display: inline-flex; align-items: center; gap: 6px; }
.ig-follow__on i { font-size: 10px; }
.ig-chanl { display: flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 7px; padding: 7px 12px; border-radius: 12px; background: var(--ig-soft); transition: transform .15s ease, box-shadow .2s ease; }
.ig-chanl > i:first-child { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ig-blue); color: #fff; font-size: 12px; }
.ig-chanl span { display: flex; flex-direction: column; }
.ig-chanl small { font-size: 11px; }
.ig-chanl > i:last-child { font-size: 11px; color: var(--ig-sub); }
.ig-chanl.is-hl { box-shadow: 0 0 0 2px var(--ig-blue); }
.ig-hls { display: flex; gap: 26px; flex: 0 0 auto; padding: 18px 6px 12px; }
.ig-hl { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ig-hl__r { padding: 3px; border-radius: 50%; box-shadow: 0 0 0 1px var(--ig-line); }
.ig-hl__i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--c); color: #fff; font-size: 18px; }
.ig-hl small { font-size: 11.5px; font-weight: 600; color: var(--ig-text) !important; }
.ig-tabs { display: flex; justify-content: center; gap: 46px; flex: 0 0 auto; border-top: 1px solid var(--ig-line); }
.ig-tabs span { display: inline-flex; align-items: center; gap: 6px; padding: 12px 0; color: var(--ig-sub); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ig-tabs em { font-style: normal; }
.ig-tabs .is-cur { color: var(--ig-ink); box-shadow: inset 0 1px 0 var(--ig-ink); }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; width: 100%; max-width: 560px; margin: 0 auto; }
.ig-tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; transition: transform .15s ease; }
.ig-tile .ig-art--ico { font-size: 28px; }
.ig-tile__m { position: absolute; top: 7px; right: 7px; color: #fff; font-size: 13px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .4)); }
.ig-tile__lk { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .28); color: #fff; font-size: 30px; opacity: 0; transition: opacity .25s ease; }
.ig-tile__lk.is-on { opacity: 1; }
.ig-tile__lk.is-on i { color: #fff; animation: lws-pop .45s cubic-bezier(.2, .9, .3, 1.4); }
.igv--prof.is-grid .ig-hls { display: none; }
.ig-lb { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; background: rgba(0, 0, 0, .62); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
.ig-lb.is-on { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.ig-lb__card { width: 280px; max-width: 90%; border-radius: 10px; background: var(--ig-bg); overflow: hidden; }
.ig-lb__h { display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 12px; }
.ig-lb__h i { margin-left: auto; color: var(--ig-ink); }
.ig-lb__art { position: relative; height: 230px; }
.ig-lb__acts { display: flex; align-items: center; gap: 16px; padding: 10px 12px; font-size: 20px; color: var(--ig-ink); }
.ig-lb__acts i:last-child { margin-left: auto; }

/* ---------- Arama ---------- */
.ig-srch__drawer { display: flex; flex-direction: column; flex: 0 0 340px; min-width: 0; border-right: 1px solid var(--ig-line); box-shadow: 4px 0 18px rgba(0, 0, 0, .06); }
.ig-srch__h { padding: 18px 18px 14px; font-size: 22px; font-weight: 700 !important; }
.ig-srch__in { display: flex; align-items: center; gap: 8px; height: 40px; margin: 0 16px 14px; padding: 0 14px; border-radius: 8px; background: var(--ig-soft); font-size: 14px; color: var(--ig-text); transition: box-shadow .2s ease; }
.ig-srch__in > span { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-srch__in > span:empty::before { content: attr(data-ph); color: var(--ig-sub); }
.ig-srch__in i { color: #c7c7c7; font-size: 13px; }
.ig-srch__in.is-focus { box-shadow: 0 0 0 1px var(--ig-sub); }
.ig-srch__recent, .ig-srch__res { display: flex; flex-direction: column; margin: 0; padding: 10px 0 0; list-style: none; border-top: 1px solid var(--ig-line); }
.ig-srch__recent > small { display: flex; justify-content: space-between; padding: 6px 18px 8px; font-size: 14px; font-weight: 600; color: var(--ig-ink) !important; }
.ig-srch__recent em { font-style: normal; font-size: 12.5px; color: var(--ig-blue); }
.ig-srch__drawer.is-on .ig-srch__recent { display: none; }
.ig-srch__drawer:not(.is-on) .ig-srch__res { display: none; }
.ig-srch__drawer.is-on .ig-srch__res li { animation: ig-in .35s ease backwards; }
.ig-srch__res li:nth-child(2) { animation-delay: .05s !important; }
.ig-srch__res li:nth-child(3) { animation-delay: .1s !important; }
.ig-srch__res li:nth-child(4) { animation-delay: .15s !important; }
.ig-srch__res li:nth-child(5) { animation-delay: .2s !important; }
.ig-srow { display: flex; align-items: center; gap: 12px; padding: 7px 18px; transition: background .2s ease; }
.ig-srow .ig-av { width: 44px; height: 44px; font-size: 17px; }
.ig-srow .ig-ring .ig-av { width: 40px; height: 40px; font-size: 15px; }
.ig-srow .ig-tx { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.ig-srow .ig-tx small { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-srow > i { color: var(--ig-sub); }
.ig-srow.is-hl, .ig-srow.is-press { background: var(--ig-soft); }
.ig-srch__bg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 3px; flex: 1 1 auto; min-width: 0; padding: 18px; opacity: .45; }
.ig-srch__bg .ig-tile { aspect-ratio: auto; }

/* ---------- Hikâye görüntüleyici (her zaman koyu) ---------- */
.ig-sv {
    position: relative;
    display: flex; align-items: center; justify-content: center; gap: 34px;
    flex: 1 1 auto; min-height: 0;
    border-radius: 12px;
    background: #1a1a1a;
    color: #fff;
    font-family: var(--ig-font);
    font-size: 13px;
    overflow: hidden;
}
.ig-sv b { color: #fff; font-weight: 600; }
.ig-sv__logo { position: absolute; left: 16px; top: 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; }
.ig-sv__logo i { font-size: 20px; }
.ig-sv__x { position: absolute; right: 16px; top: 15px; font-size: 18px; }
.ig-sv__side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; flex: 0 0 auto; width: 116px; height: 206px; border-radius: 8px; background: var(--sbg); opacity: .5; }
.ig-sv__side .ig-av { width: 44px; height: 44px; font-size: 16px; box-shadow: 0 0 0 2px var(--sbg), 0 0 0 4px var(--ig-ring); }
.ig-sv__side small { color: rgba(255, 255, 255, .75); font-size: 11px; }
.ig-story { position: relative; flex: 0 0 auto; height: calc(100% - 22px); aspect-ratio: 9 / 16; border-radius: 9px; background: #262626; overflow: hidden; }
.ig-story__bars { position: absolute; left: 8px; right: 8px; top: 8px; z-index: 3; display: flex; gap: 3px; }
.ig-story__bars i { flex: 1 1 0; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .38); overflow: hidden; }
.ig-story__bars b { display: block; height: 100%; background: #fff; transform-origin: left center; }
.ig-story__head { position: absolute; left: 10px; right: 10px; top: 18px; z-index: 3; display: flex; align-items: center; gap: 7px; font-size: 12px; }
.ig-story__head .ig-av { width: 26px; height: 26px; font-size: 11px; }
.ig-story__head small { color: rgba(255, 255, 255, .75); }
.ig-story__ic { display: inline-flex; gap: 9px; margin-left: auto; font-size: 11px; }
.ig-slide { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 54px 16px 64px; background: var(--sbg); text-align: center; opacity: 0; transition: opacity .3s ease; }
.ig-slide.is-cur { opacity: 1; }
.ig-story--poll .ig-slide { justify-content: flex-start; padding-top: 64px; }
.ig-slide small { color: rgba(255, 255, 255, .8); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; }
.ig-slide b { font-size: 17px; font-weight: 800; line-height: 1.2; }
.ig-slide__ic { margin-top: 10px; font-size: 40px; color: rgba(255, 255, 255, .85); }
.ig-swatch { display: flex; gap: 10px; margin-top: 10px; }
.ig-swatch i { width: 34px; height: 46px; border-radius: 40% 40% 30% 30%; background: var(--c); }
.ig-story__foot { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 4; display: flex; align-items: center; gap: 12px; }
.ig-sin { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; min-height: 36px; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 18px; font-size: 12px; transition: border-color .2s ease, background .2s ease; }
.ig-sin__t { flex: 1 1 auto; min-width: 0; color: #fff; overflow-wrap: anywhere; }
.ig-sin__t:empty { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-sin__t:empty::before { content: attr(data-ph); color: rgba(255, 255, 255, .85); }
.ig-sin__go { display: none; flex: 0 0 auto; font-weight: 700 !important; }
.ig-story__foot.is-focus .ig-sin { border-color: #fff; background: rgba(0, 0, 0, .25); }
.ig-story__foot.is-focus .ig-sin__go { display: inline; }
.ig-story__foot.is-focus .ig-sheart, .ig-story__foot.is-focus .ig-splane { display: none; }
.ig-sheart, .ig-splane { flex: 0 0 auto; font-size: 20px; color: #fff; }
.ig-sheart.is-on { color: var(--ig-red); }
.ig-qr { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(0, 0, 0, .82); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
.ig-qr.is-on { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.ig-qr small { color: rgba(255, 255, 255, .85); font-size: 11.5px; font-weight: 600; }
.ig-qr__g { display: grid; grid-template-columns: repeat(4, 38px); gap: 12px 10px; font-size: 27px; text-align: center; }
.ig-qr__g span { transition: transform .15s ease; }
.ig-qr__g span.is-press { transform: scale(1.35); }
.ig-fly { position: absolute; left: 50%; bottom: 70px; z-index: 6; font-size: 40px; transform: translateX(-50%); animation: ig-fly 1.1s ease-out forwards; pointer-events: none; }
@keyframes ig-fly { 0% { opacity: 0; transform: translate(-50%, 20px) scale(.6); } 25% { opacity: 1; transform: translate(-50%, 0) scale(1.15); } 100% { opacity: 0; transform: translate(-50%, -150px) scale(1); } }
.ig-toast--s { bottom: 58px; font-size: 11.5px; }
.ig-spoll { position: absolute; left: 50%; top: 56%; z-index: 2; display: flex; flex-direction: column; gap: 8px; width: 82%; transform: translate(-50%, -50%); text-align: center; }
.ig-spoll > b { padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .35); font-size: 13px; font-weight: 700; }
.ig-spoll__row { display: grid; grid-template-columns: 1fr 1fr; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); }
.ig-spoll__o { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 52px; color: #262626; font-family: var(--ig-font); transition: transform .15s ease, background .2s ease; }
.ig-spoll__o + .ig-spoll__o { border-left: 1px solid #efefef; }
.ig-spoll__o em { font-style: normal; font-size: 15px; font-weight: 800; color: #0095f6; }
.ig-spoll__o + .ig-spoll__o em { color: #e1306c; }
.ig-spoll__o small { display: none; font-size: 12px; font-weight: 700; color: #262626 !important; }
.ig-spoll.is-on .ig-spoll__o small { display: block; }
.ig-spoll.is-on .ig-spoll__o em { font-size: 12px; }
.ig-spoll__o.is-sel { background: #f0f7ff; }
.ig-hud { z-index: 4; font-family: 'Inter', sans-serif; }
.ig-sv .ig-hud b { color: var(--ink); }
.ig-sv .ig-hud .ohs-hud__time b { color: inherit; }
.ig-hud .ohs-hud__time { background: var(--lws-brand-soft); color: #c2185b; }
:root[data-theme="dark"] .ig-hud .ohs-hud__time { color: #ff8db4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .ig-hud .ohs-hud__time { color: #ff8db4; } }
.ig-hud--story { position: relative; right: auto; bottom: auto; flex: 0 0 auto; width: 176px; }
.ig-marks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.ig-marks span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 6px; background: var(--ok-bg); color: var(--ok-fg); font-size: 10.5px; font-weight: 700; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.ig-marks span.is-off { background: var(--surface-2); color: var(--muted-2); }
.ig-marks span.is-snap { animation: lws-pop .45s cubic-bezier(.2, .9, .3, 1.4); }
.ig-hud__bar { display: block; height: 5px; margin-top: 10px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ig-hud__bar i { display: block; height: 100%; background: #e1306c; transform-origin: left center; }

/* ---------- Hikâye düzenleyici ---------- */
.ig-se { padding-left: 270px; }
.ig-se__panel {
    position: absolute; left: 18px; top: 18px; bottom: 18px; z-index: 5;
    width: 240px;
    padding: 14px;
    border-radius: 12px;
    background: #262626;
    box-shadow: 0 0 0 1px #363636;
    transition: box-shadow .2s ease, opacity .25s ease;
    overflow: hidden;
}
.ig-se__panel.is-on { box-shadow: 0 0 0 2px #0095f6; }
.ig-se__music { display: none; }
.ig-se__panel.is-music .ig-se__tray { display: none; }
.ig-se__panel.is-music .ig-se__music { display: block; }
.ig-se__ph { display: block; margin-bottom: 10px; font-size: 14px; text-align: center; }
.ig-se__q { display: flex; align-items: center; gap: 8px; height: 34px; margin-bottom: 12px; padding: 0 12px; border-radius: 9px; background: #363636; color: #a8a8a8; font-size: 12.5px; }
.ig-se__q span { color: #fff; white-space: nowrap; }
.ig-se__q span:empty::before { content: attr(data-ph); color: #a8a8a8; }
.ig-stk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.ig-stk__t { display: flex; align-items: center; justify-content: center; gap: 5px; height: 38px; border-radius: 9px; background: #fff; color: var(--c); font-size: 11.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; transition: transform .15s ease; }
.ig-songs { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ig-songs li { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 8px; transition: background .2s ease; }
.ig-songs li.is-hl, .ig-songs li.is-press { background: #363636; }
.ig-songs__a { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 6px; background: var(--c); color: #fff; font-size: 14px; }
.ig-songs li > span:nth-child(2) { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.ig-songs small { color: #a8a8a8; font-size: 11.5px; }
.ig-songs li > i { color: #a8a8a8; }
.ig-story--edit { background: #2f5d8a; }
.ig-story--music { background: #f2a65a; }
.ig-se__x { position: absolute; left: 12px; top: 12px; z-index: 3; font-size: 17px; }
.ig-se__tools { position: absolute; right: 10px; top: 10px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 13px; font-size: 16px; }
.ig-se__tools b { font-size: 14px; font-weight: 800 !important; }
.ig-se__tools i { transition: transform .15s ease; }
.ig-se__bar { position: absolute; left: 8px; right: 8px; bottom: 10px; z-index: 3; display: flex; align-items: center; gap: 6px; }
.ig-se__your { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 4px; border-radius: 16px; background: rgba(0, 0, 0, .55); font-size: 12px; transition: transform .15s ease; }
.ig-se__your .ig-av { width: 24px; height: 24px; box-shadow: 0 0 0 2px #fff; }
.ig-se__cf { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #1fa855; font-size: 12px; }
.ig-se__go { display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto; border-radius: 50%; background: #fff; color: #000; font-size: 13px; }
.ig-se__card { position: absolute; left: 14%; right: 14%; top: 30%; z-index: 1; border-radius: 10px; background: #fff; overflow: hidden; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); transform: rotate(-3deg); }
.ig-se__ch { display: flex; align-items: center; gap: 6px; padding: 7px 8px; color: #262626; font-size: 11px; }
.ig-se__ch b { color: #262626 !important; }
.ig-se__ch .ig-av { width: 20px; height: 20px; font-size: 9px; }
.ig-se__card .ig-art { position: relative; display: block; height: 118px; }
.ig-hash { position: absolute; left: 50%; top: 16%; z-index: 2; padding: 7px 12px; border-radius: 8px; background: #fff; color: #e1306c; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); opacity: 0; transform: translateX(-50%) rotate(-4deg) scale(.7); transition: opacity .25s ease, transform .35s cubic-bezier(.2, .9, .3, 1.3); }
.ig-hash.is-on { opacity: 1; transform: translateX(-50%) rotate(-4deg); }
.ig-sunset { position: absolute; inset: 0; }
.ig-sun { position: absolute; left: 50%; top: 40%; width: 90px; height: 90px; border-radius: 50%; background: #fff1d6; transform: translateX(-50%); }
.ig-sea { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: #2f5d8a; }
.ig-sea::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: #f6c58f; }
.ig-msk { position: absolute; left: 50%; top: 22%; z-index: 2; display: flex; align-items: center; gap: 8px; width: 78%; padding: 8px; border-radius: 10px; background: #fff; color: #262626; box-shadow: 0 8px 20px rgba(0, 0, 0, .22); opacity: 0; transform: translateX(-50%) scale(.7); transition: opacity .25s ease, transform .35s cubic-bezier(.2, .9, .3, 1.3); }
.ig-msk.is-on { opacity: 1; transform: translateX(-50%); }
.ig-msk__a { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 6px; background: #f2a65a; color: #fff; }
.ig-msk__t { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.ig-msk__t b { color: #262626 !important; font-size: 12.5px; }
.ig-msk__t small { color: #737373; font-size: 11px; }
.ig-eq { display: flex; align-items: flex-end; gap: 2px; height: 16px; }
.ig-eq i { width: 3px; height: 100%; border-radius: 2px; background: #e1306c; animation: ig-eq 1s ease-in-out infinite; }
.ig-eq i:nth-child(2) { animation-delay: .2s; }
.ig-eq i:nth-child(3) { animation-delay: .4s; }
@keyframes ig-eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.ig-eq i { transform-origin: bottom center; }

/* ---------- Reels ---------- */
.ig-reels__stage { position: relative; display: flex; align-items: stretch; justify-content: center; gap: 14px; flex: 1 1 auto; min-width: 0; padding: 0; }
.ig-reel { position: relative; height: 100%; aspect-ratio: 9 / 16; background: #241b14; color: #fff; overflow: hidden; }
.ig-reel__art { position: absolute; inset: 0; }
.ig-reel__art { background: #2a211b; }
.ig-lamp { position: absolute; right: 14%; top: 9%; width: 40px; height: 40px; border-radius: 50%; background: #f0b46a; opacity: .6; }
.ig-shelf { position: absolute; left: 0; right: 0; top: 30%; height: 4px; background: #4a3a2e; }
.ig-jar { position: absolute; bottom: 70%; width: 12%; background: #5d4a3c; border-radius: 40% 40% 20% 20%; }
.ig-jar--a { left: 12%; height: 9%; }
.ig-jar--b { left: 28%; width: 9%; height: 6%; background: #6f8aa6; }
.ig-wheel { position: absolute; left: 50%; bottom: 27%; width: 82%; max-width: 230px; height: 30px; transform: translateX(-50%); border-radius: 50%; background: #6b5544; box-shadow: 0 7px 0 #3f3128; }
.ig-clay { position: absolute; left: 50%; bottom: 31%; width: 86px; height: 92px; margin-left: -43px; border-radius: 42% 42% 24% 24% / 30% 30% 18% 18%; background: #b9825a; overflow: hidden; }
.ig-clay::before { content: ''; position: absolute; left: 22%; right: 22%; top: 0; height: 10%; border-radius: 0 0 50% 50%; background: #8c5d3c; }
.ig-hand { position: absolute; bottom: calc(31% + 26px); width: 34px; height: 24px; border-radius: 40% 60% 60% 40% / 50%; background: #d9a27a; }
.ig-hand--l { left: 50%; margin-left: -66px; transform: rotate(-14deg); }
.ig-hand--r { left: 50%; margin-left: 32px; transform: scaleX(-1) rotate(-14deg); }
.ig-clay::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: rgba(255, 255, 255, .16); animation: ig-spin 1.2s linear infinite; }
@keyframes ig-spin { to { transform: translateX(480%); } }
.ig-reel__mute { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .45); font-size: 12px; }
.ig-reel__cap { position: absolute; left: 12px; right: 12px; bottom: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.ig-reel__u { display: flex; align-items: center; gap: 8px; }
.ig-reel__u .ig-av { width: 28px; height: 28px; }
.ig-reel__u b { color: #fff !important; font-size: 12.5px; }
.ig-reel__fb { padding: 3px 9px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 7px; font-size: 11.5px; font-weight: 600; }
.ig-reel__t, .ig-reel__au { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-reel__au { font-size: 11.5px; color: rgba(255, 255, 255, .85); }
.ig-reel__pb { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .25); }
.ig-reel__pb i { display: block; height: 100%; background: #fff; transform-origin: left center; }
.ig-burst { position: absolute; left: 50%; top: 42%; z-index: 3; font-size: 74px; color: #fff; opacity: 0; transform: translate(-50%, -50%) scale(.4); pointer-events: none; }
.ig-burst.is-on { animation: ig-burst .9s ease forwards; }
@keyframes ig-burst { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); } 25% { opacity: .95; transform: translate(-50%, -50%) scale(1.15); } 60% { opacity: .95; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -70%) scale(.9); } }
.ig-reel__acts { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 15px; flex: 0 0 auto; padding-bottom: 6px; color: var(--ig-ink); }
.ig-ract { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 600; transition: transform .15s ease; }
.ig-ract i { font-size: 21px; }
.ig-ract b { color: inherit; font-weight: 600; }
.ig-ract__au .ig-av { width: 26px; height: 26px; border-radius: 6px; font-size: 10px; box-shadow: 0 0 0 2px var(--ig-ink); }
.ig-rcp {
    position: absolute; right: 0; top: 0; bottom: 0; z-index: 5;
    display: flex; flex-direction: column;
    width: 210px;
    border-left: 1px solid var(--ig-line);
    background: var(--ig-bg);
    opacity: 0; visibility: hidden; transform: translateX(16px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.ig-rcp.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s ease; }
.ig-rcp__h { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--ig-line); }
.ig-rcp__h i { color: var(--ig-ink); }
.ig-rcp .ig-cmts { padding: 12px; gap: 12px; }
.ig-rcp .ig-cmt .ig-av { width: 26px; height: 26px; font-size: 11px; }
.ig-rcp .ig-cmt__t { font-size: 12px; }
.ig-rcp .ig-cin { padding: 8px 12px; gap: 8px; min-height: 44px; }
.ig-rcp .ig-cin__t { font-size: 12px; }
.ig-hud--reel { left: 92px; right: auto; bottom: 30px; width: 196px; }

/* ---------- Yayın kanalı ---------- */
.ig-chan__list { display: flex; flex-direction: column; flex: 0 0 236px; min-width: 0; padding: 18px 0 0; border-right: 1px solid var(--ig-line); }
.ig-chan__lh { padding: 0 18px; font-size: 16px; font-weight: 700 !important; }
.ig-chan__lh i { font-size: 11px; }
.ig-chan__ls { padding: 16px 18px 8px; font-size: 14px; font-weight: 700; color: var(--ig-ink) !important; }
.ig-crow { display: flex; align-items: center; gap: 11px; padding: 8px 18px; }
.ig-crow .ig-av { width: 44px; height: 44px; font-size: 16px; }
.ig-crow .ig-tx { display: flex; flex-direction: column; min-width: 0; }
.ig-crow small { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-crow.is-cur { background: var(--ig-soft); }
.ig-chan__main { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.ig-chan__h { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; height: 60px; padding: 0 16px; border-bottom: 1px solid var(--ig-line); }
.ig-chan__h .ig-tx { display: flex; flex-direction: column; min-width: 0; margin-right: auto; }
.ig-chan__h small { font-size: 12px; }
.ig-chan__h small b { color: inherit; font-weight: 600; }
.ig-chan__h > i { font-size: 18px; color: var(--ig-ink); }
.ig-chan__msgs { position: relative; display: flex; flex-direction: column; justify-content: flex-end; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.ig-chan__track { display: flex; flex-direction: column; gap: 12px; padding: 12px 16px; transition: transform 1.4s cubic-bezier(.45, 0, .2, 1); }
.ig-cmsg { display: flex; align-items: flex-end; gap: 8px; }
.ig-cmsg .ig-av { width: 26px; height: 26px; font-size: 10px; margin-bottom: 22px; }
.ig-cmsg__b { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; max-width: 78%; }
.ig-bub { padding: 8px 13px; border-radius: 18px; background: var(--ig-soft); color: var(--ig-text); font-size: 13px; }
.ig-bub--img { position: relative; width: 150px; height: 112px; padding: 0; overflow: hidden; }
.ig-rx { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--ig-bg); box-shadow: 0 0 0 1px var(--ig-line); color: var(--ig-sub); font-size: 11px; font-weight: 600; transition: transform .15s ease, box-shadow .2s ease; }
.ig-rx i { font-size: 10px; color: var(--ig-red); }
.ig-rx b { color: inherit; font-weight: 600; }
.ig-rx.is-on { box-shadow: 0 0 0 1px var(--ig-blue); background: rgba(0, 149, 246, .1); color: var(--ig-blue); }
.ig-c20 { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; padding: 5px 11px; border-radius: 99px; background: var(--ig-soft); color: var(--ig-text); font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .25s ease; }
.ig-c20 em { font-style: normal; }
.ig-c20.is-on { opacity: 1; }
.ig-c20 i { color: var(--ig-red); }
.ig-c20 b { color: var(--ig-ink); font-variant-numeric: tabular-nums; }
.ig-chan__foot { flex: 0 0 auto; padding: 10px 16px 12px; border-top: 1px solid var(--ig-line); }
.ig-join { width: 100%; height: 38px; }
.ig-joined { display: none; align-items: center; justify-content: center; gap: 7px; height: 38px; color: var(--ig-sub); font-size: 12px; text-align: center; }
.ig-joined i { color: var(--ig-green); font-size: 14px; }
.ig-chan__foot.is-on .ig-join { display: none; }
.ig-chan__foot.is-on .ig-joined { display: flex; }
.ig-chan__main .ig-toast { bottom: 64px; }

/* ---------- Akış (rastgele 5 etkileşim) ---------- */
.ig-feed { position: relative; flex: 0 0 350px; min-width: 0; overflow: hidden; border-right: 1px solid var(--ig-line); }
.ig-feed__track { display: flex; flex-direction: column; gap: 14px; padding: 8px 14px; transition: transform 1s cubic-bezier(.6, 0, .25, 1); will-change: transform; }
.ig-fp { display: flex; flex-direction: column; border-bottom: 1px solid var(--ig-line); padding-bottom: 10px; }
.ig-fp__h { display: flex; align-items: center; gap: 8px; height: 44px; font-size: 12.5px; }
.ig-fp__h small { font-size: 12px; }
.ig-fp__h > i { margin-left: auto; color: var(--ig-ink); }
.ig-fp__art { position: relative; height: 200px; border-radius: 4px; overflow: hidden; }
.ig-fp__acts { display: flex; align-items: center; gap: 15px; padding: 9px 0 5px; font-size: 20px; color: var(--ig-ink); }
.ig-fp__acts i { transition: transform .15s ease; }
.ig-fa--save { margin-left: auto; }
.ig-fp__l, .ig-fp__c { margin: 0; font-size: 12.5px; }
.ig-fp__c { margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-fp__mine { white-space: normal; }
.ig-fp__mine:not(.is-on) { display: none; }
.ig-fp__mine.is-on { animation: ig-in .4s ease; }
.ig-fp__in { display: flex; align-items: center; gap: 8px; min-height: 26px; margin-top: 4px; font-size: 12.5px; transition: box-shadow .2s ease; }
.ig-fp__in > span { flex: 1 1 auto; min-width: 0; color: var(--ig-text); }
.ig-fp__in > span:empty::before { content: attr(data-ph); color: var(--ig-sub); }
.ig-fp__in .ig-ph { color: var(--ig-sub); }
.ig-fp__in b { color: var(--ig-blue) !important; opacity: .4; }
.ig-fp__in.is-focus b { opacity: 1; }
.ig-feed__chip { position: absolute; left: 50%; top: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(38, 38, 38, .92); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translate(-50%, -6px); transition: opacity .2s ease, transform .2s ease; }
.ig-feed__chip.is-on { opacity: 1; transform: translate(-50%, 0); }
.ig-feed__chip b { color: #fff !important; }
.ig-feed__side { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; min-width: 0; padding: 20px 20px 0; }
.ig-fs__me, .ig-fs__r { display: flex; align-items: center; gap: 10px; }
.ig-fs__me .ig-av { width: 40px; height: 40px; }
.ig-fs__me .ig-tx, .ig-fs__r .ig-tx { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.ig-fs__h { margin-top: 6px; font-size: 12.5px; font-weight: 600; }
.ig-fs__r small { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-fs__r em { color: var(--ig-blue); font-style: normal; font-size: 12px; font-weight: 600; }
.ig-hud--feed { right: 30px; bottom: 30px; width: 214px; }
.ig-chk { display: flex; flex-direction: column; gap: 5px; margin: 9px 0 0; padding: 0; list-style: none; }
.ig-chk li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); transition: color .2s ease; }
.ig-chk li > i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--surface-2); font-size: 10.5px; }
.ig-chk li span { flex: 1 1 auto; }
.ig-chk li em { color: var(--muted-2); font-size: 13px; opacity: .35; transition: opacity .2s ease, color .2s ease; }
.ig-chk li.is-on { color: var(--ink); }
.ig-chk li.is-on > i { background: var(--lws-brand-soft); color: #e1306c; }
.ig-chk li.is-on em { color: var(--ok-fg); opacity: 1; animation: lws-pop .45s cubic-bezier(.2, .9, .3, 1.4); }

/* ---------- Son ekran: istatistik ---------- */
.ig-ins { gap: 12px; }
.ig-mx { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); padding: 10px 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.ig-mx__c { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 0 4px; text-align: center; }
.ig-mx__c + .ig-mx__c { border-left: 1px solid var(--line); }
.ig-mx__c i { font-size: 15px; color: var(--muted-2); }
.ig-mx__c b { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 16px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.ig-mx__c small { max-width: 100%; font-size: 10.5px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-mx__c.is-hl i { color: #e1306c; }
.ig-mx__c.is-hl b { color: var(--ok-fg); }

/* =====================================================================
   MOBİL (≤620px): görünüm ~302 × 396
   ===================================================================== */
@media (max-width: 620px) {
    .igv { gap: 10px; }
    .ig-rail { display: none; }
    .ig-plus { right: 12px; top: 10px; }

    /* Gönderi: üstten alta (başlık, görsel, eylemler, son yorumlar, yorum kutusu) */
    .ig-post { display: flex; flex-direction: column; }
    .ig-post__side { display: contents; }
    .ig-post__head { order: 1; height: 46px; padding: 0 12px; border-bottom: 0; }
    .ig-post__who small { display: none; }
    .ig-post__media { order: 2; flex: 1 1 auto; min-height: 120px; }
    .ig-acts { order: 3; gap: 13px; padding: 8px 12px 2px; border-top: 0; }
    .ig-act i { font-size: 20px; }
    .ig-act { font-size: 12px; }
    .ig-post__meta { display: none; }
    .ig-post .ig-cmts { order: 4; flex: 0 0 auto; max-height: 86px; gap: 8px; padding: 6px 12px; }
    .ig-post .ig-cmt .ig-av { width: 24px; height: 24px; font-size: 10px; }
    .ig-post .ig-cmt__t { font-size: 12px; }
    .ig-post .ig-cmt__b small { font-size: 10.5px; }
    .ig-cmt--cap { display: none; }
    .ig-cin { order: 5; min-height: 42px; padding: 6px 12px; }
    .ig-cin__t { font-size: 12px; }
    .ig-sug { left: 8px; right: 8px; bottom: 48px; }
    .ig-rp { left: 10px; right: 10px; bottom: 96px; width: auto; padding: 12px; }
    .ig-poll { width: 200px; padding: 9px; gap: 5px; }
    .ig-poll > b { font-size: 12px; }
    .ig-poll__o { height: 27px; font-size: 11.5px; }
    .ig-sheet { place-items: end center; }
    .ig-sheet__box { width: 100%; max-width: 100%; border-radius: 14px 14px 0 0; }
    .ig-sheet__grid { gap: 6px 2px; padding: 6px 6px 8px; }
    .ig-fr .ig-av { width: 40px; height: 40px; font-size: 15px; }
    .ig-fr__ok { top: 25px; left: calc(50% + 10px); }
    .ig-note__bub { max-width: 270px; white-space: normal; }

    /* Profil (mobil uygulama düzeni) */
    .ig-prof__main { padding: 12px 12px 0; }
    .ig-prof__head {
        grid-template-columns: 74px minmax(0, 1fr);
        grid-template-areas: "user user" "ava stats" "bio bio" "btns btns";
        column-gap: 14px; row-gap: 8px;
    }
    .ig-prof__user b { font-size: 16px; font-weight: 700; }
    .ig-ring--lg .ig-av { width: 62px; height: 62px; font-size: 23px; }
    .ig-prof__ava { padding-top: 0; }
    .ig-prof__stats { justify-content: space-around; gap: 6px; font-size: 12px; }
    .ig-prof__stats > span { display: flex; flex-direction: column; align-items: center; color: var(--ig-text); }
    .ig-prof__stats b { font-size: 15px; }
    .ig-prof__bio { font-size: 12px; }
    .ig-prof__bio > span:not(.ig-chanl) { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
    .ig-prof__btns { gap: 6px; }
    .ig-prof__btns .ig-btn { flex: 1 1 0; height: 30px; padding: 0 8px; font-size: 12.5px; }
    .ig-prof__btns .ig-btn--ico { flex: 0 0 34px; }
    .ig-hls { gap: 14px; padding: 12px 2px 10px; }
    .ig-hl__i { width: 46px; height: 46px; font-size: 15px; }
    .ig-hl:nth-child(5) { display: none; }
    .ig-hl small { font-size: 10.5px; }
    .ig-tabs { justify-content: space-around; gap: 0; }
    .ig-tabs span { padding: 10px 0; font-size: 15px; }
    .ig-tabs em { display: none; }
    .ig-grid { gap: 2px; }
    .ig-tile .ig-art--ico { font-size: 22px; }
    .ig-tile__lk { font-size: 24px; }
    .ig-lb__art { height: 200px; }

    /* Arama */
    .ig-srch__drawer { flex: 1 1 auto; border-right: 0; box-shadow: none; }
    .ig-srch__bg { display: none; }
    .ig-srch__h { padding: 14px 14px 10px; font-size: 19px; }
    .ig-srch__in { margin: 0 12px 10px; height: 36px; font-size: 13px; }
    .ig-srow { padding: 6px 14px; gap: 10px; }
    .ig-srow .ig-av { width: 40px; height: 40px; }
    .ig-srow .ig-ring .ig-av { width: 36px; height: 36px; }
    .ig-srow .ig-tx small { font-size: 11.5px; }

    /* Hikâye: tam ekran */
    .ig-sv { gap: 0; border-radius: 12px; }
    .ig-sv__logo, .ig-sv__x, .ig-sv__side { display: none; }
    .ig-story { height: 100%; width: 100%; aspect-ratio: auto; border-radius: 0; }
    .ig-slide b { font-size: 19px; }
    .ig-hud--story { position: absolute; left: 10px; right: 10px; bottom: 56px; width: auto; padding: 8px 10px; }
    .ig-hud--story .ohs-hud__head { display: none; }
    .ig-hud--story .ig-marks { margin-top: 0; justify-content: center; }
    .ig-spoll { top: 52%; }

    /* Hikâye düzenleyici: tepsi tuvalin üstünde açılır */
    .ig-se { padding-left: 0; }
    .ig-se__panel { left: 10px; right: 10px; top: auto; bottom: 52px; width: auto; height: 250px; opacity: 0; pointer-events: none; }
    .ig-se__panel.is-on { opacity: 1; }
    .ig-se__card { left: 20%; right: 20%; }

    /* Reels: oynatıcı tam ekran, eylemler videonun üstünde */
    .ig-reels__stage { gap: 0; }
    .ig-reel { width: 100%; height: 100%; aspect-ratio: auto; }
    .ig-reel__acts { position: absolute; right: 8px; bottom: 54px; z-index: 2; gap: 10px; padding: 0; color: #fff; }
    .ig-ract i { font-size: 20px; }
    .ig-ract:nth-child(3), .ig-ract:nth-child(6) { display: none; }
    .ig-ract__au .ig-av { box-shadow: 0 0 0 2px #fff; }
    .ig-reel__cap { right: 56px; bottom: 14px; }
    .ig-reel__mute { top: auto; bottom: 14px; display: none; }
    .ig-hud--reel { left: 22px; right: 22px; top: 60px; bottom: auto; width: auto; padding: 8px 10px; }
    .ig-hud--reel .ohs-hud__head { padding-bottom: 6px; }
    .ig-hud--reel .ohs-hud__who small { display: none; }
    .ig-hud--reel .ig-marks { margin-top: 7px; }
    .ig-hud--reel .ig-hud__bar { margin-top: 7px; }
    .ig-rcp { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 62%; border-left: 0; border-top: 1px solid var(--ig-line); border-radius: 14px 14px 0 0; transform: translateY(20px); }

    /* Kanal: yalnız sohbet */
    .ig-chan__list { display: none; }
    .ig-chan__h { height: 54px; padding: 0 12px; gap: 9px; }
    .ig-c20 em { display: none; }
    .ig-c20 { padding: 4px 9px; }
    .ig-chan__track { padding: 10px 12px; gap: 10px; }
    .ig-bub { font-size: 12px; padding: 7px 11px; }
    .ig-bub--img { width: 130px; height: 96px; }
    .ig-joined { font-size: 11px; height: 36px; }
    .ig-chan__foot { padding: 8px 12px 10px; }

    /* Akış */
    .ig-feed { flex: 1 1 auto; border-right: 0; }
    .ig-feed__track { padding: 4px 12px; }
    .ig-fp__art { height: 176px; }
    .ig-feed__side, .ig-hud--feed { display: none; }

    /* İstatistik */
    .ig-mx { padding: 8px 2px; }
    .ig-mx__c { padding: 0 2px; }
    .ig-mx__c b { font-size: 13px; }
    .ig-mx__c i { font-size: 13px; }
    .ig-mx__c small { font-size: 9.5px; }
}
