
        .password-gate {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgb(12, 12, 12);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            flex-direction: column;
            gap: 2rem;
        }
        .password-gate.hidden { display: none; }
        .password-gate .gate-logo {
            font-family: 'Saira', sans-serif;
            font-size: 3rem;
            font-weight: 900;
            font-style: italic;
            text-transform: uppercase;
            letter-spacing: -0.02em;
            color: white;
        }
        .password-gate .gate-form {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }
        .password-gate .gate-label {
            font-family: 'Cutive Mono', monospace;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: rgba(255, 255, 255, 0.6);
        }
        .password-gate .gate-input {
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            padding: 0.75rem 1.5rem;
            font-family: 'Cutive Mono', monospace;
            font-size: 1rem;
            text-align: center;
            letter-spacing: 0.2em;
            width: 280px;
        }
        .password-gate .gate-input:focus {
            outline: none;
            border-color: white;
            background-color: rgba(255, 255, 255, 0.1);
        }
        .password-gate .gate-btn {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.5);
            color: white;
            padding: 0.75rem 2rem;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .password-gate .gate-btn:hover {
            border-color: white;
            background-color: rgba(255, 255, 255, 0.1);
        }
        .password-gate .gate-error {
            color: #ff4444;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.8rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .password-gate .gate-error.visible { opacity: 1; }
        .app-wrapper { display: none; }
        .app-wrapper.unlocked { display: block; }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            background-color: rgb(12, 12, 12);
            color: white;
            font-family: 'Cutive Mono', monospace;
            letter-spacing: 0.1em;
            line-height: 1.6;
            overflow-x: hidden;
        }
        header {
            background-color: rgb(12, 12, 12);
            padding: 2rem 2rem 1rem 2rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            font-family: 'Saira', sans-serif;
            font-size: 2.5rem;
            font-weight: 900;
            font-style: italic;
            text-transform: uppercase;
            letter-spacing: -0.02em;
            color: white;
        }
        .header-followers {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-left: 2rem;
        }
        .header-followers-number {
            font-family: 'Saira', sans-serif;
            font-size: 1.5rem;
            font-weight: 900;
            font-style: italic;
        }
        .header-followers-label {
            font-size: 0.6rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            opacity: 0.7;
        }
        .header-controls {
            display: flex;
            gap: 1rem;
            align-items: center;
        }
        .last-updated {
            font-size: 0.75rem;
            opacity: 0.7;
            text-align: right;
            margin-right: 1rem;
        }
        .btn-icon {
            background: none;
            border: 1px solid rgba(255, 255, 255, 0.5);
            color: white;
            padding: 0.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            font-family: 'Cutive Mono', monospace;
            font-size: 1rem;
        }
        .btn-icon:hover {
            border-color: white;
            background-color: rgba(255, 255, 255, 0.1);
        }
        .tab-nav {
            background-color: rgb(12, 12, 12);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 0 2rem;
            display: flex;
            gap: 2rem;
            overflow-x: auto;
        }
        .tab-btn {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.6);
            padding: 1rem 0;
            cursor: pointer;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            position: relative;
            transition: color 0.3s ease;
            white-space: nowrap;
        }
        .tab-btn:hover { color: white; }
        .tab-btn.active { color: white; }
        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 2px;
            background-color: white;
        }
        .settings-panel {
            position: fixed;
            right: -420px;
            top: 0;
            width: 420px;
            height: 100vh;
            background-color: rgba(20, 20, 20, 0.98);
            border-left: 1px solid rgba(255, 255, 255, 0.1);
            padding: 2rem;
            overflow-y: auto;
            transition: right 0.3s ease;
            z-index: 1000;
        }
        .settings-panel.open { right: 0; }
        .settings-panel h3 {
            font-family: 'Saira', sans-serif;
            font-size: 1.5rem;
            font-weight: 900;
            font-style: italic;
            text-transform: uppercase;
            letter-spacing: -0.02em;
            margin-bottom: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .settings-close {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
        .settings-section {
            margin-bottom: 1.5rem;
        }
        .settings-section label {
            display: block;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 0.5rem;
            opacity: 0.8;
        }
        .settings-section input {
            width: 100%;
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            padding: 0.75rem;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.85rem;
            margin-bottom: 0.5rem;
        }
        .settings-section input:focus {
            outline: none;
            border-color: white;
            background-color: rgba(255, 255, 255, 0.1);
        }
        .settings-divider {
            border: none;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin: 1.5rem 0;
        }
        .settings-heading {
            font-family: 'Saira', sans-serif;
            font-weight: 900;
            font-style: italic;
            text-transform: uppercase;
            font-size: 0.95rem;
            margin-bottom: 1rem;
            opacity: 0.8;
        }
        .btn-save {
            background-color: transparent;
            border: 1px solid rgba(255, 255, 255, 0.5);
            color: white;
            padding: 0.75rem 1.5rem;
            cursor: pointer;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            width: 100%;
            transition: all 0.3s ease;
        }
        .btn-save:hover {
            border-color: white;
            background-color: rgba(255, 255, 255, 0.1);
        }
        .content {
            padding: 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }
        .tab-content { display: none; }
        .tab-content.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        .hero-stat {
            text-align: center;
            margin-bottom: 3rem;
        }
        .hero-number {
            font-family: 'Saira', sans-serif;
            font-size: 4rem;
            font-weight: 900;
            letter-spacing: -0.02em;
            margin-bottom: 0.5rem;
            font-style: italic;
        }
        .hero-label {
            font-size: 0.9rem;
            text-transform: uppercase;
            opacity: 0.7;
            letter-spacing: 0.1em;
        }
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .overview-row {
            display: flex;
            align-items: stretch;
            gap: 0;
            margin-bottom: 2rem;
        }
        .row-label {
            writing-mode: vertical-lr;
            transform: rotate(180deg);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Saira', sans-serif;
            font-weight: 900;
            font-style: italic;
            text-transform: uppercase;
            font-size: 0.85rem;
            letter-spacing: 0.15em;
            opacity: 0.3;
            padding: 0 0.75rem;
            white-space: nowrap;
        }
        .bottom-row {
            display: grid;
            grid-template-columns: 1fr 2.08fr;
            gap: 2rem;
            margin-top: 2rem;
            margin-bottom: 2rem;
        }

        .bp-box {
            background-color: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1.5rem;
            margin-bottom: 1rem;
            transition: all 0.3s ease;
        }
        .bp-box:hover {
            border-color: rgba(255, 255, 255, 0.2);
        }
        .bp-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }
        .bp-title {
            font-family: 'Saira', sans-serif;
            font-weight: 900;
            font-style: italic;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .bp-status {
            font-family: 'Saira', sans-serif;
            font-size: 0.65rem;
            opacity: 0.4;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }
        .bp-status.saved { color: #10b981; opacity: 0.7; }
        .bp-toggle-arrow {
            font-size: 0.7rem;
            opacity: 0.4;
            transition: transform 0.3s;
            margin-left: 0.5rem;
        }
        .bp-toggle-arrow.open { transform: rotate(180deg); }
        .bp-body {
            display: none;
            margin-top: 1.25rem;
        }
        .bp-body.open { display: block; }
        .bp-field {
            margin-bottom: 1rem;
        }
        .bp-label {
            font-family: 'Saira', sans-serif;
            font-weight: 700;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            opacity: 0.5;
            margin-bottom: 0.35rem;
        }
        .bp-hint {
            font-family: 'Saira', sans-serif;
            font-weight: 400;
            font-size: 0.7rem;
            opacity: 0.3;
            margin-bottom: 0.4rem;
        }
        .bp-input, .bp-textarea {
            width: 100%;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.12);
            color: #fff;
            padding: 0.6rem 0.8rem;
            font-family: 'Saira', sans-serif;
            font-size: 0.82rem;
            font-weight: 400;
            outline: none;
            transition: border-color 0.2s;
            box-sizing: border-box;
        }
        .bp-textarea {
            min-height: 60px;
            resize: vertical;
            line-height: 1.5;
        }
        .bp-input:focus, .bp-textarea:focus {
            border-color: rgba(255,255,255,0.35);
        }
        .bp-input::placeholder, .bp-textarea::placeholder {
            color: rgba(255,255,255,0.25);
        }
        .bp-actions {
            display: flex;
            gap: 0.75rem;
            margin-top: 0.5rem;
        }
        .bp-save-btn {
            background: #fff;
            color: #0a0a0a;
            border: none;
            padding: 0.55rem 1.2rem;
            font-family: 'Saira', sans-serif;
            font-weight: 700;
            font-style: italic;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-size: 0.72rem;
            cursor: pointer;
            transition: opacity 0.2s;
        }
        .bp-save-btn:hover { opacity: 0.85; }
        .bp-clear-btn {
            background: none;
            color: rgba(255,255,255,0.4);
            border: 1px solid rgba(255,255,255,0.1);
            padding: 0.55rem 1.2rem;
            font-family: 'Saira', sans-serif;
            font-weight: 700;
            font-size: 0.72rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        .bp-clear-btn:hover { color: #ef4444; border-color: rgba(239,68,68,0.3); }
        .bp-tags-container {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            margin-bottom: 0.4rem;
        }
        .bp-tag {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.3rem 0.7rem;
            font-family: 'Saira', sans-serif;
            font-size: 0.75rem;
            font-weight: 600;
            border-radius: 3px;
            border: 1px solid;
            transition: all 0.3s;
        }
        .bp-tag.validating {
            background: rgba(255,255,255,0.05);
            border-color: rgba(255,255,255,0.15);
            color: rgba(255,255,255,0.5);
        }
        .bp-tag.green {
            background: rgba(16,185,129,0.12);
            border-color: rgba(16,185,129,0.4);
            color: #10b981;
        }
        .bp-tag.yellow {
            background: rgba(245,158,11,0.12);
            border-color: rgba(245,158,11,0.4);
            color: #f59e0b;
        }
        .bp-tag.red {
            background: rgba(239,68,68,0.12);
            border-color: rgba(239,68,68,0.4);
            color: #ef4444;
        }
        .bp-tag-listeners {
            font-size: 0.6rem;
            font-weight: 400;
            opacity: 0.7;
        }
        .bp-tag-remove {
            cursor: pointer;
            opacity: 0.5;
            font-size: 0.85rem;
            line-height: 1;
            transition: opacity 0.2s;
        }
        .bp-tag-remove:hover { opacity: 1; }


        .gtd-box {
            background-color: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1.5rem;
            margin-bottom: 2rem;
            transition: all 0.3s ease;
        }
        .gtd-box:hover {
            border-color: rgba(255, 255, 255, 0.2);
        }
        .gtd-title {
            font-family: 'Saira', sans-serif;
            font-weight: 900;
            font-style: italic;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 1rem;
        }
        .gtd-input-row {
            display: flex;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
        }
        .gtd-input {
            flex: 1;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.15);
            color: #fff;
            padding: 0.7rem 1rem;
            font-family: 'Saira', sans-serif;
            font-size: 0.85rem;
            outline: none;
            transition: border-color 0.2s;
        }
        .gtd-input:focus {
            border-color: rgba(255,255,255,0.4);
        }
        .gtd-input::placeholder {
            color: rgba(255,255,255,0.3);
        }
        .gtd-btn {
            background: #fff;
            color: #0a0a0a;
            border: none;
            padding: 0.7rem 1.5rem;
            font-family: 'Saira', sans-serif;
            font-weight: 700;
            font-style: italic;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-size: 0.8rem;
            cursor: pointer;
            white-space: nowrap;
            transition: opacity 0.2s;
        }
        .gtd-btn:hover { opacity: 0.85; }
        .gtd-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }
        .gtd-platform-badge {
            display: inline-block;
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            padding: 2px 8px;
            border-radius: 3px;
            margin-bottom: 0.75rem;
        }
        .gtd-loading {
            padding: 1.5rem 0;
            font-family: 'Saira', sans-serif;
        }
        .gtd-progress-bar {
            width: 100%;
            height: 4px;
            background: rgba(255,255,255,0.08);
            overflow: hidden;
            margin-bottom: 0.75rem;
        }
        .gtd-progress-fill {
            height: 100%;
            background: #fff;
            width: 0%;
            transition: width 0.4s ease;
        }
        .gtd-progress-status {
            font-size: 0.75rem;
            opacity: 0.5;
            letter-spacing: 0.05em;
        }
        .gtd-results {
            margin-top: 1rem;
            font-family: 'Saira', sans-serif;
        }
        .gtd-verdict {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            margin-bottom: 1rem;
            border: 1px solid rgba(255,255,255,0.1);
            background: rgba(255,255,255,0.03);
        }
        .gtd-score-ring {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Saira', sans-serif;
            font-weight: 900;
            font-size: 1.3rem;
            flex-shrink: 0;
        }
        .gtd-verdict-text {
            flex: 1;
        }
        .gtd-verdict-label {
            font-family: 'Saira', sans-serif;
            font-weight: 900;
            font-style: italic;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 0.05em;
        }
        .gtd-verdict-summary {
            font-family: 'Saira', sans-serif;
            font-size: 0.82rem;
            font-weight: 400;
            opacity: 0.7;
            margin-top: 4px;
            line-height: 1.5;
        }
        .gtd-section {
            margin-bottom: 1rem;
        }
        .gtd-section-title {
            font-family: 'Saira', sans-serif;
            font-weight: 700;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            opacity: 0.5;
            margin-bottom: 0.5rem;
        }
        .gtd-item {
            font-family: 'Saira', sans-serif;
            font-weight: 400;
            padding: 0.5rem 0;
            padding-left: 12px;
            font-size: 0.82rem;
            line-height: 1.6;
            border-left: 2px solid rgba(255,255,255,0.1);
            margin-bottom: 0.4rem;
        }
        .gtd-item.strength { border-left-color: #10b981; }
        .gtd-item.weakness { border-left-color: #ef4444; }
        .gtd-item.rec { border-left-color: #3b82f6; }
        .gtd-meta-bar {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            font-family: 'Saira', sans-serif;
            font-weight: 400;
            font-size: 0.75rem;
            opacity: 0.5;
            margin-bottom: 1rem;
        }
        .gtd-thumbnail-note {
            font-family: 'Saira', sans-serif;
            font-weight: 400;
            font-size: 0.82rem;
            opacity: 0.7;
            line-height: 1.6;
            padding: 0.6rem;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.08);
            margin-bottom: 1rem;
        }
        .content-ideas-box {
            background-color: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1.5rem;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .content-ideas-box:hover {
            background-color: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.2);
        }
        .content-ideas-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1.5rem;
        }
        .content-ideas-title {
            font-family: 'Saira', sans-serif;
            font-weight: 900;
            font-style: italic;
            text-transform: uppercase;
            font-size: 1.4rem;
            letter-spacing: -0.02em;
            color: white;
        }
        .ideas-settings-icon {
            cursor: pointer;
            opacity: 0.5;
            transition: opacity 0.3s;
        }
        .ideas-settings-icon:hover {
            opacity: 1;
        }
        .platform-buttons {
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
        }
        .idea-btn {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: white;
            padding: 0.6rem 1.2rem;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .idea-btn:hover {
            background: rgba(255, 255, 255, 0.12);
            border-color: rgba(255, 255, 255, 0.3);
        }
        .idea-btn .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
        }
        .idea-btn .dot.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
        .idea-btn .dot.facebook  { background: #1877F2; }
        .idea-btn .dot.tiktok    { background: #00f2ea; }
        .idea-btn .dot.threads   { background: #ffffff; }
        .idea-btn .dot.youtube   { background: #FF0000; }
        .card {
            background-color: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1.5rem;
            transition: all 0.3s ease;
        }
        .card:hover {
            background-color: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.2);
        }
        .card-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }
        .card-accent {
            width: 4px;
            height: 30px;
            margin-right: 0.5rem;
        }
        .card-title {
            font-family: 'Saira', sans-serif;
            font-weight: 900;
            font-style: italic;
            text-transform: uppercase;
            letter-spacing: -0.02em;
            font-size: 1.1rem;
        }
        .card-stat { margin-bottom: 1rem; }
        .card-stat-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            opacity: 0.6;
            margin-bottom: 0.25rem;
            letter-spacing: 0.1em;
        }
        .card-stat-value {
            font-family: 'Saira', sans-serif;
            font-size: 1.8rem;
            font-weight: 900;
            font-style: italic;
            letter-spacing: -0.02em;
        }
        .card-input-group {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        .card-input {
            flex: 1;
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            padding: 0.5rem;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.85rem;
        }
        .card-input:focus {
            outline: none;
            border-color: white;
            background-color: rgba(255, 255, 255, 0.1);
        }
        .card-btn {
            background: none;
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            padding: 0.5rem 1rem;
            cursor: pointer;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            transition: all 0.3s ease;
        }
        .card-btn:hover {
            border-color: white;
            background-color: rgba(255, 255, 255, 0.1);
        }
        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 0.5rem;
        }
        .status-dot.live { background-color: #1DB954; }
        .status-dot.manual { background-color: #ff9900; }
        .card-status {
            font-size: 0.7rem;
            opacity: 0.6;
            text-transform: uppercase;
            margin-top: 0.5rem;
            display: flex;
            align-items: center;
        }
        .more-stats-dropdown {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 0.75rem;
            padding-top: 0.5rem;
        }
        .more-stats-toggle {
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            opacity: 0.6;
            padding: 0.25rem 0;
        }
        .more-stats-toggle:hover { opacity: 1; }
        .more-stats-toggle .arrow { transition: transform 0.3s; }
        .more-stats-toggle.open .arrow { transform: rotate(180deg); }
        .more-stats-content {
            display: none;
            padding-top: 0.5rem;
        }
        .more-stats-content.open { display: block; }
        .more-stats-content .card-stat { margin-bottom: 0.25rem; }

        .cards-grid {
            display: flex;
            gap: 1rem;
            flex: 1;
        }
        .cards-grid .card:not(.collapsed):not(.expanded) {
            flex: 1;
        }
        .card {
            position: relative;
            transition: all 0.3s ease;
            overflow: hidden;
            cursor: pointer;
        }
        .card.expanded {
            flex: 1;
            display: grid;
            grid-template-columns: 240px 1fr;
            gap: 0;
        }
        .card.expanded .card-main {

        }
        .card.expanded .more-stats-content {
            display: grid !important;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            max-height: none !important;
            border-left: 1px solid rgba(255,255,255,0.1);
            border-top: none;
            margin-top: 0;
            padding: 1.5rem;
            overflow-y: auto;
            align-content: start;
        }
        .card-collapsed-label {
            display: none;
            writing-mode: vertical-lr;
            transform: rotate(180deg);
            font-family: 'Saira', sans-serif;
            font-weight: 900;
            font-style: italic;
            text-transform: uppercase;
            font-size: 0.7rem;
            letter-spacing: 0.1em;
            white-space: nowrap;
            color: rgba(255, 255, 255, 0.5);
        }
        .card.collapsed {
            flex: 0 0 36px;
            min-width: 36px;
            max-width: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 0;
            background-color: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            transition: all 0.3s ease;
        }
        .card.collapsed:hover {
            background-color: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.2);
        }
        .card.collapsed .card-collapsed-label {
            display: block;
        }
        .card.collapsed .card-main,
        .card.collapsed .more-stats-dropdown {
            display: none !important;
        }
        .more-stats-toggle {
            cursor: pointer;
        }
        .card.expanded .more-stats-toggle .arrow {
            transform: rotate(180deg);
        }
        .spotify-hero {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 2rem;
            margin-bottom: 3rem;
        }
        .spotify-stat-box {
            background-color: rgba(29, 185, 84, 0.1);
            border: 2px solid #1DB954;
            padding: 2rem;
        }
        .spotify-stat-box .stat-label {
            font-size: 0.85rem;
            text-transform: uppercase;
            opacity: 0.8;
            margin-bottom: 0.5rem;
            letter-spacing: 0.1em;
        }
        .spotify-stat-box .stat-value {
            font-family: 'Saira', sans-serif;
            font-size: 2.5rem;
            font-weight: 900;
            font-style: italic;
            letter-spacing: -0.02em;
        }
        .spotify-stat-box .stat-input {
            width: 100%;
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(29, 185, 84, 0.4);
            color: white;
            padding: 0.5rem;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.85rem;
            margin-top: 0.5rem;
        }
        .spotify-stat-box .stat-input:focus {
            outline: none;
            border-color: #1DB954;
        }
        .spotify-stat-box .stat-hint {
            font-size: 0.7rem;
            opacity: 0.5;
            margin-top: 0.25rem;
        }
        .section-title {
            font-family: 'Saira', sans-serif;
            font-weight: 900;
            font-style: italic;
            text-transform: uppercase;
            letter-spacing: -0.02em;
            font-size: 1.3rem;
            margin-bottom: 1rem;
        }
        .release-list { display: grid; gap: 1rem; }
        .release-item {
            background-color: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1rem;
            display: flex;
            gap: 1rem;
            align-items: center;
            transition: all 0.3s ease;
        }
        .release-item:hover {
            background-color: rgba(29, 185, 84, 0.05);
            border-color: rgba(29, 185, 84, 0.3);
        }
        .release-thumb {
            width: 64px;
            height: 64px;
            background-color: rgba(255, 255, 255, 0.1);
            flex-shrink: 0;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background-size: cover;
            background-position: center;
        }
        .release-info { flex: 1; }
        .release-title { font-weight: 600; margin-bottom: 0.25rem; }
        .release-meta { font-size: 0.85rem; opacity: 0.6; }
        .release-link {
            color: #1DB954;
            text-decoration: none;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            border: 1px solid rgba(29, 185, 84, 0.3);
            padding: 0.4rem 0.8rem;
            transition: all 0.3s ease;
        }
        .release-link:hover {
            background-color: rgba(29, 185, 84, 0.1);
            border-color: #1DB954;
        }
        .spotify-embed-section {
            margin: 2rem 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 2rem;
        }
        .yt-hero {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-bottom: 3rem;
        }
        .yt-stat-box {
            background-color: rgba(255, 0, 0, 0.1);
            border: 2px solid #FF0000;
            padding: 2rem;
        }
        .yt-stat-box .stat-label {
            font-size: 0.85rem;
            text-transform: uppercase;
            opacity: 0.8;
            margin-bottom: 0.5rem;
            letter-spacing: 0.1em;
        }
        .yt-stat-box .stat-value {
            font-family: 'Saira', sans-serif;
            font-size: 2.5rem;
            font-weight: 900;
            font-style: italic;
            letter-spacing: -0.02em;
        }
        .video-list { display: grid; gap: 1rem; }
        .video-item {
            background-color: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1rem;
            display: flex;
            gap: 1rem;
        }
        .video-thumb {
            width: 120px;
            height: 67px;
            background-color: rgba(255, 255, 255, 0.1);
            flex-shrink: 0;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background-size: cover;
            background-position: center;
        }
        .video-info { flex: 1; }
        .video-title { font-weight: 600; margin-bottom: 0.5rem; }
        .video-meta {
            display: flex;
            gap: 1.5rem;
            font-size: 0.85rem;
            opacity: 0.7;
        }
        .video-date {
            font-size: 0.8rem;
            opacity: 0.6;
            margin-top: 0.5rem;
        }
        .ig-video-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            overflow: hidden;
            transition: border-color 0.2s;
        }
        .ig-video-card:hover { border-color: #E4405F; }
        .ig-video-thumb {
            width: 100%;
            aspect-ratio: 1;
            background-color: rgba(255, 255, 255, 0.05);
            background-size: cover;
            background-position: center;
            position: relative;
        }
        .ig-video-thumb::after {
            content: '▶';
            position: absolute;
            bottom: 8px;
            left: 8px;
            background: rgba(0,0,0,0.7);
            color: #fff;
            font-size: 0.7rem;
            padding: 2px 6px;
            border-radius: 4px;
        }
        .ig-video-body { padding: 0.75rem; }
        .ig-video-caption {
            font-size: 0.85rem;
            opacity: 0.8;
            margin-bottom: 0.5rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .ig-video-stats {
            display: flex;
            gap: 1rem;
            font-size: 0.8rem;
            opacity: 0.6;
        }
        .ig-video-stats span { display: flex; align-items: center; gap: 0.25rem; }
        .social-platform { margin-bottom: 3rem; }
        .social-platform-title {
            font-family: 'Saira', sans-serif;
            font-weight: 900;
            font-style: italic;
            text-transform: uppercase;
            letter-spacing: -0.02em;
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .social-inputs {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        .input-group { display: flex; flex-direction: column; }
        .input-group label {
            font-size: 0.75rem;
            text-transform: uppercase;
            opacity: 0.7;
            margin-bottom: 0.5rem;
            letter-spacing: 0.1em;
        }
        .input-group input {
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            padding: 0.75rem;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.85rem;
        }
        .input-group input:focus {
            outline: none;
            border-color: white;
            background-color: rgba(255, 255, 255, 0.1);
        }
        .insights-section { margin-top: 2rem; }
        .insights-title {
            font-family: 'Saira', sans-serif;
            font-weight: 900;
            font-style: italic;
            text-transform: uppercase;
            letter-spacing: -0.02em;
            font-size: 1rem;
            margin-bottom: 1rem;
        }
        .insights-textarea {
            width: 100%;
            min-height: 100px;
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            padding: 1rem;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.85rem;
            resize: vertical;
        }
        .insights-textarea:focus {
            outline: none;
            border-color: white;
            background-color: rgba(255, 255, 255, 0.1);
        }
        .setup-notice {
            background-color: rgba(255, 153, 0, 0.08);
            border: 1px solid rgba(255, 153, 0, 0.3);
            padding: 1.5rem;
            margin-bottom: 2rem;
            font-size: 0.85rem;
            line-height: 1.8;
        }
        .setup-notice strong { color: #ff9900; }
        .setup-notice ol { margin: 0.75rem 0 0 1.25rem; }
        .setup-notice li { margin-bottom: 0.35rem; }
        .toast {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background-color: rgba(29, 185, 84, 0.9);
            color: white;
            padding: 1rem 1.5rem;
            border-radius: 4px;
            animation: slideIn 0.3s ease;
            z-index: 2000;
        }
        .toast.error { background-color: rgba(255, 68, 68, 0.9); }
        @keyframes slideIn {
            from { transform: translateX(400px); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        .ideas-modal-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 5000;
            align-items: center;
            justify-content: center;
        }
        .ideas-modal-overlay.open { display: flex; }
        .ideas-modal {
            background: rgb(20, 20, 20);
            border: 1px solid rgba(255,255,255,0.15);
            width: 560px;
            max-width: 95vw;
            max-height: 85vh;
            overflow-y: auto;
            position: relative;
        }
        .ideas-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .ideas-modal-title {
            font-family: 'Saira', sans-serif;
            font-weight: 900;
            font-style: italic;
            text-transform: uppercase;
            font-size: 1.1rem;
            letter-spacing: -0.02em;
        }
        .ideas-modal-close {
            background: none;
            border: none;
            color: rgba(255,255,255,0.6);
            font-size: 1.4rem;
            cursor: pointer;
            padding: 0.25rem;
            line-height: 1;
            transition: color 0.2s;
        }
        .ideas-modal-close:hover { color: white; }
        .ideas-modal-tabs {
            display: flex;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            overflow-x: auto;
        }
        .ideas-modal-tab {
            background: none;
            border: none;
            color: rgba(255,255,255,0.4);
            padding: 0.75rem 1rem;
            cursor: pointer;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            position: relative;
            transition: color 0.2s;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        .ideas-modal-tab:hover { color: rgba(255,255,255,0.8); }
        .ideas-modal-tab.active { color: white; }
        .ideas-modal-tab.active::after {
            content: '';
            position: absolute;
            bottom: -1px; left: 0; right: 0;
            height: 2px;
            background: white;
        }
        .ideas-modal-tab .tab-dot {
            width: 6px; height: 6px;
            border-radius: 50%;
            display: inline-block;
        }
        .ideas-tab-content { display: none; padding: 1.5rem; }
        .ideas-tab-content.active { display: block; }
        .ideas-field-label {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            opacity: 0.5;
            margin-bottom: 0.5rem;
        }
        .ideas-field-group { margin-bottom: 1.25rem; }
        .hashtag-input-row {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        .hashtag-input {
            flex: 1;
            min-width: 80px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.15);
            color: white;
            padding: 0.5rem 0.6rem;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.8rem;
        }
        .hashtag-input:focus {
            outline: none;
            border-color: rgba(255,255,255,0.4);
            background: rgba(255,255,255,0.08);
        }
        .hashtag-input::placeholder { opacity: 0.3; }
        .creator-input {
            width: 100%;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.15);
            color: white;
            padding: 0.5rem 0.6rem;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.8rem;
            margin-bottom: 0.4rem;
        }
        .creator-input:focus {
            outline: none;
            border-color: rgba(255,255,255,0.4);
            background: rgba(255,255,255,0.08);
        }
        .creator-input::placeholder { opacity: 0.3; }
        .ideas-save-btn {
            background: transparent;
            border: 1px solid rgba(255,255,255,0.4);
            color: white;
            padding: 0.7rem 1.5rem;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            cursor: pointer;
            width: 100%;
            transition: all 0.3s;
        }
        .ideas-save-btn:hover {
            border-color: white;
            background: rgba(255,255,255,0.08);
        }

        .ideas-results-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.75);
            z-index: 5000;
            align-items: center;
            justify-content: center;
        }
        .ideas-results-overlay.open { display: flex; }
        .ideas-results-modal {
            background: rgb(18, 18, 18);
            border: 1px solid rgba(255,255,255,0.15);
            width: 680px;
            max-width: 95vw;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
        }
        .ideas-results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            position: sticky;
            top: 0;
            background: rgb(18,18,18);
            z-index: 1;
        }
        .ideas-results-title {
            font-family: 'Saira', sans-serif;
            font-weight: 900;
            font-style: italic;
            text-transform: uppercase;
            font-size: 1.1rem;
            letter-spacing: -0.02em;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }
        .ideas-results-body { padding: 1.5rem; }
        .ideas-loading {
            text-align: center;
            padding: 3rem 1rem;
            font-size: 0.85rem;
            opacity: 0.6;
        }
        .ideas-loading .spinner {
            display: inline-block;
            width: 24px; height: 24px;
            border: 2px solid rgba(255,255,255,0.15);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin-bottom: 1rem;
        }
        @keyframes spin { to { transform: rotate(360deg); } }
        .ideas-best-times {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.08);
            padding: 1rem;
            margin-bottom: 1.5rem;
            border-radius: 4px;
        }
        .ideas-best-times-label {
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            opacity: 0.5;
            margin-bottom: 0.5rem;
        }
        .idea-card {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.1);
            padding: 1.25rem;
            margin-bottom: 1rem;
            transition: border-color 0.2s;
        }
        .idea-card:hover { border-color: rgba(255,255,255,0.25); }
        .idea-card-number {
            font-family: 'Saira', sans-serif;
            font-weight: 900;
            font-style: italic;
            font-size: 0.75rem;
            opacity: 0.4;
            margin-bottom: 0.4rem;
        }
        .idea-card-title {
            font-family: 'Saira', sans-serif;
            font-weight: 700;
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }
        .idea-card-desc {
            font-size: 0.82rem;
            opacity: 0.75;
            line-height: 1.6;
            margin-bottom: 0.6rem;
        }
        .idea-card-tags {
            display: flex;
            gap: 0.4rem;
            flex-wrap: wrap;
        }
        .idea-tag {
            font-size: 0.65rem;
            padding: 0.2rem 0.5rem;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 2px;
            opacity: 0.6;
        }
        .idea-inspo-link {
            text-decoration: none;
            color: inherit;
            display: block;
            margin-top: 0.75rem;
        }
        .idea-inspo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.6rem;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 4px;
            transition: border-color 0.2s, background 0.2s;
        }
        .idea-inspo:hover {
            border-color: rgba(255,255,255,0.2);
            background: rgba(255,255,255,0.07);
        }
        .idea-inspo-thumb {
            width: 72px;
            height: 72px;
            object-fit: cover;
            border-radius: 3px;
            flex-shrink: 0;
        }
        .idea-inspo-info {
            flex: 1;
            min-width: 0;
        }
        .idea-inspo-label {
            font-size: 0.55rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            opacity: 0.4;
            margin-bottom: 0.2rem;
            font-family: 'Cutive Mono', monospace;
        }
        .idea-inspo-title {
            font-size: 0.72rem;
            line-height: 1.3;
            opacity: 0.8;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        .idea-inspo-stats {
            font-size: 0.6rem;
            opacity: 0.4;
            margin-top: 0.15rem;
        }
        .idea-inspo-arrow {
            font-size: 1rem;
            opacity: 0.3;
            flex-shrink: 0;
        }
        .idea-inspo-no-thumb {
            padding: 0.8rem;
        }
        .idea-inspo-icon {
            font-size: 1.4rem;
            opacity: 0.3;
            flex-shrink: 0;
            width: 40px;
            text-align: center;
        }
        .more-ideas-btn {
            background: transparent;
            border: 1px solid rgba(255,255,255,0.3);
            color: white;
            padding: 0.75rem 1.5rem;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            cursor: pointer;
            width: 100%;
            transition: all 0.3s;
            margin-top: 0.5rem;
        }
        .more-ideas-btn:hover {
            border-color: white;
            background: rgba(255,255,255,0.06);
        }
        .more-ideas-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        #contactModal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.7);
            z-index: 9999;
            justify-content: center;
            align-items: center;
        }
        #contactModal.active { display: flex; }
        #contactModal .modal-box {
            background: rgb(20, 20, 20);
            border: 1px solid rgba(255,255,255,0.15);
            padding: 2rem;
            width: 420px;
            max-width: 92vw;
        }
        #contactModal .modal-box h2 {
            margin: 0 0 1.5rem 0;
            font-family: 'Saira', sans-serif;
            font-size: 1.3rem;
            font-weight: 900;
            font-style: italic;
            text-transform: uppercase;
            letter-spacing: -0.02em;
            color: #fff;
        }
        #contactModal .form-group {
            margin-bottom: 1rem;
        }
        #contactModal .form-group label {
            display: block;
            font-size: 0.7rem;
            font-weight: 600;
            color: rgba(255,255,255,0.5);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 0.4rem;
        }
        #contactModal .form-group input,
        #contactModal .form-group select {
            width: 100%;
            padding: 0.65rem 0.75rem;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.2);
            color: #fff;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.85rem;
            outline: none;
            transition: border-color 0.2s;
            box-sizing: border-box;
        }
        #contactModal .form-group input:focus,
        #contactModal .form-group select:focus {
            border-color: white;
            background: rgba(255,255,255,0.1);
        }
        #contactModal .form-group select option {
            background: rgb(20,20,20);
            color: #fff;
        }
        #contactModal .modal-actions {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.5rem;
        }
        #contactModal .modal-btn-save {
            flex: 1;
            padding: 0.75rem;
            background: transparent;
            border: 1px solid rgba(255,255,255,0.5);
            color: #fff;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            cursor: pointer;
            transition: all 0.3s;
        }
        #contactModal .modal-btn-save:hover {
            border-color: white;
            background: rgba(255,255,255,0.1);
        }
        #contactModal .modal-btn-cancel {
            flex: 1;
            padding: 0.75rem;
            background: transparent;
            border: 1px solid rgba(255,255,255,0.2);
            color: rgba(255,255,255,0.6);
            font-family: 'Cutive Mono', monospace;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            cursor: pointer;
            transition: all 0.3s;
        }
        #contactModal .modal-btn-cancel:hover {
            background: rgba(255,255,255,0.05);
        }

        .contacts-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        .btn-add-contact {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.6rem 1.2rem;
            background: transparent;
            border: 1px solid rgba(255,255,255,0.5);
            color: #fff;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            cursor: pointer;
            transition: all 0.3s;
        }
        .btn-add-contact:hover {
            border-color: white;
            background: rgba(255,255,255,0.1);
        }
        .contacts-search-wrap {
            position: relative;
            margin-bottom: 1.5rem;
        }
        .contacts-search-wrap svg {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(255,255,255,0.3);
            pointer-events: none;
        }
        .contacts-search {
            width: 100%;
            padding: 0.65rem 0.75rem 0.65rem 2.25rem;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.2);
            color: #fff;
            font-family: 'Cutive Mono', monospace;
            font-size: 0.85rem;
            outline: none;
            transition: border-color 0.2s;
            box-sizing: border-box;
        }
        .contacts-search:focus {
            border-color: white;
            background: rgba(255,255,255,0.1);
        }
        .contact-list {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .contact-letter-header {
            font-size: 0.7rem;
            font-weight: 700;
            color: rgba(255,255,255,0.3);
            text-transform: uppercase;
            letter-spacing: 0.15em;
            padding: 0.75rem 0.25rem 0.35rem;
            margin-top: 0.5rem;
        }
        .contact-letter-header:first-child { margin-top: 0; }
        .contact-card {
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.08);
            transition: background 0.2s;
        }
        .contact-card:hover {
            background: rgba(255,255,255,0.05);
        }
        .contact-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.85rem 1rem;
            cursor: pointer;
            user-select: none;
        }
        .contact-card-info {
            display: flex;
            flex-direction: column;
        }
        .contact-card-name {
            font-size: 0.9rem;
            font-weight: 600;
            color: #fff;
        }
        .contact-card-role {
            font-size: 0.7rem;
            color: rgba(255,255,255,0.4);
            margin-top: 0.15rem;
        }
        .contact-card .chevron-icon {
            color: rgba(255,255,255,0.25);
            transition: transform 0.25s ease;
        }
        .contact-card.open .chevron-icon {
            transform: rotate(180deg);
        }
        .contact-details {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        .contact-card.open .contact-details {
            max-height: 200px;
        }
        .contact-details-inner {
            padding: 0 1rem 0.85rem 1rem;
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
        }
        .contact-detail-row {
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }
        .contact-detail-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.8rem;
            color: rgba(255,255,255,0.6);
        }
        .contact-detail-item svg {
            flex-shrink: 0;
            color: rgba(255,255,255,0.3);
        }
        .contact-detail-item a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
        }
        .contact-detail-item a:hover {
            text-decoration: underline;
            color: white;
        }
        .contact-actions {
            display: flex;
            gap: 0.5rem;
        }
        .contact-actions button {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.1);
            padding: 0.4rem;
            cursor: pointer;
            color: rgba(255,255,255,0.4);
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .contact-actions button:hover {
            background: rgba(255,255,255,0.08);
            color: #fff;
        }
        .contact-actions button.btn-contact-delete:hover {
            background: rgba(239,68,68,0.12);
            border-color: rgba(239,68,68,0.3);
            color: #ef4444;
        }
        .contacts-empty {
            text-align: center;
            padding: 3rem 1rem;
            color: rgba(255,255,255,0.3);
        }
        .contacts-empty p {
            font-size: 0.85rem;
            margin: 0;
        }

        .content-stats-bar {
            display: flex;
            gap: 1.5rem;
            padding: 0.75rem 1rem;
            background-color: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            margin-bottom: 2rem;
            justify-content: center;
        }
        .content-stat-item {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.8rem;
        }
        .content-stat-abbr {
            font-family: 'Saira', sans-serif;
            font-weight: 900;
            font-style: italic;
            font-size: 0.75rem;
        }
        .content-stat-count {
            font-family: 'Saira', sans-serif;
            font-weight: 700;
            font-size: 0.85rem;
        }
        @media (max-width: 768px) {

            .logo { font-size: 1.3rem; }
            header { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; padding: 1rem; }
            .header-followers { margin-left: 0.75rem; gap: 0.3rem; }
            .header-followers-number { font-size: 1.1rem; }
            .header-followers-label { font-size: 0.5rem; }
            .header-controls { gap: 0.5rem; }
            .header-controls .last-updated { display: none; }

            .tab-nav { padding: 0 0.75rem; gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
            .tab-nav .tab-btn { font-size: 0.6rem; padding: 0.75rem 0.6rem; white-space: nowrap; flex-shrink: 0; }

            .content { padding: 1rem; }

            .overview-row { flex-direction: column; gap: 0; margin-bottom: 1rem; }
            .row-label {
                writing-mode: horizontal-tb;
                transform: none;
                padding: 0.5rem 0;
                font-size: 0.7rem;
                opacity: 0.25;
            }

            .cards-grid {
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                gap: 0.5rem !important;
            }

            /* Default tile state — compact 2x2 boxes */
            .cards-grid .card:not(.collapsed):not(.expanded) {
                flex: none;
                width: 100%;
            }
            .cards-grid .card:not(.collapsed):not(.expanded) .card-main {
                padding: 0.6rem 0.75rem;
            }
            .cards-grid .card:not(.collapsed):not(.expanded) .more-stats-dropdown {
                display: none !important;
            }
            .cards-grid .card:not(.collapsed):not(.expanded) .card-stat + .card-stat,
            .cards-grid .card:not(.collapsed):not(.expanded) .card-status {
                display: none !important;
            }
            .cards-grid .card:not(.collapsed):not(.expanded) .card-stat-value {
                font-size: 1.3rem;
            }
            .cards-grid .card:not(.collapsed):not(.expanded) .card-stat-label {
                font-size: 0.5rem;
                margin-bottom: 0;
            }
            .cards-grid .card:not(.collapsed):not(.expanded) .card-stat {
                margin-bottom: 0;
            }
            .cards-grid .card:not(.collapsed):not(.expanded) .card-header {
                margin-bottom: 0.15rem;
            }
            .cards-grid .card:not(.collapsed):not(.expanded) .card-title {
                font-size: 0.6rem;
            }
            .cards-grid .card:not(.collapsed):not(.expanded) .card-accent {
                width: 3px;
                height: 12px;
            }

            /* Expanded card — full width across both columns */
            .card.expanded {
                grid-column: 1 / -1 !important;
                display: flex !important;
                flex-direction: column !important;
                grid-template-columns: none !important;
                width: 100%;
            }
            .card.expanded .more-stats-content {
                grid-template-columns: 1fr !important;
                gap: 1rem;
                padding: 1rem;
                border-left: none !important;
                border-top: 1px solid rgba(255,255,255,0.1);
            }

            /* Collapsed card — same tile size as default */
            .card.collapsed {
                flex: none !important;
                min-width: auto !important;
                max-width: none !important;
                width: 100%;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                padding: 0.75rem 0.5rem;
            }
            .card.collapsed .card-collapsed-label {
                writing-mode: horizontal-tb !important;
                transform: none !important;
                font-size: 0.7rem;
                color: rgba(255, 255, 255, 0.6);
            }

            .content-stats-bar {
                flex-wrap: wrap;
                gap: 0.5rem 1rem;
                padding: 0.6rem 0.75rem;
                justify-content: flex-start;
            }
            .content-stat-item { font-size: 0.7rem; }
            .content-stat-abbr { font-size: 0.65rem; }
            .content-stat-count { font-size: 0.75rem; }

            .content-ideas-box { padding: 1rem; }

            .hero-number { font-size: 2.5rem; }
            .bottom-row { grid-template-columns: 1fr; }
            .spotify-hero { grid-template-columns: 1fr; }
            .yt-hero { grid-template-columns: 1fr; }
            .settings-panel { width: 100%; right: -100%; }
            .settings-panel.open { right: 0 !important; }


            #schedule > div[style]:not(#addDateForm) {
                display: flex !important;
                flex-direction: column !important;
                gap: 1rem !important;
            }
            #addDateForm {
                padding: 1rem !important;
                margin-top: 1rem !important;
            }
            #addDateForm[style*="display:none"], #addDateForm[style*="display: none"] {
                display: none !important;
            }
            #eventTypeButtons,
            #showCategoryButtons {
                flex-wrap: wrap !important;
            }
            #showFinancials div[style*="grid-template-columns"] {
                grid-template-columns: 1fr !important;
            }
            #showFinancials {
                padding: 0.75rem !important;
            }
            #confirmedDatesList > div,
            #holdDatesList > div,
            #pastDatesList > div {
                width: 100% !important;
            }


            #contactModal .modal-box {
                width: 95vw !important;
                max-width: 95vw !important;
                padding: 1.25rem !important;
            }
            #contactModal .modal-box h2 {
                font-size: 1.1rem !important;
            }
            .contacts-header {
                flex-direction: column !important;
                gap: 0.75rem !important;
                align-items: stretch !important;
            }
            .btn-add-contact {
                width: 100% !important;
                justify-content: center !important;
            }
            .contact-card {
                width: 100% !important;
            }
            .contact-details-inner {
                flex-direction: column !important;
                gap: 0.75rem !important;
                align-items: flex-start !important;
            }


            #assetsContent div[style*="grid-template-columns"] {
                grid-template-columns: 1fr !important;
            }
            #assets div[style*="grid-template-columns"] {
                grid-template-columns: 1fr !important;
            }
            #assets .btn-save {
                max-width: 100% !important;
            }
            #assets div[style*="display:flex"][style*="gap:0.4rem"] {
                flex-wrap: wrap !important;
            }
            #assets input[style*="max-width:300px"] {
                max-width: 100% !important;
            }



            .ideas-modal,
            .ideas-results-modal {
                width: 98vw !important;
                max-width: 98vw !important;
                max-height: 92vh !important;
            }
            .ideas-modal-tabs {
                overflow-x: auto !important;
                -webkit-overflow-scrolling: touch;
                flex-wrap: nowrap !important;
            }
            .ideas-modal-tab {
                font-size: 0.65rem !important;
                padding: 0.6rem 0.6rem !important;
            }
        }
