[data-theme="dark"] {
    --red: #EF4444;
    --red-d: #DC2626;
    --red-gl: rgba(239,68,68,.28);
    --red-s: rgba(239,68,68,.1);
    --ora: #F59E0B;
    --ora-s: rgba(245,158,11,.1);
    --yel: #FBBF24;
    --yel-s: rgba(251,191,36,.1);
    --grn: #22C55E;
    --grn-b: #34D399;
    --grn-s: rgba(34,197,94,.1);
    --blu: #3B82F6;
    --blu-b: #60A5FA;
    --blu-s: rgba(59,130,246,.1);
    --pur: #A855F7;
    --pur-s: rgba(168,85,247,.1);
    --bg: #09090B;
    --s1: #18181B;
    --s2: #1F1F23;
    --s3: #27272A;
    --brd: #2E2E33;
    --brd-l: #232328;
    --tx: #FAFAFA;
    --tx2: #D4D4D8;
    --tx3: #A1A1AA;
    --tx4: #71717A;
    --tx5: #52525B;
    --bar-bg: rgba(9,9,11,.9);
    --ring-track: rgba(255,255,255,.06);
    --gauge-g1: #EF4444;
    --gauge-g2: #F59E0B;
    --shadow: 0 1px 3px rgba(0,0,0,.4);
    --tier-c: #FBBF24;
    --tier-brd: rgba(251,191,36,.2);
    --bonus-c: #FBBF24
}

[data-theme="light"] {
    --red: #DC2626;
    --red-d: #B91C1C;
    --red-gl: rgba(220,38,38,.14);
    --red-s: rgba(220,38,38,.06);
    --ora: #D97706;
    --ora-s: rgba(217,119,6,.06);
    --yel: #B45309;
    --yel-s: rgba(180,83,9,.06);
    --grn: #16A34A;
    --grn-b: #22C55E;
    --grn-s: rgba(22,163,74,.06);
    --blu: #2563EB;
    --blu-b: #3B82F6;
    --blu-s: rgba(37,99,235,.06);
    --pur: #7C3AED;
    --pur-s: rgba(124,58,237,.06);
    --bg: #F8FAFC;
    --s1: #FFFFFF;
    --s2: #F1F5F9;
    --s3: #E2E8F0;
    --brd: #E2E8F0;
    --brd-l: #F1F5F9;
    --tx: #0F172A;
    --tx2: #334155;
    --tx3: #64748B;
    --tx4: #94A3B8;
    --tx5: #CBD5E1;
    --bar-bg: rgba(255,255,255,.9);
    --ring-track: rgba(0,0,0,.06);
    --gauge-g1: #DC2626;
    --gauge-g2: #D97706;
    --shadow: 0 1px 3px rgba(0,0,0,.06);
    --tier-c: #92400E;
    --tier-brd: rgba(180,83,9,.2);
    --bonus-c: #92400E
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

    *, *::before, *::after {
        transition: background-color .3s,border-color .3s,color .22s,box-shadow .3s
    }

body {
    font-family: 'Manrope',sans-serif;
    background: var(--bg);
    color: var(--tx);
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-bottom: 88px
}

.crd {
    background: var(--s1);
    border: 1px solid var(--brd);
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin: 0 16px 12px
}

.crd-p {
    padding: 16px
}

.hdr {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bar-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--brd-l);
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none
}

.logo-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg,var(--red),var(--red-d));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 3px 10px var(--red-gl)
}

.logo-t {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -.4px;
    color: var(--tx)
}

    .logo-t span {
        color: var(--red)
    }

.hdr-r {
    display: flex;
    gap: 6px
}

.hdr-b {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--brd);
    background: var(--s1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tx3);
    font-size: .95rem;
    cursor: pointer;
    position: relative
}

    .hdr-b:active {
        background: var(--s2);
        transform: scale(.94)
    }

.hdr-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    border: 1.5px solid var(--s1)
}

/* ── Üst bar kullanıcı menüsü ──────────────────────────────── */
.hdr-user {
    position: relative
}

.hdr-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 190px;
    background: var(--s1);
    border: 1px solid var(--brd);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.97);
    transform-origin: top right;
    transition: opacity .18s,transform .18s,visibility .18s;
    z-index: 200
}

.hdr-user.open .hdr-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1)
}

.hdr-menu-i {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: .86rem;
    font-weight: 600;
    color: var(--tx2);
    text-decoration: none;
    white-space: nowrap
}

    .hdr-menu-i i {
        font-size: 1rem;
        color: var(--tx4);
        width: 18px;
        text-align: center
    }

    .hdr-menu-i:hover, .hdr-menu-i:active {
        background: var(--s2);
        color: var(--tx)
    }

    .hdr-menu-i.danger {
        color: var(--red)
    }

        .hdr-menu-i.danger i {
            color: var(--red)
        }

        .hdr-menu-i.danger:hover {
            background: var(--red-s)
        }

.hdr-b.thm {
    overflow: hidden
}

.thm .is, .thm .im {
    position: absolute;
    transition: transform .4s cubic-bezier(.4,0,.2,1),opacity .25s
}

[data-theme="dark"] .is {
    transform: scale(1);
    opacity: 1
}

[data-theme="dark"] .im {
    transform: scale(0) rotate(-90deg);
    opacity: 0
}

[data-theme="light"] .is {
    transform: scale(0) rotate(90deg);
    opacity: 0
}

[data-theme="light"] .im {
    transform: scale(1);
    opacity: 1
}

.stories {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 14px 16px 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch
}

    .stories::-webkit-scrollbar {
        display: none
    }

.story {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    cursor: pointer;
    width: 68px
}

.story-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(var(--red),var(--ora),var(--yel),var(--red))
}

    .story-ring.seen {
        background: var(--brd);
        opacity: .5
    }

.story-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--s2);
    border: 2.5px solid var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem
}

.story-name {
    font-size: .58rem;
    font-weight: 700;
    color: var(--tx3);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 68px
}

    .story-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%
    }

/* ── Story Viewer (tam ekran) ─────────────────────────────────── */
.story-viewer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: #000;
    display: none;
    flex-direction: column
}

    .story-viewer.open {
        display: flex
    }

.sv-progress {
    display: flex;
    gap: 4px;
    padding: 10px 12px 6px;
    position: relative;
    z-index: 3
}

.sv-bar {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: rgba(255,255,255,.3);
    overflow: hidden
}

    .sv-bar span {
        display: block;
        height: 100%;
        width: 0;
        background: #fff;
        border-radius: 3px
    }

.sv-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 16px 8px;
    position: relative;
    z-index: 3
}

.sv-title {
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.sv-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0
}

.sv-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative
}

.sv-media {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.sv-zone {
    position: absolute;
    top: 60px;
    bottom: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    -webkit-tap-highlight-color: transparent
}

.sv-prev {
    left: 0;
    width: 35%
}

.sv-next {
    right: 0;
    width: 65%
}

.gauge-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0 0
}

.gauge-svg {
    width: 200px;
    height: 120px;
    margin-bottom: -4px
}

.gauge-track {
    fill: none;
    stroke: var(--ring-track);
    stroke-width: 10;
    stroke-linecap: round
}

.gauge-fill {
    fill: none;
    stroke: url(#gaugeGrad);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    animation: gf 1.5s .4s ease forwards
}

@keyframes gf {
    to {
        stroke-dashoffset: var(--gauge-offset, 77)
    }
}

.gauge-center {
    text-align: center;
    margin-top: -18px
}

.gauge-pts {
    font-family: 'JetBrains Mono',monospace;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1
}

.gauge-sub {
    font-size: .7rem;
    color: var(--tx4);
    font-weight: 500;
    margin-top: 2px
}

.gauge-tl {
    font-size: .78rem;
    color: var(--tx3);
    margin-top: 2px
}

    .gauge-tl strong {
        color: var(--ora)
    }

/* ── TL Bakiye (500 puan → TL çevrimi) ─────────────────────────────── */
.tlw {
    display: flex;
    align-items: center;
    gap: 12px
}

.tlw-ic {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg,var(--grn-b),var(--grn));
    box-shadow: 0 3px 10px rgba(34,197,94,.25)
}

.tlw-nfo {
    flex: 1;
    min-width: 0
}

.tlw-lbl {
    font-size: .68rem;
    font-weight: 600;
    color: var(--tx4);
    text-transform: uppercase;
    letter-spacing: .3px
}

.tlw-val {
    font-family: 'JetBrains Mono',monospace;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.5px;
    line-height: 1.15;
    color: var(--grn-b)
}

    .tlw-val span {
        font-size: .9rem;
        margin-left: 1px
    }

.tlw-tag {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--grn-s);
    color: var(--grn-b);
    border: 1px solid rgba(34,197,94,.18);
    padding: 5px 9px;
    border-radius: 50px;
    font-size: .62rem;
    font-weight: 700;
    white-space: nowrap
}

    .tlw-tag i {
        font-size: .7rem
    }

.tlw-note {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--brd-l);
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .68rem;
    color: var(--tx4)
}

    .tlw-note i {
        color: var(--grn-b);
        font-size: .85rem;
        flex-shrink: 0
    }

    .tlw-note strong {
        color: var(--tx3)
    }

.spark-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 16px 12px
}

.spark {
    background: var(--s1);
    border: 1px solid var(--brd);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 14px;
    position: relative;
    overflow: hidden
}

.spark-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start
}

.spark-ic {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem
}

.spark.grn .spark-ic {
    background: var(--grn-s);
    color: var(--grn-b)
}

.spark.rd .spark-ic {
    background: var(--red-s);
    color: var(--red)
}

.spark-badge {
    font-size: .55rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 2px
}

    .spark-badge.up {
        background: var(--grn-s);
        color: var(--grn-b)
    }

    .spark-badge.down {
        background: var(--red-s);
        color: var(--red)
    }

.spark-val {
    font-family: 'JetBrains Mono',monospace;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 10px;
    line-height: 1
}

.spark-label {
    font-size: .62rem;
    color: var(--tx4);
    font-weight: 600;
    margin-top: 3px
}

.spark-line {
    margin-top: 10px;
    height: 28px;
    display: flex;
    align-items: flex-end;
    gap: 2px
}

.spark-bar {
    flex: 1;
    border-radius: 2px 2px 0 0;
    min-height: 3px;
    transition: height .6s ease
}

.spark.grn .spark-bar {
    background: var(--grn-b);
    opacity: .5
}

.spark.rd .spark-bar {
    background: var(--red);
    opacity: .4
}

.sh {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.sh-t {
    font-size: .92rem;
    font-weight: 800;
    letter-spacing: -.2px
}

.sh-l {
    font-size: .72rem;
    color: var(--red);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px
}

.fuel-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-top: 12px;
    scrollbar-width: none
}

    .fuel-scroll::-webkit-scrollbar {
        display: none
    }

.fp {
    min-width: 120px;
    background: var(--s2);
    border: 1px solid var(--brd-l);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden
}

    .fp::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px
    }

    .fp.fb::after {
        background: var(--red)
    }

    .fp.fd::after {
        background: var(--blu)
    }

    .fp.fl::after {
        background: var(--grn)
    }

.fp-icon {
    font-size: 1.5rem;
    margin-bottom: 6px
}

.fp-type {
    font-size: .6rem;
    color: var(--tx4);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px
}

.fp-val {
    font-family: 'JetBrains Mono',monospace;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 3px 0
}

.fp.fb .fp-val {
    color: var(--red)
}

.fp.fd .fp-val {
    color: var(--blu-b)
}

.fp.fl .fp-val {
    color: var(--grn-b)
}

.fuel-ts {
    font-size: .6rem;
    color: var(--tx5);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px
}

.ldot {
    width: 5px;
    height: 5px;
    background: var(--grn);
    border-radius: 50%;
    animation: pp 2s infinite
}

@keyframes pp {
    0%, 100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.txi {
    display: flex;
    align-items: center;
    padding: 12px 0;
    gap: 12px;
    border-bottom: 1px solid var(--brd-l)
}

    .txi:last-child {
        border-bottom: none
    }

.txi-ic {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    flex-shrink: 0
}

    .txi-ic.earn {
        background: var(--grn-s);
        color: var(--grn-b)
    }

.txi-nfo {
    flex: 1;
    min-width: 0
}

.txi-nm {
    font-weight: 700;
    font-size: .82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.txi-mt {
    font-size: .65rem;
    color: var(--tx4);
    margin-top: 1px
}

.txi-am {
    font-family: 'JetBrains Mono',monospace;
    font-weight: 700;
    font-size: .85rem;
    text-align: right;
    flex-shrink: 0
}

    .txi-am.plus {
        color: var(--grn-b)
    }

    .txi-am small {
        display: block;
        font-family: 'Manrope',sans-serif;
        font-size: .56rem;
        color: var(--tx4);
        font-weight: 500
    }

.n-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--s2);
    border: 1px solid var(--brd-l);
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    margin-top: 10px
}

    .n-item:first-child {
        margin-top: 12px
    }

    .n-item:active {
        background: var(--s3);
        transform: scale(.99)
    }

.n-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem
}

    .n-thumb.c1 {
        background: var(--blu-s);
        color: var(--blu)
    }

    .n-thumb.c2 {
        background: var(--grn-s);
        color: var(--grn)
    }

    .n-thumb.c3 {
        background: var(--red-s);
        color: var(--red)
    }

    .n-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px
    }

    /* Görsel dosyası bulunamadı (wwwroot/js/resim-yok.js, 09.10.2026): kutu zaten renkli → yer tutucu çerçevesiz, tam boy,
       haberin kendi ikonu (data-resim-yok="@h.IkonSinifi") ve .n-thumb'ın satır içi rengi → "görsel yok" ile aynı görünüm */
    .n-thumb .resim-yok {
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
        padding: 0;
        border: 0;
        border-radius: 10px;
        background: transparent;
        color: inherit
    }

        .n-thumb .resim-yok i {
            font-size: 1.3rem
        }

.n-body {
    flex: 1;
    min-width: 0
}

.n-date {
    font-size: .58rem;
    color: var(--tx5);
    font-weight: 600
}

.n-h {
    font-size: .78rem;
    font-weight: 700;
    margin-top: 2px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.tab-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: var(--bar-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--brd);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 5px 0 calc(5px + env(safe-area-inset-bottom));
    z-index: 1000
}

.tb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 5px 12px;
    color: var(--tx4);
    font-size: .56rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    position: relative
}

    .tb i {
        font-size: 1.15rem
    }

    .tb.on {
        color: var(--red)
    }

        .tb.on::before {
            content: '';
            position: absolute;
            top: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background: var(--red);
            border-radius: 0 0 3px 3px
        }

.tb-qr {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--red),var(--red-d));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    margin-top: -22px;
    box-shadow: 0 4px 14px var(--red-gl);
    border: 3px solid var(--bg);
    cursor: pointer
}

    .tb-qr:active {
        transform: scale(.9)
    }

@keyframes fu {
    from {
        opacity: 0;
        transform: translateY(14px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.an {
    animation: fu .4s ease forwards;
    opacity: 0
}

.d1 {
    animation-delay: .03s
}

.d2 {
    animation-delay: .06s
}

.d3 {
    animation-delay: .09s
}

.d4 {
    animation-delay: .12s
}

.d5 {
    animation-delay: .15s
}

.d6 {
    animation-delay: .18s
}

.d7 {
    animation-delay: .21s
}

.d8 {
    animation-delay: .24s
}

.dl3 {
    animation-delay: .12s
}

.slider-block {
    background: var(--s1);
    border: 1px solid var(--brd);
    border-radius: 14px;
    box-shadow: var(--shadow);
    margin: 0 16px 12px;
    padding: 16px 0 12px;
    overflow: hidden
}

.slider-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    margin-bottom: 12px
}

.stitle {
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: -.2px
}

.slink {
    font-size: .75rem;
    color: var(--red);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px
}

.s-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px 2px;
    scrollbar-width: none
}

    .s-track::-webkit-scrollbar {
        display: none
    }

.slide {
    min-width: 272px;
    max-width: 272px;
    height: 148px;
    border-radius: 12px;
    scroll-snap-align: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer
}

    .slide:active {
        transform: scale(.98)
    }

.sl-bg {
    position: absolute;
    inset: 0
}

    .sl-bg.g1 {
        background: linear-gradient(135deg,#E53935,#FF5722,#FF9800)
    }

    .sl-bg.g2 {
        background: linear-gradient(135deg,#1565C0,#2196F3,#4FC3F7)
    }

    .sl-bg.g3 {
        background: linear-gradient(135deg,#7B1FA2,#CE93D8,#F48FB1)
    }

    .sl-bg.g4 {
        background: linear-gradient(135deg,#2E7D32,#4CAF50,#81C784)
    }

    .sl-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 80% 20%,rgba(255,255,255,.15),transparent 50%)
    }

.sl-inner {
    position: relative;
    z-index: 2;
    padding: 16px 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff
}

.sl-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0,0,0,.22);
    backdrop-filter: blur(6px);
    padding: 3px 9px;
    border-radius: 50px;
    font-size: .58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    width: fit-content
}

    .sl-tag i {
        font-size: .62rem
    }

.sl-h {
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 1px 6px rgba(0,0,0,.15)
}

.sl-p {
    font-size: .72rem;
    opacity: .85;
    font-weight: 600;
    margin-top: 2px
}

.sl-emoji {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    opacity: .18
}

.sl-ikon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: #fff;
    opacity: .22
}

.sdots {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 10px 0 2px
}

.sd {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tx4);
    cursor: pointer;
    transition: all .3s
}

    .sd.on {
        width: 20px;
        border-radius: 10px;
        background: var(--red)
    }

.dl2 {
    animation-delay: .08s
}

/* ── KARŞILAMA KARTI (ESKİ — 10.10.2026'da kaldırıldı) ──────────────────────────────
   İki satırlı kart (ad + "Hoş geldiniz!" + Araçlarım düğmesi) yerine barın altında TEK satır geldi:
   işaretleme _Layout.cshtml (#karsilama), stil wwwroot/css/karsilama.css. Aşağıdaki kurallar artık
   hiçbir view'da kullanılmıyor (.cp yalnız bu karttaydı); geri dönüş için yorumda duruyor
   (YEDEK/2026-10-10_karsilama-tek-satir). Mokap: MOKAP/baslik-karsilama.html (A seçeneği).

.greet-row {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.greet-t h2 {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2
}

.greet-t p {
    font-size: .72rem;
    color: var(--tx4);
    font-weight: 500;
    margin-top: 1px
}

.crd .cp {
    padding: 10px 16px
}

.veh-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--s2);
    border: 1px solid var(--brd);
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: .7rem;
    font-weight: 700;
    color: var(--tx2)
}

    .veh-btn i:first-child {
        color: var(--red);
        font-size: .9rem
    }

    .veh-btn:active {
        background: var(--s3);
        transform: scale(.97)
    }
   ─────────────────────────────────────────────────────────────────────────────── */

/* ── KAMPANYA / DUYURU DETAY SAYFASI ──────────────────────────────── */
.kd-top {
    padding: 12px 16px 0
}

/* Sayfa altındaki "Geri Dön" (Diğer ... bölümünün hemen üstünde) */
.kd-geri {
    margin: 6px 16px 14px
}

.geri-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--s1);
    border: 1px solid var(--brd);
    border-radius: 50px;
    padding: 7px 14px 7px 10px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--tx2);
    text-decoration: none;
    box-shadow: var(--shadow);
    cursor: pointer
}

    .geri-btn i {
        font-size: .95rem;
        color: var(--red)
    }

    .geri-btn:active {
        background: var(--s2);
        transform: scale(.97)
    }

.kd-hero {
    position: relative;
    margin: 12px 16px;
    border-radius: 16px;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    box-shadow: var(--shadow)
}

.kd-hero-bg {
    position: absolute;
    inset: 0
}

.kd-hero-inner {
    position: relative;
    z-index: 2;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    width: 100%
}

.kd-hero-h {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.18;
    text-shadow: 0 1px 8px rgba(0,0,0,.25)
}

.kd-hero-p {
    font-size: .85rem;
    font-weight: 600;
    opacity: .92;
    text-shadow: 0 1px 6px rgba(0,0,0,.2)
}

.kd-hero-emoji {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 2.6rem;
    opacity: .22;
    z-index: 1
}

/* Hero görseli bulunamadı (resim-yok.js data-resim-yok-arkaplan, 09.10.2026): motorun eklediği ikon .kd-hero-emoji ile aynı
   yerde/boyda durur (görselsiz haber hero'su ile aynı görünüm). Seçici 3 sınıflı: resim-yok.css layout'ta bu dosyadan SONRA
   yüklenir ve .resim-yok.resim-yok-arkaplan-ikon (2 sınıf) ile inset/konum verir — eşit özgüllükte sonraki kazanırdı. */
.kd-hero-bg .resim-yok.resim-yok-arkaplan-ikon {
    inset: auto;
    right: 16px;
    top: 16px;
    opacity: .22;
    color: inherit
}

    .kd-hero-bg .resim-yok.resim-yok-arkaplan-ikon i {
        font-size: 2.6rem
    }

.kd-tarih {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red-s);
    color: var(--red);
    border: 1px solid var(--red-gl);
    border-radius: 50px;
    padding: 5px 12px;
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: 12px
}

.kd-detay {
    font-size: .9rem;
    line-height: 1.6;
    color: var(--tx2);
    white-space: pre-wrap;
    word-break: break-word
}

.kd-detay-bos {
    color: var(--tx4);
    font-style: italic
}

.kd-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    background: var(--red);
    color: #fff;
    border-radius: 12px;
    padding: 13px;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 16px var(--red-gl)
}

    .kd-cta:active {
        transform: scale(.98)
    }

.kd-empty {
    text-align: center;
    color: var(--tx4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px 16px
}

    .kd-empty i {
        font-size: 2rem;
        color: var(--tx5)
    }

/* ══════════════════════════════════════════════════════════════════════════
   UYGULAMA GÖRÜNÜMÜ (app-shell) — 20.07.2026
   ──────────────────────────────────────────────────────────────────────────
   AMAÇ: Müşteri tarafı "web sitesi" değil, telefonda kurulu bir UYGULAMA gibi
   hissettirsin. Kullanıcı sayfada değil, ekranlar arasında geziniyormuş gibi olsun.

   TASARIM KARARI: Bu bölüm var olan hiçbir sınıfı yeniden adlandırmaz ve hiçbir
   modülün yerini değiştirmez — yalnız MEVCUT yapının üstüne dokunma geri bildirimi,
   derinlik ve geçiş davranışı ekler. Böylece 18 müşteri sayfasının HTML'ine
   dokunmadan tüm ekranlar aynı anda "uygulamalaşır".
   Renk paleti KORUNDU: aşağıda tek bir yeni renk yok, hepsi mevcut --token'lar.

   İlgili: Views/Shared/_Layout.cshtml (splash + bildirim modalı markup'ı)
           wwwroot/js/site.js (geçiş yöneticisi, header gölgesi, bildirim modalı)
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 1) DOKUNMA DAVRANIŞI — "tarayıcıdayım" izlerini sil ──────────────────
   Web sitesi hissini en çok bunlar verir: linke basınca çıkan mavi parlama,
   metnin yanlışlıkla seçilip mavi boyanması, linke uzun basınca açılan iOS
   paylaş menüsü. Uygulamalarda bunların hiçbiri olmaz. */
html {
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    background: var(--bg);
    scrollbar-width: none; /* mobil uygulamada kaydırma çubuğu görünmez */
}

    html::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

body {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    /* Aşırı kaydırmada sayfanın arkasındaki "beyaz boşluğun" görünmesini ve
       tarayıcının aşağı çekince yenileme yapmasını engeller (uygulama gibi durur). */
    overscroll-behavior-y: contain;
    /* Alt tab-bar payı + çentikli telefonlarda alt güvenli alan.
       Not: 88px değeri korundu, üstüne yalnız güvenli alan eklendi. */
    padding-bottom: calc(88px + env(safe-area-inset-bottom))
}

/* Okunacak / girilecek metin seçilebilir kalmalı — kullanıcı tutarı, kodu,
   haber metnini kopyalayabilsin. Seçim kilidi yalnız arayüz öğeleri içindir. */
input, textarea, select, [contenteditable="true"],
.kd-detay, .kd-hero-p, .qr-name, .gauge-pts, .tlw-val, .spark-val, .fp-val,
.txi-am, .n-h, .secilebilir {
    -webkit-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
}

/* iOS: font-size < 16px olan bir alana dokununca ekranı ZOOMLAR ve sayfa
   kayar — anında "bu bir web sitesi" hissi. viewport'taki user-scalable=no
   iOS'ta yok sayıldığı için tek kesin çözüm 16px'tir.
   @supports (-webkit-touch-callout) = yalnız iOS; Android/masaüstünde
   mevcut tipografi hiç bozulmasın diye kapsam daraltıldı. */
@supports (-webkit-touch-callout: none) {
    input:not([type=checkbox]):not([type=radio]):not([type=range]),
    select,
    textarea {
        font-size: 16px;
    }
}

/* ── 2) BASMA GERİ BİLDİRİMİ — dokunulan şey "çöksün" ─────────────────────
   Native uygulamada dokunulan her öğe anında tepki verir. Buradaki asıl
   düzeltme transition: mevcut global geçişte "transform" yoktu, bu yüzden
   :active efektleri geri dönerken sıçrıyordu. */
.crd, .spark, .slide, .fp, .n-item, .story, .tb, .tb-qr, .hdr-b, .veh-btn,
.geri-btn, .kd-cta, .hd-tum-btn, .slider-block, .sd, .story-ring {
    transition: transform .16s cubic-bezier(.2,.8,.2,1), background-color .3s, border-color .3s, box-shadow .3s;
}

    .crd:active, .spark:active, .slider-block:active {
        transform: scale(.985);
    }

.fp:active, .story:active {
    transform: scale(.95);
}

.story:active .story-ring {
    transform: scale(.94);
}

/* ── 3) DERİNLİK — kartlar zeminden ayrılsın ──────────────────────────────
   Web'de düz/çizgisel kart, uygulamada hafif yüzen kart görülür. Palet
   değişmedi; yalnız gölgenin yumuşaklığı/yayılımı artırıldı. */
.crd, .spark, .slider-block {
    box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 26px -16px rgba(0,0,0,.16);
}

[data-theme="dark"] .crd,
[data-theme="dark"] .spark,
[data-theme="dark"] .slider-block {
    box-shadow: 0 1px 2px rgba(0,0,0,.45), 0 12px 28px -18px rgba(0,0,0,.9);
}

/* ── 4) ÜST BAR — kaydırınca zeminden ayrılan başlık ──────────────────────
   iOS/Android uygulamalarında başlık çubuğu, içerik altına kayarken gölge
   kazanır. Sınıfı JS ekler (site.js → hdr.scrolled). */
.hdr {
    padding-top: calc(10px + env(safe-area-inset-top));
    transition: box-shadow .25s, background-color .3s, border-color .3s;
}

    .hdr.scrolled {
        box-shadow: 0 6px 24px -14px rgba(0,0,0,.5);
        border-bottom-color: var(--brd);
    }

.logo-box, .hdr-b {
    -webkit-user-select: none;
    user-select: none;
}

/* ── 5) ALT SEKME ÇUBUĞU — native tab bar davranışı ───────────────────────
   Aktif sekmenin ikonu hafif büyüyüp yukarı kalkar, gösterge çizgisi
   yaylanarak gelir. Sekmelerin YERİ ve SIRASI değişmedi. */
.tb {
    min-width: 56px; /* parmak için asgari dokunma alanı */
    -webkit-user-select: none;
    user-select: none;
}

    .tb i {
        transition: transform .24s cubic-bezier(.34,1.56,.64,1);
    }

    .tb.on i {
        transform: translateY(-1px) scale(1.1);
    }

    .tb:active i {
        transform: scale(.86);
    }

    .tb.on::before {
        animation: tbIn .3s cubic-bezier(.34,1.56,.64,1);
    }

@keyframes tbIn {
    from {
        width: 0;
        opacity: 0
    }

    to {
        width: 20px;
        opacity: 1
    }
}

.tab-bar {
    /* Çubuğun kendisi de içerikten gölgeyle ayrılsın (cam etkisi belirginleşir) */
    box-shadow: 0 -8px 24px -18px rgba(0,0,0,.55);
    -webkit-backdrop-filter: blur(20px);
}

/* ── 6) MASAÜSTÜ — 430px'lik gövde "cihaz" gibi dursun ────────────────────
   Geniş ekranda içerik ortada dar bir şerit halinde kalıyordu ve iki yanı
   boş sayfa gibi görünüyordu. Zemin bir ton ayrıştırılıp gövdeye çerçeve +
   gölge verilince, kullanıcı bir uygulama penceresine bakıyormuş hissi alır.
   Mobilde (<=480px) bu blok hiç çalışmaz — telefonda çerçeve olmaz. */
@media (min-width: 481px) {
    html {
        background: var(--s2);
    }

    body {
        border-left: 1px solid var(--brd);
        border-right: 1px solid var(--brd);
        box-shadow: 0 0 60px -12px rgba(0,0,0,.22);
        min-height: 100vh;
    }
    /* .hdr'ye dokunulmadı: sticky olarak body akışında olduğu için gövdeyle
       birlikte zaten 430px'e hizalanıyor. */
}

/* ── 7) EKRAN GEÇİŞİ (SPLASH) — logo yanıp sönen ara ekran ────────────────
   Web'de her tıklama beyaz bir flash + tam sayfa yenilenmesi demektir; bu,
   uygulama hissini bozan en büyük etkendir. Burada araya markanın logosunun
   nabız gibi soluklaştığı bir ara ekran giriyor — kullanıcı "sayfa yenilendi"
   değil "ekran değişiyor" görür.
   GÜVENLİK: varsayılan durum GİZLİ (visibility:hidden + pointer-events:none).
   JS hiç çalışmasa bile ekranı asla kilitlemez; yeni sayfa yüklendiğinde HTML
   sıfırdan geldiği için katman kendiliğinden kapalı başlar. */
.app-splash {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .24s ease, visibility .24s ease;
}

    .app-splash.on {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* GELEN sayfadaki devam katmanı — geçişin ikinci yarısı (bkz. site.js 3b).
       Sınıfı <html>'e _Layout.cshtml <head>'indeki satır içi betik koyar; body'den
       ÖNCE çalışması ŞART, yoksa içerik bir an görünüp kırpışma geri gelir.
       .on ile aynı görünür ama AYRI durur: .on giden sayfanın kendi katmanı,
       .gecis gelen sayfanınki — ikisi ayrı yerden açılıp kapanır.
       Açılışta animasyon YOK (sınıf daha ilk stilde var, geçiş tetiklenmez);
       kapanışta .app-splash'ın .24s opacity geçişi devreye girer. */
    html.gecis .app-splash {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.app-splash-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: splashPulse 1.15s ease-in-out infinite;
}

    .app-splash-logo img {
        height: 62px;
        width: auto;
        display: block;
        border-radius: 14px;
    }

.app-splash-ikon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg,var(--red),var(--red-d));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 8px 24px var(--red-gl);
}

.app-splash-ad {
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -.3px;
    color: var(--tx3);
    animation: splashPulse 1.15s ease-in-out infinite;
}

@keyframes splashPulse {
    0%, 100% {
        opacity: .32;
        transform: scale(.95)
    }

    50% {
        opacity: 1;
        transform: scale(1)
    }
}

/* Hareket azaltma tercihi açık kullanıcıda nabız durur, ara ekran sabit kalır. */
@media (prefers-reduced-motion: reduce) {
    .app-splash-logo, .app-splash-ad {
        animation: none;
        opacity: 1;
    }

    .an {
        animation-duration: .01s;
    }
}

/* ── 8) MODAL AÇILIŞI — uygulama tarzı yaylanma ───────────────────────────
   Bootstrap'in varsayılanı yukarıdan aşağı kayar (web diyaloğu hissi).
   Uygulamalarda diyalog hafifçe büyüyerek ortada belirir. */
.modal.fade .modal-dialog {
    transform: scale(.92) translateY(14px);
    transition: transform .26s cubic-bezier(.34,1.4,.64,1), opacity .2s;
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

.modal-backdrop.show {
    opacity: .62;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

/* ── 9) ORTAK BİLDİRİM MODALI ─────────────────────────────────────────────
   Kural: bildirimler köşede belirip kaybolmaz; ekranın ORTASINDA açılır ve
   yalnız "Tamam" ile kapanır (ESC / dışa tıklama kapatmaz). Ayrıca native
   alert() kutusu "Bu sayfa diyor ki..." yazdığı için uygulamayı anında web
   sitesine çevirir — site.js bu modalı alert'in yerine geçirir.
   Reçete: H:\CLAUDE_MD\bildirim-modali-e2e.md (bu projeye uyarlandı) */
.app-msg-overlay {
    position: fixed;
    inset: 0;
    z-index: 6000; /* splash (5000) ve story viewer (2000) dahil her şeyin üstünde */
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.5);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

    .app-msg-overlay.show {
        display: flex;
        animation: msgFade .18s ease;
    }

@keyframes msgFade {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.app-msg-box {
    background: var(--s1);
    color: var(--tx);
    border: 1px solid var(--brd);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0,0,0,.35);
    width: 330px;
    max-width: 100%;
    padding: 26px 22px 20px;
    text-align: center;
    animation: msgIn .26s cubic-bezier(.34,1.45,.64,1);
}

@keyframes msgIn {
    from {
        transform: scale(.9) translateY(12px);
        opacity: 0
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1
    }
}

.app-msg-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
}

    /* İkon duruma göre ŞEKİL ve RENK değiştirir — kullanıcı okumadan da anlar. */
    .app-msg-icon.basari {
        background: var(--grn-s);
        color: var(--grn-b);
    }

    .app-msg-icon.hata {
        background: var(--red-s);
        color: var(--red);
    }

    .app-msg-icon.uyari {
        background: var(--ora-s);
        color: var(--ora);
    }

    .app-msg-icon.bilgi {
        background: var(--blu-s);
        color: var(--blu-b);
    }

    .app-msg-icon.soru {
        background: var(--blu-s);
        color: var(--blu-b);
    }

.app-msg-text {
    margin: 14px 0 20px;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.5;
    color: var(--tx2);
    -webkit-user-select: text;
    user-select: text;
}

.app-msg-btns {
    display: flex;
    gap: 10px;
}

.app-msg-btn {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-family: inherit;
    font-weight: 700;
    font-size: .92rem;
    cursor: pointer;
    transition: transform .16s cubic-bezier(.2,.8,.2,1), background-color .2s;
}

    .app-msg-btn:active {
        transform: scale(.96);
    }

    /* Buton rengi bildirimin türüyle uyumlu olur. */
    .app-msg-btn.ok {
        background: var(--red);
        color: #fff;
    }

    .app-msg-btn.ok.basari {
        background: var(--grn);
    }

    .app-msg-btn.ok.bilgi,
    /* Onay kutusunun ikonu mavi soru işareti; buton da onunla uyumlu olmalı.
       Tehlikeli onaylarda (ör. silme) çağıran taraf tur='hata' geçer → ikon ve
       buton birlikte kırmızıya döner. Bkz. site.js → onay(..., tur) */
    .app-msg-btn.ok.soru {
        background: var(--blu);
    }

    .app-msg-btn.ok.uyari {
        background: var(--ora);
    }

    .app-msg-btn.vazgec {
        background: var(--s2);
        border-color: var(--brd);
        color: var(--tx2);
    }

/* İşin doğal devamı olan TEK kısayol bağlantısı — "Tamam" daima ana buton
   olarak kalır, kısayol ikinci planda durur. */
.app-msg-kisayol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 12px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--tx3);
    text-decoration: none;
}

/* ── 10) BİLGİ NOTU METİN AKIŞI ───────────────────────────────────────────
   .tlw-note "display:flex" idi: içindeki düz metin ve <strong> parçaları ayrı
   flex item'a dönüşüp aralarına gap giriyordu. Sonuç, ana sayfada
   "Her dolan | 500 puan | otomatik | 150 TL | olarak bakiyene eklenir."
   biçiminde kutulara bölünmüş, satır sonu tutmayan bir cümleydi (nowrap).
   Normal metin akışına alındı; ikon satır içinde kalıyor.
   Kullanıldığı yer: Views/Musteri/Index.cshtml (500 puan → TL bilgilendirmesi). */
.tlw-note {
    display: block;
    line-height: 1.55;
}

    .tlw-note i {
        vertical-align: -1px;
        margin-right: 4px;
    }

/* ── 11) ODAK — klavye kullanıcısı için görünür, dokunmada görünmez ──────── */
:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
    border-radius: 8px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}