/* Rukada tema görseli yoksa şeffaf bırakma — gradient shell.css’te */
html.color-sidebar .sidebar-wrapper,
html.color-sidebar .sidebar-wrapper .sidebar-header {
    background-image: none !important;
}
html.color-sidebar .sidebar-wrapper .metismenu a,
html.color-sidebar .sidebar-wrapper .menu-label,
html.color-sidebar .logo-text,
html.color-sidebar .toggle-icon { color: #fff !important; text-shadow: none !important; }
html.color-sidebar .sidebar-wrapper .metismenu .mm-active > a,
html.color-sidebar .sidebar-wrapper .metismenu a:hover { background: rgba(255,255,255,.14) !important; color: #fff !important; }
.logo-text span { color: #ffe082; }
.logo-bubble, .menu-bubble {
    width: 36px; height: 36px; border-radius: 12px; display: inline-grid; place-items: center;
    color: #fff; background: #2563eb;
    box-shadow: none; filter: none;
}
.logo-bubble.lg { width: 58px; height: 58px; border-radius: 18px; font-size: 28px; }
.logo-bubble i, .menu-bubble i { font-size: 20px; line-height: 1; color: #fff; }
.menu-bubble.c2 { background: #ea580c; }
.menu-bubble.c3 { background: #0f766e; }
.menu-bubble.c4 { background: #db2777; }
.menu-bubble.c5 { background: #4f46e5; }
.menu-bubble.c6 { background: #ca8a04; color: #fff; }
.sidebar-wrapper .metismenu a { display: flex; align-items: center; }
.sidebar-wrapper .metismenu .mm-active > a {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border-radius: 12px;
    box-shadow: none;
}
.sidebar-wrapper .metismenu .menu-title { font-weight: 500; }

/* Mobil menü: net aç/kapa */
.overlay, .nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, .55);
    z-index: 1025;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
@media (max-width: 1024px) {
    .wrapper.toggled .overlay,
    .wrapper.toggled .nav-overlay,
    body.nav-open .overlay,
    body.nav-open .nav-overlay {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 1035 !important;
    }
    .sidebar-wrapper,
    html.color-sidebar .sidebar-wrapper,
    html.color-sidebar.sidebarcolor1 .sidebar-wrapper {
        z-index: 1040 !important;
        box-shadow: none !important;
        filter: none !important;
        left: 0 !important;
        transform: translate3d(-110%, 0, 0) !important;
    }
    .wrapper.toggled .sidebar-wrapper,
    body.nav-open .sidebar-wrapper {
        transform: translate3d(0, 0, 0) !important;
        box-shadow: 8px 0 28px rgba(15, 23, 42, .28) !important;
    }
    body.nav-open { overflow: hidden; }
    .mobile-toggle-menu {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        width: auto !important;
        height: 40px !important;
        padding: 0 12px !important;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
    }
    .mobile-toggle-label { display: inline !important; }
    .nav-close-btn {
        display: inline-grid !important;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
    }
    .sidebar-wrapper .metismenu a,
    .sidebar-logout a {
        -webkit-tap-highlight-color: transparent;
    }
    .menu-bubble, .logo-bubble {
        box-shadow: none !important;
        filter: none !important;
    }
    #menu li.mm-active > a {
        background: rgba(255,255,255,.22) !important;
        color: #fff !important;
    }
}
.user-name { font-weight: 700; font-size: 15px; letter-spacing: .01em; }
.auth-links { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

/* Kayıt / şifre unuttum — Rukada’sız bağımsız düzen */
body.gate.auth-gate {
    margin: 0; min-height: 100vh; overflow-x: hidden;
    background: #e8edf6 !important; color: #0f172a;
    font-family: Outfit, "Plus Jakarta Sans", sans-serif;
}
.auth-shell {
    min-height: 100vh; display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
}
.auth-story {
    position: relative; overflow: hidden; color: #fff !important;
    background: radial-gradient(1100px 700px at 12% 8%, #2a1f6e 0%, transparent 52%),
        radial-gradient(900px 620px at 88% 92%, #0b5f56 0%, transparent 48%),
        linear-gradient(155deg, #0c0a1f 0%, #17124a 38%, #123a7a 78%, #0e4d6e 100%) !important;
    display: flex; align-items: center; padding: 56px 64px;
}
.auth-story .gate-brand, .auth-story .gate-kicker, .auth-story .gate-lead-story,
.auth-story h1, .auth-story .gate-points, .auth-story .gate-points strong,
.auth-story .gate-points span { color: #fff; }
.auth-story .gate-lead-story { color: rgba(255, 213, 106, .95); }
.auth-story .gate-points span { color: rgba(255, 255, 255, .72); }
.auth-story-inner { position: relative; z-index: 1; max-width: 520px; }
.auth-story h1 {
    margin: 14px 0; color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.2; font-weight: 800; letter-spacing: -.03em;
}
.auth-panel {
    display: grid; place-items: start center; padding: 36px 24px 96px;
    overflow: auto; min-width: 0;
}
.auth-card {
    width: min(520px, 100%); box-sizing: border-box; overflow: hidden;
    background: #fff; border-radius: 28px; padding: 28px 28px 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
}
.auth-card *, .auth-card *::before, .auth-card *::after { box-sizing: border-box; }
.auth-card-top {
    display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-bottom: 8px;
}
.auth-card-top a { color: #334155; font-weight: 700; text-decoration: none; font-size: 14px; }
.auth-card-cta {
    display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px;
    background: #ffd56a; color: #3b2200 !important; font-weight: 800 !important;
}
.auth-card-label {
    margin: 14px 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; color: #64748b;
}
.auth-card h2 {
    margin: 0 0 8px; font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; color: #0f172a;
}
.auth-card .muted, .auth-card .fine { color: #64748b; }
.auth-card .field { margin-bottom: 12px; width: 100%; }
.auth-card .field > span, .auth-card .form-label {
    display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: #334155;
}
.auth-card .form-control, .auth-card select, .auth-card input:not([type="checkbox"]) {
    display: block; width: 100%; max-width: 100%; min-height: 48px;
    border-radius: 14px; border: 1px solid #e6ebf4; background: #f8fafc;
    padding: .65rem .9rem; font: inherit; color: #0f172a;
}
.auth-card .form-control:focus, .auth-card select:focus, .auth-card input:focus {
    outline: none; border-color: #6d5efc; background: #fff;
    box-shadow: 0 0 0 4px rgba(109, 94, 252, .14);
}
.auth-card .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-card .btn-primary, .auth-card .btn-block {
    width: 100%; min-height: 50px; border: 0; border-radius: 14px; font-weight: 800;
    background: linear-gradient(90deg, #6a11cb, #2575fc); color: #fff;
    box-shadow: 0 12px 24px rgba(37, 117, 252, .22);
}
.auth-card .pw-wrap { position: relative; width: 100%; }
.auth-card .pw-wrap .form-control { padding-right: 5.5rem; }
.auth-card .pw-toggle {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    border: 0; display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
    background: #eef2ff; border-radius: 999px; padding: 6px 10px;
    color: #1e3a8a; font-weight: 700; font-size: 12px;
}
.auth-card .pw-toggle i { font-family: boxicons !important; font-size: 16px; line-height: 1; }
.auth-card .check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; color: #475569; font-size: 13px; }
.auth-card .check input[type="checkbox"] {
    width: 18px; height: 18px; min-height: 0; margin-top: 2px; flex: 0 0 auto;
}
.auth-card .invite-preview {
    margin: 0 0 12px; padding: .7rem .9rem; border-radius: 12px;
    background: #eef8f3; color: #157d4c; font-weight: 700;
}
.auth-card a { color: #3b5bdb; font-weight: 700; text-decoration: none; }
.auth-gate .site-credit-auth { bottom: 10px; z-index: 30; }
@media (max-width: 960px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-story { min-height: auto; padding: 28px 22px 48px; }
    .auth-story .gate-points { display: none; }
    .auth-panel { padding: 0 16px 88px; margin-top: -28px; }
    .auth-card { padding: 24px 18px 20px; }
    .auth-card .form-grid { grid-template-columns: 1fr; }
}
.invite-card { background: linear-gradient(180deg, #f4f0ff, #fff 42%); }
.invite-code {
    display: inline-block; margin: 8px 0 12px; padding: 10px 16px; border-radius: 12px;
    background: linear-gradient(90deg, #6a11cb, #2575fc); color: #fff; font-size: 1.35rem;
    font-weight: 800; letter-spacing: .12em;
}
.invite-preview { padding: .7rem .9rem; border-radius: 12px; background: #eef8f3; color: #157d4c; font-weight: 700; }
.user-avatar, .user-img.user-avatar {
    width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center;
    overflow: hidden; background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #422006;
    font-weight: 800; flex-shrink: 0;
}
.user-avatar img, .bavatar img, .profile-avatar-preview img, .member-list-avatar img, .member-hero-avatar img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.user-avatar.is-initial, .bavatar.is-initial {
    background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #422006;
}
.bavatar {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    overflow: hidden; background: linear-gradient(135deg, #6a11cb, #2575fc); color: #fff;
    font-weight: 700; margin-bottom: 4px;
}
.bavatar.has-photo { background: #e2e8f0; }
.profile-photo-row { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.profile-avatar-preview {
    width: 96px; height: 96px; border-radius: 24px; overflow: hidden; display: grid; place-items: center;
    background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #422006; font-size: 1.6rem; font-weight: 800;
    box-shadow: 0 10px 24px rgba(15,23,42,.12);
}
.profile-photo-copy { flex: 1; min-width: 220px; }
.profile-photo-copy p { margin: 0 0 10px; color: #64748b; }
.profile-upload-btn {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    padding: 10px 14px; border-radius: 12px; border: 1px dashed #93c5fd; background: #eff6ff;
    color: #1d4ed8; font-weight: 700; margin-bottom: 8px;
}
.profile-upload-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.member-list-avatar {
    width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center;
    overflow: hidden; background: #fbbf24; color: #422006; font-weight: 800; font-size: 12px;
}
.member-hero-who { display: flex; gap: 14px; align-items: center; }
.member-hero-avatar {
    width: 72px; height: 72px; border-radius: 20px; overflow: hidden; display: grid; place-items: center;
    background: rgba(255,255,255,.2); color: #fff; font-size: 1.4rem; font-weight: 800; border: 2px solid rgba(255,255,255,.35);
}
.cart-actions { display: grid; gap: 8px; margin-top: 8px; }
.cart-continue { text-align: center; }
.user-initial {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, #ffd200, #f7971e); color: #3b2200; font-weight: 700;
}
.page-content > .card,
.page-content .two-col > .card,
.page-content .stack > .card,
.page-content form.card,
.page-content section.card { padding: 1.25rem; }
.page-content .card h2, .card-head h2 { font-size: 1.15rem; font-weight: 600; }
.card-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.card-head h2 { margin: 0; }
.section-gap { margin-top: 1rem; }
.hero-card {
    display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap;
    padding: 1.4rem 1.5rem; border: 0; border-radius: 14px; color: #fff; margin-bottom: 1rem;
    background: linear-gradient(120deg, #6a11cb, #2575fc 55%, #11998e);
    box-shadow: 0 12px 28px rgba(37, 117, 252, .25);
}
.hero-card h1 { color: #fff; font-size: 1.8rem; margin: 0 0 .35rem; }
.hero-card .muted, .hero-card .eyebrow, .hero-card p { color: rgba(255,255,255,.88); }
.eyebrow { letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; font-weight: 700; margin-bottom: .25rem; }
.stat-grid, .form-grid, .two-col, .split, .profile-grid, .product-grid { display: grid; gap: 14px; }
.stat-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 1rem; }
.form-grid { grid-template-columns: 1fr 1fr; }
.two-col, .split, .profile-grid { grid-template-columns: 1.4fr .8fr; align-items: start; }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); width: 100%; }
.stat {
    border: 0; border-radius: 12px; padding: 1rem 1.1rem; color: #fff; min-height: 108px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .12);
}
.stat span, .stat em { display: block; color: rgba(255,255,255,.9); font-style: normal; }
.stat strong { display: block; font-size: 1.35rem; margin-top: .3rem; }
.stat em { margin-top: .25rem; font-size: .82rem; }
.stat-grid .stat:nth-child(6n+1) { background: linear-gradient(45deg, #6a11cb, #2575fc); }
.stat-grid .stat:nth-child(6n+2) { background: linear-gradient(45deg, #fc4a1a, #f7b733); }
.stat-grid .stat:nth-child(6n+3) { background: linear-gradient(45deg, #11998e, #38ef7d); }
.stat-grid .stat:nth-child(6n+4) { background: linear-gradient(45deg, #ee0979, #ff6a00); }
.stat-grid .stat:nth-child(6n+5) { background: linear-gradient(45deg, #4776e6, #8e54e9); }
.stat-grid .stat:nth-child(6n+6) { background: linear-gradient(45deg, #f7971e, #ffd200); color: #3b2a00; }
.stat-grid .stat:nth-child(6n+6) span, .stat-grid .stat:nth-child(6n+6) em { color: #4a3708; }
.period-switch { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 1rem; }
.period-switch a {
    text-decoration: none; border-radius: 999px; padding: .45rem .9rem; background: #fff;
    color: #5f6368; border: 1px solid #e6e8ee; font-weight: 600;
}
.period-switch a.is-active { background: linear-gradient(90deg, #6a11cb, #2575fc); color: #fff; border-color: transparent; }
.chip-row, .button-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.badge, .pill { border-radius: 999px; }
.pill, .badge-ok, .badge-warn, .badge-career {
    display: inline-flex; align-items: center; padding: .3rem .7rem; border-radius: 999px; font-weight: 700; font-size: .78rem;
}
.pill-ok, .badge-ok { background: #e7f8ef; color: #157d4c; }
.pill-warn, .badge-warn { background: #fff4e5; color: #b45309; }
.pill-danger { background: #fde8ea; color: #b91c1c; }
.pill-career, .badge-career { background: #fff6d8; color: #92400e; }
.pill-info { background: #e8f1ff; color: #1d4ed8; }
.pill-violet { background: #f3e8ff; color: #6d28d9; }
.pill-muted { background: #f1f3f5; color: #5f6368; }
.field { margin-bottom: 1rem; }
.field > span, .field > .form-label { display: block; margin-bottom: .35rem; font-weight: 500; }
.field input.form-control, .field textarea, .field select, .filter-bar input, .filter-bar select, .search-line input {
    display: block; width: 100%; min-height: 46px; padding: .6rem .85rem; border-radius: .5rem;
    border: 1px solid #d7deea; background: #fff; color: #212529;
}
.field textarea { min-height: 120px; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin: .75rem 0; font-weight: 600; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: #673ab7; }
.btn-ghost { background: #fff; border: 1px solid #d7deea; color: #344054; }
.btn-small { padding: .3rem .7rem; font-size: .82rem; }
.btn-block, .btn-block.btn { width: 100%; }
.btn-copper { background: linear-gradient(90deg, #f7971e, #ffd200); border: 0; color: #3b2a00; font-weight: 700; }
.btn-excel, .dt-buttons .btn-success { background: #157d4c; border-color: #157d4c; color: #fff; }
.btn-pdf, .dt-buttons .btn-danger { background: #e10a1f; border-color: #e10a1f; color: #fff; }
.filter-bar, .toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; margin-bottom: 1rem; }
.filter-bar .field { margin: 0; min-width: 160px; flex: 1; }
.table-wrap { overflow: auto; }
.row-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.row-actions form { margin: 0; }
.product-cell { display: flex; gap: 10px; align-items: center; }
.product-cell > div { display: flex; flex-direction: column; min-width: 0; }
.product-cell small, .fine, .muted, .hint { color: #6c757d; }
.dt-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.dt-buttons .btn { display: inline-flex; align-items: center; gap: 6px; }
.dt-buttons .btn svg { width: 16px; height: 16px; }
.fine { font-size: .85rem; }
.thumb { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; }
.thumb-letter { display: grid; place-items: center; color: #fff; font-weight: 700; background: var(--accent, #2575fc); }
.thumb-stack { display: flex; }
.thumb-stack .thumb { margin-left: -14px; border: 2px solid #fff; }
.thumb-stack .thumb:first-child { margin-left: 0; }
.gallery { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 16px; }
.gallery label { width: 110px; font-size: .8rem; font-weight: 700; }
.gallery img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; }
.empty { padding: 1.5rem; text-align: center; color: #6c757d; }
.plan-list { list-style: none; padding: 0; margin: 0; }
.plan-list li { margin: .5rem 0; padding: .75rem .9rem; border-radius: 12px; background: #f4f7ff; }
.balance { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: #e9eef8; margin: 14px 0 8px; }
.leg-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.leg-side { margin: 0; padding: 16px 18px; border-radius: 18px; background: #f8fafc; }
.leg-side span, .leg-side small { display: block; color: #64748b; font-weight: 700; }
.leg-side strong { display: block; margin: 4px 0; font-size: 2.4rem; letter-spacing: -.04em; line-height: 1; }
.leg-side.is-left { background: linear-gradient(180deg, #ecfdf5, #fff); }
.leg-side.is-left strong { color: #047857; }
.leg-side.is-right { background: linear-gradient(180deg, #fff7ed, #fff); }
.leg-side.is-right strong { color: #c2410c; }
.pool-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.pool-steps article { background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 8px 20px rgba(15, 23, 42, .05); }
.pool-steps span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, #6a11cb, #2575fc); }
.pool-steps strong { display: block; margin: 10px 0 4px; }
.pool-steps p { margin: 0; color: #64748b; }
.price-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 8px 0 16px; }
.balance i { display: block; height: 100%; }
.balance .left { background: linear-gradient(90deg, #11998e, #38ef7d); }
.balance .right { background: linear-gradient(90deg, #fc4a1a, #f7b733); }
.impersonate-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.notice-banner { display: block; text-decoration: none; margin-bottom: 1rem; }
.flash { border-radius: .7rem; padding: .75rem 1rem; margin-bottom: 1rem; }
.flash-error { background: #fde8ea; color: #b91c1c; }
.flash-success { background: #e7f8ef; color: #157d4c; }
.flash-info { background: #e8f1ff; color: #1d4ed8; }
.page-content { width: 100%; max-width: none; }
.shop-hero {
    display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap;
    padding: 1.3rem 1.4rem; border-radius: 16px; color: #fff; margin-bottom: 1rem;
    background: linear-gradient(120deg, #5b2cdb, #2575fc 60%, #11998e);
}
.shop-hero h1, .shop-hero p, .shop-hero .eyebrow { color: #fff; margin: 0; }
.shop-hero .search-line { margin: 0; min-width: min(360px, 100%); }
.category-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.category-row a { text-decoration: none; background: #fff; color: #334155; border-radius: 999px; padding: 8px 14px; font-weight: 700; }
.category-row a.is-on { background: linear-gradient(90deg, #6a11cb, #2575fc); color: #fff; }
.product-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 28px rgba(15,23,42,.08); display: flex; flex-direction: column; }
.product-card img, .product-visual, .product-photo img { width: 100%; height: 220px; object-fit: cover; display: block; }
.product-visual { display: grid; place-items: center; color: #fff; font-size: 2rem; font-weight: 700; background: linear-gradient(160deg, var(--accent, #2575fc), #dbeafe); text-decoration: none; }
.product-body { padding: 1rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.product-body h2 { font-size: 1.15rem; margin: 0; }
.product-body h2 a { text-decoration: none; color: #212529; }
.price { font-weight: 700; color: #2575fc; }
.price small { display: block; color: #6c757d; font-weight: 500; }
.search-line { display: flex; gap: 8px; margin-bottom: 1rem; }
.search-line input { flex: 1; }
.shop-cart { position: sticky; top: 88px; }
.cart-line, .totals div, .cart-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.cart-line { padding: .6rem 0; border-bottom: 1px solid #eef1f6; }
.totals { margin: .8rem 0; }
.qty { width: 78px; }
.cart-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); opacity: 0; visibility: hidden; transition: .2s ease; z-index: 1070; }
.cart-backdrop.is-open, body.cart-open .cart-backdrop { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: #fff; transform: translateX(105%); transition: transform .22s ease; z-index: 1080; overflow: auto; box-shadow: -18px 0 40px rgba(15,23,42,.2); display: flex; flex-direction: column; }
.cart-drawer.is-open { transform: none; }
.cart-drawer-bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.1rem; background: linear-gradient(90deg, #5b2cdb, #2575fc); color: #fff; position: sticky; top: 0; }
.cart-drawer-bar p, .cart-drawer-bar strong { color: #fff; }
.cart-drawer [data-cart-mount] { padding: .4rem 1rem 1.2rem; }
.topbar .navbar { min-width: 0; gap: 16px; }
.topbar .search-bar { width: auto; flex: 1 1 220px; max-width: 420px; min-width: 0; }
.topbar .top-menu { margin-left: auto; flex: 0 0 auto; }
.topbar .top-menu .navbar-nav { flex-wrap: nowrap; gap: 14px !important; }
.topbar .navbar .navbar-nav .nav-item { width: auto; height: auto; }
.topbar .navbar .navbar-nav .nav-link.cart-launch,
.topbar .navbar .navbar-nav a.activity-chip {
    width: auto; height: 44px; min-height: 44px; border-radius: 14px; padding: 0 14px;
    display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex: none;
    background: rgba(255,255,255,.16); color: #fff; line-height: 1.05;
}
.topbar .navbar .navbar-nav .nav-link.position-relative { width: 42px; height: 42px; flex: none; }
.topbar .user-box { flex: none; }
.cart-launch-copy { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.cart-launch-copy small { font-size: 11px; opacity: .85; }
.cart-launch-copy strong { font-size: 14px; font-weight: 800; }
.cart-count {
    position: static; width: 22px; height: 22px; margin: 0; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: #4c1d95; font-size: 12px; font-weight: 800;
}
.cart-line { align-items: flex-start; }
.cart-line img, .cart-letter { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; flex: none; }
.cart-letter { display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(160deg, var(--accent, #2575fc), #6a11cb); }
.cart-meta { flex: 1; min-width: 0; }
.cart-empty { text-align: center; padding: 2.5rem 1rem; color: #64748b; }
.cart-empty i { font-size: 42px; color: #2575fc; }
.qty-step { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.qty-step button { width: 32px; height: 32px; border: 0; border-radius: 10px; background: #eef2ff; font-weight: 800; }
.qty-step .qty { width: 54px; text-align: center; }
.qty-remove { width: auto !important; padding: 0 10px; background: #fee2e2 !important; color: #b91c1c; }
.product-buy { display: flex; gap: 8px; }
.product-buy .qty { width: 74px; }
.product-detail, .checkout-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .85fr); gap: 16px; width: 100%; align-items: start; }
.product-detail > *, .checkout-grid > * { min-width: 0; }
.product-hero { width: 100%; height: 420px; object-fit: cover; border-radius: 16px; }
.bank-card { position: relative; min-height: 168px; border-radius: 18px; padding: 1.1rem 1.2rem; color: #fff; margin-bottom: 1rem; background: linear-gradient(135deg, #312e81, #2563eb 55%, #0f766e); }
.bank-card strong { display: block; margin: 28px 0 18px; font-size: 1.25rem; letter-spacing: .12em; }
.bank-card em { font-style: normal; margin-right: 18px; }
.summary-line, .totals div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eef1f6; }
.summary-line small { display: block; color: #6c757d; }
.totals .grand { font-size: 1.15rem; font-weight: 800; }
.mobile-cart-bar { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; background: linear-gradient(90deg, #6a11cb, #2575fc); color: #fff; text-decoration: none; border-radius: 14px; padding: 14px 16px; justify-content: space-between; font-weight: 700; }
.tree-scroll { overflow-x: auto; padding-bottom: 1rem; }
.btree { min-width: 760px; }
.tree-stage { padding: 0; overflow: hidden; border-radius: 20px; }
.tree-toolbar {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    padding: 12px 14px; border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #f8fafc, #fff);
    position: sticky; top: 0; z-index: 5;
}
.tree-tools { display: inline-flex; align-items: center; gap: 6px; }
.tree-tool {
    width: 38px; height: 38px; border-radius: 12px; border: 1px solid #dbe3f0;
    background: #fff; color: #1e3a8a; display: inline-grid; place-items: center;
    font-size: 18px; cursor: pointer; box-shadow: 0 4px 10px rgba(15,23,42,.04);
}
.tree-tool.is-text { width: auto; padding: 0 12px; font-size: 13px; font-weight: 700; }
.tree-tool:hover { border-color: #93c5fd; background: #eff6ff; }
.tree-zoom-pill {
    min-width: 58px; text-align: center; font-weight: 800; font-size: 13px; color: #0f172a;
    padding: 8px 10px; border-radius: 999px; background: #eef2ff;
}
.tree-hint { color: #64748b; font-size: 12px; font-weight: 600; margin-left: auto; }
.tree-viewport {
    height: min(74vh, 820px); overflow: hidden; cursor: grab; overscroll-behavior: contain;
    background:
        radial-gradient(circle at 18% 16%, rgba(37,117,252,.07), transparent 42%),
        radial-gradient(circle at 82% 84%, rgba(14,165,233,.06), transparent 36%), #fff;
    touch-action: none; position: relative;
}
.tree-viewport:focus { outline: 2px solid rgba(37,117,252,.25); outline-offset: -2px; }
.tree-viewport.is-dragging { cursor: grabbing; }
.tree-canvas {
    transform-origin: 0 0; will-change: transform; padding: 28px 36px 48px;
    display: inline-block; min-width: max-content; user-select: none;
}
@media (max-width: 980px) {
    .tree-viewport { height: min(68vh, 640px); }
    .tree-hint { width: 100%; margin-left: 0; }
}
.bank-mode-picks { display: grid; gap: 10px; margin: 0 0 14px; }
.bank-mode-pick {
    display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px;
    border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; cursor: pointer;
}
.bank-mode-pick:has(input:checked) { border-color: #2575fc; box-shadow: 0 0 0 3px rgba(37,117,252,.12); }
.bank-mode-pick strong { display: block; }
.bank-mode-pick em { color: #64748b; font-style: normal; font-size: 13px; }
.alert-passive {
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
    padding: 16px 18px; border-radius: 18px;
    background: linear-gradient(135deg, #fef2f2, #ffe4e6); border: 1px solid #fda4af;
}
.alert-passive.is-soft { background: linear-gradient(135deg, #fff7ed, #ffedd5); border-color: #fdba74; }
.alert-passive.is-warn { background: linear-gradient(135deg, #fff1f2, #fecdd3); border-color: #fb7185; }
.alert-passive.is-critical {
    background: linear-gradient(135deg, #fff1f2, #ffe4e6); border-color: #e11d48;
    box-shadow: 0 0 0 1px rgba(225,29,72,.12);
}
.alert-passive > div:first-child { display: flex; gap: 12px; align-items: flex-start; flex: 1; }
.alert-passive i { font-size: 28px; color: #be123c; flex-shrink: 0; }
.alert-passive.is-soft i { color: #c2410c; }
.alert-passive.is-warn i, .alert-passive.is-critical i { color: #be123c; }
.alert-passive strong { display: block; color: #9f1239; }
.alert-passive p { margin: 4px 0 0; color: #9f1239; }
.alert-passive .activity-rule-list {
    margin: 10px 0 0; padding-left: 18px; color: #9f1239; font-size: 13px; line-height: 1.45;
}
.alert-passive .activity-rule-list li { margin: 4px 0; }
.sticky-passive { position: sticky; top: 72px; z-index: 30; box-shadow: 0 12px 30px rgba(190,18,60,.12); }
.activity-rule-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px;
}
.activity-rule-grid article {
    padding: 14px 16px; border-radius: 16px; border: 1px solid #e2e8f0; background: #f8fafc;
}
.activity-rule-grid i { font-size: 22px; color: #1d4ed8; }
.activity-rule-grid strong { display: block; margin: 6px 0 4px; }
.activity-rule-grid p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.45; }
@media (max-width: 860px) {
    .activity-rule-grid { grid-template-columns: 1fr; }
    .alert-passive { flex-direction: column; align-items: stretch; }
}
.announce-hero { margin-bottom: 18px; }
.announce-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.announce-tile {
    background: #fff; border-radius: 20px; padding: 18px; border: 1px solid #e8eef7;
    box-shadow: 0 10px 28px rgba(15,23,42,.05); display: flex; flex-direction: column; gap: 10px;
}
.announce-tile.is-new { border-color: #93c5fd; box-shadow: 0 12px 30px rgba(37,117,252,.12); }
.announce-tile-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.announce-tile h2 { margin: 0; font-size: 1.15rem; }
.announce-tile p { margin: 0; color: #475569; flex: 1; }
.announce-detail {
    max-width: 820px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 28px;
    border: 1px solid #e8eef7; box-shadow: 0 18px 40px rgba(15,23,42,.06);
}
.announce-detail h1 { margin: 0 0 14px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.announce-body { font-size: 1.05rem; line-height: 1.7; color: #334155; margin-bottom: 18px; }
.inline-depth { margin: 0; }
.inline-depth .field { margin: 0; min-width: 120px; }
.pace, .pace-progress, .pace-activity, .pace-inactive { display: none !important; visibility: hidden !important; }
.bslot { display: flex; flex-direction: column; align-items: center; }
.bcard { width: 200px; min-height: 128px; border-radius: 14px; border: 0; background: #fff; padding: 12px; text-decoration: none; color: #212529; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 10px 24px rgba(18,40,80,.08); }
.bcard small, .bcard em { color: #6c757d; font-style: normal; font-size: 12px; }
.bcard.is-active { box-shadow: inset 0 0 0 2px #11998e, 0 10px 24px rgba(17,153,142,.15); }
.bcard.is-career { background: linear-gradient(180deg, #fff8e6, #fff); }
.bcard.is-empty { border: 1px dashed #c9d4e8; color: #6c757d; min-height: 92px; justify-content: center; background: #f8fbff; }
.bkids { display: flex; gap: 16px; margin-top: 8px; }
.bleg { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #2575fc; }
.bleg-col { display: flex; flex-direction: column; align-items: center; position: relative; padding-top: 16px; }
.bleg-col::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 16px; background: #c7d7fe; }
.bkids .bleg-col::after { content: ""; position: absolute; top: 0; left: 0; right: 0; border-top: 2px solid #c7d7fe; }
.bkids .bleg-col:first-child::after { left: 50%; }
.bkids .bleg-col:last-child::after { right: 50%; }
.bmore { margin-top: 8px; font-size: 13px; font-weight: 700; color: #2575fc; }
.copy-row { display: flex; gap: 8px; margin-bottom: 10px; }
.copy-row input { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; color: #6c757d; margin-bottom: 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 6px; background: #cbd5e1; }
.dot.on { background: #11998e; }
.dot.off { background: #94a3b8; }
.dot.career { background: #f7971e; }
/* bavatar styles above with photo support */
.demo-box { margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px; background: linear-gradient(180deg, #eef4ff, #f3fff8); border: 1px solid #d7e3ff; font-size: .9rem; }
.phone-note { min-height: 1.2rem; font-size: .85rem; color: #6c757d; }
.phone-note.is-bad { color: #b91c1c; }
.stepper { display: flex; gap: 8px; margin-bottom: 14px; font-weight: 700; }
.stepper span { background: #fff; border-radius: 999px; padding: 6px 10px; color: #6c757d; }
.stepper .on { color: #fff; background: linear-gradient(90deg, #6a11cb, #2575fc); }
.export-links[hidden] { display: none !important; }
.dataTables_wrapper .dt-top, .dataTables_wrapper .dt-bottom { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; margin: .6rem 0; }
.swal2-popup { border-radius: 18px !important; }
.color-pick { display: flex; gap: 10px; align-items: center; }
.color-pick input[type="color"] { width: 72px; height: 52px; padding: 4px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px #dbe3f0; }
.gallery-sort { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; margin: 12px 0; }
.shot { background: #f8fafc; border-radius: 16px; padding: 8px; cursor: grab; display: flex; flex-direction: column; gap: 8px; }
.shot img { width: 100%; height: 168px; object-fit: cover; border-radius: 12px; }
.shot.is-removed { opacity: .35; }
.shot.is-dragging { opacity: .45; }
.product-page { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 16px; width: 100%; align-items: start; }
.product-main { width: 100%; height: min(560px, 68vh); object-fit: contain; background: linear-gradient(180deg, #f8fbff, #e8eef8); border-radius: 18px; }
.product-thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.thumb-btn { width: 96px; height: 96px; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: #fff; }
.thumb-btn.is-on { border-color: #2575fc; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.product-lead { color: #475569; }
.product-copy { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #eef1f6; }
.order-line { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #eef1f6; }
.order-line img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; flex: none; }
.order-line .cart-letter { width: 76px; height: 76px; }
.order-line div { flex: 1; min-width: 0; }
.order-line small { display: block; color: #6c757d; }
.activity-board { background: linear-gradient(180deg, #f7f8ff, #fff 88px); }
.activity-status { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.activity-status > i {
    width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; flex: none; font-size: 24px;
    background: #e7f8ef; color: #157d4c;
}
.activity-status.is-closed > i { background: #fff7ed; color: #c2410c; }
.activity-status strong { display: block; font-size: 1.05rem; }
.activity-status span { color: #64748b; }
.activity-status .btn { margin-left: auto; }
.activity-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.activity-plan {
    position: relative; display: block; margin: 0; padding: 16px; border-radius: 18px; cursor: pointer;
    border: 1px solid #e6ebf4; background: #fff; text-decoration: none; color: inherit;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}
.activity-plan .bx {
    width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px;
    background: #eef2ff; color: #3b5bdb; font-size: 20px;
}
.activity-plan.is-year { background: linear-gradient(180deg, #f4f0ff, #fff); border-color: #ddd6fe; }
.activity-plan.is-year .bx { background: linear-gradient(135deg, #6a11cb, #2575fc); color: #fff; }
.activity-plan input { position: absolute; opacity: 0; pointer-events: none; }
.activity-plan span { display: block; color: #64748b; font-size: 13px; font-weight: 700; }
.activity-plan strong { display: block; margin-top: 4px; font-size: 1.35rem; letter-spacing: -.03em; color: #1e3a8a; }
.activity-plan small { display: block; margin-top: 6px; color: #64748b; }
.activity-plan:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(37, 117, 252, .12); }
.activity-plan:has(input:checked) { border-color: #2575fc; box-shadow: 0 0 0 3px rgba(37, 117, 252, .16); }
.activity-due { margin-bottom: 14px; padding: 14px 16px; border-radius: 16px; background: #fff7ed; color: #9a3412; }
@media (max-width: 980px) {
    .page-wrapper { margin-left: 0 !important; }
    .shop-layout, .two-col, .split, .profile-grid, .form-grid, .product-grid, .product-detail, .product-page, .checkout-grid { grid-template-columns: 1fr; }
    .activity-plans, .leg-pair, .pool-steps, .price-picks, .stat-grid, .finance-strip, .depth-row, .plan-grid, .invite-link-grid { grid-template-columns: 1fr; }
    .activity-status { align-items: flex-start; flex-wrap: wrap; }
    .activity-status .btn { margin-left: 0; }
    .product-hero, .product-main { height: 280px; }
    .cart-launch-copy { display: none; }
    .activity-chip em { display: none; }
    .mobile-cart-bar { display: flex; }
    .hero-card h1 { font-size: 1.45rem; }
    .hero-card, .card, .wallet-hero, .invite-modern { border-radius: 16px; }
    .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .js-table, table.data { min-width: 640px; }
    .toolbar, .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-bar .field, .toolbar .field { width: 100%; }
    .button-row { flex-wrap: wrap; }
    .pw-wrap .form-control { padding-right: 5.5rem; }
    .alert-bank { flex-direction: column; align-items: stretch; }
    .chip-row { flex-wrap: wrap; }
    .page-content { padding-bottom: 88px; }
}
.gate {
    margin: 0;
    min-height: 100vh;
    background: #e8edf6;
    color: #0f172a;
    font-family: Outfit, "Plus Jakarta Sans", sans-serif;
    position: relative;
}
.gate.gate-welcome {
    height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
}
.gate-welcome .gate-story h1 {
    font-family: Fraunces, Georgia, serif;
    font-weight: 700;
    font-size: clamp(2.05rem, 3.4vw, 3.35rem);
    letter-spacing: -.03em;
}
.gate-stage {
    min-height: 100vh; height: 100%;
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(400px, .85fr);
}
.gate-welcome .gate-stage { height: 100%; min-height: 0; padding-bottom: 78px; }
.gate-welcome .gate-panel { padding-bottom: 20px; }
.gate-welcome .gate-story { padding-bottom: 88px; }
.gate-story {
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(1100px 700px at 12% 8%, #2a1f6e 0%, transparent 52%),
        radial-gradient(900px 620px at 88% 92%, #0b5f56 0%, transparent 48%),
        linear-gradient(155deg, #0c0a1f 0%, #17124a 38%, #123a7a 78%, #0e4d6e 100%);
    display: flex; align-items: center; padding: 64px 72px;
}
.gate-orb { position: absolute; border-radius: 50%; filter: blur(8px); pointer-events: none; }
.gate-orb-a { width: 340px; height: 340px; right: -80px; top: -60px; background: rgba(255, 213, 106, .28); animation: gateFloat 9s ease-in-out infinite; }
.gate-orb-b { width: 280px; height: 280px; left: -70px; bottom: -40px; background: rgba(56, 189, 248, .22); animation: gateFloat 11s ease-in-out infinite reverse; }
.gate-orb-c { width: 180px; height: 180px; right: 18%; bottom: 18%; background: rgba(167, 139, 250, .2); animation: gateFloat 13s ease-in-out infinite; }
.gate-grid {
    position: absolute; inset: 0; pointer-events: none; opacity: .35;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 72%);
}
.gate-shine {
    position: absolute; inset: -20% auto auto -30%; width: 70%; height: 60%; pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.12) 48%, transparent 62%);
    transform: rotate(12deg); animation: gateShine 7.5s ease-in-out infinite;
}
.gate-story-inner { position: relative; z-index: 1; max-width: 560px; }
.gate-brand { color: #fff; font-weight: 800; font-size: clamp(1.85rem, 2.5vw, 2.35rem); letter-spacing: -.04em; text-decoration: none; display: inline-block; }
.gate-brand span { color: #ffd56a; }
.gate-kicker {
    margin: 22px 0 0; display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.88);
}
.gate-story h1 { margin: 18px 0 14px; line-height: 1.14; color: #fff; }
.gate-lead-story { margin: 0; max-width: 460px; color: rgba(255,213,106,.95); font-size: 1.12rem; line-height: 1.55; font-weight: 600; }
.gate-welcome-lines { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.gate-welcome-lines li {
    margin: 0; padding: 12px 14px; border-radius: 14px; color: rgba(255,255,255,.9); line-height: 1.45;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
}
.gate-cta-band {
    margin-top: 22px; padding: 16px 18px; border-radius: 18px;
    background: linear-gradient(120deg, rgba(255,213,106,.18), rgba(56,189,248,.14));
    border: 1px solid rgba(255,213,106,.28);
}
.gate-cta-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ffd56a; margin-bottom: 4px; }
.gate-cta-band strong { display: block; font-size: 1.2rem; letter-spacing: -.02em; }
.gate-story p { margin: 0; max-width: 420px; color: rgba(255,255,255,.78); font-size: 1.05rem; line-height: 1.6; }
.gate-anim { opacity: 0; transform: translateY(18px); animation: gateRise .7s ease forwards; }
.gate-anim:nth-child(1) { animation-delay: .05s; }
.gate-anim:nth-child(2) { animation-delay: .12s; }
.gate-anim:nth-child(3) { animation-delay: .2s; }
.gate-anim:nth-child(4) { animation-delay: .28s; }
.gate-anim:nth-child(5) { animation-delay: .36s; }
.gate-anim:nth-child(6) { animation-delay: .44s; }
.gate-anim:nth-child(7) { animation-delay: .52s; }
.gate-anim-card { animation: gateCard .75s cubic-bezier(.2,.8,.2,1) both; }
@keyframes gateRise { to { opacity: 1; transform: none; } }
@keyframes gateCard { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes gateFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes gateShine { 0%, 100% { opacity: .35; transform: translateX(0) rotate(12deg); } 50% { opacity: .7; transform: translateX(12%) rotate(12deg); } }
.gate-points { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 12px; }
.gate-points li {
    display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px);
}
.gate-points i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: rgba(255,255,255,.14); }
.gate-points strong, .gate-points span { display: block; }
.gate-points strong { font-size: 15px; }
.gate-points span { color: rgba(255,255,255,.72); font-size: 13px; }
.gate-panel { display: grid; place-items: center; padding: 36px 28px; min-width: 0; }
.gate-card {
    width: min(440px, 100%); max-width: 100%; box-sizing: border-box;
    background: #fff; border-radius: 28px; padding: 36px 32px 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
    overflow: hidden;
}
.gate-card *, .gate-card *::before, .gate-card *::after { box-sizing: border-box; }
.gate-mark {
    width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-size: 28px;
    background: linear-gradient(135deg, #6a11cb, #2575fc); box-shadow: 0 12px 24px rgba(37, 117, 252, .28);
}
.gate-mark i, .gate-points i, .site-credit-mark i { font-family: boxicons !important; speak: never; font-style: normal !important; font-weight: normal; line-height: 1; }
.gate-card-label {
    margin: 16px 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .12em;
    text-transform: uppercase; color: #64748b;
}
.gate-card h2 { margin: 0 0 6px; font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }
.gate-lead { margin: 0 0 22px; color: #64748b; }
.gate-alert { margin-bottom: 16px; padding: 12px 14px; border-radius: 14px; background: #fde8ea; color: #b91c1c; font-weight: 600; }
.gate-field { display: block; margin-bottom: 14px; width: 100%; max-width: 100%; }
.gate-field > span:first-child { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: #334155; }
.gate-control { position: relative; display: block; width: 100%; max-width: 100%; }
.gate-control > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 20px; z-index: 1; pointer-events: none; }
.gate-control input {
    display: block; width: 100%; max-width: 100%; height: 54px; border-radius: 16px; border: 1px solid #e6ebf4; background: #f8fafc;
    padding: 0 48px; font: inherit; font-size: 15px; color: #0f172a; outline: none;
}
.gate-control input:focus { border-color: #6d5efc; background: #fff; box-shadow: 0 0 0 4px rgba(109, 94, 252, .14); }
.gate-eye {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px;
    border: 0; border-radius: 12px; background: transparent; color: #64748b; z-index: 2;
}
.gate-row { display: flex; justify-content: flex-end; margin: -4px 0 16px; }
.gate-row a, .gate-switch a { color: #3b5bdb; font-weight: 700; text-decoration: none; }
.gate-submit {
    width: 100%; height: 54px; border: 0; border-radius: 16px; color: #fff; font-weight: 800; font-size: 16px;
    background: linear-gradient(90deg, #6a11cb, #2575fc); box-shadow: 0 14px 28px rgba(37, 117, 252, .28);
}
.gate-submit:hover { filter: brightness(1.05); }
.gate-switch { margin: 16px 0 0; text-align: center; color: #64748b; }
.gate-demos { margin-top: 22px; padding-top: 16px; border-top: 1px solid #eef2f7; display: grid; gap: 8px; }
.gate-demos > p { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; }
.gate-demo-note { margin: 0 0 4px; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #64748b; }
.gate-demo {
    display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; width: 100%;
    padding: 10px; border: 1px solid #e8eef8; border-radius: 14px; background: #f8fafc; text-align: left;
}
.gate-demo > span:first-child {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}
.gate-demo.is-admin { border-color: #fdba74; background: linear-gradient(180deg, #fff7ed, #fff); }
.gate-demo.is-admin > span:first-child { background: linear-gradient(135deg, #f7971e, #ffd200); color: #3b2200; }
.gate-demo-copy strong { color: #0f172a; font-size: 14px; }
.gate-demo-copy em {
    margin-left: 6px; font-style: normal; font-size: 11px; font-weight: 800; color: #1d4ed8;
    background: #e8f1ff; border-radius: 999px; padding: 2px 8px;
}
.gate-demo.is-admin em { color: #9a3412; background: #ffedd5; }
.gate-demo-copy small, .gate-demo-copy b { display: block; }
.gate-demo-copy small { color: #334155; font-weight: 700; margin-top: 2px; }
.gate-demo-copy b { margin-top: 2px; color: #3b5bdb; font-size: 12px; }
@media (max-width: 960px) {
    .gate-stage { grid-template-columns: 1fr; }
    .gate-story { min-height: auto; padding: 28px 22px 56px; align-items: flex-end; }
    .gate-story h1 { margin-top: 14px; font-size: 1.75rem; }
    .gate-points { display: none; }
    .gate-welcome-lines li { padding: 10px 12px; font-size: 14px; }
    .gate-cta-band { margin-top: 14px; padding: 12px 14px; }
    .gate-cta-band strong { font-size: 1.05rem; }
    .gate-panel { padding: 0 16px 28px; margin-top: -28px; align-items: start; }
    .gate-card { padding: 28px 20px 22px; }
}
@media (max-width: 640px) {
    .activity-plans { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .gate-submit:hover, .activity-plan:hover { filter: none; transform: none; }
}
.sidebar-wrapper { display: flex; flex-direction: column; }
.sidebar-wrapper .simplebar-wrapper { flex: 1 1 auto; min-height: 0; height: auto !important; }
.sidebar-wrapper .simplebar-mask { top: 0; bottom: 72px !important; height: auto !important; }
.sidebar-wrapper .simplebar-offset { top: 0 !important; bottom: 0 !important; height: auto !important; }
.sidebar-wrapper .simplebar-content-wrapper { height: 100% !important; }
.sidebar-wrapper .simplebar-content { padding-bottom: 8px; }
.sidebar-logout { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 8px 14px 16px; background: transparent; }
.sidebar-logout a {
    display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff;
    background: rgba(255,255,255,.12); border-radius: 12px; padding: 12px 14px; font-weight: 700;
}
.sidebar-logout a:hover { background: rgba(255,255,255,.22); color: #fff; }
.activity-chip { text-decoration: none; color: #fff; }
.activity-chip > i { font-size: 22px; }
.activity-chip > span { display: flex; flex-direction: column; }
.activity-chip small, .activity-chip em { font-size: 11px; font-style: normal; opacity: .9; }
.activity-chip em { padding-left: 8px; border-left: 1px solid rgba(255,255,255,.35); }
.activity-chip strong { font-size: 14px; white-space: nowrap; }
.activity-chip.is-off { background: rgba(185, 28, 28, .55); }
.activity-chip.is-warn { background: rgba(194, 65, 12, .72); }
.activity-chip.is-critical { background: rgba(190, 18, 60, .82); animation: activity-pulse 1.6s ease-in-out infinite; }
@keyframes activity-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(190, 18, 60, .35); }
    50% { box-shadow: 0 0 0 6px rgba(190, 18, 60, 0); }
}
.cart-launch strong, .cart-launch-copy strong { white-space: nowrap; }
.cart-ladder { margin: 12px 0; padding: 12px; border-radius: 14px; background: #f4f7ff; }
.cart-ladder-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.cart-ladder ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cart-ladder li { display: flex; justify-content: space-between; gap: 8px; background: #fff; border-radius: 10px; padding: 8px 10px; }
.cart-ladder li small { display: block; color: #64748b; font-weight: 600; }
.cart-ladder li.is-ready { outline: 2px solid #16a34a; }
.cart-ladder li.is-ready b { color: #15803d; }
.pay-board, .plan-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.plan-grid { grid-template-columns: repeat(3, 1fr); margin: 16px 0; }
.pay-figure { display: block; font-size: 2rem; color: #5b2cdb; }
.pay-form { display: grid; gap: 10px; margin: 12px 0; }
.wallet-hero, .result-banner {
    border-radius: 16px; padding: 1.2rem 1.4rem; color: #fff; margin-bottom: 1rem;
    background: linear-gradient(120deg, #5b2cdb, #2575fc);
}
.wallet-hero h1, .wallet-hero p, .wallet-hero strong, .result-banner strong { color: #fff; }
.wallet-hero strong, .result-banner strong { font-size: 2rem; display: block; }
.result-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.result-banner.is-loss { background: linear-gradient(120deg, #9f1239, #f97316); }
.result-banner-title {
    display: block; font-size: 15px; font-weight: 800; color: #fff; letter-spacing: .01em;
}
.result-banner-note {
    margin: .45rem 0 0; max-width: 52ch;
    font-size: 13px; font-weight: 600; line-height: 1.45;
    color: #fff !important; opacity: 1 !important;
    font-style: normal !important;
}
.result-banner .fine { color: #fff !important; font-style: normal !important; opacity: 1 !important; }
.finance-tile em, .stat em, .result-banner em, .fine, .muted, i, em {
    font-style: normal !important;
}
.plan-card { background: #fff; border-radius: 16px; padding: 1rem 1.1rem; box-shadow: 0 10px 24px rgba(15,23,42,.06); }
.plan-card h2 { font-size: 1rem; margin: 0 0 .35rem; }
.plan-card p { margin: 0; color: #475569; }
.depth-row, .request-board, .request-list { display: grid; gap: 14px; margin: 16px 0; }
.depth-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.request-board { grid-template-columns: 1.1fr .9fr; }
.request-card h2 { margin: 0; font-size: 1.15rem; }
.request-head, .request-figures { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.request-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 12px 0; }
.request-figures span { display: block; color: #64748b; font-size: 12px; }
.request-figures strong { font-size: 1.05rem; }
.request-pay { grid-template-columns: 1fr auto auto; align-items: end; }
.depth-card {
    background: #fff; border-radius: 16px; padding: 1rem 1.1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}
.depth-card span { color: #64748b; font-weight: 700; font-size: 13px; }
.depth-card strong { display: block; margin: 6px 0; font-size: 1.8rem; color: #5b2cdb; }
.depth-card p { margin: 0; color: #475569; }
.finance-strip {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px; margin: 0 0 1rem;
}
.finance-tile {
    background: #fff; border-radius: 18px; padding: 1rem 1.1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
}
.finance-tile span, .finance-tile em { display: block; color: #64748b; font-size: 12px; font-weight: 700; }
.finance-tile strong { display: block; margin: 6px 0 4px; font-size: 1.35rem; color: #0f172a; }
.finance-tile.is-accent {
    background: linear-gradient(135deg, #5b2cdb, #2575fc); color: #fff;
}
.finance-tile.is-accent span, .finance-tile.is-accent em, .finance-tile.is-accent strong { color: #fff; }
.admin-tools .grant-row, .block-form {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-top: 10px;
}
.block-form .field { margin: 0; min-width: 120px; }
.cari-card .card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cari-amount { font-weight: 700; white-space: nowrap; }
.cari-amount.is-ok { color: #15803d; }
.cari-amount.is-warn { color: #b45309; }
.cari-amount.is-danger { color: #be123c; }
.matrix-rules { margin: 0 0 1rem; }
.matrix-rules h2 { margin: 0 0 .75rem; font-size: 1.05rem; }
.matrix-steps { margin: 0; padding-left: 1.15rem; color: #334155; }
.matrix-steps li { margin: 0 0 .45rem; }
.matrix-steps strong { color: #0f172a; }
.hero-range {
    display: inline-flex; align-items: center; align-self: center;
    padding: .55rem 1rem; border-radius: 999px; background: rgba(255,255,255,.18);
    color: #fff; font-weight: 700; white-space: nowrap;
}
.summary-filter { margin: 12px 0 18px; }
.summary-list { display: grid; gap: 10px; }
.summary-list > div {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 10px 12px; border-radius: 12px; background: #f8fafc;
}
.summary-list span { color: #64748b; font-weight: 600; }
.summary-list strong { color: #0f172a; }
.pw-wrap { position: relative; display: flex; align-items: center; }
.pw-wrap .form-control { padding-right: 6.5rem; }
.pw-toggle {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    border: 0; background: #eef2ff; color: #1e3a8a; border-radius: 999px;
    display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px;
    font-size: 12px; font-weight: 700; cursor: pointer;
}
.pw-toggle i { font-size: 16px; }
.alert-bank {
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
    padding: 16px 18px; border-radius: 18px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5); border: 1px solid #fdba74;
}
.alert-bank > div:first-child { display: flex; gap: 12px; align-items: flex-start; }
.alert-bank i { font-size: 28px; color: #c2410c; }
.alert-bank strong { display: block; color: #9a3412; }
.alert-bank p { margin: 4px 0 0; color: #9a3412; }
.invite-modern {
    border-radius: 22px; padding: 22px; color: #fff;
    background: linear-gradient(135deg, #0f766e 0%, #1d4ed8 55%, #6d28d9 100%);
    box-shadow: 0 18px 40px rgba(29, 78, 216, .28);
}
.invite-modern .eyebrow { color: rgba(255,255,255,.75); margin: 0 0 4px; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; font-weight: 700; }
.invite-modern h2 { margin: 0 0 10px; font-size: 1.35rem; }
.invite-modern .fine { color: rgba(255,255,255,.82); }
.invite-code-pill {
    display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 12px;
    padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.16);
    font-weight: 800; letter-spacing: .08em; font-size: 1.05rem;
}
.invite-code-pill button {
    border: 0; width: 34px; height: 34px; border-radius: 50%;
    background: #fff; color: #1d4ed8; cursor: pointer;
}
.invite-code-pill button.is-ok { background: #bbf7d0; color: #166534; }
.invite-link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.invite-link-card {
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px; padding: 14px; backdrop-filter: blur(6px);
}
.invite-link-card span { display: block; font-size: 12px; opacity: .85; }
.invite-link-card strong { display: block; margin: 2px 0 10px; }
.invite-link-card .copy-row { display: flex; gap: 8px; }
.invite-link-card input { background: rgba(255,255,255,.92); border: 0; }
.bank-alt-box {
    margin: 12px 0; padding: 14px; border-radius: 14px; background: #f8fafc; border: 1px dashed #cbd5e1;
}
.bank-media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.bank-media-item, .bank-media img, .bank-media video {
    width: 100%; max-height: 280px; object-fit: contain; border-radius: 14px; background: #0f172a;
}
.bank-review-card .button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }

/* Dashboard aktiflik rozeti */
.hero-main { flex: 1; min-width: 0; }
.hero-title-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: .35rem;
}
.hero-title-row h1 { margin: 0; }
.hero-activity {
    display: inline-flex; flex-direction: column; gap: 2px;
    padding: 10px 14px; border-radius: 14px;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(8px); min-width: 160px;
}
.hero-activity strong { font-size: 1.05rem; line-height: 1.1; color: #fff; }
.hero-activity span { font-size: 12px; color: rgba(255,255,255,.9); font-weight: 600; }
.hero-activity.is-warn { background: rgba(251,146,60,.28); border-color: rgba(253,186,116,.55); }
.hero-activity.is-off { background: rgba(244,63,94,.28); border-color: rgba(251,113,133,.5); }

/* Checkout */
.checkout-hero {
    display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap;
    margin-bottom: 16px; padding: 18px 20px; border-radius: 20px;
    background: linear-gradient(135deg, #0f172a, #1e3a8a 55%, #0e7490); color: #fff;
}
.checkout-hero h1 { margin: 0 0 6px; font-size: clamp(1.45rem, 2.5vw, 1.9rem); color: #fff; }
.checkout-hero .muted, .checkout-hero .eyebrow { color: rgba(255,255,255,.86); }
.checkout-steps { display: flex; gap: 8px; flex-wrap: wrap; }
.checkout-steps span {
    padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
    background: rgba(255,255,255,.1); color: rgba(255,255,255,.75);
}
.checkout-steps span.on { background: #fff; color: #1e3a8a; }
.checkout-main { display: grid; gap: 14px; min-width: 0; }
.checkout-panel {
    background: #fff; border: 1px solid #e8eef7; border-radius: 20px; padding: 18px;
    box-shadow: 0 12px 28px rgba(15,23,42,.05);
}
.checkout-panel > header {
    display: flex; gap: 12px; align-items: center; margin-bottom: 14px;
}
.checkout-panel > header i {
    width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
    background: linear-gradient(135deg, #eff6ff, #e0f2fe); color: #1d4ed8; font-size: 22px;
}
.checkout-panel > header h2 { margin: 0; font-size: 1.1rem; }
.checkout-panel > header p { margin: 2px 0 0; color: #64748b; font-size: 13px; }
.checkout-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.btn-checkout { min-height: 48px; font-weight: 700; }
.checkout-summary { position: sticky; top: 88px; }
.checkout-summary-inner {
    background: #fff; border: 1px solid #e8eef7; border-radius: 20px; padding: 18px;
    box-shadow: 0 16px 36px rgba(15,23,42,.06);
}
.checkout-empty { text-align: center; padding: 40px 20px; }
.checkout-empty i { font-size: 42px; color: #94a3b8; }

/* Üye banka */
.bank-status-banner {
    display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; margin: 0 0 14px;
}
.bank-status-banner i { font-size: 26px; flex-shrink: 0; }
.bank-status-banner strong { display: block; }
.bank-status-banner p { margin: 4px 0 0; }
.bank-status-banner.is-reject { background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; }
.bank-status-banner.is-wait { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.bank-status-banner.is-ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.bank-fields-title { margin: 0 0 10px; font-size: .95rem; color: #334155; }
.bank-upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bank-upload span { display: block; font-weight: 600; margin-bottom: 6px; font-size: 13px; }
.bank-existing { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.bank-existing a { font-weight: 700; font-size: 13px; }

/* Admin banka onay */
.bank-admin-hero .bank-admin-stat {
    text-align: center; padding: 14px 22px; border-radius: 16px;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25);
}
.bank-admin-stat strong { display: block; font-size: 2rem; line-height: 1; color: #fff; }
.bank-admin-stat span { color: rgba(255,255,255,.85); font-weight: 600; font-size: 13px; }
.bank-empty { text-align: center; padding: 36px 18px; }
.bank-empty i { font-size: 40px; color: #22c55e; }
.bank-review-card {
    background: #fff; border: 1px solid #e8eef7; border-radius: 22px; padding: 18px;
    margin-top: 14px; box-shadow: 0 14px 32px rgba(15,23,42,.05);
}
.bank-review-card.is-incomplete { border-color: #fdba74; box-shadow: 0 14px 32px rgba(194,65,12,.08); }
.bank-review-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.bank-review-who { display: flex; gap: 12px; align-items: center; }
.bank-review-avatar {
    width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9); color: #fff; font-weight: 800;
}
.bank-review-who strong { display: block; }
.bank-review-who span, .bank-review-who em { display: block; color: #64748b; font-size: 13px; font-style: normal; }
.bank-pill {
    padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap;
}
.bank-pill.is-ready { background: #dcfce7; color: #166534; }
.bank-pill.is-miss { background: #ffedd5; color: #9a3412; }
.bank-review-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px;
}
.bank-review-grid article {
    padding: 12px 14px; border-radius: 14px; background: #f8fafc; border: 1px solid #e2e8f0;
}
.bank-review-grid article.is-wide { grid-column: 1 / -1; }
.bank-review-grid span { display: block; font-size: 12px; color: #64748b; font-weight: 700; }
.bank-review-grid strong { display: block; margin-top: 4px; word-break: break-all; }
.bank-miss { display: block; margin-top: 6px; color: #c2410c; font-weight: 700; }
.bank-media-item {
    position: relative; display: block; border-radius: 16px; overflow: hidden; background: #0f172a;
    text-decoration: none; color: #fff;
}
.bank-media-item span, .bank-media-item.is-video span {
    position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: 8px;
    background: rgba(15,23,42,.7); font-size: 12px; font-weight: 700;
}
.bank-media-missing {
    display: grid; place-items: center; min-height: 140px; border-radius: 16px;
    border: 1px dashed #cbd5e1; color: #94a3b8; font-weight: 700; background: #f8fafc;
}
.bank-review-actions {
    display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: end; margin-top: 8px;
}
.bank-reject-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.bank-approve-form { display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 980px) {
    .pay-board, .plan-grid, .depth-row, .request-board, .request-figures, .request-pay, .invite-link-grid, .bank-media, .bank-upload-grid, .bank-review-grid { grid-template-columns: 1fr; }
    .finance-strip { grid-template-columns: 1fr 1fr; }
    .alert-bank { flex-direction: column; align-items: stretch; }
    .bank-review-actions, .bank-reject-form { grid-template-columns: 1fr; }
    .checkout-summary { position: static; }
    .hero-title-row { align-items: stretch; }
    .hero-activity { width: 100%; }
}
@media print {
    .sidebar-wrapper, header, .page-breadcrumb, .filter-bar, .export-links, .btn, .no-print, .cart-drawer, .mobile-cart-bar { display: none !important; }
    .page-wrapper { margin: 0 !important; }
}

/* Destek merkezi */
.support-hero {
    display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap;
    margin-bottom: 16px; padding: 20px 22px; border-radius: 22px; color: #fff;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #0ea5e9);
}
.support-hero h1 { margin: 0 0 6px; color: #fff; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.support-hero .muted, .support-hero .eyebrow { color: rgba(255,255,255,.88); }
.support-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .75fr); gap: 16px; align-items: start; }
.support-list-card, .support-side-card {
    background: #fff; border: 1px solid #e8eef7; border-radius: 20px; padding: 16px 18px;
    box-shadow: 0 12px 28px rgba(15,23,42,.05);
}
.support-ticket-list { display: grid; gap: 10px; }
.support-ticket-item, .support-admin-item {
    display: block; text-decoration: none; color: inherit; padding: 14px 16px; border-radius: 16px;
    border: 1px solid #e2e8f0; background: #f8fafc; transition: .15s ease;
}
.support-ticket-item:hover, .support-admin-item:hover { border-color: #93c5fd; background: #eff6ff; }
.support-ticket-item.is-answered, .support-admin-item.is-answered { border-color: #86efac; background: #f0fdf4; }
.support-ticket-item.is-closed, .support-admin-item.is-closed { opacity: .78; }
.support-ticket-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 6px; }
.support-ticket-item p, .support-admin-body p { margin: 0 0 6px; color: #64748b; font-size: 13px; }
.support-empty { text-align: center; padding: 36px 12px; color: #64748b; }
.support-empty i { font-size: 40px; color: #94a3b8; display: block; margin-bottom: 8px; }
.support-form .field { margin-bottom: 12px; }
.support-thread-top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
.support-thread-top h1 { margin: 4px 0; font-size: 1.4rem; }
.support-thread { display: grid; gap: 12px; margin-bottom: 14px; }
.support-bubble {
    max-width: min(720px, 100%); padding: 14px 16px; border-radius: 18px; border: 1px solid #e2e8f0; background: #fff;
}
.support-bubble.is-me { margin-left: auto; background: linear-gradient(180deg, #eff6ff, #fff); border-color: #bfdbfe; }
.support-bubble.is-admin, .support-bubble.is-member { margin-right: auto; }
.support-bubble header { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.support-bubble header strong { display: block; font-size: 14px; }
.support-bubble header span { color: #94a3b8; font-size: 12px; }
.support-bubble-body { color: #334155; line-height: 1.55; white-space: pre-wrap; }
.support-msg-avatar {
    width: 36px; height: 36px; border-radius: 50%; overflow: hidden; display: inline-grid; place-items: center;
    background: #fbbf24; color: #422006; font-weight: 800; font-size: 12px; flex-shrink: 0;
}
.support-msg-avatar.lg { width: 52px; height: 52px; border-radius: 16px; font-size: 16px; }
.support-composer { margin-top: 8px; }
.support-closed-note {
    padding: 14px 16px; border-radius: 14px; background: #f8fafc; border: 1px dashed #cbd5e1; color: #64748b;
}
.support-member-card {
    display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px;
    background: #fff; border: 1px solid #e8eef7; margin-bottom: 14px;
}
.support-member-card strong { display: block; }
.support-member-card span { color: #64748b; font-size: 13px; }
.support-admin-list { display: grid; gap: 10px; }
.support-admin-item {
    display: grid; grid-template-columns: 220px minmax(0, 1fr) 140px; gap: 14px; align-items: center;
}
.support-admin-who { display: flex; gap: 10px; align-items: center; }
.support-admin-who strong, .support-admin-body strong { display: block; }
.support-admin-who span { color: #64748b; font-size: 12px; }
.support-admin-meta { text-align: right; }
@media (max-width: 980px) {
    .support-layout, .support-admin-item { grid-template-columns: 1fr; }
    .support-admin-meta { text-align: left; }
}

/* Admin / panel: italik yok */
body, body * { font-style: normal !important; }

/* İstanbul Yazılım kredi footer — kompakt */
.site-credit { margin: 16px 0 6px; padding: 0 2px; }
.site-credit-link {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; color: inherit;
    padding: 7px 10px 7px 7px; border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(148,163,184,.28);
    box-shadow: 0 4px 12px rgba(15,23,42,.05);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.site-credit-link:hover {
    border-color: rgba(37,99,235,.35);
    box-shadow: 0 8px 18px rgba(37,99,235,.10);
}
.site-credit-shine { display: none; }
.site-credit-mark {
    position: relative; z-index: 1;
    width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
    display: grid; place-items: center;
    background: #1e3a8a; color: #fff; font-size: 14px;
    box-shadow: none;
}
.site-credit-mark::after { display: none; }
.site-credit-copy {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; gap: 0; min-width: 0; flex: 1; line-height: 1.15;
}
.site-credit-eyebrow {
    font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: #94a3b8;
}
.site-credit-copy strong {
    font-size: 12px; font-weight: 800; letter-spacing: -.01em; color: #0f172a;
    background: none; -webkit-background-clip: unset; background-clip: unset;
}
.site-credit-meta,
.site-credit-copy em {
    font-style: normal; font-size: 10px; color: #64748b; font-weight: 600;
}
.site-credit-cta {
    position: relative; z-index: 1;
    width: 26px; height: 26px; padding: 0; border-radius: 8px;
    display: inline-grid; place-items: center;
    font-size: 14px; color: #fff;
    background: #2563eb; box-shadow: none;
}
.site-credit-link:hover .site-credit-cta { filter: brightness(1.05); }
.site-credit-cta i { font-size: 14px; line-height: 1; }

.site-credit-admin .site-credit-link,
.site-credit-panel .site-credit-link {
    max-width: 280px;
}

/* Giriş / auth: ilk ekranda sabit, küçük */
.site-credit-gate,
.site-credit-auth {
    position: fixed;
    left: 50%;
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    z-index: 40;
    width: min(300px, calc(100vw - 24px));
    margin: 0;
    padding: 0;
}
.site-credit-gate .site-credit-link,
.site-credit-auth .site-credit-link {
    width: 100%;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.auth-page { position: relative; padding-bottom: 64px; }

@media (max-width: 960px) {
    .gate.gate-welcome {
        height: auto;
        max-height: none;
        overflow: visible;
        padding-bottom: 68px;
    }
    .gate-welcome .gate-stage { height: auto; min-height: auto; padding-bottom: 0; }
    .gate-welcome .gate-story { padding-bottom: 56px; }
}
@media (max-width: 720px) {
    .site-credit { margin: 12px 0 4px; }
    .site-credit-admin .site-credit-link,
    .site-credit-panel .site-credit-link { max-width: 100%; width: 100%; }
    .site-credit-gate, .site-credit-auth { width: calc(100vw - 24px); bottom: 8px; }
    .result-banner { flex-direction: column; align-items: flex-start; }
    .result-banner strong { font-size: 1.55rem; }
    .page-content { padding-bottom: 20px; }
}
