/*
Theme Name: AccountShare Pro
Theme URI: https://www.shareaccounts.org
Author: Antigravity Team
Author URI: https://www.shareaccounts.org
Description: 专业高颜值共享账号发布与自动化巡检 WordPress 主题，聚焦海外四大流媒体及全网各大VIP会员共享。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: account-share
Tags: account-sharing, streaming, netflix, vip, modern, responsive, dark-mode, clean-grid
*/

/**
 * AccountShare Theme - Modern Tailwind-Style UI
 * Light / Dark Mode & Responsive Layout
 */

:root {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

    /* Light Theme */
    --bg-page: #f8fafc;
    --bg-header: rgba(255, 255, 255, 0.85);
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-subtle: #f1f5f9;
    --bg-input: #f8fafc;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --primary-light: #eff6ff;
    --primary-text: #1d4ed8;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

html.dark {
    --bg-page: #0b0f19;
    --bg-header: rgba(11, 15, 25, 0.85);
    --bg-card: #111827;
    --bg-card-hover: #162032;
    --bg-subtle: #1f2937;
    --bg-input: #172133;
    --border-color: #1f2937;
    --border-hover: #374151;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --primary: #3b82f6;
    --primary-hover: #60a5fa;
    --primary-light: rgba(59, 130, 246, 0.15);
    --primary-text: #93c5fd;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.6);
    --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.25s ease, color 0.25s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.25s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 16px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.site-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 9999px;
    background: var(--bg-subtle);
    color: var(--text-secondary);
}

.header-nav {
    display: none;
}

@media (min-width: 768px) {
    .header-nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-field {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 7px 16px 7px 36px;
    font-size: 0.875rem;
    color: var(--text-primary);
    outline: none;
    width: 160px;
    transition: width 0.3s ease, border-color 0.2s ease;
}

.search-field:focus {
    width: 220px;
    border-color: var(--primary);
}

.theme-toggle-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

html.light .moon-icon { display: block; }
html.light .sun-icon { display: none; }
html.dark .moon-icon { display: none; }
html.dark .sun-icon { display: block; }

/* Announcement Bar */
.site-announcement-bar {
    background: var(--primary-light);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 0.875rem;
}

.announcement-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.announcement-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.announcement-text {
    color: var(--primary-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hero Section */
.hero-section {
    padding: 40px 0 24px;
    text-align: center;
}

.hero-compact {
    padding: 30px 0 10px;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 20px;
}

.hero-stats {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
}

.stat-num {
    font-weight: 700;
    color: var(--primary);
}

.stat-dot.dot-live {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Filter Bar */
.filter-section {
    margin-bottom: 30px;
}

.filter-bar {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

@media (min-width: 768px) {
    .filter-bar {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
}

.category-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
    flex-wrap: wrap;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.tab-item {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    background: var(--bg-subtle);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tab-item:hover {
    color: var(--text-primary);
    background: var(--border-hover);
}

.tab-item.active {
    background: var(--primary);
    color: #ffffff;
}

.tab-count {
    font-size: 0.75rem;
    opacity: 0.8;
}

.status-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.status-filter-pill {
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.status-filter-pill:hover, .status-filter-pill.active {
    border-color: var(--primary);
    color: var(--primary);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.pill-normal .status-dot { background: var(--success); }
.pill-limited .status-dot { background: var(--warning); }
.pill-maint .status-dot { background: var(--info); }

/* Cards Grid */
.card-grid-section {
    flex: 1;
    margin-bottom: 50px;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    align-items: stretch;
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 640px) {
    .cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    align-items: stretch;
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}
}

@media (min-width: 1024px) {
    .cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    align-items: stretch;
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}
}

/* Account Card */
.account-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.account-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 10px;
    min-height: 48px;
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.platform-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-fallback {
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}

.platform-meta {
    overflow: hidden;
}

.platform-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    height: 2.7em;
    max-height: 2.7em;
    margin: 0 0 4px 0;
    white-space: normal;
    word-break: break-all;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.platform-title a:hover {
    color: var(--primary);
}

.platform-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.category-badge {
    background: var(--bg-subtle);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
    color: var(--text-secondary);
}

.update-time {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.status-badge .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-normal {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.status-normal .status-dot { background: #10b981; }

.status-limited {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.25);
}
.status-limited .status-dot { background: #f59e0b; }

.status-maintenance {
    background: rgba(6, 182, 212, 0.12);
    color: #0891b2;
    border: 1px solid rgba(6, 182, 212, 0.25);
}
.status-maintenance .status-dot { background: #06b6d4; }

.status-expired {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.25);
}
.status-expired .status-dot { background: #ef4444; }

html.dark .status-normal { color: #34d399; }
html.dark .status-limited { color: #fbbf24; }
html.dark .status-maintenance { color: #38bdf8; }
html.dark .status-expired { color: #f87171; }

/* Card Notice */
.card-notice {
    background: var(--bg-subtle);
    border-left: 3px solid var(--primary);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-icon {
    flex-shrink: 0;
    color: var(--primary);
}

.notice-text {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card Body & Credential Box */
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 14px;
}

.credential-box {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 12px;
    min-height: 84px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.credential-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.85rem;
}

.credential-row:not(:last-child) {
    border-bottom: 1px dashed var(--border-color);
}

.credential-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.credential-val-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 65%;
}

.credential-val {
    font-family: var(--font-mono);
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.85rem;
}

.credential-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-icon-action {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 6px;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon-action:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--bg-card);
}

/* Locked View */
.locked-view {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 14px 6px;
    gap: 8px;
}

.locked-shield {
    color: var(--primary);
    background: var(--primary-light);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.locked-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.locked-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-gate-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-gate-action:hover {
    background: var(--primary-hover);
}

/* Card Footer */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    margin-top: auto;
}

.card-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    font-weight: 500;
}

.card-link-btn:hover {
    color: var(--primary);
}

.report-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.report-btn:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.08);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-sm {
    padding: 5px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
}

.btn-block {
    width: 100%;
}

/* Pagination */
.pagination-wrap {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination-wrap .page-numbers {
    display: flex;
    list-style: none;
    gap: 6px;
}

.pagination-wrap a, .pagination-wrap span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.pagination-wrap a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.pagination-wrap .current {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.empty-icon {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.empty-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.empty-desc {
    color: var(--text-secondary);
    max-width: 460px;
    margin: 0 auto 20px;
    font-size: 0.95rem;
}

/* Single Page Details */
.single-main {
    padding: 30px 20px 60px;
    max-width: 860px;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.single-header {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .single-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.single-header-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.single-avatar {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
}

.avatar-fallback.large {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    font-size: 1.75rem;
}

.single-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.single-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.single-credential-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.card-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.ml-auto {
    margin-left: auto;
}

.single-notice-box {
    margin-top: 16px;
    background: var(--bg-subtle);
    border-left: 3px solid var(--primary);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.single-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
}

.single-content h2 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

/* Comments */
.comments-area {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
}

.comments-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-list {
    list-style: none;
    margin-bottom: 30px;
}

.comment-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.comment-body {
    display: flex;
    gap: 12px;
}

.comment-form textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

/* Footer */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 24px;
    margin-top: auto;
}

.footer-disclaimer {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.disclaimer-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
    }
}

/* Modal Popup */
.acc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.acc-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.acc-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.acc-modal-overlay.active .acc-modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-icon-lock {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.modal-guide-box {
    background: var(--bg-subtle);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    margin-bottom: 18px;
}

.modal-qrcode {
    max-width: 130px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 8px;
}

.guide-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.modal-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
    margin-bottom: 14px;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 600;
}

.modal-input:focus {
    border-color: var(--primary);
}

.modal-msg {
    margin-top: 10px;
    font-size: 0.85rem;
    text-align: center;
    min-height: 20px;
}

.modal-msg.error {
    color: var(--danger);
}

.modal-msg.success {
    color: var(--success);
}

/* Toast */
.acc-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0f172a;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

html.dark .acc-toast {
    background: #ffffff;
    color: #0f172a;
}

.acc-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ========================================================
   Featured Streaming Spotlight (四大海外流媒体矩阵专区)
   ======================================================== */
.featured-streaming-section {
    margin-bottom: 28px;
}

.section-badge-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.section-crown-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 9999px;
    box-shadow: var(--shadow-sm);
}

.section-crown-badge svg {
    color: #f59e0b;
}

.section-badge-tip {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.featured-stream-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    align-items: stretch;
}

@media (min-width: 640px) {
    .featured-stream-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .featured-stream-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stream-spotlight-card {
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.stream-spotlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* 平台专属品牌背景色微渐变 */
.card-netflix {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.08) 0%, var(--bg-card) 75%);
    border-color: rgba(229, 9, 20, 0.25);
}
.card-netflix:hover { border-color: #e50914; }
.card-netflix .stream-logo-icon { background: #e50914; color: #fff; }
.card-netflix .stream-tag { background: rgba(229, 9, 20, 0.15); color: #e50914; }

.card-disney {
    background: linear-gradient(135deg, rgba(0, 99, 229, 0.08) 0%, var(--bg-card) 75%);
    border-color: rgba(0, 99, 229, 0.25);
}
.card-disney:hover { border-color: #0063e5; }
.card-disney .stream-logo-icon { background: #0063e5; color: #fff; }
.card-disney .stream-tag { background: rgba(0, 99, 229, 0.15); color: #0063e5; }

.card-max {
    background: linear-gradient(135deg, rgba(88, 34, 180, 0.08) 0%, var(--bg-card) 75%);
    border-color: rgba(88, 34, 180, 0.25);
}
.card-max:hover { border-color: #7c3aed; }
.card-max .stream-logo-icon { background: linear-gradient(135deg, #002be7 0%, #7c3aed 100%); color: #fff; }
.card-max .stream-tag { background: rgba(124, 58, 237, 0.15); color: #7c3aed; }

.card-paramount {
    background: linear-gradient(135deg, rgba(0, 100, 255, 0.08) 0%, var(--bg-card) 75%);
    border-color: rgba(0, 100, 255, 0.25);
}
.card-paramount:hover { border-color: #0284c7; }
.card-paramount .stream-logo-icon { background: #0284c7; color: #fff; }
.card-paramount .stream-tag { background: rgba(2, 132, 199, 0.15); color: #0284c7; }

.stream-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.stream-logo-icon {
    font-weight: 900;
    font-size: 0.95rem;
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: -0.02em;
}

.stream-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
}

.stream-info {
    margin-bottom: 14px;
}

.stream-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.stream-alias {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.stream-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.stream-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.freshness-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.stream-tag-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* 抢号防风控规则指南 Box */
.rules-guide-section {
    margin-bottom: 24px;
}

.rules-guide-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.825rem;
}

.rules-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.rules-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .rules-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

.rule-item strong {
    color: var(--text-primary);
}


/* ==========================================================================
   Card Header & Credential Display Enhancements
   ========================================================================== */
.pool-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.credential-val.credential-code {
    background: var(--bg-subtle);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-primary);
    max-width: 170px;
}

.credential-val.credential-code.is-pwd-text {
    color: #059669;
    font-weight: 700;
}
html.dark .credential-val.credential-code.is-pwd-text {
    color: #34d399;
}

/* ==========================================================================
   Single Page Details & Platform Showcase
   ========================================================================== */
.single-header-hero {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow-card);
}
@media (min-width: 768px) {
    .single-header-hero {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.single-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.platform-pro-badge {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.meta-pool-pill {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
}
html.dark .meta-pool-pill {
    color: #34d399;
}

.btn-cta {
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.cred-verified-pill {
    font-size: 0.75rem;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 2px 8px;
    border-radius: 9999px;
    font-weight: 600;
    margin-left: 8px;
}
html.dark .cred-verified-pill {
    color: #34d399;
}

.single-cred-box {
    padding: 20px;
    background: var(--bg-subtle);
    border-radius: 14px;
    border: 1px solid var(--border-color);
}

.single-cred-row {
    padding: 14px 0;
    border-bottom: 1px dashed var(--border-color);
}
.single-cred-row:last-child {
    border-bottom: none;
}

.single-val-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.single-cred-val {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
    background: var(--bg-card);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    letter-spacing: 0.5px;
}

.single-cred-val.is-pwd {
    color: #059669;
}
html.dark .single-cred-val.is-pwd {
    color: #34d399;
}

/* ==========================================================================
   Platform Knowledge Card & 4 Features Grid
   ========================================================================== */
.single-platform-intro-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
}

.platform-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
@media (min-width: 640px) {
    .platform-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-pill-item {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-icon {
    font-size: 1rem;
}

.platform-paragraphs-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
    line-height: 1.8;
}

.intro-paragraph {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: justify;
    margin: 0;
}

/* ==========================================================================
   Backup Account Pool Table
   ========================================================================== */
.single-backup-pool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
}

.pool-intro-tip {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.pool-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.pool-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.pool-table th {
    background: var(--bg-subtle);
    padding: 12px 16px;
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.pool-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}
.pool-table tr:last-child td {
    border-bottom: none;
}
.pool-table tr:hover td {
    background: var(--bg-subtle);
}

.pool-idx-badge {
    display: inline-block;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
}

.pool-code-text {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-subtle);
    padding: 3px 6px;
    border-radius: 4px;
}
.pool-code-text.is-pwd {
    color: #059669;
}
html.dark .pool-code-text.is-pwd {
    color: #34d399;
}

.pool-action-btns {
    display: inline-flex;
    gap: 6px;
    justify-content: flex-end;
}

.btn-xs {
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 6px;
    font-weight: 600;
}

.btn-subtle {
    background: var(--bg-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-subtle:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--bg-card);
}

/* ==========================================================================
   Single Guidelines Card
   ========================================================================== */
.single-guidelines-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
}

.guidelines-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.guidelines-title svg {
    color: #f59e0b;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) {
    .guidelines-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.guide-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.guide-col p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}


/* ========================================================
   精细居中对齐与规整卡槽设计 (AccountShare Align & Slot Console)
   ======================================================== */

.section-badge-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    text-align: center;
}

.section-crown-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 9999px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.section-crown-badge svg {
    color: #f59e0b;
}

.section-badge-tip {
    font-size: 0.825rem;
    color: var(--text-muted);
    font-weight: 500;
}

.rules-guide-section {
    margin-bottom: 28px;
}

.rules-guide-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--primary);
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.rules-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

.rules-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .rules-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

.rule-item {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.825rem;
    line-height: 1.5;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.rule-item strong {
    color: var(--text-primary);
    margin-bottom: 2px;
}

.filter-section {
    margin-bottom: 28px;
}

.filter-bar {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.category-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    padding: 4px 0;
}

.tab-item {
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.tab-item:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--bg-subtle);
    transform: translateY(-1px);
}

.tab-item.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.platform-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    height: 2.7em;
    max-height: 2.7em;
    margin: 0 0 4px 0;
    white-space: normal;
    word-break: break-all;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-notice {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 10px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    height: 32px;
    box-sizing: border-box;
    overflow: hidden;
}

.card-notice .notice-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.credential-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: none;
}

.credential-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0;
    border-bottom: none;
}

.cred-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: 48px;
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.cred-label svg {
    color: var(--text-muted);
}

.cred-input-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4px 8px 4px 12px;
    height: 38px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.cred-input-wrap:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.03);
}

.cred-val {
    font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.02em;
}

.cred-val.is-pwd-text {
    color: #059669;
}

.cred-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 6px;
    padding: 4px 9px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    height: 26px;
    transition: all 0.2s ease;
}

.cred-copy-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}


    /* ========================================================
       Netflix Cookie 专属定制样式 (Dedicated Netflix Hub)
       ======================================================== */
    /* 卡片列表中的 Netflix Cookie 卡槽 */
    .netflix-card-console {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    .netflix-cookie-row {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    .netflix-input-wrap {
        background: rgba(229, 9, 20, 0.04) !important;
        border-color: rgba(229, 9, 20, 0.25) !important;
    }
    .netflix-input-wrap:hover {
        border-color: #e50914 !important;
        background: rgba(229, 9, 20, 0.08) !important;
    }
    .cred-cookie-download-link {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        color: #e50914 !important;
        font-weight: 700 !important;
        font-size: 0.8rem !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        flex: 1 !important;
    }
    .cred-cookie-download-link:hover {
        text-decoration: underline !important;
    }
    .netflix-guide-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 4px 10px !important;
    }
    .netflix-car-tag {
        font-size: 0.775rem !important;
        font-weight: 700 !important;
        color: #e50914 !important;
    }
    .netflix-detail-tut-link {
        font-size: 0.75rem !important;
        color: #e50914 !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        background: rgba(229, 9, 20, 0.1) !important;
        padding: 2px 8px !important;
        border-radius: 4px !important;
        transition: all 0.2s ease !important;
    }
    .netflix-detail-tut-link:hover {
        background: #e50914 !important;
        color: #ffffff !important;
    }

    /* 详情页专用 Netflix Hub */
    .netflix-dedicated-hub {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    .netflix-hub-notice {
        background: rgba(229, 9, 20, 0.08);
        border: 1px solid rgba(229, 9, 20, 0.3);
        border-radius: 12px;
        padding: 16px 20px;
    }
    .hub-notice-badge {
        display: inline-block;
        background: #e50914;
        color: #ffffff;
        font-size: 0.8rem;
        font-weight: 700;
        padding: 3px 10px;
        border-radius: 9999px;
        margin-bottom: 8px;
    }
    .hub-notice-desc {
        color: #cbd5e1;
        font-size: 0.875rem;
        line-height: 1.6;
        margin: 0;
    }
    .netflix-hub-action-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    @media (min-width: 640px) {
        .netflix-hub-action-grid {
            grid-template-columns: 2fr 1fr 1fr;
        }
    }
    .btn-netflix-primary-download {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: linear-gradient(135deg, #e50914 0%, #b81d24 100%);
        color: #ffffff !important;
        font-weight: 700;
        font-size: 0.95rem;
        padding: 14px 20px;
        border-radius: 12px;
        text-decoration: none;
        box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
        transition: all 0.2s ease;
        border: none;
        cursor: pointer;
    }
    .btn-netflix-primary-download:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
        background: #e50914;
    }
    .btn-netflix-secondary-copy, .btn-netflix-official-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.16);
        color: #e2e8f0 !important;
        font-weight: 600;
        font-size: 0.875rem;
        padding: 12px 16px;
        border-radius: 12px;
        text-decoration: none;
        transition: all 0.2s ease;
        cursor: pointer;
    }
    .btn-netflix-secondary-copy:hover, .btn-netflix-official-link:hover {
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.3);
        color: #ffffff !important;
    }
    /* 3 步教程卡片 */
    .netflix-tutorial-box {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 20px;
    }
    .tutorial-header {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #ffffff;
        font-size: 1rem;
        margin-bottom: 16px;
    }
    .tutorial-steps-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }
    @media (min-width: 768px) {
        .tutorial-steps-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    .tut-step-card {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 16px;
    }
    .step-num {
        display: inline-block;
        font-size: 0.75rem;
        font-weight: 800;
        color: #e50914;
        background: rgba(229, 9, 20, 0.15);
        padding: 2px 8px;
        border-radius: 4px;
        margin-bottom: 8px;
    }
    .tut-step-card h4 {
        color: #ffffff;
        font-size: 0.95rem;
        margin: 0 0 8px 0;
    }
    .tut-step-card p {
        color: #94a3b8;
        font-size: 0.8rem;
        line-height: 1.5;
        margin: 0 0 10px 0;
    }
    .plugin-store-links {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
    }
    .btn-store-tag {
        font-size: 0.72rem;
        color: #38bdf8;
        background: rgba(56, 189, 248, 0.1);
        border: 1px solid rgba(56, 189, 248, 0.3);
        padding: 3px 8px;
        border-radius: 6px;
        text-decoration: none;
        transition: all 0.2s ease;
    }
    .btn-store-tag:hover {
        background: #38bdf8;
        color: #0b0f19;
    }
    /* 避坑警示 */
    .netflix-rules-alert {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        background: rgba(239, 68, 68, 0.1);
        border: 1px solid rgba(239, 68, 68, 0.3);
        border-radius: 12px;
        padding: 14px 18px;
    }
    .netflix-rules-alert .alert-icon {
        font-size: 1.25rem;
        flex-shrink: 0;
    }
    .netflix-rules-alert strong {
        color: #f87171;
        font-size: 0.875rem;
        display: block;
        margin-bottom: 4px;
    }
    .netflix-rules-alert p {
        color: #fca5a5;
        font-size: 0.8rem;
        line-height: 1.5;
        margin: 0;
    }

.single-detail-wrapper {
    max-width: 1160px;
    margin: 0 auto;
    padding: 24px 20px 80px;
    box-sizing: border-box;
}


    /* ========================================================
       教程文章与单篇阅读样式 (Tutorials & Article System)
       ======================================================== */
    .single-article-container {
        width: 100%;
        margin-bottom: 60px;
    }
    .article-wrapper {
        max-width: 900px;
        margin: 0 auto;
        padding: 30px 20px 60px;
        box-sizing: border-box;
    }
    .article-header {
        margin-bottom: 30px;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border-color, #e2e8f0);
    }
    .article-breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.825rem;
        color: var(--text-muted, #94a3b8);
        margin-bottom: 16px;
    }
    .article-breadcrumb a {
        color: var(--text-secondary, #64748b);
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .article-breadcrumb a:hover {
        color: var(--primary, #2563eb);
    }
    .bc-sep {
        opacity: 0.6;
    }
    .bc-current {
        color: var(--text-muted, #94a3b8);
    }
    .article-title {
        font-size: 1.85rem;
        font-weight: 800;
        line-height: 1.4;
        color: var(--text-primary, #0f172a);
        margin: 0 0 16px 0;
    }
    @media (min-width: 768px) {
        .article-title {
            font-size: 2.15rem;
        }
    }
    .article-meta-bar {
        display: flex;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
        font-size: 0.825rem;
        color: var(--text-muted, #64748b);
    }
    .article-cat-tag a {
        background: rgba(37, 99, 235, 0.1);
        color: var(--primary, #2563eb);
        padding: 3px 10px;
        border-radius: 9999px;
        font-weight: 600;
        text-decoration: none;
        border: 1px solid rgba(37, 99, 235, 0.2);
    }
    .meta-item {
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
    .article-content-body {
        font-size: 1.05rem;
        line-height: 1.8;
        color: var(--text-primary, #334155);
    }
    .article-content-body h2 {
        font-size: 1.45rem;
        font-weight: 700;
        color: var(--text-primary, #0f172a);
        margin: 36px 0 16px;
        padding-bottom: 8px;
        border-bottom: 2px solid var(--border-color, #e2e8f0);
    }
    .article-content-body h3 {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--text-primary, #0f172a);
        margin: 24px 0 12px;
    }
    .article-content-body p {
        margin-bottom: 1.25em;
    }
    .article-content-body ul, .article-content-body ol {
        margin: 0 0 1.25em 20px;
        padding: 0;
    }
    .article-content-body li {
        margin-bottom: 8px;
    }
    .article-content-body code {
        background: var(--bg-subtle, #f1f5f9);
        border: 1px solid var(--border-color, #e2e8f0);
        padding: 2px 6px;
        border-radius: 4px;
        font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
        font-size: 0.9em;
        color: #e11d48;
    }
    .article-content-body hr {
        border: none;
        border-top: 1px dashed var(--border-color, #cbd5e1);
        margin: 32px 0;
    }
    .article-footer-cta {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(99, 102, 241, 0.04) 100%);
        border: 1px solid rgba(37, 99, 235, 0.25);
        border-radius: 16px;
        padding: 24px;
        margin: 40px 0 30px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    @media (min-width: 640px) {
        .article-footer-cta {
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
        }
    }
    .cta-left h3 {
        margin: 0 0 6px 0;
        font-size: 1.15rem;
        color: var(--text-primary, #0f172a);
    }
    .cta-left p {
        margin: 0;
        font-size: 0.875rem;
        color: var(--text-muted, #64748b);
    }
    .btn-cta-hub {
        display: inline-flex;
        align-items: center;
        background: var(--primary, #2563eb);
        color: #ffffff !important;
        font-weight: 700;
        font-size: 0.95rem;
        padding: 10px 20px;
        border-radius: 10px;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
        white-space: nowrap;
        transition: all 0.2s ease;
    }
    .btn-cta-hub:hover {
        background: #1d4ed8;
        transform: translateY(-2px);
    }
    .article-nav-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 30px;
        padding-top: 24px;
        border-top: 1px solid var(--border-color, #e2e8f0);
    }
    @media (min-width: 640px) {
        .article-nav-links {
            grid-template-columns: 1fr 1fr;
        }
    }
    .nav-prev, .nav-next {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .nav-next {
        text-align: right;
    }
    .nav-dir {
        font-size: 0.75rem;
        color: var(--text-muted, #94a3b8);
        font-weight: 600;
    }
    .nav-prev a, .nav-next a {
        color: var(--text-primary, #0f172a);
        font-size: 0.925rem;
        font-weight: 600;
        text-decoration: none;
        line-height: 1.4;
        transition: color 0.2s ease;
    }
    .nav-prev a:hover, .nav-next a:hover {
        color: var(--primary, #2563eb);
    }

    .tutorials-grid-section {
        margin-bottom: 60px;
    }
    .tutorials-cards-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    @media (min-width: 640px) {
        .tutorials-cards-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }
    @media (min-width: 1024px) {
        .tutorials-cards-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }
    .tutorial-card-item {
        background: var(--bg-card, #ffffff);
        border: 1px solid var(--border-color, #e2e8f0);
        border-radius: 16px;
        padding: 22px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: 0 2px 8px rgba(0,0,0,0.03);
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }
    .tutorial-card-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        border-color: var(--primary, #2563eb);
    }
    .tut-card-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
    }
    .tut-tag {
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--primary, #2563eb);
        background: rgba(37, 99, 235, 0.08);
        padding: 2px 8px;
        border-radius: 4px;
    }
    .tut-date {
        font-size: 0.75rem;
        color: var(--text-muted, #94a3b8);
    }
    .tut-card-title {
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1.45;
        margin: 0 0 10px 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .tut-card-title a {
        color: var(--text-primary, #0f172a);
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .tut-card-title a:hover {
        color: var(--primary, #2563eb);
    }
    .tut-card-excerpt {
        font-size: 0.85rem;
        color: var(--text-secondary, #64748b);
        line-height: 1.6;
        margin: 0 0 16px 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex: 1;
    }
    .tut-card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 14px;
        border-top: 1px solid var(--border-color, #f1f5f9);
        font-size: 0.775rem;
    }
    .tut-read-time {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: var(--text-muted, #94a3b8);
    }
    .btn-tut-read {
        color: var(--primary, #2563eb);
        text-decoration: none;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 3px;
        transition: gap 0.2s ease;
    }
    .btn-tut-read:hover {
        gap: 6px;
    }
