
:root {
    --primary: #0f6b58;
    --primary-light: #0b8f73;
    --primary-glow: rgba(11,143,115,0.15);
    --accent-up: #10b981;
    --accent-down: #ef4444;
    --accent-up-bg: rgba(16,185,129,0.12);
    --accent-down-bg: rgba(239,68,68,0.10);
    --gold: #F59E0B;
    --gold-bg: rgba(245,158,11,0.10);
    --bg: #eefaf7;
    --surface: #FFFFFF;
    --surface2: #f6fffc;
    --border: rgba(15,107,88,0.10);
    --text: #10233a;
    --text2: #476179;
    --text3: #8394a7;
    --shadow: 0 2px 20px rgba(15,107,88,0.08);
    --shadow-lg: 0 8px 40px rgba(15,107,88,0.14);
    --radius: 14px;
    --radius-sm: 8px;
    --mono: 'JetBrains Mono', monospace;
    --nav-h: 68px;
}
[data-theme="dark"] {
    --bg: #051813;
    --surface: #0a221c;
    --surface2: #102c25;
    --border: rgba(255,255,255,0.08);
    --text: #ecfffa;
    --text2: #a9c0ba;
    --text3: #6b857d;
    --shadow: 0 2px 20px rgba(0,0,0,0.45);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background: radial-gradient(circle at top right, rgba(16,185,129,0.08), transparent 30%), var(--bg);
    color: var(--text);
    transition: background .3s, color .3s;
    padding-bottom: 0;
}
/* NAV */
.pickei-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    height: var(--nav-h);
}
.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%;
    padding: 0 24px;
}
.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-light);
    letter-spacing: -0.5px;
    text-decoration: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
}
.logo-dot {
    color: var(--gold);
}
.logo-icon {
    width: 34px;
    height: 34px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon i {
    color: #fff;
    font-size: 16px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    list-style: none;
    transform: translateY(2px);
}
.nav-links a {
    color: var(--text2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary-light);
    background: var(--primary-glow);
}
.nav-search {
    position: relative;
    flex-shrink: 0;
}
.nav-search input {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 8px 16px 8px 40px;
    font-size: 13.5px;
    color: var(--text);
    width: 200px;
    font-family: inherit;
    outline: none;
    transition: all .2s;
}
.nav-search input:focus {
    width: 260px;
    border-color: var(--primary-light);
}
.nav-search input::placeholder {
    color: var(--text3);
}
.nav-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text3);
    font-size: 14px;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.btn-dark-toggle {
    background: var(--surface2);
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text2);
    transition: all .2s;
}
.btn-dark-toggle:hover {
    color: var(--primary-light);
    border-color: var(--primary-light);
}
.btn-login {
    background: transparent;
    border: 1.5px solid var(--primary-light);
    color: var(--primary-light);
    padding: 7px 18px;
    border-radius: 24px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
}
.btn-login:hover {
    background: var(--primary-glow);
}
.btn-register {
    background: var(--primary-light);
    border: none;
    color: #fff;
    padding: 7px 18px;
    border-radius: 24px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
}
.btn-register:hover {
    background: var(--primary);
}
/* TICKER */
.ticker-bar {
    background: linear-gradient(90deg, var(--primary-light), #0a6a57);
    color: rgba(255,255,255,0.96);
    font-size: 12.5px;
    font-weight: 600;
    overflow: hidden;
    height: 42px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ticker-scroll {
    display: flex;
    gap: 48px;
    animation: scroll-ticker 40s linear infinite;
    white-space: nowrap;
    padding: 0 24px;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ticker-item .up {
    color: #4DFFAA;
}
.ticker-item .dn {
    color: #FF8888;
}
@keyframes scroll-ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* MAIN */
.main-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 24px;
}
/* HERO CARDS */
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.05fr .9fr;
    gap: 20px;
    margin-bottom: 28px;
}
.hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.hero-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(11,143,115,0.24);
}
.hero-card-bg {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0.06;
}
.hero-card.gold .hero-card-bg {
    background: var(--gold);
}
.hero-card.fuel .hero-card-bg {
    background: #3B82F6;
}
.hero-card.stock .hero-card-bg {
    background: var(--accent-up);
}
.card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.card-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.card-icon.gold {
    background: var(--gold-bg);
    color: var(--gold);
}
.card-icon.fuel {
    background: rgba(59,130,246,0.1);
    color: #3B82F6;
}
.card-icon.stock {
    background: var(--accent-up-bg);
    color: var(--accent-up);
}
.live-dot {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--accent-up);
    font-weight: 600;
}
.live-dot::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-up);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .5;
        transform: scale(1.3);
    }
}
.gold-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gold-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.gold-type {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.gold-prices {
    display: flex;
    gap: 16px;
}
.gold-price-col {
    text-align: right;
}
.gold-price-label {
    font-size: 10px;
    color: var(--text3);
    font-weight: 500;
}
.gold-price-val {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.badge-change {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    font-family: var(--mono);
}
.badge-up {
    background: var(--accent-up-bg);
    color: var(--accent-up);
}
.badge-dn {
    background: var(--accent-down-bg);
    color: var(--accent-down);
}
.badge-flat {
    background: rgba(136,146,176,0.1);
    color: var(--text3);
}
.fuel-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.fuel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fuel-name {
    display: flex;
    align-items: center;
    gap: 8px;
}
.fuel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.fuel-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.fuel-right {
    text-align: right;
}
.fuel-price {
    font-family: var(--mono);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}
.fuel-unit {
    font-size: 10px;
    color: var(--text3);
}
.fuel-update {
    font-size: 11px;
    color: var(--text3);
    margin-top: 12px;
}
.stock-indexes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.stock-idx-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.idx-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}
.idx-val {
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
}
.mini-chart-wrap {
    height: 48px;
    margin-top: 14px;
}
/* SECTION CHART */
.section-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 20px;
    background: var(--primary-light);
    border-radius: 2px;
}
.tab-pills {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.tab-pill {
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text2);
    font-family: inherit;
    transition: all .2s;
}
.tab-pill.active, .tab-pill:hover {
    background: var(--primary-light);
    color: #fff;
    border-color: var(--primary-light);
}
.period-pills {
    display: flex;
    gap: 4px;
}
.period-pill {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text3);
    font-family: inherit;
    transition: all .15s;
}
.period-pill.active {
    background: var(--primary-glow);
    color: var(--primary-light);
    border-color: var(--primary-light);
}
.chart-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.chart-wrap {
    position: relative;
    height: 280px;
}
/* TABLE */
.fin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.fin-table thead th {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    background: var(--surface2);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
}
.fin-table thead th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}
.fin-table thead th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}
.fin-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.fin-table tbody tr:hover {
    background: var(--surface2);
}
.fin-table tbody td {
    padding: 13px 16px;
    font-size: 13.5px;
    color: var(--text);
    vertical-align: middle;
}
.fin-table td.num {
    font-family: var(--mono);
    font-weight: 600;
}
.fin-table td.up {
    color: var(--accent-up);
    font-weight: 700;
}
.fin-table td.dn {
    color: var(--accent-down);
    font-weight: 700;
}
.responsive-fin-table {
    width: 100%;
}
.stock-mobile-list {
    display: none;
}
.stock-mobile-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(16,185,129,0.08), transparent 34%),
        var(--surface2);
    padding: 16px;
    box-shadow: 0 10px 24px rgba(15,107,88,0.06);
}
.stock-mobile-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}
.stock-mobile-ident {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.stock-mobile-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(16,185,129,0.14), rgba(16,185,129,0.05));
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}
.stock-mobile-ticker {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
}
.stock-mobile-exchange {
    margin-top: 4px;
    font-size: 11px;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.stock-mobile-price-wrap {
    text-align: right;
    flex-shrink: 0;
}
.stock-mobile-price {
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
}
.stock-mobile-change {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
}
.stock-mobile-chart {
    margin: 14px 0 12px;
    height: 42px;
}
.stock-mobile-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.stock-mobile-metric {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(15,107,88,0.06);
}
.stock-mobile-label {
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 800;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.stock-mobile-metric strong {
    font-size: 14px;
    color: var(--text);
}
.table-mini-chart {
    height: 32px;
    width: 80px;
}
/* NEWS */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}
.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
    display: block;
    color: inherit;
    text-decoration: none;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.news-img {
    height: 140px;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.news-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-img-illustration {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.news-img-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: flex-start;
    pointer-events: none;
}
.news-img-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--news-accent, var(--primary-light)) 14%, white);
    color: var(--news-accent, var(--primary-light));
    border: 1px solid color-mix(in srgb, var(--news-accent, var(--primary-light)) 30%, white);
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
.news-body {
    padding: 14px;
}
.news-source {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.news-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-time {
    font-size: 11px;
    color: var(--text3);
}
/* TOP STOCKS */
.top-stock-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.top-stock-tab {
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    color: var(--text2);
    background: transparent;
    font-family: inherit;
    transition: all .2s;
}
.top-stock-tab.active {
    background: var(--primary-light);
    color: #fff;
    border-color: var(--primary-light);
}
.stock-mini-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.stock-mini-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: background .15s;
}
.stock-mini-row:hover {
    background: var(--surface2);
}
.macro-grid {
    align-items: stretch;
}
.macro-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.macro-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 140px;
    background: radial-gradient(circle at top right, rgba(16,185,129,0.08), transparent 58%);
    pointer-events: none;
}
.macro-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.macro-head-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.macro-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.10);
    color: var(--primary-light);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.macro-chip.soft {
    background: var(--surface2);
    color: var(--text2);
}
.macro-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 16px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    z-index: 1;
}
.fx-banner {
    background:
        radial-gradient(circle at top right, rgba(16,185,129,0.22), transparent 38%),
        linear-gradient(135deg, rgba(16,185,129,0.10), rgba(15,107,88,0.04));
}
.rate-banner {
    background:
        radial-gradient(circle at top right, rgba(16,185,129,0.18), transparent 38%),
        linear-gradient(135deg, rgba(16,185,129,0.10), rgba(15,107,88,0.04));
}
.macro-banner-copy {
    min-width: 0;
}
.macro-banner-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text3);
    margin-bottom: 6px;
}
.macro-banner-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text);
    max-width: 420px;
}
.macro-banner-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255,255,255,0.58);
    border: 1px solid rgba(255,255,255,0.65);
    box-shadow: 0 12px 26px rgba(15,40,120,0.10);
    color: var(--primary-light);
    font-size: 24px;
}
.macro-subtitle {
    font-size: 13px;
    color: var(--text2);
    margin: -6px 0 0;
    line-height: 1.5;
}
.macro-rate-list {
    display: grid;
    gap: 12px;
}
.macro-rate-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(180deg, var(--surface2), color-mix(in srgb, var(--surface) 90%, var(--primary-glow)));
    padding: 16px 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}
.macro-rate-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}
.macro-rate-bank {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}
.macro-rate-category {
    font-size: 11px;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.macro-rate-value {
    font-family: var(--mono);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-light);
    white-space: nowrap;
}
.macro-rate-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--text2);
    font-size: 12px;
}
.macro-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--primary-glow);
    color: var(--primary-light);
    font-size: 11px;
    font-weight: 700;
}
.fx-code {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.fx-symbol {
    min-width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15,40,120,0.10), rgba(59,130,246,0.16));
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 800;
}
.stock-rank {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--primary-glow);
    color: var(--primary-light);
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.stock-ticker {
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    width: 50px;
}
.stock-exchange {
    font-size: 10px;
    color: var(--text3);
}
.stock-price-col {
    text-align: right;
    flex: 1;
}
.stock-price {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.stock-vol {
    font-size: 11px;
    color: var(--text3);
}
/* TWO COL */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.three-col {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}
/* REFRESH INDICATOR */
.refresh-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    background:
        radial-gradient(circle at top right, rgba(16,185,129,0.09), transparent 32%),
        var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}
.page-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
}
.refresh-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    color: var(--text3);
}
.refresh-countdown {
    display: flex;
    align-items: center;
    gap: 6px;
}
.progress-ring {
    width: 24px;
    height: 24px;
    transform: rotate(-90deg);
}
.progress-ring circle {
    transition: stroke-dashoffset 1s linear;
}
/* BOTTOM NAV (mobile) */
.bottom-nav {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 10px;
    background: color-mix(in srgb, var(--surface) 92%, white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 6px;
    box-shadow: 0 16px 36px rgba(15,40,120,0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 999;
}
.bottom-nav-inner {
    display: flex;
    align-items: stretch;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 4px;
}
.bottom-nav-inner::-webkit-scrollbar {
    display: none;
}
.bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 0 0 68px;
    color: var(--text3);
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
    min-height: 50px;
    padding: 6px 4px;
    border-radius: 14px;
    transition: all .18s ease;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
    scroll-snap-align: center;
}
.bnav-item.active {
    color: var(--primary-light);
    background: linear-gradient(180deg, rgba(15,40,120,0.10), rgba(15,40,120,0.05));
    box-shadow: inset 0 0 0 1px rgba(15,40,120,0.06);
}
.bnav-item:hover {
    color: var(--primary-light);
}
.bnav-item i {
    font-size: 17px;
}
.bnav-item.active i {
    transform: translateY(-1px);
}
/* SKELETON */
.skeleton {
    background: linear-gradient(90deg, var(--surface2) 25%, var(--border) 50%, var(--surface2) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
}
@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
/* RESPONSIVE */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    .three-col {
        grid-template-columns: 1fr 1fr;
    }
    .nav-links {
        display: none;
    }
}
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
    .two-col {
        grid-template-columns: 1fr;
    }
    .three-col {
        grid-template-columns: 1fr;
    }
    .nav-search {
        display: none;
    }
    .btn-login {
        display: none;
    }
    .bottom-nav {
        display: flex;
    }
    .main-wrap {
        padding: 16px;
    }
}
@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}
/* UTIL */
.text-up {
    color: var(--accent-up);
}
.text-dn {
    color: var(--accent-down);
}
.mono {
    font-family: var(--mono);
}
.divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-sm);
}
.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
}
.tag-hose {
    background: rgba(16,185,129,.12);
    color: var(--primary-light);
}
.tag-hnx {
    background: rgba(11,143,115,.12);
    color: var(--primary);
}
.tag-upcom {
    background: rgba(245,158,11,.12);
    color: #F59E0B;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.pickei-footer {
    background: var(--primary);
    color: #c8d4f0;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}
.pickei-footer::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}
.pickei-footer::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 10%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.025);
    pointer-events: none;
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 24px 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}
.footer-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
}
.footer-logo-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-logo-icon i {
    color: #fff;
    font-size: 17px;
}
.footer-logo-dot {
    color: var(--gold);
}
.footer-tagline {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(200,212,240,0.75);
    margin-bottom: 22px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(200,212,240,0.8);
    text-decoration: none;
    font-size: 15px;
    transition: background .2s, color .2s, transform .2s;
}
.social-btn:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
    transform: translateY(-2px);
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(200,212,240,0.5);
    margin-bottom: 14px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 9px;
}
.footer-col ul li a {
    color: rgba(200,212,240,0.8);
    text-decoration: none;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color .2s;
}
.footer-col ul li a i {
    font-size: 12px;
    opacity: 0.6;
}
.footer-col ul li a:hover {
    color: #fff;
}
.footer-col ul li a:hover i {
    opacity: 1;
}
.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin: 0;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 24px;
    flex-wrap: wrap;
}
.footer-note {
    font-size: 12px;
    color: rgba(200,212,240,0.5);
    display: flex;
    align-items: center;
}
.footer-copy {
    font-size: 12.5px;
    color: rgba(200,212,240,0.55);
    text-align: center;
}
.footer-copy strong {
    color: rgba(200,212,240,0.85);
}
.footer-badges {
    display: flex;
    gap: 8px;
}
.footer-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 20px;
    padding: 4px 11px;
    font-size: 11.5px;
    color: rgba(200,212,240,0.65);
}
.footer-badge i {
    font-size: 11px;
    color: var(--accent-up);
}
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .footer-bottom .footer-note {
        justify-content: center;
    }
}
@media (max-width: 560px) {
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}
/* dark mode: footer stays dark (already dark bg) */
[data-theme="dark"] .pickei-footer {
    background: #050c1e;
}

/* HOME PAGE REFINEMENT */
.home-hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 20px;
    margin-bottom: 24px;
}
.home-hero-copy,
.home-hero-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 6px);
    box-shadow: var(--shadow);
}
.home-hero-copy {
    padding: 34px 34px 32px;
    background:
        radial-gradient(circle at top left, rgba(245,158,11,0.16), transparent 34%),
        radial-gradient(circle at bottom right, rgba(11,143,115,0.14), transparent 36%),
        var(--surface);
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(15,40,120,0.06);
    color: var(--primary-light);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.home-hero-title {
    max-width: 780px;
    margin-bottom: 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: var(--text);
}
.home-hero-text {
    max-width: 720px;
    margin-bottom: 22px;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--text2);
}
.hero-proof {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
    margin-bottom: 22px;
}
.hero-proof-item {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.64);
    border: 1px solid rgba(15,107,88,0.10);
    box-shadow: 0 10px 30px rgba(15,107,88,0.06);
}
.hero-proof-label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text3);
}
.hero-proof-value {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
}
.home-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 152px;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    transition: transform .18s, box-shadow .18s, background .18s;
}
.hero-cta:hover {
    transform: translateY(-1px);
}
.hero-cta.primary {
    background: var(--primary-light);
    color: #fff;
    box-shadow: 0 14px 28px rgba(30,58,138,0.18);
}
.hero-cta.secondary {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
}
.home-hero-panel {
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(11,143,115,0.04), transparent),
        var(--surface);
}
.hero-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text3);
}
.hero-panel-live {
    color: var(--accent-up);
}
.hero-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
.hero-stat-card {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface2);
}
.hero-stat-label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.hero-stat-value {
    display: block;
    font-family: var(--mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}
.hero-stat-change {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
}
.hero-stat-change.up {
    color: var(--accent-up);
}
.hero-stat-change.dn {
    color: var(--accent-down);
}
.hero-stat-change.flat {
    color: var(--text3);
}
.hero-news-slider {
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(16,185,129,0.10), transparent 34%),
        var(--surface2);
    padding: 16px;
}
.hero-news-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.hero-news-kicker {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 4px;
}
.hero-news-subtitle {
    font-size: 12px;
    color: var(--text3);
}
.hero-news-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-news-nav {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
}
.hero-news-nav:hover {
    color: var(--primary-light);
    border-color: var(--primary-light);
    background: var(--primary-glow);
}
.hero-news-viewport {
    overflow: hidden;
}
.hero-news-track {
    display: flex;
    transition: transform .35s ease;
    will-change: transform;
}
.hero-news-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 136px minmax(0,1fr);
    gap: 14px;
    align-items: stretch;
}
.hero-news-media {
    min-height: 136px;
    border-radius: 16px;
    background: var(--surface);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.35);
}
.hero-news-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.hero-news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.hero-news-source {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(16,185,129,0.10);
    color: var(--primary-light);
    font-size: 11px;
    font-weight: 700;
}
.hero-news-time {
    font-size: 11px;
    color: var(--text3);
}
.hero-news-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--text);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-news-summary {
    font-size: 13px;
    line-height: 1.65;
    color: var(--text2);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-news-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary-light);
}
.hero-news-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}
.hero-news-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(131,148,167,0.4);
    cursor: pointer;
    transition: all .2s;
}
.hero-news-dot.active {
    width: 24px;
    background: var(--primary-light);
}
.quick-links {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
    margin-bottom: 24px;
}
.quick-link-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--surface);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.quick-link-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(11,143,115,0.24);
}
.quick-link-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(11,143,115,0.10);
    color: var(--primary-light);
    font-size: 18px;
}
.quick-link-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.quick-link-body strong {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}
.quick-link-body span {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--text2);
}
.text-flat {
    color: var(--text3);
}
.stock-exchange {
    margin-top: 2px;
    font-size: 11px;
    color: var(--text3);
}
.news-card-empty {
    grid-column: 1 / -1;
}
.news-card-empty .news-body {
    padding: 18px;
}
.page-subtitle {
    margin-top: 6px;
    max-width: 720px;
    font-size: 13.5px;
    color: var(--text2);
    line-height: 1.7;
}
.refresh-btn {
    background: var(--primary-glow);
    border: 1px solid var(--primary-light);
    color: var(--primary-light);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.hero-muted-label {
    font-size: 11px;
    color: var(--text3);
}
.hero-card-link {
    margin-top: 12px;
    text-align: right;
}
.hero-card-link a {
    color: var(--primary-light);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}
.hero-divider {
    margin: 10px 0;
}
.section-emphasis {
    background:
        linear-gradient(180deg, rgba(15,40,120,0.015), transparent),
        var(--surface);
}
.section-stack {
    margin-bottom: 24px;
}
.compact-card {
    padding: 22px;
}
.spotlight-card {
    background:
        radial-gradient(circle at top right, rgba(0,192,118,0.08), transparent 32%),
        var(--surface);
}
.table-meta {
    font-size: 11.5px;
    color: var(--text3);
}
.news-shell {
    background:
        radial-gradient(circle at top left, rgba(30,58,138,0.05), transparent 28%),
        var(--surface);
}

@media (max-width: 992px) {
    .home-hero {
        grid-template-columns: 1fr;
    }
    .quick-links {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}
@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }
    .ticker-bar {
        height: 28px;
        font-size: 11.5px;
    }
    .ticker-scroll {
        gap: 28px;
        padding: 0 16px;
    }
    .main-wrap {
        padding: 14px;
    }
    .home-hero-copy,
    .home-hero-panel {
        padding: 18px;
        border-radius: 18px;
    }
    .hero-kicker {
        margin-bottom: 14px;
        padding: 6px 10px;
        font-size: 10px;
    }
    .home-hero-title {
        font-size: clamp(28px, 8vw, 36px);
        line-height: 1.1;
        margin-bottom: 12px;
    }
    .home-hero-text {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 16px;
    }
    .hero-proof {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 16px;
    }
    .hero-proof-item {
        padding: 12px 14px;
        border-radius: 16px;
    }
    .home-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .hero-cta {
        width: 100%;
        min-width: 0;
        padding: 12px 14px;
    }
    .hero-panel-header {
        gap: 10px;
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 14px;
    }
    .hero-stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .hero-news-slide {
        grid-template-columns: 1fr;
    }
    .hero-news-media {
        min-height: 180px;
    }
    .hero-stat-card {
        padding: 14px;
        border-radius: 14px;
    }
    .hero-stat-value {
        font-size: 17px;
    }
    .hero-stat-change {
        margin-top: 8px;
        font-size: 11px;
    }
    .refresh-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px;
        border-radius: 18px;
    }
    .refresh-info {
        flex-wrap: wrap;
        width: 100%;
        gap: 10px;
    }
    .refresh-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 14px;
    }
    .quick-links {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .quick-link-card {
        padding: 15px 16px;
        border-radius: 16px;
    }
    .hero-card {
        padding: 18px;
        border-radius: 18px;
    }
    .card-header-row {
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 14px;
    }
    .card-label {
        font-size: 12px;
        line-height: 1.4;
    }
    .gold-row,
    .fuel-row,
    .stock-idx-row {
        gap: 12px;
    }
    .gold-prices {
        gap: 10px;
    }
    .gold-price-val,
    .fuel-price,
    .idx-val {
        font-size: 15px;
    }
    .mini-chart-wrap {
        height: 40px;
    }
    .section-card {
        padding: 18px;
        border-radius: 18px;
        margin-bottom: 18px;
    }
    .section-title {
        font-size: 16px;
        margin-bottom: 14px;
    }
    .chart-top {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .tab-pills,
    .period-pills,
    .top-stock-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .tab-pills::-webkit-scrollbar,
    .period-pills::-webkit-scrollbar,
    .top-stock-tabs::-webkit-scrollbar {
        display: none;
    }
    .tab-pill,
    .period-pill,
    .top-stock-tab {
        white-space: nowrap;
        flex: 0 0 auto;
    }
    .chart-wrap {
        height: 230px;
    }
    .compact-card {
        padding: 18px;
    }
    .table-wrap {
        margin: 0 -18px;
        padding: 0 18px 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .table-wrap::-webkit-scrollbar {
        display: none;
    }
    .fin-table {
        min-width: 560px;
    }
    .fin-table thead th {
        padding: 10px 12px;
        font-size: 10.5px;
    }
    .fin-table tbody td {
        padding: 11px 12px;
        font-size: 13px;
    }
    #goldTableBody td:first-child,
    #fuelTableBody td:first-child,
    #stockTableBody td:first-child,
    #fxTableBody td:first-child {
        min-width: 160px;
    }
    .stock-mini-row {
        padding: 10px 0;
    }
    .stock-responsive-table,
    .stock-responsive-table + .stock-mobile-list {
        width: 100%;
    }
    .macro-card-head {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .macro-head-side {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .macro-banner {
        padding: 14px 16px;
        border-radius: 14px;
    }
    .macro-banner-title {
        font-size: 14px;
    }
    .macro-banner-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 20px;
    }
    .macro-rate-item {
        padding: 14px;
        border-radius: 14px;
    }
    .macro-rate-top,
    .macro-rate-meta {
        gap: 10px;
    }
    .macro-rate-value {
        font-size: 19px;
    }
    .footer-inner {
        padding: 34px 16px 0;
    }
    .footer-top {
        margin-bottom: 28px;
    }
    .footer-bottom {
        padding: 16px 0 18px;
    }
    .stock-responsive-table {
        display: none;
    }
    .stock-mobile-list {
        display: grid;
        gap: 12px;
    }
}
@media (max-width: 480px) {
    .home-hero-title {
        font-size: 30px;
    }
    .hero-stat-grid {
        grid-template-columns: 1fr;
    }
    .hero-news-top,
    .hero-news-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-news-controls {
        align-self: flex-end;
    }
    .quick-link-card {
        gap: 12px;
    }
    .quick-link-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 16px;
    }
    .hero-card-link {
        text-align: left;
    }
    .gold-row,
    .fuel-row,
    .stock-idx-row,
    .macro-rate-top,
    .macro-rate-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    .gold-prices,
    .fuel-right {
        width: 100%;
    }
    .gold-price-col,
    .fuel-right {
        text-align: left;
    }
    .fuel-right {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    .macro-head-side {
        width: 100%;
    }
    .macro-chip {
        max-width: 100%;
    }
    .compact-card {
        padding: 16px;
    }
    .table-wrap {
        margin: 0 -16px;
        padding: 0 16px 2px;
    }
    .fin-table {
        min-width: 520px;
    }
    #goldTableBody td:first-child,
    #fuelTableBody td:first-child,
    #stockTableBody td:first-child,
    #fxTableBody td:first-child {
        min-width: 150px;
    }
    .footer-links {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .bnav-item {
        min-height: 48px;
        padding: 5px 3px 6px;
        font-size: 9.5px;
        gap: 3px;
    }
    .bnav-item i {
        font-size: 17px;
    }
    .stock-mobile-top {
        flex-direction: column;
        align-items: stretch;
    }
    .stock-mobile-price-wrap {
        text-align: left;
    }
    .stock-mobile-metrics {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .responsive-fin-table {
        min-width: 0;
        border-spacing: 0 10px;
    }
    .responsive-fin-table thead {
        display: none;
    }
    .responsive-fin-table tbody,
    .responsive-fin-table tr,
    .responsive-fin-table td {
        display: block;
        width: 100%;
    }
    .responsive-fin-table tbody tr {
        background: var(--surface2);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 8px 0;
        box-shadow: 0 10px 24px rgba(15,40,120,0.06);
    }
    .responsive-fin-table tbody td {
        border: 0;
        padding: 10px 14px;
        text-align: left !important;
    }
    .responsive-fin-table tbody td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--text3);
    }
    .gold-responsive-table tbody td:first-child::before,
    .fuel-responsive-table tbody td:first-child::before,
    .stock-responsive-table tbody td:first-child::before {
        margin-bottom: 6px;
    }
    .gold-responsive-table tbody td:first-child,
    .fuel-responsive-table tbody td:first-child,
    .stock-responsive-table tbody td:first-child {
        padding-top: 14px;
    }
    .gold-responsive-table tbody td:last-child,
    .fuel-responsive-table tbody td:last-child,
    .stock-responsive-table tbody td:last-child {
        padding-bottom: 14px;
    }
    .stock-responsive-table .table-mini-chart {
        width: 100%;
        height: 42px;
    }
    .stock-responsive-table tbody td[data-label="Biểu đồ"] {
        padding-top: 6px;
    }
    .responsive-table-wrap {
        margin: 0;
        padding: 0;
        overflow: visible;
    }
}
