@import url("/common/css/ad-slot-layout.css");

:root {
    --fg2-bg: #050506;
    --fg2-surface: #11120f;
    --fg2-surface-2: #191916;
    --fg2-line: rgba(246, 241, 222, 0.12);
    --fg2-text: #f4f0df;
    --fg2-muted: rgba(244, 240, 223, 0.62);
    --fg2-soft: rgba(244, 240, 223, 0.38);
    --fg2-acid: #d7ff3f;
    --fg2-coral: #ff6b4a;
    --fg2-cyan: #49e4c8;
    --fg2-accent-ink: #050506;
    --fg2-max: 1500px;
    --fg2-gap: 14px;
    --fg-nav-h: 56px;
}

.fg2-body {
    background: var(--fg2-bg);
    color: var(--fg2-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
    overflow-x: hidden;
}

.fg2-body a {
    color: inherit;
    text-decoration: none;
}

.fg2-body img {
    max-width: 100%;
}

.fg2-body .fg-navbar {
    background: rgba(5, 5, 6, 0.9);
    border-bottom: 1px solid var(--fg2-line);
    backdrop-filter: blur(18px);
}

.fg2-body .navbar-brand img {
    max-height: 34px;
    object-fit: contain;
}

.fg2-body .navbar-toggler {
    color: var(--fg2-muted);
    border-color: var(--fg2-line);
    background: var(--fg2-surface);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.fg2-body .navbar-toggler:hover,
.fg2-body .navbar-toggler:focus {
    color: var(--fg2-text);
    border-color: var(--fg2-acid);
}

.fg2-body .navbar-toggler[aria-expanded="true"] {
    color: var(--fg2-accent-ink);
    border-color: var(--fg2-acid);
    background: var(--fg2-acid);
}

.fg2-body .navbar-toggler-icon {
    position: relative;
    background-image: none;
}

.fg2-body .navbar-toggler-icon::before {
    content: "";
    position: absolute;
    top: 5px;
    right: 3px;
    left: 3px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}

.fg2-body .fg-offcanvas {
    background: var(--fg2-bg);
    border-right: 1px solid var(--fg2-line);
    color: var(--fg2-text);
}

.fg2-body .fg-offcanvas .offcanvas-header {
    border-bottom: 1px solid var(--fg2-line);
}

.fg2-body .fg-offcanvas .offcanvas-title {
    color: var(--fg2-text);
}

.fg2-body .fg-offcanvas .btn-close {
    filter: invert(1) grayscale(1) opacity(0.72);
}

.fg2-body .fg-drawer-search-link {
    border-color: var(--fg2-line);
    background: var(--fg2-surface);
}

.fg2-body .fg-drawer-search-link span,
.fg2-body .fg-drawer-link em {
    color: var(--fg2-soft);
}

.fg2-body .fg-drawer-search-link strong {
    color: var(--fg2-text);
}

.fg2-body .fg-offcanvas .fg-drawer-link {
    border-color: var(--fg2-line);
    background: var(--fg2-surface);
    color: var(--fg2-muted);
}

.fg2-body .fg-offcanvas .fg-drawer-link:hover,
.fg2-body .fg-offcanvas .fg-drawer-link:focus {
    border-color: var(--fg2-acid);
    background: var(--fg2-surface-2);
    color: var(--fg2-text);
}

.fg2-body .fg-drawer-tools a {
    border-color: var(--fg2-line);
    background: var(--fg2-surface);
    color: var(--fg2-muted);
}

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

.fg2-body .modal-content {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--fg2-line);
    background: linear-gradient(180deg, var(--fg2-surface), var(--fg2-bg));
    color: var(--fg2-text);
    border-radius: 0;
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.58);
}

.fg2-body .modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fg2-acid), var(--fg2-coral), var(--fg2-cyan));
}

.fg2-body .modal-header {
    border-bottom: 1px solid var(--fg2-line);
    background: rgba(244, 240, 223, 0.03);
    padding: 16px 20px;
}

.fg2-body .modal-title {
    color: var(--fg2-text);
    font-size: 16px;
    font-weight: 800;
}

.fg2-body .modal-body {
    color: var(--fg2-muted);
    padding: 22px 20px;
}

.fg2-body .modal-header .btn-close {
    filter: invert(1) grayscale(1) opacity(0.72);
    box-shadow: none;
    border-radius: 0;
}

.fg2-body .fg-share-url {
    border-color: var(--fg2-line);
    background: var(--fg2-bg);
    color: var(--fg2-text);
}

.fg2-body .fg-age-enter,
.fg2-body .fg-copy-btn {
    border: 1px solid var(--fg2-acid);
    background: var(--fg2-acid);
    color: var(--fg2-accent-ink);
}

.fg2-body .fg-age-enter:hover,
.fg2-body .fg-copy-btn:hover {
    border-color: var(--fg2-coral);
    background: var(--fg2-coral);
    color: var(--fg2-bg);
}

.fg2-body .fg-age-leave {
    border-color: var(--fg2-line);
    background: var(--fg2-surface-2);
    color: var(--fg2-muted);
}

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

.fg2-body .nav-link,
.fg2-body .fg-drawer-link,
.fg2-body .fg-drawer-sub-link {
    color: var(--fg2-muted);
}

.fg2-body .nav-link:hover,
.fg2-body .fg-drawer-link:hover,
.fg2-body .fg-drawer-sub-link:hover {
    color: var(--fg2-text);
}

.fg2-home,
.fg2-main,
.fg2-list-page,
.fg2-search-page {
    width: min(var(--fg2-max), calc(100% - 28px));
    margin: 0 auto;
}

.fg2-search-page {
    padding: 18px 0 40px;
}

.fg2-search-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px;
    padding: 14px;
    border: 1px solid var(--fg2-line);
    background: var(--fg2-surface);
    overflow: visible;
    box-sizing: border-box;
}

.fg2-search-back {
    display: none;
}

.fg2-search-input {
    min-width: 0;
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--fg2-line);
    background: var(--fg2-surface-2);
    color: var(--fg2-text);
    border-radius: 0;
}

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

.fg2-search-action {
    height: 44px;
    min-width: 48px;
    padding: 0 18px;
    border: 0;
    background: var(--fg2-acid);
    color: #050506;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 0;
}

.fg2-search-ad-row {
    padding: 6px 0;
}

.fg2-body .fg-scroll-container {
    overflow: visible;
}

.fg2-body .fg-scroll-wrapper {
    display: block;
    overflow: visible;
    padding-bottom: 0;
    cursor: default;
    touch-action: auto;
}

.fg2-body .fg-scroll-track {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    animation: none !important;
    transform: none !important;
    will-change: auto;
}

.fg2-body .fg-scroll-track-group {
    display: flex;
    width: 100%;
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: var(--fg-scroll-gap);
    padding: 10px var(--fg-scroll-gap) 10px 10px;
}

.fg2-body .fg-scroll-track-group[aria-hidden="true"] {
    display: none;
}

.fg2-search-page .fg-scroll-container {
    margin: 6px 0;
}

.fg2-search-page .fg-scroll-track-group {
    padding: 6px var(--fg-scroll-gap) 6px 6px;
}

.fg2-search-page .fg-scroll-wrapper img {
    width: 52px;
    height: 52px;
}

.fg2-search-page .fg-app-title {
    margin-top: 2px;
}

.fg2-search-page .fg-rank-section {
    margin-top: 18px;
}

.fg2-search-page .fg-rank-title {
    margin: 0 0 12px;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--fg2-line);
    color: var(--fg2-muted);
    font-size: 16px;
    font-weight: 500;
}

.fg2-search-page .fg-rank-title::before {
    display: none;
}

.fg2-search-page #hotSearchTitle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fg2-search-page .fg-rank-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--fg2-line);
    background: var(--fg2-surface);
    color: var(--fg2-text);
    transition: border-color .2s ease, transform .2s ease;
}

.fg2-search-page .fg-rank-item:hover {
    border-color: rgba(218, 255, 39, .55);
    color: var(--fg2-text);
    transform: translateY(-1px);
}

.fg2-search-page .fg-rank-num {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    min-width: 30px;
    padding: 4px 7px;
    background: var(--fg2-acid);
    color: #050506;
    font-size: 13px;
    line-height: 1;
    text-align: center;
}

.fg2-search-page .fg-rank-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--fg2-line);
    background: var(--fg2-surface-2);
    overflow: visible;
}

.fg2-search-page .fg-rank-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
}

.fg2-search-page .fg-rank-info {
    min-width: 0;
}

.fg2-search-page .fg-rank-info h3 {
    margin: 0 0 6px;
    color: var(--fg2-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
}

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

.fg2-search-page .fg-hot {
    color: var(--fg2-soft);
}

.fg2-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.8fr);
    gap: var(--fg2-gap);
    padding: 18px 0 10px;
}

.fg2-hero-main,
.fg2-rail-card,
.fg2-card-cover,
.fg2-side-item img,
.fg2-player-wrap,
.fg2-ad-grid a,
.fg-list-banners li,
.fg-top-banners li,
.banner-cover {
    background: #000;
    border: 1px solid var(--fg2-line);
}

.fg2-hero-main {
    position: relative;
    display: block;
    min-height: 540px;
}

.fg2-hero-main img,
.fg2-rail-card img,
.fg2-card-cover img,
.fg2-side-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.fg2-hero-main strong,
.fg2-rail-card em {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    color: rgba(244, 240, 223, 0.68);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.7);
}

.fg2-hero-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--fg2-gap);
}

.fg2-rail-card {
    position: relative;
    min-height: 263px;
}

.fg2-play {
    position: absolute;
    left: 12px;
    top: 12px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(244, 240, 223, 0.5);
    background: rgba(5, 5, 6, 0.48);
}

.fg2-play::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 10px;
    border-left: 10px solid var(--fg2-acid);
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}

.fg2-duration {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 4px 7px;
    background: rgba(5, 5, 6, 0.72);
    color: var(--fg2-text);
    font-size: 12px;
    line-height: 1;
}

.fg2-ad-grid,
.fg-list-banners ul,
.fg-top-banners ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--fg2-gap);
    padding: 0;
    margin: 18px 0;
    list-style: none;
}

.fg2-ad-grid a,
.fg-list-banners a,
.fg-top-banners a {
    display: block;
    aspect-ratio: var(--ad-slot-banner-cover-ar-n) / var(--ad-slot-banner-cover-ar-d);
    border-radius: 0;
}

.fg2-ad-grid img,
.fg-list-banners img,
.fg-top-banners img,
.banner-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 0;
}

.fg2-channel-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    min-width: 0;
    overflow-x: visible;
    padding: 18px 0 8px;
}

.fg2-channel-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: var(--fg2-gap);
    margin: 18px 0 8px;
}

.fg2-list-channel {
    --fg2-list-channel-cols: 6;
    --fg2-list-channel-item: 92px;
    grid-template-columns: 1fr;
    margin-bottom: 18px;
}

.fg2-channel-block {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--fg2-line);
    background: var(--fg2-surface);
}

.fg2-channel-label {
    margin-bottom: 10px;
    color: var(--fg2-soft);
    font-size: 12px;
    text-transform: uppercase;
}

.fg2-channel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fg2-channel-grid a {
    display: grid;
    gap: 4px;
    min-height: 44px;
    min-width: 118px;
    padding: 12px;
    border: 1px solid var(--fg2-line);
    background: var(--fg2-surface-2);
    overflow-wrap: anywhere;
}

.fg2-channel-grid a.is-active {
    color: #050506;
    background: var(--fg2-acid);
    border-color: var(--fg2-acid);
}

.fg2-channel-grid strong {
    color: rgba(244, 240, 223, 0.76);
    font-size: 15px;
    font-weight: 500;
}

.fg2-list-channel .fg2-channel-block {
    justify-self: stretch;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.fg2-list-channel .fg2-channel-label {
    text-align: left;
}

.fg2-list-channel .fg2-channel-grid {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
}

.fg2-list-channel .fg2-channel-grid a {
    flex: 1 1 max-content;
    justify-items: start;
    width: auto;
    min-width: 128px;
    padding-inline: 12px;
    text-align: left;
    overflow-wrap: anywhere;
}

.fg2-list-channel .fg2-channel-grid strong {
    display: block;
    max-width: none;
    overflow: visible;
    text-align: left;
    text-overflow: clip;
    white-space: normal;
}

.fg2-channel-grid a.is-active strong,
.fg2-channel-grid a.is-active span {
    color: #050506;
}

.fg2-channel-grid span {
    color: var(--fg2-soft);
    font-size: 12px;
}

.fg2-channel-strip a,
.fg2-sort a,
.fg2-tool,
.fg2-tag,
.fg2-pagination a,
.fg2-pagination span,
.fg2-view-switch button {
    border: 1px solid var(--fg2-line);
    background: var(--fg2-surface);
    color: var(--fg2-muted);
}

.fg2-channel-strip a,
.fg2-sort a,
.fg2-tool,
.fg2-tag,
.fg2-pagination a,
.fg2-pagination span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    white-space: nowrap;
}

.fg2-channel-strip a {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.fg2-channel-strip .is-active,
.fg2-sort .is-active,
.fg2-pagination .is-active {
    color: #050506;
    background: var(--fg2-acid);
    border-color: var(--fg2-acid);
}

.fg2-section {
    margin: 30px 0;
}

.fg2-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.fg2-side h2,
.fg2-list-banner h1,
.fg2-video-head h1 {
    margin: 0;
    color: rgba(244, 240, 223, 0.78);
    font-weight: 500;
    letter-spacing: 0;
}

.fg2-section-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.fg2-section-tabs::-webkit-scrollbar {
    display: none;
}

.fg2-section-tabs a {
    flex: 0 0 auto;
    max-width: 148px;
    min-height: 44px;
    padding: 7px 12px;
    border: 1px solid rgba(244, 240, 223, 0.16);
    color: rgba(244, 240, 223, 0.68);
    background: rgba(255, 255, 255, 0.035);
    font-size: 13px;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
}

.fg2-section-tabs a.is-active {
    color: #050506;
    background: var(--fg2-acid);
    border-color: var(--fg2-acid);
}

.fg2-section-more {
    flex: 0 0 auto;
    color: var(--fg2-cyan);
    font-size: 13px;
}

.fg2-mosaic,
.fg2-card-grid {
    display: grid;
    gap: var(--fg2-gap);
}

.fg2-mosaic {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fg2-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fg2-card {
    min-width: 0;
}

.fg2-card--wide {
    grid-column: span 2;
    grid-row: span 2;
}

.fg2-mosaic .fg2-card--tail {
    grid-column: 1 / -1;
}

.fg2-card a {
    display: block;
    height: 100%;
}

.fg2-card-cover {
    position: relative;
    aspect-ratio: 16 / 9;
}

.fg2-card--ad {
    grid-column: span 2;
}

.fg2-card--ad .fg2-card-cover {
    aspect-ratio: var(--ad-slot-banner-cover-ar-n) / var(--ad-slot-banner-cover-ar-d);
    border-radius: 0;
}

.fg2-card--ad img {
    object-fit: fill;
    border-radius: 0;
}

.fg2-card--ad .fg2-card-copy {
    display: none;
}

.fg2-card--wide .fg2-card-cover {
    height: 100%;
    min-height: 330px;
    aspect-ratio: auto;
}

.fg2-mosaic .fg2-card--tail .fg2-card-cover {
    aspect-ratio: 16 / 5;
}

.fg2-card-copy {
    padding: 8px 0 0;
}

.fg2-card-copy span,
.fg2-list-banner span,
.fg2-video-meta span,
.fg2-side-item em {
    color: var(--fg2-soft);
    font-size: 12px;
    font-style: normal;
}

.fg2-card-copy h3 {
    margin: 4px 0 0;
    color: rgba(244, 240, 223, 0.62);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
}

.fg2-card-copy p {
    margin: 4px 0 0;
    color: var(--fg2-soft);
    font-size: 12px;
}

.fg2-list-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.44fr);
    gap: 24px;
    align-items: end;
    padding: 32px 0 20px;
    border-bottom: 1px solid var(--fg2-line);
}

.fg2-list-banner h1 {
    margin-top: 8px;
    font-size: 26px;
}

.fg2-list-banner p {
    margin: 0;
    color: var(--fg2-muted);
    font-size: 14px;
    line-height: 1.7;
}

.fg2-list-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    margin: 18px 0;
}

.fg2-sort {
    display: flex;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
}

.fg2-view-switch {
    display: flex;
    gap: 8px;
}

.fg2-view-switch button {
    position: relative;
    width: 42px;
    height: 42px;
    padding: 0;
}

.fg2-view-switch button::before {
    content: "";
    position: absolute;
    inset: 12px;
    background: linear-gradient(90deg, currentColor 35%, transparent 35%, transparent 65%, currentColor 65%), linear-gradient(currentColor 35%, transparent 35%, transparent 65%, currentColor 65%);
}

.fg2-view-switch button:last-child::before {
    inset: 13px 11px;
    background: linear-gradient(currentColor 2px, transparent 2px, transparent 7px, currentColor 7px, currentColor 9px, transparent 9px, transparent 14px, currentColor 14px);
}

.fg2-list-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
}

.fg2-card-grid.is-list {
    grid-template-columns: 1fr;
}

.fg2-card-grid.is-list .fg2-card:not(.fg2-card--ad) a {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.fg2-card-grid.is-list .fg2-card:not(.fg2-card--ad) .fg2-card-cover {
    min-height: 136px;
}

.fg2-card-grid.is-list .fg2-card--ad {
    grid-column: span 1;
}

.fg2-side {
    position: sticky;
    top: 86px;
    align-self: start;
    padding: 14px;
    border: 1px solid var(--fg2-line);
    background: var(--fg2-surface);
}

.fg2-side h2 {
    margin-bottom: 12px;
    font-size: 16px;
}

.fg2-side-item {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid var(--fg2-line);
}

.fg2-side-item:first-of-type {
    border-top: 0;
}

.fg2-side-item img {
    height: 62px;
}

.fg2-side-item strong {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(244, 240, 223, 0.66);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.fg2-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 28px 0;
}

.fg2-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 0;
    color: var(--fg2-soft);
    font-size: 13px;
}

.fg2-player-section {
    margin-bottom: 18px;
}

.fg2-player-wrap {
    position: relative;
    height: 560px;
    min-height: 560px;
    overflow: hidden;
}

.fg2-player-wrap #vd-box {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 560px;
    background: transparent;
}

.fg2-player-wrap .xgplayer {
    height: 100% !important;
    min-height: 560px;
    background: transparent !important;
}

.fg2-player-wrap .xgplayer-poster {
    overflow: hidden;
    background-image: none !important;
}

.fg2-player-wrap .xgplayer-poster::before,
.fg2-player-wrap .xgplayer-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fg2-player-wrap .xgplayer-poster::before {
    inset: -28px;
    background: var(--fg2-player-poster-bg, transparent) center / cover no-repeat;
    filter: blur(24px);
    opacity: 0.62;
    transform: scale(1.06);
}

.fg2-player-wrap .xgplayer-poster::after {
    background: var(--fg2-player-poster-bg, transparent) center / contain no-repeat;
}

.fg2-player-wrap .xgplayer video {
    object-fit: contain !important;
}

.fg2-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

.fg2-detail-side {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-self: stretch;
}

.fg2-detail-side h2 {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.fg2-detail-side .fg2-side-item {
    display: block;
    padding: 0;
    border-top: 0;
}

.fg2-detail-side .fg2-side-item img {
    width: 100%;
    height: 180px;
    object-fit: fill;
}

.fg2-detail-side .fg2-side-item span {
    display: block;
    margin-top: 7px;
}

.fg2-video-head {
    padding: 18px 0 10px;
    border-bottom: 1px solid var(--fg2-line);
}

.fg2-video-head h1 {
    font-size: 22px;
    line-height: 1.35;
}

.fg2-video-meta,
.fg2-tags,
.fg2-tools,
.fg2-text-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.fg2-desc,
.fg2-static-content {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--fg2-line);
    background: var(--fg2-surface);
    color: var(--fg2-muted);
    line-height: 1.8;
}

.fg2-static-content h1,
.fg2-static-content h2 {
    color: var(--fg2-text);
    font-weight: 500;
}

.fg2-static-content h1 {
    font-size: 26px;
}

.fg2-static-content h2 {
    margin-top: 20px;
    font-size: 17px;
}

.fg2-text-links a {
    color: var(--fg2-cyan);
    font-size: 13px;
}

.fg2-preview-cta {
    display: block;
    padding: 12px 14px;
    background: var(--fg2-coral);
    color: #050506;
    text-align: center;
    font-weight: 600;
}

.fg2-empty {
    padding: 48px 16px;
    color: var(--fg2-muted);
    text-align: center;
    border: 1px solid var(--fg2-line);
    background: var(--fg2-surface);
}

.fg2-footer {
    margin-top: 42px;
    border-top: 1px solid var(--fg2-line);
    background: #080807;
}

.fg2-footer-inner {
    width: min(var(--fg2-max), calc(100% - 28px));
    margin: 0 auto;
    padding: 30px 0;
}

.fg2-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
    gap: 24px;
}

.fg2-footer-brand img {
    max-height: 38px;
    object-fit: contain;
}

.fg2-footer-brand p,
.fg2-footer-copy {
    color: var(--fg2-muted);
}

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

.fg2-footer-links h3 {
    margin: 0 0 10px;
    color: var(--fg2-text);
    font-size: 14px;
    font-weight: 500;
}

.fg2-footer-links a {
    display: block;
    padding: 7px 0;
    color: var(--fg2-muted);
    font-size: 13px;
}

.fg2-motion-item {
    transform: translateY(12px);
    opacity: 0;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fg2-motion-item.fg2-motion-in {
    transform: translateY(0);
    opacity: 1;
}

.fg2-body .fg-float-banner {
    width: min(180px, calc(100vw - 32px));
}

.fg2-body .fg-float-banner a {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.fg2-body .fg-float-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

@media (max-width: 1199px) {
    .fg2-mosaic {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .fg2-list-layout,
    .fg2-detail-layout {
        grid-template-columns: 1fr;
    }

    .fg2-side {
        position: static;
    }
}

@media (max-width: 991px) {
    .fg-header-ads {
        display: none;
    }

    .fg2-hero {
        grid-template-columns: 1fr;
    }

    .fg2-hero-main {
        min-height: 420px;
    }

    .fg2-mosaic {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fg2-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fg2-list-banner {
        grid-template-columns: 1fr;
    }

    .fg2-channel-panel {
        grid-template-columns: 1fr;
    }

    .fg2-list-channel {
        --fg2-list-channel-cols: 4;
    }

    .fg2-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .fg2-home,
    .fg2-main,
    .fg2-list-page,
    .fg2-search-page,
    .fg2-footer-inner {
        width: min(100% - 16px, var(--fg2-max));
    }

    .fg2-search-page {
        padding-top: 10px;
    }

    .fg2-search-header {
        grid-template-columns: 40px minmax(0, 1fr) 48px;
        gap: 6px;
        padding: 8px 0 10px;
        border-width: 0 0 1px;
        background: transparent;
    }

    .fg2-search-back {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid var(--fg2-line);
        background: var(--fg2-surface);
        color: var(--fg2-muted);
        border-radius: 0;
    }

    .fg2-search-input {
        height: 40px;
        padding: 0 10px;
    }

    .fg2-search-action {
        width: 48px;
        min-width: 48px;
        height: 40px;
        padding: 0;
        font-size: 13px;
    }

    .fg2-search-ad-row {
        padding: 4px 0;
    }

    .fg2-search-page #hotSearchTitle {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fg2-search-page .fg-rank-section {
        margin-top: 12px;
    }

    .fg2-search-page .fg-rank-item {
        padding: 8px;
    }

    .fg2-hero {
        padding-top: 10px;
    }

    .fg2-hero-main {
        min-height: 300px;
    }

    .fg2-hero-rail,
    .fg2-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .fg2-card-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .fg2-detail-side {
        grid-template-columns: 1fr;
    }

    .fg2-detail-side .fg2-side-item img {
        height: 200px;
    }

    .fg2-card--wide {
        grid-column: span 2;
    }

    .fg2-card--ad {
        grid-column: span 1;
    }

    .fg2-card--wide .fg2-card-cover {
        min-height: 210px;
    }

    .fg2-mosaic .fg2-card--tail .fg2-card-cover {
        aspect-ratio: 16 / 9;
    }

    .fg2-ad-grid,
    .fg-list-banners ul,
    .fg-top-banners ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .fg2-list-toolbar {
        flex-direction: column;
    }

    .fg2-list-channel {
        --fg2-list-channel-cols: 3;
        --fg2-list-channel-item: 84px;
    }

    .fg2-card-grid.is-list .fg2-card:not(.fg2-card--ad) a {
        grid-template-columns: 132px minmax(0, 1fr);
    }

    .fg2-card-grid.is-list .fg2-card:not(.fg2-card--ad) .fg2-card-cover {
        min-height: 82px;
    }

    .fg2-player-wrap,
    .fg2-player-wrap #vd-box,
    .fg2-player-wrap .xgplayer {
        height: 260px;
        min-height: 260px;
    }

    .fg2-video-head h1 {
        font-size: 18px;
    }

    .fg2-footer-links {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fg2-motion-item {
        transform: none;
        opacity: 1;
        transition: none;
    }
}
