@import url("dark.css");

/* =========================================================
   0. 颜色变量 / 色板（相近色集中）
   ========================================================= */
:root {
    /* 品牌红 / 危险红 */
    --c-red: #e50914;
    --c-red-dark: #c00812;
    --c-red-darker: #c40812;
    --c-red-soft: #fff1f0;
    --c-red-warm: #fff7ed;
    --c-red-border: #fca5a5;
    --c-red-bg: #fee2e2;
    --c-danger: #dc2626;
    --c-danger-2: #ef4444;
    --c-danger-3: #f44336;
    --c-danger-4: #ff5a36;

    /* 橙色 / 警示 */
    --c-orange: #f97316;
    --c-orange-dark: #ea580c;
    --c-orange-deep: #c2410c;
    --c-orange-border: #fdba74;
    --c-orange-soft: #ffedd5;
    --c-yellow: #f59e0b;
    --c-yellow-soft: #ffd166;

    /* 绿色 / 成功 */
    --c-green: #00a870;
    --c-green-dark: #008f5f;
    --c-green-2: #10b981;
    --c-green-3: #16a34a;
    --c-green-soft: #dcfce7;
    --c-green-border: #a7f3d0;
    --c-green-bg: #f0fdf4;

    /* 蓝色 / 链接 / 信息 */
    --c-blue: #3b82f6;
    --c-blue-dark: #2563eb;
    --c-blue-deep: #1d4ed8;
    --c-blue-soft: #eff6ff;
    --c-blue-border: #bfdbfe;
    --c-blue-text: #1e40af;

    /* 中性灰 / 文字 / 背景 */
    --c-text: #1f2329;
    --c-text-2: #4e5969;
    --c-text-3: #8f959e;
    --c-text-4: #b0b3b8;
    --c-text-5: #c9cdd4;
    --c-border: #e5e6eb;
    --c-border-2: #d1d5db;
    --c-bg: #f2f4f7;
    --c-bg-2: #f8f9fa;
    --c-white: #ffffff;

    /* 深色 Hero */
    --c-hero-1: #1a2a44;
    --c-hero-2: #2a4d79;

    /* 其他品牌色（保留） */
    --c-facebook: #1877f2;
    --c-twitter: #000;
    --c-weibo: #e6162d;
    --c-telegram: #229ed9;
    --c-whatsapp: #25d366;
    --c-linkedin: #0a66c2;
    --c-reddit: #ff4500;
    --c-pinterest: #e60023;
    --c-viber: #7c60f2;
    --c-blogger: #fe6602;
    --c-evernote: #00a82d;
    --c-stumble: #eb4823;
    --c-pocket: #ee4257;
    --c-instapaper: #2a2a2a;
    --c-alipay: #1677ff;
    --c-wechat: #07c160;
    --c-paypal: #003087;
}

/* =========================================================
   1. 基础重置 / 滚动条 / 通用元素
   ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--c-bg);
    color: var(--c-text);
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
    outline: none;
}

img.logo-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--c-border-2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* =========================================================
   2. 顶部导航 / 搜索 / 移动搜索
   ========================================================= */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 12px 24px;
    background-color: var(--c-white);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c-bg);
    color: var(--c-text);
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background-color: var(--c-border);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.logo-box {
    height: 35px;
    display: flex;
    align-items: center;
}

.logo-box img {
    height: 40px;
}

.logo-inverse {
    height: 40px;
    display: none;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: var(--c-bg);
    border-radius: 8px;
    padding: 8px 16px;
    width: 380px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    margin-left: 10px;
}

.search-bar:focus-within {
    background-color: var(--c-white);
    border-color: var(--c-red);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.search-bar input {
    border: none;
    background: none;
    outline: none;
    width: 100%;
    min-width: 320px;
    font-size: 14px;
    color: var(--c-text);
    margin-left: 8px;
}

form#search-form {
    display: flex;
}

.search-bar input::placeholder {
    color: var(--c-text-3);
}

.search-bar svg,
.search-bar.pc-search svg {
    width: 18px;
    height: 18px;
    fill: var(--c-text-3);
    margin-top: 3px;
}

.search-bar.pc-search {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
    left: calc(264px + max(0px, (100% - 1920px) / 2));
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-search-trigger {
    display: none;
}

.mobile-search-dropdown {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: var(--c-white);
    padding: 12px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 99;
    border-bottom: 1px solid var(--c-border);
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-search-dropdown.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-search-dropdown .search-bar {
    width: 100%;
    margin-left: 0;
}

/* 搜索历史 */
.search-history-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 280px;
    background: var(--c-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 25, 50, 0.14);
    padding: 8px;
    display: none;
    z-index: 999;
}

.search-history-panel.is-open {
    display: block;
}

.search-history-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px 9px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #9aa1ac;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 6px;
}

.search-history-clear {
    border: 0;
    background: none;
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    color: #9aa1ac;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 5px;
    transition: 0.15s ease;
}

.search-history-clear:hover {
    color: var(--c-danger-4);
    background: rgba(255, 90, 54, 0.08);
}

.search-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 320px;
    overflow-y: auto;
}

.search-history-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 13.5px;
    color: #4a5260;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-history-item:hover {
    background: var(--c-bg-2);
    color: var(--c-danger-3);
}

.search-history-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    fill: #c9cfd8;
}

.search-history-item:hover svg {
    fill: var(--c-danger-3);
}

.search-history-item span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-history-empty {
    padding: 20px 10px;
    text-align: center;
    font-size: 12.5px;
    color: #9aa1ac;
}

input.go {
    color: var(--c-text-2);
    border: none;
    font-weight: 600;
    background: none;
}

/* =========================================================
   3. 语言选择 / 用户菜单 / 通用下拉
   ========================================================= */
.lang-select {
    position: relative;
    user-select: none;
    z-index: 10;
}

.lang-select-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 30px 8px 12px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    background-color: var(--c-white);
    color: var(--c-text-2);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    line-height: 1.2;
}

.lang-select-btn:hover {
    background-color: var(--c-bg);
    border-color: var(--c-border-2);
}

.lang-select-arrow {
    position: absolute;
    right: 8px;
    width: 14px;
    height: 14px;
    fill: var(--c-text-2);
    transition: transform 0.2s ease;
}

.lang-select.active .lang-select-arrow {
    transform: rotate(180deg);
}

.lang-select-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: auto;
    min-width: 180px;
    max-height: 360px;
    overflow-y: auto;
    background-color: var(--c-white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--c-border);
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 2px;
    max-width: calc(100vw - 24px);
}

.lang-select.active .lang-select-menu {
    display: flex;
}

.lang-select-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    font-size: 13px;
    color: var(--c-text-2);
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.lang-select-item:hover {
    background-color: var(--c-bg);
    color: var(--c-text);
}

.lang-select-item.active {
    color: var(--c-red);
    background-color: var(--c-red-warm);
    font-weight: 500;
}

.lang-select-divider {
    height: 1px;
    background: var(--c-border);
    margin: 4px 6px;
    flex-shrink: 0;
}

.lang-select-menu::-webkit-scrollbar {
    width: 6px;
}

.lang-select-menu::-webkit-scrollbar-thumb {
    background: var(--c-border-2);
    border-radius: 10px;
}

.lang-select-menu::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.lang-select-menu::-webkit-scrollbar-track {
    background: transparent;
}

#currentLangText {
    align-items: center;
    display: flex;
}

#currentLangText svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

#currentLangText i {
    margin-right: 5px;
}

.custom-dropdown {
    position: relative;
    user-select: none;
    z-index: 10;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 30px 0 12px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    background-color: var(--c-white);
    color: var(--c-text-2);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.dropdown-btn:hover {
    background-color: var(--c-bg);
    border-color: var(--c-border-2);
}

.dropdown-btn .arrow-down {
    position: absolute;
    right: 8px;
    width: 14px;
    height: 14px;
    fill: var(--c-text-2);
    transition: transform 0.2s ease;
}

.custom-dropdown.active .arrow-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 140px;
    background-color: var(--c-white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--c-border);
    padding: 4px;
    display: none;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
    z-index: 200;
    max-width: calc(100vw - 24px);
}

.dropdown-menu.right-align {
    left: auto;
    right: 0;
}

.custom-dropdown.active .dropdown-menu {
    display: flex;
}

.dropdown-item {
    padding: 8px 12px;
    font-size: 13px;
    color: var(--c-text-2);
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background-color: var(--c-bg);
}

.dropdown-item.active {
    color: var(--c-red);
    background-color: var(--c-red-warm);
    font-weight: 600;
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

/* 用户菜单 */
.user-dropdown .dropdown-menu {
    min-width: 160px;
    max-width: calc(100vw - 24px);
    padding: 6px;
}

.user-dropdown .dropdown-divider {
    height: 1px;
    background: var(--c-border);
    margin: 4px 6px;
    flex-shrink: 0;
}

.user-dropdown.active>.icon-btn {
    background-color: var(--c-border);
    color: var(--c-red);
}

.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: var(--c-border);
}

.user-menu-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 10px;
}

.user-menu-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--c-border);
    background: var(--c-bg);
}

.user-menu-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-menu-nickname {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-menu-username {
    font-size: 12px;
    color: var(--c-text-3);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown .dropdown-item.user-logout {
    color: var(--c-red);
}

.user-dropdown .dropdown-item.user-logout:hover {
    background-color: var(--c-red-soft);
    color: var(--c-red-dark);
}

/* 主题切换 */
.theme-switch {
    flex-shrink: 0;
    width: 56px;
    height: 30px;
    padding: 0;
    border-radius: 15px;
    background: none;
    -webkit-tap-highlight-color: transparent;
}

.theme-switch-track {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background-color: var(--c-border);
    transition: background-color 0.3s ease;
}

.theme-switch:hover .theme-switch-track {
    background-color: var(--c-border-2);
}

.theme-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #6d6d6d url(/images/earth.gif);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
    will-change: transform;
}

.theme-switch-thumb .theme-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease, fill 0.25s ease;
}

.icon-sun {
    opacity: 1;
    fill: var(--c-yellow);
}

.icon-moon {
    opacity: 0;
    fill: var(--c-text-2);
}

.theme-switch:focus-visible .theme-switch-track {
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.25);
}

/* =========================================================
   4. 国旗
   ========================================================= */
[class*="span-flag-"] {
    display: inline-block;
    width: 22px;
    height: 15px;
    border-radius: 2px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06) inset;
    vertical-align: middle;
}

.span-flag-cn {
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAPCAMAAADXs89aAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAWlBMVEXuHCXuHyXvLiLvLCL3kRLuHSX4pg/vJCTuICTyTB3vLSLvKiP5swz//AD83AbxSh3yVRzvLyLzXRr80wfxQB/uHiXxQR/1dBfxPh/vJyP2gxTuISTwMCL///+JvmHHAAAAAWJLR0Qd6wNxkQAAAAd0SU1FB+cKHgMuGVDJpiIAAABGSURBVBjTY2CAAEYGDMDEwMDMwoohzMbOwMDByYUqyM3Dy8fPwCAgiKZYSJgNYhIqEBEVA5LiEpiWMkhKMWAD0jIMQwsAAIJaAZ9Z6ILAAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTEwLTMwVDAzOjQ2OjI1KzAwOjAwEwnsoQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0xMC0zMFQwMzo0NjoyNSswMDowMGJUVB0AAAAASUVORK5CYII=");
}

.span-flag-hk {
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAPCAMAAADXs89aAAAAV1BMVEXuHCX3lJjuHSb/+vr6wsT6vL/5q674mZ3////+7/D92tv80tT7ysz2iY32hIn1e4HzYGfxQkrwOEDvLjbvJC3+9fb94+T7x8n4pan4naH3lZn0ZmzyTlUIOk4PAAAAVElEQVQY063QNxaAMAwDUJzeSaHD/c8JK3bGePyDrKdp7DFQrMP37inOT+TqkBnx6rUQXPLy58tuKYGuC3qYNURz0vBgQDiszVnVgqS1v9RShy7xAqspAohwq0soAAAAAElFTkSuQmCC");
}

.span-flag-en {
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAPCAMAAADXs89aAAAAhFBMVEULKG4CImqbYoGQf6CPnb2ZY4OPfqCLmrs0TYfIEC4BIWnqprHSPFXLHjr///9BWY/W2+dZbZ1JYJPQ1uPIz9/tv8bIn7PRlafWS2LRR13RNk/ONE333eHAyNr88fL19vn36+/d4uvBydqDkrZ3iK7OK0bKGDX05en54+f00tf0zdTzzdPJYBu+AAAACXRSTlMQGUU3Mi4kIR5hxGtMAAAAo0lEQVQY023P1xKDIBAF0E2sQIKAvWDXtP//v0hW9CX3hd1zZxgA94IJnevVCffFBS4kNYkYISz6jTKvoGZYICOWKWQFFsiIPAGqsJgMT4iKQhzHQ980LTf83M5u2AjuNish67EA+Ru42SyELMcCWo+i4/2nMXfz9vV+iFFroFJwVhfZbHhOeFpWuaSAqOy7FRaAeP4SC0A8GQsIYI/veb6dgy+AWRKccSTpPAAAAABJRU5ErkJggg==");
}

.span-flag-kr {
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAPCAMAAADXs89aAAAAhFBMVEX///8BR6A7OzvNLjoxMTFSUlLr6+vk5OTOzs64uLijo6OcnJwLRpuIiIhPT0+5MET4+vz++frF1em1yuP0z9Lwwsa3t7cWV6iTk5PRQEtFRUXOND/W4fD33d/k09zYzNlwjb9UZqCshJ+Rc5jkjJMxQYjEa3xbW1uNNlpZWVmwMkg0NDQudD2CAAAAi0lEQVQY032Q1w7DIAxFbWPIKAmZTdN07/H//1dUhBqhivNkXVlXx4YYi79jTmXqprSk3KeKmROou66GhN9SgaMgWkE/CjH2sFxT4dczCbtJWKYtyAxmnGxoHuYSuByNeGnUtyA+6KtGxDM4fPcGv+xd98+kHRCHdm6i+Gm9q6aprPddquiV4U8ifABB0AZKV6jG6wAAAABJRU5ErkJggg==");
}

.span-flag-jp {
    background: #fff;
}

.span-flag-jp::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #bc002d;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.span-flag-ru {
    background: linear-gradient(180deg,
            #fff 33.3%,
            #0039a6 33.3%,
            #0039a6 66.6%,
            #d52b1e 66.6%);
}

.span-flag-ar {
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAPBAMAAAASQyJbAAAAKlBMVEUAhD1zQjQhcTv///8AhD0AAADIEC6Awp4/Pz/10tgmbjomAwmOoIlZNjzQV4VNAAAAA3RSTlNAcEmq08ncAAAALElEQVQI12MQFFRggIG0tCUuUEAk+3g5FADZk42hgEj2jQ4oALK3hkIBMWwAXIM2Mnjtv00AAAAASUVORK5CYII=");
}

.span-flag-es {
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAPCAMAAADXs89aAAAAWlBMVEWtFRn6vQDAPxPFShEQDQYnGxogHRNMPQ4wCw41JAwnDAkjDAggFwMbJCcQGiVuYSM5KxQoHxAiFg5GHw0xFQxmNQppRQi1iweGYQdEKwdZQAMxKAIqGgLprwAi/GO8AAAATElEQVQY063KNxLAIAwAQWGLjHMO/P+bzEAFouTKnYMmddWAxS7JshJLsQrKrzMcP8L37hRuhA9jkStf8ql/izO5p0Evz5hxXw1aFADXhQLhcygbzwAAAABJRU5ErkJggg==");
}

.span-flag-ta {
    background: linear-gradient(180deg,
            #ff9933 33.3%,
            #fff 33.3%,
            #fff 66.6%,
            #138808 66.6%);
}

.span-flag-ta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3.5px;
    height: 3.5px;
    border: 1px solid #000080;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.span-flag-de {
    background: linear-gradient(180deg,
            #000 33.3%,
            #dd0000 33.3%,
            #dd0000 66.6%,
            #ffce00 66.6%);
}

.span-flag-fr {
    background: linear-gradient(to right,
            #002395 0 33.333%,
            #ffffff 33.333% 66.666%,
            #ed2939 66.666% 100%);
}

.span-flag-pt {
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAPCAMAAADXs89aAAAAh1BMVEXtHCQAYDUsUzKHIiddYhv///+EUEUUYS9UYx94WB3AQR2+RRxZVBmYUxldWBhtWhfv7vTj3+DFxde3mJnAZ2rAZmmwPkJ1Sj93VT2HOjunMzdZUC+uKi+fKi5mTytJRidUWSZ0TSVkUSTgHCSdLSCvMB87NhxkXhthRxtHQhtSVBpPRRpSTRmZUkyaAAAAXElEQVQY02NghAImBmRAnjA7CzcWYQ4FeUUlLnRhHjkNZmZmNVV0YTYRVlZmTl40YU02USEBZm0+NGEtCTFBYSl+dNV86pIysuI6KhguYZHm5OfC6m5lyjyPKQwAOeAEzaXHHXsAAAAASUVORK5CYII=");
}

.span-flag-tu {
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAPCAMAAADXs89aAAAASFBMVEXjChfzk5npQErmHir////tY2vkDxz/+/v+9vf5ys32rrPxiI7uaHDqR1DoOkToMz7mJDDlFyT98fH85eb5xsn4xcjubHTrTVf6b8MPAAAAQ0lEQVQY02OgIuDnZcYUFBBh52IUwxDm5GBiYGBjFkQVZWJhBNPcrHzIwqwsPCBKXFiIDZdqwmYzCIgCXcKDw91UBwA7sgHJMhyl9wAAAABJRU5ErkJggg==");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/* =========================================================
   5. 页面布局 / 左侧常驻菜单
   ========================================================= */
.page-layout {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-content: flex-start;
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
}

.page-layout>.main-container {
    flex: 1;
    min-width: 0;
}

.page-layout>.mobile-search-dropdown {
    display: none !important;
}

.sidebar-nav {
    width: 240px;
    background-color: var(--c-white);
    border-right: 1px solid var(--c-border);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    overflow-y: auto;
}

.sidebar-nav.hidden-nav {
    width: 0;
    overflow: hidden;
    border-right: none;
    opacity: 0;
}

.nav-group {
    padding: 10px 0;
    border-bottom: 1px solid var(--c-bg);
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--c-text-2);
    cursor: pointer;
    transition: background 0.2s;
    gap: 12px;
    white-space: nowrap;
    font-weight: 500;
}

.nav-item:hover {
    background-color: var(--c-bg);
}

.nav-item.active {
    color: var(--c-text);
    font-weight: 600;
    background-color: var(--c-bg-2);
}

.nav-item svg {
    width: 18px;
    height: 18px;
    fill: var(--c-text-3);
}

.nav-item.active svg {
    fill: var(--c-text);
}

.nav-btns {
    padding: 16px 20px;
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--c-bg);
}

.btn-red {
    background-color: #E50914;
    color: #fff;
}

.btn-red:hover {
    background-color: #f44336;
}

.btn-copy,
.btn-success {
    background-color: #1e9423;
    color: #fff;
}

.btn-copy:hover,
.btn-success:hover {
    background: #4CAF50;
}

.btn-su,
.btn-green {
    flex: 1;
    padding: 8px 0;
    text-align: center;
    border-radius: 20px;
    background-color: var(--c-green);
    color: var(--c-white);
    font-size: 13px;
    font-weight: 500;
    display: block;
    transition: background 0.2s;
}

.btn-green:hover {
    background-color: var(--c-green-dark);
}

.nav-footer {
    padding: 20px;
    margin-top: auto;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 12px;
    color: var(--c-text-3);
    margin-bottom: 12px;
}

.nav-links a:hover {
    color: var(--c-text);
}

.nav-copy {
    font-size: 12px;
    color: var(--c-text-3);
}

.main-content {
    flex: 1;
    min-width: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--c-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: "";
    display: block;
    width: 4px;
    height: 18px;
    background-color: var(--c-red);
    border-radius: 2px;
}

.section-more {
    font-size: 13px;
    color: var(--c-text-3);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.section-more:hover {
    color: var(--c-red);
}

.section-more svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* =========================================================
   6. 首页 Hero / 热门频道 / 横向滚动
   ========================================================= */
.hero-slider-container {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.hero-banner {
    flex: 0 0 100%;
    min-width: 100%;
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px;
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 280px;
}

.hero-content {
    max-width: 500px;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    background-color: var(--c-red);
    color: var(--c-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--c-red);
    color: var(--c-white);
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
}

.hero-btn:hover {
    background-color: var(--c-red-dark);
}

.hero-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 5;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
    background-color: var(--c-red);
    width: 24px;
    border-radius: 5px;
}

.hot-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hot-grid::-webkit-scrollbar {
    display: none;
}

.hot-card {
    flex: 0 0 280px;
    background-color: var(--c-white);
    border-radius: 12px;
    border: 1px solid var(--c-border);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: var(--c-border-2);
}

.hot-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    flex-shrink: 0;
}

.hot-logo img {
    height: 50px;
    border: 1px solid #eeeeee;
    border-radius: 5px;
}

.hot-info {
    flex: 1;
    min-width: 0;
}

.hot-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-desc {
    font-size: 13px;
    color: var(--c-text-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-nav-btns {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hot-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-2);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.hot-nav-btn:hover:not(:disabled) {
    background-color: var(--c-bg);
    border-color: var(--c-border-2);
    color: var(--c-red);
}

.hot-nav-btn:active:not(:disabled) {
    transform: scale(0.94);
}

.hot-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.hot-nav-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* 专题分类折叠 */
.nav-item-toggle {
    cursor: pointer;
    user-select: none;
}

.nav-toggle-arrow {
    width: 18px;
    height: 18px;
    fill: var(--c-text-3);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.nav-item-toggle.active .nav-toggle-arrow {
    transform: rotate(180deg);
}

.nav-item-toggle.active {
    color: var(--c-text);
    font-weight: 600;
}

.nav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-subitem {
    display: block;
    padding: 9px 20px 9px 50px;
    font-size: 13px;
    color: var(--c-text-3);
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    position: relative;
}

.nav-subitem::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--c-border-2);
    transform: translateY(-50%);
    transition: background 0.2s;
}

.nav-subitem:hover {
    background-color: var(--c-bg);
    color: var(--c-text);
}

.nav-subitem:hover::before {
    background: var(--c-red);
}

.scroll-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.scroll-row::-webkit-scrollbar {
    display: none;
}

.scroll-card {
    flex: 0 0 200px;
    background-color: var(--c-white);
    border-radius: 12px;
    border: 1px solid var(--c-border);
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
    transition: all 0.2s ease;
}

.scroll-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.scroll-card.off {
    filter: grayscale(100%);
    opacity: 0.85;
    -webkit-filter: grayscale(100%);
}

.scroll-img-box {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
}

.scroll-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: 100%;
    height: 120px;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.scroll-card:hover .play-icon-overlay {
    opacity: 1;
}

.play-icon-overlay svg {
    width: 16px;
    height: 16px;
    fill: var(--c-white);
    margin-left: 2px;
}

.scroll-name {
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-top: 1px solid var(--c-bg);
}

.scroll-name mark {
    background: transparent;
    color: var(--c-red);
    font-weight: 700;
}

.scroll-tag {
    position: absolute;
    right: 5px;
    bottom: 5px;
    font-size: 12px;
    background: var(--c-red);
    color: var(--c-white);
    border-radius: 10px;
    padding: 1px 10px;
}

/* =========================================================
   7. 列表页 / 频道网格 / 搜索页
   ========================================================= */
.listpage-header {
    background-color: var(--c-hero-1);
    background-image: linear-gradient(to right,
            rgba(26, 42, 68, 0.8),
            rgba(26, 42, 68, 0.4)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><rect width="100%" height="100%" fill="%232a4d79"/><path d="M200 50 Q300 100 200 200 T400 300" stroke="%23456a9c" stroke-width="2" fill="none" opacity="0.5"/><circle cx="600" cy="150" r="100" fill="%23366599" opacity="0.3"/><path d="M700 50 L800 100 L750 200 L850 250" stroke="%23456a9c" stroke-width="3" fill="none" opacity="0.5"/></svg>');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 40px;
    color: var(--c-white);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.listpage-left {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.listpage-icon-box {
    width: 120px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.listpage-icon-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.listpage-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--c-white);
}

.listpage-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.listpage-right {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.listpage-search {
    display: flex;
    align-items: center;
    background-color: var(--c-white);
    border-radius: 4px;
    padding: 8px 12px;
    border: 1px solid;
    width: 260px;
}

.listpage-search form {
    display: flex;
    align-items: center;
    width: 100%;
}

.listpage-search input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 13px;
    color: var(--c-text);
}

.listpage-search svg {
    width: 18px;
    height: 18px;
    fill: var(--c-text-3);
    margin-right: 8px;
}

.listpage-stat {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--c-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.country-tags-box {
    background-color: var(--c-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.country-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.country-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 14px;
    color: var(--c-text-2);
    background: var(--c-bg);
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.country-tag:hover {
    background: var(--c-border);
}

.country-tag.active {
    background: var(--c-red);
    color: var(--c-white);
    font-weight: 500;
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.channel-card {
    background-color: var(--c-white);
    border-radius: 8px;
    border: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.channel-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: var(--c-border-2);
}

.card-logo-area {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: var(--c-white);
}

.card-logo-area img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-name-area {
    padding: 12px;
    border-top: 1px solid var(--c-bg);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-hero {
    background-color: var(--c-hero-1);
    background-image: linear-gradient(to right, rgba(26, 42, 68, 0.88), rgba(26, 42, 68, 0.55)),
        url('/images/search.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 32px 40px;
    color: var(--c-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.search-hero h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.search-hero .search-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 20px;
}

.search-hero .search-desc .keyword {
    color: var(--c-yellow-soft);
    font-weight: 600;
}

.search-hero .search-desc strong {
    color: var(--c-white);
    font-weight: 600;
}

.search-form {
    display: flex;
    align-items: stretch;
    gap: 12px;
    max-width: 720px;
}

.search-form .search-bar {
    flex: 1;
    width: auto;
    margin-left: 0;
    padding: 12px 16px;
    border-radius: 8px;
    background-color: var(--c-white);
    border: 1px solid transparent;
}

.search-form .search-bar input {
    font-size: 15px;
}

.search-form .search-bar:focus-within {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.btn-search {
    padding: 0 30px;
    border-radius: 8px;
    background-color: var(--c-red);
    color: var(--c-white);
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.btn-search:hover {
    background-color: var(--c-red-darker);
}

.search-info-bar {
    background-color: var(--c-white);
    border-radius: 8px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease;
}

.search-info-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search-info-label {
    font-size: 13px;
    color: var(--c-text-3);
    margin-right: 2px;
}

.search-right-left {
    font-size: 13px;
    color: var(--c-text-3);
}

.search-right-left strong {
    color: var(--c-red);
    font-weight: 600;
}

.empty-state {
    width: 100%;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 56px 24px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: background-color 0.3s ease;
}

.empty-state[hidden] {
    display: none !important;
}

.empty-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: var(--c-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.empty-icon svg {
    width: 48px;
    height: 48px;
    fill: var(--c-text-5);
}

.empty-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 8px;
}

.empty-desc {
    font-size: 14px;
    color: var(--c-text-3);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 20px;
}

.empty-desc .keyword {
    color: var(--c-red);
    font-weight: 600;
    word-break: break-all;
}

.empty-suggestions {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--c-text-2);
    text-align: left;
}

.empty-suggestions p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.empty-suggestions p::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--c-text-5);
    flex-shrink: 0;
}

.empty-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.empty-actions [hidden] {
    display: none !important;
}

/* =========================================================
   8. 分页
   ========================================================= */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 16px;
}

.pagination[hidden] {
    display: none !important;
}

.pagination li {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
    color: var(--c-text-2);
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.pagination li.selected {
    background-color: var(--c-red);
    border-color: var(--c-red);
    color: var(--c-white);
    font-weight: 500;
}

.pagination li:hover:not(.disabled):not(.ellipsis) {
    background-color: var(--c-bg);
    border-color: var(--c-border-2);
    color: var(--c-text);
}

.pagination li.disabled {
    color: var(--c-border-2);
    cursor: not-allowed;
    background-color: var(--c-bg);
    border-color: var(--c-border);
}

.pagination li.ellipsis {
    cursor: default;
    border-color: transparent;
    background-color: transparent;
    color: var(--c-text-3);
}

.pagination li a {
    display: flex;
    align-items: center;
}

.pagination li svg {
    width: 14px;
}

.pagination li.maininfo {
    margin-right: 5px;
}

.pagination li.thisclass {
    background-color: var(--c-danger-3);
    color: #fff;
}

.page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
    color: var(--c-text-2);
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.page-item:hover:not(.disabled):not(.ellipsis) {
    background-color: var(--c-bg);
    border-color: var(--c-border-2);
    color: var(--c-text);
}

.page-item.active {
    background-color: var(--c-red);
    border-color: var(--c-red);
    color: var(--c-white);
    font-weight: 500;
}

.page-item.disabled {
    color: var(--c-border-2);
    cursor: not-allowed;
    background-color: var(--c-bg);
    border-color: var(--c-border);
}

.page-item.ellipsis {
    cursor: default;
    border-color: transparent;
    background-color: transparent;
    color: var(--c-text-3);
}

/* =========================================================
   9. 播放页
   ========================================================= */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.content-area {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-wrapper {
    background-color: #000000;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 655px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
}

.video-content iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    background: #ffffff;
}

.video-inner {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.video-inner.pip-mode {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 280px;
    height: 157px;
    z-index: 9999;
    border: 2px solid var(--c-red);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.video-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    gap: 12px;
    border: none;
}

.video-content svg {
    width: 64px;
    height: 64px;
    opacity: 0.5;
    fill: #6b7280;
}

.video-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--c-white);
}

.player-info-bar {
    background-color: var(--c-white);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 50;
    flex-wrap: wrap;
    gap: 12px;
}

.channel-title-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.channel-logo-small {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-logo-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--c-border);
}

.channel-title-text h1 {
    font-size: 17px;
    font-weight: 600;
}

.live-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--c-green-2);
    background-color: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.live-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--c-green-2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.controls {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.control-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c-white);
    color: var(--c-text-2);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.control-btn:hover {
    background-color: var(--c-bg);
    border-color: var(--c-border-2);
}

.control-btn.active {
    background-color: var(--c-red-warm);
    color: var(--c-orange-dark);
    border-color: var(--c-orange-border);
}

.control-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.about-section {
    background-color: var(--c-white);
    border-radius: 10px;
    padding: 24px;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease;
    min-width: 0;
}

.about-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.about-section .about-title::before {
    content: "";
    display: block;
    width: 4px;
    height: 18px;
    background-color: var(--c-red);
    border-radius: 2px;
    margin-right: 8px;
}

.about-section p {
    font-size: 14px;
    color: var(--c-text-2);
    line-height: 1.6;
}

.about-body {
    color: #7f7f7f;
}

/* 播放页右侧栏 */
.sidebar {
    width: 380px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateX(0);
    flex-shrink: 0;
}

.sidebar.hidden {
    width: 0;
    opacity: 0;
    transform: translateX(20px);
    overflow: hidden;
    margin-left: -24px;
    pointer-events: none;
}

.sidebar-card {
    background-color: var(--c-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease;
}

.sidebar-card.current-channel-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.25s ease;
}

.channel-logo-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.channel-logo-large img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border: 1px solid var(--c-border);
    border-radius: 8px;
}

.channel-title {
    display: flex;
    font-size: 16px;
    justify-content: center;
    margin: 10px 0;
    line-height: 1.4;
    word-break: break-word;
}

.current-channel-info {
    width: 100%;
    padding: 0 15px;
}

.current-channel-info h2 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
}

.current-channel-info .category-text {
    font-size: 12px;
    color: var(--c-text-3);
    margin-bottom: 8px;
}

.meta-info-inline {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13.5px;
    color: var(--c-text-3);
    padding-top: 8px;
    border-top: 1px solid var(--c-bg);
}

.meta-info-inline ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-info-inline li {
    display: flex;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px solid #8f959e1f;
    font-size: 0.8125rem;
    line-height: 1.55;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.meta-info-inline li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.meta-info-inline li svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    margin-top: 2px;
    color: var(--c-text-3);
    stroke: currentColor;
}

.meta-info-inline li a {
    margin-left: 10px;
    color: var(--c-red);
}

.meta-info-inline li a:hover {
    color: #4CAF50;
}

.meta-info-inline span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tabs-container {
    padding: 0;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--c-border);
    margin-bottom: 16px;
    justify-content: space-between;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    flex-shrink: 0;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--c-text-2);
    cursor: pointer;
    position: relative;
    font-weight: 500;
    transition: color 0.2s;
    user-select: none;
}

.tab:hover {
    color: var(--c-text);
}

.tab.active {
    color: var(--c-red);
    font-weight: 600;
}

.tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--c-red);
    border-radius: 2px 2px 0 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content-ad,
.tab-content-text {
    background-color: var(--c-bg-2);
    justify-content: center;
    color: var(--c-text-3);
    font-size: 14px;
    border-radius: 8px;
    padding: 10px;
    line-height: 30px;
}

.tab-content-ad {
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.donate-txt {
    color: var(--c-danger-3);
}

.recommend-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.recommend-item {
    border: 1px solid var(--c-border);
    border-radius: 8px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: var(--c-white);
}

.recommend-item:hover {
    border-color: var(--c-border-2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.recommend-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.recommend-logo img {
    height: 100%;
    object-fit: contain;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    max-width: 100%;
}

.recommend-name {
    font-size: 13px;
    color: var(--c-text-2);
    font-weight: 500;
}

/* =========================================================
   10. 抽屉 / 弹层 / 分享 / 返回顶部 / 友链 / 页脚
   ========================================================= */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--c-white);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
}

.drawer.active {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--c-bg);
}

.drawer-header .logo-box {
    height: 24px;
}

.drawer-header .logo-box img {
    height: 100%;
}

.drawer-list {
    padding: 10px 0;
    border-bottom: 1px solid var(--c-bg);
}

.drawer-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--c-text-2);
    cursor: pointer;
    transition: background 0.2s;
    gap: 12px;
}

.drawer-item:hover {
    background-color: var(--c-bg);
}

.drawer-item svg {
    width: 18px;
    height: 18px;
    fill: var(--c-text-3);
    flex-shrink: 0;
}

.drawer-item.active {
    color: var(--c-text);
    font-weight: 600;
}

.drawer-item.active svg {
    fill: var(--c-text);
}

.drawer-btns {
    padding: 20px;
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--c-bg);
}

.drawer-btns .btn-green {
    padding: 10px 0;
    font-size: 14px;
}

.drawer-footer {
    padding: 20px;
    margin-top: auto;
}

.drawer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--c-text-3);
    margin-bottom: 12px;
}

.drawer-links a:hover {
    color: var(--c-text);
}

.drawer-copy {
    font-size: 12px;
    color: var(--c-text-3);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--c-white);
    border-radius: 12px;
    padding: 24px;
    min-width: 300px;
    max-width: 80%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c-bg);
    color: var(--c-text-2);
    cursor: pointer;
}

.modal-close:hover {
    background-color: var(--c-border);
}

.modal-close svg:hover {
    transition: transform 0.3s ease;
    transform: rotate(180deg);
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-foot {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px 22px;
    border-top: 1px solid #F2F4F7;
    flex-shrink: 0;
    flex-wrap: wrap;
    transition: border-color 0.3s ease;
}

.qrcode-img {
    width: 200px;
    height: 200px;
    background-color: var(--c-bg);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px dashed var(--c-border-2);
    color: var(--c-text-3);
    padding: 10px;
}

.share-icons {
    display: grid;
    justify-content: space-around;
    margin-top: 10px;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.share-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--c-text-2);
    cursor: pointer;
}

.share-icon-item svg {
    width: 32px;
    height: 32px;
}

.sharer-btn {
    display: grid;
}

.sharer-btn svg {
    width: 32px;
    height: 32px;
}

.sharer-btn.qzone .sharer-icon {
    color: #f5c926;
}

.sharer-btn.facebook .sharer-icon {
    color: var(--c-facebook);
}

.sharer-btn.twitter .sharer-icon {
    color: var(--c-twitter);
}

.sharer-btn.weibo .sharer-icon {
    color: var(--c-weibo);
}

.sharer-btn.telegram .sharer-icon {
    color: var(--c-telegram);
}

.sharer-btn.whatsapp .sharer-icon {
    color: var(--c-whatsapp);
}

.sharer-btn.linkedin .sharer-icon {
    color: var(--c-linkedin);
}

.sharer-btn.reddit .sharer-icon {
    color: var(--c-reddit);
}

.sharer-btn.pinterest .sharer-icon {
    color: var(--c-pinterest);
}

.sharer-btn.viber .sharer-icon {
    color: var(--c-viber);
}

.sharer-btn.myspace .sharer-icon {
    color: #000000;
}

.sharer-btn.blogger .sharer-icon {
    color: var(--c-blogger);
}

.sharer-btn.evernote .sharer-icon {
    color: var(--c-evernote);
}

.sharer-btn.flipboard .sharer-icon {
    color: var(--c-pinterest);
}

.sharer-btn.stumbleupon .sharer-icon {
    color: var(--c-stumble);
}

.sharer-btn.digg .sharer-icon {
    color: #000000;
}

.sharer-btn.pocket .sharer-icon {
    color: var(--c-pocket);
}

.sharer-btn.instapaper .sharer-icon {
    color: var(--c-instapaper);
}

#backToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--c-white);
    color: var(--c-text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: 1px solid var(--c-border);
}

#backToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTopBtn:hover {
    background-color: var(--c-bg);
    color: var(--c-red);
}

#backToTopBtn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.links {
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.links ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.links li {
    font-size: 13px;
    line-height: 1.8;
    color: var(--c-text-3);
    white-space: nowrap;
}

.links li:first-child {
    color: var(--c-text);
    font-weight: 600;
    margin-right: 4px;
}

.links li a {
    color: var(--c-text-2);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.links li a:hover {
    color: var(--c-red);
}

.links li:last-child {
    margin-left: auto;
}

.links li:last-child a {
    color: var(--c-text-3);
}

.links li:last-child a:hover {
    color: var(--c-red);
}

.footer {
    background-color: var(--c-white);
    padding: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--c-text-3);
    margin-top: auto;
    border-top: 1px solid var(--c-border);
    transition: background-color 0.3s ease;
}

.footer p {
    margin-bottom: 8px;
}

.footer a {
    color: var(--c-text-2);
    margin: 0 8px;
}

.footer a:hover {
    color: var(--c-red);
}

/* =========================================================
   11. 标签组 / 提交表单 / API / 支持框
   ========================================================= */
.channel-tag {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    row-gap: 8px;
    width: 100%;
    margin: 12px 0;
    box-sizing: border-box;
    background-color: var(--c-white);
    border-radius: 10px;
    padding: 24px;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease;
}

.channel-tag .channel-tag-title {
    flex: 0 0 100%;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.channel-tag .channel-tag-title::before {
    content: "";
    display: block;
    width: 4px;
    height: 18px;
    background-color: var(--c-red);
    border-radius: 2px;
    margin-right: 8px;
}

.channel-tag .tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.channel-tag .tag a {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.8125rem;
    line-height: 1.4;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    transition: color 0.2s ease;
}

.channel-tag .tag:hover {
    background: var(--c-blue);
    border-color: var(--c-blue);
    transform: translateY(-1px);
}

.channel-tag .tag:hover a {
    color: var(--c-white);
}

.channel-tag .tag a:focus-visible {
    outline: 2px solid var(--c-blue);
    outline-offset: 2px;
    border-radius: 999px;
}

.submit-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.announcement-container {
    background-color: var(--c-red-warm);
    border: 1px solid var(--c-orange-border);
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--c-orange-dark);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.announcement-icon {
    width: 20px;
    height: 20px;
    fill: var(--c-orange-dark);
    flex-shrink: 0;
    margin-top: 2px;
}

.announcement-text {
    font-size: 14px;
    line-height: 1.6;
}

.announcement-text strong {
    font-weight: 600;
}

.form-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    width: 100%;
}

.form-container {
    flex: 1;
    background-color: var(--c-white);
    border-radius: 12px;
    padding: 32px 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--c-border);
    transition: background-color 0.3s ease;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-row:last-of-type {
    margin-bottom: 0;
}

.hide {
    display: none;
}

.form-label {
    width: 100%;
    flex-shrink: 0;
    padding-top: 0;
    padding-right: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    text-align: left;
}

.form-label .red {
    color: #E50914;
}

.form-control-box {
    flex: 1;
    position: relative;
}

.form-select {
    width: 100%;
    padding: 10px 36px 10px 13px;
    font-family: inherit;
    font-size: 13.5px;
    color: #1F2329;
    background-color: #F8F9FA;
    border: 1px solid #E5E6EB;
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234E5969'><path d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    outline: none;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.form-select option {
    color: #1F2329;
    background-color: #FFFFFF;
}

.form-select:hover {
    border-color: #D1D5DB;
}

.form-select:focus {
    background-color: #FFFFFF;
    border-color: #E50914;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.form-control-box.required::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    width: 4px;
    background-color: var(--c-red);
    border-radius: 2px;
}

.form-control-box.required.textarea-row::before {
    bottom: auto;
    height: 30px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--c-border);
    border-radius: 6px;
    font-size: 14px;
    color: var(--c-text);
    background-color: var(--c-white);
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--c-red);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--c-text-4);
    font-size: 13px;
}

.form-textarea {
    height: 200px;
    resize: vertical;
    line-height: 1.5;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    padding-left: 100px;
}

.btn-submit {
    background-color: var(--c-green);
    color: var(--c-white);
    padding: 10px 40px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
    justify-content: center;
}

.btn-submit:hover {
    background-color: var(--c-green-dark);
}

.btn-reset {
    background-color: var(--c-red);
    color: var(--c-white);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-reset:hover {
    background-color: var(--c-red-dark);
}

.btn-reset svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.sidebar-info {
    width: 300px;
    flex-shrink: 0;
    background-color: var(--c-white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--c-border);
    transition: background-color 0.3s ease;
}

.info-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-bg);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-title svg {
    width: 18px;
    height: 18px;
    fill: var(--c-red);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    font-size: 13px;
    color: var(--c-text-2);
    line-height: 1.6;
    position: relative;
    padding-left: 16px;
}

.info-item::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--c-red);
    font-weight: bold;
}

.info-item strong {
    color: var(--c-text);
}

.api-info {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.875rem;
    line-height: 1.6;
    word-break: break-all;
    text-align: left;
}

.api-info p {
    margin: 0 0 8px;
}

.api-info p:last-child {
    margin-bottom: 0;
}

.api-embed-label {
    float: left;
    font-size: 14px;
    padding: 10px 0;
}

.nettv-textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px 12px;
    border: 1px solid var(--c-border-2);
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas,
        "Liberation Mono", monospace;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #374151;
    background: #f9fafb;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.nettv-textarea:focus {
    border-color: var(--c-blue);
    background: var(--c-white);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
    align-self: flex-start;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.25;
    cursor: pointer;
    align-self: flex-start;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background: var(--c-blue);
    padding: 10px 24px;
    border-radius: 8px;
    color: var(--c-white);
}

.btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.btn-primary:hover {
    background: var(--c-blue-dark);
}

.btn-primary:active {
    background: var(--c-blue-deep);
}

.btn-primary:focus-visible {
    outline: 2px solid var(--c-blue);
    outline-offset: 2px;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    background-color: var(--c-red);
    color: var(--c-white);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.btn-play svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.btn-play:hover {
    background-color: var(--c-red-darker);
}

.btn-outline {
    padding: 9px 20px;
    border-radius: 8px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-outline:hover {
    background-color: var(--c-bg);
    border-color: var(--c-border-2);
    color: var(--c-text);
}

.copy-btn.is-copied {
    background: var(--c-green-3);
    border-color: var(--c-green-3);
    color: var(--c-white);
}

.copy-btn.is-error {
    background: var(--c-danger);
    border-color: var(--c-danger);
    color: var(--c-white);
}

.copy-btn:disabled {
    cursor: default;
    opacity: 0.9;
}

.support-box {
    position: relative;
    background-color: var(--c-white);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    min-height: 100px;
    color: var(--c-text-3);
    font-size: 14px;
    border: 1px dashed var(--c-border-2);
    letter-spacing: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.support-box-tag {
    background: #eee;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    position: absolute;
    bottom: 5px;
    right: 5px;
    z-index: 999999;
}

.bdv_native_logo {
    display: none !important;
}

#vdimgck {
    float: right;
    margin: -33px 10px 0 0;
    z-index: 99999999999;
    position: relative;
}

/* =========================================================
   12. 间距工具类
   ========================================================= */
.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.ml-1 {
    margin-left: 10px;
}

.ml-2 {
    margin-left: 20px;
}

.ml-3 {
    margin-left: 30px;
}

.ml-4 {
    margin-left: 40px;
}

.mr-1 {
    margin-right: 10px;
}

.mr-2 {
    margin-right: 20px;
}

.mr-3 {
    margin-right: 30px;
}

.mr-4 {
    margin-right: 40px;
}

/* =========================================================
   13. 捐赠页
   ========================================================= */
.donate-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.donate-lang-block {
    display: none;
    flex-direction: column;
    gap: 24px;
}

.donate-page[data-active-lang="zh"] .donate-lang-block[data-lang="zh"],
.donate-page[data-active-lang="en"] .donate-lang-block[data-lang="en"] {
    display: flex;
}

.donate-hero {
    position: relative;
    overflow: hidden;
    padding: 28px 24px 28px;
    padding-top: 60px;
    border-radius: 12px;
    color: var(--c-white);
    background: linear-gradient(135deg, var(--c-hero-1) 0%, var(--c-hero-2) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.donate-hero::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.donate-hero::after {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.donate-hero-tag {
    position: relative;
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 16px;
    border-radius: 20px;
    background-color: var(--c-red);
    color: var(--c-white);
    font-size: 12px;
    font-weight: 600;
}

.donate-hero h1 {
    position: relative;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
}

.donate-hero p {
    position: relative;
    max-width: 720px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.donate-lang-switch {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.donate-lang-btn {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: all 0.2s;
}

.donate-lang-btn:hover {
    color: var(--c-white);
}

.donate-lang-btn.is-active {
    background-color: var(--c-white);
    color: var(--c-red);
}

.donate-section-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.donate-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-red);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.donate-section-tag::before {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--c-red);
    border-radius: 2px;
}

.donate-section-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.4;
}

.donate-section-desc {
    max-width: 720px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--c-text-3);
}

.donate-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.donate-method {
    display: flex;
    gap: 16px;
    padding: 20px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.donate-method:hover {
    transform: translateY(-2px);
    border-color: var(--c-border-2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.donate-method-qr {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 10px;
    background-color: var(--c-bg-2);
    border: 1px dashed var(--c-border-2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.donate-method-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.donate-method-qr .qr-placeholder {
    font-size: 12px;
    color: var(--c-text-3);
    text-align: center;
    padding: 0 8px;
    line-height: 1.5;
}

.donate-method-qr.is-text {
    border-style: solid;
    background-color: #fff;
    color: var(--c-red-dark);
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
    word-break: break-all;
}

.donate-method-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.donate-method-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.donate-method-name .brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.donate-method-name.is-alipay .brand-dot {
    background-color: var(--c-alipay);
}

.donate-method-name.is-wechat .brand-dot {
    background-color: var(--c-wechat);
}

.donate-method-name.is-paypal .brand-dot {
    background-color: var(--c-paypal);
}

.donate-method-name.is-bank .brand-dot {
    background-color: var(--c-orange);
}

.donate-method-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--c-text-2);
    margin-bottom: 10px;
}

.donate-method-account {
    font-size: 12.5px;
    color: var(--c-text-3);
    line-height: 1.6;
    word-break: break-all;
}

.donate-method-account strong {
    color: var(--c-text);
    font-weight: 600;
}

.donate-benefits {
    display: none;
    grid-template-columns: 1fr;
    gap: 12px;
}

.donate-benefit {
    padding: 20px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.donate-benefit:hover {
    transform: translateY(-3px);
    border-color: var(--c-border-2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.donate-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--c-red-warm);
    color: var(--c-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.donate-benefit-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.donate-benefit h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.donate-benefit p {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--c-text-2);
}

.donate-sponsors {
    padding: 18px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.donate-sponsor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.donate-sponsor-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    color: var(--c-text-2);
    background-color: var(--c-bg-2);
    border: 1px solid var(--c-border);
    border-radius: 999px;
    transition: all 0.2s;
}

.donate-sponsor-item:hover {
    border-color: var(--c-border-2);
    color: var(--c-text);
}

.donate-sponsor-item svg {
    width: 14px;
    height: 14px;
    fill: var(--c-red);
}

.donate-sponsor-empty {
    padding: 24px;
    text-align: center;
    font-size: 13.5px;
    color: var(--c-text-3);
    border: 1px dashed var(--c-border-2);
    border-radius: 10px;
    line-height: 1.7;
}

.donate-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.donate-faq-item {
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.donate-faq-item:hover {
    border-color: var(--c-border-2);
}

.donate-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--c-text);
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
}

.donate-faq-q svg {
    width: 18px;
    height: 18px;
    fill: var(--c-text-3);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.donate-faq-item.is-open .donate-faq-q svg {
    transform: rotate(180deg);
    fill: var(--c-red);
}

.donate-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.donate-faq-a-inner {
    padding: 0 16px 14px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--c-text-2);
}

.donate-faq-item.is-open .donate-faq-a {
    max-height: 500px;
}

.donate-cta {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dark) 100%);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.2);
}

.donate-cta::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.donate-cta::after {
    content: "";
    position: absolute;
    left: -40px;
    bottom: -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.donate-cta-content {
    position: relative;
    max-width: 600px;
}

.donate-cta-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.donate-cta-content p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.donate-cta-actions {
    position: relative;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.donate-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
}

.donate-cta-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.donate-cta-btn.is-light {
    background-color: var(--c-white);
    color: var(--c-red);
}

.donate-cta-btn.is-light:hover {
    background-color: var(--c-bg);
    transform: translateY(-1px);
}

.donate-cta-btn.is-ghost {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--c-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.donate-cta-btn.is-ghost:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* =========================================================
   14. 免责声明页
   ========================================================= */
.disclaimer-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.disclaimer-lang-block {
    display: none;
    flex-direction: column;
    gap: 24px;
}

.disclaimer-page[data-active-lang="zh"] .disclaimer-lang-block[data-lang="zh"],
.disclaimer-page[data-active-lang="en"] .disclaimer-lang-block[data-lang="en"] {
    display: flex;
}

.disclaimer-hero {
    position: relative;
    overflow: hidden;
    padding: 28px 24px 28px;
    padding-top: 62px;
    border-radius: 12px;
    color: var(--c-white);
    background: linear-gradient(135deg, var(--c-hero-1) 0%, var(--c-hero-2) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.disclaimer-hero::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.disclaimer-hero::after {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.disclaimer-hero-tag {
    position: relative;
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 16px;
    border-radius: 20px;
    background-color: var(--c-red);
    color: var(--c-white);
    font-size: 12px;
    font-weight: 600;
}

.disclaimer-hero h1 {
    position: relative;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.disclaimer-hero>p {
    position: relative;
    max-width: 720px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.disclaimer-hero-meta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.disclaimer-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.disclaimer-hero-meta svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    opacity: 0.7;
}

.disclaimer-lang-switch {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.disclaimer-lang-btn {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: all 0.2s;
}

.disclaimer-lang-btn:hover {
    color: var(--c-white);
}

.disclaimer-lang-btn.is-active {
    background-color: var(--c-white);
    color: var(--c-red);
}

.disclaimer-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.disclaimer-toc {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 88px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    max-height: calc(100vh - 112px);
    overflow-y: auto;
}

.disclaimer-toc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-bg);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
}

.disclaimer-toc-title::before {
    content: "";
    display: block;
    width: 4px;
    height: 16px;
    background-color: var(--c-red);
    border-radius: 2px;
}

.disclaimer-toc-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.disclaimer-toc-list a {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--c-text-2);
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    position: relative;
}

.disclaimer-toc-list a:hover {
    background-color: var(--c-bg);
    color: var(--c-text);
}

.disclaimer-toc-list a.active {
    color: var(--c-red);
    background-color: var(--c-red-warm);
    font-weight: 500;
}

.disclaimer-toc-list a.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background-color: var(--c-red);
    border-radius: 2px;
}

.disclaimer-body {
    flex: 1;
    min-width: 0;
    background-color: var(--c-white);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--c-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.disclaimer-notice {
    margin-bottom: 32px;
    padding: 14px 16px;
    border-radius: 10px;
    background-color: var(--c-red-warm);
    border: 1px solid var(--c-orange-border);
    color: #9a3412;
    font-size: 13px;
    line-height: 1.7;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.disclaimer-notice svg {
    width: 20px;
    height: 20px;
    fill: var(--c-orange-dark);
    flex-shrink: 0;
    margin-top: 2px;
}

.disclaimer-notice strong {
    color: var(--c-red-dark);
    font-weight: 600;
}

.disclaimer-section {
    scroll-margin-top: 88px;
}

.disclaimer-section+.disclaimer-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--c-bg);
}

.disclaimer-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.4;
}

.disclaimer-section h2 .disclaimer-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background-color: var(--c-red-warm);
    color: var(--c-red);
    font-size: 12px;
    font-weight: 700;
}

.disclaimer-section h3 {
    margin: 20px 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.5;
}

.disclaimer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--c-text-2);
    margin-bottom: 12px;
}

.disclaimer-section p:last-child {
    margin-bottom: 0;
}

.disclaimer-section ul,
.disclaimer-section ol {
    margin: 8px 0 14px;
    padding-left: 20px;
    color: var(--c-text-2);
    font-size: 14px;
    line-height: 1.8;
}

.disclaimer-section ul {
    list-style: disc;
}

.disclaimer-section ol {
    list-style: decimal;
}

.disclaimer-section li {
    margin-bottom: 6px;
}

.disclaimer-section li::marker {
    color: var(--c-red);
}

.disclaimer-section a {
    color: var(--c-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.disclaimer-section a:hover {
    color: var(--c-blue-dark);
}

.disclaimer-contact {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 10px;
    background-color: var(--c-bg-2);
    border: 1px solid var(--c-border);
    font-size: 14px;
    line-height: 1.8;
    color: var(--c-text-2);
}

.disclaimer-contact strong {
    color: var(--c-text);
}

.disclaimer-contact a {
    color: var(--c-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* =========================================================
   15. 关于页
   ========================================================= */
.aboutpage {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.about-lang-block {
    display: none;
    flex-direction: column;
    gap: 32px;
}

.aboutpage[data-active-lang="zh"] .about-lang-block[data-lang="zh"],
.aboutpage[data-active-lang="en"] .about-lang-block[data-lang="en"] {
    display: flex;
}

.aboutpage-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 40px;
    border-radius: 12px;
    color: var(--c-white);
    background: linear-gradient(135deg, var(--c-hero-1) 0%, var(--c-hero-2) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.aboutpage-hero::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.aboutpage-hero::after {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.aboutpage-hero-tag {
    position: relative;
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 16px;
    border-radius: 20px;
    background-color: var(--c-red);
    color: var(--c-white);
    font-size: 12px;
    font-weight: 600;
}

.aboutpage-hero h1 {
    position: relative;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
}

.aboutpage-hero p {
    position: relative;
    max-width: 720px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.about-lang-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-lang-btn {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: all 0.2s;
}

.about-lang-btn:hover {
    color: var(--c-white);
}

.about-lang-btn.is-active {
    background-color: var(--c-white);
    color: var(--c-red);
}

.aboutpage-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 32px;
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.15);
}

.aboutpage-stat {
    padding: 20px 12px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
}

.aboutpage-stat-num {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--c-white);
    font-variant-numeric: tabular-nums;
}

.aboutpage-stat-num small {
    font-size: 14px;
    font-weight: 500;
    margin-left: 2px;
    color: rgba(255, 255, 255, 0.85);
}

.aboutpage-stat-label {
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.aboutpage-section-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.aboutpage-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-red);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.aboutpage-section-tag::before {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--c-red);
    border-radius: 2px;
}

.aboutpage-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.4;
}

.aboutpage-section-desc {
    max-width: 720px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--c-text-3);
}

.aboutpage-intro {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.aboutpage-intro-text {
    flex: 1;
    min-width: 0;
    padding: 32px;
    background-color: var(--c-white);
    border-radius: 12px;
    border: 1px solid var(--c-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.aboutpage-intro-text p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--c-text-2);
    margin-bottom: 14px;
}

.aboutpage-intro-text p:last-child {
    margin-bottom: 0;
}

.aboutpage-intro-text strong {
    color: var(--c-text);
    font-weight: 600;
}

.aboutpage-intro-text a {
    color: var(--c-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.aboutpage-intro-text a:hover {
    color: var(--c-blue-dark);
}

.aboutpage-brand-card {
    width: 320px;
    flex-shrink: 0;
    padding: 32px 28px;
    border-radius: 12px;
    background: linear-gradient(160deg, var(--c-hero-1) 0%, #0f1825 100%);
    color: var(--c-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.aboutpage-brand-card::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.4) 0%, transparent 70%);
}

.aboutpage-brand-logo {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
}

.aboutpage-brand-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.aboutpage-brand-name {
    position: relative;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.aboutpage-brand-slogan {
    position: relative;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.aboutpage-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.aboutpage-value-card {
    padding: 28px 24px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.aboutpage-value-card:hover {
    transform: translateY(-3px);
    border-color: var(--c-border-2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.aboutpage-value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--c-red-warm);
    color: var(--c-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.aboutpage-value-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.aboutpage-value-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.aboutpage-value-card p {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--c-text-2);
}

.aboutpage-timeline {
    position: relative;
    padding: 8px 0 8px 40px;
}

.aboutpage-timeline::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--c-red) 0%, var(--c-orange) 50%, var(--c-border) 100%);
    border-radius: 2px;
}

.aboutpage-timeline-item {
    position: relative;
    padding: 0 0 28px 0;
}

.aboutpage-timeline-item:last-child {
    padding-bottom: 0;
}

.aboutpage-timeline-dot {
    position: absolute;
    left: -34px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--c-white);
    border: 3px solid var(--c-red);
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.1);
}

.aboutpage-timeline-item.milestone .aboutpage-timeline-dot {
    background-color: var(--c-red);
}

.aboutpage-timeline-year {
    display: inline-block;
    padding: 2px 10px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-red);
    background-color: var(--c-red-warm);
    border-radius: 6px;
}

.aboutpage-timeline-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 6px;
    line-height: 1.4;
}

.aboutpage-timeline-desc {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--c-text-2);
}

.aboutpage-cta {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dark) 100%);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.2);
}

.aboutpage-cta::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.aboutpage-cta::after {
    content: "";
    position: absolute;
    left: -40px;
    bottom: -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.aboutpage-cta-content {
    position: relative;
    max-width: 600px;
}

.aboutpage-cta-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.aboutpage-cta-content p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.aboutpage-cta-actions {
    position: relative;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.aboutpage-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
}

.aboutpage-cta-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.aboutpage-cta-btn.is-light {
    background-color: var(--c-white);
    color: var(--c-red);
}

.aboutpage-cta-btn.is-light:hover {
    background-color: var(--c-bg);
    transform: translateY(-1px);
}

.aboutpage-cta-btn.is-ghost {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--c-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.aboutpage-cta-btn.is-ghost:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* =========================================================
   16. Logo 历史页
   ========================================================= */
.logohistory-page {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.logohistory-lang-block {
    display: none;
    flex-direction: column;
    gap: 32px;
}

.logohistory-page[data-active-lang="zh"] .logohistory-lang-block[data-lang="zh"],
.logohistory-page[data-active-lang="en"] .logohistory-lang-block[data-lang="en"] {
    display: flex;
}

.logohistory-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 40px;
    border-radius: 12px;
    color: var(--c-white);
    background: linear-gradient(135deg, var(--c-hero-1) 0%, var(--c-hero-2) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logohistory-hero::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.logohistory-hero::after {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.logohistory-hero-tag {
    position: relative;
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 16px;
    border-radius: 20px;
    background-color: var(--c-red);
    color: var(--c-white);
    font-size: 12px;
    font-weight: 600;
}

.logohistory-hero h1 {
    position: relative;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
}

.logohistory-hero>p {
    position: relative;
    max-width: 720px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.logohistory-lang-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logohistory-lang-btn {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: all 0.2s;
}

.logohistory-lang-btn:hover {
    color: var(--c-white);
}

.logohistory-lang-btn.is-active {
    background-color: var(--c-white);
    color: var(--c-red);
}

.logohistory-section-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.logohistory-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-red);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logohistory-section-tag::before {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--c-red);
    border-radius: 2px;
}

.logohistory-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.4;
}

.logohistory-section-desc {
    max-width: 760px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--c-text-3);
}

.logohistory-current {
    display: flex;
    gap: 32px;
    align-items: center;
    padding: 40px;
    border-radius: 12px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.logohistory-current::before {
    content: "";
    position: absolute;
    right: -100px;
    top: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.logohistory-current-logo {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 20px;
    background-color: var(--c-bg-2);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.logohistory-current-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.logohistory-current-info {
    position: relative;
    flex: 1;
    min-width: 0;
}

.logohistory-current-version {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    margin-bottom: 12px;
    border-radius: 6px;
    background-color: var(--c-red-warm);
    color: var(--c-red-dark);
    font-size: 12px;
    font-weight: 600;
}

.logohistory-current-version svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.logohistory-current-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.35;
    margin-bottom: 10px;
}

.logohistory-current-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--c-text-2);
    margin-bottom: 16px;
}

.logohistory-current-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 13px;
    color: var(--c-text-3);
}

.logohistory-current-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.logohistory-current-meta svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    opacity: 0.7;
}

.logohistory-timeline {
    position: relative;
    padding-left: 32px;
}

.logohistory-timeline::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--c-red) 0%, var(--c-orange) 50%, var(--c-border) 100%);
    border-radius: 2px;
}

.logohistory-item {
    position: relative;
    display: flex;
    gap: 24px;
    padding-bottom: 28px;
}

.logohistory-item:last-child {
    padding-bottom: 0;
}

.logohistory-item-dot {
    position: absolute;
    left: -32px;
    top: 32px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--c-white);
    border: 3px solid var(--c-border-2);
    box-shadow: 0 0 0 4px var(--c-bg);
    z-index: 1;
    transition: all 0.2s;
}

.logohistory-item.is-current .logohistory-item-dot {
    border-color: var(--c-red);
    background-color: var(--c-red);
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.12);
}

.logohistory-item.is-milestone .logohistory-item-dot {
    border-color: var(--c-orange);
    background-color: var(--c-orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.logohistory-card {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 24px;
    padding: 24px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.logohistory-card:hover {
    border-color: var(--c-border-2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.logohistory-item.is-current .logohistory-card {
    border-color: var(--c-red-border);
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
}

.logohistory-card-logo {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 12px;
    background-color: var(--c-bg-2);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.logohistory-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.logohistory-card-body {
    flex: 1;
    min-width: 0;
}

.logohistory-card-year {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.logohistory-year-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    background-color: var(--c-red-warm);
    color: var(--c-red);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.logohistory-year-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background-color: var(--c-bg);
    color: var(--c-text-3);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logohistory-item.is-current .logohistory-year-tag {
    background-color: var(--c-red-bg);
    color: var(--c-danger);
}

.logohistory-item.is-milestone .logohistory-year-tag {
    background-color: var(--c-orange-soft);
    color: var(--c-orange-dark);
}

.logohistory-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.4;
    margin-bottom: 8px;
}

.logohistory-card p {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--c-text-2);
    margin-bottom: 10px;
}

.logohistory-card p:last-child {
    margin-bottom: 0;
}

.logohistory-card-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.logohistory-highlight {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    background-color: var(--c-bg-2);
    border: 1px solid var(--c-border);
    font-size: 11.5px;
    color: var(--c-text-2);
}

.logohistory-highlight::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--c-red);
}

.logohistory-highlight.is-orange::before {
    background-color: var(--c-orange);
}

.logohistory-highlight.is-blue::before {
    background-color: var(--c-blue);
}

.logohistory-highlight.is-green::before {
    background-color: var(--c-green-2);
}

.logohistory-palette {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.logohistory-color {
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    transition: all 0.2s ease;
}

.logohistory-color:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.logohistory-color-swatch {
    height: 100px;
    position: relative;
}

.logohistory-color-swatch::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.logohistory-color-info {
    padding: 14px 16px;
}

.logohistory-color-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 4px;
    line-height: 1.4;
}

.logohistory-color-hex {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    color: var(--c-text-3);
    line-height: 1.4;
}

.logohistory-color-usage {
    margin-top: 6px;
    font-size: 11.5px;
    color: var(--c-text-3);
    line-height: 1.5;
}

.logohistory-typeface {
    padding: 28px 32px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.logohistory-typeface-sample {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--c-bg);
}

.logohistory-typeface-sample:first-child {
    padding-top: 0;
}

.logohistory-typeface-sample:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.logohistory-typeface-letter {
    flex-shrink: 0;
    width: 100px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--c-text);
    font-variant-numeric: tabular-nums;
}

.logohistory-typeface-letter.is-h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.logohistory-typeface-letter.is-h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
}

.logohistory-typeface-letter.is-h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.logohistory-typeface-letter.is-body {
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
}

.logohistory-typeface-letter.is-small {
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: var(--c-text-3);
}

.logohistory-typeface-meta {
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    color: var(--c-text-3);
    line-height: 1.6;
}

.logohistory-typeface-meta strong {
    color: var(--c-text);
    font-weight: 600;
}

.logohistory-downloads {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.logohistory-download {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.logohistory-download:hover {
    border-color: var(--c-red);
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.1);
    transform: translateY(-2px);
}

.logohistory-download-preview {
    height: 100px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow: hidden;
}

.logohistory-download-preview.is-light {
    background-color: var(--c-bg-2);
    border: 1px solid var(--c-border);
}

.logohistory-download-preview.is-dark {
    background-color: var(--c-hero-1);
    border: 1px solid var(--c-hero-2);
}

.logohistory-download-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.logohistory-download-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logohistory-download-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.4;
}

.logohistory-download-desc {
    font-size: 12px;
    color: var(--c-text-3);
    line-height: 1.5;
}

.logohistory-download-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-red);
}

.logohistory-download-arrow svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    transition: transform 0.2s;
}

.logohistory-download:hover .logohistory-download-arrow svg {
    transform: translateX(2px);
}

.logohistory-dos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.logohistory-do {
    padding: 20px 22px;
    border-radius: 12px;
    border: 1px solid var(--c-border);
    background-color: var(--c-white);
}

.logohistory-do.is-do {
    border-color: var(--c-green-border);
    background-color: var(--c-green-bg);
}

.logohistory-do.is-dont {
    border-color: #fecaca;
    background-color: #fef2f2;
}

.logohistory-do-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.logohistory-do-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: var(--c-white);
    flex-shrink: 0;
}

.logohistory-do.is-do .logohistory-do-icon {
    background-color: var(--c-green-2);
}

.logohistory-do.is-dont .logohistory-do-icon {
    background-color: var(--c-danger-2);
}

.logohistory-do-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.logohistory-do-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.4;
}

.logohistory-do-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.logohistory-do-list li {
    font-size: 13px;
    line-height: 1.7;
    color: var(--c-text-2);
    padding-left: 14px;
    position: relative;
}

.logohistory-do-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--c-green-2);
}

.logohistory-do.is-dont .logohistory-do-list li::before {
    background-color: var(--c-danger-2);
}

.logohistory-cta {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dark) 100%);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.2);
}

.logohistory-cta::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.logohistory-cta-content {
    position: relative;
    max-width: 600px;
}

.logohistory-cta-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.logohistory-cta-content p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.logohistory-cta-actions {
    position: relative;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.logohistory-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.logohistory-cta-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.logohistory-cta-btn.is-light {
    background-color: var(--c-white);
    color: var(--c-red);
}

.logohistory-cta-btn.is-light:hover {
    background-color: var(--c-bg);
    transform: translateY(-1px);
}

.logohistory-cta-btn.is-ghost {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--c-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.logohistory-cta-btn.is-ghost:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* =========================================================
   17. 指南页
   ========================================================= */
.guide-page {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.guide-lang-block {
    display: none;
    flex-direction: column;
    gap: 32px;
}

.guide-page[data-active-lang="zh"] .guide-lang-block[data-lang="zh"],
.guide-page[data-active-lang="en"] .guide-lang-block[data-lang="en"] {
    display: flex;
}

.guide-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 40px;
    border-radius: 12px;
    color: var(--c-white);
    background: linear-gradient(135deg, var(--c-hero-1) 0%, var(--c-hero-2) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.guide-hero::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.guide-hero::after {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.guide-hero-tag {
    position: relative;
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 16px;
    border-radius: 20px;
    background-color: var(--c-red);
    color: var(--c-white);
    font-size: 12px;
    font-weight: 600;
}

.guide-hero h1 {
    position: relative;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
}

.guide-hero>p {
    position: relative;
    max-width: 720px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.guide-lang-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.guide-lang-btn {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: all 0.2s;
}

.guide-lang-btn:hover {
    color: var(--c-white);
}

.guide-lang-btn.is-active {
    background-color: var(--c-white);
    color: var(--c-red);
}

.guide-section-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.guide-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-red);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.guide-section-tag::before {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--c-red);
    border-radius: 2px;
}

.guide-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.4;
}

.guide-section-desc {
    max-width: 760px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--c-text-3);
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}

.guide-steps::before {
    content: "";
    position: absolute;
    top: 44px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--c-red) 0%, var(--c-orange) 100%);
    opacity: 0.2;
    pointer-events: none;
}

.guide-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px 24px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.guide-step:hover {
    transform: translateY(-3px);
    border-color: var(--c-border-2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.guide-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 50%;
    background-color: var(--c-red-warm);
    color: var(--c-red);
    position: relative;
    z-index: 1;
    border: 4px solid var(--c-white);
    box-shadow: 0 0 0 1px var(--c-border);
}

.guide-step-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.guide-step h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.guide-step p {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--c-text-2);
}

.guide-devices {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.guide-device {
    display: flex;
    gap: 16px;
    padding: 20px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.guide-device:hover {
    border-color: var(--c-border-2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.guide-device-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    background-color: var(--c-bg-2);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-2);
}

.guide-device-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.guide-device-body {
    flex: 1;
    min-width: 0;
}

.guide-device-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 4px;
    line-height: 1.4;
}

.guide-device-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--c-text-2);
}

.guide-device-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.guide-device-tag {
    padding: 2px 8px;
    border-radius: 4px;
    background-color: var(--c-bg);
    color: var(--c-text-3);
    font-size: 11.5px;
    font-weight: 500;
}

.guide-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guide-faq-item {
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.guide-faq-item:hover {
    border-color: var(--c-border-2);
}

.guide-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--c-text);
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
}

.guide-faq-q svg {
    width: 18px;
    height: 18px;
    fill: var(--c-text-3);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.guide-faq-item.is-open .guide-faq-q svg {
    transform: rotate(180deg);
    fill: var(--c-red);
}

.guide-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.guide-faq-a-inner {
    padding: 0 20px 18px;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--c-text-2);
}

.guide-faq-a-inner ul {
    margin: 8px 0 0;
    padding-left: 20px;
    list-style: disc;
}

.guide-faq-a-inner li {
    margin-bottom: 6px;
}

.guide-faq-a-inner li::marker {
    color: var(--c-red);
}

.guide-faq-item.is-open .guide-faq-a {
    max-height: 600px;
}

.guide-tips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.guide-tip {
    display: flex;
    gap: 12px;
    padding: 20px;
    background-color: var(--c-blue-soft);
    border: 1px solid var(--c-blue-border);
    border-radius: 10px;
}

.guide-tip svg {
    width: 20px;
    height: 20px;
    fill: var(--c-blue-dark);
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-tip-content {
    flex: 1;
    min-width: 0;
}

.guide-tip-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-blue-text);
    margin-bottom: 4px;
    line-height: 1.4;
}

.guide-tip-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--c-blue);
}

.guide-cta {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dark) 100%);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.2);
}

.guide-cta::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.guide-cta-content {
    position: relative;
    max-width: 600px;
}

.guide-cta-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.guide-cta-content p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.guide-cta-actions {
    position: relative;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.guide-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.guide-cta-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.guide-cta-btn.is-light {
    background-color: var(--c-white);
    color: var(--c-red);
}

.guide-cta-btn.is-light:hover {
    background-color: var(--c-bg);
    transform: translateY(-1px);
}

.guide-cta-btn.is-ghost {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--c-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.guide-cta-btn.is-ghost:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* =========================================================
   18. 广告页
   ========================================================= */
.adpage {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.adpage-lang-block {
    display: none;
    flex-direction: column;
    gap: 32px;
}

.adpage[data-active-lang="zh"] .adpage-lang-block[data-lang="zh"],
.adpage[data-active-lang="en"] .adpage-lang-block[data-lang="en"] {
    display: flex;
}

.adpage-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 40px;
    border-radius: 12px;
    color: var(--c-white);
    background: linear-gradient(135deg, var(--c-hero-1) 0%, var(--c-hero-2) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.adpage-hero::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.adpage-hero::after {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.adpage-hero-tag {
    position: relative;
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 16px;
    border-radius: 20px;
    background-color: var(--c-red);
    color: var(--c-white);
    font-size: 12px;
    font-weight: 600;
}

.adpage-hero h1 {
    position: relative;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
}

.adpage-hero>p {
    position: relative;
    max-width: 720px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.adpage-hero-actions {
    position: relative;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.adpage-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.adpage-hero-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.adpage-hero-btn.is-primary {
    background-color: var(--c-white);
    color: var(--c-red);
}

.adpage-hero-btn.is-primary:hover {
    background-color: var(--c-bg);
    transform: translateY(-1px);
}

.adpage-hero-btn.is-ghost {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--c-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.adpage-hero-btn.is-ghost:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.adpage-lang-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.adpage-lang-btn {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: all 0.2s;
}

.adpage-lang-btn:hover {
    color: var(--c-white);
}

.adpage-lang-btn.is-active {
    background-color: var(--c-white);
    color: var(--c-red);
}

.adpage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.adpage-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px 20px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.adpage-stat:hover {
    transform: translateY(-2px);
    border-color: var(--c-border-2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.adpage-stat-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-text-3);
}

.adpage-stat-label svg {
    width: 14px;
    height: 14px;
    fill: var(--c-red);
    flex-shrink: 0;
}

.adpage-stat-value {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--c-text);
    font-variant-numeric: tabular-nums;
}

.adpage-stat-value small {
    font-size: 14px;
    font-weight: 600;
    margin-left: 2px;
    color: var(--c-red);
}

.adpage-stat-desc {
    font-size: 12px;
    color: var(--c-text-3);
    line-height: 1.5;
}

.adpage-section-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.adpage-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-red);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.adpage-section-tag::before {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--c-red);
    border-radius: 2px;
}

.adpage-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.4;
}

.adpage-section-desc {
    max-width: 760px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--c-text-3);
}

.adpage-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.adpage-slot {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.adpage-slot:hover {
    transform: translateY(-2px);
    border-color: var(--c-border-2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.adpage-slot-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.adpage-slot-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.4;
    margin-bottom: 4px;
}

.adpage-slot-size {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    color: var(--c-text-3);
}

.adpage-slot-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.adpage-slot-badge.is-hot {
    background-color: var(--c-red-bg);
    color: var(--c-danger);
}

.adpage-slot-badge.is-available {
    background-color: var(--c-green-soft);
    color: var(--c-green-3);
}

.adpage-slot-badge.is-limited {
    background-color: #fed7aa;
    color: var(--c-orange-deep);
}

.adpage-slot-preview {
    position: relative;
    border-radius: 8px;
    background-color: var(--c-bg-2);
    border: 1px dashed var(--c-border-2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 16px;
    background-image:
        linear-gradient(45deg, rgba(0, 0, 0, 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0, 0, 0, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.02) 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
}

.adpage-slot-preview::before {
    content: "AD";
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--c-border-2);
    padding: 4px 10px;
    border-radius: 4px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
}

.adpage-slot-preview.is-banner {
    height: 100px;
}

.adpage-slot-preview.is-sidebar {
    height: 250px;
    width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.adpage-slot-preview.is-player {
    height: 250px;
}

.adpage-slot-preview.is-feed {
    height: 100px;
}

.adpage-slot-preview.is-mobile-splash {
    height: 95px;
    margin-left: auto;
    margin-right: auto;
}

.adpage-slot-preview.is-mobile-banner {
    width: 100%;
    height: 90px;
    margin-left: auto;
    margin-right: auto;
}

.adpage-slot-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding-top: 14px;
    border-top: 1px solid var(--c-bg);
    font-size: 12.5px;
    color: var(--c-text-3);
}

.adpage-slot-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.adpage-slot-meta strong {
    color: var(--c-text);
    font-weight: 600;
}

.adpage-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
}

.adpage-steps::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--c-red) 0%, var(--c-orange) 100%);
    opacity: 0.25;
    pointer-events: none;
}

.adpage-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.adpage-step:hover {
    transform: translateY(-2px);
    border-color: var(--c-border-2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.adpage-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 50%;
    background-color: var(--c-red-warm);
    color: var(--c-red);
    font-size: 18px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    border: 2px solid var(--c-white);
}

.adpage-step h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.adpage-step p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--c-text-2);
}

.adpage-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.adpage-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.adpage-plan:hover {
    transform: translateY(-2px);
    border-color: var(--c-border-2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.adpage-plan.is-recommended {
    border-color: var(--c-red-border);
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
}

.adpage-plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border-radius: 999px;
    background-color: var(--c-red);
    color: var(--c-white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3);
}

.adpage-plan-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 6px;
    line-height: 1.4;
}

.adpage-plan-sub {
    font-size: 13px;
    color: var(--c-text-3);
    margin-bottom: 20px;
    line-height: 1.5;
}

.adpage-plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.adpage-plan-price-currency {
    font-size: 18px;
    font-weight: 600;
    color: var(--c-red);
}

.adpage-plan-price-amount {
    font-size: 34px;
    font-weight: 700;
    color: var(--c-red);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.adpage-plan-price-unit {
    font-size: 14px;
    color: var(--c-text-3);
    margin-left: 2px;
}

.adpage-plan-price-note {
    font-size: 12px;
    color: var(--c-text-3);
    margin-bottom: 20px;
    line-height: 1.5;
}

.adpage-plan-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid var(--c-bg);
    border-bottom: 1px solid var(--c-bg);
    margin-bottom: 20px;
    flex: 1;
    list-style: none;
    padding-left: 0;
    margin-top: 0;
}

.adpage-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--c-text-2);
}

.adpage-plan-features svg {
    width: 14px;
    height: 14px;
    fill: var(--c-green-2);
    flex-shrink: 0;
    margin-top: 3px;
}

.adpage-plan-features li.is-muted {
    color: var(--c-text-4);
}

.adpage-plan-features li.is-muted svg {
    fill: var(--c-border-2);
}

.adpage-plan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background-color: var(--c-bg);
    color: var(--c-text);
    transition: all 0.2s;
    text-decoration: none;
}

.adpage-plan-btn:hover {
    background-color: var(--c-border);
}

.adpage-plan.is-recommended .adpage-plan-btn {
    background-color: var(--c-red);
    color: var(--c-white);
}

.adpage-plan.is-recommended .adpage-plan-btn:hover {
    background-color: var(--c-red-dark);
}

.adpage-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.adpage-faq-item {
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.adpage-faq-item:hover {
    border-color: var(--c-border-2);
}

.adpage-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
}

.adpage-faq-q svg {
    width: 18px;
    height: 18px;
    fill: var(--c-text-3);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.adpage-faq-item.is-open .adpage-faq-q svg {
    transform: rotate(180deg);
    fill: var(--c-red);
}

.adpage-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.adpage-faq-a-inner {
    padding: 0 20px 16px;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--c-text-2);
}

.adpage-faq-a-inner a {
    color: var(--c-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.adpage-faq-item.is-open .adpage-faq-a {
    max-height: 400px;
}

.adpage-cta {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dark) 100%);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.2);
}

.adpage-cta::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.adpage-cta-content {
    position: relative;
    max-width: 600px;
}

.adpage-cta-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.adpage-cta-content p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.adpage-cta-actions {
    position: relative;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.adpage-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.adpage-cta-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.adpage-cta-btn.is-light {
    background-color: var(--c-white);
    color: var(--c-red);
}

.adpage-cta-btn.is-light:hover {
    background-color: var(--c-bg);
    transform: translateY(-1px);
}

.adpage-cta-btn.is-ghost {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--c-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.adpage-cta-btn.is-ghost:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* =========================================================
   19. 收看历史页
   ========================================================= */
.page-head {
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease;
}

.page-head h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 4px;
}

.page-head p {
    font-size: 13px;
    color: var(--c-text-3);
}

.page-head-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-bar {
    background-color: var(--c-white);
    border-radius: 8px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 13px;
    color: var(--c-text-3);
    margin-right: 2px;
}

.filter-right {
    font-size: 13px;
    color: var(--c-text-3);
}

.filter-right strong {
    color: var(--c-red);
    font-weight: 600;
    margin: 0 2px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.history-list[hidden] {
    display: none !important;
}

.history-group {
    display: flex;
    flex-direction: column;
}

.history-group[hidden] {
    display: none !important;
}

.history-group-title {
    position: sticky;
    top: 64px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-2);
    padding: 10px 4px 8px;
    background-color: var(--c-bg);
    transition: background-color 0.3s ease;
}

.group-count {
    font-size: 12px;
    font-weight: 500;
    color: var(--c-text-3);
    background-color: var(--c-border);
    border-radius: 10px;
    padding: 1px 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.history-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
    background-color: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease,
        opacity 0.3s ease, transform 0.3s ease;
}

.history-item[hidden] {
    display: none !important;
}

.history-item:hover {
    background-color: var(--c-bg-2);
    border-color: var(--c-border);
}

.history-item.removing {
    opacity: 0;
    transform: translateX(16px);
}

.hi-logo {
    width: auto;
    height: 75px;
    flex-shrink: 0;
    border-radius: 6px;
    background-color: var(--c-white);
    border: 1px solid var(--c-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.hi-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hi-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hi-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hi-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.hi-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
    line-height: 1.5;
}

.hi-badge.live {
    color: var(--c-green);
    background-color: rgba(0, 168, 112, 0.1);
}

.hi-badge.live::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--c-green);
    margin-right: 5px;
    vertical-align: middle;
    animation: livePulse 1.6s infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

.hi-badge.vod {
    color: var(--c-blue);
    background-color: rgba(59, 130, 246, 0.1);
}

.hi-meta {
    font-size: 12px;
    color: var(--c-text-3);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hi-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: var(--c-border-2);
    flex-shrink: 0;
}

.hi-progress {
    height: 4px;
    border-radius: 2px;
    background-color: var(--c-bg);
    overflow: hidden;
    max-width: 280px;
    margin-top: 2px;
    transition: background-color 0.3s ease;
}

.hi-progress[hidden] {
    display: none !important;
}

.hi-progress-bar {
    height: 100%;
    border-radius: 2px;
    background-color: var(--c-red);
}

.hi-time {
    font-size: 12px;
    color: var(--c-text-3);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hi-time svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    opacity: 0.75;
    flex-shrink: 0;
}

.hi-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hi-remove {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-3);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.hi-remove svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.hi-remove:hover {
    background-color: var(--c-red-soft);
    color: var(--c-red);
}

/* ================= 停播頁面 ================= */
.channel-head {
    background-color: #FFFFFF;
    border: 1px solid #E5E6EB;
    border-radius: 8px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.ch-logo {
    width: auto;
    height: 75px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid #F2F4F7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.ch-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ch-info {
    flex: 1;
    min-width: 0;
}

.ch-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ch-title-row h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1F2329;
    line-height: 1.35;
}

.ch-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 4px;
    color: #ffffff;
    background-color: #e50914;
    flex-shrink: 0;
}

.ch-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ffffff;
}

.ch-meta {
    font-size: 13px;
    color: #8F959E;
    margin-top: 7px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ch-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: #D1D5DB;
    flex-shrink: 0;
}

.ch-head-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.ch-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8F959E;
    background-color: #F8F9FA;
    transition: all 0.2s ease;
}

.ch-icon-btn:hover {
    background-color: #F2F4F7;
    color: #E50914;
}

.ch-icon-btn svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.offair-card {
    position: relative;
    background-color: #FFFFFF;
    border: 1px solid #E5E6EB;
    border-radius: 12px;
    padding: 48px 44px;
    display: flex;
    align-items: center;
    gap: 52px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.offair-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #E50914 0%, #F59E0B 55%, #D1D5DB 100%);
}

.offair-visual {
    flex-shrink: 0;
    width: 260px;
    max-width: 38%;
}

.offair-svg {
    width: 100%;
    height: auto;
    display: block;
}

.scan-line {
    animation: scanMove 3.6s linear infinite;
}

@keyframes scanMove {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(150px);
    }
}

.offair-body {
    min-width: 0;
}

.offair-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #E50914;
    background-color: #FFF1F0;
    border-radius: 4px;
    padding: 4px 11px;
    margin-bottom: 14px;
}

.offair-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #E50914;
}

.offair-body h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1F2329;
    line-height: 1.3;
    margin-bottom: 12px;
}

.offair-desc {
    font-size: 14px;
    line-height: 1.85;
    color: #4E5969;
    max-width: 620px;
    margin-bottom: 26px;
}

.offair-desc strong {
    color: #1F2329;
    font-weight: 600;
}

.offair-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
}

.notice-box {
    background-color: #FFFFFF;
    border: 1px solid #E5E6EB;
    border-radius: 8px;
    padding: 24px 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.notice-head {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    color: #1F2329;
    margin-bottom: 20px;
}

.notice-head svg {
    width: 17px;
    height: 17px;
    fill: #8F959E;
    flex-shrink: 0;
}

.notice-body {
    font-size: 14px;
    color: #4E5969;
    line-height: 1.7;
}

.recommend-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.recommend-head h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1F2329;
}

.recommend-head a {
    font-size: 13px;
    color: #8F959E;
    transition: color 0.2s ease;
}

.recommend-head a:hover {
    color: #E50914;
}

.feedback-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background-color: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 13px;
    line-height: 1.75;
    color: #1E40AF;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.feedback-note svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.85;
}

.feedback-note a {
    color: #1D4ED8;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.feedback-note a:hover {
    color: #E50914;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translate(-50%, 16px);
    background-color: #1F2329;
    color: #FFFFFF;
    font-size: 13px;
    padding: 12px 22px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.28s ease;
    z-index: 9999;
    max-width: calc(100vw - 40px);
    text-align: center;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* ================= sitemap ================= */
.category-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    padding-top: 10px;
}

.category-tabs-wrapper {
    position: relative;
    border-bottom: 1px solid #e5e6eb;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.category-tabs {
    display: flex;
    align-items: center;
    gap: 28px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 5px 4px;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #8f959e;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    padding: 16px 0 14px;
    transition: color 0.2s ease;
}

.category-tab:hover {
    color: #d81e06;
}

.category-tab svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    opacity: 0.7;
}

.category-tab.active {
    color: #d81e06;
    font-weight: 600;
}

.category-tab.active svg {
    fill: #d81e06;
    opacity: 1;
}

.category-tab.active::after {
    content: "";
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #d81e06;
    border-radius: 2px 2px 0 0;
    z-index: 2;
}

.category-tabs-wrapper::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.95));
    pointer-events: none;
    transition: opacity 0.3s;
    opacity: 1;
}

.category-tabs-wrapper.is-scroll-end::after {
    opacity: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px 20px;
}

.channel-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.channel-card:hover {
    transform: translateY(-3px);
}


.channel-logo-box {
    width: 100%;
    padding: 10px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
}

.channel-card:hover .channel-logo-box {
    border-color: #d1d5db;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.channel-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.mock-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
}

.mock-logo .logo-brand {
    font-size: 20px;
    font-weight: 800;
    color: #1f2329;
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 4px;
}

.mock-logo .logo-sub {
    font-size: 10px;
    color: #4e5969;
    transform: scale(0.9);
    white-space: nowrap;
}

.mock-logo.is-red .logo-brand {
    color: #d81e06;
}

.mock-logo.is-blue .logo-brand {
    color: #1e3a8a;
}

.mock-logo.is-orange .logo-brand {
    color: #f59e0b;
}

.mock-logo.is-green .logo-brand {
    color: #10b981;
}

.channel-name {
    font-size: 14px;
    color: #4e5969;
    text-align: center;
    line-height: 1.4;
    transition: color 0.2s;
    padding: 10px 0;
    font-weight: 500;
}

.channel-card:hover .channel-name {
    color: #1f2329;
}


.category-panel {
    display: none;
}

.category-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= contact ================= */
.contact-page {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

/* ---------- Hero ---------- */
.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #1a2a44 0%, #2a4d79 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-hero::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.contact-hero::after {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.contact-hero-tag {
    position: relative;
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 16px;
    border-radius: 20px;
    background-color: #e50914;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.contact-hero h1 {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.contact-hero p {
    position: relative;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background-color: #ffffff;
    border: 1px solid #e5e6eb;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    border-color: #d1d5db;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background-color: #fff7ed;
    color: #e50914;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.contact-card-body {
    flex: 1;
    min-width: 0;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-card-title {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #8f959e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card-value {
    font-size: 15px;
    font-weight: 600;
    color: #1f2329;
    line-height: 1.4;
    word-break: break-word;
}

.contact-card-value a {
    color: inherit;
    transition: color 0.2s;
}

.contact-card-value a:hover {
    color: #e50914;
}

.contact-card-sub {
    margin-top: 4px;
    font-size: 12px;
    color: #8f959e;
    line-height: 1.5;
}

/* ---------- 表单区补充（select 与 form-input 对齐） ---------- */
.contact-form select.form-input {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238F959E'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.contact-form .form-textarea {
    min-height: 140px;
}

/* 表单底部的辅助提示 */
.contact-form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-left: 116px;
    /* 与输入框左缘对齐（label 100 + 间距 16） */
    font-size: 12px;
    color: #8f959e;
}

.contact-form-foot .char-count {
    font-variant-numeric: tabular-nums;
}

/* 提交反馈条 */
.contact-alert {
    display: none;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.contact-alert.show {
    display: flex;
}

.contact-alert.is-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.contact-alert.is-error {
    background-color: rgba(229, 9, 20, 0.08);
    color: #c00812;
    border: 1px solid rgba(229, 9, 20, 0.2);
}

/* ================= 专题分类总页面 ================= */
.special-page {
    --sp-accent: #2f6bff;
    --sp-radius: 14px;
    --sp-card-bg: #fff;
    --sp-border: rgba(0, 0, 0, .08);
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px 80px;
    color: #1f2329;
}

/* ---------- Hero（简洁版） ---------- */
.special-list-hero {
    margin: 0 0 36px;
    text-align: center;
    position: relative;
}

.special-hero-lang {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border-radius: 999px;
    background-color: #f2f4f7;
    border: 1px solid #e5e6eb;
}

.special-lang-btn {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: #8f959e;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.special-lang-btn:hover {
    color: #1f2329;
}

.special-list-hero .special-section-tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: .18em;
    font-weight: 700;
    color: var(--sp-accent);
    margin-bottom: 10px;
}

.special-list-hero h1 {
    font-size: clamp(24px, 3.6vw, 34px);
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.3;
}

.special-list-hero p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 14.5px;
    line-height: 1.8;
    color: #6b7280;
}

/* ---------- 分类网格 ---------- */
.special-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 20px;
}

.special-cat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--sp-card-bg);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    text-decoration: none;
    color: inherit;
    transition: .22s ease;
}

.special-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 25, 50, .12);
    border-color: rgba(47, 107, 255, .35);
}

/* 左侧渐变色图标块 */
.special-cat-icon {
    height: 100%;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
    box-shadow: 0 6px 16px rgba(15, 25, 50, .12);
}

.special-cat-body {
    flex: 1;
    min-width: 0;
}

.special-cat-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.special-cat-desc {
    font-size: 12.5px;
    line-height: 1.65;
    color: #6b7280;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.special-cat-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.special-cat-count {
    color: var(--sp-accent);
    font-weight: 600;
}

.special-cat-arrow {
    color: #9aa1ac;
    transition: .2s;
    align-items: flex-start;
    display: flex;
    gap: 5px;
}

.special-cat-arrow svg {
    width: 18px;
}

.special-cat-card:hover .special-cat-arrow {
    color: var(--sp-accent);
    transform: translateX(3px);
}

/* ---------- 空状态 ---------- */
.special-empty {
    text-align: center;
    padding: 60px 20px;
    color: #9aa1ac;
    background: #f7f9fc;
    border: 1px dashed var(--sp-border);
    border-radius: var(--sp-radius);
    font-size: 14px;
}

/* ================= 響應式適配 ================= */

/* ---------- ≤1200px ---------- */
@media (max-width: 1200px) {
    .search-bar {
        width: 240px;
    }

    .hi-logo {
        width: 84px;
        height: 54px;
    }

    .channel-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .category-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .form-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .sidebar-info {
        width: 100%;
    }

    .form-actions {
        padding-left: 0;
    }

    .main-container {
        gap: 16px;
        padding: 20px;
    }

    .sidebar {
        width: 320px;
    }

    .offair-card {
        padding: 40px 32px;
        gap: 36px;
    }

    .offair-visual {
        width: 210px;
    }
}

/* ---------- ≤1024px ---------- */
@media (max-width: 1024px) {
    .search-bar.pc-search {
        display: none;
    }

    .mobile-search-trigger {
        display: flex;
    }

    .page-layout {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .sidebar-nav {
        position: fixed;
        top: 64px;
        left: 0;
        height: calc(100vh - 64px);
        z-index: 99;
        transform: translateX(-100%);
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .sidebar-nav.active-drawer {
        transform: translateX(0);
    }

    .sidebar-nav.hidden-nav {
        transform: translateX(-100%);
        opacity: 1;
        width: 240px;
    }

    .drawer-overlay {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 64px);
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 98;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .drawer-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .main-content {
        padding: 16px;
        gap: 16px;
    }

    .history-group-title {
        top: 64px;
    }

    .page-layout>.main-container {
        flex: none;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .content-area,
    .sidebar {
        width: 100%;
    }

    .sidebar.hidden {
        display: none;
    }

    .sidebar-nav-mobile {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
    }

    .sidebar-nav-mobile.active-drawer {
        transform: translateX(0);
    }

    .hero-banner {
        padding: 24px;
        min-height: 220px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .listpage-header {
        padding: 28px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        min-height: auto;
    }

    .listpage-right {
        width: 100%;
        gap: 12px;
    }

    .listpage-stat {
        font-size: 12px;
        padding: 0px 10px;
    }

    .listpage-search {
        width: 100%;
    }

    .video-wrapper {
        max-height: none;
    }

    .donate-methods {
        grid-template-columns: 1fr;
    }

    .donate-benefits {
        grid-template-columns: 1fr 1fr;
    }

    .disclaimer-layout {
        flex-direction: column;
    }

    .disclaimer-toc {
        width: 100%;
        position: static;
        max-height: none;
        order: -1;
    }

    .disclaimer-toc-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .disclaimer-toc-list a {
        padding: 6px 12px;
        background-color: #f2f4f7;
        border-radius: 999px;
        white-space: nowrap;
    }

    .disclaimer-toc-list a.active::before {
        display: none;
    }

    .video-wrapper {
        min-height: auto;
    }

    .disclaimer-body {
        padding: 24px;
    }

    .aboutpage-intro {
        flex-direction: column;
    }

    .aboutpage-brand-card {
        width: 100%;
        padding: 32px 24px;
    }

    .aboutpage-values {
        grid-template-columns: 1fr 1fr;
    }

    .logohistory-palette {
        grid-template-columns: repeat(2, 1fr);
    }

    .logohistory-downloads {
        grid-template-columns: repeat(2, 1fr);
    }

    .logohistory-current {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
        gap: 24px;
    }

    .logohistory-current-logo {
        width: 160px;
        height: 160px;
    }

    .guide-steps {
        grid-template-columns: 1fr;
    }

    .guide-steps::before {
        display: none;
    }

    .guide-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .guide-step-icon {
        margin-bottom: 0;
        width: 48px;
        height: 48px;
        border-width: 2px;
    }

    .guide-step-icon svg {
        width: 22px;
        height: 22px;
    }

    .guide-devices {
        grid-template-columns: 1fr;
    }

    .guide-tips {
        grid-template-columns: 1fr;
    }

    .adpage-stats {
        grid-template-columns: 1fr 1fr;
    }

    .adpage-steps {
        grid-template-columns: 1fr 1fr;
    }

    .adpage-steps::before {
        display: none;
    }

    .adpage-pricing {
        grid-template-columns: 1fr;
    }

    .adpage-plan {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .search-hero {
        padding: 24px;
    }

    .search-form {
        max-width: 100%;
    }

    .offair-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
        padding: 32px 24px;
    }

    .offair-visual {
        width: 200px;
        max-width: 60%;
        align-self: center;
    }

    .offair-body {
        width: 100%;
    }

    .offair-body h2 {
        font-size: 24px;
    }

    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px 16px;
    }
}

/* ---------- ≤768px ---------- */
@media (max-width: 768px) {
    .page-head {
        padding: 16px;
    }

    .page-head h1 {
        font-size: 18px;
    }

    .page-head p {
        font-size: 12px;
    }

    .page-head-right {
        width: 100%;
        justify-content: space-between;
    }

    .country-tags {
        justify-content: space-between;
        height: 100px;
        overflow: auto;
    }

    .filter-bar {
        padding: 12px 14px;
    }

    .filter-left {
        gap: 8px;
    }

    .dropdown-btn {
        font-size: 12px;
        padding: 7px 28px 7px 10px;
    }

    .hi-logo {
        width: 72px;
        height: 48px;
        padding: 6px;
    }

    .hi-name {
        font-size: 14px;
    }

    .hi-meta,
    .hi-time {
        font-size: 11px;
    }

    .btn-play span {
        display: none;
    }

    .btn-play {
        width: 34px;
        height: 34px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

    .btn-play svg {
        width: 15px;
        height: 15px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 6px;
    }

    .page-item {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }

    .empty-state {
        padding: 40px 16px 36px;
    }

    .empty-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 16px;
    }

    .empty-icon svg {
        width: 36px;
        height: 36px;
    }

    .empty-title {
        font-size: 16px;
    }

    .empty-desc {
        font-size: 13px;
    }

    .empty-actions {
        width: 100%;
        flex-direction: column;
    }

    .empty-actions .btn-primary,
    .empty-actions .btn-outline {
        width: 100%;
    }

    .user-dropdown .dropdown-menu {
        min-width: 180px;
        max-width: calc(100vw - 24px);
    }

    .user-menu-avatar {
        width: 36px;
        height: 36px;
    }

    .aboutpage {
        gap: 24px;
    }

    .aboutpage-hero {
        padding: 28px 24px;
    }

    .aboutpage-hero h1 {
        font-size: 24px;
    }

    .aboutpage-hero p {
        font-size: 14px;
    }

    .aboutpage-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .aboutpage-stat {
        padding: 16px 10px;
    }

    .aboutpage-stat-num {
        font-size: 22px;
    }

    .aboutpage-stat-num small {
        font-size: 12px;
    }

    .aboutpage-intro-text {
        padding: 24px 20px;
    }

    .aboutpage-section-title {
        font-size: 19px;
    }

    .aboutpage-values {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .aboutpage-value-card {
        padding: 20px;
    }

    .aboutpage-timeline {
        padding-left: 32px;
    }

    .aboutpage-timeline::before {
        left: 8px;
    }

    .aboutpage-timeline-dot {
        left: -30px;
        width: 12px;
        height: 12px;
        border-width: 2px;
    }

    .aboutpage-cta {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .aboutpage-cta-content h3 {
        font-size: 18px;
    }

    .aboutpage-cta-actions {
        width: 100%;
    }

    .aboutpage-cta-btn {
        flex: 1;
        justify-content: center;
    }

    .logohistory-page,
    .logohistory-lang-block {
        gap: 24px;
    }

    .logohistory-hero {
        padding: 28px 24px 28px;
        padding-top: 62px;
    }

    .logohistory-hero h1 {
        font-size: 24px;
    }

    .logohistory-hero>p {
        font-size: 14px;
    }

    .logohistory-lang-switch {
        top: 14px;
        right: 14px;
    }

    .logohistory-section-title {
        font-size: 19px;
    }

    .logohistory-current {
        padding: 24px 20px;
    }

    .logohistory-current-logo {
        width: 130px;
        height: 130px;
        padding: 16px;
        border-radius: 16px;
    }

    .logohistory-current-title {
        font-size: 20px;
    }

    .logohistory-timeline {
        padding-left: 24px;
    }

    .logohistory-timeline::before {
        left: 7px;
    }

    .logohistory-item-dot {
        left: -24px;
        width: 20px;
        height: 20px;
        border-width: 2px;
        box-shadow: 0 0 0 3px #f2f4f7;
    }

    .logohistory-item {
        padding-bottom: 20px;
    }

    .logohistory-card {
        flex-direction: column;
        padding: 18px;
        gap: 16px;
    }

    .logohistory-card-logo {
        width: 100%;
        height: 120px;
    }

    .logohistory-card h3 {
        font-size: 16px;
    }

    .logohistory-dos {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .logohistory-typeface {
        padding: 20px 18px;
    }

    .logohistory-typeface-letter {
        width: 72px;
    }

    .logohistory-typeface-letter.is-h1 {
        font-size: 26px;
    }

    .logohistory-typeface-letter.is-h2 {
        font-size: 20px;
    }

    .logohistory-typeface-letter.is-h3 {
        font-size: 16px;
    }

    .logohistory-cta {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .logohistory-cta-content h3 {
        font-size: 18px;
    }

    .logohistory-cta-actions {
        width: 100%;
    }

    .logohistory-cta-btn {
        flex: 1;
        justify-content: center;
    }

    .guide-page,
    .guide-lang-block {
        gap: 24px;
    }

    .guide-hero {
        padding: 28px 24px 28px;
        padding-top: 62px;
    }

    .guide-hero h1 {
        font-size: 24px;
    }

    .guide-hero>p {
        font-size: 14px;
    }

    .guide-lang-switch {
        top: 14px;
        right: 14px;
    }

    .guide-section-title {
        font-size: 19px;
    }

    .guide-device {
        padding: 16px;
    }

    .guide-faq-q {
        padding: 14px 16px;
        font-size: 14px;
    }

    .guide-faq-a-inner {
        padding: 0 16px 14px;
        font-size: 13px;
    }

    .guide-cta {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .guide-cta-content h3 {
        font-size: 18px;
    }

    .guide-cta-actions {
        width: 100%;
    }

    .guide-cta-btn {
        flex: 1;
        justify-content: center;
    }

    .main-content {
        padding: 12px;
        gap: 16px;
    }

    .submit-wrapper {
        gap: 16px;
    }

    .announcement-container {
        padding: 12px 14px;
        font-size: 13px;
    }

    .form-container {
        padding: 20px 16px;
        border-radius: 10px;
    }

    .form-actions {
        gap: 12px;
        margin-top: 24px;
    }

    .header {
        padding: 10px 12px;
        gap: 8px;
    }

    .header-left {
        gap: 8px;
        min-width: 0;
    }

    .header-left .logo-box {
        flex-shrink: 0;
    }

    .logo-box img {
        height: 32px;
    }

    .header-right {
        gap: 6px;
    }

    .icon-btn {
        width: 32px;
        height: 32px;
    }

    .lang-select-btn {
        padding: 6px 24px 6px 8px;
        font-size: 12px;
    }

    .lang-select-menu {
        min-width: 150px;
        max-height: 280px;
    }

    .lang-select-item {
        font-size: 12px;
    }

    .adpage,
    .adpage-lang-block {
        gap: 24px;
    }

    .adpage-hero {
        padding: 28px 24px 28px;
        padding-top: 62px;
    }

    .adpage-hero h1 {
        font-size: 24px;
    }

    .adpage-hero>p {
        font-size: 14px;
    }

    .adpage-lang-switch {
        top: 14px;
        right: 14px;
    }

    .adpage-section-title {
        font-size: 19px;
    }

    .adpage-stats {
        gap: 10px;
    }

    .adpage-stat {
        padding: 18px 14px;
    }

    .adpage-stat-value {
        font-size: 22px;
    }

    .adpage-slots {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .adpage-slot {
        padding: 18px;
    }

    .adpage-slot-preview.is-player {
        max-height: 160px;
    }

    .adpage-step {
        padding: 20px 14px;
    }

    .adpage-step-num {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .adpage-faq-q {
        padding: 14px 16px;
        font-size: 13.5px;
    }

    .adpage-faq-a-inner {
        padding: 0 16px 14px;
        font-size: 13px;
    }

    .adpage-cta {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .adpage-cta-content h3 {
        font-size: 18px;
    }

    .adpage-cta-actions {
        width: 100%;
    }

    .adpage-cta-btn {
        flex: 1;
        justify-content: center;
    }

    .search-hero h1 {
        font-size: 20px;
    }

    .search-hero .search-desc {
        font-size: 13px;
    }

    .search-form {
        flex-direction: column;
    }

    .btn-search {
        padding: 12px 0;
        width: 100%;
    }

    .search-info-bar {
        padding: 12px 14px;
    }

    .search-info-left {
        gap: 8px;
    }

    #backToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .btn-primary,
    .btn-outline,
    .btn-red {
        width: 100%;
    }

    .channel-head {
        padding: 16px;
        gap: 14px;
        flex-wrap: wrap;
    }

    .ch-logo {
        width: 84px;
        height: 56px;
    }

    .ch-title-row h1 {
        font-size: 18px;
    }

    .ch-meta {
        font-size: 12px;
    }

    .ch-head-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .offair-card {
        padding: 28px 20px;
    }

    .offair-body h2 {
        font-size: 21px;
    }

    .offair-desc {
        font-size: 13px;
        margin-bottom: 22px;
    }

    .offair-actions {
        width: 100%;
        flex-direction: column;
    }

    .notice-box {
        padding: 20px;
    }

    .tl-text {
        font-size: 13px;
    }

    .feedback-note {
        padding: 14px 16px;
        font-size: 12px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-tabs {
        gap: 20px;
    }

    .category-tab {
        font-size: 14px;
        padding: 12px 0 10px;
    }

    .contact-page {
        gap: 24px;
    }

    .contact-hero {
        padding: 24px;
    }

    .contact-hero h1 {
        font-size: 24px;
    }

    .contact-hero p {
        font-size: 14px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-card {
        padding: 16px;
    }

    .contact-form-foot {
        padding-left: 0;
        flex-wrap: wrap;
    }

    .special-hero-lang {
        top: 10px;
        right: 10px;
    }

    .special-lang-btn {
        padding: 3px 10px;
        font-size: 11.5px;
    }

}

@media (max-width: 640px) {
    .main-container {
        grid-template-columns: none;
    }

    .special-cat-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .special-cat-card {
        padding: 16px;
        gap: 12px;
    }

    .special-cat-icon {
        font-size: 18px;
        border-radius: 12px;
    }
}

/* ---------- ≤560px ---------- */
@media (max-width: 560px) {
    .hi-main {
        flex: 1 1 calc(100% - 84px);
        display: flow;
    }

    .history-items {
        padding: 6px;
    }
}

/* ---------- ≤480px ---------- */
@media (max-width: 480px) {
    .theme-switch {
        width: 48px;
        height: 26px;
        border-radius: 13px;
    }

    .theme-switch-track {
        border-radius: 13px;
    }

    .theme-switch-thumb {
        width: 20px;
        height: 20px;
    }

    body.dark-mode .theme-switch-thumb {
        transform: translateX(22px);
    }

    .theme-switch-thumb .theme-icon {
        width: 12px;
        height: 12px;
    }

    .aboutpage-hero {
        padding: 22px 18px;
        border-radius: 10px;
    }

    .aboutpage-hero h1 {
        font-size: 20px;
    }

    .aboutpage-stat-num {
        font-size: 20px;
    }

    .aboutpage-intro-text {
        padding: 20px 16px;
        border-radius: 10px;
    }

    .aboutpage-brand-card {
        padding: 24px 18px;
        border-radius: 10px;
    }

    .aboutpage-brand-logo {
        width: 96px;
        height: 96px;
        border-radius: 20px;
        margin-bottom: 16px;
    }

    .aboutpage-brand-name {
        font-size: 18px;
    }

    .aboutpage-value-card {
        padding: 18px 16px;
        border-radius: 10px;
    }

    .aboutpage-cta {
        padding: 20px 18px;
        border-radius: 10px;
    }

    .aboutpage-cta-actions {
        flex-direction: column;
    }

    .aboutpage-cta-btn {
        width: 100%;
    }

    .logohistory-hero {
        padding: 22px 18px 24px;
        padding-top: 58px;
        border-radius: 10px;
    }

    .logohistory-hero h1 {
        font-size: 20px;
    }

    .logohistory-current {
        padding: 20px 18px;
        border-radius: 10px;
    }

    .logohistory-current-logo {
        width: 110px;
        height: 110px;
        border-radius: 14px;
    }

    .logohistory-palette {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .logohistory-downloads {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .logohistory-card {
        padding: 16px 14px;
        border-radius: 10px;
    }

    .logohistory-do {
        padding: 16px 18px;
        border-radius: 10px;
    }

    .logohistory-cta {
        padding: 20px 18px;
        border-radius: 10px;
    }

    .logohistory-cta-actions {
        flex-direction: column;
    }

    .logohistory-cta-btn {
        width: 100%;
    }

    .guide-hero {
        padding: 22px 18px 24px;
        padding-top: 58px;
        border-radius: 10px;
    }

    .guide-hero h1 {
        font-size: 20px;
    }

    .guide-step {
        padding: 16px;
    }

    .guide-step-icon {
        width: 40px;
        height: 40px;
    }

    .guide-step-icon svg {
        width: 18px;
        height: 18px;
    }

    .guide-cta {
        padding: 20px 18px;
        border-radius: 10px;
    }

    .guide-cta-actions {
        flex-direction: column;
    }

    .guide-cta-btn {
        width: 100%;
    }

    .header {
        padding: 8px 10px;
    }

    .logo-box img {
        height: 28px;
    }

    .lang-select-btn {
        padding: 6px 22px 6px 6px;
    }

    .lang-select-btn #currentLangText {
        max-width: 52px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .icon-btn {
        width: 30px;
        height: 30px;
    }

    .icon-btn svg {
        width: 18px;
        height: 18px;
    }

    .channel-tag {
        column-gap: 6px;
        row-gap: 6px;
        margin: 10px 0;
        padding: 16px;
    }

    .channel-tag .channel-tag-title {
        font-size: 14px;
    }

    .channel-tag .tag a {
        padding: 4px 10px;
        font-size: 12px;
        max-width: 150px;
    }

    .sidebar-card.current-channel-card {
        max-width: 100%;
        padding: 16px 14px 14px;
        border-radius: 10px;
    }

    .channel-logo-large {
        height: 72px;
    }

    .channel-title {
        font-size: 1rem;
    }

    .meta-info-inline li {
        font-size: 0.8125rem;
    }

    .channel-title-box {
        gap: 10px;
    }

    .channel-logo-small {
        width: 48px;
        height: 34px;
    }

    .channel-title-text h1 {
        font-size: 15px;
    }

    .recommend-grid {
        grid-template-columns: 1fr;
    }

    .drawer {
        width: 260px;
    }

    .modal-content {
        padding: 20px 16px;
        border-radius: 10px;
    }

    .modal-title {
        font-size: 1.125rem;
    }

    .modal-foot {
        padding: 14px 18px 18px;
    }

    .api-info {
        font-size: 0.8125rem;
        padding: 10px 12px;
    }

    .btn-primary {
        width: 100%;
        align-self: stretch;
    }

    .listpage-header {
        padding: 20px;
        border-radius: 10px;
    }

    .listpage-text h2 {
        font-size: 20px;
    }

    .listpage-text p {
        font-size: 13px;
    }

    .listpage-icon-box {
        width: 80px;
        height: 50px;
    }

    .video-wrapper {
        border-radius: 8px;
    }

    .donate-hero {
        padding: 22px 18px 24px;
        padding-top: 56px;
        border-radius: 10px;
    }

    .donate-hero h1 {
        font-size: 20px;
    }

    .donate-method {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 16px;
        border-radius: 10px;
    }

    .donate-method-qr {
        width: 100%;
        height: 140px;
    }

    .donate-benefit {
        padding: 18px 16px;
        border-radius: 10px;
    }

    .donate-benefit-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        margin-bottom: 12px;
    }

    .donate-benefit-icon svg {
        width: 22px;
        height: 22px;
    }

    .donate-sponsors {
        padding: 16px;
        border-radius: 10px;
    }

    .donate-cta {
        padding: 20px 18px;
        border-radius: 10px;
    }

    .donate-cta-actions {
        flex-direction: column;
    }

    .donate-cta-btn {
        width: 100%;
    }

    .disclaimer-hero {
        padding: 22px 18px 24px;
        padding-top: 58px;
        border-radius: 10px;
    }

    .disclaimer-hero h1 {
        font-size: 20px;
    }

    .disclaimer-toc {
        padding: 16px;
    }

    .disclaimer-body {
        padding: 16px;
        border-radius: 10px;
    }

    .disclaimer-section h2 {
        font-size: 16px;
        gap: 8px;
    }

    .disclaimer-contact {
        padding: 14px;
        font-size: 13px;
    }

    .adpage-hero {
        padding: 22px 18px 24px;
        padding-top: 58px;
        border-radius: 10px;
    }

    .adpage-hero h1 {
        font-size: 20px;
    }

    .adpage-hero-actions {
        flex-direction: column;
    }

    .adpage-hero-btn {
        width: 100%;
        justify-content: center;
    }

    .adpage-stat-value {
        font-size: 20px;
    }

    .adpage-steps {
        grid-template-columns: 1fr;
    }

    .adpage-slot {
        padding: 16px;
        border-radius: 10px;
    }

    .adpage-slot-head {
        flex-wrap: wrap;
        gap: 8px;
    }

    .adpage-plan {
        padding: 24px 20px;
        border-radius: 10px;
    }

    .adpage-plan-price-amount {
        font-size: 28px;
    }

    .adpage-cta {
        padding: 20px 18px;
        border-radius: 10px;
    }

    .adpage-cta-actions {
        flex-direction: column;
    }

    .adpage-cta-btn {
        width: 100%;
    }

    .offair-visual {
        width: 170px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
    }

    .channel-logo-box {
        padding: 12px;
        margin-bottom: 8px;
    }

    .mock-logo .logo-brand {
        font-size: 16px;
    }

    .mock-logo .logo-sub {
        transform: scale(0.8);
    }

    .channel-name {
        font-size: 13px;
    }

    .contact-hero {
        padding: 20px;
        border-radius: 10px;
    }

    .contact-hero h1 {
        font-size: 20px;
    }

    .contact-card {
        padding: 14px;
        gap: 12px;
    }

    .contact-card-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }

    .contact-card-icon svg {
        width: 20px;
        height: 20px;
    }
}