:root {
    --bs-body-bg: var(--fg-bg);
    --bs-body-color: var(--fg-text);
    --bs-link-color: var(--fg-text);
    --bs-link-hover-color: var(--fg-accent);
    --bs-border-color: var(--fg-border);
    --bs-border-radius: 0;
    --bs-border-radius-sm: 0;
    --bs-border-radius-lg: 0;
    --bs-primary: var(--fg-accent);
    --bs-primary-rgb: 224, 169, 109;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--fg-bg);
}

body,
.fg-body {
    margin: 0;
    padding: 0;
    background: var(--fg-bg);
    color: var(--fg-text);
    font-family: var(--fg-font);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 600;
    color: var(--fg-text);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

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

a:hover {
    color: var(--fg-accent);
    text-decoration: none;
}

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

button {
    font-family: inherit;
}

.fg-text-secondary { color: var(--fg-text-secondary); }
.fg-text-muted { color: var(--fg-text-muted); }

.fg-duration,
.fg-views,
.fg-hot,
.fg-rank-num {
    font-variant-numeric: tabular-nums;
}

.only-pc { display: block; }
.only-mobile { display: none; }
@media (max-width: 991.98px) {
    .only-pc { display: none; }
    .only-mobile { display: block; }
}

.fg-nav-spacer {
    height: var(--fg-nav-h);
}

.fg-navbar {
    background: var(--fg-bg-nav);
    border-bottom: 1px solid var(--fg-border);
    min-height: var(--fg-nav-h);
    padding: 0 16px;
    backdrop-filter: none;
}

.fg-navbar .container-fluid {
    max-width: var(--fg-content-max);
    padding: 0;
    min-height: var(--fg-nav-h);
    align-items: center;
    margin: 0 auto;
}

.fg-navbar .navbar-brand {
    color: var(--fg-text);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    padding: 0;
    margin: 0 24px 0 0;
    display: flex;
    align-items: center;
    height: var(--fg-nav-h);
}

.fg-navbar .navbar-brand img {
    max-height: 28px;
    width: auto;
}

.fg-navbar .navbar-nav {
    gap: 0;
    align-items: center;
}

.fg-navbar .nav-link {
    color: var(--fg-text-secondary);
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 0;
    position: relative;
    transition: color var(--fg-transition);
}

.fg-navbar .nav-link:hover,
.fg-navbar .nav-link:focus {
    color: var(--fg-accent);
    background: transparent;
}

.fg-navbar .nav-item.dropdown .dropdown-toggle::after {
    margin-left: 6px;
    border-top-color: currentColor;
}

.fg-navbar .nav-item.dropdown {
    position: relative;
}

.fg-navbar .navbar-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    z-index: 1050;
}

.fg-dropdown-menu {
    background: var(--fg-bg-surface);
    border: 1px solid var(--fg-border);
    border-radius: 0;
    padding: 4px 0;
    min-width: 180px;
    margin-top: 0 !important;
}

.fg-dropdown-menu .dropdown-item {
    color: var(--fg-text-secondary);
    font-size: 14px;
    padding: 8px 14px;
    transition: color var(--fg-transition), background var(--fg-transition);
}

.fg-dropdown-menu .dropdown-item:hover,
.fg-dropdown-menu .dropdown-item:focus {
    color: var(--fg-accent);
    background: var(--fg-bg-card-hover);
}

.fg-nav-search {
    position: relative;
    width: 260px;
}

.fg-nav-search .form-control {
    background: var(--fg-bg-input);
    border: 1px solid var(--fg-border);
    color: var(--fg-text);
    font-size: 14px;
    height: 36px;
    padding: 0 36px 0 12px;
    border-radius: 0;
    box-shadow: none;
    transition: border-color var(--fg-transition);
}

.fg-nav-search .form-control:focus {
    background: var(--fg-bg-input);
    color: var(--fg-text);
    border-color: var(--fg-accent);
    box-shadow: none;
    outline: none;
}

.fg-nav-search .form-control::placeholder {
    color: var(--fg-text-muted);
}

.fg-search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 36px;
    width: 36px;
    background: transparent;
    border: 0;
    color: var(--fg-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--fg-transition);
}

.fg-search-btn:hover {
    color: var(--fg-accent);
}

.fg-header-ads {
    display: none;
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(46vw, 220px);
    margin: 0 8px;
    overflow: hidden;
}

.fg-txt-ads {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.fg-txt-ads::-webkit-scrollbar {
    display: none;
}

.fg-txt-ad-item {
    flex: 0 0 auto;
    min-width: 0;
}

.fg-txt-ad-item a {
    display: inline-flex;
    align-items: center;
    max-width: 132px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--fg-border);
    border-radius: 0;
    background: var(--fg-bg-card);
    color: var(--fg-accent);
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
}

.fg-txt-ad-item a:hover,
.fg-txt-ad-item a:focus {
    color: var(--fg-text);
    border-color: var(--fg-accent);
    background: var(--fg-bg-card-hover);
}

.fg-txt-ad-item a span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .fg-navbar .navbar-brand {
        flex: 0 1 auto;
        max-width: 36vw;
        margin-right: 0;
        overflow: hidden;
    }

    .fg-header-ads {
        display: block;
    }
}

.fg-nav-search .search-history-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    min-width: 260px;
    display: none;
    overflow: hidden;
    background: var(--fg-bg-surface);
    border: 1px solid var(--fg-border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
    z-index: 2000;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity var(--fg-transition), transform var(--fg-transition);
}

.fg-nav-search .search-history-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.fg-nav-search .search-history-header {
    padding: 14px 16px 8px;
}

.fg-nav-search .search-history-title {
    margin: 0;
    color: var(--fg-text);
    font-size: 14px;
    font-weight: 600;
}

.fg-nav-search .search-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    padding: 0 16px;
    color: var(--fg-text-secondary);
    cursor: pointer;
}

.fg-nav-search .search-history-item:hover {
    background: var(--fg-bg-card-hover);
    color: var(--fg-text);
}

.fg-nav-search .search-history-text {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.fg-nav-search .search-history-delete {
    flex: 0 0 auto;
    padding-left: 12px;
    color: var(--fg-text-muted);
    font-size: 18px;
    line-height: 1;
}

.fg-nav-search .search-history-delete:hover {
    color: var(--fg-accent);
}

.fg-nav-search .search-history-footer {
    padding: 10px 16px 14px;
    border-top: 1px solid var(--fg-border);
}

.fg-nav-search .search-history-clear-all {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--fg-accent);
    font-size: 13px;
    text-align: center;
}

.fg-nav-search .search-history-clear-all:hover {
    color: var(--fg-accent-hover);
}

.navbar-toggler {
    padding: 6px 8px;
    border: 1px solid var(--fg-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23A9A9B0' stroke-width='2' stroke-linecap='round' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E");
    width: 22px;
    height: 22px;
}

.fg-offcanvas {
    width: min(88vw, 360px);
    background: #08090b;
    border-right: 1px solid #2d3237;
    color: var(--fg-text);
}

.fg-offcanvas .offcanvas-header {
    min-height: 66px;
    border-bottom: 1px solid #252a2f;
    padding: 16px 18px;
}

.fg-offcanvas .offcanvas-title {
    color: var(--fg-text);
    font-size: 16px;
    font-weight: 600;
}

.fg-offcanvas-logo {
    width: auto;
    max-height: 28px;
}

.fg-offcanvas .btn-close {
    filter: invert(1) grayscale(1) opacity(0.7);
    box-shadow: none;
    border-radius: 0;
}

.fg-offcanvas .offcanvas-body {
    padding: 16px;
}

.fg-drawer-panel {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 16px;
}

.fg-drawer-search-link {
    display: flex;
    min-height: 70px;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px;
    border: 1px solid #343b43;
    background: #111317;
}

.fg-drawer-search-link span,
.fg-drawer-link em {
    color: var(--fg-text-muted);
    font-size: 11px;
    font-style: normal;
}

.fg-drawer-search-link strong {
    margin-top: 4px;
    color: var(--fg-text);
    font-size: 15px;
    font-weight: 600;
}

.fg-drawer-nav {
    display: grid;
    gap: 8px;
}

.fg-drawer-item {
    min-width: 0;
}

.fg-offcanvas .fg-drawer-link {
    min-height: 56px;
    padding: 0 14px;
    border: 1px solid #252a2f;
    background: #101216;
    color: var(--fg-text-secondary);
    font-size: 14px;
    align-items: center;
    justify-content: space-between;
}

.fg-offcanvas .fg-drawer-link:hover,
.fg-offcanvas .fg-drawer-link:focus {
    border-color: var(--fg-accent);
    background: #16191e;
    color: var(--fg-text);
}

.fg-drawer-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fg-drawer-chevron {
    margin-left: 8px;
}

.fg-drawer-subnav {
    display: grid;
    gap: 6px;
    padding: 8px 0 2px 14px;
}

.fg-offcanvas .fg-drawer-sub-link {
    min-height: 38px;
    padding: 0 12px;
    border-left: 1px solid #343b43;
    color: var(--fg-text-muted);
    font-size: 13px;
}

.fg-offcanvas .fg-drawer-sub-link:hover,
.fg-offcanvas .fg-drawer-sub-link:focus {
    color: var(--fg-accent);
}

.fg-drawer-tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: auto;
}

.fg-drawer-tools a {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid #2d3237;
    background: #111317;
    color: var(--fg-text-secondary);
    font-size: 12px;
    text-align: center;
}

.fg-drawer-tools a:hover,
.fg-drawer-tools a:focus {
    border-color: var(--fg-accent);
    color: var(--fg-accent);
}

.fg-main {
    max-width: var(--fg-content-max);
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.fg-home-title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    margin: 8px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--fg-border);
}

.fg-main > .fg-home-list {
    max-width: none;
    padding: 0;
}

.fg-category-list-page {
    padding: 16px 16px 48px;
}

@media (max-width: 767.98px) {
    .fg-home-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .fg-category-list-page {
        padding-left: 8px;
        padding-right: 8px;
    }
}

.fg-section {
    margin-bottom: var(--fg-section-gap);
    padding-top: 8px;
    border-top: 1px solid var(--fg-border);
}

.fg-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.fg-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-left: 12px;
    position: relative;
    min-height: 24px;
}

.fg-section-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 3px;
    background: var(--fg-accent);
}

.fg-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--fg-text);
    margin: 0;
    letter-spacing: -0.01em;
}

.fg-more-btn {
    color: var(--fg-text-secondary);
    font-size: 13px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    transition: color var(--fg-transition);
}

.fg-more-btn:hover {
    color: var(--fg-accent);
}

.fg-more-btn::after {
    content: " →";
}

.fg-grid {
    display: grid;
    grid-template-columns: repeat(var(--fg-grid-cols-desktop), minmax(0, 1fr));
    gap: var(--fg-gap);
}

.fg-home-list .fg-section .fg-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fg-category-list-page .fg-grid {
    display: flex;
    flex-wrap: wrap;
}

.fg-category-list-page .fg-card {
    flex: 1 1 calc((100% - 60px) / 6);
    min-width: 0;
}

@media (max-width: 1199.98px) {
    .fg-grid {
        grid-template-columns: repeat(var(--fg-grid-cols-tablet), minmax(0, 1fr));
    }

    .fg-home-list .fg-section .fg-grid {
        grid-template-columns: repeat(var(--fg-grid-cols-tablet), minmax(0, 1fr));
    }

    .fg-category-list-page .fg-card {
        flex-basis: calc((100% - 24px) / 3);
    }
}

@media (max-width: 767.98px) {
    .fg-grid {
        grid-template-columns: repeat(var(--fg-grid-cols-mobile), minmax(0, 1fr));
        gap: 10px;
    }

    .fg-home-list .fg-section .fg-grid {
        grid-template-columns: repeat(var(--fg-grid-cols-mobile), minmax(0, 1fr));
    }

    .fg-category-list-page .fg-card {
        flex-basis: calc((100% - 10px) / 2);
    }
}

.fg-card {
    background: var(--fg-bg-card);
    border: 1px solid var(--fg-border);
    border-radius: 0;
    overflow: hidden;
    position: relative;
    transition: border-color var(--fg-transition);
}

.fg-card:hover {
    border-color: var(--fg-border-strong);
}

.fg-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: transparent;
    transition: background var(--fg-transition);
    pointer-events: none;
}

.fg-card:hover::after {
    background: var(--fg-accent);
}

.fg-card a {
    display: block;
    color: inherit;
}

.fg-card-cover {
    position: relative;
    overflow: hidden;
    background: var(--fg-bg-surface);
    border-bottom: 1px solid var(--fg-border);
}

.fg-card-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.fg-duration {
    position: absolute;
    right: 6px;
    bottom: 6px;
    background: rgba(11, 11, 13, 0.85);
    color: var(--fg-text);
    font-size: 11px;
    padding: 2px 6px;
    border: 1px solid var(--fg-border);
    font-variant-numeric: tabular-nums;
}

.fg-card-body {
    padding: 10px 12px 12px;
}

.fg-card-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--fg-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 8px;
    min-height: 2.8em;
}

.fg-card:hover .fg-card-title {
    color: var(--fg-accent);
}

.fg-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--fg-text-muted);
    font-size: 12px;
}

.fg-views {
    color: var(--fg-text-muted);
    white-space: nowrap;
}

.fg-views::before {
    content: "▶ ";
    color: var(--fg-accent);
}

.fg-card-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    overflow: hidden;
    max-height: 1.4em;
    justify-content: flex-end;
    flex: 1;
}

.fg-tag {
    font-size: 11px;
    color: var(--fg-text-secondary);
    background: transparent;
    border: 1px solid var(--fg-border);
    padding: 1px 6px;
    border-radius: 0;
    cursor: pointer;
    transition: color var(--fg-transition), border-color var(--fg-transition);
    display: inline-block;
    line-height: 1.4;
}

.fg-tag:hover {
    color: var(--fg-accent);
    border-color: var(--fg-accent);
}

.fg-carousel {
    margin-bottom: 24px;
    border: 1px solid var(--fg-border);
    aspect-ratio: 1920 / 700;
    overflow: hidden;
    position: relative;
    background: var(--fg-bg-surface);
}

.fg-carousel .carousel {
    height: 100%;
}

.fg-carousel .carousel-inner {
    height: 100%;
}

.fg-carousel .carousel-item {
    height: 100%;
    overflow: hidden;
    background: var(--fg-bg-surface);
    position: relative;
    transition: none;
}

.fg-carousel .carousel-item img {
    width: 100%;
    height: 100%;
}

.fg-carousel .fg-carousel-ambient {
    position: absolute;
    inset: 0;
    display: flex;
    overflow: hidden;
    filter: blur(8px) saturate(1.08);
    transform: scale(1.025);
    opacity: 0.82;
    z-index: 0;
    pointer-events: none;
    background: var(--fg-bg-surface);
}

.fg-carousel .fg-carousel-ambient::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.04) 28%, rgba(0, 0, 0, 0.04) 72%, rgba(0, 0, 0, 0.12));
}

.fg-carousel .fg-carousel-ambient-img {
    flex: 1 1 0;
    min-width: 0;
    width: 33.333%;
    height: 100%;
    object-fit: fill;
    transform: scale(1.02);
}

.fg-carousel .fg-carousel-ambient-img--current {
    flex-basis: 42%;
    opacity: 0.96;
}

.fg-carousel .fg-carousel-img {
    position: relative;
    z-index: 1;
    object-fit: contain;
    background: transparent;
}

.fg-carousel .carousel-indicators {
    margin-bottom: 10px;
}

.fg-carousel .carousel-indicators [data-bs-target] {
    width: 24px;
    height: 3px;
    border-radius: 0;
    background: rgba(237, 237, 240, 0.4);
    border: 0;
    opacity: 1;
    margin: 0 3px;
}

.fg-carousel .carousel-indicators .active {
    background: var(--fg-accent);
}

.fg-carousel .carousel-control-prev,
.fg-carousel .carousel-control-next {
    width: 48px;
    opacity: 0.7;
}

.fg-carousel .carousel-control-prev:hover,
.fg-carousel .carousel-control-next:hover {
    opacity: 1;
}

@media (max-width: 1367px) {
    .fg-carousel {
        aspect-ratio: 375 / 210;
        margin-bottom: 18px;
    }
}

.fg-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--fg-text-muted);
    padding: 0 0 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--fg-border);
    flex-wrap: wrap;
}

.fg-breadcrumb a {
    color: var(--fg-text-secondary);
}

.fg-breadcrumb a:hover {
    color: var(--fg-accent);
}

.fg-breadcrumb-sep {
    color: var(--fg-text-muted);
    margin: 0 2px;
}

.fg-breadcrumb-current {
    color: var(--fg-text);
}

.fg-back-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--fg-border);
    background: transparent;
    color: var(--fg-text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-right: 6px;
    transition: color var(--fg-transition), border-color var(--fg-transition);
}

.fg-back-btn:hover {
    color: var(--fg-accent);
    border-color: var(--fg-accent);
}

.fg-detail-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--fg-sidebar-w);
    gap: 24px;
}

.fg-detail-main {
    min-width: 0;
}

@media (max-width: 991.98px) {
    .fg-detail-page {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.fg-player-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid var(--fg-border);
    overflow: hidden;
}

#vd-box {
    width: 100%;
    height: 100%;
}

.fg-video-pause-box {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fg-preview-cta {
    display: block;
    margin-top: 12px;
    padding: 12px 16px;
    background: var(--fg-accent);
    color: var(--fg-accent-ink);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border: 0;
    border-radius: 0;
    transition: background var(--fg-transition);
}

.fg-preview-cta:hover {
    background: var(--fg-accent-hover);
    color: var(--fg-accent-ink);
}

.fg-video-info {
    padding: 20px 0;
    border-bottom: 1px solid var(--fg-border);
}

.fg-video-title {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.fg-video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    color: var(--fg-text-muted);
    font-size: 13px;
    margin-bottom: 14px;
    font-variant-numeric: tabular-nums;
}

.fg-video-meta span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.fg-video-meta span a {
    color: var(--fg-text-secondary);
}

.fg-video-meta span a:hover {
    color: var(--fg-accent);
}

.fg-video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.fg-video-tags .fg-tag {
    font-size: 12px;
    padding: 3px 8px;
}

.fg-video-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    align-items: center;
}

.fg-phone-play {
    position: relative;
    background: transparent;
    color: var(--fg-text);
    border: 1px solid var(--fg-border);
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 0;
    cursor: pointer;
    transition: color var(--fg-transition), border-color var(--fg-transition);
}

.fg-phone-play:hover {
    color: var(--fg-accent);
    border-color: var(--fg-accent);
}

.fg-phone-popup {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    z-index: 20;
    background: var(--fg-bg-surface);
    border: 1px solid var(--fg-border);
    padding: 10px;
    display: none;
    min-width: 160px;
    text-align: center;
}

.fg-phone-play:hover .fg-phone-popup,
.fg-phone-play:focus .fg-phone-popup,
.fg-phone-play:focus-within .fg-phone-popup {
    display: block;
}

.fg-phone-qr {
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.fg-video-actions .btn {
    background: transparent;
    color: var(--fg-text);
    border: 1px solid var(--fg-border);
    border-radius: 0;
    font-size: 13px;
    padding: 8px 14px;
    transition: color var(--fg-transition), border-color var(--fg-transition);
}

.fg-video-actions .btn:hover,
.fg-video-actions .btn:focus {
    color: var(--fg-accent);
    border-color: var(--fg-accent);
    background: transparent;
    box-shadow: none;
}

.fg-video-desc {
    color: var(--fg-text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--fg-border);
    white-space: pre-wrap;
}

.fg-sidebar {
    border-left: 1px solid var(--fg-border);
    padding-left: 24px;
}

@media (max-width: 991.98px) {
    .fg-sidebar {
        border-left: 0;
        border-top: 1px solid var(--fg-border);
        padding-left: 0;
        padding-top: 20px;
        margin-top: 20px;
    }
}

.fg-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    padding: 0 0 10px 12px;
    margin: 0 0 14px;
    border-bottom: 1px solid var(--fg-border);
    position: relative;
}

.fg-sidebar-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 12px;
    width: 3px;
    background: var(--fg-accent);
}

.fg-sidebar-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--fg-border);
    color: var(--fg-text);
    transition: color var(--fg-transition);
}

.fg-sidebar-item:last-of-type {
    border-bottom: 0;
}

.fg-sidebar-item:hover {
    color: var(--fg-accent);
}

.fg-sidebar-cover {
    position: relative;
    overflow: hidden;
    background: var(--fg-bg-surface);
    border: 1px solid var(--fg-border);
}

.fg-sidebar-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.fg-sidebar-item h4 {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fg-related-mobile {
    display: none;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--fg-border);
}

@media (max-width: 991.98px) {
    .fg-related-mobile {
        display: block;
    }
    .fg-sidebar {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .fg-detail-main-page {
        padding: 16px 12px 36px;
    }

    .fg-breadcrumb {
        gap: 4px;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .fg-video-info {
        padding: 16px 0;
    }

    .fg-video-title {
        font-size: 20px;
        line-height: 1.35;
    }

    .fg-video-meta {
        gap: 6px 12px;
        font-size: 12px;
    }

    .fg-video-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .fg-phone-play,
    .fg-video-actions .btn {
        min-height: 44px;
        width: 100%;
        padding: 0 10px;
    }

    .fg-phone-popup {
        left: 0;
        right: auto;
    }

    .fg-video-desc {
        font-size: 13px;
    }
}

.fg-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 32px 0 16px;
    flex-wrap: wrap;
    font-variant-numeric: tabular-nums;
}

.fg-page-item {
    display: inline-flex;
}

.fg-page-link {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fg-border);
    color: var(--fg-text-secondary);
    font-size: 13px;
    border-radius: 0;
    transition: color var(--fg-transition), border-color var(--fg-transition), background var(--fg-transition);
}

a.fg-page-link:hover {
    color: var(--fg-accent);
    border-color: var(--fg-accent);
}

.fg-page-item.active .fg-page-link {
    background: var(--fg-accent);
    color: var(--fg-accent-ink);
    border-color: var(--fg-accent);
    font-weight: 600;
}

.fg-page-ellipsis {
    border-color: transparent;
    cursor: default;
}

.fg-rank-section {
    margin-top: 24px;
}

.fg-rank-title {
    font-size: 20px;
    font-weight: 700;
    padding: 0 0 10px 12px;
    margin: 0 0 12px;
    border-bottom: 1px solid var(--fg-border);
    position: relative;
}

.fg-rank-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 12px;
    width: 3px;
    background: var(--fg-accent);
}

.fg-rank-item {
    display: grid;
    grid-template-columns: 40px 140px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--fg-border);
    color: var(--fg-text);
    transition: color var(--fg-transition);
}

.fg-rank-item:hover {
    color: var(--fg-accent);
}

.fg-rank-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--fg-text-muted);
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.fg-rank-num.top0,
.fg-rank-num.top1,
.fg-rank-num.top2 {
    color: var(--fg-accent);
}

.fg-rank-cover {
    position: relative;
    overflow: hidden;
    background: var(--fg-bg-surface);
    border: 1px solid var(--fg-border);
}

.fg-rank-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.fg-rank-info h3 {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 6px;
    color: inherit;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fg-rank-info .fg-card-tags {
    justify-content: flex-start;
}

.fg-hot {
    font-size: 12px;
    color: var(--fg-text-muted);
    font-variant-numeric: tabular-nums;
}

.fg-search-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 16px;
    border-bottom: 1px solid var(--fg-border);
    margin-bottom: 16px;
}

.fg-search-input {
    flex: 1;
    background: var(--fg-bg-input);
    border: 1px solid var(--fg-border);
    color: var(--fg-text);
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
    border-radius: 0;
}

.fg-search-input:focus {
    outline: none;
    border-color: var(--fg-accent);
}

.fg-search-action-btn {
    background: var(--fg-accent);
    color: var(--fg-accent-ink);
    border: 0;
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0;
    transition: background var(--fg-transition);
}

.fg-search-action-btn:hover {
    background: var(--fg-accent-hover);
}

.fg-history-tag {
    display: inline-block;
    font-size: 13px;
    color: var(--fg-text-secondary);
    border: 1px solid var(--fg-border);
    padding: 4px 10px;
    margin: 0 6px 6px 0;
    transition: color var(--fg-transition), border-color var(--fg-transition);
}

.fg-history-tag:hover {
    color: var(--fg-accent);
    border-color: var(--fg-accent);
}

.fg-404-wrap {
    max-width: 560px;
    margin: 80px auto;
    padding: 0 16px;
    text-align: center;
}

.fg-404-card {
    border: 1px solid var(--fg-border);
    padding: 48px 28px;
    background: var(--fg-bg-surface);
}

.fg-404-code {
    font-size: clamp(64px, 12vw, 120px);
    font-weight: 800;
    color: var(--fg-accent);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.fg-404-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
}

.fg-404-desc {
    color: var(--fg-text-secondary);
    font-size: 14px;
    margin: 0 0 24px;
    line-height: 1.6;
}

.fg-404-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.fg-404-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--fg-accent);
    color: var(--fg-accent-ink);
    font-weight: 600;
    font-size: 14px;
    border: 0;
    border-radius: 0;
    transition: background var(--fg-transition);
}

.fg-404-btn:hover {
    background: var(--fg-accent-hover);
    color: var(--fg-accent-ink);
}

.fg-404-search {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 360px;
}

.fg-404-search input {
    flex: 1;
    background: var(--fg-bg-input);
    border: 1px solid var(--fg-border);
    color: var(--fg-text);
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
    border-radius: 0;
}

.fg-404-search input:focus {
    outline: none;
    border-color: var(--fg-accent);
}

.fg-404-search button {
    background: transparent;
    border: 1px solid var(--fg-border);
    border-left: 0;
    color: var(--fg-text);
    padding: 0 16px;
    font-size: 13px;
    cursor: pointer;
    transition: color var(--fg-transition), border-color var(--fg-transition);
}

.fg-404-search button:hover {
    color: var(--fg-accent);
    border-color: var(--fg-accent);
}

.fg-static-page {
    max-width: 860px;
    margin: 0 auto;
}

.fg-static-card {
    background: var(--fg-bg-surface);
    border: 1px solid var(--fg-border);
    padding: 32px 28px;
}

.fg-static-header {
    border-bottom: 1px solid var(--fg-border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.fg-static-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.fg-static-body {
    color: var(--fg-text-secondary);
    font-size: 14px;
    line-height: 1.75;
}

.fg-static-body p {
    margin: 0 0 14px;
}

.fg-static-section {
    margin-bottom: 24px;
}

.fg-static-section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--fg-text);
    margin: 0 0 10px;
    padding-left: 10px;
    position: relative;
}

.fg-static-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: var(--fg-accent);
}

.fg-static-section-content {
    color: var(--fg-text-secondary);
    font-size: 14px;
    line-height: 1.75;
}

.fg-static-faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fg-static-faq-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--fg-border);
    color: var(--fg-text);
    font-size: 15px;
    font-weight: 500;
}

.fg-static-faq-item:last-child {
    border-bottom: 0;
}

.fg-static-faq-answer {
    margin-top: 8px;
    color: var(--fg-text-secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}

.fg-static-link-btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 4px 8px 4px 0;
    background: transparent;
    color: var(--fg-text);
    border: 1px solid var(--fg-border);
    font-size: 14px;
    transition: color var(--fg-transition), border-color var(--fg-transition);
}

.fg-static-link-btn:hover {
    color: var(--fg-accent);
    border-color: var(--fg-accent);
}

.fg-age-modal .modal-content {
    background: var(--fg-bg-surface);
    border: 1px solid var(--fg-border);
    border-radius: 0;
    color: var(--fg-text);
}

.fg-age-modal .modal-header {
    border-bottom: 1px solid var(--fg-border);
    padding: 16px 20px;
}

.fg-age-modal .modal-title {
    font-weight: 700;
    font-size: 16px;
}

.fg-age-modal .modal-body {
    padding: 20px;
    font-size: 14px;
    line-height: 1.7;
}

.fg-age-enter,
.fg-age-leave {
    width: 100%;
    max-width: 280px;
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    transition: background var(--fg-transition), color var(--fg-transition), border-color var(--fg-transition);
}

.fg-age-enter {
    background: var(--fg-accent);
    color: var(--fg-accent-ink);
    border: 1px solid var(--fg-accent);
}

.fg-age-enter:hover {
    background: var(--fg-accent-hover);
    border-color: var(--fg-accent-hover);
}

.fg-age-leave {
    background: transparent;
    color: var(--fg-text-secondary);
    border: 1px solid var(--fg-border);
}

.fg-age-leave:hover {
    color: var(--fg-text);
    border-color: var(--fg-border-strong);
}

.fg-share-modal .modal-content {
    background: var(--fg-bg-surface);
    border: 1px solid var(--fg-border);
    border-radius: 0;
    color: var(--fg-text);
}

.fg-share-modal .modal-header {
    border-bottom: 1px solid var(--fg-border);
    padding: 14px 20px;
}

.fg-share-modal .modal-title {
    font-size: 15px;
    font-weight: 700;
}

.fg-share-modal .btn-close {
    filter: invert(1) grayscale(1) opacity(0.7);
    box-shadow: none;
    border-radius: 0;
}

.fg-share-modal .modal-body {
    padding: 20px;
    font-size: 14px;
}

.fg-share-url {
    display: block;
    background: var(--fg-bg-input);
    border: 1px solid var(--fg-border);
    padding: 8px 12px;
    color: var(--fg-text);
    word-break: break-all;
    font-family: var(--fg-font-mono);
    font-size: 12px;
    margin: 10px 0 6px;
}

.fg-copy-btn {
    background: var(--fg-accent);
    color: var(--fg-accent-ink);
    border: 0;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0;
    transition: background var(--fg-transition);
}

.fg-copy-btn:hover {
    background: var(--fg-accent-hover);
}

.fg-float-banner {
    position: fixed;
    right: 16px;
    bottom: 88px;
    z-index: 1000;
    max-width: 180px;
    border: 1px solid var(--fg-border);
    background: var(--fg-bg-surface);
}

.fg-float-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.fg-float-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 22px;
    height: 22px;
    background: var(--fg-bg);
    border: 1px solid var(--fg-border);
    color: var(--fg-text-secondary);
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    transition: color var(--fg-transition), border-color var(--fg-transition);
}

.fg-float-close:hover {
    color: var(--fg-accent);
    border-color: var(--fg-accent);
}

.fg-scroll-top {
    position: fixed;
    right: 16px;
    bottom: 24px;
    width: 40px;
    height: 40px;
    background: var(--fg-bg-surface);
    border: 1px solid var(--fg-border);
    color: var(--fg-text-secondary);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: color var(--fg-transition), border-color var(--fg-transition);
}

.fg-scroll-top.show {
    display: flex;
}

.fg-scroll-top:hover {
    color: var(--fg-accent);
    border-color: var(--fg-accent);
}

.fg-scroll-top svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fg-text-adv-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 16px 0;
}

@media (max-width: 767.98px) {
    .fg-text-adv-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.fg-text-adv-item {
    display: block;
    padding: 10px 12px;
    background: var(--fg-bg-surface);
    border: 1px solid var(--fg-border);
    color: var(--fg-text-secondary);
    font-size: 13px;
    text-align: center;
    border-radius: 0;
    transition: color var(--fg-transition), border-color var(--fg-transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fg-text-adv-item:hover {
    color: var(--fg-accent);
    border-color: var(--fg-accent);
}

.fg-scroll-container {
    position: relative;
    overflow: hidden;
    margin: 12px 0;
}

.fg-scroll-wrapper {
    --fg-scroll-item: 78px;
    --fg-scroll-gap: 6px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--fg-scroll-item);
    gap: var(--fg-scroll-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: var(--fg-border) transparent;
}

.fg-scroll-wrapper--marquee {
    overflow: hidden;
    scroll-snap-type: none;
    padding-bottom: 0;
    scrollbar-width: none;
    cursor: grab;
    touch-action: pan-y;
}

.fg-scroll-wrapper--dragging {
    cursor: grabbing;
}

.fg-scroll-wrapper::-webkit-scrollbar {
    height: 4px;
}

.fg-scroll-wrapper--marquee::-webkit-scrollbar {
    display: none;
}

.fg-scroll-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.fg-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--fg-border);
}

.fg-scroll-wrapper a {
    scroll-snap-align: start;
    display: block;
    width: var(--fg-scroll-item);
    flex: 0 0 var(--fg-scroll-item);
    min-width: 0;
    text-align: center;
    color: var(--fg-text-secondary);
    transition: color var(--fg-transition);
}

.fg-scroll-wrapper a:hover {
    color: var(--fg-accent);
}

.fg-scroll-wrapper img {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    display: block;
    border: 1px solid var(--fg-border);
}

.fg-scroll-track {
    display: flex;
    width: max-content;
    animation: fg-app-ad-scroll-left-step 64s linear infinite;
    will-change: transform;
}

.fg-scroll-wrapper--marquee:hover .fg-scroll-track,
.fg-scroll-wrapper--marquee:focus-within .fg-scroll-track {
    animation-play-state: paused;
}

.fg-scroll-track-group {
    display: flex;
    flex: 0 0 auto;
    gap: var(--fg-scroll-gap);
    padding-right: var(--fg-scroll-gap);
}

@keyframes fg-app-ad-scroll-left-step {
    0% {
        transform: translate3d(0, 0, 0);
    }
    3.125% {
        transform: translate3d(-3.125%, 0, 0);
    }
    6.25% {
        transform: translate3d(-3.125%, 0, 0);
    }
    9.375% {
        transform: translate3d(-6.25%, 0, 0);
    }
    12.5% {
        transform: translate3d(-6.25%, 0, 0);
    }
    15.625% {
        transform: translate3d(-9.375%, 0, 0);
    }
    18.75% {
        transform: translate3d(-9.375%, 0, 0);
    }
    21.875% {
        transform: translate3d(-12.5%, 0, 0);
    }
    25% {
        transform: translate3d(-12.5%, 0, 0);
    }
    28.125% {
        transform: translate3d(-15.625%, 0, 0);
    }
    31.25% {
        transform: translate3d(-15.625%, 0, 0);
    }
    34.375% {
        transform: translate3d(-18.75%, 0, 0);
    }
    37.5% {
        transform: translate3d(-18.75%, 0, 0);
    }
    40.625% {
        transform: translate3d(-21.875%, 0, 0);
    }
    43.75% {
        transform: translate3d(-21.875%, 0, 0);
    }
    46.875% {
        transform: translate3d(-25%, 0, 0);
    }
    50% {
        transform: translate3d(-25%, 0, 0);
    }
    53.125% {
        transform: translate3d(-28.125%, 0, 0);
    }
    56.25% {
        transform: translate3d(-28.125%, 0, 0);
    }
    59.375% {
        transform: translate3d(-31.25%, 0, 0);
    }
    62.5% {
        transform: translate3d(-31.25%, 0, 0);
    }
    65.625% {
        transform: translate3d(-34.375%, 0, 0);
    }
    68.75% {
        transform: translate3d(-34.375%, 0, 0);
    }
    71.875% {
        transform: translate3d(-37.5%, 0, 0);
    }
    75% {
        transform: translate3d(-37.5%, 0, 0);
    }
    78.125% {
        transform: translate3d(-40.625%, 0, 0);
    }
    81.25% {
        transform: translate3d(-40.625%, 0, 0);
    }
    84.375% {
        transform: translate3d(-43.75%, 0, 0);
    }
    87.5% {
        transform: translate3d(-43.75%, 0, 0);
    }
    90.625% {
        transform: translate3d(-46.875%, 0, 0);
    }
    93.75% {
        transform: translate3d(-46.875%, 0, 0);
    }
    96.875% {
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fg-scroll-track {
        animation: none;
    }

    .fg-scroll-wrapper--marquee {
        overflow-x: auto;
        scrollbar-width: thin;
    }
}

.fg-app-title {
    font-size: 11px;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fg-card--ad {
    border-radius: 0;
    grid-column: auto / span 3;
}

.fg-category-list-page .fg-card--ad {
    flex: 0 0 calc(50% - var(--fg-gap) / 2);
    max-width: calc(50% - var(--fg-gap) / 2);
    align-self: flex-start;
}

.fg-card--ad .fg-card-cover {
    width: 100%;
    height: var(--ad-slot-strip-li-h, 6.875rem);
    min-height: var(--ad-slot-strip-li-h, 6.875rem);
    overflow: visible;
    border-radius: 0;
}

.fg-card--ad .fg-card-cover img {
    height: 100%;
    object-fit: fill;
    border-radius: 0;
}

@media (max-width: 1199.98px) {
    .fg-card--ad {
        grid-column: 1 / -1;
    }

    .fg-category-list-page .fg-card--ad {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .fg-card--ad .fg-card-cover {
        height: var(--ad-slot-strip-li-h-sm, 2.8125rem);
        min-height: var(--ad-slot-strip-li-h-sm, 2.8125rem);
    }
}

.fg-footer {
    background: #08090b;
    color: var(--fg-text-secondary);
    border-top: 1px solid #2d3237;
    padding: 48px 0 28px;
    margin-top: 48px;
}

.fg-footer-inner {
    max-width: var(--fg-content-max);
    margin: 0 auto;
    padding: 0 16px;
}

.fg-footer-panel {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.6fr);
    gap: 28px;
    padding: 28px;
    border: 1px solid #2d3237;
    border-top: 4px solid var(--fg-accent);
    background: #0e1013;
}

.fg-footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 1023.98px) {
    .fg-footer-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .fg-footer-panel,
    .fg-footer-columns {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.fg-footer-brand .fg-footer-logo {
    margin-bottom: 0;
    color: var(--fg-text);
    font-size: 22px;
    font-weight: 700;
}

.fg-footer-brand .fg-footer-logo img {
    width: auto;
    max-height: 34px;
}

.fg-footer-brand-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.fg-footer-home-link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid var(--fg-accent);
    background: var(--fg-accent);
    color: var(--fg-accent-ink);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.fg-footer-desc {
    max-width: 420px;
    color: var(--fg-text-muted);
    font-size: 13px;
    line-height: 1.8;
}

.fg-footer-desc p {
    margin: 0 0 6px;
}

.fg-footer-desc a {
    color: var(--fg-text-secondary);
}

.fg-footer-desc a:hover {
    color: var(--fg-accent);
}

.fg-footer-address-list {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.fg-footer-address-card {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #2d3237;
    background: #111317;
}

.fg-footer-address-card span {
    color: var(--fg-text-muted);
    font-size: 11px;
}

.fg-footer-address-card strong {
    overflow: hidden;
    color: var(--fg-text);
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fg-footer-col {
    padding: 18px;
    border: 1px solid #252a2f;
    background: #111317;
}

.fg-footer-col h4 {
    margin: 0 0 14px;
    color: var(--fg-text);
    font-size: 14px;
    font-weight: 700;
}

.fg-footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.fg-footer-col li {
    min-width: 0;
}

.fg-footer-link-card {
    display: flex;
    min-height: 38px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid #252a2f;
    background: #171a1f;
    color: var(--fg-text-secondary);
    font-size: 13px;
    line-height: 1.25;
    transition: color var(--fg-transition), border-color var(--fg-transition), background var(--fg-transition);
}

.fg-footer-link-card span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fg-footer-link-card:hover {
    border-color: var(--fg-accent);
    background: #1a1e23;
    color: var(--fg-accent);
}

.fg-footer-bottom {
    display: grid;
    gap: 16px;
    padding-top: 18px;
}

.fg-friend-links {
    padding: 0;
}

.fg-friend-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fg-friend-links-grid a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid #252a2f;
    background: #0e1013;
    color: var(--fg-text-muted);
    font-size: 12px;
    transition: color var(--fg-transition), border-color var(--fg-transition);
}

.fg-friend-links-grid a:hover {
    border-color: var(--fg-accent);
    color: var(--fg-accent);
}

.fg-copyright {
    color: var(--fg-text-muted);
    font-size: 13px;
    text-align: left;
}

.fg-copyright p {
    margin: 0;
}

@media (max-width: 767.98px) {
    .fg-footer {
        padding: 28px 0 20px;
        margin-top: 32px;
    }

    .fg-footer-inner {
        padding: 0 10px;
    }

    .fg-footer-panel {
        padding: 16px;
    }

    .fg-footer-brand-head {
        align-items: flex-start;
    }

    .fg-footer-brand .fg-footer-logo {
        font-size: 18px;
    }

    .fg-footer-home-link {
        min-height: 32px;
        padding: 0 12px;
        font-size: 12px;
    }

    .fg-footer-desc {
        font-size: 12px;
        line-height: 1.7;
    }

    .fg-footer-address-card {
        padding: 11px 12px;
    }

    .fg-footer-col {
        padding: 14px;
    }

    .fg-footer-col ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .fg-footer-link-card {
        min-height: 42px;
        font-size: 12px;
    }

    .fg-friend-links-grid a,
    .fg-copyright {
        font-size: 12px;
    }
}

@media (max-width: 359.98px) {
    .fg-footer-col ul {
        grid-template-columns: 1fr;
    }
}

.fg-top-banners {
    margin: 12px 0;
}

.fg-top-banners ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fg-list-banners {
    margin: 12px 0;
}

.btn {
    border-radius: 0;
    transition: color var(--fg-transition), background var(--fg-transition), border-color var(--fg-transition);
}

.btn:focus,
.btn:active {
    box-shadow: none !important;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:active {
    background: var(--fg-accent);
    border-color: var(--fg-accent);
    color: var(--fg-accent-ink);
}

.btn-primary:hover {
    background: var(--fg-accent-hover);
    border-color: var(--fg-accent-hover);
    color: var(--fg-accent-ink);
}

.btn-outline-light {
    color: var(--fg-text);
    border-color: var(--fg-border);
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
    background: transparent;
    color: var(--fg-accent);
    border-color: var(--fg-accent);
}

.form-control:focus {
    box-shadow: none;
}

.modal-backdrop.show {
    opacity: 0.75;
}

.offcanvas-backdrop.show {
    opacity: 0.6;
}

::selection {
    background: var(--fg-accent);
    color: var(--fg-accent-ink);
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: var(--fg-bg);
}

body::-webkit-scrollbar-thumb {
    background: var(--fg-border-strong);
}

body::-webkit-scrollbar-thumb:hover {
    background: var(--fg-accent);
}
