@import url('/ai/fcill/assets/fcill-ui.css');

:root {
    --creator-primary: #0b63ce;
    --creator-primary-dark: #084b9d;
    --creator-secondary: #ea580c;
    --creator-success: #0f9f5a;
    --creator-warning: #d97706;
    --creator-danger: #dc2626;
    --creator-ink: #0f172a;
    --creator-card-shadow: 0 30px 70px -40px rgba(15, 23, 42, 0.35);
    --creator-soft-shadow: 0 24px 50px -34px rgba(15, 23, 42, 0.24);
}

* {
    box-sizing: border-box;
}

body.creator-remodel {
    --brand-primary: var(--creator-primary);
    --brand-primary-dark: var(--creator-primary-dark);
    --fc-text: #101828;
    --fc-muted: rgba(16, 24, 40, 0.72);
    --fc-muted-2: rgba(16, 24, 40, 0.52);
    --fc-surface: rgba(255, 255, 255, 0.92);
    --fc-surface-2: rgba(255, 255, 255, 0.84);
    --fc-surface-3: rgba(248, 250, 252, 0.94);
    --fc-surface-solid: #ffffff;
    --fc-surface-elevated: rgba(255, 255, 255, 0.98);
    --fc-border: rgba(15, 23, 42, 0.1);
    --fc-border-strong: rgba(15, 23, 42, 0.16);
    --fc-input-placeholder: rgba(15, 23, 42, 0.36);
    color-scheme: light;
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(11, 99, 206, 0.14), transparent 32%),
        radial-gradient(circle at top right, rgba(234, 88, 12, 0.1), transparent 24%),
        linear-gradient(180deg, #f7fafc 0%, #eef4fb 46%, #f8fafc 100%);
    color: var(--fc-text);
}

body.creator-remodel.dark-mode {
    --fc-text: #f1f5f9;
    --fc-muted: rgba(241, 245, 249, 0.72);
    --fc-muted-2: rgba(241, 245, 249, 0.52);
    --fc-surface: rgba(17, 24, 39, 0.88);
    --fc-surface-2: rgba(17, 24, 39, 0.78);
    --fc-surface-3: rgba(15, 23, 42, 0.96);
    --fc-surface-solid: #111827;
    --fc-surface-elevated: rgba(17, 24, 39, 0.96);
    --fc-border: rgba(148, 163, 184, 0.18);
    --fc-border-strong: rgba(148, 163, 184, 0.26);
    --fc-input-placeholder: rgba(241, 245, 249, 0.34);
    color-scheme: dark;
    background:
        radial-gradient(circle at top left, rgba(11, 99, 206, 0.22), transparent 32%),
        radial-gradient(circle at top right, rgba(234, 88, 12, 0.16), transparent 24%),
        linear-gradient(180deg, #07111f 0%, #0b1220 44%, #0f172a 100%);
}

body.creator-remodel.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
}

.container {
    width: min(1320px, 92vw);
    margin: 0 auto;
    padding: 1.35rem 0 3rem;
}

.topbar {
    position: sticky;
    top: 14px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--fc-border);
    border-radius: 999px;
    background: var(--fc-surface);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--creator-primary), var(--creator-primary-dark));
    box-shadow: none;
}

.brand-text {
    display: grid;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.brand-text span {
    font-size: 0.78rem;
    color: var(--fc-muted-2);
}

.topbar-nav {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--fc-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--creator-primary);
    background: rgba(11, 99, 206, 0.1);
    border-color: transparent;
}

.topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar-actions .icon-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    background: var(--fc-surface-2);
    box-shadow: none;
    color: var(--fc-muted);
}

.topbar-actions .icon-btn:hover {
    background: var(--creator-primary);
    border-color: var(--creator-primary);
    color: #ffffff;
}

.topbar-actions .avatar-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--creator-primary), var(--creator-primary-dark));
    box-shadow: none;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
}

.topbar-actions .theme-toggle-label,
.topbar-actions .icon-btn span {
    display: none;
}

.topbar-actions .icon-btn.show-label {
    width: auto;
    padding: 0.72rem 1rem;
    border-radius: 999px;
}

.topbar-actions .icon-btn.show-label span {
    display: inline;
    font-size: 0.88rem;
    font-weight: 700;
}

.topbar-actions .icon-btn.show-label i {
    font-size: 0.92rem;
}

.topbar-actions .dropdown-menu {
    margin-top: 0.45rem;
}

.icon-btn,
.creator-btn,
.dropdown-item,
.creator-inline-link,
.creator-tabset button,
.filter-chip,
.auth-toggle {
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.icon-btn,
.avatar-btn,
.creator-btn,
.creator-inline-link,
.filter-chip,
.auth-toggle {
    border-radius: 999px;
}

.icon-btn,
.avatar-btn,
.creator-btn,
.creator-inline-link,
.creator-tabset button,
.filter-chip,
.auth-toggle,
.dropdown-item,
.rail-link,
.side-link,
.tile,
.stack-item,
.social-link {
    text-decoration: none;
}

.icon-btn,
.avatar-btn,
.creator-btn,
.creator-inline-link,
.creator-tabset button,
.filter-chip,
.auth-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.78rem 1.1rem;
    border: 1px solid var(--fc-border);
    background: var(--fc-surface);
    color: var(--fc-text);
    cursor: pointer;
    box-shadow: var(--creator-soft-shadow);
}

.icon-btn:hover,
.avatar-btn:hover,
.creator-btn:hover,
.creator-inline-link:hover,
.creator-tabset button:hover,
.filter-chip:hover,
.auth-toggle:hover,
.social-link:hover {
    transform: translateY(-1px);
    border-color: rgba(11, 99, 206, 0.25);
}

.icon-btn.primary,
.creator-btn.primary,
.creator-inline-link.primary {
    background: linear-gradient(135deg, var(--creator-primary), var(--creator-primary-dark));
    border-color: transparent;
    color: #ffffff;
}

.creator-btn.secondary,
.creator-inline-link.secondary,
.creator-tabset button.is-active,
.filter-chip.is-active,
.auth-toggle.is-active {
    background: rgba(11, 99, 206, 0.1);
    border-color: rgba(11, 99, 206, 0.25);
    color: var(--creator-primary);
}

.theme-toggle-label {
    font-size: 0.92rem;
    font-weight: 700;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.75rem);
    min-width: 220px;
    display: none;
    gap: 0.35rem;
    padding: 0.7rem;
    border-radius: 20px;
    border: 1px solid var(--fc-border);
    background: var(--fc-surface-elevated);
    box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.28);
}

.dropdown.open .dropdown-menu {
    display: grid;
}

.dropdown-item {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    color: var(--fc-text);
}

.dropdown-item:hover {
    background: rgba(11, 99, 206, 0.08);
}

.dropdown-item.danger {
    color: var(--creator-danger);
}

.dropdown-divider {
    height: 1px;
    background: var(--fc-border);
    margin: 0.2rem 0;
}

.hero {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero.hero-left {
    text-align: left;
}

.creator-kicker {
    display: inline-flex;
    align-items: center;
    justify-self: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(11, 99, 206, 0.1);
    color: var(--creator-primary);
    font-size: 0.83rem;
    font-weight: 800;
}

.hero.hero-left .creator-kicker {
    justify-self: start;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 860px;
    margin: 0 auto;
    color: var(--fc-muted);
    font-size: 1.03rem;
    line-height: 1.7;
}

.hero.hero-left p {
    margin-left: 0;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero.hero-left .hero-actions {
    justify-content: flex-start;
}

.creator-page-grid {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

.creator-main,
.creator-sidebar-rail {
    display: grid;
    gap: 1.5rem;
    align-content: start;
}

.creator-panel,
.section-card,
.auth-panel,
.landing-feature-card,
.public-hero-card,
.public-banner-card,
.social-link,
.stack-item {
    border-radius: 24px;
    border: 1px solid var(--fc-border);
    background: var(--fc-surface);
    box-shadow: var(--creator-card-shadow);
}

.creator-panel-head,
.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.35rem;
    border-bottom: 1px solid var(--fc-border);
}

.creator-panel-body,
.section-body {
    display: grid;
    gap: 1.1rem;
    padding: 1.25rem 1.35rem 1.35rem;
}

.creator-panel-head h2,
.creator-panel-head h3,
.section-header h2,
.section-header h3,
.panel-title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.creator-panel-head p,
.section-header p,
.creator-meta,
.small-note,
.creator-muted,
.stack-item span,
.rail-link span,
.mini-row span,
.content-meta,
.member-email,
.hero-note,
.field-help {
    color: var(--fc-muted);
}

.creator-nav-panel .creator-panel-body {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.creator-pill-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.creator-pill-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--fc-border);
    background: var(--fc-surface-3);
    color: var(--fc-muted);
    font-size: 0.94rem;
    font-weight: 700;
}

.creator-pill-tabs a.active,
.creator-pill-tabs a:hover {
    color: var(--creator-primary);
    border-color: rgba(11, 99, 206, 0.25);
    background: rgba(11, 99, 206, 0.1);
}

.creator-alert-stack {
    display: grid;
    gap: 0.8rem;
}

.creator-alert {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    border-radius: 18px;
    border: 1px solid transparent;
    box-shadow: var(--creator-soft-shadow);
}

.creator-alert.success {
    background: rgba(15, 159, 90, 0.12);
    border-color: rgba(15, 159, 90, 0.22);
    color: #065f46;
}

.creator-alert.error {
    background: rgba(220, 38, 38, 0.12);
    border-color: rgba(220, 38, 38, 0.22);
    color: #991b1b;
}

.creator-alert.warning {
    background: rgba(217, 119, 6, 0.12);
    border-color: rgba(217, 119, 6, 0.22);
    color: #92400e;
}

body.creator-remodel.dark-mode .creator-alert.success,
body.creator-remodel.dark-mode .creator-alert.error,
body.creator-remodel.dark-mode .creator-alert.warning {
    color: var(--fc-text);
}

.creator-card-grid,
.stack-grid,
.landing-feature-grid,
.profile-content-grid,
.public-card-grid,
.creator-two-col,
.media-grid {
    display: grid;
    gap: 1rem;
}

.creator-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
}

.stat-card.creator-stat-card,
.stack-item,
.social-link,
.content-card,
.membership-card,
.meeting-card,
.profile-highlight,
.public-hero-card,
.public-banner-card,
.landing-feature-card,
.timeline-item,
.creator-surface-card {
    position: relative;
    overflow: hidden;
    padding: 1.1rem 1.15rem;
    border-radius: 20px;
    border: 1px solid var(--fc-border);
    background: var(--fc-surface-3);
    box-shadow: var(--creator-soft-shadow);
}

.stat-card.creator-stat-card::after,
.landing-feature-card::after,
.content-card::after,
.membership-card::after {
    content: '';
    position: absolute;
    inset: auto -25px -25px auto;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(11, 99, 206, 0.08);
    filter: blur(8px);
}

.stat-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.stat-icon.primary,
.tile-icon.primary {
    color: var(--creator-primary);
    background: rgba(11, 99, 206, 0.12);
}

.stat-icon.secondary,
.tile-icon.secondary {
    color: var(--creator-secondary);
    background: rgba(234, 88, 12, 0.12);
}

.stat-icon.emerald,
.tile-icon.emerald {
    color: var(--creator-success);
    background: rgba(15, 159, 90, 0.12);
}

.stat-icon.amber,
.tile-icon.amber {
    color: var(--creator-warning);
    background: rgba(217, 119, 6, 0.12);
}

.stat-icon.rose,
.tile-icon.rose {
    color: var(--creator-danger);
    background: rgba(220, 38, 38, 0.12);
}

.stat-value {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.stat-label {
    margin-top: 0.3rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.creator-meta {
    margin-top: 0.35rem;
    font-size: 0.84rem;
}

.tag-row,
.profile-tags,
.content-tags,
.social-links,
.profile-meta-grid,
.quick-stats,
.split-actions,
.form-actions,
.table-actions,
.auth-toggle-row,
.profile-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.tag-chip,
.profile-tags span,
.content-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: rgba(11, 99, 206, 0.1);
    color: var(--creator-primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.tiles {
    display: grid;
    gap: 0.95rem;
}

.tile {
    width: 100%;
    padding: 1rem 1.05rem;
    text-align: left;
    color: var(--fc-text);
    border-radius: 20px;
    border: 1px solid var(--fc-border);
    background: var(--fc-surface-3);
    display: grid;
    gap: 0.65rem;
    cursor: pointer;
    box-shadow: var(--creator-soft-shadow);
}

.tile:hover {
    transform: translateY(-2px);
    border-color: rgba(11, 99, 206, 0.24);
}

.tile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tile-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tile h3,
.stack-item h3,
.landing-feature-card h3,
.content-card h3,
.membership-card h3,
.meeting-card h3,
.profile-highlight h3,
.section-card h3,
.public-card-grid h3,
.timeline-shell h3,
.auth-panel h3 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.tile p,
.landing-feature-card p,
.content-card p,
.membership-card p,
.meeting-card p,
.profile-highlight p,
.auth-panel p,
.sidebar-copy p,
.sidebar-copy li {
    margin: 0;
    line-height: 1.65;
    color: var(--fc-muted);
}

.mini-list,
.stack-list,
.timeline-list,
.rail-links,
.detail-list,
.social-links,
.auth-panel-grid,
.sidebar-copy,
.bundle-benefits,
.compact-list {
    display: grid;
    gap: 0.75rem;
}

.mini-row,
.stack-item,
.rail-link,
.detail-list li,
.compact-list li {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--fc-border);
    background: var(--fc-surface-3);
}

.mini-row strong,
.stack-item strong,
.rail-link strong,
.detail-list strong,
.compact-list strong,
.timeline-amount,
.content-meta strong,
.profile-name,
.auth-stat strong {
    display: block;
    font-size: 0.98rem;
}

.mini-row-empty {
    border-style: dashed;
}

.rail-link,
.side-link,
.social-link {
    display: grid;
    gap: 0.25rem;
}

.rail-link .left,
.side-link .left,
.social-link .left {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.creator-table-wrap {
    overflow: auto;
    border-radius: 20px;
    border: 1px solid var(--fc-border);
    background: var(--fc-surface-elevated);
}

.creator-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.creator-table thead th {
    position: sticky;
    top: 0;
    padding: 0.95rem 1rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
    color: var(--fc-muted);
    background: var(--fc-surface-3);
}

.creator-table tbody td {
    padding: 0.95rem 1rem;
    border-top: 1px solid var(--fc-border);
    vertical-align: top;
}

.creator-table tbody tr:hover {
    background: rgba(11, 99, 206, 0.04);
}

.table-title,
.membership-member,
.content-meta,
.meeting-meta {
    display: grid;
    gap: 0.2rem;
}

.status-badge,
.creator-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    border: 1px solid transparent;
}

.status-active,
.status-completed,
.creator-badge.success {
    color: var(--creator-success);
    background: rgba(15, 159, 90, 0.12);
    border-color: rgba(15, 159, 90, 0.2);
}

.status-paused,
.status-pending,
.creator-badge.warning {
    color: var(--creator-warning);
    background: rgba(217, 119, 6, 0.12);
    border-color: rgba(217, 119, 6, 0.2);
}

.status-ended,
.status-cancelled,
.status-failed,
.creator-badge.danger {
    color: var(--creator-danger);
    background: rgba(220, 38, 38, 0.12);
    border-color: rgba(220, 38, 38, 0.2);
}

.status-planned,
.status-draft,
.creator-badge.neutral {
    color: var(--creator-primary);
    background: rgba(11, 99, 206, 0.12);
    border-color: rgba(11, 99, 206, 0.2);
}

.creator-form-grid,
.form-row,
.creator-split,
.overview-grid,
.timeline-grid,
.auth-form-grid,
.modal-grid,
.profile-stats-grid,
.dashboard-grid,
.detail-grid,
.creator-toolbar,
.creator-inline-actions {
    display: grid;
    gap: 1rem;
}

.creator-form-grid,
.form-row,
.creator-split,
.timeline-grid,
.profile-stats-grid,
.detail-grid,
.creator-toolbar {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.field,
.creator-form-grid label,
.auth-form-grid label,
.form-row label,
.modal-grid label {
    display: grid;
    gap: 0.45rem;
}

.field span,
.creator-form-grid label span,
.auth-form-grid label span,
.form-row label span,
.modal-grid label span,
.checkbox span:first-of-type,
.toggle-field span {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--fc-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.92rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--fc-border);
    background: var(--fc-surface-3);
    color: var(--fc-text);
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: var(--fc-input-placeholder);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(11, 99, 206, 0.35);
    box-shadow: 0 0 0 4px rgba(11, 99, 206, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox,
.toggle-field {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--fc-border);
    background: var(--fc-surface-3);
}

.checkbox input,
.toggle-field input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.creator-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(8px);
}

.creator-modal.open {
    display: flex;
}

.creator-modal-dialog {
    width: min(880px, 100%);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    border-radius: 26px;
    border: 1px solid var(--fc-border);
    background: var(--fc-surface-solid);
    box-shadow: 0 40px 90px rgba(15, 23, 42, 0.28);
}

.creator-modal-dialog.compact {
    width: min(580px, 100%);
}

.creator-modal-header,
.creator-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.3rem;
}

.creator-modal-header {
    border-bottom: 1px solid var(--fc-border);
}

.creator-modal-footer {
    border-top: 1px solid var(--fc-border);
}

.creator-modal-body {
    display: grid;
    gap: 1rem;
    padding: 1.2rem 1.3rem 1.3rem;
}

.creator-modal-title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
}

.bundle-composer-launcher {
    display: grid;
}

.bundle-composer-summary {
    gap: 1rem;
}

.bundle-composer-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.bundle-composer-summary-head p,
.bundle-composer-intro p {
    margin: 0.4rem 0 0;
    color: var(--fc-muted);
    line-height: 1.6;
}

.bundle-composer-modal {
    width: min(1100px, 100%);
}

.bundle-composer-modal-shell,
.bundle-composer-side {
    display: grid;
    gap: 1rem;
}

.bundle-composer-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 320px);
    gap: 1rem;
}

.bundle-composer-stats {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.bundle-composer-grid {
    display: grid;
    gap: 1rem;
}

.bundle-composer-catalog {
    display: grid;
    gap: 1rem;
}

.bundle-composer-list {
    max-height: 420px;
    overflow: auto;
    padding-right: 0.15rem;
}

.bundle-toggle-field {
    width: 100%;
    align-items: flex-start;
}

.bundle-toggle-field span,
.bundle-toggle-field .field-help {
    text-transform: none;
    letter-spacing: 0;
}

.bundle-benefits {
    margin: 0;
    padding-left: 1.1rem;
}

.bundle-benefits li {
    color: var(--fc-muted);
    line-height: 1.6;
}

.analytics-grid,
.analytics-list {
    display: grid;
    gap: 1rem;
}

.analytics-hero-grid {
    display: grid;
    gap: 1rem;
}

.analytics-chart-card,
.analytics-list-card {
    display: grid;
    gap: 1rem;
}

.analytics-chart {
    display: grid;
    gap: 0.9rem;
}

.analytics-bar-row {
    display: grid;
    gap: 0.45rem;
}

.analytics-bar-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.analytics-bar-meta strong,
.analytics-bar-meta span {
    font-size: 0.9rem;
}

.analytics-bar-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.analytics-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--creator-primary), #58a6ff);
}

.analytics-list {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.analytics-list-card .mini-row {
    display: grid;
    gap: 0.3rem;
}

.analytics-list-card .mini-row small {
    color: var(--fc-muted);
    font-size: 0.82rem;
}

@media (min-width: 980px) {
    .analytics-hero-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
        align-items: start;
    }
}

@media (min-width: 980px) {
    .bundle-composer-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
        align-items: start;
    }
}

.hover-sidebar {
    position: fixed;
    top: 110px;
    width: min(340px, calc(100vw - 80px));
    max-height: calc(100vh - 150px);
    overflow: auto;
    padding: 1rem 1rem 1.05rem;
    display: grid;
    gap: 1rem;
    border-radius: 24px;
    border: 1px solid var(--fc-border);
    background: var(--fc-surface-elevated);
    backdrop-filter: blur(14px);
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.2);
    transition: transform 0.24s ease;
    z-index: 65;
}

.hover-sidebar-right {
    right: 18px;
    left: auto;
    transform: translateX(calc(100% - 54px));
}

.hover-sidebar-left {
    left: 18px;
    right: auto;
    transform: translateX(calc(-100% + 54px));
}

.hover-sidebar:hover,
.hover-sidebar.open {
    transform: translateX(0);
}

.hover-sidebar-tab {
    position: absolute;
    top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid var(--fc-border-strong);
    background: var(--fc-surface-elevated);
    color: var(--fc-text);
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.hover-sidebar-right .hover-sidebar-tab {
    left: -52px;
    right: auto;
}

.hover-sidebar-left .hover-sidebar-tab {
    right: -52px;
    left: auto;
}

.hover-sidebar-tab:hover {
    transform: translateY(-2px);
    border-color: rgba(11, 99, 206, 0.35);
}

.hover-sidebar-left {
    z-index: 66;
}

.hover-sidebar-right {
    z-index: 67;
}

.side-section {
    display: grid;
    gap: 0.8rem;
}

.side-section h3 {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.98rem;
}

.side-links {
    display: grid;
    gap: 0.65rem;
}

.side-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--fc-border);
    background: var(--fc-surface-3);
    color: var(--fc-text);
    text-align: left;
}

.side-link:hover,
.side-link.active-link {
    border-color: rgba(11, 99, 206, 0.25);
    background: rgba(11, 99, 206, 0.08);
}

.side-link .left {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.side-link .left strong {
    font-size: 0.95rem;
}

.side-link span:last-child {
    font-size: 0.8rem;
    color: var(--fc-muted);
    text-align: right;
}

.auth-shell,
.public-shell {
    display: grid;
    gap: 1.5rem;
}

.auth-panel {
    padding: 1.25rem;
}

.auth-toggle-row {
    margin-bottom: 0.75rem;
}

.auth-panel-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.auth-panel[hidden] {
    display: none !important;
}

.auth-stat {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid var(--fc-border);
    background: var(--fc-surface-3);
}

.landing-feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.landing-feature-card {
    padding: 1.15rem 1.2rem;
}

.public-banner-card {
    min-height: 220px;
    background-size: cover;
    background-position: center;
    display: grid;
    align-content: end;
}

.public-banner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.62));
}

.public-banner-card > * {
    position: relative;
    z-index: 1;
}

.public-banner-card .creator-kicker,
.public-banner-card h2,
.public-banner-card p {
    color: #ffffff;
}

.public-hero-card {
    display: grid;
    gap: 1.25rem;
}

.profile-header {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, var(--creator-primary), var(--creator-primary-dark));
}

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

.profile-name {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.profile-subtitle {
    font-size: 0.96rem;
    color: var(--fc-muted);
}

.social-link {
    padding: 0.85rem 0.95rem;
}

.content-card,
.membership-card,
.meeting-card,
.timeline-item,
.profile-highlight,
.creator-surface-card {
    display: grid;
    gap: 0.75rem;
}

.content-card footer,
.meeting-card footer,
.membership-card footer,
.profile-highlight footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    justify-content: space-between;
}

.timeline-shell {
    display: grid;
    gap: 1rem;
}

.timeline-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline-item {
    grid-template-columns: minmax(90px, 110px) minmax(0, 1fr) auto auto;
    align-items: center;
}

.timeline-bar {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--creator-primary), var(--creator-secondary));
    width: var(--bar-width, 20%);
}

.table-action-btn,
.profile-action-btn,
.stack-item a,
.inline-link,
.subscribe-btn,
.generate-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.72rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--fc-border);
    background: var(--fc-surface);
    color: var(--fc-text);
    cursor: pointer;
}

.empty-state {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    padding: 2rem 1rem;
    text-align: center;
    border-radius: 20px;
    border: 1px dashed var(--fc-border-strong);
    background: var(--fc-surface-3);
    color: var(--fc-muted);
}

.empty-state i {
    font-size: 1.8rem;
    color: var(--creator-primary);
}

.metric-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--fc-muted);
}

.tiny-grid {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.tiny-stat {
    padding: 0.9rem;
    border-radius: 16px;
    border: 1px solid var(--fc-border);
    background: var(--fc-surface-3);
}

.tiny-stat strong {
    display: block;
    font-size: 1.1rem;
}

.tiny-stat span {
    color: var(--fc-muted);
    font-size: 0.84rem;
}

.creator-panel-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.creator-video-showcase .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.creator-video-showcase .video-card {
    background: var(--fc-surface-3);
    border-radius: 24px;
    border: 1px solid var(--fc-border);
    box-shadow: var(--creator-soft-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.creator-video-showcase .video-thumb {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.75), rgba(79, 70, 229, 0.65));
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.creator-video-showcase .video-thumb--institution {
    background: linear-gradient(135deg, rgba(11, 99, 206, 0.85), rgba(15, 159, 90, 0.65));
}

.creator-video-showcase .video-thumb-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.creator-video-showcase .video-thumb-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.78), rgba(59, 130, 246, 0.35));
    color: #ffffff;
    font-size: 2rem;
}

.creator-video-showcase .video-thumb .play-icon {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    text-shadow: 0 12px 32px rgba(15, 23, 42, 0.45);
}

.creator-video-showcase .video-thumb .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.5);
    color: #ffffff;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.creator-video-showcase .video-body {
    padding: 1.1rem 1.25rem 0.75rem;
    flex: 1;
    display: grid;
    gap: 0.75rem;
}

.creator-video-showcase .video-body h3 {
    margin: 0;
    font-size: 1.05rem;
}

.creator-video-showcase .video-body p {
    margin: 0;
    color: var(--fc-muted);
    min-height: 3.75rem;
    line-height: 1.5;
}

.creator-video-showcase .video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    font-size: 0.85rem;
    color: var(--fc-muted);
}

.creator-video-showcase .video-tags-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.creator-video-showcase .video-tags-inline span {
    background: rgba(11, 99, 206, 0.1);
    color: var(--creator-primary);
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.creator-video-showcase .video-card-footer {
    padding: 1rem 1.25rem 1.25rem;
    display: grid;
    gap: 0.6rem;
}

.creator-video-showcase .video-card-footer.video-card-footer--menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.creator-video-showcase .video-card-footer.video-card-footer--menu .btn-primary {
    flex: 1 1 200px;
}

.creator-video-showcase .video-card-footer a,
.creator-video-showcase .video-card-footer button {
    border-radius: 14px;
    padding: 0.7rem 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid transparent;
    cursor: pointer;
}

.creator-video-showcase .video-card-footer .btn-primary {
    background: linear-gradient(135deg, var(--creator-primary), #4f46e5);
    color: #ffffff;
}

.creator-video-showcase .action-menu {
    position: relative;
}

.creator-video-showcase .action-menu-trigger {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(248, 250, 252, 0.9);
    color: #1e293b;
}

.creator-video-showcase .action-menu-list {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.55rem);
    min-width: 220px;
    padding: 0.5rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 36px -26px rgba(15, 23, 42, 0.35);
    display: none;
    gap: 0.35rem;
    z-index: 60;
}

.creator-video-showcase .dropdown.active .action-menu-list {
    display: grid;
}

.creator-video-showcase .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.creator-video-showcase .dropdown-item:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.2);
}

.creator-video-showcase .tutorial-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    background: var(--fc-surface-3);
    border: 1px solid var(--fc-border);
    border-radius: 24px;
    padding: 0.75rem 1rem;
    box-shadow: var(--creator-soft-shadow);
}

.creator-video-showcase .tutorial-pagination .page-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.creator-video-showcase .tutorial-pagination .page-btn {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    color: var(--fc-text);
    padding: 0.45rem 0.8rem;
    border-radius: 0.65rem;
    min-width: 2.25rem;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.creator-video-showcase .tutorial-pagination .page-btn.active {
    background: linear-gradient(135deg, var(--creator-primary), #4f46e5);
    color: #ffffff;
    border-color: transparent;
}

.creator-video-showcase .tutorial-pagination .page-btn.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.creator-course-showcase .ytl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.creator-course-showcase .ytl-card {
    background: transparent;
    border-radius: 18px;
    overflow: visible;
    opacity: 1;
    transform: none;
}

.creator-course-showcase .ytl-card-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    background: #e5e5e5;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
}

.creator-course-showcase .ytl-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.creator-course-showcase .ytl-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #6366f1;
    font-size: 2rem;
}

.creator-course-showcase .ytl-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.creator-course-showcase .ytl-access-badge {
    bottom: auto;
    top: 8px;
    right: 8px;
}

.creator-course-showcase .ytl-card-info {
    display: flex;
    gap: 12px;
    padding: 12px 2px 4px;
    align-items: flex-start;
}

.creator-course-showcase .ytl-channel-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
    user-select: none;
}

.creator-course-showcase .ytl-card-text {
    flex: 1;
    min-width: 0;
}

.creator-course-showcase .ytl-card-title {
    margin: 0 0 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fc-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.creator-course-showcase .ytl-card-channel,
.creator-course-showcase .ytl-card-stats,
.creator-course-showcase .ytl-page-info {
    margin: 0;
    color: var(--fc-muted);
    font-size: 0.82rem;
}

.creator-course-showcase .ytl-course-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.creator-course-showcase .ytl-course-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
}

.creator-course-showcase .ytl-course-badge.self-paced {
    background: rgba(16, 185, 129, 0.16);
    color: #047857;
}

.creator-course-showcase .ytl-course-badge.short-course {
    background: rgba(249, 115, 22, 0.18);
    color: #9a3412;
}

.creator-course-showcase .ytl-more-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--fc-text);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.creator-course-showcase .ytl-card:hover .ytl-more-btn,
.creator-course-showcase .ytl-more-btn:focus {
    opacity: 1;
}

.creator-course-showcase .ytl-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    justify-content: center;
    flex-wrap: wrap;
}

.creator-course-showcase .ytl-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--fc-surface-3);
    color: var(--fc-text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.creator-course-showcase .ytl-page-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.public-card-grid,
.media-grid,
.dashboard-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.dashboard-grid .tile,
.media-grid .content-card,
.public-card-grid .content-card {
    min-height: 100%;
}

.sidebar-copy ul,
.detail-list,
.compact-list,
.membership-card ul,
.content-card ul {
    margin: 0;
    padding-left: 1.2rem;
}

.sidebar-copy li,
.membership-card li,
.content-card li {
    margin-bottom: 0.45rem;
}

.creator-two-col,
.profile-content-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.bundle-shell,
.membership-shell,
.profile-shell,
.marketing-shell {
    display: grid;
    gap: 1.5rem;
}

.text-right {
    text-align: right;
}

.hide-mobile {
    display: inline-flex;
}

@media (min-width: 1120px) {
    .creator-page-grid {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}

@media (max-width: 1100px) {
    .topbar {
        flex-wrap: wrap;
        border-radius: 24px;
    }

    .topbar-nav,
    .topbar-actions {
        justify-content: flex-start;
    }

    .profile-header,
    .timeline-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(94vw, 94vw);
        padding-top: 1rem;
    }

    .brand-text span,
    .theme-toggle-label,
    .hide-mobile {
        display: none;
    }

    .hero {
        text-align: left;
    }

    .creator-kicker,
    .hero-actions {
        justify-self: start;
        justify-content: flex-start;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .creator-panel-head,
    .section-header,
    .creator-modal-header,
    .creator-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .topbar-actions,
    .topbar-nav,
    .creator-pill-tabs,
    .auth-toggle-row,
    .profile-cta-row,
    .table-actions,
    .creator-panel-actions,
    .bundle-composer-summary-head {
        width: 100%;
    }

    .icon-btn,
    .creator-btn,
    .creator-inline-link,
    .creator-tabset button,
    .auth-toggle {
        width: 100%;
    }

    .timeline-item {
        gap: 0.55rem;
    }

    .hover-sidebar {
        display: none;
    }
}

@media (min-width: 900px) {
    .topbar-nav {
        display: inline-flex;
    }
}