@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Noto+Sans:ital,wght@0,400;0,500;1,400&display=swap');

:root {
    --g1: #166534;
    --g2: #16a34a;
    --g3: #22c55e;
    --gl: #dcfce7;
    --gm: #bbf7d0;
    --am: #d97706;
    --al: #fef3c7;
    --bl: #eff6ff;
    --bd: #3b82f6;
    --t1: #111827;
    --t2: #374151;
    --t3: #6b7280;
    --t4: #9ca3af;
    --br: #e5e7eb;
    --bg: #f9fafb;
    --wh: #fff;
    --r4: 4px;
    --r8: 8px;
    --r12: 12px;
    --r16: 16px;
    --r99: 99px;
    --sh1: 0 1px 3px rgba(0,0,0,.07);
    --sh2: 0 4px 16px rgba(0,0,0,.09);
    --sh3: 0 8px 32px rgba(0,0,0,.12);
}

*, *::before, *::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: 'Noto Sans',sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--t1);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    margin: 0
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins',sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--t1);
    margin-top: 0
}

a {
    color: var(--g2);
    text-decoration: none
}

    a:hover {
        color: var(--g1);
        text-decoration: underline
    }

img {
    max-width: 100%;
    height: auto
}

p {
    margin-top: 0
}

/* ── COPY PROTECTION ─────────────────────────────────────── */
/* User select disable on key content areas */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

/* ── Navbar ────────────────────────────────────────────── */
.sb-nav {
    background: var(--g1);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 12px rgba(0,0,0,.25)
}

    .sb-nav .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: .55rem;
        padding-bottom: .55rem
    }

.sb-brand {
    font-family: 'Poppins',sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: .45rem;
    text-decoration: none;
    letter-spacing: -.3px
}

    .sb-brand svg {
        flex-shrink: 0
    }

    .sb-brand .accent {
        color: #4ade80
    }

.sb-navlinks {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
    margin: 0;
    padding: 0
}

    .sb-navlinks a {
        color: rgba(255,255,255,.85);
        font-family: 'Poppins',sans-serif;
        font-size: .86rem;
        font-weight: 500;
        padding: .38rem .75rem;
        border-radius: var(--r8);
        transition: background .15s,color .15s;
        display: flex;
        align-items: center;
        gap: .3rem
    }

        .sb-navlinks a:hover, .sb-navlinks a.active {
            background: rgba(255,255,255,.13);
            color: #fff;
            text-decoration: none
        }

.sb-toggler {
    display: none;
    background: none;
    border: 1.5px solid rgba(255,255,255,.45);
    border-radius: var(--r8);
    padding: .3rem .45rem;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    width: 38px;
    height: 34px;
    align-items: center;
    justify-content: center
}

    .sb-toggler span {
        display: block;
        width: 16px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: all .25s
    }

@media(max-width:767px) {
    .sb-toggler {
        display: flex
    }

    .sb-navlinks {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--g1);
        flex-direction: column;
        padding: .5rem 1rem .75rem;
        box-shadow: 0 8px 24px rgba(0,0,0,.2);
        gap: 0
    }

        .sb-navlinks.open {
            display: flex
        }

        .sb-navlinks a {
            padding: .55rem .75rem;
            font-size: .92rem
        }
}

/* ── Hero ──────────────────────────────────────────────── */
.sb-hero {
    background: linear-gradient(135deg,#14532d 0%,var(--g1) 55%,#15803d 100%);
    padding: 2.75rem 0 2.25rem;
    position: relative;
    overflow: hidden
}

    .sb-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 15% 60%,rgba(74,222,128,.09) 0%,transparent 55%),radial-gradient(ellipse at 85% 20%,rgba(255,255,255,.04) 0%,transparent 45%)
    }

    .sb-hero .inner {
        position: relative;
        text-align: center
    }

.sb-live-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.9);
    font-size: .75rem;
    padding: .28rem .8rem;
    border-radius: var(--r99);
    font-family: 'Poppins',sans-serif;
    font-weight: 500;
    margin-bottom: .9rem
}

    .sb-live-badge i {
        width: 7px;
        height: 7px;
        background: #4ade80;
        border-radius: 50%;
        display: inline-block;
        animation: pulse 2s ease-in-out infinite
    }

@keyframes pulse {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

.hero-title {
    font-size: clamp(1.65rem,4.5vw,2.6rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: .6rem
}

.hero-sub {
    color: rgba(255,255,255,.78);
    font-size: clamp(.88rem,2.5vw,1.05rem);
    margin-bottom: 1.5rem
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fbbf24;
    color: #78350f;
    font-family: 'Poppins',sans-serif;
    font-weight: 700;
    font-size: .95rem;
    padding: .7rem 1.75rem;
    border-radius: var(--r99);
    transition: background .15s,transform .15s;
    text-decoration: none
}

    .hero-cta:hover {
        background: #f59e0b;
        color: #78350f;
        text-decoration: none;
        transform: translateY(-2px)
    }

/* ── Search ────────────────────────────────────────────── */
.sb-search-wrap {
    background: var(--wh);
    border-bottom: 1px solid var(--br);
    padding: .85rem 0
}

.sb-search-form {
    display: flex;
    gap: .5rem;
    max-width: 560px;
    margin: 0 auto
}

.sb-search-input {
    flex: 1;
    padding: .6rem 1rem;
    border: 1.5px solid var(--br);
    border-radius: var(--r99);
    font-size: .88rem;
    outline: none;
    transition: border-color .15s,box-shadow .15s;
    background: var(--bg)
}

    .sb-search-input:focus {
        border-color: var(--g2);
        box-shadow: 0 0 0 3px rgba(22,163,74,.12)
    }

.sb-search-btn {
    background: var(--g2);
    color: #fff;
    border: none;
    border-radius: var(--r99);
    padding: .6rem 1.2rem;
    font-family: 'Poppins',sans-serif;
    font-weight: 600;
    font-size: .86rem;
    cursor: pointer;
    transition: background .15s;
    display: flex;
    align-items: center;
    gap: .35rem;
    white-space: nowrap
}

    .sb-search-btn:hover {
        background: var(--g1)
    }

.sb-search-results {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--wh);
    border: 1px solid var(--br);
    border-radius: var(--r12);
    box-shadow: var(--sh3);
    z-index: 200;
    max-height: 300px;
    overflow-y: auto;
    display: none
}

    .sb-search-results.show {
        display: block
    }

.sb-sr-item {
    padding: .6rem 1rem;
    font-size: .86rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--t2);
    border-bottom: 1px solid #f3f4f6;
    transition: background .1s
}

    .sb-sr-item:last-child {
        border-bottom: none
    }

    .sb-sr-item:hover {
        background: var(--gl);
        color: var(--g1)
    }

/* ── Stats bar ─────────────────────────────────────────── */
.sb-statsbar {
    background: var(--wh);
    border-bottom: 1px solid var(--br);
    padding: .6rem 0
}

    .sb-statsbar .row {
        --bs-gutter-x: 0
    }

.stat-col {
    text-align: center;
    padding: .2rem .5rem
}

.stat-num {
    font-family: 'Poppins',sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--g2);
    line-height: 1.1
}

.stat-lbl {
    font-size: .7rem;
    color: var(--t3);
    text-transform: uppercase;
    letter-spacing: .05em
}

/* ── Section header ────────────────────────────────────── */
.sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .9rem
}

.sec-title {
    font-family: 'Poppins',sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--t1);
    display: flex;
    align-items: center;
    gap: .4rem;
    margin: 0
}

.sec-link {
    font-size: .82rem;
    color: var(--g2);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .2rem;
    text-decoration: none
}

    .sec-link:hover {
        color: var(--g1);
        text-decoration: none
    }

/* ── Grid buttons ──────────────────────────────────────── */
.sb-gbtn {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .75rem;
    background: var(--wh);
    border: 1.5px solid var(--br);
    border-radius: var(--r8);
    font-size: .83rem;
    font-family: 'Poppins',sans-serif;
    font-weight: 500;
    color: var(--t1);
    transition: border-color .15s,background .15s,box-shadow .15s;
    text-decoration: none;
    overflow: hidden;
    width: 100%
}

    .sb-gbtn:hover {
        text-decoration: none;
        box-shadow: var(--sh1)
    }

    .sb-gbtn .gicon {
        font-size: .8rem;
        flex-shrink: 0
    }

    .sb-gbtn span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .sb-gbtn.green:hover {
        border-color: var(--g2);
        background: var(--gl);
        color: var(--g1)
    }

    .sb-gbtn.blue:hover {
        border-color: var(--bd);
        background: var(--bl);
        color: #1d4ed8
    }

    .sb-gbtn.amber:hover {
        border-color: var(--am);
        background: var(--al);
        color: #92400e
    }

/* ── Cards ─────────────────────────────────────────────── */
.sb-card {
    background: var(--wh);
    border-radius: var(--r16);
    box-shadow: var(--sh1);
    border: 1px solid var(--br);
    overflow: hidden
}

.sb-card-head {
    background: var(--wh);
    border-bottom: 1px solid var(--br);
    padding: .8rem 1.1rem;
    font-family: 'Poppins',sans-serif;
    font-size: .88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .45rem
}

.sb-card-body {
    padding: 1rem 1.1rem
}

    .sb-card-body.p0 {
        padding: 0
    }

/* ── Price cards ───────────────────────────────────────── */
.pcards {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: .75rem;
    margin-bottom: 1.25rem
}

@media(max-width:576px) {
    .pcards {
        grid-template-columns: repeat(2,1fr)
    }
}

.pcard {
    background: var(--wh);
    border: 1.5px solid var(--br);
    border-radius: var(--r12);
    padding: .9rem .75rem;
    text-align: center;
    position: relative;
    overflow: hidden
}

    .pcard::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        border-radius: var(--r4) var(--r4) 0 0
    }

    .pcard.pc-modal::before {
        background: var(--g2)
    }

    .pcard.pc-modal {
        background: linear-gradient(160deg,#f0fdf4 0%,#fff 60%)
    }

    .pcard.pc-min::before {
        background: #0284c7
    }

    .pcard.pc-mann::before {
        background: var(--am)
    }

    .pcard.pc-max::before {
        background: #dc2626
    }

.pc-lbl {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--t3);
    font-family: 'Poppins',sans-serif;
    margin-bottom: .3rem
}

.pc-val {
    font-family: 'Poppins',sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1
}

.pcard.pc-modal .pc-val {
    color: var(--g2)
}

.pcard.pc-min .pc-val {
    color: #0284c7
}

.pcard.pc-mann .pc-val {
    color: var(--am)
}

.pcard.pc-max .pc-val {
    color: #dc2626
}

.pc-unit {
    font-size: .69rem;
    color: var(--t3);
    margin-top: .2rem
}

/* ── Price change badge ─────────────────────────────────── */
.price-badge {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-family: 'Poppins',sans-serif;
    font-size: .74rem;
    font-weight: 600;
    padding: .18rem .55rem;
    border-radius: var(--r99)
}

    .price-badge.up {
        background: #dcfce7;
        color: #166534
    }

    .price-badge.down {
        background: #fee2e2;
        color: #991b1b
    }

    .price-badge.same {
        background: #f3f4f6;
        color: var(--t3)
    }

/* ── Share buttons ──────────────────────────────────────── */
.sb-share {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem
}

.sb-share-btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .9rem;
    border-radius: var(--r99);
    font-size: .8rem;
    font-family: 'Poppins',sans-serif;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .15s
}

    .sb-share-btn:hover {
        opacity: .88;
        text-decoration: none
    }

    .sb-share-btn.wa {
        background: #25d366;
        color: #fff
    }

    .sb-share-btn.cp {
        background: #f3f4f6;
        color: var(--t2);
        border: 1px solid var(--br)
    }

/* ── Alert / banner ─────────────────────────────────────── */
.sb-alert {
    background: linear-gradient(90deg,#f0fdf4,#dcfce7);
    border: 1px solid #86efac;
    border-left: 4px solid var(--g2);
    border-radius: var(--r12);
    padding: .65rem 1rem;
    font-size: .86rem;
    font-family: 'Poppins',sans-serif;
    font-weight: 500;
    color: var(--g1);
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem
}

    .sb-alert.warn {
        background: #fffbeb;
        border-color: #fcd34d;
        border-left-color: var(--am);
        color: #92400e
    }

/* ── Table ──────────────────────────────────────────────── */
.sb-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: .86rem
}

    .sb-tbl thead th {
        background: #1f2937;
        color: #f9fafb;
        font-family: 'Poppins',sans-serif;
        font-size: .76rem;
        font-weight: 600;
        padding: .65rem .85rem;
        text-align: left;
        letter-spacing: .03em;
        white-space: nowrap
    }

        .sb-tbl thead th:first-child {
            border-radius: var(--r4) 0 0 0
        }

        .sb-tbl thead th:last-child {
            border-radius: 0 var(--r4) 0 0
        }

    .sb-tbl tbody tr {
        border-bottom: 1px solid var(--br);
        transition: background .1s
    }

        .sb-tbl tbody tr:hover {
            background: #fafafa
        }

        .sb-tbl tbody tr:first-child {
            background: #f0fdf4
        }

    .sb-tbl td {
        padding: .55rem .85rem;
        color: var(--t2);
        vertical-align: middle
    }

.td-modal {
    font-weight: 700;
    color: var(--g2)
}

.td-kg {
    font-weight: 600;
    color: #0284c7;
    white-space: nowrap
}

.td-date {
    white-space: nowrap;
    font-size: .79rem;
    color: var(--t3)
}

.td-mkt {
    font-size: .76rem;
    color: var(--t4)
}

/* ── Info box ───────────────────────────────────────────── */
.sb-infobox {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid var(--bd);
    border-radius: var(--r12);
    padding: .9rem 1rem;
    font-size: .86rem;
    color: #1e3a5f
}

    .sb-infobox .ib-title {
        font-family: 'Poppins',sans-serif;
        font-weight: 600;
        font-size: .88rem;
        color: #1e40af;
        margin-bottom: .35rem;
        display: flex;
        align-items: center;
        gap: .35rem
    }

/* ── FAQ ────────────────────────────────────────────────── */
.sb-faq .accordion-item {
    border: 1px solid var(--br);
    border-radius: var(--r12) !important;
    margin-bottom: .45rem;
    overflow: hidden
}

.sb-faq .accordion-button {
    font-family: 'Poppins',sans-serif;
    font-size: .86rem;
    font-weight: 600;
    color: var(--t1);
    background: var(--wh);
    padding: .8rem 1rem
}

    .sb-faq .accordion-button:not(.collapsed) {
        background: var(--gl);
        color: var(--g1);
        box-shadow: none
    }

.sb-faq .accordion-body {
    font-size: .84rem;
    color: var(--t2);
    padding: .8rem 1rem;
    background: #fafafa;
    line-height: 1.8
}

/* ── Content box ────────────────────────────────────────── */
.sb-cbox {
    background: var(--wh);
    border: 1px solid var(--br);
    border-radius: var(--r16);
    padding: 1.1rem
}

    .sb-cbox h2 {
        font-size: .95rem;
        margin-bottom: .5rem;
        display: flex;
        align-items: center;
        gap: .35rem
    }

    .sb-cbox p {
        font-size: .85rem;
        color: var(--t2);
        line-height: 1.8;
        margin-bottom: .5rem
    }

        .sb-cbox p:last-child {
            margin-bottom: 0
        }

/* ── Link pills ─────────────────────────────────────────── */
.sb-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem
}

.sb-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .32rem .7rem;
    background: var(--bg);
    border: 1px solid var(--br);
    border-radius: var(--r99);
    font-size: .79rem;
    font-weight: 500;
    color: var(--t2);
    text-decoration: none;
    transition: border-color .15s,background .15s,color .15s
}

    .sb-pill:hover {
        border-color: var(--g2);
        background: var(--gl);
        color: var(--g1);
        text-decoration: none
    }

/* ── Steps ──────────────────────────────────────────────── */
.sb-step {
    background: var(--wh);
    border: 1px solid var(--br);
    border-radius: var(--r16);
    padding: 1.1rem;
    height: 100%;
    text-align: center
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto .65rem;
    font-family: 'Poppins',sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--g1)
}

.sb-step h3 {
    font-size: .9rem;
    margin-bottom: .35rem
}

.sb-step p {
    font-size: .8rem;
    color: var(--t3);
    margin: 0
}

/* ── Market analysis ────────────────────────────────────── */
.sb-analysis {
    background: linear-gradient(135deg,#f0fdf4,#f8fafc);
    border: 1px solid #d1fae5;
    border-radius: var(--r16);
    padding: 1.1rem;
    margin-bottom: 1rem
}

    .sb-analysis h3 {
        font-size: .92rem;
        color: var(--g1);
        margin-bottom: .5rem;
        display: flex;
        align-items: center;
        gap: .35rem
    }

/* ── Ad slots ───────────────────────────────────────────── */
.ad-slot {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--r8);
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--t4);
    font-size: .74rem;
    text-align: center;
    overflow: hidden;
    margin: 1rem 0
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.sb-bc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
    padding: .5rem 0 .85rem;
    font-size: .78rem;
    color: var(--t3)
}

    .sb-bc a {
        color: var(--g2);
        font-weight: 500
    }

        .sb-bc a:hover {
            color: var(--g1);
            text-decoration: none
        }

    .sb-bc .sep {
        color: #000000;
        margin: 0 .05rem
    }

    .sb-bc .cur {
        color: var(--t2);
        font-weight: 500;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

/* ── Page title ─────────────────────────────────────────── */
.sb-pt {
    margin-bottom: 1.1rem
}

    .sb-pt h1 {
        font-size: clamp(1.15rem,3vw,1.65rem);
        margin-bottom: .2rem
    }

    .sb-pt .sub {
        color: var(--t3);
        font-size: .85rem;
        line-height: 1.5
    }

/* ── Attribution box ────────────────────────────────────── */
.sb-attribution {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--r8);
    padding: .6rem .9rem;
    font-size: .76rem;
    color: var(--g1);
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: .75rem 0
}

    .sb-attribution a {
        color: var(--g1);
        font-weight: 600
    }

/* ── Admin ──────────────────────────────────────────────── */
.admin-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.5rem 1rem
}

.admin-card {
    background: var(--wh);
    border-radius: var(--r16);
    border: 1px solid var(--br);
    overflow: hidden;
    box-shadow: var(--sh2)
}

.admin-hdr {
    background: linear-gradient(135deg,#14532d,var(--g1));
    padding: 1.35rem 1.5rem;
    color: #fff
}

    .admin-hdr h1 {
        color: #fff;
        font-size: 1.15rem;
        margin: 0;
        display: flex;
        align-items: center;
        gap: .5rem
    }

    .admin-hdr p {
        color: rgba(255,255,255,.7);
        font-size: .83rem;
        margin: .3rem 0 0
    }

.admin-body {
    padding: 1.5rem
}

.step-label {
    font-family: 'Poppins',sans-serif;
    font-weight: 600;
    font-size: .88rem;
    color: var(--t1);
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .55rem
}

.step-num-sm {
    background: var(--g2);
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
    flex-shrink: 0
}

.key-input {
    width: 100%;
    padding: .6rem .9rem;
    border: 1.5px solid var(--br);
    border-radius: var(--r8);
    font-size: .87rem;
    outline: none;
    transition: border-color .15s,box-shadow .15s;
    background: var(--wh);
    font-family: 'Noto Sans',sans-serif
}

    .key-input:focus {
        border-color: var(--g2);
        box-shadow: 0 0 0 3px rgba(22,163,74,.12)
    }

.import-btn {
    background: linear-gradient(135deg,var(--g2),var(--g1));
    border: none;
    color: #fff;
    font-family: 'Poppins',sans-serif;
    font-weight: 700;
    font-size: .95rem;
    padding: .85rem 1.25rem;
    border-radius: var(--r12);
    width: 100%;
    cursor: pointer;
    transition: opacity .2s,transform .1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem
}

    .import-btn:hover {
        opacity: .9;
        transform: translateY(-1px)
    }

    .import-btn:active {
        transform: translateY(0)
    }

    .import-btn:disabled {
        opacity: .55;
        cursor: not-allowed;
        transform: none
    }

.progress-box {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: var(--r12);
    padding: 1rem;
    text-align: center;
    display: none
}

/* ── Footer ─────────────────────────────────────────────── */
.sb-footer {
    background: #111827;
    color: rgba(255,255,255,.6);
    padding: 2.25rem 0 1.1rem;
    margin-top: 3rem;
    font-size: .83rem
}

    .sb-footer h6 {
        color: #fff;
        font-family: 'Poppins',sans-serif;
        font-size: .86rem;
        font-weight: 600;
        margin-bottom: .7rem
    }

    .sb-footer a {
        color: rgba(255,255,255,.5);
        text-decoration: none
    }

        .sb-footer a:hover {
            color: #fff
        }

    .sb-footer ul {
        list-style: none;
        padding: 0;
        margin: 0
    }

        .sb-footer ul li {
            margin-bottom: .32rem
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 1.4rem;
    padding-top: .9rem;
    text-align: center;
    font-size: .77rem;
    color: rgba(255,255,255,.35)
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.au {
    animation: fadeUp .3s ease both
}

.au1 {
    animation-delay: .05s
}

.au2 {
    animation-delay: .1s
}

.au3 {
    animation-delay: .15s
}

.au4 {
    animation-delay: .2s
}

/* ── Print styles ────────────────────────────────────────── */
@media print {
    .sb-nav, .sb-hero, .sb-search-wrap, .sb-statsbar, .ad-slot,
    .sb-share, .sb-footer, #backToTop, .sb-faq, .sb-pills,
    .sb-analysis, .sb-infobox, .accordion {
        display: none !important
    }

    .pcards {
        grid-template-columns: repeat(4,1fr) !important
    }

    .pcard {
        border: 1px solid #ccc !important;
        background: #fff !important
    }

    .sb-tbl {
        font-size: 11px
    }

        .sb-tbl thead th {
            background: #333 !important;
            -webkit-print-color-adjust: exact
        }

    body {
        font-size: 12px;
        color: #000
    }

    .container {
        max-width: 100% !important
    }

    h1 {
        font-size: 16px !important
    }

    .sb-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important
    }

    .print-attribution {
        display: block !important
    }
}

.print-attribution {
    display: none;
    font-size: 10px;
    color: #666;
    margin-top: 12px;
    border-top: 1px solid #eee;
    padding-top: 8px
}

/* ── Responsive ─────────────────────────────────────────── */
@media(max-width:576px) {
    .sb-hero {
        padding: 2rem 0 1.75rem
    }

    .pc-val {
        font-size: 1.3rem
    }

    .sb-tbl thead th, .sb-tbl td {
        padding: .45rem .55rem;
        font-size: .78rem
    }

    .sb-card-body {
        padding: .8rem
    }

    .sb-cbox {
        padding: .9rem
    }

    .pcards {
        gap: .5rem
    }
}

@media(max-width:380px) {
    .pc-val {
        font-size: 1.15rem
    }

    .sb-gbtn {
        font-size: .79rem;
        padding: .45rem .6rem
    }
}

/* ── Custom FAQ Accordion (Bootstrap-independent) ─────── */
.sb-custom-faq {
    display: flex;
    flex-direction: column;
    gap: .45rem
}

.scf-item {
    background: var(--wh);
    border: 1.5px solid var(--br);
    border-radius: var(--r12);
    overflow: hidden;
    transition: border-color .15s
}

    .scf-item.open {
        border-color: #86efac
    }

.scf-btn {
    width: 100%;
    background: var(--wh);
    border: none;
    padding: .85rem 1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    font-family: 'Poppins',sans-serif;
    font-size: .87rem;
    font-weight: 600;
    color: var(--t1);
    transition: background .15s
}

    .scf-btn:hover {
        background: #fafafa
    }

.scf-item.open .scf-btn {
    background: var(--gl);
    color: var(--g1)
}

.scf-btn span {
    flex: 1;
    text-align: left;
    line-height: 1.4
}

.scf-icon {
    flex-shrink: 0;
    font-size: .8rem;
    transition: transform .25s ease;
    color: var(--t3)
}

.scf-item.open .scf-icon {
    transform: rotate(180deg);
    color: var(--g1)
}

.scf-body {
    padding: .85rem 1rem;
    font-size: .85rem;
    color: var(--t2);
    line-height: 1.8;
    background: #fafafa;
    border-top: 1px solid #e9fbe9
}

/* ── Trending commodities cards ───────────────────────── */
.trend-card {
    background: var(--wh);
    border: 1.5px solid var(--br);
    border-radius: var(--r12);
    padding: .85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    text-decoration: none;
    transition: border-color .15s,box-shadow .15s;
    overflow: hidden
}

    .trend-card:hover {
        border-color: var(--g2);
        box-shadow: var(--sh1);
        text-decoration: none
    }

.tc-name {
    font-family: 'Poppins',sans-serif;
    font-size: .86rem;
    font-weight: 600;
    color: var(--t1);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.tc-loc {
    font-size: .75rem;
    color: var(--t3)
}

.tc-price {
    font-family: 'Poppins',sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--g2);
    white-space: nowrap
}

.tc-unit {
    font-size: .68rem;
    color: var(--t3)
}

/* ── Homepage feature cards ───────────────────────────── */
.feat-card {
    background: var(--wh);
    border: 1px solid var(--br);
    border-radius: var(--r16);
    padding: 1.1rem;
    height: 100%;
    display: flex;
    gap: .85rem;
    align-items: flex-start
}

.feat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem
}

    .feat-icon.green {
        background: var(--gl);
        color: var(--g1)
    }

    .feat-icon.blue {
        background: var(--bl);
        color: #1d4ed8
    }

    .feat-icon.amber {
        background: var(--al);
        color: #92400e
    }

    .feat-icon.red {
        background: #fee2e2;
        color: #991b1b
    }

.feat-content h3 {
    font-size: .9rem;
    margin-bottom: .2rem
}

.feat-content p {
    font-size: .8rem;
    color: var(--t3);
    margin: 0;
    line-height: 1.6
}

/* ── Trust badges ─────────────────────────────────────── */
.trust-bar {
    background: var(--wh);
    border-top: 1px solid var(--br);
    border-bottom: 1px solid var(--br);
    padding: .65rem 0
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .79rem;
    color: var(--t2);
    font-family: 'Poppins',sans-serif;
    font-weight: 500;
    justify-content: center
}

    .trust-item i {
        font-size: .9rem
    }

/* ── Admin logs active pill ─────────────────────────────── */
.active-pill {
    border-color: var(--g2);
    background: var(--gl);
    color: var(--g1)
}

/* ── Live Price Cards — Homepage ─────────────────────────── */
.live-price-card {
    display: block;
    background: var(--wh);
    border: 1.5px solid var(--br);
    border-radius: var(--r12);
    padding: .85rem .9rem;
    transition: border-color .15s,box-shadow .15s,transform .15s;
    height: 100%
}

    .live-price-card:hover {
        border-color: var(--g2);
        box-shadow: var(--sh1);
        transform: translateY(-2px)
    }

.lpc-name {
    font-size: .78rem;
    color: var(--t3);
    font-family: 'Poppins',sans-serif;
    font-weight: 500;
    margin-bottom: .2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.lpc-price {
    font-family: 'Poppins',sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--g1);
    line-height: 1.1
}

.lpc-unit {
    font-size: .72rem;
    font-weight: 400;
    color: var(--t3)
}
