:root {
    /* Core Brand Colors */
    --primary-color: #FF2442;
    --primary-hover: #D91030; /* Used in AI Creation */
    --primary-hover-light: #E61E3A; /* Used in Index */

    --gold-color: #d29d4d;
    --gold-hover: #b08440;
    --gold-bg: #FFF8F0;
    
    /* Text Colors */
    --text-title: #1A1A1A;
    --text-main: #1F2329;
    --text-body: #555555;
    --text-sub: #646A73;
    --text-weak: #8F959E;
    --text-light: #999999;
    
    /* Background Colors */
    --bg-body: #FAFAFA;
    --bg-card: #FFFFFF;
    --bg-white: #FFFFFF;
    --bg-track: #F2F3F5;
    --bg-input: #F7F8FA;
    
    /* Borders & Radius */
    --border-color: #E4E6EB;
    --radius-box: 24px;
    --radius-xl: 24px;
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-btn: 50px;
    
    /* Shadows */
    --shadow-float: 0 16px 48px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 8px 24px rgba(255, 36, 66, 0.12);
    --shadow-menu: 0 4px 16px rgba(0,0,0,0.12);

    /* Platform Brand Colors */
    --brand-xhs: #FF2442;
    --brand-wechat: #07C160;
    --brand-zhihu: #0084FF;
    --brand-channels: #FA9D3B;
    --brand-douyin: #1C1C1C;
    --brand-ins: #E1306C;
    --brand-youtube: #FF0000;

    /* Status Colors */
    --status-waiting-bg: #E3F2FD; --status-waiting-text: #2196F3;
    --status-success-bg: #E8F5E9; --status-success-text: #4CAF50;
    --status-error-bg: #FFEBEE; --status-error-text: #F44336;
    
    /* Case Colors */
    --case-yellow: #FFC800;
    --case-blue: #44D7B6;
    --case-purple: #CFB6FF;
    --case-dark: #2C2F36;
    
    --tag-gold-bg: #FFF6E5;
    --tag-gold-text: #B9892E;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-body);
    color: var(--text-body);
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 240px; /* Unified to 240px */
    background-color: var(--bg-card);
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    flex-shrink: 0;
    box-shadow: 4px 0 24px rgba(0,0,0,0.02);
    z-index: 100;
    border-right: 1px solid var(--border-color);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
    padding-left: 8px;
    cursor: pointer;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #FF2442 0%, #FF6680 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 36, 66, 0.3);
    flex-shrink: 0;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-title);
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-radius: var(--radius-btn);
    cursor: pointer;
    color: var(--text-body);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background-color: #FFF5F7;
    color: var(--primary-color);
}

.nav-item.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 36, 66, 0.25);
}

/* Icons */
.icon-md { width: 20px; height: 20px; stroke-width: 2.5; }
.icon { width: 18px; height: 18px; stroke-width: 2; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
    flex-shrink: 0;
}

.pay-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 9998;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.pay-modal {
    width: min(1040px, 96vw);
    height: min(700px, 92vh);
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    display: flex;
    overflow: hidden;
    position: relative;
}

.pay-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: transparent;
    color: rgba(0,0,0,0.55);
    cursor: pointer;
    padding: 6px;
    border-radius: 10px;
    z-index: 2;
}

.pay-modal-close:hover {
    color: rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.04);
}

.pay-modal-side {
    width: 32%;
    background: linear-gradient(135deg, #1e1f23 0%, #1e1f23 100%);
    color: white;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.pay-modal-side::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 40%);
    pointer-events: none;
}

.pay-modal-side > * {
    position: relative;
    z-index: 1;
}

.pay-modal-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.pay-modal-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.pay-modal-userk {
    font-size: 12px;
    opacity: 0.75;
    margin-bottom: 2px;
}

.pay-modal-userv {
    font-size: 15px;
    font-weight: 900;
}

.pay-modal-title {
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 4px 0;
}

.pay-modal-sub {
    font-size: 12px;
    opacity: 0.85;
    margin: 0;
}

.pay-modal-benefits {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pay-benefit-item {
    border-radius: 14px;
    padding: 14px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
}

.pay-benefit-item-gold {
    border-left: 4px solid var(--gold-color);
}

.pay-benefit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.pay-benefit-k {
    font-size: 13px;
    font-weight: 900;
}

.pay-benefit-tag {
    background: var(--gold-bg);
    color: var(--gold-hover);
    border: 1px solid rgba(176, 132, 64, 0.3);
    font-size: 10px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 8px;
}

.pay-benefit-tag.gold {
    background: var(--gold-color);
    color: #1e1f23;
    border-color: rgba(210, 157, 77, 0.6);
}

.pay-benefit-v {
    font-size: 12px;
    opacity: 0.92;
}

.pay-benefit-old {
    font-size: 10px;
    opacity: 0.55;
    text-decoration: line-through;
    margin-top: 4px;
}

.pay-modal-footnote {
    font-size: 10px;
    opacity: 0.45;
    text-align: center;
}

.pay-modal-side-footer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.pay-modal-extra-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.extra-link {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.extra-link:hover {
    color: white;
}

.extra-link svg {
    opacity: 0.8;
}

.pay-modal-extra-links .divider {
    color: rgba(255,255,255,0.15);
    font-size: 10px;
}

/* Benefit Compare Modal */
.benefit-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.benefit-modal-content {
    background: white;
    width: min(720px, 94vw);
    border-radius: 32px;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3);
    animation: modalSlideUp 0.3s ease-out;
}

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

.benefit-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    border: none;
    background: #F5F5F7;
    color: #999;
    width: 36px;
    height: 36px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.benefit-modal-close:hover {
    background: #EEEEF0;
    color: #333;
}

.benefit-modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.benefit-modal-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1F2329;
    margin-bottom: 8px;
}

.benefit-modal-header p {
    font-size: 15px;
    color: #8F959E;
}

.benefit-table-wrapper {
    background: #F8F9FA;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #EEE;
}

.benefit-table {
    width: 100%;
    border-collapse: collapse;
}

.benefit-table th, .benefit-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid #EEE;
}

.benefit-table th {
    background: #F1F2F4;
    font-size: 14px;
    color: #646A73;
    font-weight: 700;
}

.benefit-table th.feature-col { text-align: left; }
.benefit-table th.pro-col { color: var(--primary-color); background: #FFF0F2; }

.benefit-table td.feature-col { text-align: left; }
.benefit-table td.pro-val { font-weight: 700; color: var(--text-main); background: #FFF9FA; }
.benefit-table td.pro-val.highlight { color: var(--primary-color); }

.f-title { font-size: 14px; font-weight: 600; color: #1F2329; }
.f-desc { font-size: 11px; color: #8F959E; margin-top: 2px; }

.check-icon { width: 18px; height: 18px; color: #CCC; }
.check-icon.pro { color: var(--primary-color); }

.dash { width: 12px; height: 2px; background: #DDD; margin: 0 auto; }
.gray-text { color: #8F959E; font-size: 13px; }

.benefit-modal-footer {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.benefit-upgrade-btn {
    padding: 14px 60px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 36, 66, 0.2);
    transition: all 0.2s;
}

.benefit-upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 36, 66, 0.3);
}

.pay-modal-main {
    flex: 1;
    overflow: auto;
    background: white;
}

.pay-modal-main-inner {
    padding: 28px;
    padding-top: 30px;
}

.pay-plan-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-main);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pay-plan-badge {
    font-size: 12px;
    font-weight: 800;
    color: white;
    background: var(--gold-color);
    padding: 4px 10px;
    border-radius: 999px;
}

.pay-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.pay-plan-card {
    border: 2px solid #F2F3F5;
    border-radius: 14px;
    padding: 16px 14px;
    cursor: pointer;
    text-align: center;
    height: 128px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.pay-plan-card:hover {
    border-color: rgba(210, 157, 77, 0.35);
}

.pay-plan-card.active {
    border-color: var(--gold-color);
    background: var(--gold-bg);
    box-shadow: 0 0 0 2px var(--gold-color), 0 4px 12px rgba(210, 157, 77, 0.15);
}

.pay-plan-name {
    font-size: 13px;
    font-weight: 800;
    color: #555;
    margin-bottom: 10px;
}

.pay-plan-card.active .pay-plan-name {
    color: #1F2329;
}

.pay-plan-price {
    font-size: 28px;
    font-weight: 1000;
    color: #1F2329;
    margin-bottom: 4px;
}

.pay-plan-card.active .pay-plan-price {
    color: var(--gold-color);
}

.pay-plan-old {
    font-size: 12px;
    color: #B0B5BD;
    text-decoration: line-through;
    height: 16px;
}

.pay-total-card {
    background: #F7F8FA;
    border: 1px solid #F0F0F0;
    border-radius: 18px;
    padding: 18px;
}

.pay-total-k {
    font-size: 12px;
    color: var(--text-sub);
    margin-bottom: 6px;
}

.pay-total-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.pay-total-v {
    font-size: 36px;
    font-weight: 1000;
    color: #1F2329;
    line-height: 1;
}

.pay-total-save {
    font-size: 12px;
    font-weight: 800;
    color: var(--gold-hover);
    background: var(--gold-bg);
    border: 1px solid rgba(176, 132, 64, 0.3);
    padding: 4px 8px;
    border-radius: 10px;
}

.pay-total-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pay-total-btn {
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(210, 157, 77, 0.3);
    background: linear-gradient(135deg, #2C2F36 0%, #1F2329 100%);
    color: var(--gold-color);
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.pay-total-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    border-color: rgba(210, 157, 77, 0.5);
}

.pay-total-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Value Proposition in Pay Modal */
.pay-value-prop {
    margin-top: 32px;
    margin-bottom: 24px;
}

.value-prop-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.value-prop-header .line {
    flex: 1;
    height: 1px;
    background: #F0F0F0;
}

.value-prop-header .title {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.value-prop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.value-item .dot {
    width: 4px;
    height: 4px;
    background: #DDD;
    border-radius: 50%;
    flex-shrink: 0;
}

.value-item .text {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}

.pay-modal-legal {
    margin-top: 16px;
    font-size: 11px;
    color: #A2A8B0;
}

.pay-modal-legal a {
    color: #7D848E;
    text-decoration: underline;
    text-decoration-color: #E4E6EB;
}

.pay-modal-legal a:hover {
    color: var(--gold-color);
    text-decoration-color: rgba(210, 157, 77, 0.5);
}

@media (max-width: 900px) {
    .pay-modal { height: min(720px, 92vh); }
    .pay-modal-side { display: none; }
    .pay-plan-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .pay-plan-grid { grid-template-columns: 1fr; }
    .pay-modal-main-inner { padding: 18px; padding-top: 22px; }
}

.points-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.62);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    padding: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.points-modal-card {
    background: white;
    width: 440px;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
}

.points-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px;
    border-radius: 10px;
}

.points-modal-close:hover { color: #666; background: rgba(0,0,0,0.04); }

.points-modal-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
    color: var(--text-main);
}

.points-modal-subtitle {
    font-size: 14px;
    color: var(--text-sub);
    text-align: center;
    margin-bottom: 24px;
}

.points-pro-promo-banner {
    background: linear-gradient(90deg, var(--gold-bg) 0%, #FFFBF5 100%);
    border: 1px solid rgba(210, 157, 77, 0.35);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

.points-pro-promo-banner:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(210, 157, 77, 0.12);
}

.points-promo-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.points-promo-icon {
    width: 20px;
    height: 20px;
    color: var(--gold-color);
    background: rgba(210, 157, 77, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.points-promo-text {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.points-promo-text span {
    color: var(--gold-color);
    font-weight: 700;
}

.points-promo-arrow { color: var(--gold-color); }

.points-plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.points-plan-card {
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.points-plan-card:hover {
    border-color: rgba(210, 157, 77, 0.35);
    background: #FFFBF5;
}

.points-plan-card.active {
    border-color: var(--gold-color);
    background: var(--gold-bg);
}

.points-plan-card.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 20px;
    height: 20px;
    background: var(--gold-color);
    border-radius: 10px 0 12px 0;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.points-plan-card.active::before {
    content: '✓';
    position: absolute;
    bottom: -2px;
    right: 2px;
    color: white;
    font-size: 10px;
    z-index: 1;
    font-weight: bold;
}

.points-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

.points-unit {
    font-size: 13px;
    font-weight: 400;
}

.points-plan-price {
    font-size: 14px;
    color: var(--text-sub);
}

.points-plan-card.active .points-amount { color: var(--gold-color); }
.points-plan-card.active .points-plan-price { color: var(--gold-color); font-weight: 600; }

.points-payment-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.points-total-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
}

.points-total-label { font-size: 14px; color: var(--text-main); }

.points-total-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold-color);
    line-height: 1;
}

.points-total-price::before { content: '¥'; font-size: 16px; font-weight: 600; margin-right: 2px; }

.points-pay-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #2C2F36 0%, #1F2329 100%);
    color: var(--gold-color);
    border: 1px solid rgba(210, 157, 77, 0.3);
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.points-pay-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    border-color: rgba(210, 157, 77, 0.5);
}

.points-pay-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.points-tips {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-weak);
    text-align: center;
}

.guide-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.62);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    padding: 16px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.guide-modal-card {
    background: white;
    width: 400px;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.guide-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #999;
    padding: 4px;
    border-radius: 10px;
}

.guide-modal-close:hover { color: #666; background: rgba(0,0,0,0.04); }

.guide-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-color);
}

.guide-modal-icon svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 4px 6px rgba(210, 157, 77, 0.2));
}

.guide-modal-title { font-size: 20px; font-weight: 800; margin-bottom: 8px; color: var(--text-main); }
.guide-modal-desc { font-size: 14px; color: var(--text-sub); margin-bottom: 24px; line-height: 1.6; }
.guide-highlight { color: var(--gold-color); font-weight: 600; }

.guide-benefit-list {
    background: #F7F8FA;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: left;
}

.guide-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text-sub);
    margin-bottom: 8px;
}

.guide-benefit-item:last-child { margin-bottom: 0; }
.guide-check-icon { color: var(--gold-color); flex-shrink: 0; margin-top: 2px; }

.guide-action-group { display: flex; flex-direction: column; gap: 12px; }

.guide-btn-primary {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #2C2F36 0%, #1F2329 100%);
    color: var(--gold-color);
    border: 1px solid rgba(210, 157, 77, 0.3);
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.guide-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); border-color: rgba(210, 157, 77, 0.5); }

.guide-btn-secondary {
    width: 100%;
    padding: 12px;
    background: white;
    color: var(--text-main);
    border: 1px solid #E0E0E0;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.guide-btn-secondary:hover { border-color: #CCC; background: #F7F8FA; }

.guide-link-text {
    font-size: 13px;
    color: var(--text-sub);
    margin-top: 4px;
    cursor: pointer;
    text-decoration: underline;
    user-select: none;
}

.guide-link-text:hover { color: var(--gold-color); }

.points-arrival-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.62);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10010;
    padding: 16px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.points-arrival-modal-card {
    width: 400px;
    max-width: calc(100vw - 24px);
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
    animation: pointsArrivalPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.points-arrival-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.points-arrival-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: rotate(90deg);
}

.points-arrival-header {
    height: 140px;
    background: linear-gradient(135deg, #1e1f23, #2B2D31);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.points-arrival-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 40px;
    background: #FFFFFF;
    border-radius: 24px 24px 0 0;
}

.points-arrival-header-text {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    opacity: 0.9;
}

.points-arrival-icon-wrap {
    display: flex;
    justify-content: center;
    margin-top: -44px;
    position: relative;
    z-index: 1;
}

.points-arrival-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(180deg, #F3DCA8 0%, #d29d4d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(210, 157, 77, 0.3);
    border: 4px solid #FFFFFF;
    font-size: 40px;
}

.points-arrival-content {
    padding: 12px 32px 32px 32px;
}

.points-arrival-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
}

.points-arrival-amount {
    font-size: 36px;
    font-weight: 900;
    color: #d29d4d;
    margin: 12px 0;
    font-family: "DIN Alternate", sans-serif;
}

.points-arrival-unit {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-sub);
    margin-left: 4px;
}

.points-arrival-desc {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.5;
    margin-bottom: 24px;
}

.points-arrival-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #d29d4d, #b08440);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(210, 157, 77, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.points-arrival-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(210, 157, 77, 0.35);
}

.mobile-nav-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-main);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: auto;
}

.mobile-nav-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 90;
    opacity: 0;
    transition: opacity 180ms ease;
}

.mobile-nav-open .mobile-nav-mask {
    display: block;
    opacity: 1;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 6px 16px;
    border-radius: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.2s;
}

.user-profile:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.user-profile.guest-state {
    border: 1px dashed var(--border-color);
    box-shadow: none;
    background: var(--bg-input);
}

.user-profile.guest-state:hover {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 36, 66, 0.08);
}

.user-profile.guest-state .user-avatar.guest {
    background: #eef0f2;
    color: var(--text-sub);
    box-shadow: none;
}

.user-profile.guest-state:hover .user-avatar.guest {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 36, 66, 0.18);
}

.avatar, .user-avatar {
    width: 32px;
    height: 32px;
    background: #eee;
    border-radius: 50%;
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #FF2442 0%, #FF6680 100%);
    box-shadow: 0 4px 12px rgba(255, 36, 66, 0.18);
}

.user-profile-container {
    position: relative;
}

/* --- 用户下拉菜单 (与 scripts/source 原型一致) --- */
.user-menu-container { position: relative; display: flex; align-items: center; gap: 12px; }

/* 胶囊容器样式 */
.user-capsule {
    display: flex; align-items: center; gap: 12px;
    background: white; padding: 4px 4px 4px 16px;
    border-radius: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #F0F0F0;
    transition: all 0.2s;
    cursor: pointer;
}
.user-capsule:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.12); }

/* Pro 用户样式调整 */
.user-capsule.pro-user {
    border: 1px solid rgba(210, 157, 77, 0.5);
    background: #1e1f23;
}
.user-capsule.pro-user .user-version-badge { color: var(--gold-color); }
.user-capsule.pro-user .user-points { color: rgba(210, 157, 77, 0.8); }
.user-capsule.pro-user .capsule-divider { background: rgba(210, 157, 77, 0.3); }
.user-capsule.free-user {
    border-color: rgba(255, 36, 66, 0.24);
    background: linear-gradient(135deg, rgba(255, 36, 66, 0.07), rgba(255, 255, 255, 0.96));
}
.user-capsule.free-user .user-version-badge { color: #6B7280; }

.ud-member-card {
    margin: 16px 12px; padding: 16px;
    background: linear-gradient(135deg, #1e1f23 0%, #1e1f23 100%);
    border: 1px solid rgba(210, 157, 77, 0.3);
    border-radius: 12px; color: var(--gold-color);
    position: relative; overflow: hidden;
    cursor: pointer;
}
.ud-member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 40%);
    pointer-events: none;
}
.ud-member-card::after {
    content: ''; position: absolute; top: -10px; right: -10px;
    width: 60px; height: 60px; background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.ud-mc-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; position: relative; z-index: 1; }
.ud-mc-type { font-size: 15px; font-weight: 700; color: white; }
.ud-mc-date { font-size: 11px; opacity: 0.9; position: relative; z-index: 1; color: rgba(255,255,255,0.9); }
.ud-mc-btn {
    font-size: 11px; padding: 4px 10px; border: 1px solid var(--gold-color); border-radius: 12px;
    color: var(--gold-color); cursor: pointer; transition: all 0.2s;
}
.ud-mc-btn:hover { background: var(--gold-color); color: #1e1f23; }

.user-version-badge {
    font-size: 13px; color: #333; font-weight: 700;
}
.user-points {
    font-size: 13px; color: #666; font-weight: 500;
}
.user-points.free-points {
    font-size: 14px;
    font-weight: 800;
    color: #D29D4D;
    letter-spacing: 0.2px;
}
.capsule-divider {
    width: 1px; height: 14px; background: #E0E0E0;
}

.upgrade-pro-btn {
    background: linear-gradient(135deg, #2C2F36 0%, #1F2329 100%);
    color: var(--gold-color); font-size: 13px; font-weight: 600;
    padding: 0 16px; border-radius: 20px;
    height: 40px;
    border: 1px solid rgba(210, 157, 77, 0.3);
    cursor: pointer; text-decoration: none;
    display: flex; align-items: center; gap: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.upgrade-pro-btn:hover { transform: scale(1.05); }
.upgrade-pro-btn:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); border-color: rgba(210, 157, 77, 0.5); }

.user-avatar-trigger { 
    width: 32px; height: 32px; background: #ddd; border-radius: 50%;
    border: 2px solid white; box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: relative; z-index: 102;
}

.user-dropdown {
    position: absolute; top: 100%; right: 0; width: 320px;
    background: white; border-radius: 16px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 0; z-index: 101;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #F0F0F0;
    margin-top: 12px;
}
/* 增加透明桥梁，防止鼠标移出胶囊时菜单消失 */
.user-menu-container::after {
    content: ''; position: absolute; top: 100%; right: 0; width: 100%; height: 20px;
}
/* 改为 hover 整个容器触发下拉 */
.user-menu-container:hover .user-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}

.ud-header { padding: 20px 20px 16px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #F5F5F5; }
.ud-avatar-lg { width: 48px; height: 48px; background: #EEE; border-radius: 50%; flex-shrink: 0; }
.ud-info { flex: 1; }
.ud-name { font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
.ud-badge { 
    display: inline-block; font-size: 11px; padding: 2px 6px; border-radius: 4px; 
    background: #F0F1F3; color: var(--text-sub); font-weight: 500;
}

.ud-quota-section { padding: 16px 20px; background: #FAFAFA; margin: 12px 12px 0 12px; border-radius: 12px; }
.ud-quota-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; }
.ud-quota-item:last-child { margin-bottom: 0; }
.ud-quota-label { color: var(--text-sub); }
.ud-quota-value { font-weight: 600; color: var(--text-main); }
.ud-quota-value.free-points {
    color: #D29D4D;
    font-weight: 800;
}
.ud-progress-bg { height: 4px; background: #E0E0E0; border-radius: 2px; margin-top: 4px; width: 100%; overflow: hidden; }
.ud-progress-bar { height: 100%; background: var(--gold-color); border-radius: 2px; width: 0%; }

.ud-promo-banner {
    margin: 16px 12px; padding: 16px;
    background: linear-gradient(135deg, #2D3038, #000000);
    border-radius: 12px; color: white;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.ud-promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(210, 157, 77, 0.15), transparent 40%);
    pointer-events: none;
}
.ud-promo-text { flex: 1; position: relative; z-index: 1; }
.ud-promo-title { font-size: 14px; font-weight: 700; margin-bottom: 2px; color: var(--gold-color); }
.ud-promo-desc { font-size: 11px; opacity: 0.7; }
.ud-promo-btn {
    background: var(--gold-color); color: #1F1F1F; border: none;
    padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 700;
    cursor: pointer; transition: all 0.2s; position: relative; z-index: 1;
}
.ud-promo-btn:hover { background: var(--gold-hover); }

.ud-benefits { padding: 0 20px 16px 20px; }
.ud-benefits-title { font-size: 14px; font-weight: 700; color: var(--text-main); margin-bottom: 12px; }
.ud-benefits-title span { color: var(--gold-color); cursor: pointer; }
.ud-benefits-list { list-style: none; }
.ud-benefit-item { 
    display: flex; align-items: center; justify-content: space-between; 
    font-size: 12px; color: var(--text-sub); margin-bottom: 10px; 
}
/* .ud-benefit-item::before removed as per user request */
.ud-benefit-item { justify-content: flex-start; gap: 8px; }
.ud-benefit-val { margin-left: auto; color: var(--gold-color); font-weight: 600; }
.ud-benefit-item .check-icon {
    color: var(--gold-color);
    margin-right: 6px;
    font-weight: bold;
    font-size: 14px;
}

.ud-logout { 
    border-top: 1px solid #F5F5F5; padding: 14px; text-align: center;
    font-size: 13px; color: var(--text-sub); cursor: pointer; transition: color 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.ud-logout:hover { color: var(--gold-color); background: #F7F8FA; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }

.ud-quick-actions {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px 4px;
    gap: 8px;
}
.ud-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    padding: 8px 4px;
    border-radius: 8px;
    transition: background 0.1s;
}
.ud-action-btn:hover { background: #F5F5F5; color: #333; }
.ud-action-btn:hover { background: #F7F8FA; color: var(--gold-color); }
.ud-action-icon { width: 20px; height: 20px; stroke: var(--gold-color); }

.user-divider {
    width: 1px;
    height: 12px;
    background: #ddd;
    margin: 0 8px;
}

.user-dropdown-menu.show { display: block; }

/* Scroll Area */
.content-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 0 60px 60px 60px;
    display: flex;
    flex-direction: column;
}

/* Hero Section (Index) */
.hero-section {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 60px;
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--text-title);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-sub {
    font-size: 15px;
    color: var(--text-sub);
    margin-bottom: 40px;
    opacity: 0.8;
    line-height: 1.6;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 56px;
    font-weight: 400;
    line-height: 1.6;
}

.center-wrapper .hero-title {
    font-size: 36px;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.search-tabs {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
    padding-left: 12px;
}

.tab-item {
    font-size: 16px;
    color: #888;
    cursor: pointer;
    padding-bottom: 10px;
    position: relative;
    transition: all 0.3s;
    font-weight: 500;
}

.tab-item:hover { color: var(--text-title); }
.tab-item.active { color: #1A1A1A; font-weight: 800; }
.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.search-box-float {
    background: white;
    height: 88px;
    border-radius: var(--radius-box);
    display: flex;
    align-items: center;
    padding: 8px 8px 8px 32px;
    box-shadow: var(--shadow-float);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.search-box-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    color: var(--text-title);
    background: transparent;
    margin-right: 16px;
}

.btn-search {
    height: 72px;
    padding: 0 40px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 18px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-search:hover {
    background-color: var(--primary-hover);
    transform: scale(1.02);
}

.tags-group {
    margin-top: 24px;
    display: flex;
    justify-content: flex-start;
    padding-left: 12px;
    gap: 12px;
}

.tag-pill {
    background: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    color: var(--text-body);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.tag-pill:hover {
    color: var(--primary-color);
    border-color: rgba(255, 36, 66, 0.2);
    background: #FFF5F7;
}

/* AI Creation Specifics */
.top-right-controls {
    position: absolute; top: 24px; right: 32px;
    display: flex; align-items: center; gap: 12px;
    z-index: 100;
}
.pro-toggle {
    background: white; padding: 4px 4px 4px 12px; border-radius: 30px;
    display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); cursor: pointer;
}
.toggle-switch { width: 36px; height: 20px; background: #EEE; border-radius: 20px; position: relative; transition: all 0.3s; }
.toggle-circle { width: 16px; height: 16px; background: white; border-radius: 50%; position: absolute; top: 2px; left: 2px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: all 0.3s; }
.pro-toggle.active .toggle-switch { background: var(--primary-color); }
.pro-toggle.active .toggle-circle { transform: translateX(16px); }

.center-wrapper {
    width: 100%;
    max-width: 960px;
    padding: 0 24px;
    text-align: center;
    margin: 0 auto;
}

.creation-console {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-float);
    padding: 0;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    margin-bottom: 60px;
}

.tab-track-container { padding: 20px 24px 0 24px; }
.tab-track {
    background-color: var(--bg-track);
    border-radius: var(--radius-lg);
    padding: 4px;
    display: flex; align-items: center; gap: 4px;
}
.tab-track .tab-item {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 10px 0; font-size: 15px; font-weight: 500; color: var(--text-sub);
    cursor: pointer; border-radius: var(--radius-md);
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1); user-select: none;
    margin-bottom: 0; /* Override */
}
.tab-track .tab-item::after { display: none; } /* Override */
.tab-track .tab-item.active { background-color: #FFFFFF; color: var(--primary-color); font-weight: 600; box-shadow: var(--shadow-card); }
.tab-track .tab-item:hover:not(.active) { color: var(--text-main); background-color: rgba(255,255,255,0.5); }

.console-body {
    flex: 1;
    padding: 24px 24px 16px 24px;
    display: flex; flex-direction: column;
}
.input-panel { display: none; height: 100%; flex: 1; flex-direction: column; }
.input-panel.active { display: flex; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.input-textarea {
    width: 100%; border: none; resize: none; font-size: 16px; line-height: 1.6;
    color: var(--text-main); outline: none; background: transparent;
    flex: 1;
    min-height: 140px;
    scrollbar-width: none;
}
.input-textarea::-webkit-scrollbar { width: 0; height: 0; }
.input-textarea::placeholder { color: #BBB; }

.remix-input-group { display: flex; flex-direction: column; gap: 12px; }
.remix-row {
    display: flex; align-items: center; background-color: var(--bg-input);
    border-radius: 8px; padding: 12px 16px; transition: all 0.2s; border: 1px solid transparent;
}
.remix-row.active-input:focus-within {
    background-color: #FFFFFF; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(255, 36, 66, 0.1);
}
.remix-row.active-input:hover:not(:focus-within) { background-color: #F0F1F3; }
.remix-row.active-input:focus-within .remix-icon { color: var(--primary-color); }

.remix-icon { color: #999; width: 18px; height: 18px; margin-right: 12px; }
.remix-input-field { flex: 1; background: transparent; border: none; outline: none; font-size: 14px; color: var(--text-main); }
.remix-btn-add { font-size: 14px; font-weight: 600; color: var(--primary-color); cursor: pointer; border: none; background: none; padding: 4px 8px; }

.link-list-container { display: none; flex-direction: column; gap: 8px; margin-top: 12px; }
.link-list-container.show { display: flex; }
.added-link-item {
    display: flex; align-items: center; padding: 10px 14px; background: #FFF;
    border: 1px solid #EBEBEB; border-radius: 8px; font-size: 13px; color: var(--text-main);
    animation: slideDown 0.2s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.added-link-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: 12px; }
.delete-btn { color: #999; cursor: pointer; display: flex; padding: 4px; border-radius: 4px; transition: background 0.2s; }
.delete-btn:hover { background: #F5F5F5; color: var(--text-sub); }

.remix-guide-text {
    flex: 1; display: flex; flex-direction: column; justify-content: center;
    padding: 12px 12px 0 12px; color: var(--text-weak); font-size: 13px; line-height: 1.6; opacity: 0.8; transition: opacity 0.2s;
}
.remix-guide-text.hidden { display: none; }
.remix-guide-text ul { padding-left: 0; list-style: none; margin-top: 4px; }
.remix-guide-text li { position: relative; padding-left: 10px; margin-bottom: 2px; }
.remix-guide-text li::before { content: "•"; position: absolute; left: 0; color: #CCC; }

.example-area {
    margin-top: auto;
    padding-top: 12px;
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.example-label { font-size: 13px; color: var(--text-weak); font-weight: 500; }
.example-tag {
    font-size: 12px; color: var(--text-sub); background: var(--bg-track);
    padding: 4px 12px; border-radius: 20px; cursor: pointer; transition: all 0.2s; user-select: none;
}
.example-tag:hover { background: #EBECEE; color: var(--text-main); }

.console-footer {
    padding: 16px 24px 24px 24px;
    border-top: 1px solid #F5F5F5;
    display: flex; justify-content: space-between; align-items: center;
}
.strategy-dropdown-container { position: relative; width: 200px; }
.dropdown-trigger {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; background: #F2F3F5; border-radius: 8px;
    font-size: 13px; color: var(--text-main); font-weight: 500; cursor: pointer; transition: all 0.2s;
}
.dropdown-trigger:hover { background: #EBECEE; }

.dropdown-menu {
    position: absolute; bottom: calc(100% + 8px); left: 0; width: 280px;
    background: rgba(255,255,255,0.98); border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    padding: 6px; display: none; flex-direction: column; z-index: 100; border: 1px solid #E4E6EB;
    backdrop-filter: blur(8px);
    box-sizing: border-box;
}
.dropdown-menu.show { display: flex; animation: popUp 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes popUp { from { opacity: 0; transform: translateY(10px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

.note-cover .dropdown-menu,
.folder-card .dropdown-menu {
    bottom: auto;
    left: auto;
    z-index: 999;
    width: 200px;
    max-width: calc(100% - 20px);
}

.dropdown-item {
    padding: 10px 12px; font-size: 13px; color: var(--text-main); border-radius: 8px;
    cursor: pointer; display: flex; align-items: center; gap: 8px;
}
.dropdown-item:hover { background: #F7F8FA; }
.dropdown-item.active { color: var(--primary-color); background: #FFF1F3; font-weight: 600; }
.dropdown-item-desc { font-size: 11px; color: #999; margin-top: 2px; font-weight: 400; }
.badge-pro {
    font-size: 10px; padding: 2px 6px; border-radius: 4px;
    background: var(--tag-gold-bg); color: var(--tag-gold-text);
    font-weight: 600; margin-left: 8px; border: 1px solid rgba(185, 137, 46, 0.15);
}
.btn-submit {
    background: var(--primary-color); color: white; border: none; padding: 12px 32px;
    border-radius: 30px; font-size: 16px; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(255, 36, 66, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-submit:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 36, 66, 0.35); }

/* Showcase Module */
.showcase-container-large {
    text-align: left;
    margin-bottom: 40px;
}
.showcase-header-large {
    display: flex; align-items: center; gap: 8px; margin-bottom: 24px;
}
.showcase-title-large { font-size: 18px; font-weight: 800; color: var(--text-main); }
.showcase-badge-large { background: #FFF5C2; color: #B9892E; font-size: 11px; padding: 2px 6px; border-radius: 4px; font-weight: 600; }

.case-cards-wrapper {
    display: flex; gap: 24px; flex-wrap: wrap;
    justify-content: flex-start;
}
.case-card-large {
    width: calc((100% - 48px) / 3);
    background: var(--bg-white); border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04); overflow: hidden;
    cursor: pointer; transition: all 0.3s; border: 1px solid transparent;
    display: flex; flex-direction: column;
}
.case-card-large:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); border-color: #FFCCD5; }

.case-card-body { padding: 24px; flex: 1; }
.case-card-title-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.case-card-bar { width: 4px; height: 16px; border-radius: 2px; }
.case-card-title { font-size: 15px; font-weight: 700; color: var(--text-main); }

.case-card-cover-complex {
    height: 160px; background: #F7F8FA; border-radius: 12px;
    position: relative; overflow: hidden;
}
.cover-element {
    position: absolute; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 12px; font-weight: 600; border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.c-yellow .case-card-bar { background: var(--case-yellow); }
.c-yellow .elem-main { background: var(--case-yellow); width: 90px; height: 130px; left: 20px; top: 15px; writing-mode: vertical-rl; }
.c-yellow .elem-sub1 { background: #8F959E; width: 110px; height: 70px; right: -15px; top: 25px; transform: rotate(-5deg); opacity: 0.8; }
.c-yellow .elem-sub2 { background: var(--case-dark); width: 130px; height: 80px; right: 15px; bottom: -15px; }

.c-blue .case-card-bar { background: var(--case-blue); }
.c-blue .elem-main { background: var(--case-blue); width: 90px; height: 130px; left: 20px; top: 15px; writing-mode: vertical-rl; }
.c-blue .elem-sub1 { background: #8F959E; width: 110px; height: 70px; right: -15px; top: 25px; transform: rotate(-5deg); opacity: 0.8; }
.c-blue .elem-sub2 { background: var(--case-dark); width: 130px; height: 80px; right: 15px; bottom: -15px; }

.c-purple .case-card-bar { background: var(--case-purple); }
.c-purple .elem-main { background: var(--case-purple); width: 90px; height: 130px; left: 20px; top: 15px; writing-mode: vertical-rl; }
.c-purple .elem-sub1 { background: #8F959E; width: 110px; height: 70px; right: -15px; top: 25px; transform: rotate(-5deg); opacity: 0.8; }
.c-purple .elem-sub2 { background: var(--case-dark); width: 130px; height: 80px; right: 15px; bottom: -15px; }

.case-card-footer {
    padding: 16px 24px; border-top: 1px solid #F5F5F5;
}
.case-card-btn {
    width: 100%; padding: 10px; background: white; border: 1px solid #EBEBEB;
    border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-main);
    cursor: pointer; transition: all 0.2s;
}
.case-card-large:hover .case-card-btn { background: #F7F8FA; border-color: #CCC; }

/* Config Sidebar */
.config-sidebar {
    position: fixed; top: 0; right: 0; bottom: 0; width: 360px;
    background: white; box-shadow: -4px 0 20px rgba(0,0,0,0.05); z-index: 999;
    transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; border-left: 1px solid #EBEBEB;
}
.config-sidebar.open { transform: translateX(0); }
.cs-header { padding: 20px 24px; border-bottom: 1px solid #F5F5F5; display: flex; justify-content: space-between; align-items: center; }
.cs-title { font-size: 16px; font-weight: 700; color: var(--text-main); }
.cs-close { cursor: pointer; color: var(--text-sub); padding: 4px; border-radius: 4px; }
.cs-close:hover { background: #F5F5F5; }

.cs-body { flex: 1; padding: 24px; overflow-y: auto; }
.cs-form-group { margin-bottom: 24px; }
.cs-label { font-size: 14px; font-weight: 600; color: var(--text-main); margin-bottom: 8px; display: block; }
.cs-input, .cs-textarea {
    width: 100%; border: 1px solid #E0E0E0; border-radius: 8px;
    padding: 12px; font-size: 14px; color: var(--text-main);
    outline: none; transition: border 0.2s;
    box-sizing: border-box;
}
.cs-input:focus, .cs-textarea:focus { border-color: var(--primary-color); }
.cs-input { height: 44px; }
.cs-textarea { height: 200px; resize: none; line-height: 1.6; }

.page-size-select {
    width: auto;
    min-width: 108px;
    height: 44px;
    padding: 10px 34px 10px 12px;
    flex: 0 0 auto;
}

/* Creation Space (Extra) */
.dashboard-header {
    height: 72px; padding: 0 48px; display: flex; align-items: center; justify-content: flex-end; flex-shrink: 0;
}
.header-right { display: flex; align-items: center; gap: 20px; }
.pro-entry {
    display: flex; align-items: center; gap: 6px; cursor: pointer;
    background: #FFF; border: 1px solid #FFE4A0;
    padding: 6px 14px; border-radius: 20px; box-shadow: 0 2px 6px rgba(255, 228, 160, 0.2);
    transition: all 0.2s;
}
.pro-entry:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(255, 228, 160, 0.3); }
.pro-icon { width: 14px; height: 14px; fill: #B9892E; }
.pro-text { font-size: 12px; font-weight: 700; color: #B9892E; }

.dashboard-scroll {
    flex: 1; overflow-y: auto; padding: 0 48px 48px 48px;
}

.section-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; margin-top: 10px;
    flex-wrap: wrap; gap: 12px;
}
.section-title { font-size: 18px; font-weight: 700; color: var(--text-main); }

.btn-create-header {
    background: var(--primary-color); color: white; border: none; padding: 10px 20px;
    border-radius: 20px; font-size: 14px; font-weight: 600; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
    box-shadow: 0 4px 12px rgba(255, 36, 66, 0.25);
    transition: all 0.2s;
}
.btn-create-header:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 36, 66, 0.35); }

.cs-viewall-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-weak);
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}
.cs-viewall-link svg { width: 14px; height: 14px; }
.cs-viewall-link:hover { color: var(--primary-color); background: #FFF5F7; }

.folder-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; margin-bottom: 48px;
}
.folder-card {
    background: white; border: 1px solid transparent; border-radius: 16px;
    padding: 24px; cursor: pointer; transition: all 0.2s; position: relative;
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
    box-shadow: var(--shadow-card);
}
.folder-card:hover { border-color: var(--primary-color); transform: translateY(-2px); box-shadow: var(--shadow-float); }

.folder-icon { width: 48px; height: 48px; color: #FFC800; fill: currentColor; }

.folder-name { font-size: 15px; color: var(--text-main); font-weight: 600; }
.folder-count { font-size: 12px; color: var(--text-weak); }

.folder-more-btn {
    position: absolute; top: 12px; right: 12px; width: 24px; height: 24px;
    border-radius: 4px; display: flex; align-items: center; justify-content: center;
    color: var(--text-sub); opacity: 0; transition: all 0.2s;
}
.folder-more-btn:hover { background: #F2F3F5; color: var(--text-main); }
.folder-card:hover .folder-more-btn { opacity: 1; }

.folder-card.add-new { border: 2px dashed #E4E6EB; background: transparent; box-shadow: none; }
.folder-card.add-new .folder-icon { color: #DDD; }
.folder-card.add-new:hover { border-color: var(--primary-color); background: #FFF0F2; }
.folder-card.add-new:hover .folder-icon { color: var(--primary-color); }

.notes-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px;
}
.note-card {
    background: white; border-radius: 16px; overflow: visible;
    box-shadow: var(--shadow-card); transition: all 0.2s; position: relative;
    display: flex; flex-direction: column; cursor: pointer; border: 1px solid transparent;
}
.note-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }

.note-cover {
    aspect-ratio: 3/4; background: #F2F3F5; position: relative; overflow: hidden; border-radius: 16px 16px 0 0;
}
.note-cover img { width: 100%; height: 100%; object-fit: cover; }
.note-marketing-badge {
    position: absolute; left: 10px; top: 10px; z-index: 3;
    height: 24px; padding: 0 10px; border-radius: 12px;
    background: rgba(255, 36, 66, 0.92); color: #fff; font-size: 12px; font-weight: 700;
    display: inline-flex; align-items: center;
}

.note-hover-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(2px);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    opacity: 0; transition: opacity 0.2s; z-index: 2;
}
.note-card:hover .note-hover-overlay { opacity: 1; }

.overlay-btn {
    padding: 8px 24px; border-radius: 20px; font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all 0.2s; border: none; min-width: 100px;
}
.overlay-btn.view { background: white; color: var(--text-main); }
.overlay-btn.view:hover { background: #F8F9FA; transform: scale(1.05); }
.overlay-btn.publish { background: var(--primary-color); color: white; }
.overlay-btn.publish:hover { background: var(--primary-hover); transform: scale(1.05); }

.note-more-btn {
    position: absolute; top: 12px; right: 12px;
    width: 32px; height: 32px; background: rgba(0,0,0,0.3);
    border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center;
    z-index: 10; opacity: 0; transition: all 0.2s; backdrop-filter: blur(4px);
}
.note-more-btn:hover { background: rgba(0,0,0,0.6); }
.note-card:hover .note-more-btn { opacity: 1; }

.note-info { padding: 16px; flex: 1; display: flex; flex-direction: column; background: white; border-radius: 0 0 16px 16px; position: relative; z-index: 3;}
.note-title { font-size: 15px; font-weight: 600; color: var(--text-main); margin-bottom: 8px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.note-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-weak); }
.note-marketing-link {
    border: none; background: #FFF0F2; color: #FF2442; border-radius: 999px;
    height: 24px; padding: 0 10px; font-size: 12px; font-weight: 700; cursor: pointer;
}

.menu-item {
    padding: 10px 12px; font-size: 13px; color: var(--text-main); border-radius: 6px;
    cursor: pointer; display: flex; align-items: center; gap: 10px;
}
.menu-item:hover { background: #F7F8FA; }
.menu-item.danger { color: #FF2442; }
.menu-item.danger:hover { background: #FFF0F2; }

/* Publish Center (Extra) */
.top-header {
    height: 72px; padding: 0 40px; background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: space-between;
    flex-shrink: 0;
}
.page-title { font-size: 20px; font-weight: 700; color: var(--text-main); }

.btn-create {
    background: var(--primary-color); color: white; border: none; padding: 10px 24px;
    border-radius: 20px; font-size: 14px; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; gap: 6px; box-shadow: 0 4px 12px rgba(255, 36, 66, 0.25);
    transition: all 0.2s;
}
.btn-create:hover { background: var(--primary-hover); transform: translateY(-1px); }

.filter-container {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px;
}

.filter-left {
    display: flex; align-items: center; gap: 16px;
    background: white; border: 1px solid var(--border-color);
    padding: 6px; border-radius: 12px;
}

.status-tabs { display: flex; gap: 2px; }
.status-tab {
    padding: 6px 16px; font-size: 13px; color: var(--text-sub); cursor: pointer; border-radius: 8px; transition: all 0.2s;
}
.status-tab:hover { background: #F7F8FA; }
.status-tab.active { background: #F2F3F5; color: var(--text-main); font-weight: 600; }

.filter-divider { width: 1px; height: 20px; background: #E4E6EB; }

.platform-tabs { display: flex; gap: 8px; }
.pf-tab {
    display: flex; align-items: center; gap: 6px; padding: 6px 12px;
    border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--text-sub);
    border: 1px solid transparent; transition: all 0.2s;
}
.pf-tab:hover { background: #F7F8FA; }
.pf-tab.active { background: #FFF; border-color: #E4E6EB; color: var(--text-main); font-weight: 600; box-shadow: 0 2px 6px rgba(0,0,0,0.03); }
.pf-icon-sm { width: 14px; height: 14px; border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-size: 9px; background: #CCC; }
.pf-tab.active .pf-icon-sm.xhs { background: var(--brand-xhs); }
.pf-tab.active .pf-icon-sm.wechat { background: var(--brand-wechat); }
.pf-tab.active .pf-icon-sm.zhihu { background: var(--brand-zhihu); }
.pf-tab.active .pf-icon-sm.channels { background: var(--brand-channels); }
.pf-tab.active .pf-icon-sm.douyin { background: var(--brand-douyin); }
.pf-tab.active .pf-icon-sm.ins { background: var(--brand-ins); }
.pf-tab.active .pf-icon-sm.youtube { background: var(--brand-youtube); }

.search-box { position: relative; width: 240px; }
.search-input-box { /* renamed to avoid conflict */
    width: 100%; padding: 10px 12px 10px 36px; border: 1px solid #E4E6EB; border-radius: 20px;
    font-size: 13px; outline: none; transition: border-color 0.2s; background: white;
}
.search-input-box:focus { border-color: var(--primary-color); }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #999; width: 14px; height: 14px; }

.task-table {
    width: 100%; background: white; border-radius: 12px; border: 1px solid var(--border-color);
    border-spacing: 0; overflow: hidden;
}
.task-table th {
    text-align: left; padding: 16px 24px; background: #F9FAFB;
    font-size: 13px; color: var(--text-weak); font-weight: 600; border-bottom: 1px solid #EBEBEB;
}
.task-table td {
    padding: 16px 24px; border-bottom: 1px solid #F5F6F8; font-size: 14px; color: var(--text-main); vertical-align: middle;
}
.task-table tr:last-child td { border-bottom: none; }
.task-table tr:hover { background: #FAFAFA; }

.content-cell { display: flex; align-items: center; gap: 12px; }
.content-thumb { width: 48px; height: 64px; border-radius: 4px; background: #EEE; border: 1px solid #EBEBEB; overflow: hidden; position: relative; }
.content-thumb-media { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.content-thumb-play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 18px; background: rgba(0,0,0,0.18);
}
.content-info { display: flex; flex-direction: column; gap: 4px; max-width: 240px; }
.content-title { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.content-tags { font-size: 12px; color: var(--text-weak); display: flex; gap: 6px; }
.tag { background: #F0F2F5; padding: 2px 6px; border-radius: 4px; }

.account-cell { display: flex; align-items: center; gap: 8px; }
.platform-badge { width: 18px; height: 18px; border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: bold; }
.pf-xhs { background: var(--brand-xhs); }
.pf-wechat { background: var(--brand-wechat); }
.pf-zhihu { background: var(--brand-zhihu); }
.pf-channels { background: var(--brand-channels); }
.pf-douyin { background: var(--brand-douyin); }
.pf-ins { background: var(--brand-ins); }
.pf-youtube { background: var(--brand-youtube); }

.account-avatar { width: 24px; height: 24px; border-radius: 50%; background: #EEE; }

.status-badge { padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; display: inline-block; }
.status-waiting { background: var(--status-waiting-bg); color: var(--status-waiting-text); }
.status-success { background: var(--status-success-bg); color: var(--status-success-text); }
.status-error { background: var(--status-error-bg); color: var(--status-error-text); }

.action-cell { display: flex; gap: 16px; align-items: center; }
.action-link { font-size: 13px; cursor: pointer; color: var(--text-sub); display: flex; align-items: center; gap: 4px; transition: color 0.2s; }
.action-link:hover { color: var(--primary-color); }
.action-link.delete:hover { color: #FF4D4F; }

.btn-publish-mini {
    padding: 6px 14px; border-radius: 14px; background: var(--primary-color); color: white;
    font-size: 12px; border: none; cursor: pointer; font-weight: 600;
    display: flex; align-items: center; gap: 4px; transition: opacity 0.2s;
}
.btn-publish-mini:hover { opacity: 0.9; }

.device-panel {
    margin-top: 24px;
}

.device-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.device-panel-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.device-search {
    width: 280px;
}

/* Modals */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 200;
    display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; animation: fadeIn 0.2s; }

.modal-box {
    width: 640px; background: white; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex; flex-direction: column; overflow: hidden; max-height: 85vh;
}
.modal-header { padding: 20px 24px; border-bottom: 1px solid #EBEBEB; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.modal-title { font-size: 18px; font-weight: 700; color: var(--text-main); }
.modal-close { cursor: pointer; color: #999; font-size: 20px; }

.modal-body { padding: 24px; overflow-y: auto; }

.form-group { margin-bottom: 24px; }
.form-label { font-size: 14px; font-weight: 600; color: var(--text-main); margin-bottom: 12px; display: block; }

.select-note-box {
    border: 1px solid #E4E6EB; border-radius: 8px; padding: 12px; cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; justify-content: space-between; height: 48px;
}
.select-note-box:hover { border-color: var(--primary-color); background: #F9FAFB; }
.sn-placeholder { color: #999; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.sn-selected { display: flex; align-items: center; gap: 12px; }
.sn-thumb { width: 32px; height: 42px; border-radius: 4px; background: #EEE; object-fit: cover; border: 1px solid #EBEBEB; display: block; }
.sn-thumb-placeholder { display: block; }
.sn-info { display: flex; flex-direction: column; gap: 2px; }
.sn-title { font-size: 14px; font-weight: 600; color: var(--text-main); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sn-tags { font-size: 12px; color: var(--text-weak); }
.sn-change { color: var(--primary-color); font-size: 13px; font-weight: 600; }

.note-select-modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 800px; max-height: 80vh; background: white; border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2); z-index: 300; display: none;
    flex-direction: column; overflow: hidden;
}
.note-select-modal.active { display: flex; }
.nsm-header { padding: 20px 24px; border-bottom: 1px solid #EBEBEB; display: flex; justify-content: space-between; align-items: center; }
.nsm-title { font-size: 18px; font-weight: 700; color: var(--text-main); }
.nsm-close { cursor: pointer; color: #999; font-size: 20px; }
.nsm-body { padding: 24px; overflow-y: auto; flex: 1; }
.nsm-search { margin-bottom: 20px; position: relative; }
.nsm-search input { width: 100%; padding: 12px 16px 12px 40px; border: 1px solid #E4E6EB; border-radius: 8px; font-size: 14px; }
.nsm-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #999; }
.note-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.note-item { border: 1px solid #E4E6EB; border-radius: 8px; padding: 16px; cursor: pointer; transition: all 0.2s; }
.note-item:hover { border-color: var(--primary-color); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.note-item.selected { border-color: var(--primary-color); background: #FFF0F2; }
.note-thumb { width: 100%; height: 120px; border-radius: 4px; background: #F0F2F5; margin-bottom: 12px; overflow: hidden; position: relative; }
.note-thumb-media { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.note-thumb-play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 28px; background: rgba(0,0,0,0.18);
}
.nsm-footer { padding: 20px 24px; border-top: 1px solid #EBEBEB; display: flex; justify-content: flex-end; }

.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; }
.platform-option {
    border: 1px solid #E4E6EB; border-radius: 8px; padding: 16px 0; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 8px; transition: all 0.2s;
}

@media (max-width: 960px) {
    body {
        height: 100dvh;
    }

    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 280px;
        max-width: 84vw;
        transform: translateX(-110%);
        transition: transform 220ms ease;
        z-index: 100;
        border-right: 1px solid var(--border-color);
        box-shadow: 8px 0 28px rgba(0,0,0,0.12);
    }

    .mobile-nav-open .sidebar {
        transform: translateX(0);
    }

    .header {
        height: 56px;
        padding: 0 16px;
        justify-content: space-between;
    }

    .mobile-nav-btn {
        display: inline-flex;
    }

    .content-scroll {
        padding: 0 16px 24px 16px;
    }

    .dashboard-scroll {
        padding: 16px;
    }

    .top-header {
        padding: 0 16px;
        height: auto;
        min-height: 56px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .filter-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .filter-left {
        flex-wrap: wrap;
        gap: 10px;
    }

    .search-box {
        width: 100%;
    }

    .task-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-box {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        border-radius: 14px;
    }

    .note-select-modal {
        width: calc(100vw - 24px);
        max-height: 85vh;
    }

    .folder-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 14px;
        margin-bottom: 24px;
    }

    .notes-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }

    .platform-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }

    .platform-option {
        min-width: auto;
        padding: 14px 0;
    }
}
.platform-option:hover { border-color: #CCC; background: #F9FAFB; }
.platform-option.selected.xhs { border-color: var(--brand-xhs); background: #FFF0F2; }
.platform-option.selected.wechat { border-color: var(--brand-wechat); background: #F0F9EB; }
.platform-option.selected.zhihu { border-color: var(--brand-zhihu); background: #F0F7FF; }
.platform-option.selected.channels { border-color: var(--brand-channels); background: #FFF8F0; }
.platform-option.selected.douyin { border-color: var(--brand-douyin); background: #F5F5F5; }
.platform-option.selected.ins { border-color: var(--brand-ins); background: rgba(225, 48, 108, 0.08); }
.platform-option.selected.youtube { border-color: var(--brand-youtube); background: rgba(255, 0, 0, 0.06); }

.pf-icon-lg {
    width: 32px; height: 32px; border-radius: 50%; color: white;
    display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: bold;
    flex-shrink: 0;
}
.pf-name { font-size: 13px; color: var(--text-main); font-weight: 600; }

.account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.account-option {
    border: 1px solid #E4E6EB; border-radius: 8px; padding: 12px; cursor: pointer;
    display: flex; align-items: center; gap: 10px; transition: all 0.2s;
}
.account-option:hover { border-color: #CCC; }
.account-option.selected { border-color: var(--primary-color); background: #FFF0F2; }
.ao-avatar { width: 28px; height: 28px; background: #EEE; border-radius: 50%; }
.ao-name { font-size: 14px; color: var(--text-main); }

.time-options { display: flex; gap: 24px; margin-bottom: 12px; }
.radio-label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; color: var(--text-main); }
.time-picker {
    border: 1px solid #E4E6EB; padding: 10px; border-radius: 8px; width: 100%; font-size: 14px;
    display: none; color: var(--text-main);
}
.time-picker.show { display: block; }

.modal-footer {
    padding: 20px 24px; border-top: 1px solid #EBEBEB; display: flex; justify-content: flex-end; gap: 12px; flex-shrink: 0;
}
.btn-cancel {
    padding: 10px 28px; border-radius: 20px; font-size: 14px; cursor: pointer;
    background: white; border: 1px solid #E4E6EB; color: var(--text-sub);
}
