/**
 * style.css — 黄果v2 Lavender Purple Soft Light (薰衣草紫柔光)
 * CSS prefix: fg_6r1t / --fg6r1t-
 * Responsive mobile-first: 480px / 768px breakpoints
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --fg6r1t-bg: #F5F0FF;
    --fg6r1t-text: #2E1065;
    --fg6r1t-accent: #A855F7;
    --fg6r1t-accent-hover: #9333EA;
    --fg6r1t-accent-light: #E9D5FF;
    --fg6r1t-accent-ultra-light: #F3E8FF;
    --fg6r1t-surface: #FFFFFF;
    --fg6r1t-muted: #9B8ABB;
    --fg6r1t-border: #E2D8F0;
    --fg6r1t-shadow: rgba(168, 85, 247, 0.08);
    --fg6r1t-shadow-lg: rgba(168, 85, 247, 0.15);
    --fg6r1t-radius: 12px;
    --fg6r1t-radius-sm: 8px;
    --fg6r1t-radius-lg: 16px;
    --fg6r1t-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --fg6r1t-max-width: 1200px;
    --fg6r1t-gap: 20px;
    --fg6r1t-transition: 0.3s ease;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body.fg_6r1t_body {
    font-family: var(--fg6r1t-font);
    background-color: var(--fg6r1t-bg);
    color: var(--fg6r1t-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--fg6r1t-accent-hover);
}

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* ============================================
   Header & Navigation
   ============================================ */
.fg_6r1t_header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--fg6r1t-surface);
    border-bottom: 1px solid var(--fg6r1t-border);
    box-shadow: 0 2px 12px var(--fg6r1t-shadow);
}

.fg_6r1t_nav {
    max-width: var(--fg6r1t-max-width);
    margin: 0 auto;
}

.fg_6r1t_nav_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 16px;
}

.fg_6r1t_nav_left {
    display: none;
}

.fg_6r1t_menu_btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--fg6r1t-radius-sm);
    transition: background var(--fg6r1t-transition);
}

.fg_6r1t_menu_btn:hover {
    background: var(--fg6r1t-accent-ultra-light);
}

.fg_6r1t_menu_btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--fg6r1t-text);
    border-radius: 2px;
    transition: var(--fg6r1t-transition);
}

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

.fg_6r1t_logo a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--fg6r1t-text);
    font-weight: 700;
    font-size: 1.25rem;
}

.fg_6r1t_logo a:hover {
    color: var(--fg6r1t-accent);
}

.fg_6r1t_logo_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--fg6r1t-accent), var(--fg6r1t-accent-hover));
    color: #fff;
    border-radius: var(--fg6r1t-radius-sm);
    font-size: 1rem;
}

.fg_6r1t_logo_text {
    font-size: 1.25rem;
}

.fg_6r1t_slogan {
    font-size: 0.75rem;
    color: var(--fg6r1t-muted);
    display: none;
}

.fg_6r1t_nav_right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fg_6r1t_nav_link {
    padding: 8px 14px;
    border-radius: var(--fg6r1t-radius-sm);
    color: var(--fg6r1t-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--fg6r1t-transition);
    white-space: nowrap;
}

.fg_6r1t_nav_link:hover {
    background: var(--fg6r1t-accent-ultra-light);
    color: var(--fg6r1t-accent);
}

/* Category TAB bar */
.fg_6r1t_tab_bar {
    border-top: 1px solid var(--fg6r1t-border);
    padding: 0 16px;
    overflow: hidden;
}

.fg_6r1t_tab_scroll {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0;
}

.fg_6r1t_tab_scroll::-webkit-scrollbar {
    display: none;
}

.fg_6r1t_tab {
    padding: 8px 18px;
    border-radius: 20px;
    color: var(--fg6r1t-muted);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all var(--fg6r1t-transition);
    flex-shrink: 0;
}

.fg_6r1t_tab:hover {
    color: var(--fg6r1t-accent);
    background: var(--fg6r1t-accent-ultra-light);
}

.fg_6r1t_tab_active {
    color: #fff;
    background: var(--fg6r1t-accent);
}

.fg_6r1t_tab_active:hover {
    color: #fff;
    background: var(--fg6r1t-accent-hover);
}

/* Mobile menu */
.fg_6r1t_mobile_menu {
    display: none;
    flex-direction: column;
    background: var(--fg6r1t-surface);
    border-top: 1px solid var(--fg6r1t-border);
    padding: 12px 16px;
    gap: 4px;
}

.fg_6r1t_mobile_menu.fg_6r1t_active {
    display: flex;
}

.fg_6r1t_mobile_link {
    display: block;
    padding: 12px 16px;
    color: var(--fg6r1t-text);
    border-radius: var(--fg6r1t-radius-sm);
    font-weight: 500;
    transition: background var(--fg6r1t-transition);
}

.fg_6r1t_mobile_link:hover {
    background: var(--fg6r1t-accent-ultra-light);
    color: var(--fg6r1t-accent);
}

.fg_6r1t_mobile_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid var(--fg6r1t-border);
    margin-top: 8px;
}

/* ============================================
   Main Layout
   ============================================ */
.fg_6r1t_main {
    max-width: var(--fg6r1t-max-width);
    margin: 0 auto;
    padding: 0 16px 40px;
}

.fg_6r1t_content_wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fg6r1t-gap);
    margin-top: 32px;
}

.fg_6r1t_content_main {
    min-width: 0;
}

.fg_6r1t_content_side {
    min-width: 0;
}

/* ============================================
   Hero Section
   ============================================ */
.fg_6r1t_hero {
    margin: 24px 0;
}

.fg_6r1t_carousel {
    position: relative;
    border-radius: var(--fg6r1t-radius-lg);
    overflow: hidden;
    background: var(--fg6r1t-surface);
    box-shadow: 0 4px 24px var(--fg6r1t-shadow-lg);
}

.fg_6r1t_carousel_track {
    position: relative;
    min-height: 300px;
}

.fg_6r1t_carousel_slide {
    display: none;
    animation: fg6r1t_fadeIn 0.5s ease;
}

.fg_6r1t_carousel_slide.fg_6r1t_slide_active {
    display: block;
}

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

.fg_6r1t_hero_content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.fg_6r1t_hero_text {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.fg_6r1t_hero_badge {
    display: inline-block;
    width: fit-content;
    padding: 4px 14px;
    background: var(--fg6r1t-accent-light);
    color: var(--fg6r1t-accent);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.fg_6r1t_hero_title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.fg_6r1t_hero_title a {
    color: var(--fg6r1t-text);
}

.fg_6r1t_hero_title a:hover {
    color: var(--fg6r1t-accent);
}

.fg_6r1t_hero_desc {
    color: var(--fg6r1t-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fg_6r1t_hero_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--fg6r1t-muted);
}

.fg_6r1t_hero_image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.fg_6r1t_hero_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fg_6r1t_play_overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(168, 85, 247, 0.85);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--fg6r1t-transition);
    opacity: 0.9;
}

.fg_6r1t_hero_image:hover .fg_6r1t_play_overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.fg_6r1t_duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Carousel controls */
.fg_6r1t_carousel_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--fg6r1t-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all var(--fg6r1t-transition);
}

.fg_6r1t_carousel_btn:hover {
    background: var(--fg6r1t-accent);
    color: #fff;
}

.fg_6r1t_carousel_prev { left: 12px; }
.fg_6r1t_carousel_next { right: 12px; }

.fg_6r1t_carousel_dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
}

.fg_6r1t_dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--fg6r1t-border);
    transition: all var(--fg6r1t-transition);
}

.fg_6r1t_dot_active,
.fg_6r1t_dot:hover {
    background: var(--fg6r1t-accent);
    transform: scale(1.2);
}

/* Topics horizontal scroll */
.fg_6r1t_topics {
    margin-top: 20px;
}

.fg_6r1t_section_label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--fg6r1t-text);
    padding-left: 12px;
    border-left: 3px solid var(--fg6r1t-accent);
}

.fg_6r1t_topics_scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0 12px;
}

.fg_6r1t_topics_scroll::-webkit-scrollbar {
    display: none;
}

.fg_6r1t_topic_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--fg6r1t-surface);
    border-radius: var(--fg6r1t-radius);
    box-shadow: 0 2px 8px var(--fg6r1t-shadow);
    transition: all var(--fg6r1t-transition);
    flex-shrink: 0;
    min-width: 110px;
    color: var(--fg6r1t-text);
}

.fg_6r1t_topic_card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--fg6r1t-shadow-lg);
    color: var(--fg6r1t-accent);
}

.fg_6r1t_topic_icon {
    font-size: 1.5rem;
}

.fg_6r1t_topic_name {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ============================================
   Section Headers
   ============================================ */
.fg_6r1t_section {
    margin-top: 32px;
}

.fg_6r1t_section_header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.fg_6r1t_section_title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fg6r1t-text);
    padding-left: 12px;
    border-left: 4px solid var(--fg6r1t-accent);
}

/* Filter tabs */
.fg_6r1t_filter_tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.fg_6r1t_filter_tabs::-webkit-scrollbar {
    display: none;
}

.fg_6r1t_filter_tab {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--fg6r1t-muted);
    white-space: nowrap;
    transition: all var(--fg6r1t-transition);
    border: 1px solid transparent;
}

.fg_6r1t_filter_tab:hover {
    color: var(--fg6r1t-accent);
    border-color: var(--fg6r1t-accent-light);
}

.fg_6r1t_filter_active {
    color: #fff;
    background: var(--fg6r1t-accent);
    border-color: var(--fg6r1t-accent);
}

/* ============================================
   Video Card Grid
   ============================================ */
.fg_6r1t_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--fg6r1t-gap);
}

.fg_6r1t_grid_sm {
    grid-template-columns: repeat(2, 1fr);
}

.fg_6r1t_card {
    background: var(--fg6r1t-surface);
    border-radius: var(--fg6r1t-radius);
    overflow: hidden;
    box-shadow: 0 2px 12px var(--fg6r1t-shadow);
    transition: all var(--fg6r1t-transition);
}

.fg_6r1t_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--fg6r1t-shadow-lg);
}

.fg_6r1t_card_link {
    display: block;
    color: var(--fg6r1t-text);
}

.fg_6r1t_card_link:hover {
    color: var(--fg6r1t-text);
}

.fg_6r1t_card_cover {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--fg6r1t-accent-ultra-light);
}

.fg_6r1t_card_cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--fg6r1t-transition);
}

.fg_6r1t_card:hover .fg_6r1t_card_cover img {
    transform: scale(1.05);
}

.fg_6r1t_card_duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.fg_6r1t_card_play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(168, 85, 247, 0.8);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity var(--fg6r1t-transition);
}

.fg_6r1t_card:hover .fg_6r1t_card_play {
    opacity: 1;
}

.fg_6r1t_card_badge_hot {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #F97316, #EF4444);
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.fg_6r1t_card_body {
    padding: 12px;
}

.fg_6r1t_card_title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fg_6r1t_card_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--fg6r1t-muted);
    margin-bottom: 4px;
}

.fg_6r1t_card_channel {
    background: var(--fg6r1t-accent-ultra-light);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--fg6r1t-accent);
    font-weight: 500;
}

.fg_6r1t_card_info {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--fg6r1t-muted);
}

/* ============================================
   Page Headers (Channel/Tag)
   ============================================ */
.fg_6r1t_page_header {
    padding: 32px 0 16px;
    text-align: center;
}

.fg_6r1t_page_title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--fg6r1t-text);
    margin-bottom: 8px;
}

.fg_6r1t_page_desc {
    color: var(--fg6r1t-muted);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Video Detail Page
   ============================================ */
.fg_6r1t_detail {
    padding-top: 20px;
}

.fg_6r1t_breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--fg6r1t-muted);
    margin-bottom: 20px;
}

.fg_6r1t_breadcrumb a {
    color: var(--fg6r1t-muted);
}

.fg_6r1t_breadcrumb a:hover {
    color: var(--fg6r1t-accent);
}

.fg_6r1t_breadcrumb_sep {
    margin: 0 4px;
    color: var(--fg6r1t-border);
}

.fg_6r1t_player {
    margin-bottom: 24px;
}

.fg_6r1t_player_cover {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--fg6r1t-radius-lg);
    overflow: hidden;
    background: #1a0530;
    box-shadow: 0 8px 32px var(--fg6r1t-shadow-lg);
}

.fg_6r1t_player_cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.fg_6r1t_player_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.fg_6r1t_play_btn {
    width: 72px;
    height: 72px;
    background: var(--fg6r1t-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all var(--fg6r1t-transition);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.fg_6r1t_play_btn:hover {
    transform: scale(1.1);
    background: var(--fg6r1t-accent-hover);
}

.fg_6r1t_play_text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.fg_6r1t_detail_title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}

.fg_6r1t_detail_stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--fg6r1t-muted);
}

.fg_6r1t_stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fg_6r1t_detail_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.fg_6r1t_detail_channel {
    display: inline-block;
    padding: 4px 14px;
    background: var(--fg6r1t-accent);
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.fg_6r1t_tag_link {
    display: inline-block;
    padding: 4px 12px;
    background: var(--fg6r1t-accent-ultra-light);
    color: var(--fg6r1t-accent);
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all var(--fg6r1t-transition);
    border: 1px solid transparent;
}

.fg_6r1t_tag_link:hover {
    background: var(--fg6r1t-accent-light);
    border-color: var(--fg6r1t-accent);
    color: var(--fg6r1t-accent-hover);
}

.fg_6r1t_detail_desc {
    padding: 20px;
    background: var(--fg6r1t-accent-ultra-light);
    border-radius: var(--fg6r1t-radius);
    margin-bottom: 20px;
}

.fg_6r1t_desc_label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--fg6r1t-text);
}

.fg_6r1t_detail_desc p {
    color: var(--fg6r1t-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Share buttons */
.fg_6r1t_share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.fg_6r1t_share_label {
    font-size: 0.9rem;
    color: var(--fg6r1t-muted);
}

.fg_6r1t_share_btn {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
    transition: all var(--fg6r1t-transition);
}

.fg_6r1t_share_btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.fg_6r1t_share_weibo { background: #E6162D; }
.fg_6r1t_share_wechat { background: #07C160; }
.fg_6r1t_share_qq { background: #12B7F5; }
.fg_6r1t_share_copy { background: var(--fg6r1t-muted); }

/* Episodes grid */
.fg_6r1t_episodes {
    margin-bottom: 24px;
}

.fg_6r1t_episodes_title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

.fg_6r1t_ep_btn {
    display: inline-block;
    padding: 8px 16px;
    background: var(--fg6r1t-surface);
    border: 1px solid var(--fg6r1t-border);
    border-radius: var(--fg6r1t-radius-sm);
    font-size: 0.85rem;
    color: var(--fg6r1t-text);
    transition: all var(--fg6r1t-transition);
}

.fg_6r1t_ep_btn:hover {
    border-color: var(--fg6r1t-accent);
    color: var(--fg6r1t-accent);
}

.fg_6r1t_ep_active {
    background: var(--fg6r1t-accent);
    color: #fff;
    border-color: var(--fg6r1t-accent);
}

.fg_6r1t_ep_active:hover {
    color: #fff;
}

/* Related videos */
.fg_6r1t_related {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--fg6r1t-border);
}

/* ============================================
   Sidebar
   ============================================ */
.fg_6r1t_sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fg_6r1t_sidebar_block {
    background: var(--fg6r1t-surface);
    border-radius: var(--fg6r1t-radius);
    padding: 20px;
    box-shadow: 0 2px 12px var(--fg6r1t-shadow);
}

.fg_6r1t_sidebar_title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--fg6r1t-accent-light);
}

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

/* Ranking */
.fg_6r1t_ranking {
    counter-reset: rank;
}

.fg_6r1t_rank_item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--fg6r1t-border);
}

.fg_6r1t_rank_item:last-child {
    border-bottom: none;
}

.fg_6r1t_rank_num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: var(--fg6r1t-accent-ultra-light);
    color: var(--fg6r1t-muted);
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.fg_6r1t_rank_top .fg_6r1t_rank_num {
    background: var(--fg6r1t-accent);
    color: #fff;
}

.fg_6r1t_rank_link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    gap: 8px;
    min-width: 0;
    color: var(--fg6r1t-text);
}

.fg_6r1t_rank_link:hover {
    color: var(--fg6r1t-accent);
}

.fg_6r1t_rank_title {
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fg_6r1t_rank_views {
    font-size: 0.75rem;
    color: var(--fg6r1t-muted);
    flex-shrink: 0;
}

/* Latest updates */
.fg_6r1t_latest_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fg_6r1t_latest_item {
    display: flex;
    gap: 10px;
    color: var(--fg6r1t-text);
    transition: color var(--fg6r1t-transition);
}

.fg_6r1t_latest_item:hover {
    color: var(--fg6r1t-accent);
}

.fg_6r1t_latest_thumb {
    width: 100px;
    flex-shrink: 0;
    border-radius: var(--fg6r1t-radius-sm);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.fg_6r1t_latest_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fg_6r1t_latest_info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.fg_6r1t_latest_title {
    font-size: 0.85rem;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fg_6r1t_latest_date {
    font-size: 0.75rem;
    color: var(--fg6r1t-muted);
}

/* ============================================
   FAQ Section
   ============================================ */
.fg_6r1t_faq_section {
    margin-top: 40px;
}

.fg_6r1t_faq_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.fg_6r1t_faq_item {
    background: var(--fg6r1t-surface);
    border-radius: var(--fg6r1t-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px var(--fg6r1t-shadow);
}

.fg_6r1t_faq_q {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 20px;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fg6r1t-text);
    transition: background var(--fg6r1t-transition);
}

.fg_6r1t_faq_q:hover {
    background: var(--fg6r1t-accent-ultra-light);
}

.fg_6r1t_faq_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--fg6r1t-accent-light);
    color: var(--fg6r1t-accent);
    border-radius: 50%;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all var(--fg6r1t-transition);
}

.fg_6r1t_faq_q[aria-expanded="true"] .fg_6r1t_faq_icon {
    background: var(--fg6r1t-accent);
    color: #fff;
    transform: rotate(45deg);
}

.fg_6r1t_faq_a {
    display: none;
    padding: 0 20px 16px;
}

.fg_6r1t_faq_a.fg_6r1t_active {
    display: block;
}

.fg_6r1t_faq_a p {
    color: var(--fg6r1t-muted);
    line-height: 1.8;
    font-size: 0.9rem;
}

/* ============================================
   Reviews Section
   ============================================ */
.fg_6r1t_reviews_section {
    margin-top: 40px;
}

.fg_6r1t_reviews_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
}

.fg_6r1t_review_card {
    background: var(--fg6r1t-surface);
    border-radius: var(--fg6r1t-radius);
    padding: 20px;
    box-shadow: 0 2px 8px var(--fg6r1t-shadow);
}

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

.fg_6r1t_review_avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--fg6r1t-accent), var(--fg6r1t-accent-hover));
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;
    flex-shrink: 0;
}

.fg_6r1t_review_user {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fg_6r1t_review_name {
    font-weight: 600;
    font-size: 0.9rem;
}

.fg_6r1t_review_date {
    font-size: 0.8rem;
    color: var(--fg6r1t-muted);
}

.fg_6r1t_review_stars {
    font-size: 0.8rem;
}

.fg_6r1t_review_text {
    color: var(--fg6r1t-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   EEAT Section
   ============================================ */
.fg_6r1t_eeat_section {
    margin-top: 40px;
}

.fg_6r1t_eeat_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
}

.fg_6r1t_eeat_card {
    background: var(--fg6r1t-surface);
    border-radius: var(--fg6r1t-radius);
    padding: 24px;
    box-shadow: 0 2px 8px var(--fg6r1t-shadow);
    border-left: 4px solid var(--fg6r1t-accent);
}

.fg_6r1t_eeat_title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--fg6r1t-text);
}

.fg_6r1t_eeat_text {
    color: var(--fg6r1t-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ============================================
   Buttons
   ============================================ */
.fg_6r1t_btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--fg6r1t-radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: all var(--fg6r1t-transition);
    cursor: pointer;
}

.fg_6r1t_btn_primary {
    background: var(--fg6r1t-accent);
    color: #fff;
}

.fg_6r1t_btn_primary:hover {
    background: var(--fg6r1t-accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.fg_6r1t_btn_outline {
    background: transparent;
    color: var(--fg6r1t-accent);
    border: 2px solid var(--fg6r1t-accent);
}

.fg_6r1t_btn_outline:hover {
    background: var(--fg6r1t-accent);
    color: #fff;
}

.fg_6r1t_load_more {
    text-align: center;
    margin-top: 24px;
}

/* ============================================
   Error Page
   ============================================ */
.fg_6r1t_error_page {
    text-align: center;
    padding: 80px 20px;
}

.fg_6r1t_error_icon {
    font-size: 5rem;
    font-weight: 800;
    color: var(--fg6r1t-accent-light);
    margin-bottom: 16px;
}

.fg_6r1t_error_page h1 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.fg_6r1t_error_page p {
    color: var(--fg6r1t-muted);
    margin-bottom: 24px;
}

/* ============================================
   Footer
   ============================================ */
.fg_6r1t_footer {
    background: var(--fg6r1t-text);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 60px;
}

.fg_6r1t_footer_inner {
    max-width: var(--fg6r1t-max-width);
    margin: 0 auto;
    padding: 40px 16px 24px;
}

.fg_6r1t_footer_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.fg_6r1t_footer_brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.fg_6r1t_footer_brand_name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.fg_6r1t_footer_desc {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.fg_6r1t_footer_heading {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.fg_6r1t_footer_links li {
    margin-bottom: 8px;
}

.fg_6r1t_footer_links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color var(--fg6r1t-transition);
}

.fg_6r1t_footer_links a:hover {
    color: var(--fg6r1t-accent-light);
}

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

.fg_6r1t_footer_tags .fg_6r1t_tag_link {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
}

.fg_6r1t_footer_tags .fg_6r1t_tag_link:hover {
    background: rgba(168, 85, 247, 0.3);
    color: #fff;
    border-color: var(--fg6r1t-accent);
}

.fg_6r1t_footer_share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    font-size: 0.85rem;
}

.fg_6r1t_footer_share a {
    color: rgba(255, 255, 255, 0.6);
}

.fg_6r1t_footer_share a:hover {
    color: var(--fg6r1t-accent-light);
}

.fg_6r1t_footer_seo {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.fg_6r1t_footer_seo p {
    font-size: 0.8rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.4);
}

.fg_6r1t_footer_bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fg_6r1t_footer_bottom p {
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.fg_6r1t_footer_disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   Responsive: 480px+ (Mobile landscape)
   ============================================ */
@media (min-width: 480px) {
    .fg_6r1t_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fg_6r1t_reviews_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fg_6r1t_footer_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Responsive: 768px+ (Tablet & Desktop)
   ============================================ */
@media (min-width: 768px) {
    .fg_6r1t_nav_left {
        display: none;
    }

    .fg_6r1t_slogan {
        display: inline;
    }

    .fg_6r1t_nav_right .fg_6r1t_nav_link {
        display: inline-block;
    }

    .fg_6r1t_hero_content {
        grid-template-columns: 1fr 1.2fr;
    }

    .fg_6r1t_hero_text {
        padding: 32px 28px;
    }

    .fg_6r1t_hero_title {
        font-size: 1.75rem;
    }

    .fg_6r1t_grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fg_6r1t_grid_sm {
        grid-template-columns: repeat(3, 1fr);
    }

    .fg_6r1t_content_wrap {
        grid-template-columns: 1fr 300px;
    }

    .fg_6r1t_section_header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .fg_6r1t_reviews_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fg_6r1t_eeat_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fg_6r1t_footer_grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .fg_6r1t_detail_title {
        font-size: 1.8rem;
    }
}

/* ============================================
   Responsive: 1024px+ (Desktop large)
   ============================================ */
@media (min-width: 1024px) {
    .fg_6r1t_grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .fg_6r1t_grid_sm {
        grid-template-columns: repeat(3, 1fr);
    }

    .fg_6r1t_carousel_track {
        min-height: 360px;
    }

    .fg_6r1t_hero_text {
        padding: 40px 36px;
    }

    .fg_6r1t_hero_title {
        font-size: 2rem;
    }

    .fg_6r1t_content_wrap {
        grid-template-columns: 1fr 320px;
    }

    .fg_6r1t_eeat_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   Utility / Animation
   ============================================ */
.fg_6r1t_hidden {
    display: none !important;
}

.fg_6r1t_visually_hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@keyframes fg6r1t_slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fg_6r1t_card {
    animation: fg6r1t_slideUp 0.4s ease both;
}

.fg_6r1t_card:nth-child(2) { animation-delay: 0.05s; }
.fg_6r1t_card:nth-child(3) { animation-delay: 0.1s; }
.fg_6r1t_card:nth-child(4) { animation-delay: 0.15s; }
.fg_6r1t_card:nth-child(5) { animation-delay: 0.2s; }
.fg_6r1t_card:nth-child(6) { animation-delay: 0.25s; }

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--fg6r1t-accent);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .fg_6r1t_header,
    .fg_6r1t_footer,
    .fg_6r1t_carousel_btn,
    .fg_6r1t_carousel_dots,
    .fg_6r1t_share,
    .fg_6r1t_mobile_menu {
        display: none !important;
    }

    .fg_6r1t_main {
        padding: 0;
    }

    .fg_6r1t_card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Smooth scrollbar for horizontal scroll containers */
.fg_6r1t_tab_scroll,
.fg_6r1t_topics_scroll,
.fg_6r1t_filter_tabs {
    -webkit-overflow-scrolling: touch;
}
