/* =========================================================================
   TALADSIM — Public site design system
   Gold & navy premium theme. Loaded by the public pages only
   (seller/ and admin/ keep using style.css).
   ========================================================================= */

:root {
    /* Brand: gold */
    --gold-50: #fffbeb;
    --gold-100: #fef3c7;
    --gold-200: #fde68a;
    --gold-300: #fcd34d;
    --gold-400: #fbbf24;
    --gold-500: #f59e0b;
    --gold-600: #d97706;
    --gold-700: #b45309;
    --brand-yellow: #facc15;
    --gold-grad: linear-gradient(135deg, #fde047 0%, #facc15 38%, #f59e0b 100%);
    --gold-grad-soft: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    --gold-text-grad: linear-gradient(100deg, #fde68a 0%, #facc15 35%, #f59e0b 70%, #fde68a 100%);

    /* Brand: navy (matches the logo) */
    --navy-950: #061729;
    --navy-900: #0b2545;
    --navy-800: #12335c;
    --navy-700: #1d4677;

    /* Neutrals (warm) */
    --bg: #faf7f0;
    --surface: #ffffff;
    --surface-2: #fdfbf6;
    --line: #ece6d8;
    --line-strong: #d9d1bf;
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --muted-2: #94a3b8;

    /* Status */
    --green: #10b981;
    --green-soft: #dcfce7;
    --red: #dc2626;
    --red-soft: #fee2e2;
    --blue: #2563eb;
    --wa: #25d366;
    --fb: #1877f2;

    /* Networks */
    --unitel: #ff9500;
    --laotel: #ff3b30;
    --etl: #3498db;
    --tplus: #eab308;
    --besttel: #1e3799;

    /* Shape & depth */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 22px;
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
    --shadow-lg: 0 18px 48px rgba(15, 23, 42, .14);
    --shadow-gold: 0 10px 28px rgba(245, 158, 11, .30);
    --ring: 0 0 0 4px rgba(250, 204, 21, .35);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --header-h: 66px;

    /* Theme-aware roles (redefined for dark mode below) */
    --field: #ffffff;
    --heading: var(--navy-900);
    --btn-dark: var(--navy-900);
    --btn-dark-hover: var(--navy-800);
    --segment-bg: #f4f1ea;
    --chip-bg: #f1f5f9;
    --red-bg: #fef2f2;
    --red-line: #fecaca;
    --red-line-2: #fca5a5;
    --red-text: #b91c1c;
    --green-bg: #ecfdf5;
    --green-line: #a7f3d0;
    --green-text: #047857;
    --blue-bg: #eff6ff;
    --blue-line: #bfdbfe;
    --blue-text: #2563eb;
    --purple-bg: #f5f3ff;
    --orange-bg: #fff7ed;
    --orange-text: #c2410c;
    --map-bg: #eef2f7;
    --number-color: #ea580c;
    --bottom-nav-bg: rgba(255, 255, 255, .94);
    color-scheme: light;

    /* Legacy tokens still referenced by inline styles / AJAX markup */
    --bg-dark: var(--bg);
    --bg-card: var(--surface);
    --gold: var(--gold-500);
    --gold-hover: var(--gold-600);
    --text-main: var(--ink);
    --text-muted: var(--muted);
    --glass-bg-light: rgba(15, 23, 42, .02);
    --glass-bg-medium: rgba(15, 23, 42, .05);
    --glass-bg-strong: rgba(15, 23, 42, .08);
    --glass-border: var(--line);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}
html, body { overflow-x: hidden; max-width: 100%; }
body {
    font-family: var(--font-main, 'Inter', 'Noto Sans Lao Looped', 'Noto Sans Lao', sans-serif);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background-color: var(--bg);
    background-image:
        radial-gradient(1200px 600px at 100% -10%, rgba(250, 204, 21, .10), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(245, 158, 11, .06), transparent 60%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body > main, body > .page-main { flex: 1 0 auto; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }
::selection { background: var(--gold-200); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding-left: clamp(12px, 3vw, 24px);
    padding-right: clamp(12px, 3vw, 24px);
}
.main-content { margin-top: clamp(20px, 3vw, 32px); margin-bottom: clamp(40px, 6vw, 72px); }

.mobile-text { display: none; }
.desktop-text { display: inline; }
@media (max-width: 768px) {
    .mobile-text { display: inline; }
    .desktop-text { display: none; }
    .hide-on-mobile { display: none !important; }
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 42px; padding: 0 18px;
    border-radius: var(--r-md); border: 1px solid transparent;
    font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--gold-grad);
    color: var(--navy-900) !important;
    border: none;
    border-radius: var(--r-md);
    padding: 0 20px;
    min-height: 42px;
    font-weight: 700 !important;
    box-shadow: 0 6px 16px rgba(245, 158, 11, .28), inset 0 1px 0 rgba(255, 255, 255, .45);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
    cursor: pointer;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, .5); filter: saturate(1.08); }
.btn-primary:active { transform: translateY(1px) scale(.98); }
.btn-dark { background: var(--btn-dark); color: #fff; box-shadow: 0 6px 16px rgba(11, 37, 69, .25); }
.btn-dark:hover { background: var(--btn-dark-hover); transform: translateY(-1px); }
.btn-dark i { color: var(--gold-300); }
.btn-ghost { background: var(--surface); color: var(--ink-2); border-color: var(--line); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: var(--gold-400); color: var(--heading); background: var(--gold-50); }
.btn-copy-list { background: var(--btn-dark); color: #fff; box-shadow: 0 6px 16px rgba(11, 37, 69, .22); }
.btn-copy-list i { color: var(--gold-300); }
.btn-copy-list:hover { background: var(--btn-dark-hover); transform: translateY(-1px); }

/* =========================================================================
   HEADER
   ========================================================================= */
.header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--gold-grad);
    box-shadow: 0 1px 0 rgba(11, 37, 69, .08);
    transition: box-shadow .25s var(--ease);
    padding-top: env(safe-area-inset-top);
}
.header::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
    pointer-events: none;
}
.header.is-scrolled { box-shadow: 0 8px 28px rgba(180, 83, 9, .22); }
.nav-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; height: var(--header-h);
}
.logo {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--navy-900); flex-shrink: 0; min-width: 0;
}
.logo-img {
    height: 42px; width: auto; object-fit: contain;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .5));
    transition: transform .3s var(--ease);
}
.logo:hover .logo-img { transform: scale(1.04) rotate(-2deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.logo-word {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 21px; font-weight: 800; letter-spacing: .5px; color: var(--navy-900);
    white-space: nowrap;
}
.logo-word b { font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(180, 83, 9, .55); }
.logo-sub { font-size: 12px; font-weight: 600; color: rgba(11, 37, 69, .75); letter-spacing: .2px; white-space: nowrap; }

.nav-links {
    display: flex; align-items: center; gap: 2px;
    flex: 1; justify-content: center; min-width: 0;
}
.nav-item {
    position: relative;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 12px; border-radius: 999px;
    color: var(--navy-900); font-size: 14px; font-weight: 600; white-space: nowrap;
    transition: background-color .2s, color .2s, box-shadow .2s;
}
.nav-item i { font-size: 13px; opacity: .8; }
.nav-item:hover { background: rgba(255, 255, 255, .45); }
.nav-item.active-menu {
    background: var(--navy-900); color: #fff;
    box-shadow: 0 6px 14px rgba(11, 37, 69, .25);
}
.nav-item.active-menu i { color: var(--gold-300); opacity: 1; }
.drawer-head, .nav-links .mobile-login-btn { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-btn {
    display: inline-flex; align-items: center; gap: 6px;
    height: 38px; padding: 0 10px; border-radius: 999px;
    background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .7);
    color: var(--navy-900); font-size: 13px; font-weight: 700;
    transition: background-color .2s, box-shadow .2s;
}
.lang-btn:hover { background: #fff; box-shadow: var(--shadow-sm); }
.lang-btn img { width: 24px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.lang-btn .fa-chevron-down { font-size: 10px; transition: transform .2s; }
.lang-switcher.open .lang-btn .fa-chevron-down { transform: rotate(180deg); }
.lang-dropdown-content {
    display: none;
    position: absolute; right: 0; top: calc(100% + 8px);
    min-width: 170px; padding: 6px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--shadow-lg); z-index: 1200;
    transform-origin: top right;
}
.lang-dropdown-content.show { display: block; animation: popIn .18s var(--ease); }
.lang-dropdown-content a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px; border-radius: var(--r-sm);
    color: var(--ink); font-size: 14px; font-weight: 500;
    transition: background-color .15s;
}
.lang-dropdown-content a:hover { background: var(--gold-50); }
.lang-dropdown-content a.is-current { background: var(--gold-100); font-weight: 700; }
.lang-dropdown-content a.is-current::after { content: "\2713"; margin-left: auto; color: var(--gold-700); font-weight: 800; }
.lang-dropdown-content img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }

.btn-login {
    display: inline-flex; align-items: center; gap: 8px;
    height: 40px; padding: 0 16px; border-radius: 999px;
    background: var(--navy-900); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap;
    box-shadow: 0 6px 16px rgba(11, 37, 69, .28);
    transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn-login i { color: var(--gold-300); }
.btn-login:hover { background: var(--navy-800); transform: translateY(-1px); box-shadow: 0 10px 20px rgba(11, 37, 69, .32); }

.mobile-menu-toggle {
    display: none;
    width: 42px; height: 42px; border-radius: 12px;
    align-items: center; justify-content: center;
    background: var(--navy-900); color: #fff; border: none; font-size: 18px;
    box-shadow: 0 6px 14px rgba(11, 37, 69, .25);
    transition: transform .2s var(--ease), background-color .2s;
}
.mobile-menu-toggle:active { transform: scale(.94); }
.sidebar-overlay { display: none; }

/* Compact menu: set by the header script when the full menu is too wide */
.header .container { max-width: 1520px; }
.nav-compact .nav-item { padding: 8px 9px; font-size: 13.5px; }
.nav-compact .nav-item i { display: none; }
.nav-compact .logo-sub { display: none; }

/* Drawer navigation. The header script adds .nav-drawer to <html> below
   1200px, or whenever the menu does not fit (long labels in some languages). */
.nav-drawer .mobile-menu-toggle { display: inline-flex; }
.nav-drawer .sidebar-overlay {
    display: block;
    position: fixed; inset: 0; z-index: 1001;
    background: rgba(6, 23, 41, .55);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
}
.nav-drawer .sidebar-overlay.active { opacity: 1; visibility: visible; }
.nav-drawer .nav-links {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 1002;
    width: min(320px, 86vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    padding: calc(14px + env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom));
    background: var(--surface);
    box-shadow: 20px 0 60px rgba(6, 23, 41, .25);
    transform: translateX(-105%);
    transition: transform .35s var(--ease), visibility .35s;
    overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden;
}
.nav-drawer .nav-links.active { transform: translateX(0); visibility: visible; }
.nav-drawer .drawer-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 6px 4px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line);
}
.drawer-brand { display: flex; align-items: center; gap: 10px; color: var(--heading); }
.drawer-brand img { height: 38px; width: auto; }
.drawer-brand strong { font-family: 'Poppins', 'Inter', sans-serif; font-size: 18px; font-weight: 800; letter-spacing: .4px; }
.drawer-brand strong span { color: var(--gold-600); }
.drawer-close {
    width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
    background: var(--surface-2); color: var(--ink-2); font-size: 16px;
    display: inline-flex; align-items: center; justify-content: center;
}
.drawer-close:hover { background: var(--gold-50); border-color: var(--gold-300); }
.nav-drawer .nav-links .mobile-login-btn {
    display: flex; justify-content: center; height: 46px; margin: 0 0 10px; border-radius: var(--r-md);
}
.nav-drawer .nav-item {
    width: 100%; padding: 12px 14px; border-radius: var(--r-md);
    font-size: 15px; font-weight: 600; color: var(--ink-2);
}
.nav-drawer .nav-item i {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 10px; margin-right: 4px;
    background: var(--gold-50); color: var(--gold-700); font-size: 15px; opacity: 1;
}
.nav-drawer .nav-item:hover { background: var(--surface-2); }
.nav-drawer .nav-item.active-menu {
    background: var(--gold-grad-soft); color: var(--heading);
    box-shadow: inset 3px 0 0 var(--gold-500);
}
.nav-drawer .nav-item.active-menu i { background: var(--gold-grad); color: var(--navy-900); }
.nav-drawer body.nav-open { overflow: hidden; }
@media (max-width: 768px) {
    .nav-drawer .header-actions .btn-login { display: none; }
}
@media (min-width: 769px) {
    .nav-drawer .nav-links .mobile-login-btn { display: none; }
}
@media (max-width: 768px) {
    :root { --header-h: 58px; }
    .logo-img { height: 36px; }
    .logo-word { font-size: 18px; }
    .lang-btn { padding: 0 8px; height: 36px; }
    .lang-btn .lang-code { display: none; }
    .mobile-menu-toggle { width: 38px; height: 38px; border-radius: 11px; font-size: 17px; }
}
@media (max-width: 360px) {
    .logo-word { font-size: 16px; }
    .logo { gap: 6px; }
}

/* =========================================================================
   HERO + ADVANCED SEARCH (home)
   ========================================================================= */
.hero-banner {
    position: relative; z-index: 50;
    padding: clamp(22px, 4vw, 44px) 0 clamp(26px, 4vw, 48px);
    text-align: center;
    background:
        radial-gradient(700px 320px at 12% 0%, rgba(250, 204, 21, .22), transparent 60%),
        radial-gradient(600px 300px at 95% 110%, rgba(245, 158, 11, .20), transparent 60%),
        linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, #0f2f57 100%);
    overflow: visible;
    isolation: isolate;
}
.hero-banner::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(rgba(253, 224, 71, .16) 1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; margin-bottom: 12px; border-radius: 999px;
    background: rgba(250, 204, 21, .12); border: 1px solid rgba(250, 204, 21, .35);
    color: #fde68a; font-size: 13px; font-weight: 600; letter-spacing: .3px;
}
.hero-eyebrow i { color: var(--gold-400); }
.hero-banner .hero-title {
    margin: 0 auto;
    max-width: 1100px;
    font-size: clamp(20px, 3.2vw, 34px);
    font-weight: 800; line-height: 1.35; letter-spacing: -.2px;
    background: var(--gold-text-grad);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--gold-300);
    animation: goldShine 8s linear infinite;
}
.hero-sub { margin: 8px auto 0; max-width: 720px; color: rgba(226, 232, 240, .8); font-size: clamp(13px, 1.6vw, 15px); }
.hero-stats {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
    margin-top: 14px; color: rgba(226, 232, 240, .85); font-size: 13px; font-weight: 500;
}
.hero-stats span { display: inline-flex; align-items: center; gap: 6px; }
.hero-stats i { color: var(--gold-400); }
.hero-stats a { color: inherit; transition: color .2s; }
.hero-stats a:hover { color: var(--gold-300); }
@media (max-width: 560px) {
    .hero-stats { gap: 6px; font-size: 12px; margin-top: 10px; }
    .hero-stats a { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
    .hero-stats i { display: none; }
}

/* Banners */
.banners-section { margin-bottom: clamp(20px, 3vw, 30px); }
.banner-carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.banner-carousel::-webkit-scrollbar { display: none; }
.banner-slide { flex: 0 0 100%; min-width: 100%; scroll-snap-align: center; }
.banner-slide img { display: block; width: 100%; max-height: 400px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
@media (min-width: 768px) { .banner-slide { flex-basis: calc(50% - 7px); min-width: calc(50% - 7px); } }
@media (min-width: 1024px) { .banner-slide { flex-basis: calc(33.333% - 10px); min-width: calc(33.333% - 10px); } }

.advanced-search-wrapper { position: relative; z-index: 50; width: 100%; margin: clamp(16px, 2.5vw, 26px) auto 0; }
.search-panel-box {
    position: relative; text-align: left;
    background: var(--surface);
    border-radius: var(--r-xl);
    padding: clamp(12px, 2vw, 22px) clamp(12px, 2.4vw, 26px);
    box-shadow: 0 30px 60px rgba(2, 8, 20, .35), 0 0 0 1px rgba(250, 204, 21, .55), 0 0 0 6px rgba(250, 204, 21, .10);
}

/* Floating-label field groups */
.input-group { position: relative; display: block; margin-top: 8px; text-align: left; min-width: 0; }
.input-group > label {
    position: absolute; top: -9px; left: 10px; z-index: 5;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 0 6px; background: var(--field); border-radius: 6px;
    font-size: 12px; font-weight: 600; color: var(--muted); line-height: 18px;
    pointer-events: none; white-space: nowrap; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis;
}
.input-group > label i { color: var(--gold-600); font-size: 11px; }
.input-group input:not([type="radio"]):not([type="checkbox"]),
.input-group select {
    width: 100%; height: 46px; padding: 0 12px;
    background: var(--field); border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
    font-size: 14px; color: var(--ink); outline: none;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input-group select, .simple-filter-bar select, .field-select {
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 12px;
    padding-right: 32px !important; cursor: pointer;
}
.input-group input:focus, .input-group select:focus { border-color: var(--gold-500); box-shadow: var(--ring); }
select option { background: var(--field); color: var(--ink); }

.filter-row { display: flex; align-items: flex-end; gap: 14px; padding: 12px 0; }
.filter-row:first-child { padding-top: 4px; }
.filter-row:last-child { padding-bottom: 2px; }
.filter-row + .filter-row { border-top: 1px dashed var(--line); }
.filter-row-left { flex: 1 1 auto; min-width: 0; }
.filter-row-1 .filter-row-left { flex: 0 1 auto; }
.filter-row-right { display: flex; gap: 10px; flex: 1 1 0; min-width: 0; }
.filter-row-1 .filter-select-group { flex: 1 1 0; min-width: 0; }
.filter-row-right-stacked { flex: 0 0 240px; flex-direction: column; }
.filter-row-buttons { flex: 0 0 auto; gap: 10px; align-items: stretch; }

/* Prefix + digit boxes */
.prefix-and-digits { display: flex; align-items: center; gap: 8px; }
.prefix-and-digits select.prefix-select, .prefix-select { flex: 0 0 100px; width: 100px !important; font-weight: 700 !important; padding-left: 10px !important; padding-right: 26px !important; background-position: right 9px center; }
.digit-boxes { display: flex; gap: 6px; }
.digit-box {
    width: 46px !important; height: 46px !important; padding: 0 !important;
    text-align: center; font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 19px !important; font-weight: 700; color: var(--heading) !important;
    border-radius: 11px !important; caret-color: var(--gold-600);
}
.digit-box::placeholder { color: transparent; }
.digit-box:not(:placeholder-shown) {
    background: var(--gold-50) !important; border-color: var(--gold-400) !important;
    animation: pop .22s var(--ease);
}

/* Multi-select dropdowns */
.multi-select-wrap { position: relative; width: 100%; }
.multi-select-btn {
    width: 100%; height: 46px; padding: 0 12px;
    display: flex; align-items: center; justify-content: space-between; gap: 6px;
    background: var(--field); border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
    font-size: 14px; color: var(--ink); white-space: nowrap; text-align: left;
    transition: border-color .2s, box-shadow .2s;
}
.multi-select-btn > span { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.multi-select-btn i { color: var(--muted); transition: transform .2s; flex-shrink: 0; }
.multi-select-btn:hover { border-color: var(--gold-400); }
.multi-select-btn:focus-visible { outline: none; border-color: var(--gold-500); box-shadow: var(--ring); }
.multi-select-dd {
    display: none;
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 5000;
    min-width: 180px; max-height: 300px; overflow-y: auto; overscroll-behavior: contain;
    padding: 6px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    animation: popIn .16s var(--ease);
}
.price-multi-dd { min-width: 240px; }
.multi-select-dd::-webkit-scrollbar { width: 8px; }
.multi-select-dd::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; border: 2px solid var(--surface); }
.ms-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px; border-radius: var(--r-sm);
    font-size: 14px; color: var(--ink); white-space: nowrap; cursor: pointer;
    transition: background-color .15s;
}
.ms-item:hover { background: var(--gold-50); }
.ms-item-all { font-weight: 700; border-bottom: 1px solid var(--line); border-radius: var(--r-sm) var(--r-sm) 0 0; margin-bottom: 4px; }
.ms-item input[type="checkbox"] {
    -webkit-appearance: none; appearance: none;
    width: 18px; height: 18px; flex-shrink: 0; margin: 0;
    border: 1.5px solid var(--muted-2); border-radius: 5px; background: var(--field);
    display: inline-grid; place-content: center; cursor: pointer;
    transition: background-color .15s, border-color .15s;
}
.ms-item input[type="checkbox"]::after {
    content: ""; width: 10px; height: 6px;
    border: 2.5px solid var(--navy-900); border-top: 0; border-right: 0;
    transform: rotate(-45deg) scale(0); transform-origin: center; margin-top: -2px;
    transition: transform .15s var(--ease);
}
.ms-item input[type="checkbox"]:checked { background: var(--gold-400); border-color: var(--gold-500); }
.ms-item input[type="checkbox"]:checked::after { transform: rotate(-45deg) scale(1); }
.ms-item input[type="checkbox"]:indeterminate { background: var(--gold-100); border-color: var(--gold-500); }
.ms-item input[type="checkbox"]:indeterminate::after {
    width: 9px; height: 0; border: 0; border-top: 2.5px solid var(--gold-700);
    transform: none; margin-top: 0;
}

/* Like / dislike digits */
.like-dislike-digits-group { width: 100%; }
.like-dislike-digits-group > label { display: none; }
.like-dislike-inline { display: flex; align-items: center; gap: 12px; }
.mode-toggle {
    display: inline-flex; flex-shrink: 0; gap: 4px; padding: 4px;
    background: var(--segment-bg); border-radius: 14px; border: 1px solid var(--line);
}
.mode-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.mode-label {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 38px; padding: 0 16px; border-radius: 10px;
    font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap;
    cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s;
}
.mode-label i { margin-right: 0 !important; }
.mode-toggle input:checked + .like-mode { background: var(--surface); color: var(--green-text); box-shadow: var(--shadow-sm); }
.mode-toggle input:checked + .like-mode i { color: var(--green); }
.mode-toggle input:checked + .dislike-mode { background: var(--surface); color: var(--red-text); box-shadow: var(--shadow-sm); }
.mode-toggle input:checked + .dislike-mode i { color: var(--red); }
.mode-toggle input:focus-visible + .mode-label { box-shadow: var(--ring); }

.digit-buttons-group.single-row { display: flex; flex: 1; gap: 6px; justify-content: space-between; min-width: 0; }
.digit-btn-unified {
    flex: 1 1 0; max-width: 46px; min-width: 0; aspect-ratio: 1 / 1;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--field);
    font-family: 'Poppins', 'Inter', sans-serif; font-size: 16px; font-weight: 700; color: var(--ink-2);
    padding: 0; outline: none;
    transition: transform .15s var(--ease), background-color .15s, border-color .15s, color .15s, box-shadow .15s;
    -webkit-tap-highlight-color: transparent;
}
.digit-btn-unified:hover { border-color: var(--gold-400); background: var(--gold-50); transform: translateY(-1px); }
.digit-btn-unified:focus-visible { box-shadow: var(--ring); }
.digit-btn-unified.status-like {
    background: linear-gradient(135deg, #34d399, #10b981); border-color: #059669; color: #fff;
    box-shadow: 0 6px 14px rgba(16, 185, 129, .35); animation: pop .22s var(--ease);
}
.digit-btn-unified.status-dislike {
    background: linear-gradient(135deg, #f87171, #ef4444); border-color: #dc2626; color: #fff;
    box-shadow: 0 6px 14px rgba(239, 68, 68, .32); animation: pop .22s var(--ease);
    text-decoration: line-through; text-decoration-thickness: 2px;
}

/* Group tags input */
.tags-input-wrapper {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    min-height: 46px; padding: 6px 10px;
    background: var(--field); border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
    cursor: text; transition: border-color .2s, box-shadow .2s;
}
.tags-input-wrapper:focus-within { border-color: var(--gold-500); box-shadow: var(--ring); }
.tags-container { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 6px 4px 12px; border-radius: 999px;
    background: var(--gold-grad); color: var(--navy-900);
    font-family: 'Poppins', 'Inter', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .5px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, .3);
    animation: pop .2s var(--ease);
}
.tag i {
    width: 20px; height: 20px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(11, 37, 69, .12); font-size: 11px; cursor: pointer; transition: background-color .15s;
}
.tag i:hover { background: rgba(11, 37, 69, .25); }
.tags-input-wrapper input {
    flex: 1; min-width: 140px; height: 32px !important; padding: 0 4px !important;
    border: none !important; background: transparent !important; box-shadow: none !important; outline: none !important;
    font-size: 14px;
}

/* Search / reset buttons */
.btn-search-full {
    min-width: 170px; height: 48px !important; padding: 0 26px !important;
    font-size: 15px !important; border-radius: var(--r-md) !important; white-space: nowrap;
}
.btn-reset {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 20px; border-radius: var(--r-md);
    background: var(--field); color: var(--red); border: 1.5px solid var(--red-line);
    font-size: 14px; font-weight: 600; white-space: nowrap;
    transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.btn-reset:hover { background: var(--red-bg); border-color: var(--red-line-2); }
.btn-reset:hover i { transform: rotate(-180deg); }
.btn-reset i { transition: transform .45s var(--ease); }

.mobile-price-range { display: none !important; }

@media (max-width: 1180px) {
    .filter-row { flex-direction: column; align-items: stretch; gap: 12px; }
    .filter-row-1 .filter-row-left, .filter-row-right { width: 100%; flex: 1 1 auto; }
    .filter-row-right-stacked { flex: 1 1 auto; }
    .prefix-and-digits { width: 100%; }
    .digit-boxes { flex: 1; }
    .digit-box { flex: 1 1 0; width: 0 !important; min-width: 0; max-width: 64px; }
    .filter-row-buttons .btn-search-full, .filter-row-buttons .btn-reset { flex: 1 1 0; }
}
@media (max-width: 768px) {
    .mobile-price-range { display: block !important; }
    .desktop-price-range, .filter-row-right-stacked { display: none !important; }
    .filter-row { padding: 10px 0; gap: 10px; }
    .filter-row-1 .filter-row-right { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; margin-top: 4px; }
    .prefix-and-digits { gap: 5px; }
    .prefix-and-digits select.prefix-select, .prefix-select { flex: 0 0 82px; width: 82px !important; font-size: 13px !important; padding-left: 7px !important; padding-right: 18px !important; background-position: right 6px center; background-size: 10px; }
    .digit-boxes { gap: 4px; }
    .digit-box { height: 42px !important; font-size: 17px !important; border-radius: 9px !important; max-width: none; }
    .input-group input:not([type="radio"]):not([type="checkbox"]), .input-group select, .multi-select-btn { height: 44px; font-size: 14px; }
    .like-dislike-inline { flex-direction: column; align-items: stretch; gap: 10px; }
    .mode-toggle { display: flex; }
    .mode-label { flex: 1 1 0; padding: 0 8px; min-width: 0; }
    .digit-buttons-group.single-row { gap: 4px; }
    .digit-btn-unified { max-width: none; font-size: 16px; }
    .btn-search-full, .btn-reset { height: 46px !important; min-width: 0; padding: 0 10px !important; font-size: 14px !important; }
    .multi-select-dd { min-width: 0; }
    .price-multi-dd { min-width: 230px; }
    #priceWrapMobile .multi-select-dd { left: auto; right: 0; }
}
@media (max-width: 380px) {
    .prefix-and-digits select.prefix-select, .prefix-select { flex-basis: 70px; width: 70px !important; font-size: 12px !important; padding-left: 5px !important; padding-right: 15px !important; background-position: right 4px center; }
    .digit-boxes { gap: 3px; }
    .digit-box { height: 38px !important; font-size: 15px !important; border-radius: 8px !important; }
    .digit-buttons-group.single-row { gap: 3px; }
    .digit-btn-unified { font-size: 14px; border-width: 1px; }
    .mode-label { font-size: 13px; }
}

/* =========================================================================
   ANALYZE CARD (home + analyze page)
   ========================================================================= */
.home-analyze-wrap { margin: 0 auto clamp(22px, 3vw, 32px); }
.home-analyze-card {
    position: relative; overflow: hidden;
    padding: clamp(14px, 2.2vw, 22px);
    border-radius: var(--r-xl);
    background:
        radial-gradient(400px 160px at 100% 0%, rgba(250, 204, 21, .18), transparent 70%),
        linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--gold-200);
    box-shadow: var(--shadow-md);
}
.home-analyze-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: var(--gold-grad);
}
.home-analyze-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.home-analyze-title {
    display: flex; align-items: center; gap: 10px; margin: 0;
    font-size: clamp(16px, 2vw, 20px); font-weight: 800; color: var(--heading); line-height: 1.3;
}
.home-analyze-title i {
    width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--btn-dark); color: var(--gold-300); font-size: 16px;
    box-shadow: 0 6px 14px rgba(11, 37, 69, .25);
}
.home-analyze-hint { margin: 0; font-size: 13.5px; color: var(--muted); }
.home-analyze-form { display: flex; align-items: center; gap: 10px; }
.home-analyze-prefix {
    flex: 0 0 auto; min-width: 78px; height: 50px; padding: 0 14px;
    border-radius: var(--r-md); border: 1.5px solid var(--line-strong); background: var(--field);
    font-family: 'Poppins', 'Inter', sans-serif; font-size: 16px; font-weight: 700; color: var(--heading);
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.home-analyze-prefix::after { content: "\21C4"; font-size: 12px; color: var(--gold-600); }
.home-analyze-prefix:hover { border-color: var(--gold-400); background: var(--gold-50); }
.home-analyze-prefix:active { transform: scale(.96); }
.home-analyze-input {
    flex: 1; min-width: 0; height: 50px; padding: 0 16px;
    border-radius: var(--r-md); border: 1.5px solid var(--line-strong); background: var(--field);
    font-family: 'Poppins', 'Inter', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 2px; color: var(--heading);
    outline: none; transition: border-color .2s, box-shadow .2s;
}
.home-analyze-input::placeholder { font-family: var(--font-main, sans-serif); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted-2); }
.home-analyze-prefix:focus-visible, .home-analyze-input:focus { outline: none; border-color: var(--gold-500); box-shadow: var(--ring); }
.home-analyze-btn {
    flex: 0 0 auto; height: 50px; padding: 0 22px;
    border: none; border-radius: var(--r-md);
    background: var(--btn-dark); color: #fff;
    font-size: 15px; font-weight: 700; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 8px 18px rgba(11, 37, 69, .28);
    transition: background-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.home-analyze-btn::before { content: "\2728"; color: var(--gold-300); }
.home-analyze-btn:hover { background: var(--btn-dark-hover); transform: translateY(-1px); }
.home-analyze-btn:active { transform: translateY(1px) scale(.98); }
.home-analyze-btn-short { display: none; }
@media (max-width: 768px) {
    .home-analyze-head { margin-bottom: 12px; }
    .home-analyze-form { gap: 6px; }
    .home-analyze-prefix { min-width: 0; padding: 0 10px; height: 46px; font-size: 15px; }
    .home-analyze-input { height: 46px; padding: 0 12px; font-size: 16px; letter-spacing: 1px; }
    .home-analyze-btn { height: 46px; padding: 0 14px; font-size: 14px; }
    .home-analyze-btn-full { display: none !important; }
    .home-analyze-btn-short { display: inline !important; }
}
@media (max-width: 360px) {
    .home-analyze-prefix::after, .home-analyze-btn::before { display: none; }
}

/* =========================================================================
   SECTION HEADINGS + PILLS
   ========================================================================= */
.section-head {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    gap: 12px 16px; margin-bottom: 18px;
}
.section-head-main { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; min-width: 0; flex: 1 1 auto; }
.section-head-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.section-head-title h1, .section-head-title h2 {
    margin: 0; font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; color: var(--heading); line-height: 1.3;
}
.section-icon {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gold-grad); color: var(--navy-900); font-size: 17px;
    box-shadow: 0 6px 14px rgba(245, 158, 11, .30);
}
.count-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 12px; border-radius: 999px;
    background: var(--gold-100); color: var(--gold-700); border: 1px solid var(--gold-200);
    font-size: 13px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.section-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.quick-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 13px; border-radius: 999px;
    font-size: 13px; font-weight: 600; white-space: nowrap;
    border: 1px solid transparent;
    transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.pill:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.pill-red { background: var(--red-bg); color: var(--red); border-color: var(--red-line); }
.pill-blue { background: var(--blue-bg); color: var(--blue-text); border-color: var(--blue-line); }
.pill-green { background: var(--green-bg); color: var(--green-text); border-color: var(--green-line); }
@media (max-width: 560px) {
    .section-head { align-items: stretch; }
    .section-head-main { flex-direction: column; align-items: flex-start; }
    .section-head-actions { width: 100%; }
    .section-head-actions > .btn, .section-head-actions > a, .section-head-actions > button { flex: 1 1 0; }
    .quick-pills { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 2px; scrollbar-width: none; }
    .quick-pills::-webkit-scrollbar { display: none; }
}

/* =========================================================================
   NUMBER CARDS
   ========================================================================= */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(262px, 1fr));
    gap: clamp(12px, 1.6vw, 18px);
    margin-bottom: clamp(24px, 4vw, 40px);
}
.unitel { --net: var(--unitel); --net-soft: rgba(255, 149, 0, .10); }
.lao-telecom { --net: var(--laotel); --net-soft: rgba(255, 59, 48, .09); }
.etl { --net: var(--etl); --net-soft: rgba(52, 152, 219, .10); }
.tplus { --net: var(--tplus); --net-soft: rgba(234, 179, 8, .14); }
.best-telecom { --net: var(--besttel); --net-soft: rgba(30, 55, 153, .09); }

:where(.number-card, .network-card) { --net: var(--gold-500); --net-soft: rgba(245, 158, 11, .10); }
.number-card {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    padding: 14px 16px 12px;
    background: var(--surface);
    border: 1px solid color-mix(in srgb, var(--net) 38%, transparent);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
    animation: cardIn .45s var(--ease) both;
}
@supports not (border-color: color-mix(in srgb, red 50%, transparent)) {
    .number-card { border-color: var(--net); }
}
.number-card::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, var(--net), color-mix(in srgb, var(--net) 40%, var(--surface)));
}
.number-card::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(260px 90px at 100% 0%, var(--net-soft), transparent 70%);
    opacity: .9;
}
.number-card > * { position: relative; z-index: 1; }
.number-card:hover {
    transform: translateY(-4px);
    border-color: var(--net);
    box-shadow: 0 14px 30px color-mix(in srgb, var(--net) 22%, transparent), 0 2px 6px rgba(15, 23, 42, .06);
}
.numbers-grid .number-card:nth-child(1) { animation-delay: .02s; }
.numbers-grid .number-card:nth-child(2) { animation-delay: .05s; }
.numbers-grid .number-card:nth-child(3) { animation-delay: .08s; }
.numbers-grid .number-card:nth-child(4) { animation-delay: .11s; }
.numbers-grid .number-card:nth-child(5) { animation-delay: .14s; }
.numbers-grid .number-card:nth-child(6) { animation-delay: .17s; }
.numbers-grid .number-card:nth-child(7) { animation-delay: .20s; }
.numbers-grid .number-card:nth-child(8) { animation-delay: .23s; }
.numbers-grid .number-card:nth-child(n+25) { animation: none; }

.card-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.network-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 9px; border-radius: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; line-height: 1;
    color: var(--net); background: var(--net-soft);
}
.network-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--net); }
.tplus .network-badge { color: #854d0e; }
.category-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 9px; border-radius: 6px;
    font-size: 12.5px; font-weight: 600; line-height: 1.2;
    color: var(--muted); background: var(--chip-bg);
}
.category-badge.auspicious { color: var(--gold-700); background: var(--gold-100); }
.category-badge.auspicious::before { content: "\2726"; font-size: 10px; }
.category-badge.beautiful { color: var(--orange-text); background: var(--orange-bg); }

.phone-number {
    margin: 2px 0 8px;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: clamp(26px, 2.4vw, 29px); font-weight: 800; line-height: 1.2;
    letter-spacing: .8px; font-variant-numeric: tabular-nums;
    color: var(--number-color);
}
.phone-number a { color: inherit; display: inline-block; transition: color .2s, transform .2s var(--ease); }
.phone-number a:hover { color: var(--gold-700); }
.phone-number a::after {
    content: "\2728"; font-size: 13px; margin-left: 6px; vertical-align: super;
    opacity: 0; transition: opacity .2s;
}
.number-card:hover .phone-number a::after { opacity: .9; }

.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.sum-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 9px; border-radius: 6px;
    background: var(--gold-50); color: var(--gold-700); border: 1px solid var(--gold-200);
    font-size: 12px; font-weight: 700; white-space: nowrap;
}
.price {
    display: inline-flex; align-items: center;
    padding: 3px 10px; border-radius: 7px;
    background: var(--red-bg); color: var(--red); border: 1px solid var(--red-line);
    font-family: 'Poppins', 'Inter', sans-serif; font-size: 16px; font-weight: 800;
    white-space: nowrap; font-variant-numeric: tabular-nums;
}
.card-footer {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line);
}
.store-info {
    display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 62%;
    color: var(--ink-2); font-size: 14px; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: color .2s;
}
.store-info i { color: var(--gold-600); flex-shrink: 0; }
.store-info span { overflow: hidden; text-overflow: ellipsis; }
.store-info:hover { color: var(--gold-700); }
.contact-group { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.contact-btn {
    width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    color: #fff; font-size: 14px;
    box-shadow: 0 3px 8px rgba(15, 23, 42, .15);
    transition: transform .2s var(--ease), box-shadow .2s, filter .2s;
}
.contact-btn:hover { transform: translateY(-2px) scale(1.06); box-shadow: 0 8px 16px rgba(15, 23, 42, .2); filter: saturate(1.1); }
.contact-btn:active { transform: scale(.94); }
.cb-call { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.cb-wa { background: linear-gradient(135deg, #34d399, #22c55e); }
.cb-fb { background: linear-gradient(135deg, #3b82f6, #1877f2); font-size: 16px; }
.cb-wa i { font-size: 17px; }
.wa-text { display: none; }
a[href^="tel:"].contact-btn { order: 1; }
a[href*="wa.me"].contact-btn { order: 2; }
a[href*="m.me"].contact-btn, a[href*="facebook.com"].contact-btn { order: 3; }

@media (max-width: 768px) {
    .wa-long { width: auto; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
    .wa-text { display: inline; }
    a[href*="wa.me"].contact-btn { order: 1; }
    a[href*="m.me"].contact-btn, a[href*="facebook.com"].contact-btn { order: 2; }
    a[href^="tel:"].contact-btn { order: 3; }
}
@media (max-width: 560px) {
    .numbers-grid { grid-template-columns: 1fr; }
    .number-card { padding: 12px 14px 11px; }
    .phone-number { font-size: 28px; margin-bottom: 6px; }
}

/* Empty state */
.empty-state {
    grid-column: 1 / -1; text-align: center;
    padding: clamp(32px, 6vw, 56px) 20px;
    background: var(--surface); border: 1.5px dashed var(--line-strong); border-radius: var(--r-xl);
    color: var(--muted);
}
.empty-icon {
    width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--gold-grad-soft); color: var(--gold-600); font-size: 32px;
    box-shadow: inset 0 0 0 1px var(--gold-200);
}
.empty-state > i { display: block; font-size: 40px; color: var(--gold-400); margin-bottom: 14px; }
.empty-state h2, .empty-state h3 { font-size: 19px; color: var(--heading); font-weight: 700; margin-bottom: 8px; }
.empty-state p { font-size: 15px; margin-bottom: 18px; }

/* Pagination */
.pagination-wrapper, .pagination {
    grid-column: 1 / -1;
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px;
    margin: clamp(20px, 3vw, 32px) 0 10px;
}
.page-btn {
    min-width: 40px; height: 40px; padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border-radius: var(--r-md); border: 1px solid var(--line);
    background: var(--surface); color: var(--ink-2);
    font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
    box-shadow: var(--shadow-xs);
    transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.page-btn:hover { border-color: var(--gold-400); background: var(--gold-50); color: var(--heading); transform: translateY(-1px); }
.page-btn.is-active {
    background: var(--gold-grad); border-color: transparent; color: var(--navy-900); font-weight: 800;
    box-shadow: 0 6px 14px rgba(245, 158, 11, .3);
}
.page-ellipsis { color: var(--muted-2); padding: 0 4px; }
@media (max-width: 560px) {
    .page-btn { min-width: 36px; height: 36px; padding: 0 9px; font-size: 13px; }
}

/* =========================================================================
   ALL NUMBERS — filter bar
   ========================================================================= */
.simple-filter-bar {
    position: relative; z-index: 50;
    display: flex; align-items: center; gap: 8px; flex-wrap: nowrap;
    margin-bottom: clamp(18px, 3vw, 26px); padding: 10px;
    background: var(--surface); border-radius: var(--r-lg);
    border: 1px solid var(--gold-200);
    box-shadow: var(--shadow-md), 0 0 0 4px rgba(250, 204, 21, .08);
}
.simple-filter-bar > input, .simple-filter-bar > select, .simple-filter-bar .multi-select-btn, .simple-filter-bar > button {
    height: 44px; min-width: 0; padding: 0 12px;
    background-color: var(--field); border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
    font-size: 14px; color: var(--ink); outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.simple-filter-bar > input:focus, .simple-filter-bar > select:focus { border-color: var(--gold-500); box-shadow: var(--ring); }
.simple-filter-bar .search-field { position: relative; flex: 2 1 200px; min-width: 0; }
.simple-filter-bar .search-field i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.simple-filter-bar .search-field input {
    width: 100%; height: 44px; padding: 0 12px 0 38px;
    background: var(--field); border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
    font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.simple-filter-bar .search-field input:focus { border-color: var(--gold-500); box-shadow: var(--ring); }
#filter_prefix { flex: 0 1 104px; }
.simple-filter-bar .multi-select-wrap { flex: 1 1 130px; width: auto; min-width: 0; }
#filter_category { flex: 1 1 140px; }
#filter_sort { flex: 1 1 130px; }
#filter_limit { flex: 0 1 112px; }
.simple-filter-bar button.btn-reset-filter {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    color: var(--red); border-color: var(--red-line); font-weight: 600; white-space: nowrap;
}
.simple-filter-bar button.btn-reset-filter:hover { background: var(--red-bg); border-color: var(--red-line-2); }
@media (max-width: 1100px) {
    .simple-filter-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .simple-filter-bar .search-field { grid-column: 1 / -1; }
    .simple-filter-bar .multi-select-wrap { width: 100%; }
}
@media (max-width: 768px) {
    .simple-filter-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 8px; }
    .simple-filter-bar > select, .simple-filter-bar .multi-select-btn, .simple-filter-bar > button { padding: 0 8px; font-size: 13px; width: 100%; }
    .simple-filter-bar > select { padding-right: 24px !important; background-position: right 8px center; }
    #filter_limit { display: none; }
    .simple-filter-bar button.btn-reset-filter { grid-column: 1 / -1; }
    .simple-filter-bar .multi-select-dd { left: 0; right: 0; min-width: 0; }
    .simple-filter-bar .ms-item { white-space: normal; line-height: 1.35; }
}
@media (max-width: 420px) {
    .simple-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================================
   PAGE HEROES (group, provider, store, contact)
   ========================================================================= */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding: clamp(28px, 5vw, 56px) 0 clamp(30px, 5vw, 56px);
    text-align: center; color: #fff;
    background:
        radial-gradient(600px 260px at 10% 0%, rgba(250, 204, 21, .22), transparent 60%),
        radial-gradient(500px 260px at 100% 100%, rgba(245, 158, 11, .18), transparent 60%),
        linear-gradient(160deg, var(--navy-950), var(--navy-900) 60%, #0f2f57);
}
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(rgba(253, 224, 71, .15) 1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
    mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.page-hero h1 {
    margin: 0 auto 10px; max-width: 900px;
    font-size: clamp(22px, 3.6vw, 38px); font-weight: 800; line-height: 1.3;
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px;
}
.page-hero h1 .grad {
    background: var(--gold-text-grad); background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: goldShine 8s linear infinite;
}
.page-hero h1 > i { color: var(--gold-400); }
.page-hero p { margin: 0 auto; max-width: 640px; color: rgba(226, 232, 240, .85); font-size: clamp(14px, 1.8vw, 17px); }
.hero-back {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
    padding: 8px 16px; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff;
    font-size: 14px; font-weight: 500;
    transition: background-color .2s, transform .2s var(--ease);
}
.hero-back:hover { background: rgba(255, 255, 255, .16); transform: translateX(-2px); }
.hero-rule { width: 56px; height: 4px; margin: 16px auto 0; border-radius: 99px; background: var(--gold-grad); }

/* =========================================================================
   NUMBER GROUPS
   ========================================================================= */
.category-section { margin: clamp(28px, 5vw, 48px) 0; }
.category-title {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 18px; padding-bottom: 12px;
    font-size: clamp(18px, 2.4vw, 23px); font-weight: 800; color: var(--heading);
    border-bottom: 1px solid var(--line);
    position: relative;
}
.category-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 3px; border-radius: 3px; background: var(--gold-grad); }
.category-title i {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--btn-dark); color: var(--gold-300); font-size: 17px;
}
.pattern-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: clamp(10px, 1.6vw, 16px); }
.pattern-card {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    padding: 18px 14px; text-align: center;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
    color: var(--ink); box-shadow: var(--shadow-xs);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.pattern-card::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: var(--gold-grad); transform: scaleX(0); transform-origin: left;
    transition: transform .35s var(--ease);
}
.pattern-card:hover { transform: translateY(-4px); border-color: var(--gold-300); box-shadow: 0 14px 28px rgba(245, 158, 11, .18); }
.pattern-card:hover::before { transform: scaleX(1); }
.pattern-icon {
    width: 50px; height: 50px; margin-bottom: 8px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gold-grad-soft); color: var(--gold-600); font-size: 21px;
    box-shadow: inset 0 0 0 1px var(--gold-200);
    transition: transform .25s var(--ease), background .25s, color .25s;
}
.pattern-card:hover .pattern-icon { transform: scale(1.08) rotate(-4deg); background: var(--gold-grad); color: var(--navy-900); }
.pattern-icon.pattern-icon-text { width: auto; min-width: 50px; padding: 0 10px; font-family: 'Poppins', 'DM Sans', sans-serif; font-size: 17px; font-weight: 800; letter-spacing: .5px; }
.pattern-name { font-size: 16px; font-weight: 700; color: var(--heading); line-height: 1.35; }
.pattern-desc { font-size: 13px; color: var(--muted); line-height: 1.45; }
@media (max-width: 560px) {
    .pattern-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .pattern-card { padding: 14px 8px; }
    .pattern-icon { width: 42px; height: 42px; font-size: 18px; border-radius: 12px; margin-bottom: 6px; }
    .pattern-name { font-size: 14.5px; }
    .pattern-desc { font-size: 12px; }
}

/* =========================================================================
   PROVIDER
   ========================================================================= */
.network-cards-container {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px; margin: 0 0 clamp(22px, 4vw, 34px);
}
.network-card {
    position: relative; overflow: hidden;
    display: flex; align-items: center; gap: 12px; min-width: 0;
    padding: 14px; border-radius: var(--r-lg);
    background: var(--surface); border: 1.5px solid var(--line);
    box-shadow: var(--shadow-sm); color: var(--ink);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s, background-color .25s;
}
.network-card::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: var(--net); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.network-card:hover, .network-card.active { transform: translateY(-3px); border-color: var(--net); box-shadow: 0 12px 26px color-mix(in srgb, var(--net) 22%, transparent); }
.network-card:hover::after, .network-card.active::after { transform: scaleX(1); }
.network-card.active { background: color-mix(in srgb, var(--net) 8%, var(--surface)); }
.network-card-logo {
    width: 52px; height: 48px; flex-shrink: 0; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; background: #fff;
    box-shadow: inset 0 0 0 1px var(--line);
}
.network-card-logo img { max-width: 44px; max-height: 38px; object-fit: contain; }
.network-card-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.network-card-name { font-size: 15px; font-weight: 800; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.network-card-count { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.network-card.active .network-card-count { color: var(--net); }
.network-card-check {
    position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%;
    display: none; align-items: center; justify-content: center;
    background: var(--net); color: #fff; font-size: 10px;
}
.network-card.active .network-card-check { display: inline-flex; }
@media (max-width: 1100px) { .network-cards-container { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .network-cards-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .network-card { padding: 10px; gap: 10px; }
    .network-card-logo { width: 42px; height: 40px; }
    .network-card-logo img { max-width: 36px; max-height: 30px; }
    .network-card-name { font-size: 14px; }
    .network-card-count { font-size: 12px; }
}

/* =========================================================================
   STORE
   ========================================================================= */
.store-hero { padding-bottom: clamp(30px, 5vw, 50px); }
.store-icon-wrapper {
    width: 88px; height: 88px; margin: 0 auto 16px; border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gold-grad); color: var(--navy-900); font-size: 38px;
    box-shadow: 0 16px 34px rgba(245, 158, 11, .35), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.store-name-title { margin-bottom: 10px !important; }
.store-rating { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); color: var(--gold-300); font-size: 16px; }
.store-rating small { color: rgba(226, 232, 240, .8); font-size: 13px; }
.store-contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.store-contact-links a {
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 20px; border-radius: 999px;
    font-size: 14px; font-weight: 700; color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
    transition: transform .2s var(--ease), filter .2s;
}
.store-contact-links a:hover { transform: translateY(-2px); filter: brightness(1.08); }
.store-contact-links .wa-text { display: inline; }
.link-phone { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.link-wa { background: linear-gradient(135deg, #34d399, #16a34a); }
.link-fb { background: linear-gradient(135deg, #3b82f6, #1877f2); }
.store-desc { max-width: 640px; margin: 0 auto 14px; color: rgba(226, 232, 240, .88); font-size: 15px; }
.store-location { display: inline-flex; align-items: center; gap: 6px; color: rgba(226, 232, 240, .75); font-size: 14px; }
.store-location i { color: var(--gold-400); }

.reviews-wrap { max-width: 860px; margin: 0 auto clamp(40px, 6vw, 64px); }
.panel {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
    padding: clamp(16px, 3vw, 26px); box-shadow: var(--shadow-sm);
}
.panel-title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 17px; font-weight: 800; color: var(--heading); }
.panel-title i { color: var(--gold-600); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 14px; margin-bottom: 14px; }
.form-field label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 11px 14px; min-height: 46px;
    background: var(--field); border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
    font-size: 15px; color: var(--ink); outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold-500); box-shadow: var(--ring); }
.alert { padding: 14px 16px; border-radius: var(--r-md); margin-bottom: 18px; font-weight: 600; transition: opacity .5s ease; display: flex; align-items: center; gap: 10px; }
.alert-success { background: var(--green-bg); color: var(--green-text); border: 1px solid var(--green-line); }
.alert-error { background: var(--red-bg); color: var(--red-text); border: 1px solid var(--red-line); }
.review-list { margin-top: 22px; display: grid; gap: 12px; }
.review-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--shadow-xs); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.review-author { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--heading); }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--gold-grad); color: var(--navy-900); font-weight: 800; text-transform: uppercase; }
.review-date { color: var(--muted-2); font-size: 13px; }
.review-stars { color: var(--gold-500); font-size: 14px; margin-bottom: 8px; }
.review-text { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.review-empty { text-align: center; color: var(--muted); padding: 26px; background: var(--surface); border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   ANALYZE PAGE
   ========================================================================= */
.analyze-page { margin-top: clamp(18px, 3vw, 28px); margin-bottom: clamp(40px, 6vw, 72px); max-width: 980px; }
.analyze-page .home-analyze-wrap { margin-bottom: 0; }
.analyze-page .home-analyze-card { margin-bottom: 16px; }
.analyze-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; transition: color .2s; }
.analyze-back:hover { color: var(--gold-700); }
.analyze-result-banner {
    position: relative; overflow: hidden;
    margin-top: 16px; padding: 18px 16px 16px; text-align: center;
    border-radius: var(--r-lg); color: #fff;
    background:
        radial-gradient(300px 120px at 0% 0%, rgba(250, 204, 21, .3), transparent 70%),
        linear-gradient(135deg, var(--navy-900), var(--navy-700));
    box-shadow: 0 14px 30px rgba(11, 37, 69, .3);
}
.analyze-result-banner .result-kicker { font-size: 14px; font-weight: 700; color: #fde68a; letter-spacing: .3px; margin-bottom: 2px; }
.analyze-result-banner .result-number {
    font-family: 'Poppins', 'Inter', sans-serif; font-size: clamp(30px, 6vw, 44px); font-weight: 800; letter-spacing: 3px; line-height: 1.2;
    background: var(--gold-text-grad); background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: goldShine 8s linear infinite;
}
.analyze-result-banner .result-sum {
    display: inline-flex; margin-top: 6px; padding: 3px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
    font-size: 14px; font-weight: 600;
}
.result-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
    padding: 0 clamp(14px, 3vw, 24px) clamp(16px, 3vw, 24px);
    box-shadow: var(--shadow-md); overflow: hidden; margin-bottom: 16px;
}
.az-title {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin: 28px 0 16px; padding: 13px 18px; border-radius: var(--r-md);
    color: #fff; font-size: clamp(16px, 2vw, 19px); font-weight: 800; text-align: center;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
}
.az-title i { color: var(--gold-300); }
.az-title.result-detail-head { margin: 0 calc(-1 * clamp(14px, 3vw, 24px)) 18px; border-radius: 0; background: var(--gold-grad); color: var(--navy-900); }
.az-title.result-detail-head i { color: var(--navy-900); }
.aspect-box {
    display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: start;
    padding: 14px 16px; margin-bottom: 12px;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md);
    transition: border-color .2s, box-shadow .2s;
}
.aspect-box:hover { border-color: var(--gold-200); box-shadow: var(--shadow-sm); }
.aspect-title { display: contents; font-size: 16px; font-weight: 800; }
.aspect-title i {
    grid-row: span 2; width: 44px; height: 44px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 17px;
    background: currentColor;
}
.aspect-title i::before { color: #fff; }
.aspect-title .aspect-label { align-self: end; }
.aspect-title.personality { color: #8b5cf6; }
.aspect-title.work { color: #3b82f6; }
.aspect-title.finance { color: #10b981; }
.aspect-title.love { color: #ec4899; }
.aspect-title.luck { color: #f59e0b; }
.aspect-content { color: var(--ink-2); line-height: 1.7; font-size: 15px; }
.pair-detail-card {
    padding: 16px; margin-bottom: 14px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
}
.pair-title-badge { text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px; }
.pair-highlight-display {
    text-align: center; margin-bottom: 12px;
    font-family: 'Poppins', 'Inter', sans-serif; font-size: clamp(24px, 4vw, 30px); font-weight: 800; letter-spacing: 4px; color: var(--heading);
}
.pair-highlight-display span { color: #ef4444 !important; background: var(--red-bg); border-radius: 8px; padding: 0 4px; box-shadow: inset 0 -3px 0 var(--red-line); }
.pair-chip-wrap { text-align: center; margin-bottom: 12px; }
.pair-chip { display: inline-block; padding: 6px 16px; border-radius: 999px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); font-size: 14px; font-weight: 700; box-shadow: 0 6px 14px rgba(15, 23, 42, .15); }
.pair-desc { text-align: left; padding: 4px 6px; line-height: 1.8; color: var(--ink-2); font-size: 15.5px; }
.az-note { margin-top: 22px; padding: 16px 18px; border-radius: var(--r-md); text-align: center; font-size: 15px; line-height: 1.6; font-weight: 500; border: 1px solid; }
.az-error { text-align: center; padding: 18px; font-size: 16px; border-radius: var(--r-md); background: var(--red-bg); color: var(--red-text); border: 1px solid var(--red-line); }
.az-empty { text-align: center; padding: clamp(30px, 6vw, 56px) 20px; color: var(--muted); }
.az-empty-icon {
    width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 28px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gold-grad-soft); color: var(--gold-600); font-size: 42px;
    box-shadow: inset 0 0 0 1px var(--gold-200);
    animation: float 4s ease-in-out infinite;
}
.az-empty h2 { font-size: clamp(18px, 2.4vw, 22px); color: var(--heading); margin-bottom: 6px; }
@media (max-width: 560px) {
    .aspect-box { grid-template-columns: 38px 1fr; gap: 2px 12px; padding: 12px; }
    .aspect-title i { width: 38px; height: 38px; font-size: 15px; border-radius: 10px; }
    .pair-detail-card { padding: 14px 10px; }
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-wrap {
    width: 100%; max-width: 1120px; margin: 0 auto;
    padding: 0 max(clamp(12px, 3vw, 24px), env(safe-area-inset-right)) clamp(36px, 6vw, 56px) max(clamp(12px, 3vw, 24px), env(safe-area-inset-left));
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 20px; align-items: start; margin-top: clamp(-40px, -4vw, -24px); position: relative; z-index: 2; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(16px, 2.6vw, 24px); box-shadow: var(--shadow-md); min-width: 0; }
.card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; min-width: 0; }
.card-head > div { min-width: 0; }
.card-ico { width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.card-ico.orange { background: var(--gold-grad); color: var(--navy-900); box-shadow: 0 6px 14px rgba(245, 158, 11, .3); }
.card-ico.green { background: linear-gradient(135deg, #34d399, #10b981); color: #fff; box-shadow: 0 6px 14px rgba(16, 185, 129, .3); }
.card-head h2 { margin: 0 0 2px; font-size: 18px; font-weight: 800; color: var(--heading); }
.card-head p { margin: 0; font-size: 13.5px; color: var(--muted); overflow-wrap: break-word; }
.contact-section { margin-bottom: 18px; min-width: 0; }
.contact-section:last-child { margin-bottom: 0; }
.contact-label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; font-weight: 800; color: var(--heading); }
.address-box { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.address-box strong { display: block; font-size: 15px; color: var(--heading); margin-bottom: 4px; }
.address-box span { display: block; font-size: 14px; color: var(--muted); line-height: 1.6; overflow-wrap: break-word; }
.contact-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: stretch; margin-bottom: 8px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item input[type="hidden"] { display: none; }
.contact-item input { width: 100%; min-width: 0; height: 46px; padding: 0 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--heading); font-size: 15px; font-weight: 700; outline: none; }
.btn-copy, .btn-action { height: 46px; padding: 0 14px; border-radius: var(--r-md); border: none; font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; transition: transform .2s var(--ease), background-color .2s, filter .2s; }
.btn-copy { background: var(--field); color: var(--ink-2); border: 1px solid var(--line-strong); }
.btn-copy:hover { background: var(--gold-50); border-color: var(--gold-300); color: var(--heading); }
.btn-action { color: #fff; }
.btn-action:hover { transform: translateY(-1px); filter: brightness(1.07); }
.btn-call { background: linear-gradient(135deg, #f87171, #ef4444); }
.btn-email { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.btn-whatsapp { background: linear-gradient(135deg, #34d399, #10b981); }
.btn-facebook { background: linear-gradient(135deg, #3b82f6, #1877f2); }
.qr-row { display: flex; align-items: center; gap: 14px; margin-top: 12px; min-width: 0; }
.qr-code { width: 112px; height: 112px; border-radius: var(--r-md); border: 1px solid var(--line); padding: 6px; background: #fff; object-fit: contain; flex-shrink: 0; }
.qr-hint { flex: 1; min-width: 0; background: var(--green-bg); border: 1px solid var(--green-line); border-radius: var(--r-md); padding: 14px 16px; color: var(--green-text); }
.qr-hint strong { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 4px; }
.qr-hint span { display: block; font-size: 13px; color: var(--green-text); overflow-wrap: break-word; }
.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); height: 260px; background: var(--map-bg); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--blue); }
.hours-box { margin-top: 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; }
.hours-box h3 { margin: 0 0 10px; font-size: 14px; font-weight: 800; color: var(--heading); display: flex; align-items: center; gap: 8px; }
.hours-box h3 i { color: var(--gold-600); }
.hours-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 6px 0; font-size: 14px; color: var(--ink-2); font-weight: 600; border-top: 1px dashed var(--line); }
.hours-row:first-of-type { border-top: 0; }
.hours-row span:last-child { font-weight: 800; color: var(--heading); font-variant-numeric: tabular-nums; }
.quick-box { margin-top: 14px; padding: 16px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; }
.quick-box h3 { margin: 0 0 4px; font-size: 15px; font-weight: 800; color: var(--gold-300); display: flex; align-items: center; gap: 8px; }
.quick-box p { margin: 0 0 12px; font-size: 13px; color: rgba(226, 232, 240, .85); }
.btn-quick { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; width: 100%; min-height: 48px; padding: 10px 12px; border-radius: var(--r-md); background: var(--gold-grad); color: var(--navy-900); font-weight: 800; font-size: 15px; text-align: center; box-shadow: 0 8px 18px rgba(245, 158, 11, .3); transition: transform .2s var(--ease); }
.btn-quick:hover { transform: translateY(-1px); }
.trust-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); }
.trust-ico { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.trust-ico.green { background: var(--green-bg); color: #10b981; }
.trust-ico.blue { background: var(--blue-bg); color: #3b82f6; }
.trust-ico.purple { background: var(--purple-bg); color: #8b5cf6; }
.trust-ico.gold { background: var(--gold-100); color: var(--gold-600); }
.trust-item strong { display: block; font-size: 14px; color: var(--heading); font-weight: 800; }
.trust-item span { display: block; font-size: 12.5px; color: var(--muted); overflow-wrap: break-word; }
@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; }
    .trust-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .contact-item { grid-template-columns: 1fr 1fr; }
    .contact-item input { grid-column: 1 / -1; font-size: 16px; }
    .btn-copy, .btn-action { width: 100%; min-width: 0; white-space: normal; text-align: center; padding: 0 8px; font-size: 13px; line-height: 1.2; }
    .qr-row { flex-direction: column; align-items: stretch; }
    .qr-code { width: 128px; height: 128px; margin: 0 auto; }
    .map-wrap { height: 220px; }
}
@media (max-width: 420px) { .trust-bar { grid-template-columns: 1fr; } }

/* Toast */
.toast-notification {
    position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 11000;
    display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 32px);
    padding: 12px 20px; border-radius: 999px;
    background: var(--btn-dark); color: #fff; font-weight: 700; font-size: 14px;
    box-shadow: var(--shadow-lg);
    transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s;
}
.toast-notification i { color: #34d399; }
.toast-notification.show { transform: translate(-50%, 0); opacity: 1; }

/* =========================================================================
   PRIVACY / CONTENT
   ========================================================================= */
.content-box {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
    padding: clamp(20px, 4vw, 44px); box-shadow: var(--shadow-md);
    margin: clamp(-40px, -4vw, -24px) auto clamp(40px, 6vw, 64px); max-width: 900px;
    position: relative; z-index: 2; line-height: 1.75; color: var(--ink-2);
}
.content-box .updated { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--gold-100); color: var(--gold-700); font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.content-box h2 { display: flex; align-items: center; gap: 10px; margin: 28px 0 10px; font-size: 19px; font-weight: 800; color: var(--heading); }
.content-box h2::before { content: ""; width: 6px; height: 22px; border-radius: 4px; background: var(--gold-grad); flex-shrink: 0; }
.content-box p { margin-bottom: 14px; }
.content-box ul { margin: 0 0 18px 4px; list-style: none; }
.content-box li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.content-box li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.content-box a { color: var(--gold-700); font-weight: 700; border-bottom: 1px dashed var(--gold-400); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer-contact {
    position: relative; overflow: hidden;
    margin-top: clamp(30px, 5vw, 56px); padding: clamp(24px, 4vw, 36px) 0;
    background: var(--gold-grad);
}
.footer-contact::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(400px 200px at 90% 50%, rgba(255, 255, 255, .35), transparent 70%);
}
.footer-contact-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px 30px; flex-wrap: wrap; }
.footer-contact-header { display: flex; align-items: center; gap: 14px; }
.footer-contact-header > i {
    width: 56px; height: 56px; border-radius: 18px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--navy-900); color: var(--gold-300); font-size: 24px;
    box-shadow: 0 10px 22px rgba(11, 37, 69, .3);
}
.footer-contact-header h3 { margin: 0 0 2px; font-size: clamp(18px, 2.2vw, 22px); font-weight: 800; color: var(--navy-900); }
.footer-contact-header p { margin: 0; font-size: 14px; color: rgba(11, 37, 69, .75); font-weight: 500; }
.footer-contact-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 20px; border-radius: 999px;
    font-size: 14px; font-weight: 700; white-space: nowrap;
    box-shadow: 0 8px 18px rgba(11, 37, 69, .18);
    transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, color .2s;
}
.footer-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(11, 37, 69, .25); }
.footer-btn-phone { background: #fff; color: var(--navy-900); }
.footer-btn-phone i { color: var(--blue); }
.footer-btn-phone:hover { background: var(--navy-900); color: #fff; }
.footer-btn-phone:hover i { color: var(--gold-300); }
.footer-btn-whatsapp { background: #16a34a; color: #fff; }
.footer-btn-facebook { background: var(--fb); color: #fff; }

.site-footer {
    position: relative;
    background: linear-gradient(180deg, var(--navy-950), #04101f);
    color: #9fb0c6;
    padding: clamp(36px, 5vw, 56px) 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.4fr; gap: clamp(24px, 4vw, 44px); }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #fff; }
.footer-logo img { height: 44px; width: auto; }
.footer-logo .footer-word { font-family: 'Poppins', 'Inter', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: .5px; }
.footer-logo .footer-word span { color: var(--gold-400); }
.footer-desc { font-size: 14px; line-height: 1.75; color: #9fb0c6; margin-bottom: 18px; max-width: 380px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-size: 16px;
    transition: transform .2s var(--ease), background .2s, color .2s;
}
.footer-social a:hover { background: var(--gold-grad); color: var(--navy-900); transform: translateY(-3px); border-color: transparent; }
.footer-col h4 { position: relative; margin-bottom: 16px; padding-bottom: 10px; color: #fff; font-size: 16px; font-weight: 700; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; border-radius: 3px; background: var(--gold-grad); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { display: inline-flex; align-items: center; gap: 8px; color: #9fb0c6; font-size: 14px; transition: color .2s, transform .2s var(--ease); }
.footer-col ul li a i { font-size: 10px; color: var(--gold-400); }
.footer-col ul li a:hover { color: var(--gold-300); transform: translateX(4px); }
.footer-contact-info { display: grid; gap: 10px; }
.footer-contact-info a { display: flex; align-items: center; gap: 10px; color: #9fb0c6; font-size: 14px; transition: color .2s; min-width: 0; }
.footer-contact-info a i { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: rgba(250, 204, 21, .1); color: var(--gold-400); font-size: 13px; }
.footer-contact-info a span { overflow-wrap: anywhere; }
.footer-contact-info a:hover { color: var(--gold-300); }
.footer-bottom { margin-top: clamp(28px, 4vw, 40px); padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); text-align: center; }
.footer-bottom p { font-size: 13px; color: #6b7f99; }
.footer-bottom a { color: #9fb0c6; }
.footer-bottom a:hover { color: var(--gold-300); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > .footer-col:first-child { grid-column: 1 / -1; } }
@media (max-width: 768px) {
    .footer-contact-inner { flex-direction: column; text-align: center; }
    .footer-contact-header { flex-direction: column; }
    .footer-contact-buttons { justify-content: center; width: 100%; }
}
@media (max-width: 480px) {
    .footer-contact-buttons { display: grid; grid-template-columns: 1fr 1fr; }
    .footer-contact-buttons .footer-btn:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
    .footer-btn { padding: 0 12px; font-size: 13px; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Back to top */
.back-to-top {
    position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 999;
    width: 48px; height: 48px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gold-grad); color: var(--navy-900); font-size: 18px;
    box-shadow: var(--shadow-gold);
    opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { transform: translateY(-3px); }

/* =========================================================================
   COPY MODAL
   ========================================================================= */
.tsm-modal {
    display: none; position: fixed; inset: 0; z-index: 10000;
    align-items: center; justify-content: center; padding: 16px;
    background: rgba(6, 23, 41, .55);
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    animation: fadeIn .2s ease;
}
.tsm-modal-card {
    position: relative; width: 100%; max-width: 420px;
    background: var(--surface); border-radius: var(--r-xl); padding: 24px;
    box-shadow: 0 30px 70px rgba(2, 8, 20, .35);
    animation: modalIn .28s var(--ease);
}
.tsm-modal-close {
    position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-size: 16px;
    transition: background-color .2s, color .2s;
}
.tsm-modal-close:hover { background: var(--red-bg); color: var(--red); }
.tsm-modal-title { display: flex; align-items: center; gap: 10px; margin: 0 40px 6px 0; font-size: 18px; font-weight: 800; color: var(--heading); }
.tsm-modal-title i { width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: var(--gold-grad); color: var(--navy-900); font-size: 15px; }
.tsm-modal-sub { margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.tsm-check-list { display: grid; gap: 8px; margin-bottom: 20px; }
.tsm-check {
    display: flex; align-items: center; gap: 12px; padding: 11px 14px;
    border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--field);
    font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer;
    transition: border-color .2s, background-color .2s;
}
.tsm-check:hover { border-color: var(--gold-300); }
.tsm-check:has(input:checked) { border-color: var(--gold-400); background: var(--gold-50); color: var(--heading); }
.tsm-check.is-locked { cursor: not-allowed; opacity: .8; }
.tsm-check input { width: 18px; height: 18px; accent-color: var(--gold-500); flex-shrink: 0; }
.tsm-copy-btn {
    width: 100%; height: 50px; border: none; border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--btn-dark); color: #fff; font-size: 16px; font-weight: 700;
    box-shadow: 0 10px 22px rgba(11, 37, 69, .3);
    transition: background-color .2s, transform .2s var(--ease);
}
.tsm-copy-btn i { color: var(--gold-300); }
.tsm-copy-btn:hover { background: var(--btn-dark-hover); }
.tsm-copy-btn:disabled { opacity: .85; cursor: progress; }
body.modal-open { overflow: hidden; }

/* =========================================================================
   MOBILE BOTTOM NAV
   ========================================================================= */
.mobile-bottom-nav { display: none; }
@media (max-width: 768px) {
    body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    .mobile-bottom-nav {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
        height: calc(64px + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom);
        justify-content: space-around; align-items: stretch;
        background: var(--bottom-nav-bg);
        backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px rgba(15, 23, 42, .06);
    }
    .mbn-item {
        position: relative; flex: 1 1 0; min-width: 0;
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
        color: var(--muted-2); font-size: 11px; font-weight: 600; line-height: 1.2; text-align: center;
        transition: color .2s;
        -webkit-tap-highlight-color: transparent;
    }
    .mbn-item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
    .mbn-item i {
        width: 44px; height: 28px; border-radius: 14px;
        display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
        transition: background-color .25s var(--ease), color .25s, transform .2s var(--ease);
    }
    .mbn-item:active i { transform: scale(.9); }
    .mbn-item.active { color: var(--heading); }
    .mbn-item.active i { background: var(--gold-grad); color: var(--navy-900); box-shadow: 0 4px 10px rgba(245, 158, 11, .35); }
    .back-to-top { bottom: calc(80px + env(safe-area-inset-bottom)); width: 44px; height: 44px; border-radius: 14px; }
    .toast-notification { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* =========================================================================
   APP MODE (PWA standalone / APK)
   ========================================================================= */
.app-mode body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.app-mode input, .app-mode textarea { -webkit-user-select: auto; user-select: auto; }
@media (max-width: 768px) {
    .app-mode .back-to-top { display: none !important; }
    .app-mode .mobile-menu-toggle { display: none !important; }
}

/* =========================================================================
   ANIMATIONS
   ========================================================================= */
@keyframes goldShine { to { background-position: 200% center; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.9); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
    .header, .footer-contact, .site-footer, .mobile-bottom-nav, .back-to-top, .advanced-search-wrapper, .simple-filter-bar { display: none !important; }
    body { background: #fff; padding: 0; }
    .number-card { break-inside: avoid; box-shadow: none; animation: none; }
}

/* Touch devices: no sticky hover lift, give press feedback instead */
@media (hover: none) {
    .number-card:hover, .pattern-card:hover, .network-card:not(.active):hover, .digit-btn-unified:hover, .page-btn:hover, .contact-btn:hover, .pill:hover {
        transform: none;
    }
    .number-card:hover { border-color: color-mix(in srgb, var(--net) 38%, transparent); box-shadow: var(--shadow-sm); }
    .number-card:hover .phone-number a::after { opacity: 0; }
    .pattern-card:hover { border-color: var(--line); box-shadow: var(--shadow-xs); }
    .pattern-card:hover::before { transform: scaleX(0); }
    .pattern-card:hover .pattern-icon { transform: none; background: var(--gold-grad-soft); color: var(--gold-600); }
    .digit-btn-unified:not(.status-like):not(.status-dislike):hover { background: var(--field); border-color: var(--line-strong); }
    .number-card:active, .pattern-card:active, .network-card:active { transform: scale(.985); transition-duration: .1s; }
}
.hero-title, .page-hero h1, .section-head-title h2 { text-wrap: balance; }

/* =========================================================================
   DARK MODE
   html[data-theme="dark"] is set before first paint by includes/theme_init.php
   (saved choice, otherwise the device setting).
   ========================================================================= */
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0a0f18;
    --surface: #121a28;
    --surface-2: #172234;
    --field: #0e1521;
    --line: #243147;
    --line-strong: #334360;
    --ink: #e5eaf2;
    --ink-2: #c7d0dd;
    --muted: #94a3b8;
    --muted-2: #6b7a90;
    --heading: #f8fafc;

    --gold-50: rgba(250, 204, 21, .07);
    --gold-100: rgba(250, 204, 21, .13);
    --gold-200: rgba(250, 204, 21, .30);
    --gold-700: #fcd34d;
    --gold-grad-soft: linear-gradient(135deg, rgba(250, 204, 21, .10) 0%, rgba(245, 158, 11, .16) 100%);

    --btn-dark: #1d3a66;
    --btn-dark-hover: #27497e;
    --segment-bg: #0e1521;
    --chip-bg: rgba(148, 163, 184, .14);
    --red: #f87171;
    --red-bg: rgba(239, 68, 68, .12);
    --red-line: rgba(239, 68, 68, .35);
    --red-line-2: rgba(239, 68, 68, .6);
    --red-text: #fca5a5;
    --green-bg: rgba(16, 185, 129, .12);
    --green-line: rgba(16, 185, 129, .35);
    --green-text: #6ee7b7;
    --blue-bg: rgba(59, 130, 246, .14);
    --blue-line: rgba(59, 130, 246, .38);
    --blue-text: #93c5fd;
    --purple-bg: rgba(139, 92, 246, .16);
    --orange-bg: rgba(249, 115, 22, .14);
    --orange-text: #fdba74;
    --map-bg: #172234;
    --number-color: #fb923c;
    --bottom-nav-bg: rgba(14, 21, 33, .92);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .35);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
    --shadow-md: 0 10px 28px rgba(0, 0, 0, .42);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, .55);
    --ring: 0 0 0 4px rgba(250, 204, 21, .28);

    --glass-bg-light: rgba(255, 255, 255, .03);
    --glass-bg-medium: rgba(255, 255, 255, .06);
    --glass-bg-strong: rgba(255, 255, 255, .10);
}
[data-theme="dark"] body {
    background-image:
        radial-gradient(1200px 600px at 100% -10%, rgba(250, 204, 21, .07), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(29, 70, 119, .25), transparent 60%);
}
[data-theme="dark"] .header { background: linear-gradient(135deg, #facc15 0%, #eab308 45%, #d97706 100%); }
[data-theme="dark"] .header.is-scrolled { box-shadow: 0 8px 28px rgba(0, 0, 0, .5); }
[data-theme="dark"] .hero-banner,
[data-theme="dark"] .page-hero {
    background:
        radial-gradient(700px 320px at 12% 0%, rgba(250, 204, 21, .16), transparent 60%),
        radial-gradient(600px 300px at 95% 110%, rgba(245, 158, 11, .14), transparent 60%),
        linear-gradient(160deg, #050c16 0%, #0a1a31 60%, #0c223f 100%);
    border-bottom: 1px solid var(--line);
}
[data-theme="dark"] .search-panel-box { box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(250, 204, 21, .45), 0 0 0 6px rgba(250, 204, 21, .06); }
[data-theme="dark"] .input-group > label { background: var(--field); }
[data-theme="dark"] .number-card { box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
[data-theme="dark"] .number-card::after { opacity: .6; }
[data-theme="dark"] .network-badge { filter: brightness(1.35); }
[data-theme="dark"] .tplus .network-badge { color: #fde047; filter: none; }
[data-theme="dark"] .best-telecom { --net: #6d8cff; --net-soft: rgba(109, 140, 255, .14); }
[data-theme="dark"] .drawer-brand img { filter: brightness(0) invert(1); }
[data-theme="dark"] .network-card-logo { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
[data-theme="dark"] .content-box a { border-bottom-color: rgba(250, 204, 21, .45); }
[data-theme="dark"] .footer-contact { background: linear-gradient(135deg, #eab308, #d97706); }
[data-theme="dark"] .site-footer { background: linear-gradient(180deg, #050c16, #03080f); border-top: 1px solid var(--line); }
[data-theme="dark"] .tsm-modal { background: rgba(0, 0, 0, .65); }
[data-theme="dark"] .sidebar-overlay { background: rgba(0, 0, 0, .6); }
[data-theme="dark"] .quick-box { background: linear-gradient(135deg, #0c223f, #1d3a66); }
[data-theme="dark"] .footer-btn-phone { background: #0e1521; color: #f8fafc; }
[data-theme="dark"] .footer-btn-phone i { color: #93c5fd; }
[data-theme="dark"] img.qr-code { background: #fff; }

/* Analyze note (good / bad number) */
.az-note.is-good { background: var(--green-bg); color: var(--green-text); border-color: var(--green-line); }
.az-note.is-bad { background: var(--red-bg); color: var(--red-text); border-color: var(--red-line); }

/* Theme toggle button */
.theme-toggle {
    position: relative; overflow: hidden;
    width: 38px; height: 38px; border-radius: 999px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .7);
    color: var(--navy-900); font-size: 15px;
    transition: background-color .2s, box-shadow .2s, transform .2s var(--ease);
    -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover { background: #fff; box-shadow: var(--shadow-sm); }
.theme-toggle:active { transform: scale(.92); }
.theme-toggle i { position: absolute; transition: transform .45s var(--ease), opacity .3s; }
.theme-toggle .fa-sun { opacity: 0; transform: rotate(-90deg) scale(.4); }
[data-theme="dark"] .theme-toggle { background: rgba(11, 37, 69, .85); border-color: rgba(11, 37, 69, .9); color: #fde047; }
[data-theme="dark"] .theme-toggle .fa-moon { opacity: 0; transform: rotate(90deg) scale(.4); }
[data-theme="dark"] .theme-toggle .fa-sun { opacity: 1; transform: none; }
@media (max-width: 768px) { .theme-toggle { width: 36px; height: 36px; font-size: 14px; } }
@media (max-width: 360px) {
    .header-actions { gap: 5px; }
    .logo-sub { display: none; }
}

/* Smooth colour change while switching theme */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
    transition: background-color .35s ease, border-color .35s ease, color .35s ease, fill .35s ease, box-shadow .35s ease !important;
}

/* Readable tints of the brand colours for small text */
.network-badge { color: color-mix(in srgb, var(--net) 68%, #000); }
.tplus .network-badge { color: #854d0e; }
.aspect-title .aspect-label { color: color-mix(in srgb, currentColor 72%, #000); }
[data-theme="dark"] .network-badge { color: color-mix(in srgb, var(--net) 70%, #fff); filter: none; }
[data-theme="dark"] .tplus .network-badge { color: #fde047; }
[data-theme="dark"] .aspect-title .aspect-label { color: color-mix(in srgb, currentColor 65%, #fff); }

/* Very small phones (Galaxy Fold, old iPhone SE 1st gen, 280–340px) */
@media (max-width: 340px) {
    .nav-bar { gap: 8px; }
    .logo { gap: 5px; }
    .logo-img { height: 30px; }
    .logo-word { font-size: 14px; letter-spacing: .2px; }
    .header-actions { gap: 4px; }
    .lang-btn { padding: 0 6px; gap: 0; height: 32px; }
    .lang-btn .fa-chevron-down { display: none; }
    .theme-toggle { width: 32px; height: 32px; font-size: 13px; }
    .mobile-menu-toggle { width: 34px; height: 34px; border-radius: 10px; font-size: 15px; }
}
@media (max-width: 360px) {
    .footer-contact-buttons { grid-template-columns: 1fr; }
    .footer-btn { min-width: 0; }
}

/* Short / landscape screens: let the modal scroll instead of clipping */
.tsm-modal { align-items: flex-start; overflow-y: auto; overscroll-behavior: contain; }
.tsm-modal-card { margin: auto; }
@media (max-height: 520px) {
    .tsm-modal-card { padding: 16px 18px; }
    .tsm-check-list { gap: 6px; margin-bottom: 14px; }
    .tsm-check { padding: 8px 12px; }
    .hero-banner { padding-top: 14px; padding-bottom: 18px; }
}

/* Long labels (EN / VI / TH) on narrow phones */
.section-head-title { flex-wrap: wrap; row-gap: 6px; }
.section-head-title h1, .section-head-title h2 { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 380px) {
    .btn-search-full, .btn-reset { white-space: normal !important; line-height: 1.2; font-size: 13px !important; gap: 6px; padding: 0 8px !important; text-align: center; }
    .section-head-title h1, .section-head-title h2 { font-size: 18px; }
}
@media (max-width: 340px) {
    .mode-label { white-space: normal; line-height: 1.15; font-size: 12.5px; text-align: center; padding: 4px 6px; height: auto; min-height: 38px; }
}

/* =========================================================================
   HERO POLISH — network logos, KPI strip, soft curve, glow
   ========================================================================= */
.hero-banner { padding-bottom: clamp(58px, 7vw, 92px); }
.hero-banner::after {
    content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: clamp(26px, 4vw, 54px); z-index: 0;
    background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0; pointer-events: none;
}
.hero-banner > .container { position: relative; z-index: 1; }
.hero-networks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.hero-net {
    display: inline-flex; align-items: center; gap: 8px;
    height: 38px; padding: 0 14px 0 5px; border-radius: 999px;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
    color: #e2e8f0; font-size: 13px; font-weight: 600; white-space: nowrap;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.hero-net img { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; background: #fff; padding: 3px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.hero-net:hover { transform: translateY(-2px); background: rgba(250, 204, 21, .14); border-color: rgba(250, 204, 21, .45); color: #fff; }
.advanced-search-wrapper::before {
    content: ""; position: absolute; inset: 8% 12% -4%; z-index: -1; pointer-events: none;
    background: radial-gradient(closest-side, rgba(250, 204, 21, .32), transparent);
    filter: blur(34px); animation: glowPulse 7s ease-in-out infinite;
}
.hero-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(16px, 2.4vw, 24px); }
.hero-kpi {
    display: flex; align-items: center; gap: 12px; min-width: 0; text-align: left;
    padding: 12px 14px; border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
    color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: transform .25s var(--ease), background-color .25s, border-color .25s;
}
.hero-kpi:hover { transform: translateY(-3px); background: rgba(250, 204, 21, .10); border-color: rgba(250, 204, 21, .4); }
.hero-kpi-ico {
    width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gold-grad); color: var(--navy-900); font-size: 17px;
    box-shadow: 0 8px 18px rgba(245, 158, 11, .35);
}
.hero-kpi > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.hero-kpi b { font-family: 'Poppins', 'Inter', sans-serif; font-size: clamp(18px, 2vw, 22px); font-weight: 800; letter-spacing: .3px; font-variant-numeric: tabular-nums; }
.hero-kpi small { font-size: 12.5px; color: rgba(226, 232, 240, .78); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .hero-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
    .hero-networks { gap: 6px; margin-top: 10px; }
    .hero-net { height: 34px; padding: 0 3px; }
    .hero-net span { display: none; }
    .hero-net img { width: 28px; height: 28px; }
    .hero-kpis { gap: 8px; }
    .hero-kpi { padding: 10px; gap: 9px; }
    .hero-kpi-ico { width: 34px; height: 34px; border-radius: 11px; font-size: 14px; }
    .hero-kpi b { font-size: 17px; }
    .hero-kpi small { font-size: 11.5px; }
}
@keyframes glowPulse { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }

/* Card shine on hover (pointer devices) */
@media (hover: hover) {
    .number-card::after {
        background:
            linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%),
            radial-gradient(260px 90px at 100% 0%, var(--net-soft), transparent 70%);
        background-size: 260% 100%, 100% 100%;
        background-position: 130% 0, 0 0;
        background-repeat: no-repeat;
        transition: background-position .8s var(--ease);
    }
    .number-card:hover::after { background-position: -40% 0, 0 0; }
    [data-theme="dark"] .number-card::after {
        background-image:
            linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .10) 50%, transparent 62%),
            radial-gradient(260px 90px at 100% 0%, var(--net-soft), transparent 70%);
    }
}

/* Scroll reveal (enabled by footer.php only when IntersectionObserver exists) */
.reveal-on .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-on .reveal { opacity: 1; transform: none; } }
.page-hero { padding-bottom: clamp(44px, 6vw, 74px); }
.page-hero::after {
    content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: clamp(22px, 3.4vw, 44px); z-index: 0;
    background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0; pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
[data-theme="dark"] .hero-banner, [data-theme="dark"] .page-hero { border-bottom: 0; }

/* ===== Hero headline (h1 + eyebrow + sub) ===== */
.hero-banner .hero-eyebrow { margin-bottom: 10px; font-size: 12.5px; }
.hero-eyebrow-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-400); opacity: .7; }
.hero-banner h1.hero-title { font-size: clamp(24px, 4vw, 44px); line-height: 1.25; max-width: 900px; padding-bottom: 2px; }
.hero-banner .hero-sub { margin-top: 10px; margin-bottom: 14px; text-wrap: balance; }
@media (max-width: 560px) {
    .hero-banner .hero-eyebrow { font-size: 11px; padding: 4px 11px; margin-bottom: 8px; }
    .hero-banner h1.hero-title { font-size: clamp(21px, 6.2vw, 26px); }
    .hero-banner .hero-sub { font-size: 12.5px; margin: 6px auto 10px; }
}
@media (max-width: 380px) { .hero-banner .hero-sub { display: none; } }

/* ===== Data deletion page ===== */
.content-box .dd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 8px; }
.content-box .dd-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
    border: 0; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 700;
    box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.content-box .dd-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.content-box .dd-btn-mail { background: linear-gradient(135deg, #1e3a5f, #0f2240); }
.content-box .dd-btn-wa { background: linear-gradient(135deg, #22c55e, #16a34a); }
.content-box .dd-btn-fb { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.content-box ol.dd-steps { counter-reset: dd; list-style: none; margin: 0 0 16px; padding: 0; }
.content-box ol.dd-steps li { counter-increment: dd; position: relative; padding-left: 40px; margin-bottom: 10px; min-height: 28px; }
.content-box ol.dd-steps li::before {
    content: counter(dd); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center; background: var(--gold-grad); color: #1f2937; font-size: 13px; font-weight: 800;
}
.content-box .dd-note {
    display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-md, 12px);
    background: var(--gold-100); color: var(--gold-700); font-size: 14px; font-weight: 500;
}
.content-box .dd-note i { margin-top: 5px; }
.content-box .dd-en { margin-top: 32px; padding-top: 8px; border-top: 1px dashed var(--line); }
@media (max-width: 560px) { .content-box .dd-btn { flex: 1 1 100%; justify-content: center; } }

/* =========================================================================
   CHECK NUMBERS (check.php)
   ========================================================================= */
.check-hero { padding-bottom: clamp(56px, 8vw, 92px); }
.check-page { max-width: 980px; padding-bottom: clamp(30px, 5vw, 56px); }
.check-card {
    position: relative; z-index: 2;
    margin: clamp(-64px, -7vw, -44px) auto 0;
    padding: clamp(16px, 3vw, 28px);
    background: var(--surface); border-radius: var(--r-xl);
    box-shadow: 0 30px 60px rgba(2, 8, 20, .18), 0 0 0 1px rgba(250, 204, 21, .55), 0 0 0 6px rgba(250, 204, 21, .10);
}
.check-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.check-label { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(15px, 1.8vw, 17px); font-weight: 800; color: var(--heading); }
.check-label-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy-900); font-size: 15px; box-shadow: var(--shadow-gold); }
.check-count {
    padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
    background: var(--chip-bg); color: var(--muted); transition: background-color .2s, color .2s;
}
.check-count.is-on { background: var(--green-bg); color: var(--green-text); }
.check-count.is-over { background: var(--red-bg); color: var(--red-text); }
.check-input-wrap { position: relative; }
.check-input-wrap textarea {
    display: block; width: 100%; min-height: 150px; resize: vertical;
    padding: 14px 16px 44px; border-radius: var(--r-lg);
    background: var(--field); color: var(--ink); border: 1.5px solid var(--line-strong);
    font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.7; letter-spacing: .5px;
    transition: border-color .2s, box-shadow .2s;
}
.check-input-wrap textarea::placeholder { color: var(--muted-2); font-weight: 500; letter-spacing: 0; }
.check-input-wrap textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: var(--ring); }
.check-paste {
    position: absolute; right: 10px; bottom: 10px;
    display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
    border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface);
    color: var(--ink-2); font-size: 13px; font-weight: 700; cursor: pointer;
    transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.check-paste:hover { background: var(--gold-50); border-color: var(--gold-400); transform: translateY(-1px); }
.check-hint { display: flex; gap: 8px; align-items: flex-start; margin: 10px 2px 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.check-hint i { color: var(--gold-500); margin-top: 4px; }
.check-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 16px; }
.check-submit { height: 52px; font-size: 16px; border-radius: var(--r-md); }
.check-submit.is-busy { opacity: .85; cursor: progress; }
.check-actions .btn-reset { height: 52px; }

.check-idle { margin: clamp(22px, 4vw, 36px) auto 0; text-align: center; color: var(--muted); font-size: 14px; }
.check-idle-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 10px; border-radius: 20px; background: var(--gold-grad-soft); color: var(--gold-600); font-size: 26px; border: 1px dashed var(--gold-200); }
.check-idle[hidden], .check-results[hidden], .check-note[hidden], .check-paste[hidden] { display: none; }

.check-results { margin-top: clamp(22px, 3.5vw, 32px); scroll-margin-top: calc(var(--header-h) + 12px); }
.check-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.check-stat {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.check-stat b { display: block; font-size: clamp(20px, 3vw, 26px); font-weight: 800; line-height: 1.1; color: var(--heading); }
.check-stat small { color: var(--muted); font-size: 13px; font-weight: 600; }
.check-stat-ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; font-size: 18px; }
.st-total .check-stat-ico { background: var(--gold-grad); color: var(--navy-900); }
.st-ok .check-stat-ico { background: var(--green-bg); color: var(--green-text); }
.st-ok b { color: var(--green-text); }
.st-no .check-stat-ico { background: var(--red-bg); color: var(--red-text); }
.st-no b { color: var(--red-text); }

.check-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 16px 0 12px; }
.check-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--segment-bg); border: 1px solid var(--line); }
.check-tab {
    display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
    border: 0; border-radius: 999px; background: transparent; color: var(--muted);
    font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s;
}
.check-tab em { font-style: normal; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--chip-bg); font-size: 12px; text-align: center; }
.check-tab.is-active { background: var(--surface); color: var(--heading); box-shadow: var(--shadow-sm); }
.check-tab.is-active em { background: var(--gold-grad); color: var(--navy-900); }
.check-copy {
    display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px;
    border: 0; border-radius: var(--r-md); background: var(--btn-dark); color: #fff;
    font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .2s, transform .2s var(--ease);
}
.check-copy:hover { background: var(--btn-dark-hover); transform: translateY(-1px); }
.check-copy:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.check-copy.is-done { background: var(--green); }
.check-note { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 10px 14px; border-radius: var(--r-md); background: var(--gold-100); color: var(--gold-700); font-size: 14px; font-weight: 600; }

.check-list { display: grid; gap: 10px; }
.check-row {
    position: relative; overflow: hidden;
    padding: 14px 16px 14px 20px; border-radius: var(--r-lg);
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
    animation: checkIn .35s var(--ease) both;
}
.check-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--line-strong); }
.check-row.is-available { border-color: var(--green-line); }
.check-row.is-available::before { background: linear-gradient(180deg, #34d399, #10b981); }
.check-row.is-unavailable::before { background: linear-gradient(180deg, #f87171, #dc2626); }
.check-row.is-invalid { background: var(--surface-2); }
@keyframes checkIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.check-row-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.check-num { font-size: clamp(20px, 2.6vw, 24px); font-weight: 800; letter-spacing: .6px; color: var(--number-color, #ea580c); font-variant-numeric: tabular-nums; }
a.check-num:hover { text-decoration: underline; text-underline-offset: 4px; }
.check-num.is-muted { color: var(--muted); }
.is-unavailable .check-num { text-decoration: line-through; text-decoration-color: rgba(220, 38, 38, .45); text-decoration-thickness: 2px; }
.check-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1px solid transparent; }
.st-available { background: var(--green-bg); color: var(--green-text); border-color: var(--green-line); }
.st-sold, .st-missing { background: var(--red-bg); color: var(--red-text); border-color: var(--red-line); }
.st-invalid { background: var(--chip-bg); color: var(--muted); }
.check-sellers { font-size: 12px; font-weight: 700; color: var(--gold-700); background: var(--gold-100); padding: 3px 9px; border-radius: 999px; }
.check-similar { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blue-text); padding: 6px 12px; border-radius: 999px; background: var(--blue-bg); transition: transform .2s var(--ease); }
.check-similar:hover { transform: translateX(2px); }

.check-offer { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.check-offer-info { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.check-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--gold-700); background: var(--gold-100); padding: 4px 9px; border-radius: 6px; }
.check-sum { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--chip-bg); padding: 4px 9px; border-radius: 6px; }
.check-store { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); min-width: 0; }
.check-store i { color: var(--gold-600); }
.check-store span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.check-store:hover { color: var(--gold-700); }
.check-offer-buy { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.check-price { font-size: 16px; font-weight: 800; color: var(--red-text); background: var(--red-bg); border: 1px solid var(--red-line); padding: 5px 12px; border-radius: var(--r-sm); white-space: nowrap; }
.check-nothing { padding: 28px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
.check-nothing i { margin-right: 6px; }

@media (max-width: 640px) {
    .check-summary { gap: 8px; }
    .check-stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
    .check-stat-ico { width: 34px; height: 34px; font-size: 15px; }
    .check-toolbar { flex-direction: column; align-items: stretch; }
    .check-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
    .check-tab { justify-content: center; padding: 0 6px; font-size: 13px; }
    .check-copy { justify-content: center; }
    .check-actions { grid-template-columns: 1fr 1fr; }
    .check-row { padding: 12px 12px 12px 16px; }
    .check-similar { margin-left: 0; }
    .check-offer-buy { width: 100%; justify-content: space-between; margin-left: 0; }
    .check-store span { max-width: 160px; }
}
@media (max-width: 360px) {
    .check-tab em { display: none; }
    .check-stat small { font-size: 12px; }
}

/* =========================================================================
   FAVORITES (heart buttons, header counter, toast)
   ========================================================================= */
.card-header-end { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.fav-btn { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.card-fav {
    width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
    display: inline-grid; place-items: center; padding: 0;
    border: 1px solid var(--line); background: var(--surface); color: var(--muted-2); font-size: 13px;
    transition: color .2s, background-color .2s, border-color .2s, transform .2s var(--ease);
}
.card-fav:hover { color: #e11d48; border-color: #fda4af; transform: scale(1.08); }
.fav-btn.is-on { color: #e11d48; }
.card-fav.is-on { background: #fff1f2; border-color: #fda4af; }
[data-theme="dark"] .card-fav.is-on { background: rgba(225, 29, 72, .16); border-color: rgba(225, 29, 72, .5); color: #fb7185; }
.fav-btn.pop i { animation: favPop .4s var(--ease); }
@keyframes favPop { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

.fav-head {
    position: relative; width: 38px; height: 38px; flex-shrink: 0; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .7);
    color: var(--navy-900); font-size: 16px; transition: background-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.fav-head:hover { background: #fff; box-shadow: var(--shadow-sm); color: #e11d48; }
.fav-head:active { transform: scale(.92); }
.fav-count {
    position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 999px; background: #e11d48; color: #fff; font-size: 10.5px; font-weight: 800; line-height: 18px; text-align: center;
    box-shadow: 0 0 0 2px var(--brand-yellow);
}
.fav-count[hidden] { display: none; }
[data-theme="dark"] .fav-head { background: rgba(11, 37, 69, .85); border-color: rgba(11, 37, 69, .9); color: #fde047; }
@media (max-width: 768px) { .fav-head { width: 36px; height: 36px; font-size: 15px; } }
@media (max-width: 360px) { .fav-head { width: 32px; height: 32px; font-size: 14px; } }
html:not(.nav-drawer) .nav-only-drawer { display: none; }

.ts-toast {
    position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 3000;
    transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
    padding: 10px 18px; border-radius: 999px; background: var(--navy-900); color: #fff;
    font-size: 14px; font-weight: 700; box-shadow: var(--shadow-lg);
    transition: opacity .25s, transform .25s var(--ease);
}
.ts-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 768px) { .ts-toast { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* =========================================================================
   NUMBER DETAIL (number.php)
   ========================================================================= */
.nd-hero { padding-bottom: clamp(56px, 8vw, 92px); }
.nd-crumbs { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-size: 13px; color: rgba(226, 232, 240, .75); }
.nd-crumbs a { color: rgba(226, 232, 240, .9); }
.nd-crumbs a:hover { color: var(--gold-300); }
.nd-crumbs .fa-chevron-right { font-size: 9px; opacity: .6; }
.nd-crumbs span { color: var(--gold-300); font-weight: 700; }
.page-hero h1.nd-number { font-size: clamp(34px, 7vw, 64px); letter-spacing: 1.5px; font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.nd-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.nd-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #e2e8f0; font-size: 13px; font-weight: 700;
}
.nd-chip i { color: var(--gold-400); }
.nd-ok { background: rgba(16, 185, 129, .18); border-color: rgba(52, 211, 153, .45); color: #a7f3d0; }
.nd-ok i { color: #34d399; }
.nd-no { background: rgba(239, 68, 68, .18); border-color: rgba(248, 113, 113, .45); color: #fecaca; }
.nd-no i { color: #f87171; }
.nd-gold { background: rgba(250, 204, 21, .14); border-color: rgba(250, 204, 21, .4); color: #fde68a; }
.nd-grade i { color: var(--g); }

.nd-page { max-width: 1100px; }
.nd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; align-items: start; margin-top: clamp(-64px, -7vw, -44px); position: relative; z-index: 2; }
.nd-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(18px, 3vw, 26px); box-shadow: var(--shadow-md); }
.nd-offer { box-shadow: 0 30px 60px rgba(2, 8, 20, .16), 0 0 0 1px rgba(250, 204, 21, .55), 0 0 0 6px rgba(250, 204, 21, .10); }
.nd-price-label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.nd-price { font-size: clamp(28px, 4.5vw, 38px); font-weight: 800; color: var(--red-text); line-height: 1.2; margin: 2px 0 16px; font-variant-numeric: tabular-nums; }
.nd-seller {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-lg);
    background: var(--surface-2); border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease);
}
.nd-seller:hover { border-color: var(--gold-400); transform: translateY(-1px); }
.nd-seller-ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy-900); font-size: 17px; }
.nd-seller-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.nd-seller-meta small { color: var(--muted); font-size: 12px; font-weight: 600; }
.nd-seller-meta strong { color: var(--heading); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd-seller-go { font-size: 13px; font-weight: 700; color: var(--gold-700); white-space: nowrap; }
.nd-contact-title { margin: 18px 0 8px; font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.nd-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.nd-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: var(--r-md);
    color: #fff; font-weight: 800; font-size: 15px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), filter .2s;
}
.nd-btn:hover { transform: translateY(-2px); filter: saturate(1.1); }
.nd-btn i { font-size: 18px; }
.nd-call { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.nd-wa { background: linear-gradient(135deg, #34d399, #16a34a); }
.nd-fb { background: linear-gradient(135deg, #3b82f6, #1877f2); }
.nd-tools { display: flex; gap: 8px; margin-top: 12px; }
.nd-tool {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 12px;
    border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2);
    font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.nd-tool:hover { border-color: var(--gold-400); background: var(--gold-50); }
.nd-tool.fav-btn.is-on { border-color: #fda4af; background: #fff1f2; color: #e11d48; }
[data-theme="dark"] .nd-tool.fav-btn.is-on { background: rgba(225, 29, 72, .14); border-color: rgba(225, 29, 72, .5); color: #fb7185; }
.nd-tool.is-done { border-color: var(--green-line); background: var(--green-bg); color: var(--green-text); }
.nd-others { margin-top: 6px; }
.nd-other { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px dashed var(--line); }
.nd-other-store { flex: 1; min-width: 0; font-weight: 700; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd-other-store i { color: var(--gold-600); }
.nd-other-price { font-weight: 800; color: var(--red-text); white-space: nowrap; }

.nd-reading-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.nd-reading-head h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; color: var(--heading); margin: 0; }
.nd-reading-head h2 i { color: var(--gold-500); }
.nd-grade-badge { min-width: 44px; height: 44px; padding: 0 8px; border-radius: 14px; display: grid; place-items: center; font-size: 18px; font-weight: 900; color: #fff; background: var(--g); box-shadow: 0 6px 16px color-mix(in srgb, var(--g) 40%, transparent); }
.nd-summary { margin: 0 0 12px; padding: 10px 14px; border-radius: var(--r-md); background: var(--gold-50); color: var(--ink-2); font-size: 14px; border: 1px solid var(--gold-200); }
.nd-pairs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.nd-pair { min-width: 40px; padding: 6px 8px; border-radius: 10px; text-align: center; font-weight: 800; font-size: 15px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); font-variant-numeric: tabular-nums; }
.nd-aspect { padding: 10px 0; border-top: 1px solid var(--line); }
.nd-aspect-title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--heading); margin-bottom: 4px; }
.nd-aspect-title.personality i { color: #8b5cf6; }
.nd-aspect-title.work i { color: #3b82f6; }
.nd-aspect-title.finance i { color: #10b981; }
.nd-aspect-title.love i { color: #ec4899; }
.nd-aspect-title.luck i { color: #f59e0b; }
.nd-aspect p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nd-full { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 800; color: var(--gold-700); }
.nd-full:hover { gap: 12px; }

.nd-gone { position: relative; z-index: 2; margin: clamp(-64px, -7vw, -44px) auto 0; max-width: 620px; text-align: center; }
.nd-gone-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--red-bg); color: var(--red-text); font-size: 28px; margin-bottom: 10px; }
.nd-gone h2 { margin: 0 0 6px; font-size: 22px; color: var(--heading); }
.nd-gone p { margin: 0 0 16px; color: var(--muted); }
.nd-gone-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.nd-gone-actions .btn-primary { height: 46px; }
.nd-gone-link { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: var(--r-md); border: 1px solid var(--line-strong); font-weight: 700; color: var(--ink-2); }
.nd-similar { margin-top: clamp(28px, 4vw, 40px); }
@media (max-width: 860px) {
    .nd-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .nd-seller-go { display: none; }
    .nd-contacts { grid-template-columns: 1fr 1fr; }
    .nd-contacts .nd-btn:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
}

/* =========================================================================
   REQUEST CTA + REQUEST FORM (request.php)
   ========================================================================= */
.req-cta {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    margin: clamp(28px, 4vw, 44px) 0 0; padding: clamp(16px, 3vw, 24px);
    border-radius: var(--r-xl); color: #fff;
    background: radial-gradient(420px 200px at 0% 0%, rgba(250, 204, 21, .25), transparent 60%), linear-gradient(135deg, var(--navy-900), #0f2f57);
    box-shadow: var(--shadow-md);
}
.req-cta-ico { width: 56px; height: 56px; flex-shrink: 0; border-radius: 18px; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy-900); font-size: 24px; box-shadow: var(--shadow-gold); }
.req-cta-text { flex: 1; min-width: 200px; }
.req-cta-text h2 { margin: 0 0 2px; font-size: clamp(17px, 2.2vw, 20px); color: #fff; }
.req-cta-text p { margin: 0; color: rgba(226, 232, 240, .85); font-size: 14px; }
.req-cta-btn { height: 48px; padding: 0 22px; font-size: 15px; }
@media (max-width: 560px) { .req-cta-btn { width: 100%; } }

.rq-page { max-width: 820px; }
.rq-steps { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: clamp(-64px, -7vw, -44px) 0 14px; padding: 0; list-style: none; }
.rq-steps li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 700; color: var(--ink-2); line-height: 1.4; }
.rq-steps span { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy-900); font-weight: 900; }
.rq-form { margin-top: 0; }
.rq-errors { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; padding: 12px 14px; border-radius: var(--r-md); background: var(--red-bg); border: 1px solid var(--red-line); color: var(--red-text); font-weight: 600; font-size: 14px; }
.rq-errors i { margin-top: 3px; }
.rq-field { margin-bottom: 14px; }
.rq-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 800; color: var(--heading); }
.rq-label em { color: var(--red); font-style: normal; }
.rq-input {
    width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-md);
    background: var(--field); color: var(--ink); border: 1.5px solid var(--line-strong);
    font-family: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.rq-input:focus, .rq-digits:focus { outline: none; border-color: var(--gold-500); box-shadow: var(--ring); }
textarea.rq-input { resize: vertical; min-height: 70px; }
.rq-digits-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; }
.rq-digits {
    width: 100%; height: 60px; padding: 0 16px; border-radius: var(--r-md);
    background: var(--field); color: var(--number-color, #ea580c); border: 1.5px solid var(--line-strong);
    font-family: inherit; font-size: 28px; font-weight: 800; letter-spacing: 4px; font-variant-numeric: tabular-nums;
}
.rq-digits::placeholder { font-size: 15px; letter-spacing: 0; font-weight: 500; color: var(--muted-2); }
.rq-preview {
    display: flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: var(--r-md);
    background: var(--navy-900); color: rgba(226, 232, 240, .55); font-size: 20px; font-weight: 800; letter-spacing: 2px;
    font-variant-numeric: tabular-nums; white-space: nowrap;
}
.rq-preview b { color: var(--gold-300); }
.rq-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: var(--r-md); background: var(--segment-bg); border: 1px solid var(--line); }
.rq-seg label { position: relative; cursor: pointer; }
.rq-seg input { position: absolute; opacity: 0; pointer-events: none; }
.rq-seg span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 4px 8px; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--muted); text-align: center; transition: background-color .2s, color .2s, box-shadow .2s; }
.rq-seg input:checked + span { background: var(--gold-grad); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.rq-seg input:focus-visible + span { box-shadow: var(--ring); }
.rq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.rq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rq-consent { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 14px; font-size: 13px; color: var(--muted); }
.rq-consent i { color: var(--green); margin-top: 3px; }
.rq-submit { width: 100%; }

.rq-done { text-align: center; margin-top: clamp(-64px, -7vw, -44px); }
.rq-done-ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #34d399, #10b981); color: #fff; font-size: 32px; box-shadow: 0 12px 28px rgba(16, 185, 129, .35); animation: favPop .5s var(--ease); }
.rq-done h2 { margin: 14px 0 4px; font-size: 24px; color: var(--heading); }
.rq-done p { margin: 0 0 14px; color: var(--muted); }
.rq-done-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--gold-100); color: var(--gold-700); font-weight: 800; }
.rq-matches { display: flex; align-items: center; gap: 14px; margin: 18px auto 0; max-width: 460px; padding: 14px 16px; text-align: left; border-radius: var(--r-lg); background: var(--green-bg); border: 1px solid var(--green-line); color: var(--green-text); transition: transform .2s var(--ease); }
.rq-matches:hover { transform: translateY(-2px); }
.rq-matches-num { min-width: 56px; height: 56px; padding: 0 8px; border-radius: 16px; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 22px; font-weight: 900; }
.rq-again { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--muted); }
.rq-again:hover { color: var(--gold-700); }
@media (max-width: 640px) {
    .rq-steps { grid-template-columns: 1fr; gap: 6px; }
    .rq-steps li { padding: 10px 12px; }
    .rq-grid { grid-template-columns: 1fr; }
    .rq-digits-row { grid-template-columns: 1fr; }
    .rq-preview { justify-content: center; height: 46px; font-size: 18px; }
    .rq-seg span { font-size: 13px; }
}

/* =========================================================================
   FAVORITES PAGE (favorites.php)
   ========================================================================= */
.fv-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.fv-toolbar[hidden] { display: none; }
.fv-note { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.fv-actions { margin-left: auto; display: flex; gap: 8px; }
.fv-actions .btn-reset { height: 42px; }
.fv-loading { padding: 30px; text-align: center; color: var(--gold-500); font-size: 24px; }
.fv-loading[hidden] { display: none; }
.fv-groups { display: grid; gap: 14px; }
.fv-group { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.fv-group-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.fv-send { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: linear-gradient(135deg, #34d399, #16a34a); color: #fff; font-weight: 800; font-size: 13.5px; box-shadow: var(--shadow-sm); }
.fv-send:hover { filter: saturate(1.1); transform: translateY(-1px); }
.fv-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px dashed var(--line); }
.fv-row .check-num { font-size: 20px; }
.fv-row .check-price { margin-left: auto; font-size: 14px; }
.fv-remove { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #fda4af; background: #fff1f2; color: #e11d48; }
[data-theme="dark"] .fv-remove { background: rgba(225, 29, 72, .14); border-color: rgba(225, 29, 72, .5); color: #fb7185; }
.fv-total { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font-weight: 700; color: var(--muted); }
.fv-total strong { color: var(--heading); font-size: 17px; }
.fv-gone .fv-group-head strong { color: var(--red-text); display: inline-flex; gap: 8px; align-items: center; }
.fv-gone .check-similar { margin-left: auto; }
.fv-empty { text-align: center; padding: 20px 10px 8px; }
.fv-empty[hidden] { display: none; }
.fv-empty-ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fff1f2; color: #e11d48; font-size: 30px; }
[data-theme="dark"] .fv-empty-ico { background: rgba(225, 29, 72, .14); }
.fv-empty h2 { margin: 12px 0 4px; color: var(--heading); font-size: 20px; }
.fv-empty p { margin: 0 0 16px; color: var(--muted); }
.fv-empty .btn-primary { height: 46px; }
@media (max-width: 640px) {
    .fv-actions { margin-left: 0; width: 100%; }
    .fv-actions > * { flex: 1; justify-content: center; }
    .fv-send { width: 100%; justify-content: center; }
    .fv-row .check-price { margin-left: 0; }
    .fv-row .fv-remove { margin-left: auto; }
}
