/* Gaigu Fit - Dark Theme Mobile-First PWA Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

@font-face {
    font-family: 'BlackRose';
    src: url('../fonts/black-rose.woff2') format('woff2');
    font-display: swap;
}

:root {
    --bg: #0f0f10;
    --bg2: #161617;
    --bg3: #1e1e1f;
    --nav: #1a1b1c;
    --border: #3e4042;
    --border2: #3a3b3c;
    --text: #e4e6eb;
    --text2: #b0b3b8;
    --text3: #909192;
    --blue: #4a9eff;
    --blue2: #1877f2;
    --green: #42b72a;
    --red: #f02849;
    --yellow: #e7a400;
    --orange: #e68900;
}

* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.34;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: 70px;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

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

input, textarea, select {
    font-family: inherit;
    font-size: 15px !important;
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    padding: 10px 14px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(74, 158, 255, 0.25);
}

input::placeholder, textarea::placeholder {
    color: var(--text3);
}

button {
    font-family: inherit;
}

/* App Header */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--nav);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.top-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 12px;
    max-width: 960px;
    margin: 0 auto;
}

.brand-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.logo,
.logo-clean,
.brand-center .logo,
.top-nav-clean .logo {
    font-family: 'BlackRose', cursive, sans-serif;
    font-size: 32px;
    color: #e52549 !important;
    line-height: 1;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(229, 37, 73, 0.4);
    user-select: none;
    text-decoration: none;
    display: inline-block;
}

.app-header-clean {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: #0f0f10 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

.top-nav-clean {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 52px !important;
    padding: 0 12px !important;
    max-width: 960px !important;
    margin: 0 auto !important;
    background: #0f0f10 !important;
}

/* Competitor Exact Member Rank Badges */
._c9506h {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 4px;
}
._57vvi4, .badge-role {
    font-size: 9.5px !important;
    font-weight: 800 !important;
    color: #fff !important;
    padding: 1px 7px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #fcd34d, #d97706) !important;
    letter-spacing: .2px;
    line-height: 1.5;
    white-space: nowrap;
    display: inline-block;
}
._4o9be5 {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    color: #e5e7eb !important;
    padding: 1px 7px !important;
    border-radius: 6px !important;
    background: #4b5563 !important;
    letter-spacing: .2px;
    line-height: 1.4;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}
._57vvi4:empty, .badge-role:empty, ._4o9be5:empty {
    display: none;
}


/* Video Watermark Overlay Pill */
.video-player-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: block;
    width: 100%;
}
.video-brand-pill {
    display: none !important;
}

.fit-event {
    font-weight: 900;
    letter-spacing: 0.5px;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(90deg, #ff2d55, #ff9500, #ffd000, #34c759, #5ac8fa, #af52de, #ff2d55);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: fitShimmer 2.6s linear infinite, fitGlow 1.6s ease-in-out infinite alternate;
}

@keyframes fitShimmer {
    to { background-position: 220% center; }
}

@keyframes fitGlow {
    from { filter: drop-shadow(0 0 4px rgba(255, 45, 85, 0.6)); }
    to { filter: drop-shadow(0 0 9px rgba(90, 200, 250, 0.7)); }
}

/* Gamification Star Badge */
.gami-wrap {
    position: relative;
    z-index: 60;
}

.gami-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: #e8365f;
    border: none;
    border-radius: 8px;
    padding: 7px 12px;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(232, 54, 95, 0.4);
    transition: transform 0.15s, box-shadow 0.15s;
    overflow: hidden;
}

.gami-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232, 54, 95, 0.6);
}

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

.gami-btn .gb-ico {
    font-size: 14px;
    line-height: 1;
}

.gami-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: translateX(-150%) skewX(-20deg);
    animation: gamiShine 3.2s ease-in-out infinite;
}

@keyframes gamiShine {
    0%, 60% { transform: translateX(-150%) skewX(-20deg); }
    100% { transform: translateX(325%) skewX(-20deg); }
}

.gami-btn .gb-txt-short {
    display: none;
}

@media (max-width: 520px) {
    .gami-btn {
        font-size: 12px;
        padding: 6px 9px;
        gap: 4px;
    }
    .gami-btn .gb-txt-full {
        display: none;
    }
    .gami-btn .gb-txt-short {
        display: inline;
    }
    .brand-center {
        gap: 8px;
    }
    .fit-event {
        font-size: 11.5px;
    }
    .brand-center .logo {
        font-size: 26px;
    }
}

.gami-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 230px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 120;
    animation: menuFadeIn 0.2s ease-out;
}

.gami-menu.open {
    display: block;
}

@keyframes menuFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.gami-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    padding: 11px 12px;
    border-radius: 9px;
    transition: background 0.12s;
}

.gami-item:hover {
    background: var(--bg3);
    color: #fff;
}

.gami-item .gi-ico {
    font-size: 17px;
    line-height: 1;
}

/* Search bar dropdown */
#fhSearchBar {
    display: none;
    background: var(--nav);
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fh-search-form {
    display: flex;
    gap: 8px;
    max-width: 640px;
    margin: 0 auto;
}

.fh-search-form input {
    flex: 1;
    font-size: 14px !important;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text);
}

.fh-search-form button {
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.fh-search-form button:hover {
    background: var(--blue2);
}

/* Warning Banner */
.fhwarn {
    background: #032b36;
    border-top: 1px solid rgba(34, 211, 238, 0.25);
    border-bottom: 1px solid rgba(34, 211, 238, 0.25);
    padding: 8px 14px;
    text-align: center;
    line-height: 1.5;
    color: var(--text2);
}

.fhwarn .hl {
    color: #e6b45a;
    font-weight: 700;
}

.fhwarn .dom {
    color: #fff;
    font-weight: 700;
}

.fhwarn .sub {
    color: var(--text2);
}

.fhwarn .dgrp {
    white-space: nowrap;
}

.fhwarn .fw-full {
    font-size: 12.5px;
}

.fhwarn .fw-short {
    font-size: clamp(11px, 3.4vw, 13px);
    display: none;
}

@media (max-width: 500px) {
    .fhwarn {
        padding: 7px 10px;
    }
    .fhwarn .fw-full {
        display: none;
    }
    .fhwarn .fw-short {
        display: block;
    }
}

/* Page Container */
.page-main {
    max-width: 640px;
    margin: 0 auto;
    padding: 14px 10px 80px;
}

@media (min-width: 768px) {
    .page-main {
        max-width: 760px;
        padding: 18px 16px 90px;
    }
}

@media (min-width: 1024px) {
    .page-main {
        max-width: 980px;
        padding: 22px 20px 96px;
    }
}

/* ==========================================================================
   Home Quick Action Row & Filter Bar (Matching Image 2 Desktop & Image 3 Mobile)
   ========================================================================== */
._elwx4r {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    margin: 4px 0 14px;
}

@media (max-width: 600px) {
    ._elwx4r {
        font-size: 17px;
        margin: 2px 0 12px;
    }
}

.fhrow-home {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
}

.fhprov-box {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 600px) {
    .fhprov-box {
        flex: 0 0 95px;
        width: 95px;
    }
}

.fhprov-box select {
    width: 100%;
    height: 40px;
    background: #161719;
    color: #e4e6eb;
    border: 1px solid #1e4976;
    border-radius: 8px;
    padding: 0 24px 0 32px;
    font-size: 13px !important;
    font-weight: 600;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: border-color 0.2s;
}

.fhprov-box select:hover, .fhprov-box select:focus {
    border-color: #3b82f6;
}

.fhprov-box::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e9297' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
    pointer-events: none;
    z-index: 1;
}

.fhprov-box::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid #8e9297;
    border-bottom: 2px solid #8e9297;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

/* Đánh giá mới button */
.btn-rv-new {
    flex: 0 0 auto;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    background: #161719;
    border: 1px solid #283344;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.btn-rv-new:hover {
    background: #1e2023;
    border-color: #3f4e66;
}

.btn-rv-new .hand-ico {
    font-size: 14px;
    line-height: 1;
}

.btn-rv-new .rv-txt {
    color: #eab308;
}

/* Tìm quanh đây button (Dark + Blue outline, NEVER white) */
.btn-nearby-blue {
    flex: 0 0 auto;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    background: #161719 !important;
    color: #93c5fd !important;
    border: 1px solid #1d4ed8 !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.btn-nearby-blue:hover {
    background: #1e2638 !important;
    border-color: #3b82f6 !important;
}

.btn-nearby-blue svg {
    stroke: #3b82f6;
    flex-shrink: 0;
}

.btn-nearby-blue span {
    color: #93c5fd;
}

@media (max-width: 600px) {
    .fhrow-home {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 12px;
        width: 100%;
    }
    .fhprov-box {
        flex: 0 0 28%;
        max-width: 28%;
        min-width: 0;
    }
    .fhprov-box select {
        height: 38px;
        padding: 0 16px 0 24px;
        font-size: 12px !important;
        font-weight: 600;
        border-radius: 8px;
    }
    .fhprov-box::before {
        left: 6px;
        width: 12px;
        height: 12px;
    }
    .fhprov-box::after {
        right: 6px;
        width: 5px;
        height: 5px;
    }
    .btn-rv-new {
        flex: 1 1 36%;
        min-width: 0;
        height: 38px;
        padding: 0 4px;
        font-size: 12px;
        gap: 4px;
        border-radius: 8px;
        justify-content: center;
    }
    .btn-nearby-blue {
        flex: 1 1 36%;
        min-width: 0;
        height: 38px;
        padding: 0 4px;
        font-size: 12px;
        gap: 4px;
        border-radius: 8px;
        justify-content: center;
    }
    .btn-rv-new .hand-ico {
        font-size: 13px;
    }
    .btn-nearby-blue svg {
        width: 13px;
        height: 13px;
    }
}

/* Horizontal Sub-Filter Tags Bar */
.fhold-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 4px 0 16px;
    flex-wrap: wrap;
    user-select: none;
}

@media (max-width: 600px) {
    .fhold-bar {
        gap: 6px 14px;
        margin: 2px 0 14px;
    }
    .fhold-sel {
        font-size: 13px !important;
    }
    .fhold-wrap:nth-child(1) .fhold-sel { max-width: 86px; }
    .fhold-wrap:nth-child(2) .fhold-sel { max-width: 32px; }
    .fhold-wrap:nth-child(3) .fhold-sel { max-width: 35px; }
    .fhold-wrap:nth-child(4) .fhold-sel { max-width: 68px; }
    .fhold-wrap:nth-child(5) .fhold-sel { max-width: 62px; }
    .fhold-wrap:nth-child(6) .fhold-sel { max-width: 55px; }
    .fhold-wrap .fhold-sel.act { max-width: none; }
}

.fhold-wrap {
    flex: 0 0 auto;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-bottom: 2px;
    border-bottom: 1px solid #475569;
    transition: all .18s ease;
}

.fhold-wrap:hover {
    border-bottom-color: #94a3b8;
}

.fhold-sel {
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 13.5px !important;
    font-weight: 500;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
    font-family: inherit;
    transition: color 0.15s;
}

.fhold-sel:hover, .fhold-sel:focus {
    color: #ffffff;
}

.fhold-sel.default-sort,
.fhold-wrap.is-default-sort {
    color: #60a5fa !important;
    border-bottom-color: #3b82f6 !important;
    font-weight: 600;
}

.fhold-sel.act,
.fhold-wrap.is-active-filter,
.fhold-wrap:has(.fhold-sel.act) {
    color: #60a5fa !important;
    border-bottom-color: #3b82f6 !important;
    font-weight: 600;
}

.fhold-sel option {
    background: #1c1e21;
    color: #e4e6eb;
    font-size: 13px;
}

/* Quick Action Buttons Row (fhrow fh5) */
.fhrow {
    display: flex;
    align-items: stretch;
    gap: 7px;
    margin-bottom: 16px;
}

.fhrow.fh5 .fhnear {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    gap: 5px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0;
    background: var(--bg2);
    color: #7db8ff;
    border: 1px solid #3f7fd9;
    border-radius: 11px;
    font-size: clamp(12px, 3.4vw, 13px);
    cursor: pointer;
    white-space: nowrap;
    --gc: 74, 158, 255;
    animation: fh5glow 1.9s ease-in-out infinite;
    transition: transform 0.15s, border-color 0.15s;
}

.fhrow.fh5 .fhnear:nth-child(2) {
    animation-delay: 0.3s;
}

.fhrow.fh5 .fhnear:nth-child(3) {
    animation-delay: 0.6s;
}

.fhrow.fh5 .fhnear:nth-child(4) {
    animation-delay: 0.9s;
}

.fhrow.fh5 .fh5-gg {
    border-color: #c9264a;
    color: #ff8091;
    --gc: 240, 40, 73;
}

.fhrow.fh5 .fh5-fit {
    border-color: #5b4a8a;
    --gc: 175, 82, 222;
}

.fhrow.fh5 .fh5-dg {
    border-color: #8a6d00;
    color: #facc15;
    --gc: 250, 204, 21;
}

.fhrow.fh5 .fhnear::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-150%) skewX(-20deg);
    animation: fh5shine 3s ease-in-out infinite;
    pointer-events: none;
}

.fhrow.fh5 .fhnear:nth-child(2)::after {
    animation-delay: 0.5s;
}

.fhrow.fh5 .fhnear:nth-child(3)::after {
    animation-delay: 1s;
}

.fhrow.fh5 .fhnear:nth-child(4)::after {
    animation-delay: 1.5s;
}

.fhrow.fh5 .fh5i {
    display: inline-flex;
    align-items: center;
    animation: fh5bob 1.2s ease-in-out infinite;
}

.fhrow.fh5 .fh5-fittxt {
    font-weight: 900;
    letter-spacing: 0.2px;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(90deg, #ff2d55, #ff9500, #ffd000, #34c759, #5ac8fa, #af52de, #ff2d55);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: fh5sh 2.6s linear infinite;
}

.fhrow.fh5 .fh5-s {
    display: none;
}

@media (max-width: 520px) {
    .fhrow.fh5 {
        gap: 5px;
    }
    .fhrow.fh5 .fh5-l {
        display: none;
    }
    .fhrow.fh5 .fh5-s {
        display: inline;
    }
    .fhrow.fh5 .fhnear {
        font-size: 12px;
        padding: 0 4px;
        gap: 3px;
    }
    .fhrow.fh5 .fhnear svg {
        width: 13px;
        height: 13px;
    }
    .fhrow.fh5 .fh5-dg .fh5i {
        display: none;
    }
    .fhrow.fh5 .fh5-fittxt {
        font-size: 12px;
    }
}

@keyframes fh5glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(var(--gc), 0);
    }
    50% {
        box-shadow: 0 0 0 3px rgba(var(--gc), 0.22), 0 0 16px rgba(var(--gc), 0.55);
    }
}

@keyframes fh5shine {
    0%, 55% { transform: translateX(-150%) skewX(-20deg); }
    100% { transform: translateX(325%) skewX(-20deg); }
}

@keyframes fh5bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes fh5sh {
    to { background-position: 220% center; }
}

/* Quick Province Select Row */
.fhprov-sel {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.fhprov-sel select {
    width: 100%;
    height: 44px;
    background: var(--bg2);
    color: var(--text);
    border: 1px solid #3f7fd9;
    border-radius: 11px;
    padding: 0 34px 0 34px;
    font-size: clamp(12px, 3.4vw, 13px) !important;
    font-weight: 600;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    transition: border-color 0.15s;
}

.fhprov-sel select:hover, .fhprov-sel select:focus {
    border-color: var(--blue);
}

.fhprov-sel::after {
    content: "";
    position: absolute;
    right: 13px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--text3);
    border-bottom: 2px solid var(--text3);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.fhprov-sel::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e9297' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
    pointer-events: none;
    opacity: 0.8;
    z-index: 1;
}

/* Section Dividers */
.fh-rated-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 32px 2px 14px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    user-select: none;
}

.fh-rated-divider::before, .fh-rated-divider::after {
    content: "";
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
}

.fh-rated-divider span {
    flex: 0 0 auto;
    padding: 4px 13px;
    color: #facc15;
}

.fh-rated-divider.fh-divider-red {
    margin: 18px 0 16px;
}

.fh-rated-divider.fh-divider-red span {
    color: #e52549;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 2px 10px;
}

.fh-rated-divider.fh-divider-blue span {
    color: #4a9eff;
}

.fh-divider-green::before, .fh-divider-green::after {
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.35) 30%, rgba(34, 197, 94, 0.35) 70%, transparent);
}

.fh-divider-red::before, .fh-divider-red::after {
    background: linear-gradient(90deg, transparent, rgba(229, 37, 73, 0.5) 30%, rgba(229, 37, 73, 0.5) 70%, transparent);
    height: 1px;
}

.fh-divider-blue::before, .fh-divider-blue::after {
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.35) 30%, rgba(74, 158, 255, 0.35) 70%, transparent);
}

/* Product Cards Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

.card-media-link,.product-name a{color:inherit;text-decoration:none;display:block}
.product-card {
    background: var(--bg2);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
    border-color: rgba(74, 158, 255, 0.4);
}

.product-card:active {
    transform: scale(0.98);
}

._ahlief {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.product-card .img-wrap {
    position: relative;
    aspect-ratio: 6 / 9;
    background: var(--bg3);
    overflow: hidden;
}

.product-card .img-wrap img, .product-card img._3u9w9d {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.product-card:hover .img-wrap img {
    transform: scale(1.03);
    filter: brightness(1.08);
}

.top-ribbon {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 4;
    min-width: 42px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border-radius: 999px;
    background: #facc15;
    color: #171717;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    box-shadow: 0 2px 8px rgba(0,0,0,.55);
}

.top-ribbon + .hot-ribbon { top: 42px; }

.hot-ribbon {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    background: url('../images/hot-badge.webp') center/contain no-repeat;
    z-index: 3;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    animation: hot-pulse 1.8s infinite;
}

@keyframes hot-pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(255, 59, 59, 0.8)); }
}

._9fm5g5, .video-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

._2m5poj {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

._6rfpvm {
    display: block;
}

.product-info {
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    color: var(--text);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
    min-height: 38px;
    margin-bottom: 6px;
}

/* Row 1: Location (Left) vs Price (Right) */
._dll111, .product-row-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: 4px;
    white-space: nowrap;
}

._f1eg8v, .product-loc {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
    min-width: 0;
}

._5htgwr {
    flex-shrink: 0;
    fill: var(--blue);
}

._6bshff, .product-loc span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

._73ljme, .product-price {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #e4e6eb;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    margin-left: auto; /* Push price right against edge */
}

/* Row 2: Stars (Left) vs Views (Right) */
._5l3wkq, .product-sub-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: 4px;
    white-space: nowrap;
}

._f2lrgb, .product-stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

._eaexga {
    color: var(--text3);
    font-size: 12px;
    margin-left: 3px;
}

._1w7mlp, .product-views {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #b0b3b8;
    font-size: 12px;
    font-weight: 400;
    flex-shrink: 0;
    margin-left: auto; /* Push views right against edge */
}

/* Row 3: Phone number (Left, neat and blue) */
.tel._8ndp9n, .product-phone {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #3b82f6;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

@media (max-width: 480px) {
    .product-info {
        padding: 6px 6px 8px !important;
    }
    .product-name {
        font-size: 12px !important;
        line-height: 1.3 !important;
        height: 31px !important;
        min-height: 31px !important;
        margin-bottom: 4px !important;
    }
    ._eaexga, ._1w7mlp, .product-views {
        font-size: 11px !important;
    }
    ._f1eg8v, .product-loc {
        font-size: 11px !important;
    }
    ._73ljme, .product-price {
        font-size: 12px !important;
    }
    .tel._8ndp9n, .product-phone {
        font-size: 12.5px !important;
        margin-top: 3px !important;
    }
}

/* Review Cards (rv-card) */
.rv-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.rv-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.rv-avt {
    width: 40px;
    height: 40px;
    border-radius: 20%;
    overflow: hidden;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.rv-meta {
    flex: 1;
    min-width: 0;
}

.rv-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3px;
}

.rv-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.rv-date {
    font-size: 11.5px;
    color: var(--text3);
}

.rv-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rv-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
    margin-bottom: 10px;
}

.rv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.rv-tag {
    font-size: 11.5px;
    font-weight: 600;
    background: var(--bg3);
    color: var(--blue);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
}

.rv-title {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #facc15;
    text-decoration: none;
    margin-bottom: 12px;
}

.rv-title:hover {
    text-decoration: underline;
}

.rv-imgs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

.rv-img-thumb {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg3);
    border: 1px solid var(--border);
}

.rv-img-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.rv-img-thumb:hover img {
    transform: scale(1.08);
}

.rv-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rv-act-btn {
    background: none;
    border: none;
    color: var(--text3);
    font-size: 12.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.rv-act-btn:hover {
    background: var(--bg3);
    color: var(--text);
}

.rv-act-btn.active {
    color: var(--blue);
}

/* Khu Vực (Provinces) Tab Component */
.kv-hero {
    position: relative;
    border-radius: 12px;
    padding: 28px 20px 24px;
    margin-bottom: 24px;
    background: linear-gradient(150deg, #101826 0%, #0c1220 55%, #101a2e 100%);
    border: 1px solid rgba(77, 159, 255, 0.25);
    overflow: hidden;
}

.kv-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.kv-blob.b1 {
    top: -90px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(45, 136, 255, 0.3), transparent 65%);
    animation: kvFloatA 11s ease-in-out infinite;
}

.kv-blob.b2 {
    bottom: -110px;
    left: -70px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(24, 119, 242, 0.2), transparent 65%);
    animation: kvFloatB 14s ease-in-out infinite;
}

@keyframes kvFloatA {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-24px, 16px) scale(1.12); }
}

@keyframes kvFloatB {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -14px) scale(1.08); }
}

.kv-hero h2 {
    position: relative;
    z-index: 1;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 7px;
}

.kv-sub {
    position: relative;
    z-index: 1;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: center;
    margin-bottom: 16px;
}

.kv-sub b {
    color: #4d9fff;
    font-weight: 800;
}

.kv-search {
    position: relative;
    z-index: 1;
    max-width: 480px;
}

.kv-search input {
    width: 100%;
    height: 46px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 14.5px !important;
    font-weight: 500;
    padding: 0 40px 0 42px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    backdrop-filter: blur(6px);
}

.kv-search input:focus {
    border-color: #4d9fff;
    background: rgba(255, 255, 255, 0.12);
}

.kv-search .kv-mag {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.kv-sec {
    margin-bottom: 28px;
}

.kv-h2 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 13px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.kv-h2 .kv-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4d9fff;
    flex-shrink: 0;
}

.kv-h2 em {
    font-style: normal;
    font-size: 12px;
    font-weight: 500;
    color: var(--text3);
}

.kv-h2 .kv-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--border), transparent);
}

.kv-topgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 600px) {
    .kv-topgrid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.kv-topcard {
    position: relative;
    border-radius: 10px;
    padding: 14px 12px;
    border: 1px solid rgba(77, 159, 255, 0.4);
    background: linear-gradient(165deg, #152238, #0e1728);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
    cursor: pointer;
}

.kv-topcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(24, 119, 242, 0.28);
    border-color: rgba(77, 159, 255, 0.8);
}

.kv-topcard .kv-rank {
    position: absolute;
    top: -8px;
    right: 4px;
    font-size: 44px;
    font-weight: 900;
    color: rgba(77, 159, 255, 0.14);
    line-height: 1;
    pointer-events: none;
    font-style: italic;
}

.kv-topcard .kv-tname {
    position: relative;
    color: #fff;
    font-size: 14.5px;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
}

.kv-topcard .kv-tnum {
    position: relative;
    color: #4d9fff;
    font-size: 12px;
    font-weight: 700;
}

.kv-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kv-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
    cursor: pointer;
}

.kv-chip:hover {
    border-color: rgba(77, 159, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.2);
}

.kv-n {
    font-size: 11px;
    font-weight: 700;
    color: #4d9fff;
    background: rgba(24, 119, 242, 0.16);
    padding: 1px 7px;
    border-radius: 4px;
    line-height: 1.5;
}

/* Profile Detail Modal / Sheet */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modal-backdrop.open {
    display: flex;
    opacity: 1;
}

.profile-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 92vh;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-radius: 20px 20px 0 0;
    z-index: 210;
    overflow-y: auto;
    display: none;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
    .profile-modal {
        top: 50%;
        bottom: auto;
        left: 50%;
        right: auto;
        width: 680px;
        max-height: 88vh;
        border-radius: 16px;
        transform: translate(-50%, -40%) scale(0.95);
        border: 1px solid var(--border);
    }
    .profile-modal.open {
        transform: translate(-50%, -50%) scale(1);
    }
}

.profile-modal.open {
    display: block;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .profile-modal.open {
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal-header-bar {
    position: sticky;
    top: 0;
    background: var(--nav);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.modal-close-btn {
    background: var(--bg3);
    border: none;
    color: var(--text);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.modal-close-btn:hover {
    background: #3e4042;
}

/* Lightbox Image Viewer */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox-overlay.open {
    display: flex;
}

.lightbox-img {
    max-width: 94vw;
    max-height: 94vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* Fixed Bottom Navigation Bar (PWA Style - mobile only) */
@media (min-width: 768px) { .bottom-nav { display: none !important; } }
@media (max-width: 767px) {
    .fhrow-home select,.fhrow-home button,.fhrow-home a,.fhold-sel,.btn-load-more{min-height:44px}
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--nav);
    border-top: 1px solid var(--border);
    display: flex;
    z-index: 90;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

/* App Header Clean for ALL Devices (Desktop & Mobile matching gaigu.vc) */
.app-header-clean .hide-minimal,
.app-header-clean .hide-minimal-mobile,
.app-header-clean .gami-wrap,
.app-header-clean .header-right-actions,
.app-header-clean #fhSearchBar {
    display: none !important;
}
.app-header-clean .top-nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 52px !important;
    position: relative !important;
}
.app-header-clean .brand-center {
    position: static !important;
    transform: none !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Fallback for mobile class */
@media (max-width: 768px) {
    .app-header-clean-mobile .hide-minimal-mobile,
    .app-header-clean-mobile .gami-wrap,
    .app-header-clean-mobile .header-right-actions {
        display: none !important;
    }
    .app-header-clean-mobile .top-nav {
        justify-content: center !important;
        height: 52px !important;
    }
    .app-header-clean-mobile .brand-center {
        position: static !important;
        transform: none !important;
        margin: 0 auto !important;
    }
}

/* Province Page & District Grid (10 Columns on Desktop matching Image 2 exactly) */
.pv-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 16px 14px 75px;
}
.pv-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
    line-height: 1.25;
}
.pv-sub {
    font-size: 13px;
    color: #8e929b;
    margin-bottom: 16px;
}
.districts-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    margin-bottom: 18px;
}
@media (max-width: 1024px) {
    .districts-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}
@media (max-width: 768px) {
    .districts-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (max-width: 480px) {
    .districts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.dist-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 4px;
    background: #18191c;
    border: 1px solid #282a32;
    border-radius: 4px;
    color: #3b82f6;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
    transition: all 0.15s ease;
}
.dist-btn:hover {
    background: #232733;
    border-color: #3b82f6;
    color: #60a5fa;
}
.dist-btn.active {
    background: #1e293b;
    border-color: #3b82f6;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}



.bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    min-height: 54px;
    justify-content: center;
    color: var(--text2);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    gap: 3px;
    transition: color 0.15s, border-color 0.15s;
    border-top: 2px solid transparent;
    cursor: pointer;
}

.bottom-nav a.active {
    color: #4d9fff;
    border-top-color: #4d9fff;
    font-weight: 700;
}

.bottom-nav .icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Toast notification */
.toast-msg {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 90%;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    background: #1e1e1f;
    border: 1px solid #4a9eff;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.toast-msg.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Page Main Container Responsive 1:1 */
.page-main { max-width:640px; margin:0 auto; padding:12px 10px 80px; }
@media (min-width: 640px) {
    .page-main { max-width:720px; padding:16px 16px 90px; }
}
@media (min-width: 1024px) {
    .page-main { max-width:960px; padding:20px 20px 96px; }
}

/* Album Zone Desktop Reverse Layout 1:1 */
#album-zone { position:relative; }
@media (min-width:768px){
    #album-zone{display:flex;flex-direction:row-reverse;justify-content:center;gap:12px;align-items:flex-start}
    #album-wrap{max-width:420px;flex:0 0 420px;border-radius:12px}
    #album-thumbs{flex-direction:column;width:66px;flex:0 0 66px;max-height:630px;overflow-y:auto;overflow-x:hidden}
}
#album-track::-webkit-scrollbar{display:none}
#album-thumbs::-webkit-scrollbar{display:none}

/* Favorite Button & Pulse Animations */
.fav-btn{position:relative;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;margin-left:4px;border:1px solid var(--border);background:linear-gradient(145deg,#2c2d30,#1c1d1f);cursor:pointer;overflow:hidden;box-shadow:0 3px 8px rgba(0,0,0,0.35),inset 0 1px 0 rgba(255,255,255,0.06);transition:transform .18s cubic-bezier(.34,1.56,.64,1),box-shadow .2s,border-color .2s}
.fav-btn:hover{transform:translateY(-2px);border-color:#f0284955;box-shadow:0 6px 16px rgba(240,40,73,0.25),inset 0 1px 0 rgba(255,255,255,0.08)}
.fav-btn:active{transform:scale(.9)}
.fav-btn .fav-glow{position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 50% 40%,rgba(240,40,73,0.35),transparent 70%);opacity:0;transition:opacity .25s}
.fav-btn.faved{background:linear-gradient(145deg,#ff4d6d,#f02849);border-color:#ff6b85;box-shadow:0 4px 14px rgba(240,40,73,0.5),inset 0 1px 0 rgba(255,255,255,0.25)}
.fav-btn.faved .fav-glow{opacity:1}
.fav-btn.faved #fav-icon{animation:favPop .42s cubic-bezier(.34,1.56,.64,1)}
@keyframes favPop{0%{transform:scale(1)}35%{transform:scale(1.35)}60%{transform:scale(.9)}100%{transform:scale(1)}}
@keyframes favBeat{0%,100%{transform:scale(1)}25%{transform:scale(1.15)}50%{transform:scale(1)}}

/* Manage / Action Buttons */
.mng-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:11px 8px;color:#fff;border:none;border-radius:10px;font-size:13px;font-weight:700;text-align:center;text-decoration:none;cursor:pointer;white-space:nowrap;transition:transform .12s,filter .15s}
.mng-btn:hover{filter:brightness(1.08);transform:translateY(-1px)}
.mng-btn:active{transform:translateY(0)}
@media (max-width:480px){
  .mng-btn{font-size:11.5px;padding:9px 4px;gap:4px;min-width:0;border-radius:8px}
  .mng-btn svg{width:12px;height:12px;flex-shrink:0}
  .mng-sub{flex-wrap:nowrap !important;gap:5px !important}
  .mng-sub .mng-btn{flex:1 1 0 !important;min-width:0;font-size:10px;padding:8px 2px;white-space:nowrap}
}

/* Attribute Row Hover & NCC Blink */
.attr-row{transition:background .15s}
.attr-row:hover{background:rgba(255,255,255,0.06)}
@keyframes nccblink{0%,100%{opacity:1}50%{opacity:.35}}

/* Reaction & Comments */
.react-btn{display:inline-flex;align-items:center;gap:4px;padding:2px 4px;background:none;color:var(--text3);border:none;font-size:12px;font-weight:600;cursor:pointer;transition:color .15s}
.react-btn:hover{color:var(--text2)}
.react-btn .rc{font-size:12px;font-weight:700;min-width:6px}
.react-btn.on-like{color:var(--blue)}
.react-btn.on-dislike{color:var(--red)}
.react-btn:active{transform:scale(.88)}
.reply-link{background:none;border:none;color:var(--text3);font-size:12px;font-weight:600;cursor:pointer;padding:2px 4px;transition:color .15s}
.reply-link:hover{color:var(--blue)}
.reply-list{margin:8px 0 0 14px;padding-left:12px;border-left:2px solid var(--border);display:flex;flex-direction:column;gap:10px}
.reply-item{padding-top:2px}
.reply-form{display:flex;gap:6px;margin:8px 0 0 14px}
.reply-input{flex:1;min-width:0;font-size:13px;padding:8px 12px;border-radius:18px;border:1px solid var(--border);background:var(--bg);color:var(--text)}
.reply-send{flex-shrink:0;padding:8px 16px;background:var(--blue);color:#fff;border:none;border-radius:18px;font-size:13px;font-weight:700;cursor:pointer}

/* Share Bottom Sheet Modal */
#share-sheet{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.5);z-index:10004;align-items:flex-end;justify-content:center}
#share-sheet.open{display:flex}
.share-panel{background:var(--bg2);width:100%;max-width:480px;border-radius:16px 16px 0 0;padding:20px 18px 24px;animation:sheetUp .25s ease-out}
@keyframes sheetUp{from{transform:translateY(100%)}to{transform:translateY(0)}}
.share-opt{display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:var(--text2);font-size:11px;font-weight:600}
.share-ic{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center}

/* Shopee-like Lightbox */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
#lightbox-img {
    max-width: 100%;
    max-height: 80%;
    touch-action: none;
    transition: transform .15s ease-out;
    will-change: transform;
}

/* User Auth & Dropdown Profile Styles */
.guest-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(74, 158, 255, 0.12);
    border: 1px solid rgba(74, 158, 255, 0.35);
    color: #4a9eff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}
.guest-login-btn:hover {
    background: #4a9eff;
    color: #fff;
    border-color: #4a9eff;
}

.user-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--bg3);
    border: 1px solid var(--border);
    padding: 4px 10px 4px 6px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.18s;
}
.user-pill-btn:hover {
    border-color: var(--blue);
}

.user-avatar-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.user-name-txt {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-stars-badge {
    background: rgba(250, 204, 21, 0.15);
    color: #facc15;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
}

.user-dropdown-pop {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 230px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    padding: 12px;
    z-index: 99999;
}
.user-dropdown-pop.open {
    display: block;
    animation: fadeInDown 0.18s ease-out;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.udp-header {
    padding-bottom: 8px;
}
.udp-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}
.udp-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--text);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.udp-item:hover {
    background: var(--bg3);
    color: #fff;
}
.udp-ico {
    font-size: 15px;
}

/* Auth Modal Styles */
.auth-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.auth-modal-overlay.open {
    display: flex;
}

.auth-modal-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    position: relative;
    animation: scaleUp 0.2s ease-out;
}
@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}

.auth-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--nav);
}
.auth-modal-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.auth-close-btn {
    background: none;
    border: none;
    color: var(--text2);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}
.auth-close-btn:hover {
    color: #fff;
}

.auth-tabs-bar {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}
.auth-tab-btn {
    flex: 1;
    padding: 12px;
    text-align: center;
    background: none;
    border: none;
    color: var(--text2);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.18s;
}
.auth-tab-btn.active {
    color: #fff;
    border-bottom-color: var(--blue);
    background: var(--bg2);
}

.auth-body {
    padding: 20px;
}
.auth-field {
    margin-bottom: 14px;
}
.auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
    margin-bottom: 6px;
}
.auth-field input {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-size: 14px !important;
}
.auth-field input:focus {
    border-color: var(--blue);
}

.auth-submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #1877f2, #0056b3);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: opacity 0.15s;
    margin-top: 6px;
}
.auth-submit-btn:hover {
    opacity: 0.92;
}

.auth-alert {
    display: none;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 14px;
    font-weight: 600;
}
.auth-alert.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.auth-alert.success {
    display: block;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}


/* ============================================================
   FORUM (Diễn Đàn) CARD STYLES
   ============================================================ */
.fposts-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.fpost-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 14px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.fpost-card:hover { background: var(--bg3); border-color: rgba(96,165,250,0.35); }
.fpost-card.fpost-gold { border-color: rgba(234,179,8,0.4); background: linear-gradient(135deg,rgba(234,179,8,0.06),var(--bg2)); }
.fpost-avatar { flex-shrink:0; width:42px; height:42px; border-radius:8px; overflow:hidden; background:var(--bg3); border:1px solid rgba(255,255,255,0.1); }
.fpost-avatar img { width:100%; height:100%; object-fit:cover; border-radius:6px; }
.fpost-avatar-fallback { width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#2563eb,#7c3aed); color:#fff; font-size:17px; font-weight:800; border-radius:6px; }
.fpost-body { flex:1; min-width:0; }
.fpost-title { font-size:14px; font-weight:700; color:var(--text); margin-bottom:3px; line-height:1.35; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.fpost-excerpt { font-size:12.5px; color:var(--text3); line-height:1.45; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:6px; }
.fpost-meta { display:flex; align-items:center; flex-wrap:wrap; gap:5px; font-size:11.5px; color:var(--text3); }
.fpost-author { font-weight:700; color:#60a5fa; font-size:12px; }
.fpost-badge { display:inline-flex; align-items:center; padding:2px 7px; border-radius:4px; font-size:10.5px; font-weight:800; flex-shrink:0; }
.fpost-stat { display:inline-flex; align-items:center; gap:3px; color:var(--text3); font-size:12px; font-weight:500; }
.fpost-time { color:var(--text3); font-size:11.5px; white-space:nowrap; }
.fpost-status { flex-shrink:0; display:flex; align-items:center; }
.fpost-status-badge { padding:4px 10px; border-radius:20px; font-size:11.5px; font-weight:700; white-space:nowrap; }
.fpost-status-badge.open { background:rgba(34,197,94,0.15); color:#4ade80; border:1px solid rgba(34,197,94,0.3); }
.fpost-status-badge.locked { background:rgba(239,68,68,0.12); color:#f87171; border:1px solid rgba(239,68,68,0.25); }

/* Forum pagination */
.f-pagination-wrap { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:6px; margin:20px 0; }
.fp-num, .fp-arrow { display:inline-flex; align-items:center; justify-content:center; min-width:34px; height:34px; padding:0 8px; border-radius:8px; font-size:13px; font-weight:600; text-decoration:none; background:var(--bg2); border:1px solid var(--border); color:var(--text2); transition:all 0.15s; cursor:pointer; }
.fp-num:hover, .fp-arrow:hover { background:var(--bg3); color:#fff; border-color:rgba(255,255,255,0.2); }
.fp-num.active { background:#2563eb; color:#fff; border-color:#2563eb; box-shadow:0 2px 8px rgba(37,99,235,0.35); }
.fp-dots { color:var(--text3); padding:0 4px; }

/* Desktop Lightbox Thumbs */
@media (max-width: 767px) {
    .desktop-only-thumbs { display: none !important; }
}

/* ============================================================
   DETAIL PAGE: HIGHLIGHTS, REVIEWS & REGIONAL TAGS
   ============================================================ */
/* Golden "ĐIỂM NỔI BẬT" Box */
._am4g8v {
    position: relative;
    margin-bottom: 14px;
    border-radius: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #2b2005 0%, #1f1804 60%, #171203 100%);
    border: 1px solid #7c6218;
    box-shadow: 0 2px 12px rgba(250, 204, 21, 0.08);
    overflow: hidden;
}
._am4g8v-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 800;
    color: #facc15;
    letter-spacing: 0.3px;
}
._2u71ld {
    font-size: 14px;
    color: #f5e6c8;
    line-height: 1.55;
    margin: 0;
}

/* Detail Page Review Section */
._bce8yg {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
._dwctzj, ._79yg22 {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border));
}
._79yg22 {
    background: linear-gradient(to left, transparent, var(--border));
}
._4ri9ci {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    letter-spacing: 0.3px;
}
._88oq5p {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
._y7nw0p {
    width: auto;
    padding: 9px 24px;
    background: #0b63ce;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}
._y7nw0p:hover {
    background: #0952ab;
}

/* Review Item */
.rate-item._bzsbxj {
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
    margin-bottom: 14px;
}
._ctx5mq {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
._9ztdch {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
._5lnlkj {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
._85k5y0 {
    flex: 1;
    min-width: 0;
}
._9po7jt {
    display: flex;
    align-items: center;
    gap: 6px;
}
._3xoy54 {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}
._cd22n8 {
    color: #facc15;
    font-weight: 700;
    font-size: 13px;
}
._yw2srs {
    font-size: 11.5px;
    color: var(--text3);
    margin-top: 1px;
}
._8org8f {
    flex-shrink: 0;
    font-size: 13px;
    padding: 3px 9px;
    background: transparent;
    color: var(--blue);
    border: none;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
._8org8f:hover {
    text-decoration: underline;
}
._eucigb {
    font-size: 13.5px;
    color: var(--text2);
    margin-bottom: 8px;
    line-height: 1.5;
}
._rate-photos, .proof-imgs, ._84usuc {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
    flex-wrap: wrap !important;
}
._rate-photo-img, ._1b9qez {
    width: 84px !important;
    height: 84px !important;
    max-width: 84px !important;
    max-height: 84px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: transform 0.15s !important;
    flex-shrink: 0 !important;
}
._rate-photo-img:hover, ._1b9qez:hover {
    transform: scale(1.04) !important;
}
._rate-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12.5px;
    color: var(--text3);
}
._rate-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--text3);
    font-size: 12.5px;
    cursor: pointer;
}
._rate-action-btn:hover {
    color: #fff;
}
._rate-reply-btn {
    color: var(--blue);
    font-weight: 600;
    cursor: pointer;
}

/* Regional Links under Detail Page */
._6ggvqn {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
._1f9dbd {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
._79y6rw {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #0b63ce;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
}
._1o8z9c {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg3);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
._1o8z9c:hover {
    background: var(--bg2);
    color: #fff;
    border-color: var(--blue);
}

/* ============================================================
   FOOTER & REGIONAL TAG CLOUD (Matching Screenshot 4 & 5)
   ============================================================ */
._92cagg {
    max-width: 960px;
    margin: 32px auto 0;
    padding: 0 4px;
}
._ahx4dm {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
}
._b832th {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 22px;
}
._c46c6r {
    display: inline-block;
    padding: 6px 13px;
    background: var(--bg3);
    color: var(--text2);
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.15s;
}
._c46c6r:hover {
    background: var(--bg2);
    color: #fff;
    border-color: var(--blue);
}
._ed6k4r {
    display: inline-block;
    padding: 6px 14px;
    background: #1877f2;
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 16px;
    text-decoration: none;
    border: none;
    transition: all 0.15s;
}
._ed6k4r:hover {
    background: #1d4ed8;
    color: #fff;
}
._sx7hyr {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}
._8132ly {
    font-size: 13.5px;
    color: var(--text2);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.15s;
}
._8132ly:hover {
    color: #fff;
}
._80k8o0 {
    font-size: 13px;
    color: var(--text3);
    line-height: 1.6;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}
._8wu84v {
    font-weight: 800;
    color: var(--text);
    font-size: 15px;
    margin-bottom: 6px;
}
._1u4cwj {
    margin: 0 0 6px;
    font-size: 13px;
    color: var(--text2);
}
._15m7lq {
    margin: 0;
    font-size: 12.5px;
    color: var(--text3);
}
._4y6qvl {
    text-align: center;
    margin: 20px 0 10px;
}
._debtp5 {
    color: #fff;
    background: #111;
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: background 0.15s;
}
._debtp5:hover {
    background: var(--bg3);
}

/* Forum Replies & Comments List matching gaigu.vc */
._dgd9vp {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
._4mgji6 {
    padding: 14px;
    margin-bottom: 8px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
}
._5su3te {
    width: 32px;
    height: 32px;
    font-size: 13px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}
._at4ijh {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
._8g2lqo {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
._89t9gn {
    font-size: 13px;
    color: var(--text3);
}
._e0afp3 {
    font-size: 14px;
    color: var(--text2);
    white-space: pre-line;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
}
._b15p50 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}
._cnn9ne {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
._79yjdx {
    max-width: 160px;
    max-height: 160px;
    border-radius: 8px;
    cursor: pointer;
    object-fit: cover;
}
._8lrrgv {
    margin-left: 42px;
    margin-top: 8px;
    border-left: 2px solid var(--border);
    padding-left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
._1hyzh3 {
    display: flex;
    gap: 8px;
}
._3aqtjd {
    width: 26px;
    height: 26px;
    font-size: 13px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}
._9hddhm {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}
._2yim1h {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
._b7h411 {
    font-size: 12.5px;
    color: var(--text2);
    white-space: pre-line;
    word-break: break-word;
    overflow-wrap: break-word;
}
._7ncyop {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

._dgd9vp {
    font-size: 14px;
    font-weight: 600;
    color: var(--text2);
    margin: 20px 0 12px;
}

/* Forum Pagination Bar matching gaigu.vc */
._6368ko {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    max-width: 640px;
    margin: 24px auto 32px;
}
._bkl1g6 {
    padding: 7px 12px;
    border-radius: 8px;
    background: var(--bg3);
    color: var(--text3);
    font-size: 14px;
    opacity: 0.5;
    user-select: none;
}
._a7j7bp {
    padding: 7px 13px;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    user-select: none;
}
._a5wq1x {
    padding: 7px 13px;
    border-radius: 8px;
    background: var(--bg3);
    color: var(--text2);
    font-size: 14px;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.15s;
    user-select: none;
}
._a5wq1x:hover {
    background: rgba(45, 136, 255, 0.15);
    color: #fff;
    border-color: var(--blue);
}
._crlr6h {
    padding: 7px 12px;
    border-radius: 8px;
    background: var(--bg3);
    color: var(--text2);
    font-size: 14px;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.15s;
    user-select: none;
}
._crlr6h:hover {
    background: rgba(45, 136, 255, 0.15);
    color: #fff;
    border-color: var(--blue);
}

/* Exact gaigu.vc card, comment & avatar styling */
._7dda21 { padding: 16px; margin-bottom: 12px; }
._werin5 { border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 12px; }
.cmt-item-wrap:last-child ._werin5 { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
._7kevbu, ._aayjca { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
._7kevbu img, ._aayjca img, ._exqsa4 { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
._aefhjp { font-size: 13px; color: var(--text2); margin: 0 0 6px; line-height: 1.45; }
._76kkh7 { color: var(--text3); display: inline-flex; align-items: center; vertical-align: middle; }

/* Avatar rings & small user icons from gaigu.vc */
.av-ring {
    position: relative;
    display: inline-flex;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    border-radius: 20%;
    padding: 2px;
    box-sizing: border-box;
    background: linear-gradient(135deg, var(--ring1, #c8d0d8), var(--ring2, #8a99a8));
    flex-shrink: 0;
    vertical-align: middle;
}
.av-ring > img, .av-ring > span, ._cf5f4m {
    width: 100% !important;
    height: 100% !important;
    border-radius: 20%;
    display: block;
    box-sizing: border-box;
    border: 1px solid var(--bg2, #16171a);
    overflow: hidden;
    flex-shrink: 0;
}
._ev9ksk {
    --ring1: #c8d0d8;
    --ring2: #8a99a8;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex-shrink: 0;
}
._exqsa4 {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Telegram contact — fixed-size native header action */
.header-telegram-link {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #229ed9;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-decoration: none;
    transition: background-color .18s ease, transform .18s ease;
}
.header-telegram-link:hover { background: #168ac0; transform: translateY(-1px); }
.header-telegram-link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Minimal headers keep only the centered logo and Telegram contact. */
.app-header-clean .header-right-actions {
    display: flex !important;
    position: absolute;
    right: 8px;
    margin-left: 0 !important;
}
.app-header-clean .header-right-actions > :not(.header-telegram-link) { display: none !important; }

@media (max-width: 480px) {
    .header-telegram-link { width: 44px; height: 44px; flex-basis: 44px; }
    .header-right-actions { gap: 2px !important; }
    .header-right-actions .guest-login-btn span,
    .header-right-actions .user-name-txt,
    .header-right-actions .user-stars-badge { display: none; }
    .header-right-actions .guest-login-btn { width: 40px; height: 40px; padding: 0; justify-content: center; }
}




