@font-face {
    font-family: 'Noto Serif Bengali';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/noto-serif-bengali-bn.woff2') format('woff2');
    unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1
}

@font-face {
    font-family: 'Noto Serif Bengali';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/noto-serif-bengali-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

@font-face {
    font-family: 'Noto Serif Bengali';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/noto-serif-bengali-bn.woff2') format('woff2');
    unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1
}

@font-face {
    font-family: 'Noto Serif Bengali';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/noto-serif-bengali-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

@font-face {
    font-family: 'Noto Serif Bengali';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/noto-serif-bengali-bn.woff2') format('woff2');
    unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1
}

@font-face {
    font-family: 'Noto Serif Bengali';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/noto-serif-bengali-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500 800;
    font-display: swap;
    src: url('../fonts/outfit-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-light: #e0f2fe;
    --accent: #10b981;
    --accent-dark: #059669;
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-hover: #f1f5f9;
    --border: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1)
}

body.dark-mode {
    --bg: #0b1120;
    --surface: #1e293b;
    --surface-hover: #334155;
    --border: #334155;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary-light: rgba(2, 132, 199, 0.15);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.3)
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

#calculator,
#rate-calculator,
#exchange-rates {
    scroll-margin-top: 85px
}

@keyframes highlightPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.45)
    }

    50% {
        box-shadow: 0 0 0 10px rgba(2, 132, 199, 0.18);
        transform: translateY(-2px)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
        transform: translateY(0)
    }
}

.calc-highlight {
    animation: highlightPulse 1.2s ease-out;
    transition: all 0.3s ease
}

body {
    font-family: 'Noto Serif Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.2s, color 0.2s;
    width: 100%;
    position: relative;
    overflow-x: clip
}

img,
svg,
video,
iframe {
    max-width: 100%;
    height: auto
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box
}

.notice-bar {
    background: linear-gradient(90deg, #0369a1, #0284c7);
    color: #fff;
    font-size: 0.85rem;
    padding: 6px 14px;
    text-align: center;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box
}

body.has-admin-bar {
    padding-top: 34px !important
}

body.has-admin-bar .site-header {
    top: 34px !important
}

@media (max-width:782px) {
    body.has-admin-bar {
        padding-top: 38px !important
    }

    body.has-admin-bar .site-header {
        top: 38px !important
    }
}

body.adminbar-hidden {
    padding-top: 0 !important
}

body.adminbar-hidden .site-header {
    top: 0 !important
}

.site-header-logo {
    max-height: 40px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease
}

@media (max-width:640px) {
    .site-header-logo {
        max-height: 32px;
        max-width: 140px
    }
}

.site-footer-logo {
    max-height: 42px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: inline-block;
    transition: transform 0.2s ease
}

.site-footer-logo:hover {
    transform: scale(1.02)
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    gap: 12px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    flex-wrap: nowrap
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
    flex-shrink: 0
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md)
}

.brand h1,
.brand-name {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap
}

.brand h1 span,
.brand-name span {
    color: var(--primary);
    font-family: 'Outfit', sans-serif
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap
}

.nav-link {
    white-space: nowrap
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    white-space: nowrap
}

.live-status {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-dark);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.2);
    white-space: nowrap;
    flex-shrink: 0
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.6s infinite
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7)
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0)
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0)
    }
}

.theme-btn {
    background: var(--surface-hover);
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0
}

.ad-container {
    margin: 8px auto;
    text-align: center
}

.default-promo-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.05) 0%, rgba(255, 255, 255, 0.98) 45%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid #bae6fd;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.05);
    text-align: left;
    transition: all 0.2s ease;
    overflow: hidden
}

body.dark-mode .default-promo-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-color: #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25)
}

.default-promo-banner:hover {
    border-color: var(--primary)
}

.default-promo-compact-strip {
    padding: 7px 12px;
    margin: 10px 0
}

.promo-strip-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.promo-strip-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.promo-strip-texts {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap
}

.promo-tag-mini {
    background: #0284c7;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    flex-shrink: 0
}

body.dark-mode .promo-tag-mini {
    background: #0369a1
}

.promo-strip-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3
}

.promo-strip-stat {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500
}

.promo-cta-btn-mini {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.2);
    transition: all 0.15s ease
}

.promo-cta-btn-mini:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35)
}

.default-promo-compact-box {
    padding: 10px 12px;
    margin-bottom: 14px
}

.promo-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px
}

.promo-stat-pill-mini {
    font-size: 0.7rem;
    font-weight: 700;
    color: #047857;
    background: #dcfce7;
    padding: 1px 6px;
    border-radius: var(--radius-full)
}

body.dark-mode .promo-stat-pill-mini {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399
}

.promo-box-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 2px 0;
    line-height: 1.3
}

.promo-box-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0 0 8px 0;
    line-height: 1.35
}

.default-promo-calc-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    margin: 14px 0 24px 0;
    border-left: 4px solid var(--primary);
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(255, 255, 255, 0.98) 55%, rgba(16, 185, 129, 0.05) 100%);
    border-top: 1px solid #bae6fd;
    border-right: 1px solid #bae6fd;
    border-bottom: 1px solid #bae6fd;
    border-radius: var(--radius-md);
    flex-wrap: wrap
}

body.dark-mode .default-promo-calc-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-color: #334155;
    border-left-color: var(--primary)
}

.promo-calc-left {
    flex: 1;
    min-width: 260px
}

.promo-calc-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 3px;
    line-height: 1.35
}

.promo-calc-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4
}

.ad-placeholder {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.04) 0%, rgba(255, 255, 255, 0.98) 50%, rgba(16, 185, 129, 0.04) 100%);
    border: 1.5px dashed #bae6fd;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    text-align: center;
    margin: 14px auto;
    position: relative;
    transition: all 0.2s ease
}

body.dark-mode .ad-placeholder {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-color: #334155
}

.ad-placeholder:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08)
}

.ad-placeholder .ad-label {
    display: inline-block;
    background: #0284c7;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px
}

body.dark-mode .ad-placeholder .ad-label {
    background: #0369a1
}

.ad-placeholder p {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main)
}

.ad-slot-wrapper {
    margin: 14px 0 24px 0
}

.sidebar-col .ad-slot-wrapper {
    margin: 0 0 16px 0
}

.sidebar-col .ad-slot-wrapper .default-promo-compact-box {
    margin-bottom: 0
}

.main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
    margin-top: 14px;
    margin-bottom: 36px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box
}

.content-col {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box
}

.sidebar-col {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
    position: -webkit-sticky;
    position: sticky;
    top: 85px;
    max-height: calc(100vh - 95px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(2, 132, 199, 0.25) transparent;
    will-change: transform
}

.sidebar-col::-webkit-scrollbar {
    width: 4px
}

.sidebar-col::-webkit-scrollbar-thumb {
    background: rgba(2, 132, 199, 0.25);
    border-radius: 4px
}

.sidebar-col::-webkit-scrollbar-thumb:hover {
    background: var(--primary)
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 18px
}

.hero-banner {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #fff;
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 18px
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    transition: all 0.15s ease
}

.badge.info {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd
}

body.dark-mode .badge.info {
    background: rgba(2, 132, 199, 0.2);
    color: #7dd3fc;
    border-color: rgba(56, 189, 248, 0.35)
}

.badge.success {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0
}

body.dark-mode .badge.success {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.35)
}

.badge.warning {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a
}

body.dark-mode .badge.warning {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.35)
}

.hero-banner .badge.info {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3)
}

.hero-banner .badge.success {
    background: rgba(16, 185, 129, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25)
}

.flag-icon {
    vertical-align: middle;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    display: inline-block
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--surface);
    color: var(--text-main)
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15)
}

.chips-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
    margin-bottom: 14px
}

.chip-btn,
.quick-chip {
    background: var(--surface-hover);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 5px 11px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.chip-btn:hover,
.quick-chip:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary)
}

.result-box {
    background: var(--surface-hover);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px
}

.res-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border)
}

.res-total {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--accent-dark);
    font-family: 'Outfit', 'Noto Serif Bengali', sans-serif
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm)
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left
}

.data-table th {
    background: var(--surface-hover);
    padding: 10px 12px;
    font-size: 0.84rem;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    white-space: nowrap
}

.data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem
}

.data-table tr:hover {
    background: var(--surface-hover)
}

.quick-rate-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card)
}

.quick-rate-table th {
    background: linear-gradient(180deg, var(--surface-hover) 0%, rgba(2, 132, 199, 0.06) 100%);
    padding: 12px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 2px solid var(--border);
    white-space: nowrap
}

.quick-rate-table td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
    vertical-align: middle
}

.quick-rate-table tbody tr:last-child td {
    border-bottom: none
}

.quick-rate-table tbody tr:nth-child(even) {
    background: rgba(2, 132, 199, 0.02)
}

body.dark-mode .quick-rate-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.015)
}

.quick-rate-table tbody tr:hover {
    background: rgba(2, 132, 199, 0.06);
    transition: background 0.15s ease
}

.denom-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.denom-pill {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(2, 132, 199, 0.25);
    font-family: 'Outfit', 'Noto Serif Bengali', sans-serif;
    white-space: nowrap
}

body.dark-mode .denom-pill {
    background: rgba(2, 132, 199, 0.2);
    color: #7dd3fc;
    border-color: rgba(56, 189, 248, 0.3)
}

.denom-subtext {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500
}

.quick-rate-num {
    font-family: 'Outfit', 'Noto Serif Bengali', sans-serif;
    letter-spacing: 0.2px
}

.quick-rate-num.base-rate {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.98rem
}

.quick-rate-num.inc-rate {
    font-weight: 800;
    color: var(--accent-dark);
    font-size: 1.02rem
}

.quick-rate-inc-tag {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap
}

body.dark-mode .quick-rate-inc-tag {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7
}

.quick-search-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center
}

.quick-search-chip {
    display: inline-block;
    background: var(--surface-hover);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.76rem;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    transition: all 0.15s ease
}

.quick-search-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(2, 132, 199, 0.05)
}

.desktop-only-table {
    display: block
}

.mobile-only-list {
    display: none !important
}

.desktop-only-cell {
    display: table-cell
}

.mobile-currency-list {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px
}

.mobile-curr-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease
}

body.dark-mode .mobile-curr-card {
    background: var(--surface);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2)
}

.mobile-curr-card:hover {
    border-color: var(--primary)
}

.mobile-curr-header {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.mobile-curr-title {
    display: flex;
    align-items: center;
    gap: 10px
}

.mobile-curr-name {
    font-weight: 700;
    font-size: 0.96rem;
    color: var(--text-main);
    line-height: 1.3
}

.mobile-curr-meta {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px
}

.mobile-curr-rates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    background: var(--surface-hover);
    padding: 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border)
}

.mobile-curr-rates.two-cols {
    grid-template-columns: 1fr 1fr
}

.mobile-curr-rates.four-cols {
    grid-template-columns: repeat(4, 1fr)
}

.mobile-curr-rate-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
}

.mcr-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap
}

.mcr-val {
    font-size: 0.90rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: 'Outfit', 'Noto Serif Bengali', sans-serif;
    white-space: nowrap
}

.mcr-val.text-accent {
    color: var(--accent-dark);
    font-weight: 800
}

.mcr-val.text-primary {
    color: var(--primary);
    font-weight: 800
}

.mobile-curr-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s ease
}

body.dark-mode .mobile-curr-action {
    background: rgba(2, 132, 199, 0.2);
    color: #7dd3fc
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-decoration: none;
    font-size: 0.88rem;
    min-height: 36px
}

.btn-primary {
    background: var(--primary);
    color: #fff
}

.btn-secondary {
    background: var(--surface-hover);
    border: 1px solid var(--border);
    color: var(--text-main)
}

.btn-copy {
    background: var(--primary-light);
    color: var(--primary-dark)
}

.btn-copy:hover {
    background: #bae6fd
}

.share-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 12px
}

.share-btn,
.btn-whatsapp,
.btn-facebook {
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 32px
}

.share-whatsapp,
.btn-whatsapp {
    background: #25d366
}

.share-facebook,
.btn-facebook {
    background: #1877f2
}

.referral-banner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    text-align: left;
    margin-bottom: 14px
}

.referral-banner h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 3px 0;
    color: #ffffff
}

.referral-banner p {
    font-size: 0.8rem;
    opacity: 0.92;
    margin: 0 0 8px 0;
    line-height: 1.35
}

.referral-banner a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    color: #059669;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.15s ease
}

.referral-banner a:hover {
    background: #f0fdf4
}

.article-content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-main);
    word-break: break-word;
    overflow-wrap: break-word
}

.article-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--radius-md)
}

.article-content table {
    width: 100% !important;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
}

.legal-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 8px;
    margin-bottom: 16px;
    scrollbar-width: none
}

.legal-nav::-webkit-scrollbar {
    display: none
}

.legal-nav-link {
    flex-shrink: 0
}

.live-ticker-strip {
    margin-bottom: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px
}

@supports (-moz-appearance:none) {
    .live-ticker-strip {
        scrollbar-width: thin;
        scrollbar-color: rgba(2, 132, 199, 0.45) rgba(0, 0, 0, 0.06)
    }
}

.live-ticker-strip::-webkit-scrollbar {
    height: 5px
}

.live-ticker-strip::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px
}

body.dark-mode .live-ticker-strip::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08)
}

.live-ticker-strip::-webkit-scrollbar-thumb {
    background: rgba(2, 132, 199, 0.45);
    border-radius: 10px;
    cursor: pointer
}

.live-ticker-strip::-webkit-scrollbar-thumb:hover {
    background: var(--primary)
}

@media (max-width:600px) {
    .live-ticker-strip {
        margin-bottom: 10px;
        padding-bottom: 4px
    }

    .live-ticker-strip::-webkit-scrollbar {
        height: 4px
    }
}

.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 26px 14px;
    text-align: center;
    font-size: 0.84rem;
    margin-top: 36px
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 6px
}

.footer-links a:hover {
    color: #fff
}

@media (max-width:992px) {
    .desktop-nav {
        display: none !important
    }

    .mobile-menu-btn {
        display: flex !important
    }

    .desktop-only {
        display: none !important
    }
}

@media (max-width:900px) {
    .main-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px;
        width: 100%
    }

    .sidebar-col {
        position: static !important;
        max-height: none !important;
        overflow: visible !important
    }
}

@media (min-width:601px) and (max-width:900px) {
    .sidebar-col {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
        align-items: start !important
    }

    .sidebar-col>.referral-banner,
    .sidebar-col>.referral-banner-img,
    .sidebar-col>.referral-banner-html,
    .sidebar-col>.ad-slot-wrapper {
        grid-column: 1 / -1 !important
    }
}

@media (max-width:768px) {
    .desktop-only-table {
        display: none !important
    }

    .mobile-only-list,
    .mobile-currency-list {
        display: flex !important
    }

    .desktop-only-cell {
        display: none !important
    }

    .quick-rate-table th,
    .quick-rate-table td {
        padding: 8px 10px;
        font-size: 0.84rem
    }
}

@media (max-width:600px) {
    body {
        overflow-x: clip !important;
        width: 100% !important
    }

    .container {
        padding-left: 14px;
        padding-right: 14px;
        width: 100%;
        max-width: 100%
    }

    .site-header {
        padding: 6px 0;
        width: 100%
    }

    .header-content {
        padding: 6px 12px
    }

    .brand h1,
    .brand-name {
        font-size: 1.12rem
    }

    .brand-icon {
        width: 30px;
        height: 30px
    }

    .header-actions {
        gap: 6px
    }

    .ad-container,
    .ad-slot-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        margin: 10px 0 !important
    }

    .default-promo-banner {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important
    }

    .promo-strip-content {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important
    }

    .promo-strip-left {
        width: 100% !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 6px !important
    }

    .promo-strip-texts {
        width: 100% !important
    }

    .promo-strip-title {
        font-size: 0.82rem !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important
    }

    .promo-strip-stat {
        display: none !important
    }

    .promo-cta-btn-mini {
        width: 100% !important;
        padding: 6px 12px !important;
        font-size: 0.78rem !important;
        justify-content: center !important;
        text-align: center !important
    }

    .default-promo-calc-box {
        padding: 12px !important;
        gap: 12px !important
    }

    .promo-calc-left {
        min-width: 0 !important;
        width: 100% !important
    }

    .default-promo-calc-box a.promo-cta-btn-mini {
        width: 100% !important;
        justify-content: center !important
    }

    .card {
        padding: 14px 12px;
        margin-bottom: 12px;
        border-radius: var(--radius-md);
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important
    }

    .hero-banner {
        padding: 14px 12px;
        border-radius: var(--radius-md);
        margin-bottom: 12px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word
    }

    .hero-banner h1,
    .hero-banner h2 {
        font-size: 1.22rem !important;
        line-height: 1.35 !important;
        word-break: break-word !important
    }

    .hero-banner p {
        font-size: 0.85rem !important
    }

    [style*="minmax(2"],
    [style*="minmax(3"] {
        grid-template-columns: 1fr !important
    }

    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important
    }

    .res-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important
    }

    .res-total {
        font-size: 1.35rem !important
    }

    .chips-row {
        gap: 4px
    }

    .chip-btn,
    .quick-chip {
        padding: 4px 8px;
        font-size: 0.78rem
    }

    .table-responsive {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        display: block !important;
        margin-left: -2px;
        margin-right: -2px
    }

    .data-table th,
    .data-table td {
        padding: 7px 8px;
        font-size: 0.82rem
    }

    .data-table th {
        font-size: 0.76rem
    }

    .share-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        width: 100%
    }

    .share-row>span {
        grid-column: 1 / -1
    }

    .share-btn,
    .btn-whatsapp,
    .btn-facebook {
        justify-content: center;
        width: 100%;
        font-size: 0.76rem
    }

    article.card h1 {
        font-size: 1.25rem !important;
        line-height: 1.35 !important
    }

    .btn {
        max-width: 100% !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center !important
    }

    .mobile-drawer {
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important
    }
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px
}

.nav-item {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: var(--radius-md);
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap
}

.nav-item:hover {
    color: var(--primary);
    background: var(--surface-hover)
}

.nav-item.active {
    color: var(--primary-dark);
    background: var(--primary-light)
}

.nav-pill {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-dark);
    font-size: 0.7rem;
    padding: 1px 6px;
    border-radius: var(--radius-full);
    font-weight: 700
}

.mobile-menu-btn {
    display: none
}

.mobile-drawer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 12px 16px 16px;
    box-shadow: var(--shadow-md)
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 600;
    background: var(--surface-hover);
    border: 1px solid var(--border);
    transition: all 0.15s
}

.mobile-nav-item:hover {
    border-color: var(--primary);
    color: var(--primary)
}

.cookie-consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 2px solid var(--primary);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
    z-index: 99999;
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px)
}

body.dark-mode .cookie-consent-bar {
    background: rgba(30, 41, 59, 0.97);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.4)
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%
}

.cookie-text-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0
}

.cookie-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px
}

.cookie-text {
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.5;
    color: var(--text-main);
    word-break: normal;
    overflow-wrap: break-word
}

.cookie-link {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600
}

.cookie-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0
}

.cookie-btn {
    padding: 6px 16px;
    font-size: 0.84rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease
}

.cookie-btn-accept {
    background: var(--primary);
    color: #fff;
    border: none
}

.cookie-btn-accept:hover {
    background: var(--primary-dark)
}

.cookie-btn-necessary {
    background: var(--surface-hover);
    border: 1px solid var(--border);
    color: var(--text-main)
}

.cookie-btn-necessary:hover {
    background: var(--border)
}

@media (max-width:768px) {
    .cookie-consent-bar {
        padding: 10px 14px;
        padding-bottom: max(12px, env(safe-area-inset-bottom, 12px))
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-left: 0 !important;
        padding-right: 0 !important
    }

    .cookie-text-wrap {
        width: 100%;
        gap: 8px
    }

    .cookie-text {
        font-size: 0.82rem;
        line-height: 1.45
    }

    .cookie-actions {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 8px
    }

    .cookie-btn {
        flex: 1 1 0%;
        text-align: center;
        justify-content: center;
        padding: 7px 10px;
        font-size: 0.82rem;
        min-height: 36px
    }
}

@media (max-width:992px) {
    .desktop-nav {
        display: none !important
    }

    .mobile-menu-btn {
        display: flex !important
    }
}

.header-search-btn {
    background: var(--surface-hover);
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease
}

.header-search-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px)
}

body.dark-mode .header-search-btn {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #e2e8f0
}

body.dark-mode .header-search-btn:hover {
    background: rgba(2, 132, 199, 0.2);
    color: #38bdf8;
    border-color: #0284c7
}

.search-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px 20px;
    overflow-y: auto;
    box-sizing: border-box
}

.search-modal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 640px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    margin-top: 20px
}

body.dark-mode .search-modal-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6)
}

.search-modal-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 2
}

body.dark-mode .search-modal-header {
    background: #1e293b;
    border-color: #334155
}

.search-modal-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-main);
    outline: none;
    width: 100%;
    padding: 4px 0
}

.search-modal-input::placeholder {
    color: var(--text-muted);
    font-size: 0.92rem
}

.search-modal-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%
}

.search-modal-clear:hover {
    color: var(--text-main);
    background: var(--surface-hover)
}

.search-modal-esc {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    background: var(--surface-hover);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    font-family: monospace, sans-serif;
    flex-shrink: 0
}

.search-modal-body {
    padding: 14px 16px;
    overflow-y: auto;
    max-height: 62vh;
    scrollbar-width: thin
}

.search-category-title {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 8px 0 6px;
    display: flex;
    align-items: center;
    gap: 6px
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
    margin-bottom: 3px;
    border: 1px solid transparent
}

.search-result-item:hover {
    background: var(--surface-hover);
    border-color: var(--border);
    transform: translateX(2px)
}

.search-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1
}

.search-item-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--surface-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.search-item-title {
    font-size: 0.90rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.search-item-sub {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin: 2px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.search-item-badge {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--accent-dark);
    font-family: 'Outfit', 'Noto Serif Bengali', sans-serif;
    white-space: nowrap;
    flex-shrink: 0
}

.search-footer-bar {
    padding: 10px 16px;
    background: var(--surface-hover);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted)
}

body.dark-mode .search-footer-bar {
    background: #0f172a;
    border-color: #334155
}

@media (max-width:600px) {
    .search-modal-backdrop {
        padding: 10px;
        align-items: flex-start
    }

    .search-modal-card {
        max-height: 90vh;
        margin-top: 6px;
        border-radius: var(--radius-md)
    }

    .search-modal-header {
        padding: 10px 12px;
        gap: 8px
    }

    .search-modal-input {
        font-size: 0.92rem
    }

    .search-modal-body {
        padding: 8px 10px
    }

    .search-result-item {
        padding: 8px 8px
    }

    .search-item-title {
        font-size: 0.86rem
    }

    .search-item-sub {
        font-size: 0.72rem
    }
}

.pagination-nav {
    margin: 32px 0 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    font-family: 'Noto Serif Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif
}

.pagination-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 6px;
    padding: 0;
    margin: 0;
    font-family: 'Noto Serif Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif
}

.page-item {
    display: inline-flex
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-main);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.15s ease;
    user-select: none;
    font-family: 'Noto Serif Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important
}

.page-link:hover:not(.disabled-link):not(.ellipsis-link) {
    background: var(--surface-hover);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px)
}

.page-item.active .page-link,
.page-link.active-link {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3)
}

.page-item.disabled .page-link,
.page-link.disabled-link {
    opacity: 0.45;
    cursor: not-allowed;
    background: var(--bg)
}

.page-item.ellipsis .page-link,
.page-link.ellipsis-link {
    border: none;
    background: transparent;
    cursor: default
}

@media (max-width:640px) {
    .page-link {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        font-size: 0.84rem
    }
}

#takarate-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #0284c7, #38bdf8, #10b981);
    z-index: 999999;
    box-shadow: 0 0 8px rgba(2, 132, 199, 0.6);
    transition: width .15s ease-out, opacity .2s ease-out;
    pointer-events: none;
    width: 0;
    opacity: 0
}

.site-footer,
.card-lazy-render {
    content-visibility: auto;
    contain-intrinsic-size: 1px 350px
}

/* Voice Search & PAA Interactive Styles */
.header-voice-btn { position: relative; color: var(--primary); transition: all .2s ease; }
.header-voice-btn:hover { background: rgba(2,132,199,.12); color: var(--primary-dark); transform: scale(1.05); }
.search-modal-mic { background: transparent; border: none; color: var(--primary); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: var(--radius-full); transition: all .2s ease; flex-shrink: 0; }
.search-modal-mic:hover { background: var(--surface-hover); transform: scale(1.08); }
.search-modal-mic.is-listening { background: #ef4444 !important; color: #ffffff !important; animation: micListenPulse 1.4s infinite; }
@keyframes micListenPulse { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,.6); } 70% { box-shadow: 0 0 0 12px rgba(239,68,68,0); } 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); } }
.voice-assistant-panel { background: linear-gradient(135deg, rgba(2,132,199,.08), rgba(16,185,129,.08)); border-bottom: 1px solid var(--border); padding: 10px 16px; display: flex; flex-direction: column; gap: 8px; }
.voice-wave-container { display: inline-flex; align-items: center; gap: 8px; }
.voice-pulse-dot { width: 10px; height: 10px; background: #ef4444; border-radius: 50%; display: inline-block; animation: voiceBlink .9s infinite alternate; }
@keyframes voiceBlink { 0% { opacity: .3; transform: scale(.85); } 100% { opacity: 1; transform: scale(1.15); } }
.sound-wave-bars { display: inline-flex; align-items: center; gap: 3px; height: 20px; }
.sound-wave-bars span { display: inline-block; width: 3px; background: #ef4444; border-radius: 2px; animation: soundWaveBounce 1s ease-in-out infinite alternate; }
.sound-wave-bars span:nth-child(1) { height: 6px; animation-delay: .1s; }
.sound-wave-bars span:nth-child(2) { height: 14px; animation-delay: .25s; }
.sound-wave-bars span:nth-child(3) { height: 20px; animation-delay: .4s; }
.sound-wave-bars span:nth-child(4) { height: 12px; animation-delay: .15s; }
.sound-wave-bars span:nth-child(5) { height: 8px; animation-delay: .3s; }
@keyframes soundWaveBounce { 0% { height: 4px; } 100% { height: 20px; } }
.voice-status-msg { font-size: .82rem; font-weight: 600; color: #ef4444; }
.voice-transcript-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; background: var(--surface); border: 1px solid var(--border); padding: 3px 10px; border-radius: var(--radius-full); }
.voice-transcript-badge strong { color: var(--primary); }
.voice-error-msg { font-size: .8rem; color: #dc2626; background: rgba(239,68,68,.1); padding: 3px 8px; border-radius: 4px; }
.voice-intent-card { display: flex; justify-content: space-between; align-items: center; background: var(--surface); border: 1.5px solid var(--primary); border-radius: var(--radius-sm); padding: 8px 12px; text-decoration: none; transition: all .15s ease; box-shadow: 0 2px 6px rgba(2,132,199,.12); }
.voice-intent-card:hover { background: var(--surface-hover); transform: translateY(-1px); }
.modal-paa-section { padding-bottom: 12px; border-bottom: 1px dashed var(--border); }
.modal-paa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; margin-top: 6px; }
.paa-query-chip { background: var(--surface-hover); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 7px 10px; font-size: .78rem; color: var(--text-main); cursor: pointer; text-align: left; display: inline-flex; align-items: center; gap: 6px; transition: all .15s ease; font-family: inherit; line-height: 1.35; }
.paa-query-chip:hover { background: var(--surface); border-color: var(--primary); color: var(--primary); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.paa-accordion-wrapper { display: flex; flex-direction: column; gap: 10px; }
details.paa-item { background: var(--surface-hover); border: 1.5px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
details.paa-item[open] { border-color: var(--primary); background: var(--surface); box-shadow: 0 2px 8px rgba(2,132,199,.08); }
summary.paa-summary { cursor: pointer; padding: 13px 16px; user-select: none; display: flex; justify-content: space-between; align-items: center; background: transparent; transition: background .15s; list-style: none; }
summary.paa-summary::-webkit-details-marker { display: none; }
summary.paa-summary:hover { background: rgba(2,132,199,.04); }
.paa-summary-left { display: flex; align-items: center; gap: 10px; }
.paa-q-badge { background: rgba(2,132,199,.12); color: var(--primary); font-size: .76rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; flex-shrink: 0; }
.paa-q-title { margin: 0; font-size: .96rem; font-weight: 600; color: var(--text-main); line-height: 1.4; }
.paa-arrow { color: var(--text-muted); transition: transform .2s ease, color .2s; flex-shrink: 0; display: inline-flex; }
details.paa-item[open] .paa-arrow { transform: rotate(90deg); color: var(--primary); }
.paa-content { padding: 14px 18px; background: var(--surface); border-top: 1px dashed var(--border); }
.paa-answer-text { margin: 0; font-size: .91rem; color: var(--text-muted); line-height: 1.7; }