        /* ================= PALETA Y VARIABLES ================= */
        :root {
            --bg-dark: #0a0a0f;
            --bg-panel: #141420;
            --bg-card: #1c1c2e;
            --cyan: #3fd5d6;
            --yellow: #fddb4b;
            --accent-purple: #517ee0;
            --white: #f4f4f8;
            --gray: #8e8ea8;
            --radius: 18px;
            --transition: 0.3s ease-in-out;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
        img { user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
        body { background-color: var(--bg-dark); color: var(--white); overflow-x: hidden; min-height: 100vh; }
        body:not(.dark-mode) {
            background-color: var(--bg-dark);
        }
        body.dark-mode {
            background-color: var(--bg-dark);
        }
        a { text-decoration: none; color: inherit; }
        .btn { 
            background: linear-gradient(45deg, var(--cyan), var(--yellow)); 
            color: #101018; font-weight: 800; border: none; padding: 12px 24px; 
            border-radius: 30px; cursor: pointer; transition: var(--transition);
            text-transform: uppercase; letter-spacing: 0.8px; font-size: 0.85rem;
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
            box-shadow: 0 4px 15px rgba(200, 162, 200, 0.25);
        }
        .btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 183, 178, 0.4); }
        .btn:disabled { opacity: 0.7; cursor: not-allowed; }
        .btn-outline { background: transparent; border: 2px solid var(--cyan); color: var(--cyan); font-weight: 700; }
        .btn-outline:hover { background: var(--cyan); color: #101018; }
        .btn-danger { background: #ff4d4d; color: white; border: none; padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 0.75rem; font-weight: bold; transition: var(--transition); }
        .btn-danger:hover { opacity: 0.85; transform: scale(1.05); }
        
        .badge { background: rgba(200, 162, 200, 0.2); color: var(--cyan); border: 1px solid var(--cyan); padding: 6px 14px; border-radius: 12px; font-size: 0.78rem; font-weight: 700; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 6px; }
        .badge:hover, .badge.active-category { background: var(--cyan); color: #101018; transform: translateY(-1px); }

        /* Cabecera & Navegación */
        header { 
            background: rgba(20, 20, 32, 0.92); backdrop-filter: blur(15px); 
            padding: 15px 5%; position: sticky; top: 0; z-index: 1000; 
            display: flex; justify-content: space-between; align-items: center; 
            border-bottom: 1px solid rgba(200, 162, 200, 0.15); 
        }
        .logo { font-size: 1.6rem; font-weight: 900; background: linear-gradient(45deg, var(--cyan), var(--yellow)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; cursor: pointer; }
        
        nav { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; }
        .nav-link { color: var(--white); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; cursor: pointer; transition: var(--transition); }
        .nav-link:hover, .nav-link.active { color: var(--cyan); }

        /* Vistas */
        .view { display: none; padding-bottom: 60px; animation: fadeIn 0.4s ease; }
        .view.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

        .container { width: 90%; max-width: 1200px; margin: 0 auto; padding-top: 30px; }
        .section-title { font-size: 1.8rem; color: var(--white); margin-bottom: 14px; border-left: 4px solid var(--yellow); padding-left: 12px; font-weight: 900; display: flex; justify-content: space-between; align-items: center; }

        /* Slider */
        .slider-container { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; margin-bottom: 40px; padding-bottom: 10px; scrollbar-width: none; scroll-behavior: smooth; }
        .slider-container::-webkit-scrollbar { display: none; }
        .hero-banner { 
            min-width: 100%; height: 380px; border-radius: var(--radius); overflow: hidden; 
            position: relative; background-size: cover; background-position: center; 
            border: 1px solid rgba(200, 162, 200, 0.2); scroll-snap-align: start; flex-shrink: 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        .hero-overlay { 
            position: absolute; inset: 0; 
            background: linear-gradient(to top, rgba(10,10,15,0.95) 10%, rgba(10,10,15,0.4) 60%, transparent); 
            display: flex; flex-direction: column; justify-content: flex-end; padding: 35px; 
        }
        .hero-title { font-size: 2.5rem; font-weight: 900; color: #fff; margin-bottom: 10px; }
        .hero-desc { color: var(--gray); font-size: 0.95rem; max-width: 600px; margin-bottom: 20px; line-height: 1.5; }

        /* Grid */
        .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 25px; }
        .comic-card { 
            background: var(--bg-panel); border-radius: var(--radius); overflow: hidden; 
            border: 1px solid rgba(200, 162, 200, 0.12); transition: var(--transition); cursor: pointer; position: relative; 
        }
        .comic-card:hover { transform: translateY(-8px); border-color: var(--cyan); box-shadow: 0 10px 25px rgba(200, 162, 200, 0.2); }
        .comic-cover { width: 100%; height: 280px; object-fit: cover; }
        .comic-cover-status { position: absolute; top: 9px; left: 9px; z-index: 2; padding: 5px 8px; border-radius: 4px; color: #fff; font-size: .62rem; font-weight: 800; line-height: 1; text-transform: uppercase; box-shadow: 0 2px 6px rgba(0,0,0,.24); }
        .comic-favorite-indicator { position:absolute; top:9px; right:9px; z-index:3; display:grid; place-items:center; width:32px; height:32px; border:0; border-radius:0; color:#f2a900; background:transparent; box-shadow:none; }
        .comic-cover-wrap:has(> .adult-badge-cover) .comic-favorite-indicator { top:37px; }
        .comic-favorite-indicator svg { position:absolute; top:50%; left:50%; display:block; width:19px; height:19px; margin:0; transform:translate(-50%,-50%); fill:currentColor; }
        #comic-detail-favorite-indicator { top:8px; right:auto; left:calc(50% + 66px); }
        #comic-detail-favorite-indicator[hidden] { display:none !important; }
        .comic-cover-status.is-emision { background: #20b968; }
        .comic-cover-status.is-pausado { background: #e5a900; }
        .comic-cover-status.is-finalizado { background: #e53935; }
        .comic-info { padding: 15px; }
        .comic-info h3 { font-size: 1.05rem; font-weight: 800; color: var(--white); margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .comic-meta { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--gray); margin-top: 8px; align-items: center; }

        .categories-bar { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }

        /* Detalles del Cómic */
        .story-header { 
            position: relative; width: 100%; height: 320px; border-radius: var(--radius); overflow: hidden;
            background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #eafafd; border: 1px solid rgba(200,162,200,0.2);
        }
        .story-header-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-dark) 0%, rgba(10,10,15,0.6) 100%); }
        
        .story-profile-container { display: flex; gap: 30px; margin-top: 0; position: relative; z-index: 10; margin-bottom: 40px; flex-wrap: wrap; }
        .story-cover-lg { width: 200px; height: 290px; border-radius: var(--radius); object-fit: cover; border: 3px solid var(--cyan); box-shadow: 0 10px 30px rgba(0,0,0,0.8); }
        .story-details { flex: 1; min-width: 560px; display:grid; grid-template-columns:minmax(250px, .9fr) minmax(260px, 1.1fr); grid-template-rows:auto auto; column-gap:28px; align-content:start; padding-top:12px; }
        .story-main-info { min-width:0; display:flex; flex-direction:column; gap:12px; }
        .story-description-column { min-width:0; display:flex; flex-direction:column; gap:12px; padding-top:52px; }
        .story-description-actions { display:flex; align-items:center; gap:6px; flex-wrap:nowrap; }
        .story-description-box { min-height:110px; max-height:190px; overflow:auto; padding:14px; border:1px solid #cfe6eb; border-radius:6px; background:#f7fcfd; box-shadow:0 4px 12px rgba(28,42,52,.06); }
        .story-description-column .story-synopsis { overflow-wrap:anywhere; word-break:break-word; }
        .story-description-column .comic-status-controls { width:100%; }
        .comic-editor-modal { position:fixed; inset:0; z-index:4500; display:none; align-items:center; justify-content:center; padding:20px; background:rgba(20,35,43,.72); }
        .comic-editor-modal.is-visible { display:flex; }
        .comic-editor-card { width:min(760px,100%); max-height:min(88vh,780px); overflow:auto; padding:26px; background:var(--bg-panel); border:1px solid var(--cyan); border-radius:var(--radius); box-shadow:0 18px 50px rgba(0,0,0,.42); }
        .comic-editor-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
        .comic-editor-header h2 { margin:0; color:var(--white); font-size:1.25rem; font-weight:700; }
        .comic-editor-header h2::before { content:'✦'; color:var(--yellow); margin-right:8px; }
        .comic-editor-close { width:34px; height:34px; padding:0; border:1px solid var(--cyan); border-radius:50%; color:var(--cyan); background:transparent; font-size:1.2rem; cursor:pointer; }
        .comic-editor-close:hover { color:#101018; background:var(--cyan); }
        .comic-editor-card .btn { font-weight:500; }
        .comic-editor-chapters { margin-top:20px; padding-top:16px; border-top:1px solid rgba(63,213,214,.25); }
        .comic-editor-chapters h3 { margin:0 0 10px; color:var(--yellow); font-size:.9rem; font-weight:500; }
        .comic-editor-chapter-photo-heading { margin:0 0 10px; color:var(--cyan); font-size:.75rem; font-weight:700; }
        #comic-editor-chapter-list { max-height:240px; overflow-y:auto; padding-right:6px; scrollbar-width:thin; scrollbar-color:var(--cyan) transparent; }
        .comic-editor-chapter-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 0; border-bottom:1px solid rgba(63,213,214,.14); color:var(--white); font-size:.8rem; }
        .comic-editor-chapter-row > span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
        .comic-editor-chapter-actions { display:flex; flex:0 0 auto; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
        .comic-editor-chapter-actions button { white-space:nowrap; }
        .chapter-editor-card { width:min(820px,100%); }
        .chapter-editor-title-label { display:flex; flex-direction:column; gap:7px; margin-bottom:14px; color:var(--cyan); font-size:.76rem; font-weight:500; text-transform:uppercase; }
        .chapter-editor-title-label input { color:var(--white); background:var(--bg-dark); border:1px solid rgba(63,213,214,.35); border-radius:8px; padding:11px 12px; font:inherit; outline:none; }
        .chapter-editor-description-label { display:flex; flex-direction:column; gap:7px; margin-bottom:14px; color:var(--cyan); font-size:.76rem; font-weight:500; text-transform:uppercase; }
        .chapter-editor-description-label textarea { min-height:78px; padding:11px 12px; color:var(--white); background:var(--bg-dark); border:1px solid rgba(63,213,214,.35); border-radius:8px; font:inherit; resize:vertical; outline:none; }
        .chapter-editor-thumbnail-label { display:flex; flex-direction:column; gap:7px; margin-bottom:14px; color:var(--cyan); font-size:.76rem; font-weight:500; text-transform:uppercase; }
        .chapter-editor-thumbnail-control { display:flex; align-items:center; gap:12px; padding:10px; border:1px solid rgba(63,213,214,.35); border-radius:8px; background:var(--bg-dark); }
        .chapter-editor-thumbnail-preview { width:64px; height:82px; flex:0 0 64px; object-fit:cover; border-radius:5px; border:1px solid rgba(63,213,214,.35); background:var(--bg-panel); }
        .chapter-editor-thumbnail-input { min-width:0; color:var(--gray); font-size:.7rem; text-transform:none; }
        .chapter-editor-pages-label { display:flex; flex-direction:column; gap:7px; margin-bottom:14px; color:var(--cyan); font-size:.76rem; font-weight:500; text-transform:uppercase; }
        .chapter-editor-upload { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; min-height:128px; padding:18px; border:1px dashed var(--cyan); border-radius:8px; color:var(--white); background:linear-gradient(135deg, rgba(63,213,214,.08), rgba(253,219,75,.08)); text-align:center; cursor:pointer; transition:var(--transition); }
        .chapter-editor-upload:hover, .chapter-editor-upload:focus-within { border-style:solid; background:linear-gradient(135deg, rgba(63,213,214,.16), rgba(253,219,75,.14)); box-shadow:0 0 0 3px rgba(63,213,214,.12); }
        .chapter-editor-upload .upload-icon { color:var(--yellow); font-size:2rem; line-height:1; }
        .chapter-editor-upload .upload-main { color:var(--white); font-size:.82rem; font-weight:500; text-transform:none; }
        .chapter-editor-upload .upload-hint { color:var(--gray); font-size:.68rem; font-weight:400; text-transform:none; }
        .chapter-editor-upload input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
        .chapter-editor-pages {
            display:grid;
            grid-template-columns:repeat(auto-fill,minmax(130px,1fr));
            gap:12px;
            max-height:420px;
            overflow:auto;
            padding:8px;
            background:linear-gradient(180deg, rgba(10,16,24,.03), rgba(10,16,24,.06));
            border:1px solid rgba(63,213,214,.2);
            border-radius:12px;
        }
        .chapter-editor-page {
            position:relative;
            overflow:hidden;
            border:1px solid rgba(63,213,214,.32);
            border-radius:10px;
            background:var(--bg-dark);
            transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease;
            box-shadow:0 2px 10px rgba(0,0,0,.12);
        }
        .chapter-editor-page:hover { transform:translateY(-1px); border-color:var(--cyan); box-shadow:0 8px 20px rgba(0,0,0,.12); }
        .chapter-editor-page.is-dragging {
            opacity:.7;
            border-color:var(--cyan);
            box-shadow:0 0 0 3px rgba(63,213,214,.18);
        }
        .chapter-editor-page.is-drag-over { border:2px solid var(--cyan); transform:scale(1.02); box-shadow:0 0 0 3px rgba(63,213,214,.12); }
        .chapter-editor-page.is-selected {
            border-color:var(--cyan);
            box-shadow:0 0 0 3px rgba(63,213,214,.18);
            transform:translateY(-1px);
        }
        .chapter-editor-page.is-selected .chapter-editor-page-selection {
            background:rgba(63,213,214,.18);
            border-color:var(--cyan);
        }
        .chapter-editor-page img { display:block; width:100%; height:160px; object-fit:cover; background:#dfe9ec; }
        .chapter-editor-page.has-image-error img { background:linear-gradient(135deg,#29363c,#182126); }
        .chapter-editor-page.has-image-error::after { position:absolute; inset:auto 6px 34px; color:#c3d1d5; content:'No se pudo cargar la vista previa'; font-size:.62rem; text-align:center; pointer-events:none; }
        .chapter-editor-page span { display:block; padding:7px 6px 4px; color:#53666f; font-size:.68rem; text-align:center; font-weight:700; }
        .chapter-editor-page-selection { position:absolute; top:8px; left:8px; z-index:2; display:flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:50%; background:rgba(16,16,24,.72); border:1px solid rgba(255,255,255,.28); }
        .chapter-editor-page-selection input { accent-color:var(--yellow); width:14px; height:14px; }
        .chapter-editor-page-actions { display:flex; gap:4px; padding:0 6px 6px; }
        .chapter-editor-page-actions button { flex:1; padding:5px 3px; border:1px solid var(--cyan); border-radius:4px; color:var(--cyan); background:transparent; font-size:.65rem; cursor:pointer; }
        .chapter-editor-page-actions button:hover { color:#101018; background:var(--cyan); }
        .chapter-editor-toolbar { display:flex; gap:8px; flex-wrap:wrap; margin:-2px 0 12px; }
        .chapter-editor-toolbar .btn { padding:8px 10px; font-size:.68rem; }
        .chapter-editor-drag-hint {
            display:flex;
            align-items:center;
            gap:8px;
            margin:-4px 0 10px;
            padding:10px 12px;
            border:1px solid rgba(22,184,223,.28);
            border-radius:10px;
            background:linear-gradient(135deg, rgba(22,184,223,.18), rgba(22,184,223,.08));
            box-shadow:0 0 0 3px rgba(22,184,223,.06);
            color:#000000;
            font-size:.74rem;
            font-weight:700;
        }
        .chapter-editor-drag-hint::before {
            content:'↕';
            display:inline-flex;
            align-items:center;
            justify-content:center;
            width:22px;
            height:22px;
            border-radius:6px;
            background:rgba(255,255,255,.12);
            color:#ffffff;
            font-size:.9rem;
            font-weight:900;
        }
        .comic-editor-modal textarea { flex:1 1 100%; min-height:110px; padding:10px; color:#263239; background:#f7f9fa; border:1px solid #d9e0e3; border-radius:4px; resize:vertical; }
        #edit-description-btn { width:142px; height:38px; flex:0 0 142px; box-sizing:border-box; padding:0 8px; font-size:.72rem; border-radius:4px; }
        .comic-status-display { display:inline-flex; align-items:center; gap:6px; margin:0 0 12px; color:var(--gray); font-size:.8rem; font-weight:700; }
        .comic-status-display strong { color:var(--cyan); text-transform:uppercase; }
        .comic-editor-fields { display:grid; grid-template-columns:1fr 1fr; gap:10px; width:100%; }
        .comic-editor-fields .full-width { grid-column:1 / -1; }
        .comic-editor-fields label { display:flex; flex-direction:column; gap:7px; color:var(--cyan); font-size:.76rem; font-weight:500; text-transform:uppercase; letter-spacing:.35px; }
        .comic-editor-fields input, .comic-editor-fields textarea { width:100%; box-sizing:border-box; color:var(--white); background:var(--bg-dark); border:1px solid rgba(63,213,214,.35); border-radius:8px; padding:11px 12px; font:inherit; font-size:.82rem; font-weight:400; outline:none; }
        .comic-editor-fields input:focus, .comic-editor-fields textarea:focus { border-color:var(--cyan); box-shadow:0 0 0 3px rgba(63,213,214,.14); }
        .comic-editor-fields input[type="file"] { padding:8px; cursor:pointer; }
        .comic-editor-fields input[type="file"]::file-selector-button { margin-right:10px; padding:7px 10px; border:1px solid var(--cyan); border-radius:5px; color:var(--cyan); background:transparent; font:inherit; font-size:.72rem; cursor:pointer; }
        .comic-cover-editor { display:flex; flex-direction:column; gap:9px; }
        .comic-cover-editor-label { color:var(--cyan); font-size:.76rem; font-weight:500; letter-spacing:.35px; text-transform:uppercase; }
        .comic-cover-editor-layout { display:grid; grid-template-columns:minmax(150px,220px) minmax(0,1fr); align-items:start; gap:16px; padding:12px; border:1px solid rgba(63,213,214,.25); border-radius:8px; background:var(--bg-dark); }
        .comic-cover-editor-stage { position:relative; overflow:hidden; width:100%; aspect-ratio:2/3; touch-action:none; border:1px solid rgba(63,213,214,.35); border-radius:6px; background:linear-gradient(135deg,#182126,#29363c); cursor:grab; }
        .comic-cover-editor-stage:active { cursor:grabbing; }
        .comic-cover-editor-stage canvas { display:block; width:100%; height:100%; object-fit:contain; }
        .comic-cover-editor-stage canvas[hidden] { display:none; }
        .comic-cover-editor-stage span { position:absolute; inset:0; display:grid; place-items:center; padding:12px; color:var(--gray); font-size:.72rem; text-align:center; text-transform:none; }
        .comic-cover-editor-stage span[hidden] { display:none; }
        .comic-cover-editor-controls { display:flex; min-width:0; flex-direction:column; gap:10px; }
        .comic-cover-editor-controls > .btn, .comic-cover-editor-rotation .btn { min-height:36px; padding:8px 10px; font-size:.68rem; }
        .comic-cover-editor-rotation { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
        .comic-cover-editor-controls label { display:grid; grid-template-columns:1fr auto; align-items:center; gap:5px 8px; color:var(--gray); font-size:.68rem; text-transform:none; }
        .comic-cover-editor-controls label input[type="range"] { grid-column:1/-1; width:100%; height:auto; padding:0; border:0; background:transparent; accent-color:var(--cyan); }
        .comic-cover-editor-controls output { color:var(--cyan); font-variant-numeric:tabular-nums; }
        .comic-cover-editor-reset { align-self:flex-start; padding:4px 0; border:0; color:var(--cyan); background:transparent; font:inherit; font-size:.68rem; cursor:pointer; }
        .comic-cover-editor-controls small { color:var(--gray); font-size:.65rem; line-height:1.45; text-transform:none; }
        @media (max-width:560px) { .comic-cover-editor-layout { grid-template-columns:minmax(0,1fr); }.comic-cover-editor-stage { width:min(220px,100%); justify-self:center; } }
        #story-genres-editor { padding:12px; border:1px solid rgba(63,213,214,.25); border-radius:8px; background:var(--bg-dark); }
        #story-genres-editor label { flex-direction:row; align-items:center; gap:6px; padding:7px 9px; border:1px solid rgba(63,213,214,.25); border-radius:6px; color:var(--gray); background:var(--bg-panel); font-size:.68rem; font-weight:400; text-transform:none; letter-spacing:0; cursor:pointer; transition:var(--transition); }
        #story-genres-editor label:has(input:checked) { color:#101018; background:var(--cyan); border-color:var(--cyan); }
        #story-genres-editor input { width:15px; height:15px; padding:0; accent-color:var(--yellow); }
        .comic-status-controls label { color:var(--gray); font-size:.68rem; font-weight:500; white-space:nowrap; }
        .comic-status-controls { display:flex; align-items:center; gap:8px; flex-wrap:nowrap; margin:0; min-width:0; }
        .comic-status-button {
            min-height:34px;
            padding:8px 16px;
            border:1px solid rgba(67,155,166,.52);
            border-radius:999px;
            color:#2a5d66;
            background:#f4fbfd;
            font:inherit;
            font-size:.63rem;
            font-weight:800;
            letter-spacing:.02em;
            cursor:pointer;
            white-space:nowrap;
            box-shadow:0 2px 8px rgba(18,38,48,.08);
            transition:all .15s ease;
        }
        .comic-status-button.active,
        .comic-status-button:hover {
            color:#fff;
            background:linear-gradient(180deg, #1bb8a6 0%, #0ea99f 100%);
            border-color:#0ea99f;
            box-shadow:0 6px 14px rgba(15,136,126,.22);
        }
        .chapter-status { display:inline-block; margin-top:4px; color:var(--cyan); font-size:.68rem; font-weight:500; text-transform:uppercase; }
        .comic-status-card { display:inline-flex; align-items:center; gap:4px; margin-top:8px; padding:4px 8px; border:1px solid #cfe6eb; border-radius:4px; color:#53666f; background:#f4fcfd; font-size:.68rem; font-weight:500; text-transform:uppercase; }
        .comic-status-card strong { color:var(--cyan); font-weight:500; }
        .chapter-likes { margin-left:auto; color:var(--yellow); font-size:.78rem; font-weight:800; white-space:nowrap; }
        .chapter-heading-rating { display:inline-flex; align-items:center; gap:8px; margin-left:12px; color:#ff695a; vertical-align:middle; }
        .chapter-heading-rating .rating-stars-large { color:#ff695a; font-size:1rem; letter-spacing:1px; }
        .chapter-heading-rating .rating-score strong { color:#26343a; font-size:.9rem; }
        .chapter-heading-rating .rating-score small { color:#7d8790; font-size:.65rem; }
        .chapter-heading-rating .rating-vote { color:#7d8790; }
        .chapter-heading-rating .rating-star-btn { color:#ff695a; font-size:1rem; }
        .chapter-heading-rating .rating-star-btn:not(.selected) { color:#ff695a; }
        .chapter-heading-rating .rating-score { display:inline-flex; align-items:center; gap:8px; }
        .chapter-heading-rating .rating-score small { display:inline-block; }
        .chapter-card.is-inactive { opacity:.68; }
        .chapter-card.is-inactive .chapter-info { cursor:default; }
        .chapter-card .chapter-manage { display:flex; gap:5px; flex-wrap:wrap; justify-content:flex-end; }
        @media (max-width:700px) { .comic-editor-fields { grid-template-columns:1fr; }.comic-editor-fields .full-width { grid-column:auto; }.chapter-likes { margin-left:0; }.chapter-card .chapter-manage { width:100%; justify-content:flex-start; }.story-details { min-width:0; width:100%; grid-template-columns:1fr; row-gap:20px; }.story-description-column .comic-status-controls { grid-column:auto; }.story-description-actions { flex-wrap:wrap; }.comic-status-controls { flex-wrap:wrap; } }
        
        .author-box { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
        .author-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cyan); }
        .author-name { font-weight: 700; color: var(--yellow); font-size: 0.95rem; }

        .story-title { font-size: 2.2rem; font-weight: 700; margin: 0; color: #fff; line-height: 1.2; }
        .story-synopsis { color: var(--gray); line-height: 1.6; margin: 0; font-size: 0.95rem; }
        
        .story-stats { display: flex; gap: 15px; margin-bottom: 20px; }
        .stat-badge { background: rgba(0,0,0,0.5); padding: 8px 15px; border-radius: 20px; font-size: 0.85rem; border: 1px solid var(--cyan); display: flex; align-items: center; gap: 5px; }

        /* Capítulos y Comentarios */
        .chapters-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
        .chapter-card { 
            background: var(--bg-panel); border: 1px solid rgba(200, 162, 200, 0.1); 
            padding: 15px; border-radius: 14px; display: flex; align-items: center; gap: 15px; transition: var(--transition); 
        }
        .chapter-card:hover { background: var(--bg-card); border-color: var(--cyan); transform: translateX(5px); }
        .chapter-thumb { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; border: 1px solid var(--cyan); }
        .chapter-info { flex: 1; cursor: pointer; }
        .chapter-number { display: block; color: var(--cyan); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; margin-bottom: 4px; }
        .chapter-title { font-weight: 700; color: var(--white); font-size: 0.98rem; display: block;}
        .chapter-date { color: var(--gray); font-size: 0.8rem; }
        
        .comments-section { margin-top: 50px; background: var(--bg-panel); padding: 30px; border-radius: var(--radius); border: 1px solid rgba(200, 162, 200, 0.1); width: 100%; max-width: 800px; margin-left: auto; margin-right: auto;}
        .comment-input-box { display: flex; gap: 12px; margin-bottom: 25px; align-items: flex-start; }
        .comment-textarea-wrap { flex: 1; min-width: 0; position: relative; }
        .comment-input-box textarea { width: 100%; box-sizing: border-box; background: var(--bg-dark); border: 1px solid rgba(200,162,200,0.3); border-radius: 12px; padding: 12px 48px 12px 12px; color: var(--gray); resize: none; }
        .comment-input-box .comment-tools { position: absolute; top: 50%; right: 8px; margin-top: 0; transform: translateY(-50%); }
        .comment-emoji-picker-wrap .comment-tool, body.dark-mode .comment-emoji-picker-wrap .comment-tool { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #d9e0e3; border-radius: 50%; color: #263239; background: #fff; box-shadow: 0 1px 3px rgba(28,42,52,.16); }
        .comment-emoji-picker-wrap .comment-tool:hover, body.dark-mode .comment-emoji-picker-wrap .comment-tool:hover { color: #263239; background: #fff; border-color: var(--cyan); transform: none; }
        .comment-item { border-bottom: 1px solid rgba(255,255,255,0.05); padding: 15px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
        .comment-body { flex: 1; min-width: 0; }
        .comment-header { display: flex; align-items: center; gap: 8px; min-height: 24px; }
        .comment-user { font-weight: 700; color: var(--cyan); font-size: 0.85rem; margin-bottom: 4px; }
        .comment-user-link { display: block; padding: 0; border: 0; background: transparent; color: var(--cyan); font: inherit; font-weight: 700; cursor: pointer; text-align: left; }
        .comment-user-link:hover, .comment-user-link:focus-visible { color: var(--yellow); text-decoration: underline; }
        .comment-date { color: var(--gray); font-size: .72rem; }
        .comment-text { color: var(--gray); font-size: 0.9rem; line-height: 1.4; overflow-wrap: anywhere; }
        .comment-more-wrap { position: relative; margin-left: auto; }
        .comment-more-button { width: 28px; height: 28px; border: 0; color: var(--gray); background: transparent; cursor: pointer; font-size: 1.2rem; line-height: 1; }
        .comment-more-button:hover { color: var(--cyan); }
        .comment-report-menu { position: absolute; top: calc(100% + 4px); right: 0; z-index: 5; display: none; min-width: 100px; padding: 4px; border: 1px solid rgba(200,162,200,.3); border-radius: 4px; background: var(--bg-panel); box-shadow: 0 6px 16px rgba(0,0,0,.2); }
        .comment-report-menu.is-visible { display: block; }
        .comment-report-button { width: 100%; border: 0; padding: 7px 9px; color: var(--gray); background: transparent; cursor: pointer; text-align: left; font-size: .75rem; }
        .comment-report-button:hover { color: var(--cyan); background: rgba(0,153,255,.08); }
        .comment-footer { display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin-top: 12px; }
        .comment-replies-button, .comment-vote-button { border: 1px solid rgba(200,162,200,.3); border-radius: 4px; color: var(--gray); background: transparent; cursor: pointer; font-size: .75rem; }
        .comment-replies-button { padding: 7px 10px; }
        .comment-votes { display: flex; gap: 6px; }
        .comment-vote-button { display: inline-flex; align-items: center; gap: 4px; min-width: 44px; justify-content: center; padding: 7px 8px; }
        .comment-vote-button:hover, .comment-replies-button:hover { color: var(--cyan); border-color: var(--cyan); }
        .comment-vote-button.is-active { color: var(--cyan); border-color: var(--cyan); }
        .comment-vote-button.is-disliked { color: #ff5a5a; border-color: #ff5a5a; }
        .comment-vote-button.is-disliked:hover { color: #ff5a5a; border-color: #ff5a5a; }
        .comment-vote-icon { font-family: 'Material Symbols Rounded'; font-size: 1rem; line-height: 1; }
        .comment-replies-button, .comment-vote-button { background: var(--bg-panel); color: var(--gray); border-color: color-mix(in srgb, var(--gray) 35%, transparent); }
        .comment-replies { display:none; margin-top: 12px; padding-left: 18px; border-left: 2px solid rgba(200,162,200,.2); }
        .comment-replies.is-visible { display:block; }
        .comment-reply { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
        .comment-reply:last-child { border-bottom: 0; }
        .comment-reply-header { display: flex; align-items: center; gap: 8px; }
        .comment-reply-text { margin-top: 3px; color: var(--gray); font-size: .82rem; line-height: 1.4; overflow-wrap: anywhere; }
        .comment-reply-reactions { display:inline-flex; align-items:center; gap:5px; margin-left:2px; }
        .comment-reply-reactions .comment-vote-button { min-height:26px; min-width:36px; padding:0 7px; font-size:.65rem; }
        .comment-reply-form { display: flex; gap: 8px; margin-top: 10px; }
        .comment-reply-input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid rgba(200,162,200,.3); border-radius: 4px; color: var(--gray); background: var(--bg-dark); }
        .comment-reply-submit { padding: 7px 10px; border: 1px solid var(--cyan); border-radius: 4px; color: var(--cyan); background: transparent; cursor: pointer; font-size: .75rem; font-weight: 700; }
        .comment-reply-submit:hover { color: #fff; background: var(--cyan); }
        .chapter-comment-edit-form { display:grid; gap:8px; margin-top:6px; }
        .chapter-comment-edit-form textarea { width:100%; min-height:76px; padding:9px 10px; border:1px solid color-mix(in srgb,var(--gray) 40%,transparent); border-radius:5px; color:var(--white); background:var(--bg-dark); font:inherit; font-size:.82rem; line-height:1.45; resize:vertical; }
        .chapter-comment-edit-form textarea:focus-visible { outline:2px solid var(--cyan); outline-offset:1px; border-color:var(--cyan); }
        .chapter-comment-edit-actions { display:flex; flex-wrap:wrap; gap:7px; }
        .chapter-comment-edit-actions button:last-child { color:var(--gray); border-color:color-mix(in srgb,var(--gray) 40%,transparent); }
        .comment-item > .btn-danger { flex: 0 0 auto; white-space: nowrap; }

        /* Lector */
        .reader-controls { position: sticky; top: 70px; background: rgba(10, 10, 15, 0.95); backdrop-filter: blur(10px); padding: 12px 5%; display: flex; align-items:center; justify-content:space-between; z-index: 900; border:0; gap:12px; }
        .reader-controls .reader-nav-buttons { display:flex; align-items:center; gap:8px; }
        .reader-controls .reader-nav-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:0 15px; border:1px solid var(--cyan); border-radius:30px; color:var(--cyan); -webkit-text-fill-color:var(--cyan); background:var(--bg-panel); box-shadow:none; font-size:.76rem; font-weight:800; letter-spacing:.05em; line-height:1; text-transform:uppercase; white-space:nowrap; cursor:pointer; transition:transform .3s ease-in-out,box-shadow .3s ease-in-out,color .3s ease-in-out,background .3s ease-in-out,border-color .3s ease-in-out; }
        .reader-controls .reader-nav-button svg { display:block; width:17px; height:17px; flex:0 0 17px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
        .reader-controls .reader-back-button { border-color:rgba(63,213,214,.62); color:var(--cyan); -webkit-text-fill-color:var(--cyan); background:var(--bg-panel); }
        .reader-controls .reader-next-button { border-color:var(--cyan); color:#101018; -webkit-text-fill-color:#101018; background:var(--cyan); box-shadow:0 4px 14px rgba(63,213,214,.22); }
        .reader-controls .reader-nav-button:hover:not(:disabled) { transform:translateY(-2px); border-color:var(--cyan); color:#101018; -webkit-text-fill-color:#101018; background:var(--cyan); box-shadow:0 6px 18px rgba(63,213,214,.24); }
        .reader-controls .reader-next-button:hover:not(:disabled) { border-color:#29babb; color:#101018; -webkit-text-fill-color:#101018; background:#29babb; box-shadow:0 7px 19px rgba(63,213,214,.32); }
        .reader-controls .reader-nav-button:focus-visible { outline:3px solid rgba(22,184,166,.34); outline-offset:2px; }
        .reader-controls .reader-nav-button:disabled { color:#73738b; -webkit-text-fill-color:#73738b; background:#20202d; border-color:#454556; box-shadow:none; cursor:not-allowed; opacity:.72; }
        .reader-controls .reader-nav-button.reader-next-button:disabled { color:#73738b; -webkit-text-fill-color:#73738b; background:#20202d; border-color:#454556; }
        @media (max-width:700px) { .reader-controls { padding:10px 14px; gap:8px; }.reader-controls .reader-nav-buttons { margin-left:auto; gap:6px; }.reader-controls .reader-nav-button { min-height:38px; padding:0 11px; border-radius:10px; font-size:.72rem; } }
        .reader-container { max-width: 100%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
        .reader-page { width:auto; max-width:900px; height:auto; display:block; margin:0; padding:0; box-shadow:none; border:none; border-radius:0; background:transparent; cursor:pointer; }
        .reader-pages-separator { width: min(820px, 90%); height: 48px; margin: 0 auto 28px; border-bottom: 1px solid #cfe6eb; }
        #view-reader.single-page-reader .reader-container { justify-content:center; text-align:center; }
        #view-reader.single-page-reader .reader-page { display:none; }
        #view-reader.single-page-reader .reader-page.is-active { display:block; margin-left:auto; margin-right:auto; }
        #view-reader.is-vertical .reader-container { width:100%; max-width:none; display:flex; flex-direction:column; align-items:center; gap:0; padding:0; background:transparent; border:none; border-radius:0; }
        #view-reader.is-vertical .reader-page,
        #view-reader.is-vertical .reader-page.is-active { display:block; width:auto; max-width:min(900px, calc(100vw - 24px)); height:auto; margin:0 auto; box-shadow:none; border:none; border-radius:0; background:transparent; }
        #view-reader.is-horizontal { overflow-anchor:none; }
        #view-reader.is-horizontal .reader-container { width:100%; max-width:none; display:flex; flex-direction:row; gap:0; align-items:flex-start; overflow-x:auto; padding:0; background:transparent; border:none; border-radius:0; }
        #view-reader.is-horizontal .reader-page { flex:0 0 auto; width:auto; max-width:min(900px, calc(100vw - 40px)); height:auto; margin:0; box-shadow:none; border:none; border-radius:0; background:transparent; }
        #view-reader.is-horizontal .reader-episode-strip { margin-top:48px; }
        
        /* Reproductor de música más ancho y completo */
        .reader-music-box { display: flex; align-items: center; gap: 12px; background: var(--bg-card); padding: 8px 18px; border-radius: 25px; border: 1px solid var(--cyan); min-width: 340px; flex: 1; max-width: 450px; justify-content: space-between; }
        
        .chapter-interactions { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px; width:min(100% - 32px,760px); margin:30px auto; padding:12px; border:1px solid #e4ebef; border-radius:18px; background:rgba(255,255,255,.92); box-shadow:0 8px 24px rgba(20,42,55,.08); }
        .chapter-interactions .action-button { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:44px; padding:0 16px; border:1px solid #dce5eb !important; border-radius:12px; color:#344554 !important; background:#fff !important; box-shadow:0 2px 6px rgba(24,45,58,.05); font-size:.78rem; font-weight:750; line-height:1; letter-spacing:.01em; transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, color .16s ease, background .16s ease; }
        .chapter-interactions .action-button:hover { transform:translateY(-2px); border-color:#b8d3e2 !important; background:#f5fbff !important; box-shadow:0 6px 14px rgba(24,45,58,.1); }
        .chapter-interactions .action-button:focus-visible { outline:3px solid rgba(0,153,255,.3); outline-offset:2px; }
        .chapter-interactions .action-icon { width:18px; height:18px; flex:0 0 18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
        .chapter-interactions .action-like { color:#087fce !important; }
        .chapter-interactions .action-like[aria-pressed="true"] { color:#e34867 !important; border-color:#f0bac6 !important; background:#fff2f5 !important; }
        .chapter-interactions .action-like[aria-pressed="true"] .action-icon { fill:#e34867; }
        .chapter-interactions .action-share { color:#3c647a !important; }
        .chapter-interactions .action-follow { color:#087e79 !important; }
        .chapter-interactions .action-follow[aria-pressed="true"] { color:#14754c !important; border-color:#b8e4ca !important; background:#effaf3 !important; }
        .chapter-interactions .action-favorite { color:#bd4770 !important; }
        .chapter-interactions .action-favorite[aria-pressed="true"] { color:#c52e5a !important; border-color:#f0bac6 !important; background:#fff2f5 !important; }
        .chapter-interactions .action-favorite[aria-pressed="true"] .action-icon { fill:#e34867; }
        .chapter-interactions .action-count { min-width:20px; padding:4px 6px; border-radius:999px; color:#4e6575; -webkit-text-fill-color:#4e6575; background:#edf3f6; font-size:.68rem; font-weight:800; text-align:center; }
        body:not(.dark-mode) .chapter-interactions .action-button.btn.btn-outline:not(:hover) { color:#344554 !important; -webkit-text-fill-color:#344554 !important; }
        body:not(.dark-mode) .chapter-interactions .action-like.btn.btn-outline:not(:hover) { color:#087fce !important; -webkit-text-fill-color:#087fce !important; }
        body:not(.dark-mode) .chapter-interactions .action-like.btn.btn-outline[aria-pressed="true"]:not(:hover) { color:#e34867 !important; -webkit-text-fill-color:#e34867 !important; }
        body:not(.dark-mode) .chapter-interactions .action-share.btn.btn-outline:not(:hover) { color:#3c647a !important; -webkit-text-fill-color:#3c647a !important; }
        body:not(.dark-mode) .chapter-interactions .action-follow.btn.btn-outline:not(:hover) { color:#087e79 !important; -webkit-text-fill-color:#087e79 !important; }
        body:not(.dark-mode) .chapter-interactions .action-follow.btn.btn-outline[aria-pressed="true"]:not(:hover) { color:#14754c !important; -webkit-text-fill-color:#14754c !important; }
        body:not(.dark-mode) .chapter-interactions .action-favorite.btn.btn-outline:not(:hover) { color:#bd4770 !important; -webkit-text-fill-color:#bd4770 !important; }
        body:not(.dark-mode) .chapter-interactions .action-favorite.btn.btn-outline[aria-pressed="true"]:not(:hover) { color:#c52e5a !important; -webkit-text-fill-color:#c52e5a !important; }
        body:not(.dark-mode) .chapter-interactions .action-like.btn.btn-outline:hover:not(:disabled) { color:#087fce !important; -webkit-text-fill-color:#087fce !important; }
        body:not(.dark-mode) .chapter-interactions .action-like.btn.btn-outline[aria-pressed="true"]:hover:not(:disabled) { color:#e34867 !important; -webkit-text-fill-color:#e34867 !important; }
        body:not(.dark-mode) .chapter-interactions .action-share.btn.btn-outline:hover:not(:disabled) { color:#3c647a !important; -webkit-text-fill-color:#3c647a !important; }
        body:not(.dark-mode) .chapter-interactions .action-follow.btn.btn-outline:hover:not(:disabled) { color:#087e79 !important; -webkit-text-fill-color:#087e79 !important; }
        body:not(.dark-mode) .chapter-interactions .action-follow.btn.btn-outline[aria-pressed="true"]:hover:not(:disabled) { color:#14754c !important; -webkit-text-fill-color:#14754c !important; }
        body:not(.dark-mode) .chapter-interactions .action-favorite.btn.btn-outline:hover:not(:disabled) { color:#bd4770 !important; -webkit-text-fill-color:#bd4770 !important; }
        body:not(.dark-mode) .chapter-interactions .action-favorite.btn.btn-outline[aria-pressed="true"]:hover:not(:disabled) { color:#c52e5a !important; -webkit-text-fill-color:#c52e5a !important; }
        body.dark-mode .chapter-interactions { border-color:#35424a; background:rgba(25,32,37,.96); box-shadow:0 8px 24px rgba(0,0,0,.22); }
        body.dark-mode .chapter-interactions .action-button { border-color:#46545d !important; color:#e1ebef !important; background:#252e34 !important; box-shadow:none; }
        body.dark-mode .chapter-interactions .action-button:hover { border-color:#5b8b9f !important; background:#303d44 !important; }
        body.dark-mode .chapter-interactions .action-like { color:#76c9ff !important; }
        body.dark-mode .chapter-interactions .action-like[aria-pressed="true"] { color:#ff829f !important; border-color:#754454 !important; background:#39262e !important; }
        body.dark-mode .chapter-interactions .action-like[aria-pressed="true"] .action-icon { fill:#ff829f; }
        body.dark-mode .chapter-interactions .action-share { color:#b9d9e8 !important; }
        body.dark-mode .chapter-interactions .action-follow { color:#7bd8cd !important; }
        body.dark-mode .chapter-interactions .action-follow[aria-pressed="true"] { color:#91e1ad !important; border-color:#365b46 !important; background:#21392c !important; }
        body.dark-mode .chapter-interactions .action-favorite { color:#ff9ab3 !important; }
        body.dark-mode .chapter-interactions .action-favorite[aria-pressed="true"] { color:#ff829f !important; border-color:#754454 !important; background:#39262e !important; }
        body.dark-mode .chapter-interactions .action-favorite[aria-pressed="true"] .action-icon { fill:#ff829f; }
        body.dark-mode .chapter-interactions .action-count { color:#d4e0e5; -webkit-text-fill-color:#d4e0e5; background:#34434b; }
        @media (max-width:560px) {
            .chapter-interactions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; width:calc(100% - 24px); margin:22px auto; padding:9px; border-radius:15px; }
            .chapter-interactions .action-button { width:100%; min-height:46px; gap:7px; padding:0 9px; font-size:.72rem; }
        }

        /* Formularios y Sección de Publicación Redesigned */
        .auth-card { background: var(--bg-panel); border: 1px solid rgba(200, 162, 200, 0.2); border-radius: var(--radius); padding: 35px; max-width: 500px; margin: 0 auto; }
        
        .publish-card { 
            background: linear-gradient(135deg, rgba(20, 20, 32, 0.95), rgba(28, 28, 46, 0.98)); 
            border: 1px solid rgba(200, 162, 200, 0.25); 
            border-radius: var(--radius); 
            padding: 40px; 
            max-width: 780px; 
            margin: 0 auto; 
            box-shadow: 0 20px 40px rgba(0,0,0,0.6), inset 0 0 20px rgba(200, 162, 200, 0.03); 
        }

        .input-group { margin-bottom: 24px; text-align: left; }
        .input-group label { display: block; font-size: 0.82rem; color: var(--cyan); margin-bottom: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
        .password-visibility-toggle { margin-top:8px; }
        .password-visibility-toggle label { display:flex; align-items:center; gap:7px; margin:0; color:var(--gray); font-size:.75rem; font-weight:500; text-transform:none; letter-spacing:0; cursor:pointer; }
        .password-visibility-toggle input { width:auto; margin:0; accent-color:var(--cyan); }
        
        .input-group input[type="text"], 
        .input-group input[type="email"], 
        .input-group input[type="password"], 
        .input-group select, 
        .input-group textarea { 
            width: 100%; padding: 14px 18px; background: var(--bg-dark); 
            border: 1px solid rgba(200, 162, 200, 0.25); color: #fff; 
            border-radius: 14px; font-size: 0.95rem; transition: var(--transition);
        }
        .input-group input:focus, .input-group select:focus, .input-group textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 12px rgba(200, 162, 200, 0.2); }

        /* Estilo elegante para los Uploads */
        .upload-dropzone {
            background: var(--bg-card);
            border: 2px dashed rgba(200, 162, 200, 0.35);
            border-radius: 14px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            max-width: 100%;
        }
        .upload-dropzone:hover {
            border-color: var(--cyan);
            background: rgba(200, 162, 200, 0.05);
        }
        .input-group input[type="file"] { 
            position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; z-index: 5;
        }
        .upload-dropzone-content {
            display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--gray); font-size: 0.85rem;
            width: 100%;
            min-width: 0;
        }
        .upload-dropzone-content span {
            max-width: 100%;
            overflow-wrap: anywhere;
            word-break: break-word;
            white-space: normal;
        }
        .upload-dropzone-content span.icon { font-size: 1.8rem; }
        .upload-dropzone-content span.main-text { color: var(--white); font-weight: 700; }
        .registration-avatar-preview { display:none; flex-direction:column; align-items:center; gap:6px; margin-bottom:10px; color:var(--gray); font-size:.75rem; }
        .registration-avatar-preview.is-visible { display:flex; }
        .registration-avatar-preview img { width:88px; height:88px; border-radius:50%; object-fit:cover; border:3px solid var(--cyan); box-shadow:0 4px 14px rgba(0,0,0,.25); }

        /* Pestañas de Publicación Mejoradas */
        .tabs { display: flex; gap: 12px; margin-bottom: 30px; border-bottom: 2px solid rgba(200,162,200,0.15); padding-bottom: 12px; }
        .tab-btn { 
            background: var(--bg-dark); border: 1px solid rgba(200,162,200,0.2); color: var(--gray); 
            font-weight: 700; font-size: 0.95rem; cursor: pointer; padding: 12px 24px; 
            border-radius: 14px; transition: var(--transition); flex: 1; text-align: center; 
        }
        .tab-btn:hover { color: var(--white); border-color: var(--cyan); }
        .tab-btn.active { 
            background: linear-gradient(45deg, rgba(200, 162, 200, 0.15), rgba(255, 183, 178, 0.15));
            color: var(--cyan); border-color: var(--cyan); box-shadow: 0 4px 15px rgba(200,162,200,0.15);
        }

        /* Perfil de Usuario */
        .profile-header { display: flex; align-items: flex-start; gap: 20px; background: var(--bg-panel); padding: 30px; border-radius: var(--radius); margin-bottom: 30px; flex-wrap: wrap;}
        .profile-banner { position:relative; width:100%; height:190px; margin:-30px -30px 0; width:calc(100% + 60px); background:#eafafd center/contain no-repeat; border-bottom:1px solid #cfe6eb; }
        .profile-banner::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(20,40,48,.42),transparent 70%); pointer-events:none; }
        .profile-banner-edit { position:absolute; right:16px; bottom:14px; z-index:1; }
        .profile-subnav { display:flex; gap:8px; margin:0 0 20px; border-bottom:1px solid #dfe5e8; padding-bottom:10px; }
        .profile-subnav button.active { color:#fff; background:var(--cyan); border-color:var(--cyan); }
        .banner-adjust-modal { position:fixed; inset:0; z-index:4000; display:none; align-items:center; justify-content:center; padding:20px; background:rgba(20,35,43,.62); }
        .banner-adjust-modal.is-visible { display:flex; }
        .banner-adjust-card { width:min(720px,100%); padding:22px; color:var(--white); background:var(--bg-panel); border:1px solid #cfe6eb; border-radius:6px; box-shadow:0 18px 50px rgba(0,0,0,.25); }
        .banner-adjust-card h3 { color:var(--white) !important; }
        .banner-adjust-preview { position:relative; height:220px; overflow:hidden; background:var(--bg-dark); border:1px solid #cfe6eb; margin:12px 0; }
        .banner-adjust-preview img { position:absolute; width:100%; height:100%; object-fit:cover; transform-origin:center; }
        .banner-adjust-controls { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
        .banner-adjust-controls label { color:#53666f; font-size:.72rem; }
        .banner-adjust-controls input { width:100%; accent-color:var(--cyan); }
        .account-menu { position:relative; display:none; }
        .account-menu.is-visible { display:flex; align-items:center; gap:6px; }
        .account-trigger { display:flex; align-items:center; gap:7px; border:0; background:transparent; color:#4d5961; font:inherit; font-size:.75rem; font-weight:700; cursor:pointer; }
        .account-avatar { width:32px; height:32px; border:2px solid var(--cyan); border-radius:50%; object-fit:cover; }
        .account-rules-trigger { flex:0 0 30px; width:30px; height:30px; }
        .account-dropdown { position:absolute; top:42px; right:0; min-width:170px; padding:6px; background:#fff; border:1px solid #dfe5e8; border-radius:5px; box-shadow:0 10px 22px rgba(28,42,52,.16); z-index:1200; }
        .account-dropdown button { display:block; width:100%; padding:10px; border:0; background:#fff; color:#53666f; text-align:left; font-size:.75rem; }
        .account-dropdown button:hover { color:#fff; background:var(--cyan); }
        .strike-notifications-modal { position:fixed; inset:0; z-index:6000; display:grid; place-items:center; padding:18px; background:rgba(7,13,19,.68); backdrop-filter:blur(3px); }
        .strike-notifications-modal[hidden] { display:none; }
        .strike-notifications-card { position:relative; display:flex; flex-direction:column; width:min(700px,100%); height:min(88vh,850px); max-height:min(88vh,850px); min-height:0; overflow:hidden; border:1px solid #dce3e8; border-radius:12px; color:#28343b; background:#f5f8fa; box-shadow:0 20px 70px rgba(0,0,0,.28); }
        .strike-notifications-header { position:relative; padding:22px 24px 16px; border-bottom:1px solid #e1e8ec; background:linear-gradient(135deg,#fff 0%,#f3f8fc 100%); }
        .strike-notifications-title-row { display:flex; align-items:center; gap:10px; margin-right:42px; }
        .strike-notifications-card h2 { margin:0; color:#293941; font-size:1.15rem; }
        .strike-notification-tabs { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:12px 18px 0; }
        .strike-notification-tab { display:flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:8px 10px; border:1px solid #d5dfe3; border-radius:7px; color:#52616a; background:#fff; font:inherit; font-size:.72rem; font-weight:800; cursor:pointer; }
        .strike-notification-tab[aria-selected="true"] { color:#0877eb; background:#edf6ff; border-color:#168cff; }
        .strike-notification-tab-count { display:inline-grid; min-width:21px; height:21px; place-items:center; padding:0 5px; border-radius:11px; color:#fff; background:#168cff; font-size:.65rem; }
        .strike-notification-panel { display:flex; flex:1 1 auto; flex-direction:column; min-height:0; overflow:hidden; }
        .strike-notification-panel[hidden] { display:none; }
        .strike-notification-panel .strike-notification-group-label { flex:0 0 auto; margin-top:12px; }
        @media (max-width:480px) { .strike-notification-tabs { padding-right:10px; padding-left:10px; gap:5px; }.strike-notification-tab { gap:5px; padding:7px 5px; font-size:.64rem; } }
        .strike-notifications-list { flex:1 1 auto; min-height:0; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; scrollbar-width:thin; scrollbar-color:#8fa7b0 #e9eff2; padding:6px 18px 18px; }
        .strike-notifications-list::-webkit-scrollbar { width:8px; }
        .strike-notifications-list::-webkit-scrollbar-track { background:#e9eff2; border-radius:8px; }
        .strike-notifications-list::-webkit-scrollbar-thumb { background:#8fa7b0; border:2px solid #e9eff2; border-radius:8px; }
        .strike-notifications-list::-webkit-scrollbar-thumb:hover { background:#617984; }
        .strike-notification-group-label { margin:12px 18px 0; color:#6c7b83; font-size:.7rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
        .strike-notifications-close { position:absolute; top:12px; right:12px; width:34px; height:34px; border:1px solid #d5dfe3; border-radius:5px; color:#34434b; background:#f7f9fa; font-size:1.2rem; cursor:pointer; }
        .strike-notice { margin:10px 0; padding:15px; border:1px solid #dce5ea; border-radius:10px; background:#fff; font-size:.77rem; line-height:1.55; box-shadow:0 3px 12px rgba(25,49,62,.06); }
        .strike-notice.is-unread { border-left:4px solid #168cff; padding-left:11px; }
        .strike-notice.is-strike { border-color:#efc6c9; border-left:4px solid #d94d5c; background:#fff8f8; }
        .strike-notice.is-strike.is-unread { border-left-color:#d94d5c; }
        .strike-notice.is-targeted { outline:2px solid #168cff; outline-offset:2px; }
        .strike-notice.is-strike.is-targeted { outline-color:#d94d5c; }
        .strike-notice-heading { display:flex; align-items:center; flex-wrap:wrap; gap:7px; }
        .strike-notice-heading strong { color:#293941; font-size:.8rem; }
        .strike-notice-delete { display:inline-grid; width:28px; height:28px; margin-left:auto; place-items:center; border:1px solid #d5dfe3; border-radius:5px; color:#b74751; background:#fff; cursor:pointer; }
        .strike-notice-delete:hover { color:#fff; background:#d94d5c; border-color:#d94d5c; }
        .strike-notice-delete .material-symbols-rounded { font-size:17px; }
        .strike-notice.is-strike .strike-notice-heading strong { color:#a33a46; }
        .strike-notice-category { padding:2px 7px; border-radius:10px; color:#0877eb; background:#edf6ff; font-size:.59rem; font-weight:800; }
        .strike-notice-category.is-moderation { color:#a33a46; background:#fff0f1; }
        .strike-notice-new { margin-left:auto; color:#0877eb; font-size:.6rem; font-weight:800; text-transform:uppercase; }
        .strike-notice p { margin:7px 0; color:#45555d; }
        .strike-notice>time { display:block; color:#7a858c; font-size:.66rem; }
        .strike-evidence { margin-top:12px; padding:12px; border:1px solid #e0e6e9; border-radius:8px; background:#f5f8fa; }
        .strike-evidence>small { display:block; margin-bottom:8px; color:#ad3945; font-size:.65rem; font-weight:800; }
        .strike-evidence img { display:block; width:100%; height:auto; border:1px solid #dce3e8; border-radius:5px; }
        .strike-evidence blockquote { margin:8px 0 0; padding:10px 12px; border-left:3px solid #d94d5c; border-radius:0 5px 5px 0; color:#3a454b; background:#fff; white-space:pre-wrap; overflow-wrap:anywhere; }
        .strike-empty { margin:12px 0 0; padding:30px 16px; border:1px dashed #cbd8de; border-radius:8px; color:#67757d; background:#fff; font-size:.8rem; text-align:center; }
        body.dark-mode .strike-notifications-card { color:#d9e3e5; background:#171c20; border-color:#3b474d; }
        body.dark-mode .strike-notifications-header { background:linear-gradient(135deg,#20262b 0%,#202c32 100%); border-color:#3b474d; }
        body.dark-mode .strike-notifications-card h2, body.dark-mode .strike-notice-heading strong { color:#edf2f3; }
        body.dark-mode .strike-notification-group-label { color:#aebdc3; }
        body.dark-mode .strike-notification-tab { color:#d9e3e5; background:#22282d; border-color:#46535a; }
        body.dark-mode .strike-notification-tab[aria-selected="true"] { color:var(--cyan); background:rgba(69,213,151,.12); border-color:var(--cyan); }
        body.dark-mode .strike-notification-tab-count { color:#10231b; background:var(--cyan); }
        body.dark-mode .strike-notice.is-unread:not(.is-strike) { border-left-color:var(--cyan); }
        body.dark-mode .strike-notice.is-targeted:not(.is-strike) { outline-color:var(--cyan); }
        body.dark-mode .strike-notice, body.dark-mode .strike-empty { color:#d9e3e5; background:#22282d; border-color:#46535a; }
        body.dark-mode .strike-notice.is-strike { border-color:#7d464b; border-left-color:#ef5d63; background:#302426; }
        body.dark-mode .strike-notice.is-strike.is-unread { border-left-color:#ef5d63; }
        body.dark-mode .strike-notice.is-strike .strike-notice-heading strong { color:#ffadb3; }
        body.dark-mode .strike-notifications-list { scrollbar-color:#62747b #20282d; }
        body.dark-mode .strike-notifications-list::-webkit-scrollbar-track { background:#20282d; }
        body.dark-mode .strike-notifications-list::-webkit-scrollbar-thumb { background:#62747b; border-color:#20282d; }
        body.dark-mode .strike-notice p { color:#d9e3e5; }
        body.dark-mode .strike-notice-delete { color:#ffadb3; background:#252d33; border-color:#46535a; }
        body.dark-mode .strike-notice-delete:hover { color:#fff; background:#ba4852; border-color:#ba4852; }
        body.dark-mode .strike-evidence { background:#1b2227; border-color:#3b474d; }
        body.dark-mode .strike-evidence>small { color:#ff929b; }
        body.dark-mode .strike-evidence img { border-color:#46535a; }
        body.dark-mode .strike-evidence blockquote { color:#e1e9ec; background:#252d33; border-left-color:#ff737f; }
        body.dark-mode .strike-notifications-close { color:#d9e3e5; background:#252d33; border-color:#46535a; }
        body.dark-mode .review-notification-actions button { color:var(--cyan); background:#202b32; border-color:rgba(69,213,151,.48); }
        body.dark-mode .review-notification-actions button:hover { color:#10231b; background:var(--cyan); border-color:var(--cyan); }
        body.dark-mode .strike-notice-category:not(.is-moderation) { color:var(--cyan); background:rgba(69,213,151,.12); }
        body.dark-mode .strike-notice-new { color:var(--cyan); }
        body.dark-mode .strike-notice-category.is-moderation { color:#ffadb3; background:#40272b; }
        @media (max-width:700px) { .strike-notifications-modal { padding:10px; }.strike-notifications-card { height:92vh; max-height:92vh; }.strike-notifications-header { padding:18px 16px 13px; }.strike-notifications-list { padding:4px 10px 12px; } }
        @media (max-width:700px) { .banner-adjust-controls { grid-template-columns:1fr; } }
        .profile-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--cyan); }
        .profile-info { flex: 1; }
        .profile-metrics-row { display:flex; align-items:flex-start; gap:20px; flex-wrap:wrap; margin-top:15px; }
        
        /* Stats del perfil */
        .profile-stats { display: flex; gap: 15px; margin: 15px 0; flex-wrap: wrap; }
        #view-profile .profile-stats .number, #view-profile .profile-stats .label { color:#fff !important; -webkit-text-fill-color:#fff !important; }
        .stat-box { background: var(--bg-dark); padding: 10px 20px; border-radius: 12px; border: 1px solid rgba(200,162,200,0.3); text-align: center; }
        .stat-box .number { font-size: 1.5rem; font-weight: 900; color: var(--yellow); display: block; }
        .stat-box .label { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; }
        .profile-metrics-row .profile-stats { margin:0; }
        .profile-metrics-row .input-group { flex:1; min-width:390px; margin:0!important; max-width:none!important; }
        .profile-metrics-row #social-links-editor { grid-template-columns:repeat(4,minmax(0,1fr)); }
        .profile-metrics-row #social-links-editor button { grid-column:1 / -1; width:auto!important; }

        .admin-panel { background: rgba(200, 162, 200, 0.05); border: 1px solid var(--cyan); padding: 20px; border-radius: var(--radius); margin-top: 20px; width: 100%; }
        .admin-chapter-review { display:grid; gap:22px; }
        .chapter-review-section-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; }
        .chapter-review-section-heading h2 { margin:0; color:var(--white); font-size:1rem; }
        .chapter-review-section-heading p { margin:4px 0 0; color:var(--gray); font-size:.72rem; }
        .chapter-review-count { display:inline-grid; min-width:30px; height:30px; place-items:center; padding:0 9px; border:1px solid rgba(69,213,151,.32); border-radius:16px; color:var(--cyan); background:rgba(69,213,151,.1); font-size:.72rem; font-weight:800; }
        .chapter-review-list { display:grid; gap:12px; margin-top:10px; }
        .chapter-review-card { display:grid; gap:14px; min-width:0; padding:18px; border:1px solid #d8e2e7; border-left:4px solid var(--cyan); border-radius:7px; background:var(--bg-panel); box-shadow:0 3px 12px rgba(25,49,62,.06); }
        .chapter-review-card.is-history { border-left-color:#87969c; box-shadow:none; }
        .chapter-review-card h3 { margin:0; color:var(--white); font-size:.95rem; line-height:1.4; overflow-wrap:anywhere; }
        .chapter-review-status { display:inline-flex; align-items:center; width:max-content; padding:4px 8px; border:1px solid rgba(69,213,151,.3); border-radius:4px; color:#17844c; background:rgba(69,213,151,.1); font-size:.64rem; font-weight:800; }
        .chapter-review-status.is-inactive { color:#a33a46; border-color:#efc6c9; background:#fff0f1; }
        .chapter-review-meta { margin:0; color:var(--gray); font-size:.73rem; line-height:1.5; }
        .chapter-review-pages { display:grid; grid-template-columns:repeat(auto-fill,minmax(125px,1fr)); gap:10px; max-height:360px; overflow:auto; padding:10px; border:1px solid rgba(142,142,168,.18); border-radius:6px; background:var(--bg-card); }
        .chapter-review-pages img { display:block; width:100%; height:190px; object-fit:contain; background:#111; border-radius:4px; }
        .chapter-review-image-zoom { display:block; width:100%; margin-top:5px; padding:0; border:0; border-radius:5px; background:transparent; cursor:zoom-in; }
        .chapter-review-image-zoom:focus-visible { outline:2px solid var(--cyan); outline-offset:2px; }
        .chapter-review-image-zoom img { margin:0; }
        .chapter-review-page { min-width:0; padding:7px; border:1px solid #d8e2e7; border-radius:5px; color:#53666f; background:var(--bg-panel); font-size:.68rem; font-weight:700; }
        .adult-badge { display:inline-block; padding:2px 7px; border-radius:4px; background:#e5484d; color:#fff; font-size:.7rem; font-weight:800; vertical-align:middle; }
        .adult-badge-cover { position:absolute; top:9px; right:9px; z-index:3; box-shadow:0 2px 6px rgba(0,0,0,.35); }
        .home-hero-art .adult-badge-cover { top:14px; right:14px; font-size:.85rem; }
        .chapter-review-page.is-flagged { border-color:#e5484d; box-shadow:0 0 0 2px rgba(229,72,77,.28); color:#c4343a; }
        .chapter-review-page.is-warning { border-color:#e5a900; box-shadow:0 0 0 2px rgba(229,169,0,.25); }
        .chapter-review-auto { padding:10px 12px; border:1px solid #cfe6eb; border-radius:6px; color:#53666f; background:#f7fcfd; font-size:.74rem; line-height:1.5; }
        .chapter-review-auto.is-scanning { border-style:dashed; }
        .chapter-review-auto.is-clean { border-color:#9bd8b2; color:#17844c; background:#effaf3; }
        .chapter-review-auto.is-flagged { border-color:#e5484d; color:#a72b31; background:#fff0f0; font-weight:700; }
        .chapter-review-auto.is-warning { border-color:#e5a900; color:#7a5b00; background:#fff8e1; }
        body.dark-mode .chapter-review-auto { color:#d9e3e5; border-color:#46535a; background:#20282d; }
        body.dark-mode .chapter-review-auto.is-clean { color:#7fe3ae; border-color:#2f7d55; background:#1b2b24; }
        body.dark-mode .chapter-review-auto.is-flagged { color:#ffadb3; border-color:#a04047; background:#33201f; }
        body.dark-mode .chapter-review-auto.is-warning { color:#f6d46b; border-color:#8a6c14; background:#2e2813; }
        .chapter-review-form-grid { display:grid; grid-template-columns:minmax(150px,.36fr) minmax(0,1fr); gap:12px; align-items:start; }
        .chapter-review-field { display:grid; gap:6px; min-width:0; color:var(--gray); font-size:.68rem; font-weight:700; }
        .chapter-review-message { display:block; width:100%; min-height:84px; padding:10px; border:1px solid #cbd8de; border-radius:5px; color:#263239; background:#fff; font:inherit; font-size:.75rem; line-height:1.45; resize:vertical; }
        .chapter-review-page-select { width:100%; min-height:40px; padding:8px 10px; border:1px solid #cbd8de; border-radius:5px; color:#263239; background:#fff; font:inherit; font-size:.75rem; }
        .chapter-review-page-select:focus-visible, .chapter-review-message:focus-visible { outline:2px solid var(--cyan); outline-offset:1px; border-color:var(--cyan); }
        .chapter-review-actions { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; padding-top:12px; border-top:1px solid rgba(142,142,168,.18); }
        .chapter-review-actions button[data-review-action] { min-height:38px; padding:8px 12px; border:1px solid var(--cyan); border-radius:5px; color:#fff; background:#12864b; font-size:.72rem; font-weight:800; }
        .chapter-review-actions button[data-review-action="deactivate"] { color:#a33a46; border-color:#e2a9ad; background:transparent; }
        .chapter-review-actions button[data-review-action="deactivate"]:hover { color:#fff; border-color:#c7434d; background:#c7434d; }
        .chapter-review-actions button[data-review-action="keep-active"]:hover { background:#0d6f3d; }
        .chapter-review-history { border:1px solid rgba(142,142,168,.2); border-radius:6px; background:var(--bg-panel); }
        .chapter-review-history summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 15px; color:var(--white); font-size:.78rem; font-weight:800; cursor:pointer; list-style:none; }
        .chapter-review-history summary::-webkit-details-marker { display:none; }
        .chapter-review-history[open] summary { border-bottom:1px solid rgba(142,142,168,.2); }
        .chapter-review-history .chapter-review-list { margin:0; padding:12px; }
        .chapter-review-empty { margin:0; padding:22px 16px; border:1px dashed rgba(142,142,168,.28); border-radius:6px; color:var(--gray); font-size:.76rem; text-align:center; }
        body.dark-mode .chapter-review-page { color:#d9e3e5; border-color:#46535a; }
        body.dark-mode .chapter-review-page-select, body.dark-mode .chapter-review-message { color:#edf2f3; border-color:#46535a; background:#1b2024; color-scheme:dark; }
        body.dark-mode .chapter-review-page-select:focus-visible, body.dark-mode .chapter-review-message:focus-visible { border-color:var(--cyan); }
        body.dark-mode .chapter-review-history { border-color:#3b474d; background:#22282d; }
        body.dark-mode .chapter-review-history[open] summary { border-bottom-color:#3b474d; }
        body.dark-mode .chapter-review-empty { border-color:#46535a; }
        @media (max-width:650px) { .chapter-review-form-grid { grid-template-columns:1fr; }.chapter-review-card { padding:14px; }.chapter-review-actions { justify-content:stretch; }.chapter-review-actions button[data-review-action] { flex:1 1 100%; } }
        .review-notification-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
        .review-notification-actions button { padding:8px 11px; border:1px solid #cfe6eb; border-radius:5px; color:#0877eb; background:#fff; font-weight:700; cursor:pointer; }
        .strike-notice.is-unread { border-left:4px solid #0099ff; }
        
        .file-item { display: flex; justify-content: space-between; align-items: center; background: var(--bg-dark); padding: 10px 14px; margin-top: 8px; border-radius: 10px; font-size: 0.85rem; border: 1px solid rgba(200,162,200,0.2); }

        .toast { position: fixed; bottom: 25px; right: 25px; background: linear-gradient(45deg, var(--cyan), var(--yellow)); color: #101018; padding: 14px 25px; border-radius: 30px; font-weight: 800; box-shadow: 0 10px 25px rgba(0,0,0,0.5); z-index: 3000; display: none; }
        .toast.is-anchored { left: 0; top: 0; right: auto; bottom: auto; transform: translate(-50%, -100%); max-width: 220px; text-align: center; white-space: normal; line-height: 1.3; }

        /* Actualización visual inspirada en un portal de manga: catálogo claro, banner protagonista y fichas de lectura. */
        :root { --bg-dark:#f4f5f6; --bg-panel:#ffffff; --bg-card:#f7f8f9; --cyan:#0099FF; --yellow:#ffbd36; --accent-purple:#0099FF; --white:#222a31; --gray:#7d8790; --radius:4px; --shadow:0 7px 22px rgba(28,42,52,.12); }
        body {
            background-color:var(--bg-dark);
            color:var(--white);
        }
        header { padding:10px 5%; background:rgba(255,255,255,.96); border-bottom:1px solid #dfe4e7; box-shadow:0 2px 12px rgba(28,42,52,.08); }
        .logo { color:#202a31; background:none; background-clip:text; -webkit-text-fill-color:initial; font-size:1.45rem; }
        .nav-link { color:#4d5961; font-size:.75rem; }.nav-link:hover,.nav-link.active { color:var(--cyan); }
        .container { width:90%; max-width:1120px; padding-top:24px; }.section-title { color:#252e35; font-size:1.55rem; border-left:4px solid var(--cyan); padding-left:10px; margin-bottom:19px; }
        #profile-comics-grid { grid-template-columns:repeat(5,172px); gap:12px; justify-content:start; }
        #profile-comics-grid .comic-card { width:172px; min-width:172px; max-width:172px; box-sizing:border-box; }
        #profile-comics-grid .comic-cover-wrap { width:172px !important; max-width:172px !important; height:200px !important; margin:0 auto; overflow:hidden; box-sizing:border-box; }
        #profile-comics-grid .comic-cover, .profile-comic-cover { display:block; flex:0 0 172px; width:172px !important; min-width:172px; max-width:172px !important; height:200px !important; min-height:200px; max-height:200px !important; margin:0 auto; object-fit:cover; box-sizing:border-box; }
        #profile-comics-grid .comic-favorite-indicator { width:24px; height:24px; border:0; border-radius:0; background:transparent; box-shadow:none; }
        #profile-comics-grid .comic-favorite-indicator svg { width:24px; height:24px; }
        @media (max-width:900px) { #profile-comics-grid { grid-template-columns:repeat(2,172px); } }
        @media (max-width:700px) { #profile-comics-grid { grid-template-columns:172px; justify-content:center; } }
        .hero-slider-shell { position:relative; }.slider-container { margin-left:calc((90vw - 100vw)/2); margin-right:calc((90vw - 100vw)/2); padding:0 5vw 10px; gap:16px; }.hero-banner { min-width:calc(100% - 10vw); height:360px; border:0; border-radius:0; box-shadow:none; background-color:#26343b; background-size:contain; background-repeat:no-repeat; }.hero-overlay { padding:34px 7%; background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.12) 70%),linear-gradient(to top,rgba(0,0,0,.8),transparent 60%); }.hero-title { font-size:2.45rem; }.hero-desc { color:#e0e5e7; }.slider-arrow { position:absolute; z-index:8; top:50%; width:42px; height:42px; border:1px solid rgba(255,255,255,.65); border-radius:50%; color:#fff; background:#0099FF; font-size:2rem; line-height:1; transform:translateY(-50%); }.slider-arrow:hover { background:#0fa4c7; transform:translateY(-50%) scale(1.08); }.slider-prev { left:18px; }.slider-next { right:18px; }
        .categories-bar { justify-content:center; gap:8px; margin:0 auto 38px; padding:12px; position:relative; z-index:5; background:#eef8fa; border:1px solid #cfe6eb; border-radius:8px; box-shadow:none; }.categories-bar .badge { border:1px solid #cfe6eb; border-radius:4px; color:#53666f; background:#fff; padding:9px 12px; font-size:.72rem; font-weight:400; text-transform:none; }.categories-bar .badge:hover,.categories-bar .badge.active-category { color:#fff; border-color:var(--cyan); background:var(--cyan); transform:none; }
        .grid { grid-template-columns:repeat(auto-fill,minmax(174px,1fr)); gap:24px; }.comic-card { background:#fff; border:1px solid #e1e5e8; border-radius:8px; box-shadow:0 3px 12px rgba(24,43,52,.06); overflow:visible; }.comic-card:hover { transform:translateY(-4px); border-color:var(--cyan); box-shadow:var(--shadow); z-index:20; }.comic-cover { height:250px; border-radius:8px; }.comic-cover-wrap { position:relative; overflow:hidden; border-radius:8px 8px 0 0; }.comic-info { padding:12px; border-radius:0 0 8px 8px; }.comic-info h3 { color:#252e35; font-size:.92rem; }.comic-meta { color:#879199; font-size:.7rem; }.comic-hover-preview { position:absolute; left:calc(100% + 12px); top:8px; width:285px; min-height:220px; display:flex; flex-direction:column; justify-content:center; gap:8px; padding:18px; color:#fff; background:#26343b; border:1px solid rgba(22,184,223,.55); border-radius:8px; box-shadow:0 12px 28px rgba(20,35,43,.25); opacity:0; transform:translateX(-8px); transition:opacity .22s ease,transform .22s ease; pointer-events:none; }.comic-card:hover .comic-hover-preview { opacity:1; transform:translateX(0); }.comic-hover-preview strong { color:#fff; font-size:1rem; line-height:1.25; }.comic-hover-preview small { color:#dbe4e7; line-height:1.45; display:-webkit-box; display:box; -webkit-line-clamp:4; line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }.preview-chapter { display:block; padding-top:8px; border-top:1px solid rgba(255,255,255,.18); color:#fff; font-size:.78rem; font-weight:700; }.preview-date { color:#aebdc3; font-size:.68rem; }.preview-meta { color:var(--yellow); font-size:.72rem; }.zoom-icon { align-self:flex-start; display:grid; place-items:center; width:36px; height:36px; border:2px solid #fff; border-radius:50%; font-size:1.35rem; line-height:1; }.card-rating { display:flex; align-items:center; justify-content:space-between; gap:5px; margin-top:8px; color:#929ba1; font-size:.68rem; }.stars-static { color:#ff6657; letter-spacing:1px; font-size:.8rem; white-space:nowrap; }
        .story-header { height:280px; border:0; border-radius:0; margin-left:calc((90vw - 100vw)/2); margin-right:calc((90vw - 100vw)/2); width:100vw; }.story-header-overlay { background:linear-gradient(to top,rgba(244,245,246,.98),rgba(20,30,35,.18)); }.story-profile-container { margin-top:0; gap:25px; }.story-cover-lg { width:190px; height:275px; border:0; border-radius:4px; box-shadow:0 8px 18px rgba(20,34,40,.25); }.story-details { color:#252e35; }.story-title { color:#202a31; font-size:2rem; }.story-synopsis { color:#69757d; }.story-stats { gap:8px; }.stat-badge { color:#51616a; background:#fff; border:1px solid #dfe5e8; border-radius:3px; }.story-genres .badge,.badge { border-radius:3px; }.comic-rating { display:flex; align-items:center; justify-content:space-between; gap:20px; width:400px; max-width:100%; height:56px; box-sizing:border-box; padding:8px 15px; margin-bottom:13px; background:#fff; border:1px solid #e2e6e8; border-radius:4px; box-shadow:0 4px 12px rgba(28,42,52,.06); }.rating-score { display:flex; align-items:center; gap:9px; }.rating-stars-large { color:#ff695a; letter-spacing:2px; font-size:1.25rem; }.rating-score strong { font-size:1.55rem; font-weight:500; }.rating-score small { color:#89949b; font-size:.72rem; }.rating-vote { display:flex; align-items:center; gap:7px; color:#7d8790; font-size:.7rem; }.rating-buttons { display:flex; }.rating-star-btn { border:0; padding:0 2px; color:#ff695a; background:transparent; font-size:1.25rem; cursor:pointer; }.rating-star-btn:not(.selected) { color:#cbd3d7; }.rating-star-btn:hover { color:var(--yellow); transform:scale(1.12); }
        .story-social-inline { display:flex; align-items:center; flex-wrap:wrap; gap:7px; color:#0099FF; font-size:.7rem; }
        .story-social-inline span { padding:7px 9px; border:1px solid #cfe6eb; border-radius:4px; background:#f4fcfd; white-space:nowrap; }
        .chapters-list { display:grid; grid-template-columns:1fr 1fr; gap:9px; }.chapter-card { padding:11px; border:1px solid #e1e5e8; border-radius:3px; background:#fff; }.chapter-card:hover { background:#f0fbfd; border-color:var(--cyan); transform:translateY(-2px); }.chapter-thumb { width:52px; height:52px; border:0; border-radius:3px; }.chapter-title { color:#263239; }.chapter-date { color:#909aa0; font-size:.72rem; }
        #view-reader .reader-controls { background:transparent; border:0; backdrop-filter:none; -webkit-backdrop-filter:none; }
        body:not(.dark-mode) #view-reader .reader-controls,
        body.dark-mode #view-reader .reader-controls { background:transparent; border:0; }
        .reader-container { max-width:820px; }.comments-section,.auth-card,.publish-card { background:#fff; border:1px solid #e1e5e8; border-radius:4px; box-shadow:var(--shadow); }.comment-item { border-bottom-color:#e1e5e8; }.comment-date,.comment-text { color:#69757d; }.comment-replies-button,.comment-vote-button { color:#7d8790; border-color:#d9e0e3; background:#fff; }.publish-card { background:#fff; }.input-group input[type="text"],.input-group input[type="email"],.input-group input[type="password"],.input-group select,.input-group textarea { background:#f7f9fa; color:#263239; border:1px solid #d9e0e3; border-radius:4px; }.input-group label { color:#0099FF; }.tabs { border-bottom-color:#dfe5e8; }.tab-btn { background:#f5f7f8; border-color:#d9e0e3; border-radius:4px; }.tab-btn.active { background:#e6f9fc; color:#0099FF; border-color:var(--cyan); box-shadow:none; }
        .music-upload-panel { flex:1; min-width:250px; padding:18px; border:1px solid #cfe6eb; border-radius:8px; background:#f7fcfd; }.music-upload-panel h3 { margin-bottom:5px; color:#26343a; font-size:1rem; }.music-upload-panel p { margin-bottom:12px; color:#7d8790; font-size:.75rem; }.music-upload-panel input[type="text"] { width:100%; padding:10px; margin-bottom:9px; border:1px solid #d9e0e3; border-radius:4px; background:#fff; color:#263239; }.music-file-input { display:none; }.music-file-label { display:block; margin-bottom:10px; padding:10px; border:1px dashed var(--cyan); border-radius:4px; color:#0099FF; background:#fff; text-align:center; font-size:.75rem; cursor:pointer; }.music-file-label:hover { background:#eafafd; }
        .music-upload-categories { display:grid; gap:7px; margin:10px 0 14px; padding:10px; border:1px solid #cfe6eb; border-radius:6px; }
        .music-upload-categories legend { padding:0 5px; color:#53666f; font-size:.72rem; font-weight:700; }
        .music-upload-categories label { display:flex; align-items:center; gap:7px; color:#26343a; font-size:.72rem; cursor:pointer; }
        .music-upload-categories input { accent-color:var(--cyan); }
        .music-upload-categories small { color:#7d8790; font-size:.66rem; line-height:1.4; }
        .admin-music-library { flex:1 1 100%; min-width:0; margin-top:18px; padding-top:16px; border-top:1px solid #dce5e9; }
        .admin-music-library-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
        .admin-music-library-heading h3 { margin:0 0 3px; color:#26343a; font-size:.9rem; }
        .admin-music-library-heading p { margin:0; color:#7d8790; font-size:.7rem; }
        .admin-music-library-count { display:grid; flex:0 0 28px; width:28px; height:28px; place-items:center; border:1px solid color-mix(in srgb,var(--cyan) 28%,transparent); border-radius:50%; color:var(--cyan); background:color-mix(in srgb,var(--cyan) 8%,transparent); font-size:.7rem; font-weight:800; }
        .admin-music-library-list { display:grid; gap:7px; max-height:280px; overflow:auto; }
        .admin-music-category { display:grid; gap:7px; }
        .admin-music-category + .admin-music-category { margin-top:10px; padding-top:10px; border-top:1px solid #e1e8ec; }
        .admin-music-category h4 { display:flex; align-items:center; gap:7px; margin:0; color:#53666f; font-size:.72rem; font-weight:800; }
        .admin-music-category h4 span { display:grid; min-width:20px; height:20px; place-items:center; padding:0 5px; border-radius:999px; color:#1686a0; background:#eaf8fb; font-size:.62rem; }
        .admin-music-category-tracks { display:grid; gap:7px; }
        .admin-music-empty { margin:0; padding:13px; border:1px dashed #d5e0e5; border-radius:8px; color:#7d8790; font-size:.74rem; text-align:center; }
        .admin-music-track { display:flex; align-items:center; gap:10px; min-width:0; padding:9px 10px; border:1px solid #e1e8ec; border-radius:8px; background:#fff; }
        .admin-music-track-icon { display:grid; flex:0 0 32px; width:32px; height:32px; place-items:center; border-radius:8px; color:#1686a0; background:#eaf8fb; }
        .admin-music-track-icon .material-symbols-rounded { font-size:18px; }
        .admin-music-track-name { flex:1; min-width:0; overflow:hidden; color:#26343a; font-size:.76rem; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
        .admin-music-delete { display:grid; flex:0 0 32px; width:32px; height:32px; place-items:center; padding:0; border:1px solid #f0d5d9; border-radius:7px; color:#bd4352; background:#fff7f8; cursor:pointer; transition:color .15s ease,background .15s ease,border-color .15s ease; }
        .admin-music-delete:hover:not(:disabled) { color:#fff; background:#d94355; border-color:#d94355; }
        .admin-music-delete:focus-visible { outline:3px solid color-mix(in srgb,var(--cyan) 35%,transparent); outline-offset:2px; }
        .admin-music-delete:disabled { opacity:.55; cursor:wait; }
        .admin-music-delete .material-symbols-rounded { font-size:18px; }
        body.dark-mode .admin-music-library { border-top-color:#46535a; }
        body.dark-mode .admin-music-category + .admin-music-category { border-top-color:#46535a; }
        body.dark-mode .admin-music-category h4 { color:#aeb9bd; }
        body.dark-mode .admin-music-category h4 span { color:#71d8dc; background:#26383d; }
        body.dark-mode .admin-music-library-heading h3, body.dark-mode .admin-music-track-name { color:var(--white); }
        body.dark-mode .admin-music-library-heading p, body.dark-mode .admin-music-empty { color:#aeb9bd; }
        body.dark-mode .admin-music-empty { border-color:#46535a; }
        body.dark-mode .admin-music-track { border-color:#46535a; background:#22282d; }
        body.dark-mode .admin-music-track-icon { color:#71d8dc; background:#26383d; }
        body.dark-mode .admin-music-delete { color:#ff9da7; border-color:#75464c; background:#38272a; }
        body.dark-mode .admin-music-delete:hover:not(:disabled) { color:#fff; border-color:#e35a69; background:#c83d50; }
        .reader-music-box { position:fixed; right:20px; bottom:20px; z-index:950; min-width:360px; max-width:650px; flex-wrap:wrap; padding:9px 12px; border-radius:8px; border:1px solid #cfe6eb; background:#f7fcfd; color:#26343a; box-shadow:0 10px 24px rgba(28,42,52,.18); }.music-note { color:var(--cyan); font-size:1.1rem; }.reader-music-box select { min-width:110px; max-width:150px; border:1px solid #d9e0e3; border-radius:4px; padding:6px; color:#263239; background:#fff; }.music-control { width:28px; height:28px; border:1px solid #cfe6eb; border-radius:50%; color:#0099FF; background:#fff; font-size:.75rem; }.music-control:hover { color:#fff; background:var(--cyan); }.music-progress { flex:1; min-width:90px; accent-color:var(--cyan); }.reader-music-box #music-time { min-width:38px; color:#71828a; font-size:.7rem; text-align:right; }.reader-music-box audio { display:none; }
        .reader-music-box { left:0; right:0; bottom:0; min-width:0; max-width:none; width:100%; border-radius:0; justify-content:center; padding:10px 5%; }
        .story-navigation-actions { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 22px; }
        .comment-tools { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-top:8px; }
        .comment-tool { border:1px solid #cfe6eb; border-radius:4px; background:#fff; padding:5px 8px; cursor:pointer; font-size:1rem; }
        .comment-tool:hover { border-color:var(--cyan); background:#eafafd; }
        .comment-emoji-icon { display:block; font-family:'Material Symbols Rounded'; font-size:1.35rem; line-height:1; color:#263239; transform: translateY(1px); }
        .comment-emoji-picker-wrap { position:relative; display:inline-block; }
        .comment-emoji-picker { position:absolute; left:0; top:calc(100% + 8px); z-index:30; display:none; width:min(350px, calc(100vw - 40px)); height:360px; }
        .comment-emoji-picker.is-visible { display:block; }
        .comment-emoji-picker emoji-picker { width:100%; height:100%; --num-columns:7; --emoji-size:1.35rem; --border-radius:4px; --indicator-color:var(--cyan); }
        .rules-modal { position:fixed; inset:0; z-index:5000; display:none; align-items:center; justify-content:center; padding:20px; background:rgba(20,35,43,.68); }
        .rules-modal.is-visible { display:flex; }
        .rules-card { width:min(760px,100%); max-height:min(82vh,760px); overflow:auto; padding:28px; background:#fff; color:#26343a; border-radius:8px; box-shadow:0 18px 50px rgba(0,0,0,.3); }
        .rules-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
        .rules-card h2 { color:#0099FF; }
        .rules-close { display:grid; flex:0 0 36px; width:36px; height:36px; place-items:center; border:1px solid #cfe6eb; border-radius:50%; color:#34434b; background:#fff; font-size:1.35rem; cursor:pointer; }
        .rules-close:hover { border-color:#0099FF; color:#007bc7; background:#eef8ff; }
        .rules-modal[data-registration="true"] .rules-close { display:none; }
        .rules-card h3 { margin:18px 0 8px; color:#26343a; font-size:1rem; }
        .rules-card p,.rules-card li { color:#53666f; line-height:1.55; font-size:.86rem; }
        .rules-card ul { padding-left:22px; margin:8px 0; }
        .rules-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:22px; }
        .rules-modal:not([data-registration="true"]) #rules-accept { display:none; }
        .community-rules-trigger { display:grid; flex:0 0 34px; width:34px; height:34px; place-items:center; padding:0; border:1px solid #cfe6eb; border-radius:50%; color:#0877eb; background:#fff; cursor:pointer; }
        .community-rules-trigger:hover { border-color:#0877eb; color:#fff; background:#0877eb; }
        .community-rules-trigger:focus-visible,.rules-close:focus-visible { outline:3px solid #1687ff; outline-offset:2px; }
        .community-rules-trigger svg { display:block; width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:2; }
        .profile-name-editor { display:flex; gap:8px; align-items:end; max-width:520px; margin:18px 0 18px; padding:12px; border:1px solid #cfe6eb; border-radius:6px; background:#eef8fa; }
        .profile-name-editor .input-group { flex:1; margin:0; }
        .profile-name-editor input { background:var(--bg-panel); color:var(--white); border:1px solid #cfe6eb; }
        .profile-settings-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:28px; align-items:start; }
        .profile-settings-sidebar { position:sticky; top:84px; padding:18px 12px; background:#111617; border:1px solid #263338; border-radius:8px; }
        .profile-settings-label { display:block; padding:0 10px 14px; color:#87979e; font-size:.7rem; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
        .profile-settings-nav { display:grid; gap:5px; }
        .profile-settings-nav button { display:flex; align-items:center; gap:9px; width:100%; padding:11px 12px; border:1px solid transparent; border-radius:5px; color:#9aabb1; background:transparent; text-align:left; font-size:.78rem; font-weight:700; }
        .profile-settings-nav button:hover { color:#fff; background:#1b292e; }
        .profile-settings-nav button.active { color:#fff; background:#20314a; border-color:#2a466d; }
        .profile-settings-nav button .settings-icon { width:20px; color:#7f9bb9; text-align:center; font-size:1rem; }
        .profile-settings-nav button.active .settings-icon { color:#23c76b; }
        .profile-settings-main { min-width:0; }
        #view-profile.is-admin-own-profile .profile-settings-layout { grid-template-columns:minmax(0,1fr); }
        #view-profile.is-admin-own-profile .profile-settings-sidebar { display:none; }
        #view-profile.is-admin-own-profile .creator-profile-card { overflow:visible; background:transparent; }
        #view-profile.is-admin-own-profile .creator-profile-banner { border-radius:7px 7px 0 0; }
        #view-profile.is-admin-own-profile .creator-profile-head { border-radius:0 0 7px 7px; }
        #view-profile.is-admin-own-profile .creator-profile-card.is-settings-menu-open { z-index:5; }
        .admin-profile-settings-menu { position:relative; display:none; }
        .admin-profile-settings-menu.is-visible { display:block; }
        .admin-profile-settings-trigger { display:inline-flex; align-items:center; gap:7px; min-height:34px; padding:8px 12px; border:1px solid #cfe6eb; border-radius:6px; color:#38515c; background:#fff; font-size:.68rem; font-weight:800; cursor:pointer; }
        .admin-profile-settings-trigger:hover, .admin-profile-settings-trigger[aria-expanded="true"] { color:#087e87; border-color:var(--cyan); background:#effbfc; }
        .admin-profile-settings-trigger .material-symbols-rounded { font-size:17px; }
        .admin-profile-settings-dropdown { position:absolute; z-index:20; top:calc(100% + 7px); right:0; display:grid; gap:3px; width:min(230px,calc(100vw - 40px)); padding:6px; border:1px solid #dbe5e9; border-radius:9px; background:#fff; box-shadow:0 12px 32px rgba(24,43,52,.2); }
        .admin-profile-settings-dropdown[hidden] { display:none !important; }
        .admin-profile-settings-dropdown button { display:flex; align-items:center; gap:9px; width:100%; padding:10px; border:0; border-radius:6px; color:#3f4a50; background:transparent; text-align:left; font-size:.73rem; font-weight:700; cursor:pointer; }
        .admin-profile-settings-dropdown button:hover, .admin-profile-settings-dropdown button.is-current { color:#087e87; background:#eff8fa; }
        .admin-profile-settings-dropdown button .material-symbols-rounded { color:#3f4a50; font-size:18px; }
        .admin-settings-return { display:none; }
        #view-profile.is-admin-own-profile .admin-settings-return { display:inline-flex; align-items:center; gap:7px; margin:0 0 16px; padding:8px 12px; border:1px solid #cfe6eb; border-radius:6px; color:#38515c; background:#fff; font-size:.68rem; font-weight:800; cursor:pointer; }
        #view-profile.is-admin-own-profile .admin-settings-return:hover { color:#087e87; border-color:var(--cyan); background:#effbfc; }
        body.dark-mode .admin-profile-settings-trigger, body.dark-mode #view-profile.is-admin-own-profile .admin-settings-return { color:#d7e2e6; border-color:#46535a; background:#22282d; }
        body.dark-mode .admin-profile-settings-trigger:hover, body.dark-mode .admin-profile-settings-trigger[aria-expanded="true"], body.dark-mode #view-profile.is-admin-own-profile .admin-settings-return:hover { color:var(--cyan); border-color:var(--cyan); background:#253337; }
        body.dark-mode .admin-profile-settings-dropdown { border-color:#46535a; background:#22282d; box-shadow:0 12px 32px rgba(0,0,0,.4); }
        body.dark-mode .admin-profile-settings-dropdown button { color:#d7e2e6; }
        body.dark-mode .admin-profile-settings-dropdown button:hover, body.dark-mode .admin-profile-settings-dropdown button.is-current { color:var(--cyan); background:#293a40; }
        body.dark-mode .admin-profile-settings-dropdown button .material-symbols-rounded { color:var(--cyan); }
        .profile-settings-panel { display:none; animation:fadeIn .2s ease; }
        .profile-settings-panel.active { display:block; }
        .profile-settings-heading { margin:0 0 22px; padding-left:14px; border-left:5px solid var(--cyan); color:#fff; font-size:1.6rem; line-height:1.1; }
        .profile-settings-heading small { display:block; margin-top:9px; color:#91a0a6; font-size:.78rem; font-weight:600; }
        .profile-settings-card { padding:28px 32px; margin-bottom:20px; background:#1d2223; border:1px solid #303839; border-radius:8px; }
        .profile-settings-card h3 { margin:0 0 18px; color:#edf2f3; font-size:1rem; }
        .profile-settings-card .input-group { min-width:0; max-width:none; }
        .creator-profile-shell { --profile-accent-color:var(--cyan); --profile-text-color:var(--white); min-width:0; }
        .creator-profile-topbar { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:16px; }
        .creator-profile-kicker { color:var(--profile-accent-color); font-size:.64rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
        .creator-profile-topbar h1 { margin-top:4px; color:var(--white); font-size:1.2rem; }
        .creator-profile-card, .creator-works-card { overflow:hidden; border:1px solid rgba(142,142,168,.24); border-radius:8px; background:var(--bg-panel); color:var(--white); box-shadow:0 8px 24px rgba(0,0,0,.12); }
        .creator-profile-card { position:relative; isolation:isolate; background:var(--bg-panel); }
        .creator-profile-banner { position:relative; z-index:1; isolation:isolate; overflow:hidden; height:128px; border-bottom:1px solid #46535a; background:linear-gradient(110deg,#172a33 0%,#176b75 55%,#3fd5d6 100%); }
        .creator-profile-banner-image { position:absolute; z-index:0; inset:0; display:block; width:100%; height:100%; object-fit:cover; filter:brightness(.78) saturate(.9); }
        .creator-profile-banner-image[hidden] { display:none !important; }
        .creator-profile-banner-change { position:absolute; z-index:2; top:10px; right:12px; padding:8px 12px; border:1px solid #56646b; border-radius:5px; color:#edf2f3; background:#22282d; font-size:.65rem; font-weight:800; cursor:pointer; }
        .creator-profile-banner-change:hover { background:#303a40; }
        .creator-profile-head { position:relative; z-index:1; display:grid; grid-template-columns:126px minmax(0,1fr); gap:20px; padding:0 22px 22px; background:var(--bg-panel); }
        .creator-profile-avatar-wrap { position:relative; z-index:1; align-self:start; margin-top:-48px; }
        .creator-profile-avatar { display:block; width:126px; height:126px; border:3px solid var(--cyan); border-radius:8px; background:var(--bg-card); object-fit:cover; }
        .creator-avatar-change { display:block; width:100%; margin-top:8px; padding:7px 5px; border:1px solid rgba(142,142,168,.35); border-radius:5px; color:var(--white); background:var(--bg-card); font-size:.64rem; font-weight:700; text-align:center; cursor:pointer; }
        .creator-profile-info { min-width:0; padding-top:16px; }
        .creator-profile-info h2 { overflow-wrap:anywhere; color:var(--white); font-size:1.35rem; }
        .creator-profile-handle { margin-top:3px; color:var(--gray); font-size:.74rem; }
        .creator-profile-stats { display:flex; flex-wrap:wrap; gap:22px; margin:14px 0; }
        .creator-profile-stat strong { display:block; color:var(--white); font-size:1rem; }
        .creator-profile-stat span { color:var(--gray); font-size:.64rem; }
        .creator-profile-socials { display:flex; align-items:center; flex-wrap:wrap; gap:8px; align-self:center; }
        .creator-profile-social-link, .creator-profile-followers { display:inline-flex; align-items:center; gap:5px; min-height:27px; padding:6px 12px; border:1px solid #ccebd8; border-radius:999px; color:#2d6749; background:#e2f6e9; font-size:.64rem; font-weight:700; line-height:1; }
        .creator-profile-social-link { text-decoration:none; cursor:pointer; transition:background .15s ease,border-color .15s ease,transform .15s ease; }
        .creator-profile-social-link:hover, .creator-profile-social-link:focus-visible { border-color:#9bd8b2; background:#d4f0de; transform:translateY(-1px); }
        .creator-profile-shell .creator-profile-followers strong, .creator-profile-shell .creator-profile-followers span { color:inherit; font-size:.64rem; line-height:1; }
        .creator-profile-bio { max-width:650px; color:var(--white); font-size:.76rem; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
        .creator-profile-hashtags { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
        .creator-profile-hashtag { display:inline-flex; padding:4px 8px; border:1px solid rgba(63,213,214,.38); border-radius:999px; color:var(--cyan); background:rgba(63,213,214,.08); font-size:.66rem; font-weight:700; }
        .creator-feed-hashtag { display:inline; padding:1px 4px; border-radius:4px; color:#0877eb; background:#eaf5ff; font-weight:700; }
        .creator-profile-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:14px; }
        .creator-profile-actions .btn, .creator-profile-topbar .btn { padding:8px 12px; font-size:.65rem; }
        .creator-profile-actions .admin-featured-creator-btn.visible { width:auto; margin:0; padding:8px 12px; border:1px solid var(--cyan); border-radius:4px; color:#fff; background:var(--cyan); font-size:.65rem; letter-spacing:0; text-transform:none; box-shadow:0 3px 8px rgba(22,184,223,.18); flex:0 0 auto; }
        .creator-general-editor { margin-top:14px; padding:18px; border:1px solid rgba(142,142,168,.24); border-radius:8px; background:var(--bg-panel); }
        .creator-general-editor[hidden], .creator-profile-customize[hidden] { display:none !important; }
        .creator-general-editor h2 { margin:0 0 14px; color:var(--white); font-size:.9rem; }
        .creator-general-editor .profile-bio-edit { grid-column:1/-1; }
        .creator-general-editor textarea { width:100%; min-height:84px; padding:10px; border:1px solid rgba(142,142,168,.3); border-radius:5px; color:var(--white); background:var(--bg-dark); resize:vertical; }
        .creator-works-card { margin-top:16px; padding:18px; }
        .creator-works-card[hidden] { display:none !important; }
        .creator-works-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px; }
        .creator-works-heading h2 { color:var(--white); font-size:1rem; }
        .creator-work-list { display:grid; gap:8px; }
        .creator-work-thumb { display:grid; grid-template-columns:54px minmax(0,1fr); gap:9px; align-items:center; width:100%; padding:6px; border:1px solid rgba(142,142,168,.22); border-radius:6px; color:var(--white); background:transparent; text-align:left; cursor:pointer; }
        .creator-work-thumb img { width:54px; height:64px; border-radius:4px; object-fit:cover; background:var(--bg-dark); }
        .creator-work-thumb span { overflow:hidden; font-size:.64rem; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
        .creator-profile-content-layout > aside { display:grid; gap:14px; }
        #btn-favorite-comic[aria-pressed="true"] { color:#d93f69; border-color:#d93f69; }
        body.dark-mode #btn-favorite-comic[aria-pressed="true"] { color:#ff829f; border-color:#ff829f; }
        .creator-notifications-card { margin-top:14px; padding:14px; border:1px solid rgba(142,142,168,.22); border-radius:6px; color:#273443; background:#fff; }
        .creator-notifications-card[hidden] { display:none !important; }
        .creator-notifications-card h3 { margin:0 0 10px; color:#293443; font-size:.8rem; }
        .creator-feed-notification-slide { min-height:105px; padding:12px; border:1px solid #cfe6eb; border-radius:5px; color:#273443; background:#f7f9fb; font-size:.72rem; line-height:1.5; }
        .creator-feed-notification-slide[hidden] { display:none; }
        .creator-feed-notification-slide strong { display:block; margin-bottom:5px; color:#0877eb; }
        .creator-feed-notification-slide p { margin:0 0 7px; overflow-wrap:anywhere; }
        .creator-feed-notification-slide time { color:#71808a; font-size:.64rem; }
        .creator-feed-notification-controls { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:8px; color:#71808a; font-size:.64rem; }
        .creator-feed-notification-controls button { width:28px; height:26px; border:1px solid #cfe6eb; border-radius:4px; color:#0877eb; background:#fff; cursor:pointer; }
        .creator-feed-notification-controls button:disabled { opacity:.45; cursor:not-allowed; }
        body.dark-mode .creator-notifications-card h3 { color:var(--white); }
        body.dark-mode .creator-feed-notification-slide { color:#d9e3e5; background:#20262b; border-color:#3b474d; }
        body.dark-mode .creator-feed-notification-slide strong { color:#86c6ff; }
        body.dark-mode .creator-feed-notification-slide time, body.dark-mode .creator-feed-notification-controls { color:#aebdc3; }
        body.dark-mode .creator-feed-notification-controls button { color:#86c6ff; background:#252d33; border-color:#46535a; }
        .creator-notifications-open { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; padding:12px; border:1px solid #cfe6eb; border-radius:5px; color:#0877eb; background:#f7f9fb; font:inherit; font-size:.78rem; font-weight:800; text-align:left; cursor:pointer; }
        .creator-notifications-open[hidden] { display:none !important; }
        .story-chapters-toolbar .creator-notifications-open { width:auto; flex:0 0 auto; padding:7px 10px; }
        .creator-notifications-open:hover { background:#eff7ff; border-color:#168cff; }
        .creator-notifications-count { min-width:24px; padding:3px 7px; border-radius:12px; color:#fff; background:#e24f63; font-size:.68rem; text-align:center; }
        .creator-notifications-count[hidden] { display:none !important; }
        .creator-profile-content-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,280px); gap:14px; align-items:start; margin-top:16px; }
        .creator-profile-content-layout .creator-works-card, .creator-profile-content-layout .creator-feed-card { min-width:0; margin-top:0; }
        .creator-feed-card { margin-top:16px; overflow:visible; color:#293443; background:transparent; }
        .creator-feed-heading { margin:0; padding:0 12px 10px; color:#293443; font-size:.95rem; }
        .creator-feed-composer { margin-bottom:10px; padding:12px; border:1px solid #d8e0e8; border-radius:7px; background:#fff; }
        .creator-feed-composer textarea, .creator-post-edit-form textarea { display:block; width:100%; min-height:72px; padding:10px; border:1px solid #ced8e2; border-radius:6px; color:#293443; background:#fff; font:inherit; font-size:.8rem; resize:vertical; }
        .creator-feed-share-draft { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:8px; padding:8px 10px; border:1px solid #d4e0e8; border-radius:5px; color:#40566a; background:#f6f9fb; font-size:.7rem; }
        .creator-feed-share-draft[hidden] { display:none; }
        .creator-feed-share-draft button { padding:4px 8px; border:1px solid #bd2638; border-radius:4px; color:#bd2638; background:#fff; font-size:.65rem; font-weight:700; cursor:pointer; }
        body.dark-mode .creator-feed-share-draft { border-color:#46535a; color:#d9e3e5; background:#22282d; }
        body.dark-mode .creator-feed-share-draft button { border-color:#a83a47; color:#ffadb5; background:#38272a; }
        .creator-feed-composer-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:9px; }
        .creator-feed-image-picker-group { display:flex; align-items:center; gap:9px; min-width:0; flex-wrap:wrap; }
        .creator-feed-image-picker { display:inline-grid; width:40px; height:36px; min-height:36px; flex:0 0 40px; place-items:center; padding:0; border-radius:8px; cursor:pointer; }
        .creator-feed-image-picker svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; }
        .creator-feed-image-input { display:none; }
        .creator-feed-image-selection { min-width:0; color:#697b8e; font-size:.68rem; overflow-wrap:anywhere; }
        .creator-feed-post-list { display:grid; gap:12px; }
        .creator-feed-post { overflow:hidden; margin-bottom:10px; border:1px solid #d8e0e8; border-radius:7px; color:#273443; background:#fff; }
        .creator-feed-repost-label { display:flex; align-items:center; gap:6px; padding:8px 12px 0; color:#536477; font-size:.68rem; font-weight:700; }
        .creator-feed-repost-label svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.7; }
        .creator-feed-post-head { display:flex; align-items:center; gap:10px; min-height:58px; padding:8px 12px; }
        .creator-feed-post-avatar { width:42px; height:42px; flex:0 0 42px; border:1px solid #d7e0e7; border-radius:7px; object-fit:cover; background:#edf2f6; }
        .creator-feed-post-identity { min-width:0; }
        .creator-feed-post-author { overflow:hidden; color:#172536; font-size:.78rem; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }
        .creator-feed-post-date { display:block; overflow:hidden; margin-top:3px; color:#697b8e; font-size:.65rem; text-overflow:ellipsis; white-space:nowrap; }
        .creator-feed-post-edit { margin-left:auto; padding:5px 11px; border:1px solid #1687ff; border-radius:5px; color:#0877eb; background:#fff; font-size:.66rem; font-weight:700; cursor:pointer; }
        .creator-feed-post-edit:hover { background:#eff7ff; }
        .creator-feed-post-content { padding:0 12px; }
        .creator-feed-post-text { margin:2px 0 12px; color:#172536; font-size:.78rem; line-height:1.5; white-space:pre-wrap; overflow-wrap:anywhere; }
        .creator-feed-shared-comic { display:flex; align-items:center; gap:10px; width:100%; margin:0 0 12px; padding:8px; border:1px solid #d4e0e8; border-radius:6px; color:#25384a; background:#f6f9fb; text-align:left; cursor:pointer; }
        .creator-feed-shared-comic:hover { border-color:#8bc7f5; background:#edf7ff; }
        .creator-feed-shared-comic img { width:48px; height:64px; flex:0 0 48px; border-radius:4px; object-fit:cover; background:#e5ebef; }
        .creator-feed-shared-comic-copy { min-width:0; }
        .creator-feed-shared-comic-copy strong,.creator-feed-shared-comic-copy span { display:block; overflow:hidden; text-overflow:ellipsis; }
        .creator-feed-shared-comic-copy strong { font-size:.76rem; }
        .creator-feed-shared-comic-copy span { margin-top:4px; color:#697b8e; font-size:.66rem; }
        body.dark-mode .creator-feed-shared-comic { border-color:#46535a; color:#edf2f3; background:#22282d; }
        body.dark-mode .creator-feed-shared-comic:hover { border-color:#4a9de8; background:#203b50; }
        body.dark-mode .creator-feed-shared-comic-copy span { color:#aebdc3; }
        .creator-post-edit-form textarea { min-height:70px; }
        .creator-post-actions { display:flex; gap:7px; margin-top:8px; }
        .creator-feed-gallery { position:relative; overflow:hidden; width:calc(100% - 24px); height:clamp(210px,52vw,340px); margin:0 12px; border-radius:4px; background:#20252b; }
        .creator-feed-gallery-image { display:block; width:100%; height:100%; object-fit:contain; cursor:zoom-in; }
        .creator-feed-gallery-arrow, .creator-feed-gallery-zoom { position:absolute; top:50%; display:grid; width:34px; height:34px; place-items:center; padding:0; border:0; border-radius:50%; color:#fff; background:rgba(24,29,35,.72); cursor:pointer; opacity:0; transform:translateY(-50%); transition:opacity .15s ease,background .15s ease; }
        .creator-feed-gallery-arrow { font-size:1.25rem; }
        .creator-feed-gallery-previous { left:10px; }
        .creator-feed-gallery-next { right:10px; }
        .creator-feed-gallery-zoom { left:50%; width:48px; height:48px; background:rgba(24,29,35,.68); transform:translate(-50%,-50%); }
        .creator-feed-gallery-zoom svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:2; }
        .creator-feed-gallery:hover .creator-feed-gallery-arrow, .creator-feed-gallery:hover .creator-feed-gallery-zoom, .creator-feed-gallery:focus-within .creator-feed-gallery-arrow, .creator-feed-gallery:focus-within .creator-feed-gallery-zoom { opacity:1; }
        .creator-feed-gallery-arrow:hover, .creator-feed-gallery-zoom:hover { background:rgba(15,21,27,.9); }
        .creator-feed-gallery-count { position:absolute; right:9px; bottom:9px; padding:3px 7px; border-radius:10px; color:#fff; background:rgba(20,25,31,.72); font-size:.63rem; font-weight:700; pointer-events:none; }
        .creator-feed-post-reactions { display:flex; flex-wrap:wrap; gap:6px; padding:9px 11px 8px; }
        .creator-feed-post-reaction { min-width:41px; padding:4px 7px; border:1px solid #d4e0e8; border-radius:5px; color:#2d4052; background:#f6f9fb; font-size:.68rem; cursor:pointer; }
        .creator-feed-post-reaction.is-selected { border-color:#168cff; background:#eaf5ff; }
        .creator-feed-post-actions { display:flex; align-items:center; flex-wrap:wrap; gap:16px; padding:9px 11px; border-top:1px solid #d8e0e8; }
        .creator-feed-action { display:inline-flex; align-items:center; gap:5px; padding:3px 0; border:0; color:#536477; background:transparent; font-size:.75rem; cursor:pointer; }
        .creator-feed-action svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.6; }
        .creator-feed-action:hover, .creator-feed-action.is-selected { color:#0877eb; }
        .creator-feed-post-comments { display:none; padding:0 11px 10px; }
        .creator-feed-post-comments.is-open { display:grid; gap:0; }
        .creator-feed-post-comments .comment-item { padding:12px 0; }
        .creator-feed-post-comments .comment-user-link { font-size:.75rem; }
        .creator-feed-post-comments .comment-text { white-space:pre-wrap; }
        .creator-feed-post-comments .comment-replies.has-latest { display:block; }
        .creator-feed-post-comments .comment-reply-header { display:flex; align-items:center; flex-wrap:wrap; gap:7px; }
        .creator-feed-reply-votes { display:inline-flex; align-items:center; gap:4px; margin-left:auto; }
        .creator-feed-reply-votes .comment-vote-button { min-width:30px; padding:3px 5px; font-size:.65rem; }
        .creator-feed-reply-votes .comment-vote-icon { font-size:.85rem; }
        .creator-feed-comment-edit-form textarea { display:block; width:100%; min-height:58px; box-sizing:border-box; padding:9px 10px; border:1px solid #cbd7e1; border-radius:6px; color:#293443; background:#fff; font:inherit; font-size:.78rem; resize:vertical; }
        .creator-feed-comment-edit-actions { display:flex; gap:7px; margin-top:7px; }
        .creator-feed-comment-edit-actions .btn { padding:7px 11px; font-size:.65rem; }
        .creator-feed-comment-edit { padding:4px 8px; border:1px solid #1687ff; border-radius:4px; color:#0877eb; background:#fff; font-size:.65rem; font-weight:700; cursor:pointer; }
        .creator-feed-comment-edit:hover { background:#eff7ff; }
        .creator-post-comment-form { display:flex; gap:12px; align-items:flex-start; margin:10px 0 14px; }
        .creator-post-comment-form .comment-textarea-wrap { flex:1; min-width:0; }
        .creator-post-comment-form textarea { display:block; width:100%; min-height:46px; box-sizing:border-box; padding:12px; border:1px solid rgba(200,162,200,.3); border-radius:12px; color:#69757d; background:#f4f4f5; font:inherit; font-size:.8rem; resize:vertical; }
        .creator-post-comment-form > .btn { flex:0 0 auto; padding:12px 22px; font-size:.72rem; }
        .creator-post-comment-form .comment-reply-form { margin-top:10px; }
        .creator-post-comment-form .comment-reply-input { color:#293443; background:#fff; }
        .creator-feed-empty { margin:0; padding:12px; color:#697b8e; font-size:.74rem; }
        .creator-feed-image-viewer { position:fixed; inset:0; z-index:5300; display:flex; align-items:center; justify-content:center; padding:12px; background:rgba(0,0,0,.78); }
        .creator-feed-image-viewer[hidden] { display:none !important; }
        .creator-feed-image-viewer-dialog { display:flex; flex-direction:column; width:min(1100px,100%); height:min(92vh,900px); overflow:hidden; border:1px solid #d5dfe5; border-radius:8px; background:#fff; box-shadow:0 18px 60px rgba(0,0,0,.35); }
        .creator-feed-image-viewer-toolbar { display:flex; flex:0 0 auto; align-items:center; gap:8px; min-height:50px; padding:7px 12px; border-bottom:1px solid #d8e0e8; background:#fff; }
        .creator-feed-image-viewer-toolbar button { min-width:34px; height:34px; padding:0 9px; border:1px solid #d5dfe5; border-radius:5px; color:#34434b; background:#f7f9fa; font-size:.78rem; cursor:pointer; }
        .creator-feed-image-viewer-toolbar button:hover { background:#eaf5ff; border-color:#9fcfff; }
        .creator-feed-image-viewer-zoom-value { min-width:38px; color:#64727b; font-size:.72rem; text-align:center; }
        .creator-feed-image-viewer-close { margin-left:auto; font-size:1rem !important; }
        .creator-feed-image-viewer-stage { display:grid; flex:1 1 auto; min-height:0; overflow:hidden; place-items:center; background:#090b0d; touch-action:none; }
        .creator-feed-image-viewer-stage img { display:block; max-width:100%; max-height:100%; object-fit:contain; cursor:grab; user-select:none; -webkit-user-drag:none; }
        .creator-feed-image-viewer-stage img.is-dragging { cursor:grabbing; }
        @media (hover:none) { .creator-feed-gallery-arrow, .creator-feed-gallery-zoom { opacity:1; } }
        .creator-profile-customize { position:fixed; inset:0; z-index:5200; display:flex; align-items:center; justify-content:center; padding:18px; background:rgba(10,15,20,.72); }
        .creator-profile-customize-dialog { width:min(440px,100%); padding:20px; border:1px solid var(--profile-accent-color); border-radius:8px; background:var(--bg-panel); box-shadow:0 18px 50px rgba(0,0,0,.35); }
        .creator-profile-customize-dialog h2 { margin-bottom:16px; color:var(--white); font-size:1rem; }
        .creator-profile-color-field { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:12px 0; color:var(--white); font-size:.72rem; }
        .creator-profile-color-field input { width:48px; height:34px; padding:2px; border:1px solid rgba(142,142,168,.3); border-radius:4px; background:var(--bg-dark); }
        .creator-profile-customize-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:18px; }
        .creator-profile-customize-actions .btn { padding:8px 12px; font-size:.65rem; }
        body:not(.dark-mode) .creator-profile-topbar h1, body:not(.dark-mode) .creator-profile-info h2, body:not(.dark-mode) .creator-profile-stat strong, body:not(.dark-mode) .creator-profile-bio, body:not(.dark-mode) .creator-works-heading h2, body:not(.dark-mode) .creator-work-thumb, body:not(.dark-mode) .creator-general-editor h2, body:not(.dark-mode) .creator-profile-customize-dialog h2, body:not(.dark-mode) .creator-profile-color-field { color:#263239; }
        body:not(.dark-mode) .creator-profile-card, body:not(.dark-mode) .creator-works-card, body:not(.dark-mode) .creator-general-editor, body:not(.dark-mode) .creator-profile-customize-dialog { background:#fff; border-color:#dbe2e8; box-shadow:0 5px 18px rgba(25,50,75,.07); }
        body:not(.dark-mode) .creator-profile-shell { --profile-text-color:#0099FF; }
        body:not(.dark-mode) .creator-profile-head { background:#fff; }
        body.dark-mode .creator-notifications-card { color:var(--white); background:var(--bg-panel); border-color:#3b474d; }
        body.dark-mode .creator-notifications-open { color:#86c6ff; background:#202b32; border-color:#46535a; }
        body.dark-mode .creator-notifications-open:hover, body.dark-mode .creator-notifications-open:focus-visible { color:#edf2f3; background:#263c49; border-color:#168cff; }
        body.dark-mode .creator-notifications-heading h2 { color:var(--white); }
        body.dark-mode .creator-notification-item { background:#20282d; border-color:#46535a; }
        body.dark-mode .creator-notification-item p { color:#d9e3e5; }
        body.dark-mode .creator-feed-hashtag { color:#9ad0ff; background:rgba(22,140,255,.18); }
        body.dark-mode .creator-notification-item time, body.dark-mode .creator-notification-empty { color:#aebdc3; }
        body.dark-mode .creator-notifications-controls button { color:var(--cyan); background:#22282d; border-color:#46535a; }
        body.dark-mode .creator-feed-heading { color:var(--white); }
        body.dark-mode .creator-feed-composer, body.dark-mode .creator-feed-post { color:#edf2f3; background:var(--bg-panel); border-color:#3b474d; }
        body.dark-mode .creator-feed-composer textarea, body.dark-mode .creator-post-edit-form textarea,
        body.dark-mode .creator-post-comment-form textarea, body.dark-mode .creator-feed-comment-edit-form textarea {
            color:#edf2f3; background:#1b2024; border-color:#46535a;
        }
        body.dark-mode .creator-feed-composer textarea::placeholder, body.dark-mode .creator-post-comment-form textarea::placeholder,
        body.dark-mode .creator-feed-comment-edit-form textarea::placeholder { color:#87959b; }
        body.dark-mode .creator-feed-image-selection, body.dark-mode .creator-feed-empty { color:#aebdc3; }
        body.dark-mode .creator-feed-post-author, body.dark-mode .creator-feed-post-text { color:#edf2f3; }
        body.dark-mode .creator-feed-post-date, body.dark-mode .creator-feed-repost-label { color:#aebdc3; }
        body.dark-mode .creator-feed-post-edit, body.dark-mode .creator-feed-comment-edit {
            color:var(--cyan); background:#22282d; border-color:#1687a5;
        }
        body.dark-mode .creator-feed-post-edit:hover, body.dark-mode .creator-feed-comment-edit:hover { background:#293a40; }
        body.dark-mode .creator-feed-post-reaction { color:#d9e3e5; background:#22282d; border-color:#46535a; }
        body.dark-mode .creator-feed-post-reaction.is-selected { color:var(--cyan); background:#20363c; border-color:var(--cyan); }
        body.dark-mode .creator-feed-post-actions { border-color:#3b474d; }
        body.dark-mode .creator-feed-action { color:#b8c5c9; }
        body.dark-mode .creator-feed-action:hover, body.dark-mode .creator-feed-action.is-selected { color:var(--cyan); }
        body.dark-mode .creator-feed-post-comments { color:#d9e3e5; }
        body.dark-mode .creator-feed-post-comments .comment-item { border-color:#354047; }
        body.dark-mode .creator-feed-post-comments .comment-date, body.dark-mode .creator-feed-post-comments .comment-text,
        body.dark-mode .creator-feed-post-comments .comment-reply-text { color:#d9e3e5; }
        body.dark-mode .creator-feed-post-comments .comment-replies { border-left-color:#46535a; }
        body.dark-mode .creator-feed-post-comments .comment-reply { border-color:#354047; }
        body.dark-mode .creator-post-comment-form .comment-reply-input { color:#edf2f3; background:#1b2024; border-color:#46535a; }
        body.dark-mode .creator-post-comment-form .comment-reply-input::placeholder { color:#87959b; }
        body.dark-mode .creator-feed-image-viewer-dialog { background:var(--bg-panel); border-color:#46535a; }
        body.dark-mode .creator-feed-image-viewer-toolbar { background:#1b2024; border-color:#46535a; }
        body.dark-mode .creator-feed-image-viewer-toolbar button { color:#d9e3e5; background:#22282d; border-color:#46535a; }
        body.dark-mode .creator-feed-image-viewer-zoom-value { color:#b8c5c9; }
        body:not(.dark-mode) .creator-profile-banner { border-bottom-color:#c7d9df; background:linear-gradient(110deg,#e5f0f4 0%,#a9dce0 55%,#45bfc4 100%); }
        body:not(.dark-mode) .creator-profile-banner-change { color:#fff; background:#263239; border-color:#263239; }
        body:not(.dark-mode) .creator-profile-avatar { background:#e7eef5; }
        body:not(.dark-mode) .creator-avatar-change, body:not(.dark-mode) .creator-general-editor textarea { color:#263239; background:#f7f9fa; border-color:#d9e0e3; }
        body:not(.dark-mode) .creator-profile-stat span, body:not(.dark-mode) .creator-profile-handle { color:#728096; }
        body:not(.dark-mode) .creator-work-thumb { border-color:#dbe2e8; }
        .creator-profile-shell .creator-profile-info h2, .creator-profile-shell .creator-profile-stat strong, .creator-profile-shell .creator-profile-bio, .creator-profile-shell .creator-works-heading h2, .creator-profile-shell .creator-work-thumb { color:var(--profile-text-color); }
        body.dark-mode .creator-profile-social-link, body.dark-mode .creator-profile-followers { color:#bfe9cc; border-color:#365744; background:#21392c; }
        body.dark-mode .creator-profile-social-link:hover, body.dark-mode .creator-profile-social-link:focus-visible { border-color:#4f8963; background:#294936; }
        @media (max-width:900px) { .creator-profile-head { grid-template-columns:112px minmax(0,1fr); }.creator-profile-avatar { width:112px; height:112px; } }
        @media (max-width:900px) { .creator-profile-content-layout { grid-template-columns:minmax(0,1fr) minmax(200px,250px); } }
        @media (max-width:650px) { .creator-profile-topbar { align-items:flex-start; flex-direction:column; }.creator-profile-content-layout { grid-template-columns:1fr; }.creator-profile-content-layout .creator-works-card { grid-row:2; }.creator-profile-content-layout .creator-feed-card { grid-row:1; }.creator-profile-head { grid-template-columns:1fr; gap:12px; padding:0 16px 18px; }.creator-profile-avatar-wrap { display:flex; align-items:flex-end; gap:10px; margin-top:-38px; }.creator-profile-avatar { width:96px; height:96px; }.creator-avatar-change { width:auto; }.creator-profile-info { padding-top:0; }.creator-work-list { grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); }.creator-general-editor { padding:14px; }.creator-general-editor .profile-general-fields { grid-template-columns:1fr; } }
        .profile-settings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
        .profile-settings-grid .input-group { margin:0; }
        .profile-settings-profile-card { display:flex; align-items:center; gap:28px; min-height:190px; }
        .profile-settings-avatar { width:150px; height:150px; flex:0 0 150px; border-radius:28px; object-fit:cover; border:3px solid var(--cyan); }
        .profile-settings-identity h2 { margin:0 0 7px; color:#f5f7f7; font-size:1.5rem; }
        .profile-settings-identity p { margin:0 0 16px; color:#9aa8ad; font-size:.78rem; }
        .profile-quick-stats { display:flex; flex-direction:column; gap:14px; flex-wrap:wrap; }
        .profile-quick-stat { display:flex; align-items:flex-start; gap:10px; min-width:150px; }
        .profile-quick-stat strong { display:block; color:#edf2f3; font-size:1.15rem; }
        .profile-quick-stat small { display:block; margin-top:3px; color:#9aa8ad; font-size:.7rem; }
        .profile-quick-thumbs { display:flex; align-items:flex-start; gap:6px; width:282px; max-width:100%; overflow:hidden; }
        .profile-quick-comic { width:86px; min-width:86px; overflow:hidden; border:1px solid #3b5068; border-radius:5px; background:#202629; }
        .profile-quick-comic img { display:block; width:86px; height:64px; object-fit:cover; }
        .profile-quick-comic span { display:block; overflow:hidden; padding:5px 6px; color:#edf2f3; font-size:.64rem; line-height:1.1; text-overflow:ellipsis; white-space:nowrap; }
        .profile-bio-box { width:min(310px,100%); }
        .profile-bio-box h3 { margin:0 0 10px; color:#edf2f3; font-size:.86rem; }
        .profile-bio-box textarea { width:100%; min-height:96px; resize:vertical; box-sizing:border-box; padding:4px 0; border:0; border-bottom:1px solid #3b5068; border-radius:0; color:#edf2f3; background:transparent; font:inherit; font-size:.75rem; }
        .profile-bio-box textarea:focus { outline:none; border-bottom-color:#23c76b; box-shadow:0 1px 0 rgba(35,199,107,.35); }
        .profile-settings-banner { min-height:220px; padding:16px; border-radius:8px; background:#20314a center/cover no-repeat; display:flex; align-items:flex-end; justify-content:flex-end; }
        .profile-settings-card .profile-banner-edit { position:static; }
        .profile-settings-social-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 28px; }
        .profile-settings-social-grid .input-group { min-width:0; margin:0; }
        .creator-social-network-field { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:14px; min-width:0; }
        .creator-social-visibility { display:flex; align-items:center; gap:7px; padding-bottom:4px; color:#53666f; font-size:.65rem; white-space:nowrap; }
        body.dark-mode .creator-social-visibility { color:#b5c0c4; }
        .creator-social-visibility .profile-switch { margin-bottom:0; }
        .creator-social-visibility .profile-switch input:focus-visible + span { box-shadow:0 0 0 3px rgba(22,184,223,.2); }
        .creator-social-section-title { margin:18px 0 12px; color:var(--white); font-size:.82rem; }
        .profile-settings-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:22px; }
        .security-password-card { min-height:270px; }
        .security-password-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 62px; align-items:end; }
        .security-password-grid .input-group { min-width:0; margin:0; }
        .security-password-grid .input-group:first-child { grid-column:1 / -1; max-width:240px; }
        .security-password-actions { display:flex; justify-content:center; margin-top:30px; }
        .security-password-actions .btn { min-width:190px; }
        .security-recommendation { margin-top:20px; padding:24px 28px; border:1px solid rgba(255,174,0,.25); border-radius:8px; background:rgba(255,174,0,.08); color:#c5b27d; }
        .security-recommendation strong { display:block; margin-bottom:8px; color:#ffae00; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; }
        .security-recommendation p { margin:0; font-size:.78rem; line-height:1.55; }
        .profile-general-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px 28px; }
        .profile-general-fields .input-group { min-width:0; margin:0; }
        .profile-general-fields select option { color:#edf2f3; background:#202022; }
        .profile-general-fields select { color:#edf2f3; background:#202022; border:1px solid #3b5068; border-radius:5px; color-scheme:dark; }
        .profile-general-fields select:focus { border-color:#23c76b; box-shadow:0 0 0 2px rgba(35,199,107,.16); }
        .profile-privacy-toggle { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:24px; padding:16px; border:1px solid #303839; border-radius:8px; background:#202525; }
        .profile-privacy-toggle strong { display:block; color:#edf2f3; font-size:.82rem; }
        .profile-privacy-toggle small { display:block; margin-top:5px; color:#9aa8ad; font-size:.72rem; }
        .profile-switch { position:relative; width:42px; height:24px; flex:0 0 42px; }
        .profile-switch input { position:absolute; opacity:0; pointer-events:none; }
        .profile-switch span { position:absolute; inset:0; border-radius:14px; background:#425057; cursor:pointer; transition:background .2s ease; }
        .profile-switch span::after { content:''; position:absolute; width:18px; height:18px; top:3px; left:3px; border-radius:50%; background:#dfe7e9; transition:transform .2s ease; }
        .profile-switch input:checked + span { background:#16a85b; }
        .profile-switch input:checked + span::after { transform:translateX(18px); background:#fff; }
        .admin-settings-panel { margin-top:0; }
        @media (max-width:900px) { .profile-settings-layout { grid-template-columns:1fr; }.profile-settings-sidebar { position:static; }.profile-settings-nav { grid-template-columns:repeat(2,minmax(0,1fr)); }.profile-settings-label { padding-bottom:10px; } }
        @media (max-width:900px) { .profile-general-fields { grid-template-columns:repeat(2,minmax(0,1fr)); } }
        @media (max-width:600px) { .profile-settings-nav { grid-template-columns:1fr; }.profile-settings-card { padding:20px; }.profile-settings-profile-card { align-items:flex-start; flex-direction:column; }.profile-settings-avatar { width:120px; height:120px; flex-basis:120px; }.profile-settings-grid,.profile-settings-social-grid,.profile-general-fields,.security-password-grid { grid-template-columns:1fr; }.security-password-grid .input-group:first-child { grid-column:auto; max-width:none; }.profile-bio-box { width:100%; } }
        .social-auth-actions { display:grid; justify-items:center; gap:10px; margin-top:12px; }
        .google-signin-container { width:min(100%,400px); min-height:42px; display:flex; justify-content:center; overflow:hidden; }
        .google-fallback-button { display:inline-flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:42px; padding:0 18px; border:1px solid #dadce0; border-radius:999px; color:#3c4043; background:#fff; font:inherit; font-size:.85rem; font-weight:600; cursor:pointer; transition:box-shadow .15s ease, background .15s ease; }
        .google-fallback-button:hover { background:#f8f9fa; box-shadow:0 1px 4px rgba(60,64,67,.3); }
        .social-auth-button { width:min(100%,400px); min-height:42px; padding:0 18px; display:inline-flex; align-items:center; justify-content:center; gap:8px; border:1px solid #d5dde1; border-radius:999px; background:#fff; cursor:pointer; font-size:.82rem; font-weight:700; transition:transform .2s, box-shadow .2s; }
        .social-auth-button:hover { transform:translateY(-2px); box-shadow:0 5px 14px rgba(24,43,52,.16); }
        .social-auth-button svg { width:23px; height:23px; display:block; }
        .social-auth-google { color:#4285f4; }
        .social-auth-facebook { color:#1877f2; }
        .moderation-panel { width:100%; margin-top:20px; padding:18px; border:1px solid #f0c7ca; border-left:4px solid #ef5d63; border-radius:6px; background:#fff7f7; }
        .moderation-panel h3 { color:#c13f49; margin-bottom:8px; }
        .moderation-summary { display:flex; gap:12px; flex-wrap:wrap; align-items:center; color:#53666f; font-size:.82rem; }
        .strike-count { color:#c13f49; font-size:1.3rem; font-weight:800; }
        .moderation-notifications { display:flex; flex-direction:column; gap:8px; margin-top:12px; }
        .moderation-notification { padding:10px 12px; border:1px solid #f0d2d4; border-radius:4px; background:#fff; color:#53666f; font-size:.78rem; line-height:1.45; }
        .moderation-evidence-image { display:block; width:min(100%,760px); height:auto; margin-top:8px; border:1px solid #dce3e8; border-radius:5px; }
        .page-upload-preview {
            display:grid;
            grid-template-columns:repeat(auto-fill,minmax(130px,1fr));
            gap:12px;
            margin-top:15px;
            max-height:320px;
            overflow-y:auto;
            padding:8px;
            background:linear-gradient(180deg, rgba(10,16,24,.03), rgba(10,16,24,.06));
            border:1px solid rgba(63,213,214,.2);
            border-radius:12px;
        }
        .page-upload-item {
            position:relative;
            border:1px solid rgba(63,213,214,.32);
            border-radius:10px;
            overflow:hidden;
            background:var(--bg-dark);
            box-shadow:0 2px 10px rgba(0,0,0,.12);
            transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease;
            cursor:grab;
        }
        .page-upload-item:hover {
            transform:translateY(-1px);
            border-color:var(--cyan);
            box-shadow:0 8px 20px rgba(0,0,0,.12);
        }
        .page-upload-item.dragging {
            opacity:.7;
            cursor:grabbing;
            transform:scale(.98);
            border-color:var(--cyan);
            box-shadow:0 0 0 3px rgba(63,213,214,.18);
        }
        .page-upload-item.drag-over {
            border:2px solid var(--cyan);
            box-shadow:0 0 0 3px rgba(63,213,214,.12);
        }
        .page-upload-item.is-selected {
            border-color:var(--cyan);
            box-shadow:0 0 0 3px rgba(63,213,214,.18);
            transform:translateY(-1px);
        }
        .page-upload-item.is-selected .chapter-editor-page-selection {
            background:rgba(63,213,214,.18);
            border-color:var(--cyan);
        }
        .page-upload-item img {
            width:100%;
            height:160px;
            display:block;
            object-fit:cover;
            background:#dfe9ec;
        }
        .page-upload-item span {
            display:block;
            padding:7px 6px 4px;
            color:#53666f;
            font-size:.68rem;
            font-weight:700;
            text-align:center;
            white-space:nowrap;
            overflow:hidden;
            text-overflow:ellipsis;
        }
        .page-upload-item .chapter-editor-page-selection {
            position:absolute;
            top:8px;
            left:8px;
            z-index:2;
            display:flex;
            align-items:center;
            justify-content:center;
            width:24px;
            height:24px;
            border-radius:50%;
            background:rgba(16,16,24,.72);
            border:1px solid rgba(255,255,255,.28);
        }
        .page-upload-item .chapter-editor-page-selection input {
            accent-color:var(--yellow);
            width:14px;
            height:14px;
        }
        .page-upload-item button {
            position:absolute;
            top:8px;
            right:8px;
            padding:3px 7px;
            border:1px solid rgba(0,0,0,.08);
            border-radius:999px;
            background:rgba(16,16,24,.78);
            color:#fff;
            font-size:.7rem;
            line-height:1;
        }
        .page-upload-item button:hover {
            background:rgba(239,93,99,.96);
            border-color:rgba(239,93,99,.96);
        }
        .page-upload-hint {
            display:none;
            align-items:center;
            gap:8px;
            margin-top:12px;
            padding:10px 12px;
            border:1px solid rgba(22,184,223,.28);
            border-radius:10px;
            background:linear-gradient(135deg, rgba(22,184,223,.18), rgba(22,184,223,.08));
            box-shadow:0 0 0 3px rgba(22,184,223,.06);
            color:#ffffff;
            font-size:.74rem;
            font-weight:700;
        }
        .page-upload-hint.is-visible { display:flex; }
        .page-upload-hint::before {
            content:'↕';
            display:inline-flex;
            align-items:center;
            justify-content:center;
            width:22px;
            height:22px;
            border-radius:6px;
            background:rgba(255,255,255,.12);
            color:#ffffff;
            font-size:.9rem;
            font-weight:900;
        }
        .page-upload-hint .hint-icon { display:none; }
        .publish-card .page-upload-hint {
            color: #202a31;
            background: linear-gradient(135deg, rgba(22, 184, 223, 0.2), rgba(22, 184, 223, 0.08));
            border-color: rgba(255, 255, 255, 0.14);
        }
        .publish-card .page-upload-hint .hint-icon {
            color: #202a31;
        }
        .page-upload-modal { position:fixed; inset:0; z-index:5000; display:none; align-items:center; justify-content:center; padding:20px; background:rgba(20,35,43,.68); }
        .page-upload-modal.is-visible { display:flex; }
        .page-upload-modal-card { width:min(900px,100%); max-height:90vh; display:flex; flex-direction:column; padding:22px; color:#202a31; background:#fff; border:1px solid #dfe5e8; border-radius:8px; box-shadow:0 18px 50px rgba(0,0,0,.3); }
        .page-upload-modal-header { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:14px; }
        .page-upload-modal-header h3 { margin:0; color:#202a31; font-size:1.05rem; }
        .page-upload-modal-close { width:32px; height:32px; border:1px solid #cfe6eb; border-radius:50%; color:#53666f; background:#fff; cursor:pointer; font-size:1.1rem; }
        .page-upload-modal-close:hover { color:#fff; background:var(--cyan); border-color:var(--cyan); }
        .page-upload-modal-preview { flex:1; min-height:150px; max-height:55vh; margin-top:0; overflow-y:auto; }
        .page-upload-modal-actions { display:flex; justify-content:flex-end; gap:10px; flex-wrap:wrap; margin-top:16px; padding-top:14px; border-top:1px solid #e1e5e8; }
        .page-upload-fallback-actions { display:none; justify-content:flex-end; gap:10px; flex-wrap:wrap; margin-top:14px; }
        .page-upload-fallback-actions.is-visible { display:flex; }
        .page-upload-modal-schedule { display:none; grid-template-columns:1fr 1fr; gap:10px; margin-top:12px; }
        .page-upload-modal-schedule.is-visible { display:grid; }
        .page-upload-modal-schedule label { display:flex; flex-direction:column; gap:5px; color:#202a31; font-size:.75rem; font-weight:700; }
        .page-upload-modal-schedule input { padding:8px; color:#202a31; background:#f7f9fa; border:1px solid #d9e0e3; border-radius:4px; }
        body.dark-mode .page-upload-modal-card { color:#edf2f3; background:#22282d; border-color:#46535a; }
        body.dark-mode .page-upload-modal-header h3, body.dark-mode .page-upload-modal-schedule label { color:#edf2f3; }
        body.dark-mode .page-upload-modal-close { color:#d9e3e5; background:#293137; border-color:#46535a; }
        body.dark-mode .page-upload-modal-schedule input { color:#edf2f3; background:#1b2024; border-color:#46535a; }
        body.dark-mode .page-upload-modal-actions { border-top-color:#46535a; }
        @media (max-width:700px) { .page-upload-modal { padding:10px; }.page-upload-modal-card { max-height:94vh; padding:16px; }.page-upload-modal-schedule { grid-template-columns:1fr; }.page-upload-modal-actions { justify-content:stretch; }.page-upload-modal-actions button { flex:1; } }
        .upload-progress { display:none; margin-top:16px; padding:14px; border:1px solid #cfe6eb; border-radius:6px; background:#f7fcfd; }
        .upload-progress.is-visible { display:block; }
        .kolora-upload-overlay { position:fixed; inset:0; z-index:6000; display:none; align-items:center; justify-content:center; padding:20px; background:rgba(20,35,43,.72); }
        .kolora-upload-overlay.is-visible { display:flex; }
        .kolora-upload-overlay-card { display:flex; flex-direction:column; align-items:center; gap:6px; width:min(420px,100%);         padding:0; color:#fff; text-align:center; background:none; }
                .kolora-upload-overlay-card strong { font-size:.9rem; text-shadow:0 1px 6px rgba(0,0,0,.6); }
                .kolora-upload-overlay-card span { color:#dfe7ea; font-size:.78rem; font-weight:700; text-shadow:0 1px 6px rgba(0,0,0,.6); }
        .kolora-startup-overlay { position:fixed; inset:0; z-index:10000; display:none; align-items:center; justify-content:center; padding:24px; background:transparent; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
        .kolora-startup-overlay.is-visible { display:flex; }
        .kolora-startup-overlay-content { display:flex; flex-direction:column; align-items:center; gap:10px; width:min(420px,100%); color:var(--white); text-align:center; }
        .kolora-startup-overlay-content strong { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
        .kolora-startup-logo { display:block; width:min(280px,78%); height:auto; margin:0 0 2px; filter:none; box-shadow:none; }
        .kolora-loader { --kolora-loader-color:#039bff; position:relative; width:min(260px,70%); aspect-ratio:2201/710; margin:0 auto 14px; }
        body.dark-mode .kolora-loader { --kolora-loader-color:#45d597; }
        .kolora-loader-base, .kolora-loader-fill { position:absolute; inset:0; -webkit-mask:url("../kolora ayer.png") center/contain no-repeat; mask:url("../kolora ayer.png") center/contain no-repeat; }
        .kolora-loader-base { background:#aeb8be; animation:koloraLoaderPulse 1.4s ease-in-out infinite; }
        body.dark-mode .kolora-loader-base { background:#5c6a71; }
        .kolora-loader-fill { background:var(--kolora-loader-color); clip-path:inset(0 100% 0 0); transition:clip-path .45s ease; }
        .kolora-loader.is-complete .kolora-loader-base { animation:none; }
        .kolora-loader.is-complete .kolora-loader-fill { animation:koloraLoaderDone .6s ease; }
        @keyframes koloraLoaderPulse { 0%,100% { opacity:.55; } 50% { opacity:1; } }
        @keyframes koloraLoaderDone { 0% { filter:brightness(1.5); } 100% { filter:brightness(1); } }
        @media (prefers-reduced-motion:reduce) { .kolora-loader-base, .kolora-loader.is-complete .kolora-loader-fill { animation:none; } .kolora-loader-fill { transition:none; } }
        .upload-progress-bar { height:8px; overflow:hidden; border-radius:10px; background:#dfecef; }
        .upload-progress-bar span { display:block; width:0; height:100%; background:linear-gradient(90deg,var(--cyan),var(--yellow)); transition:width .2s ease; }
        @media (max-width:700px) { .reader-music-box { left:0; right:0; bottom:0; min-width:0; width:100%; padding:9px 10px; } }
        @media (max-width:700px) { .categories-bar { overflow-x:auto; justify-content:flex-start; white-space:nowrap; }.comic-rating { align-items:flex-start; flex-direction:column; gap:8px; }.chapters-list { grid-template-columns:1fr; }.story-header { height:210px; }.story-profile-container { margin-top:0; justify-content:center; }.story-cover-lg { width:125px; height:182px; }.story-details { min-width:0; width:100%; }.story-title { font-size:1.45rem; }.grid { grid-template-columns:repeat(2,1fr); gap:13px; }.comic-cover { height:210px; }.comic-hover-preview { left:8px; right:8px; top:auto; bottom:8px; width:auto; min-height:0; transform:translateY(8px); }.comic-card:hover .comic-hover-preview { transform:translateY(0); }.story-social-inline { width:100%; } }

        /* Botones unificados con el acabado cyan/blanco del catálogo. */
        .btn { background:var(--cyan); color:#fff; border:1px solid var(--cyan); border-radius:4px; box-shadow:0 3px 8px rgba(22,184,223,.18); text-transform:none; letter-spacing:0; font-size:.78rem; }
        .btn:hover:not(:disabled) { background:#0099FF; border-color:#0099FF; box-shadow:0 5px 12px rgba(22,184,223,.25); transform:translateY(-1px); }
        .btn-outline.btn { background:#fff; color:#0099FF; border:1px solid var(--cyan); box-shadow:none; }
        .btn-outline.btn:hover { color:#fff; background:var(--cyan); border-color:var(--cyan); }
        .btn-danger { background:#ef5d63; color:#fff; border:1px solid #ef5d63; border-radius:4px; box-shadow:none; }
        .btn-danger:hover { background:#d94d54; opacity:1; transform:translateY(-1px); }
        .btn[style*="background: #ff4d4d"] { background:#ef5d63 !important; border-color:#ef5d63 !important; }
        .brand-logo-image { display:block; width:150px; max-height:48px; object-fit:contain; }
        .work-type-options { display:flex; gap:10px; flex-wrap:wrap; }.work-type-options label { display:flex; align-items:center; gap:7px; padding:10px 13px; border:1px solid #cfe6eb; border-radius:4px; color:#53666f; background:#fff; font-size:.75rem; font-weight:400; cursor:pointer; }.work-type-options label:has(input:checked) { color:#fff; background:var(--cyan); border-color:var(--cyan); }.work-type-options input { accent-color:var(--cyan); }
        .reading-mode-toggle { display:inline-flex; align-items:center; gap:8px; width:max-content; margin-left:auto; padding:10px 13px; border:1px solid #45c98a; border-radius:4px; color:#168a52; background:#effaf4; font-size:.75rem; cursor:pointer; }
        .reading-mode-toggle input { position:absolute; opacity:0; pointer-events:none; }
        .reading-mode-toggle:has(input:checked) { color:#fff; background:#20ad6b; border-color:#20ad6b; }
        .creator-support { display:flex; flex-direction:column; gap:4px; max-width:820px; margin:52px auto 0; padding:15px 18px; border-left:4px solid var(--cyan); border-radius:4px; background:#eefafd; color:#52666f; }.creator-support strong { color:#202a31; }.reader-episode-strip { display:flex; max-width:820px; margin:48px auto 0; gap:10px; overflow-x:auto; padding:28px 2px 10px; border-top:1px solid #cfe6eb; }.episode-thumb { flex:0 0 92px; padding:0; border:1px solid #cfe6eb; border-radius:5px; overflow:hidden; color:#53666f; background:#fff; text-align:left; }.episode-thumb:hover,.episode-thumb.active { border-color:var(--cyan); box-shadow:0 4px 12px rgba(22,184,223,.2); transform:translateY(-2px); }.episode-thumb img { display:block; width:92px; height:64px; object-fit:cover; }.episode-thumb span { display:block; padding:6px; font-size:.65rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.share-menu { display:none; max-width:820px; margin:12px auto 0; padding:12px; border:1px solid #cfe6eb; border-radius:6px; background:#fff; }.share-menu.is-visible { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }.share-menu strong { margin-right:5px; color:#52666f; font-size:.75rem; }.share-social { padding:8px 12px; border:1px solid #cfe6eb; border-radius:4px; color:#159dbd; background:#f7fcfd; font-size:.72rem; }.share-social:hover { color:#fff; background:var(--cyan); }
        .chapter-actions .btn-danger:first-child { color:#fff; background:var(--cyan)!important; border-color:var(--cyan)!important; }
        .chapter-actions .btn-danger:first-child:hover { background:#0099FF!important; border-color:#0099FF!important; }
        /* Ficha de capítulo: imagen visible, fondo claro y sin icono de lupa. */
        .comic-hover-preview { display:grid; grid-template-columns:74px minmax(0,1fr); grid-template-rows:auto auto auto auto 1fr; align-content:center; gap:6px 12px; padding:15px; color:#27343a; background-color:#f5fbfc; background-size:cover; background-position:center; border-radius:8px; overflow:hidden; }
        .comic-hover-preview::before { content:""; position:absolute; inset:0; z-index:0; background:rgba(255,255,255,.84); backdrop-filter:blur(3px); }
        #view-home #recent-comics-grid .comic-hover-preview { border-radius:10px; }
        #view-home #recent-comics-grid .comic-hover-preview::before { border-radius:inherit; background:rgba(255,255,255,.7); }
        body.dark-mode #view-home #recent-comics-grid .comic-hover-preview::before { background:rgba(24,28,32,.7); }
        .comic-hover-preview > * { position:relative; z-index:1; }
        .comic-hover-preview strong { color:#22343b; }
        .comic-hover-preview small { grid-column:2; color:#52636b; -webkit-line-clamp:unset; line-clamp:unset; overflow:visible; }
        .preview-chapter-thumb { grid-column:1; grid-row:1 / span 5; width:74px; height:112px; object-fit:cover; border-radius:5px; box-shadow:0 3px 8px rgba(25,45,54,.2); }
        .preview-chapter { border-top-color:rgba(37,72,82,.18); color:#243d46; }
        .preview-date { color:#71828a; }
        .preview-meta { grid-column:1 / -1; color:#bd7710; font-weight:700; }
        .preview-label { grid-column:2; align-self:end; color:#0099FF; font-size:.62rem; font-weight:800; letter-spacing:.08em; }
        .eye-icon { display:inline-block; width:14px; height:9px; margin-right:5px; position:relative; border:1.7px solid currentColor; border-radius:90% 10%; transform:rotate(-45deg); vertical-align:-1px; color:#b24c5d; }
        .eye-icon::after { content:""; position:absolute; width:4px; height:4px; left:3px; top:1px; border-radius:50%; background:currentColor; }
        .view-count { display:inline-flex; align-items:center; gap:2px; }
        .toast { display:none; right:24px; bottom:24px; padding:12px 18px; color:#26343a; background:#fff; border:1px solid var(--cyan); border-left:4px solid var(--cyan); border-radius:4px; box-shadow:0 8px 20px rgba(28,42,52,.16); font-size:.78rem; font-weight:700; }
        body.dark-mode .toast.is-anchored { box-shadow: 0 10px 20px rgba(0,0,0,.35); }
        .notification-toast { position:fixed; z-index:5500; top:auto; right:18px; bottom:18px; display:grid; grid-template-columns:42px minmax(0,1fr) 32px; gap:12px; align-items:start; width:min(390px,calc(100vw - 36px)); padding:15px; border:1px solid #b8dbe3; border-left:4px solid #0787bd; border-radius:8px; color:#25343b; background:#fff; box-shadow:0 12px 32px rgba(24,43,52,.22); opacity:0; transform:translateY(10px); transition:opacity .18s ease,transform .18s ease; pointer-events:none; }
        .notification-toast[hidden] { display:none; }
        .notification-toast.is-visible { opacity:1; transform:translateY(0); pointer-events:auto; }
        .notification-toast-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; color:#0877a8; background:#e8f6fa; }
        .notification-toast-icon .material-symbols-rounded { font-size:22px; }
        .notification-toast-content { min-width:0; }
        .notification-toast-eyebrow { display:block; margin:1px 0 4px; color:#0877a8; font-size:.62rem; font-weight:800; text-transform:uppercase; }
        .notification-toast-content strong { display:block; color:#25343b; font-size:.86rem; line-height:1.35; overflow-wrap:anywhere; }
        .notification-toast-content p { margin:4px 0 0; color:#53666f; font-size:.74rem; line-height:1.45; overflow-wrap:anywhere; }
        .notification-toast-actions { display:flex; align-items:center; gap:8px; margin-top:10px; }
        .notification-toast-actions button { min-height:30px; padding:6px 10px; border:1px solid #0877a8; border-radius:4px; color:#fff; background:#0877a8; font:inherit; font-size:.68rem; font-weight:700; cursor:pointer; }
        .notification-toast-actions button:hover { background:#075f85; }
        .notification-toast-dismiss { display:grid; place-items:center; width:30px; height:30px; padding:0; border:1px solid #d7e3e7; border-radius:4px; color:#53666f; background:#fff; cursor:pointer; }
        .notification-toast-dismiss:hover { color:#25343b; background:#f1f7f9; }
        body.dark-mode .notification-toast { color:#edf2f3; background:#22282d; border-color:#3b5963; border-left-color:#45d5dc; box-shadow:0 12px 32px rgba(0,0,0,.4); }
        body.dark-mode .notification-toast-icon { color:#8ce4e7; background:#20383c; }
        body.dark-mode .notification-toast-eyebrow { color:#8ce4e7; }
        body.dark-mode .notification-toast-content strong { color:#edf2f3; }
        body.dark-mode .notification-toast-content p { color:#c1cdd1; }
        body.dark-mode .notification-toast-dismiss { color:#d9e3e5; background:#293137; border-color:#46535a; }
        .notification-toast.is-strike { border-color:#efc6c9; border-left-color:#d94d5c; background:#fff8f8; }
        .notification-toast.is-strike .notification-toast-icon { color:#a33a46; background:#fff0f1; }
        .notification-toast.is-strike .notification-toast-eyebrow { color:#a33a46; }
        .notification-toast.is-strike .notification-toast-actions button { border-color:#b74751; background:#b74751; }
        .notification-toast.is-strike .notification-toast-actions button:hover { background:#963842; }
        body.dark-mode .notification-toast.is-strike { border-color:#7d464b; border-left-color:#ef5d63; background:#302426; }
        body.dark-mode .notification-toast.is-strike .notification-toast-icon { color:#ffadb3; background:#40272b; }
        body.dark-mode .notification-toast.is-strike .notification-toast-eyebrow { color:#ffadb3; }
        body.dark-mode .notification-toast.is-strike .notification-toast-actions button { border-color:#ba4852; background:#ba4852; }
        @media (max-width:520px) { .notification-toast { top:auto; left:10px; right:10px; bottom:10px; grid-template-columns:36px minmax(0,1fr) 30px; gap:9px; width:auto; padding:12px; }.notification-toast-icon { width:36px; height:36px; } }
        @media (prefers-reduced-motion:reduce) { .notification-toast { transition:none; } }
        .back-to-top { position:fixed; right:24px; bottom:82px; z-index:940; display:none; align-items:center; justify-content:center; width:42px; height:42px; border:1px solid var(--cyan); border-radius:50%; color:#fff; background:var(--cyan); box-shadow:0 5px 14px rgba(28,42,52,.2); font-size:1.35rem; cursor:pointer; transition:opacity .2s ease, transform .2s ease, background-color .2s ease; }
        .back-to-top.is-visible { display:flex; }
        .back-to-top:hover { background:#008ccc; transform:translateY(-2px); }
        /* Sistema único para todos los botones visibles de la plataforma. */
        button { font-family:inherit; cursor:pointer; transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease; }
        .tab-btn { min-height:42px; padding:10px 16px; border:1px solid #d5e3e7; border-radius:4px; color:#5d7079; background:#fff; font-size:.78rem; font-weight:700; }
        .tab-btn:hover,.tab-btn.active { color:#fff; border-color:var(--cyan); background:var(--cyan); transform:translateY(-1px); box-shadow:0 4px 10px rgba(22,184,223,.16); }
        .rating-star-btn { min-width:22px; min-height:28px; border:0; border-radius:3px; color:#ff695a; background:transparent; box-shadow:none; }
        .rating-star-btn.selected,.rating-star-btn:hover { color:#ff695a; background:transparent; transform:none; }
        .chapter-card button:not(.btn):not(.btn-danger),.file-item button:not(.btn):not(.btn-danger) { min-height:32px; padding:7px 10px; border:1px solid var(--cyan); border-radius:4px; color:#129dbd; background:#fff; font-size:.7rem; font-weight:700; }
        .chapter-card button:not(.btn):not(.btn-danger):hover,.file-item button:not(.btn):not(.btn-danger):hover { color:#fff; background:var(--cyan); }
        button:disabled { opacity:.55; cursor:not-allowed; transform:none!important; box-shadow:none!important; }
        .eye-icon { width:16px; height:10px; margin-right:5px; border:1.8px solid currentColor; border-radius:75% 15%; transform:rotate(45deg); color:#b24c5d; }
        .eye-icon::after { width:5px; height:5px; left:4px; top:1px; transform:rotate(-45deg); background:currentColor; }
        #social-links-editor { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px!important; }
        #social-links-editor input { min-width:0; }
        #social-links-editor button { grid-column:1 / -1; }
        .comic-hover-preview small { display:block; -webkit-line-clamp:unset; line-clamp:unset; overflow:visible; }
        .comic-hover-preview { width:320px; min-height:240px; }
        @media (max-width:700px) { #social-links-editor { grid-template-columns:1fr; } .comic-hover-preview { width:auto; } .profile-banner { height:140px; margin:-30px -30px 0; width:calc(100% + 60px); } .profile-metrics-row .input-group { min-width:100%; } .profile-metrics-row #social-links-editor { grid-template-columns:1fr 1fr; } }
        #view-catalog .catalog-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
        #view-catalog .catalog-heading .section-title { margin:0; }
        #view-catalog .categories-bar { margin-top:0; }
        #view-catalog .catalog-search { position:relative; flex:0 1 180px; margin:0; }
        #view-catalog .catalog-search::before { content:''; position:absolute; top:15px; right:13px; width:8px; height:8px; border:1px solid #9aa5aa; border-radius:50%; pointer-events:none; }
        #view-catalog .catalog-search::after { content:''; position:absolute; top:24px; right:11px; width:5px; height:1px; background:#9aa5aa; transform:rotate(45deg); transform-origin:left center; pointer-events:none; }
        #view-catalog .catalog-search input { display:block; width:100%; height:38px; min-height:38px; padding:8px 30px 8px 13px; border:1px solid #dfe5e8; border-radius:999px; color:#26343a; background:#fff; font-size:.72rem; box-shadow:0 2px 8px rgba(28,42,52,.06); }
        #view-catalog .catalog-search input:focus { outline:2px solid var(--cyan); outline-offset:1px; }
        #view-catalog .catalog-alphabet-label { color:#53666f; font-size:.72rem; font-weight:800; }
        #view-catalog .catalog-alphabet-wrap { display:grid; gap:8px; margin-bottom:16px; }
        #view-catalog .catalog-alphabet { display:flex; flex-wrap:wrap; gap:6px; }
        #view-catalog .catalog-letter-button { min-width:32px; min-height:32px; padding:5px 8px; border:1px solid #cfe6eb; border-radius:4px; color:#53666f; background:#fff; font-size:.7rem; font-weight:800; cursor:pointer; transition:var(--transition); }
        #view-catalog .catalog-letter-button:hover,
        #view-catalog .catalog-letter-button:focus-visible,
        #view-catalog .catalog-letter-button.is-selected { color:#fff; background:var(--cyan); border-color:var(--cyan); outline:none; }
        #view-catalog .catalog-results-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; align-items:start; gap:24px; }
        #view-catalog .catalog-series { min-width:0; }
        #view-catalog .catalog-series-title { margin:0 0 18px; }
        #view-catalog #catalog-comics-grid { width:100%; grid-template-columns:repeat(4,minmax(0,174px)); gap:18px; justify-content:start; }
        #view-catalog .recommendations-panel { position:static; width:100%; margin:0; }
        #view-catalog .recommendations-grid { grid-template-columns:1fr; }
        #view-catalog .recommendation-item { flex-direction:row; align-items:center; }
        #view-catalog .recommendation-item img { width:42px; height:56px; }
        #view-catalog #catalog-comics-grid .comic-cover { height:200px; }
        body.dark-mode #view-catalog .catalog-alphabet-label { color:var(--white); }
        body.dark-mode #view-catalog .catalog-search input { color:var(--white); background:var(--bg-panel); border-color:#46535a; }
        body.dark-mode #view-catalog .catalog-letter-button { color:var(--white); background:var(--bg-panel); border-color:#46535a; }
        body.dark-mode #view-catalog .catalog-letter-button:hover,
        body.dark-mode #view-catalog .catalog-letter-button:focus-visible,
        body.dark-mode #view-catalog .catalog-letter-button.is-selected { color:#101018; background:var(--cyan); border-color:var(--cyan); }
        @media (max-width:900px) { #view-catalog .catalog-results-layout { grid-template-columns:1fr; } #view-catalog #catalog-comics-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } }
        @media (max-width:700px) { #view-catalog .catalog-heading { flex-wrap:wrap; } #view-catalog .catalog-heading .section-title { width:100%; } #view-catalog .catalog-search { flex-basis:180px; margin-left:auto; } #view-catalog #catalog-comics-grid .comic-cover { height:210px; } }
        .preview-above-card:hover { z-index:500; }
        .preview-above-card:hover { transform:none; }
        @media (max-width:700px) {
            .preview-above-card .comic-hover-preview { display:flex; flex-direction:column; gap:6px; padding:10px; }
            .preview-above-card .preview-chapter-thumb { display:none; }
        }
        #view-home #recent-comics-grid .comic-card:hover,
        .comic-card:not(.new-chapter-card):hover,
        .comic-card:not(.new-chapter-card):focus-within,
        #view-catalog #catalog-comics-grid .comic-card:hover,
        #profile-comics-grid .comic-card:hover { position:relative; z-index:500 !important; overflow:visible !important; }
        #view-home #recent-comics-grid .comic-card:hover .comic-hover-preview,
        .comic-card:not(.new-chapter-card):hover .comic-hover-preview,
        #view-catalog #catalog-comics-grid .comic-card:hover .comic-hover-preview,
        #profile-comics-grid .comic-card:hover .comic-hover-preview { z-index:501 !important; overflow:visible; }
        /* Textos neutros y controles de categorías del flujo de publicación. */
        .logo, .author-name, .stat-box .number, #nav-logout, .publish-card h2, [style*="color: var(--yellow)"] { color:#202a31 !important; background:none !important; -webkit-text-fill-color:#202a31 !important; }
        #pub-genres-checkboxes { display:flex!important; gap:8px!important; padding:12px!important; background:#f7fcfd!important; border:1px solid #cfe6eb!important; border-radius:8px!important; }
        #pub-genres-checkboxes label { display:inline-flex!important; align-items:center; gap:6px; padding:8px 11px!important; border:1px solid #cfe6eb!important; border-radius:4px!important; color:#53666f!important; background:#fff!important; font-weight:400!important; font-size:.75rem!important; cursor:pointer; }
        #pub-genres-checkboxes label:has(input:checked) { color:#fff!important; border-color:var(--cyan)!important; background:var(--cyan)!important; }
        #pub-genres-checkboxes input { accent-color:var(--cyan); }
        .story-stats { flex-wrap:wrap; }.story-social-inline { width:100%; }
        #view-home .grid { grid-template-columns:repeat(auto-fill,minmax(145px,1fr)); gap:18px; }
        #view-home #recent-comics-grid { grid-template-columns:repeat(5,174px); gap:18px; justify-content:start; }
        @media (max-width:1100px) { #view-home #recent-comics-grid { grid-template-columns:repeat(auto-fill,174px); } }
        #view-home #recent-comics-grid .comic-cover { height:200px; }
        #view-home .featured-comics-grid { grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:18px; }
        #view-home .featured-comic-card .comic-cover { height:220px; }
        #view-home .featured-comic-card .comic-info { padding:10px; }
        #view-home .featured-comic-card .featured-latest-chapter { display:block; margin-top:7px; color:#53666f; font-size:.72rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .home-series-columns { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:14px; align-items:start; margin-bottom:6px; }
        @media (min-width:901px) { .home-series-columns > section { width:calc(100% - 304px); }.home-series-columns > .home-featured-panel { position:absolute; top:0; right:0; width:280px; } }
        .new-chapters-grid { grid-template-columns:repeat(auto-fill,minmax(125px,1fr)); gap:14px; }
        .new-chapters-carousel { display:flex; align-items:center; gap:8px; }
        .new-chapters-carousel .new-chapters-grid { display:flex; flex:1; min-width:0; overflow:hidden; gap:14px; scroll-behavior:smooth; }
        .new-chapters-carousel .new-chapter-card { flex:0 0 calc((100% - 42px) / 4); min-width:0; }
        @media (min-width:901px) { .home-series-columns > section { width:795px; max-width:none; }.new-chapters-carousel { width:795px; max-width:none; height:142px; overflow:hidden; } }
        .new-chapters-arrow { display:grid; place-items:center; flex:0 0 30px; width:30px; height:42px; border:1px solid var(--cyan); border-radius:4px; color:#fff; background:var(--cyan); font-size:1.5rem; line-height:1; }
        .new-chapters-arrow:hover { background:#008ccc; }
        .new-chapter-card { position:relative; padding:0; overflow:visible; cursor:pointer; }
        .new-chapter-card:hover { transform:none; z-index:100; }
        .new-chapter-badge { position:absolute; top:8px; left:8px; z-index:2; padding:4px 7px; border-radius:4px; color:#fff; background:#20b968; font-size:.68rem; font-weight:800; line-height:1; text-transform:uppercase; }
        #view-home .new-chapter-card .comic-cover { display:block; width:100%; height:140px; object-fit:cover; border-radius:7px; }
        .new-chapter-card .comic-hover-preview { display:none !important; }
        @media (min-width:701px) { .new-chapter-card .comic-hover-preview { position:fixed !important; left:0; top:0; width:min(320px,calc(100vw - 20px)); } }
        .new-chapter-card:hover .comic-hover-preview { display:none !important; }
        .home-featured-panel { padding:10px; background:#fff; border:1px solid #e1e5e8; border-radius:4px; box-shadow:var(--shadow); }
        .home-featured-panel .section-title { margin:0 0 7px; font-size:.9rem; border-left-width:3px; }
        #home-featured-stories { display:flex; flex-direction:column; gap:0; max-height:520px; overflow-y:auto; overflow-x:hidden; scrollbar-width:thin; padding:2px 3px 2px 1px; }
        .home-featured-story { display:flex; flex:0 0 52px; flex-direction:row; align-items:center; gap:8px; padding:3px; border:0; border-bottom:1px solid #edf0f1; border-radius:0; cursor:pointer; }
        .home-creator-panel {
            margin-top: 18px;
            padding: 12px;
            background: #fff;
            border: 1px solid #e1e5e8;
            border-radius: 12px;
            box-shadow: var(--shadow);
        }
        .home-creator-panel .section-title {
            margin: 0 0 10px;
            font-size: .9rem;
            border-left-width: 3px;
        }
        .creator-highlight-card {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 12px;
            border: 1px solid #edf0f1;
            border-radius: 12px;
            background: linear-gradient(135deg, #f8fdff 0%, #f7f9ff 100%);
        }
        .creator-highlight-main {
            display: flex;
            align-items: center;
            gap: 12px;
            flex: 1;
            min-width: 0;
            cursor: pointer;
        }
        .creator-highlight-avatar {
            width: 58px;
            height: 58px;
            flex: 0 0 58px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--cyan);
        }
        .creator-highlight-meta {
            flex: 1;
            min-width: 0;
        }
        .creator-highlight-name {
            display: block;
            color: #26343a;
            font-size: .82rem;
            font-weight: 800;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .creator-highlight-stats {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 6px;
            color: #5c6d75;
            font-size: .68rem;
        }
        .creator-highlight-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 22px;
            height: 22px;
            padding: 0 7px;
            border-radius: 50%;
            background: linear-gradient(180deg, #22c55e, #16a34a);
            color: #fff;
            font-size: .62rem;
            font-weight: 800;
        }
        .creator-highlight-following {
            margin-left: auto;
            padding: 7px 12px;
            border: none;
            border-radius: 999px;
            background: linear-gradient(135deg, #1bb8a6, #0ea99f);
            color: #fff;
            font-size: .62rem;
            font-weight: 800;
            letter-spacing: .04em;
            text-transform: uppercase;
            box-shadow: 0 6px 14px rgba(15,136,126,.22);
        }
        .creator-profile-enter-btn {
            flex: 0 0 auto;
            min-height: 32px;
            padding: 7px 12px;
            font-size: .68rem;
            font-weight: 800;
            white-space: nowrap;
        }
        .creator-profile-enter-btn:hover {
            transform: translateY(-1px);
        }
        .admin-featured-creator-btn {
            display: none;
            margin-top: 14px;
            width: 100%;
            border: none;
            border-radius: 999px;
            background: linear-gradient(135deg, #0ea5e9, #2563eb);
            color: #fff;
            font-size: .72rem;
            font-weight: 800;
            letter-spacing: .04em;
            text-transform: uppercase;
            padding: 10px 14px;
            box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
        }
        .admin-featured-creator-btn.visible {
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .home-featured-story:last-child { border-bottom:0; }
        .home-featured-story:hover { background:#f0fbfd; }
        .home-featured-story img { width:36px; height:46px; flex:0 0 36px; object-fit:cover; border-radius:3px; }
        .home-featured-story strong { width:100%; color:#26343a; font-size:.7rem; font-weight:500; text-align:left; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .home-featured-story small { display:block; margin-top:3px; color:#ff695a; font-size:.64rem; }
        .recommendations-panel { margin:24px 0; padding:14px; background:#fff; border:1px solid #e1e5e8; border-radius:4px; box-shadow:var(--shadow); }
        #view-catalog .container { position:relative; }
        .recommendations-panel .section-title { margin:0 0 12px; font-size:1rem; border-left-width:3px; }
        .recommendations-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
        .recommendation-item { display:flex; min-width:0; align-items:center; gap:8px; padding:7px; border:1px solid #edf0f1; border-radius:4px; background:#fff; cursor:pointer; }
        .recommendation-item:hover { border-color:var(--cyan); background:#f0fbfd; }
        .recommendation-item img { width:42px; height:56px; flex:0 0 42px; object-fit:cover; border-radius:3px; }
        .recommendation-item .recommendation-copy { min-width:0; flex:1; }
        .recommendation-item strong { display:block; overflow:visible; color:#26343a; font-size:.7rem; font-weight:700; line-height:1.2; word-break:break-word; white-space:normal; }
        .recommendation-item small { display:block; margin-top:4px; color:#ff695a; font-size:.65rem; }
        @media (max-width:900px) { #view-catalog .recommendations-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
        @media (max-width:700px) { .recommendations-grid { grid-template-columns:1fr; } }
        .creator-slider-section { margin-top:0; }
        .creator-slider-section .section-title { margin-bottom:12px; }
        .creator-slider { display:flex; gap:14px; overflow:hidden; padding:4px 2px 12px; scroll-behavior:smooth; }
        .creator-slide { flex:0 0 210px; min-height:92px; display:flex; align-items:center; gap:12px; padding:12px; background:#fff; border:1px solid #e1e5e8; border-radius:6px; box-shadow:0 3px 12px rgba(24,43,52,.06); }
        .creator-slide:hover { border-color:var(--cyan); box-shadow:var(--shadow); transform:translateY(-2px); }
        .creator-slide-main {
            display:flex;
            align-items:center;
            gap:12px;
            flex:1;
            min-width:0;
            cursor:pointer;
        }
        .creator-slide img { width:58px; height:58px; flex:0 0 58px; border-radius:50%; object-fit:cover; border:2px solid var(--cyan); }
        .creator-slide strong { display:block; color:#26343a; font-size:.82rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .creator-slide span { display:block; margin-top:6px; color:#89949b; font-size:.68rem; }
        @media (max-width:900px) { .home-series-columns { grid-template-columns:1fr; }.home-series-columns > section { width:auto; }.home-series-columns > .home-featured-panel { position:static; width:auto; order:-1; } }
        @media (max-width:700px) { #view-home #recent-comics-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }.new-chapters-carousel .new-chapter-card { flex-basis:120px; }#view-home .new-chapter-card .comic-cover { height:115px; }.new-chapter-card .comic-cover { height:210px; }.new-chapters-arrow { flex-basis:26px; width:26px; height:38px; }.new-chapter-card .comic-hover-preview { left:8px; right:8px; top:calc(100% + 8px); width:auto; } }
        .chapters-list { gap:6px; margin-top:12px; }
        .chapter-card { padding:7px 9px; gap:9px; min-height:0; }
        .chapter-thumb { width:42px; height:42px; }
        .chapter-title { font-size:.82rem; }
        .chapter-date { font-size:.68rem; }
        .chapter-actions { display:flex; gap:4px; }
        .chapter-actions .btn-danger { padding:5px 7px; font-size:.66rem; }
        #story-chapters-list { grid-template-columns:repeat(2,minmax(0,1fr)); justify-content:stretch; gap:8px; }
        #story-chapters-list .chapter-card { width:auto; min-width:0; min-height:96px; height:auto; box-sizing:border-box; padding:5px; gap:5px; display:grid; grid-template-columns:80px minmax(0,1fr) auto; grid-template-rows:auto auto; align-items:center; }
        #story-chapters-list .chapter-thumb { width:80px; height:80px; }
        #story-chapters-list .chapter-info { min-width:0; overflow:hidden; }
        #story-chapters-list .chapter-title { font-size:.68rem; overflow-wrap:anywhere; word-break:break-word; }
        #story-chapters-list .chapter-date { font-size:.56rem; }
        #story-chapters-list .chapter-likes { grid-column:3; grid-row:1; margin:0; align-self:start; padding:4px 2px 0 0; font-size:.68rem; }
        #story-chapters-list .chapter-manage { grid-column:2 / -1; grid-row:2; min-width:0; display:flex; justify-content:flex-end; flex-wrap:wrap; gap:3px; }
        #story-chapters-list .chapter-manage button { min-width:0; padding:4px 6px; font-size:.58rem; line-height:1.1; white-space:normal; }
        @media (max-width:700px) { .story-description-column { padding-top:0; } #story-chapters-list { grid-template-columns:1fr; } #story-chapters-list .chapter-card { width:100%; min-height:96px; height:auto; } }
        .comic-detail-columns { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:24px; align-items:start; }
        .comic-chapters-panel,.weekly-featured-panel { min-width:0; }
        .chapter-image-card { position:relative; padding:0; min-height:0; overflow:visible; }
        #story-chapters-list .chapter-image-card .chapter-thumb { width:80px; height:80px; object-fit:cover; border-radius:3px; cursor:pointer; }
        .chapter-image-card .chapter-hover-preview { left:calc(100% + 10px); top:0; width:320px; opacity:0; transform:translateX(-8px); pointer-events:none; z-index:40; }
        .chapter-image-card:hover .chapter-hover-preview { opacity:1; transform:translateX(0); pointer-events:auto; }
        .chapter-image-card.is-preview-open .chapter-hover-preview { opacity:1; transform:translateX(0); pointer-events:auto; }
        @media (min-width:701px) { .chapter-image-card .chapter-hover-preview { position:fixed !important; left:0; right:auto; top:0; width:min(320px,calc(100vw - 20px)); max-height:calc(100vh - 20px); box-sizing:border-box; overflow-y:auto; } }
        .weekly-featured-panel { padding:14px; background:#fff; border:1px solid #e1e5e8; border-radius:4px; box-shadow:var(--shadow); }
        .weekly-featured-panel .section-title { margin:0 0 12px; font-size:1rem; border-left-width:3px; }
        .weekly-featured-item { display:flex; align-items:center; gap:9px; padding:8px 0; border-bottom:1px solid #edf0f1; cursor:pointer; }
        .weekly-featured-item:last-child { border-bottom:0; }
        .weekly-featured-item:hover { background:#f0fbfd; }
        .weekly-featured-item img { width:48px; height:62px; flex:0 0 48px; object-fit:cover; border-radius:3px; }
        .weekly-featured-item strong { display:block; color:#26343a; font-size:.75rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .weekly-featured-item span { display:block; color:#89949b; font-size:.65rem; margin-top:4px; }
        @media (max-width:900px) { .comic-detail-columns { grid-template-columns:1fr; }.weekly-featured-panel { order:-1; } }
        @media (max-width:700px) { .chapter-image-card .chapter-hover-preview { left:8px; right:8px; top:calc(100% + 8px); width:auto; transform:translateY(-8px); }.chapter-image-card.is-preview-open .chapter-hover-preview { transform:translateY(0); } }
        .comic-admin-actions { display:flex; gap:5px; flex-wrap:nowrap; }
        .comic-admin-actions button { flex:1; min-width:0; padding-left:6px; padding-right:6px; white-space:nowrap; }
        @media (max-width:700px) { .slider-arrow { width:34px; height:34px; font-size:1.6rem; }.slider-prev { left:8px; }.slider-next { right:8px; }.reader-music-box { right:10px; bottom:10px; min-width:calc(100% - 20px); }.back-to-top { right:14px; bottom:82px; } }

        /* Perfil de obra: ficha editorial inspirada en la referencia visual. */
        #view-comic-detail { background:#dedede; min-height:calc(100vh - 68px); }
        #view-comic-detail .container { width:min(1160px,94%); max-width:none; padding-top:0; }
        #view-comic-detail .story-reference-banner { position:absolute; top:0; left:0; right:0; height:300px; background:#cbd0d1 center/cover no-repeat; opacity:.98; }
        #view-comic-detail .story-reference-banner::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,rgba(255,255,255,.08) 0%,rgba(222,222,222,0) 48%,#dedede 100%); }
        #view-comic-detail .story-profile-container { display:grid; grid-template-columns:216px minmax(0,1fr); gap:20px; margin:0; padding-top:42px; align-items:start; }
        #view-comic-detail .story-cover-column { min-width:0; }
        #view-comic-detail #comic-recommendations-panel { width:196px; margin:14px auto 0; padding:10px; box-sizing:border-box; }
        #view-comic-detail #comic-recommendations-panel .section-title { margin:0 0 8px; font-size:.78rem; border-left-width:3px; }
        #view-comic-detail #comic-recommendations-panel .recommendations-grid { grid-template-columns:1fr; gap:7px; }
        #view-comic-detail #comic-recommendations-panel .recommendation-item { padding:5px; }
        #view-comic-detail #comic-recommendations-panel .recommendation-item img { width:34px; height:46px; flex-basis:34px; }
        #view-comic-detail #comic-recommendations-panel .recommendation-item strong { font-size:.62rem; }
        #view-comic-detail #comic-recommendations-panel .recommendation-item small { font-size:.58rem; }
        #view-comic-detail .story-cover-lg { display:block; width:196px; height:338px; margin:0 auto; object-fit:cover; border:0; border-radius:8px; box-shadow:0 5px 14px rgba(35,45,52,.2); }
        #view-comic-detail .story-author-card { display:flex; align-items:center; gap:10px; width:196px; min-height:62px; margin:14px auto 0; padding:8px 10px; border-radius:8px; background:#fff; box-shadow:0 3px 10px rgba(35,45,52,.1); }
        #view-comic-detail .story-author-card img { width:34px; height:34px; flex:0 0 34px; border:2px solid var(--cyan); border-radius:50%; object-fit:cover; }
        #view-comic-detail .story-author-identity { display:flex; min-width:0; flex-direction:column; align-items:flex-start; gap:3px; }
        #view-comic-detail .story-author-name-row { display:flex; align-items:center; gap:7px; min-width:0; }
        #view-comic-detail .story-author-followers-row { display:flex; align-items:center; gap:7px; }
        #view-comic-detail .story-author-card strong { display:block; color:#1da95d; font-size:.72rem; }
        #view-comic-detail .story-author-card span { display:block; color:#8a959b; font-size:.6rem; }
        #view-comic-detail .story-author-card button { margin-top:0; padding:5px 10px; border:0; border-radius:4px; color:#fff; background:#16c96a; font-size:.58rem; font-weight:800; cursor:pointer; }
        #view-comic-detail .story-author-profile-status-btn {
            min-height: 34px;
            padding: 8px 16px;
            border: 1px solid rgba(67,155,166,.52);
            border-radius: 999px;
            color: #2a5d66;
            background: #f4fbfd;
            font: inherit;
            font-size: .63rem;
            font-weight: 800;
            letter-spacing: .02em;
            white-space: nowrap;
            box-shadow: 0 2px 8px rgba(18,38,48,.08);
            transition: all .15s ease;
            text-transform: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        #view-comic-detail .story-author-profile-status-btn:hover,
        #view-comic-detail .story-author-profile-status-btn:focus-visible {
            color: #fff;
            background: linear-gradient(180deg, #1bb8a6 0%, #0ea99f 100%);
            border-color: #0ea99f;
            box-shadow: 0 6px 14px rgba(15,136,126,.22);
        }
        #view-comic-detail .story-ad { display:none; }
        #view-comic-detail .story-details { display:block; min-width:0; padding:18px 0 0; }
        #view-comic-detail .story-header-bar { position:relative; z-index:30; display:flex; align-items:flex-end; justify-content:space-between; gap:12px; min-height:90px; padding:18px 20px; background:rgba(255,255,255,.68); border-radius:0 0 10px 10px; box-shadow:0 4px 12px rgba(35,45,52,.1); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
        #view-comic-detail .story-title-content { flex:1; min-width:0; }
        #view-comic-detail .story-title-content.is-owner .story-heading-meta { justify-content:flex-start; margin-top:22px; }
        #view-comic-detail .story-title-content.is-owner .comic-status-controls { margin-left:0; }
        #view-comic-detail .story-back-button { display:none; }
        #view-comic-detail .story-title { color:#1c2630; font-size:1.25rem; font-weight:900; }
        #view-comic-detail .story-heading-meta { display:flex; align-items:flex-end; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-top:6px; width:100%; }
        #view-comic-detail .story-format-badge { display:none; }
        #view-comic-detail .story-visitor-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; flex-wrap:wrap; margin-left:auto; }
        #view-comic-detail .story-live-badge { display:inline-block; padding:5px 8px; border:1px solid #86e5b1; border-radius:12px; color:#11a956; background:#dff9e9; font-size:.61rem; font-weight:800; line-height:1.2; }
        #view-comic-detail .story-live-badge.is-paused { color:#946500; background:#fff4cc; border-color:#f2d06b; }
        #view-comic-detail .story-live-badge.is-finished { color:#65717a; background:#edf0f2; border-color:#cbd2d7; }
        #view-comic-detail .story-status-picker { position:relative; display:inline-block; }
        #view-comic-detail .comic-status-controls { display:flex; align-items:flex-end; gap:8px; flex-wrap:wrap; margin-left:auto; min-width:0; }
        #view-comic-detail .comic-status-button {
            min-height:34px;
            padding:8px 16px;
            border:1px solid rgba(67,155,166,.52);
            border-radius:999px;
            color:#2a5d66;
            background:#f4fbfd;
            font:inherit;
            font-size:.63rem;
            font-weight:800;
            letter-spacing:.02em;
            cursor:pointer;
            box-shadow:0 2px 8px rgba(18,38,48,.08);
            transition:all .15s ease;
        }
        #view-comic-detail .comic-status-button.active,
        #view-comic-detail .comic-status-button:hover {
            color:#fff;
            background:linear-gradient(180deg, #1bb8a6 0%, #0ea99f 100%);
            border-color:#0ea99f;
            box-shadow:0 6px 14px rgba(15,136,126,.22);
        }
        #view-comic-detail .story-round-action { display:none; }
        #view-comic-detail .story-header-actions { display:flex; align-items:flex-end; justify-content:center; gap:6px; margin-left:auto; min-height:34px; padding-bottom:2px; }
        #view-comic-detail .story-header-actions .btn { display:inline-flex; align-items:center; justify-content:center; min-height:32px; padding:7px 10px; border-radius:5px; font-size:.62rem; white-space:nowrap; }
        #view-comic-detail .story-header-actions #btn-edit-comic-info { display:none; }
        #view-comic-detail .comic-actions-menu-wrap {
            position:relative; z-index:200; overflow:visible;
        }
        #view-comic-detail .comic-actions-button {
            min-height:34px; padding:8px 14px; border:1px solid rgba(67,155,166,.52); border-radius:999px; color:#2a5d66; background:#f4fbfd; font:inherit; font-size:.63rem; font-weight:800; letter-spacing:.02em; cursor:pointer; white-space:nowrap; box-shadow:0 2px 8px rgba(18,38,48,.08); transition:all .15s ease; line-height:1; display:inline-flex; align-items:center; justify-content:center; transform:translateY(-1px);
        }
        #view-comic-detail .comic-actions-button:hover,
        #view-comic-detail .comic-actions-button.is-open { color:#fff; background:linear-gradient(180deg, #1bb8a6 0%, #0ea99f 100%); border-color:#0ea99f; box-shadow:0 6px 14px rgba(15,136,126,.22); }
        #view-comic-detail .comic-actions-menu {
            position:fixed; display:none; flex-direction:column; min-width:170px; padding:7px; border:1px solid rgba(122,147,158,.38); border-radius:16px; background:rgba(255,255,255,.98); box-shadow:0 16px 32px rgba(20,28,35,.18), 0 0 0 1px rgba(122,147,158,.08); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); z-index:99999; margin-top:0; pointer-events:auto;
        }
        #view-comic-detail .comic-actions-menu.is-open { display:flex; }
        #view-comic-detail .comic-actions-menu-wrap > .comic-actions-button[style*="display: none"] + .comic-actions-menu,
        #view-comic-detail .comic-actions-button[style*="display: none"] + .comic-actions-menu { display:none !important; }
        #view-comic-detail .comic-actions-submenu {
            display:flex; flex-direction:column; gap:4px;
        }
        #view-comic-detail .comic-actions-menu button {
            border:none; border-radius:6px; background:transparent; color:#2d3a3f; font:inherit; font-size:.62rem; font-weight:700; text-align:left; padding:8px 9px; cursor:pointer; transition:all .15s ease;
        }
        #view-comic-detail .comic-actions-menu button:hover { background:#edf8fb; color:#0a6a8c; }
        #view-comic-detail .story-description-column { display:block; padding:0; position:relative; z-index:1; }
        #view-comic-detail .story-description-box { position:relative; z-index:1; min-height:0; max-height:none; margin-top:12px; padding:16px; border:1px solid rgba(255,255,255,.52); border-radius:8px; background:rgba(255,255,255,.62); box-shadow:0 3px 10px rgba(35,45,52,.08); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
        #view-comic-detail #story-genres { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
        #view-comic-detail .story-synopsis { color:#59666e; font-size:.75rem; line-height:1.65; }
        #view-comic-detail .story-synopsis::after { content:none; }
        #view-comic-detail .story-reference-publication { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:20px; color:#87939a; font-size:.62rem; }
        #view-comic-detail .story-reference-share { padding:8px 14px; border:0; border-radius:7px; color:#596c75; background:#f7f7f7; cursor:pointer; }
        #view-comic-detail #story-genres { margin-top:12px; }
        #view-comic-detail #story-genres .badge { padding:6px 10px; border-radius:12px; color:#4b6874; background:#d7f3df; border:0; font-size:.6rem; }
        #view-comic-detail .story-main-info .story-stats { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:12px 0 0; }
        #view-comic-detail .story-main-info #story-rating { display:none; }
        #view-comic-detail .story-navigation-actions { display:none; }
        #view-comic-detail .comic-detail-columns { display:block; margin-left:0; }
        #view-comic-detail .comic-chapters-panel { padding-top:18px; }
        #view-comic-detail .comic-chapters-panel .section-title { display:inline-block; margin:0 0 10px; padding:0; border:0; color:#26343a; font-size:1.05rem; }
        #view-comic-detail .story-chapters-toolbar { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
        #view-comic-detail .story-chapters-search { display:none; }
        #view-comic-detail .chapters-list { display:grid; grid-template-columns:1fr; gap:9px; margin-top:0; }
        #view-comic-detail .story-chapter-pagination { display:flex; flex-wrap:wrap; gap:6px; margin-top:14px; justify-content:flex-start; }
        #view-comic-detail .story-chapter-page-button { min-width:35px; height:35px; padding:0 9px; border:1px solid #dfe5e8; border-radius:4px; color:#26343a; background:#f5f7f8; font-size:.72rem; font-weight:800; cursor:pointer; transition:var(--transition); }
        #view-comic-detail .story-chapter-page-button:hover,
        #view-comic-detail .story-chapter-page-button:focus-visible { color:#fff; background:var(--cyan); border-color:var(--cyan); outline:none; }
        #view-comic-detail .story-chapter-page-button.is-selected { color:#fff; background:var(--cyan); border-color:var(--cyan); }
        #view-comic-detail #story-chapters-list .chapter-card { display:flex; grid-template-columns:none; min-height:88px; padding:10px 12px; border:0; border-radius:9px; background:#f8f8f8; box-shadow:0 2px 8px rgba(35,45,52,.06); }
        #view-comic-detail #story-chapters-list .chapter-thumb { width:78px; height:78px; flex:0 0 78px; border-radius:6px; }
        #view-comic-detail #story-chapters-list .chapter-info { display:flex; flex-direction:column; justify-content:center; }
        #view-comic-detail #story-chapters-list .chapter-number { display:inline-flex; align-self:flex-start; width:max-content; margin-bottom:4px; padding:3px 6px; border-radius:4px; color:#fff; background:#7d8d94; font-size:.55rem; font-weight:800; text-transform:uppercase; }
        #view-comic-detail #story-chapters-list .chapter-title { color:#26343a; font-size:.78rem; font-weight:900; text-transform:uppercase; }
        #view-comic-detail #story-chapters-list .chapter-description { display:block; margin-top:4px; color:#68757d; font-size:.64rem; line-height:1.35; }
        #view-comic-detail #story-chapters-list .chapter-meta { display:flex; align-items:center; gap:8px; margin-top:4px; }
        #view-comic-detail #story-chapters-list .chapter-date { margin-top:0; color:#8c979c; font-size:.6rem; }
        #view-comic-detail #story-chapters-list .chapter-status { color:#68757d; font-size:.58rem; }
        #view-comic-detail #story-chapters-list .chapter-card-actions { display:flex; align-items:center; gap:5px; margin-left:auto; }
        #view-comic-detail #story-chapters-list .chapter-likes { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-width:48px; min-height:30px; margin:0; padding:0 9px; border:1px solid #f0d1d8; border-radius:999px; color:#c64b63; background:linear-gradient(135deg,#fff8fa,#fff0f3); box-shadow:0 2px 6px rgba(169,57,81,.08); font-size:.7rem; font-weight:800; line-height:1; }
        #view-comic-detail #story-chapters-list .chapter-likes svg { width:14px; height:14px; flex:0 0 14px; fill:currentColor; }
        #view-comic-detail #story-chapters-list .chapter-likes-count { font-variant-numeric:tabular-nums; }
        #view-comic-detail #story-chapters-list .chapter-manage { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:6px; }
        #view-comic-detail #story-chapters-list .chapter-manage .chapter-manage-button,
        #view-comic-detail #story-chapters-list .chapter-manage .chapter-delete-button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:32px; padding:6px 10px; border:1px solid #d7e1e7; border-radius:8px; color:#435765; background:#fff; box-shadow:0 2px 6px rgba(20,42,55,.06); font-size:.66rem; font-weight:800; line-height:1; white-space:nowrap; cursor:pointer; transition:transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease; }
        #view-comic-detail #story-chapters-list .chapter-manage .chapter-manage-button:hover:not(:disabled) { transform:translateY(-1px); color:#8b6400; background:#fff8e5; border-color:#e8c75a; box-shadow:0 4px 10px rgba(150,112,0,.12); }
        #view-comic-detail #story-chapters-list .chapter-manage .chapter-manage-button:disabled { color:#73838c; background:#f2f5f6; cursor:not-allowed; opacity:.75; }
        #view-comic-detail #story-chapters-list .chapter-manage .chapter-delete-button { color:#bf3547 !important; -webkit-text-fill-color:#bf3547 !important; background:#fff5f5; border-color:#f1c5cb; }
        #view-comic-detail #story-chapters-list .chapter-manage .chapter-delete-button:hover { transform:translateY(-1px); color:#fff !important; -webkit-text-fill-color:#fff !important; background:#d94355; border-color:#d94355; box-shadow:0 4px 10px rgba(190,53,71,.2); }
        #view-comic-detail #story-chapters-list .chapter-manage-button svg,
        #view-comic-detail #story-chapters-list .chapter-delete-button svg,
        #view-comic-detail .creator-notifications-open svg { display:block; width:15px; height:15px; flex:0 0 15px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
        #view-comic-detail .creator-notifications-open { gap:8px; min-height:38px; padding:8px 12px; border:1px solid #d4e5ed; border-radius:9px; color:#1676ad; background:linear-gradient(135deg,#f7fcff,#edf7fc); box-shadow:0 2px 7px rgba(20,42,55,.06); transition:transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease; }
        #view-comic-detail .creator-notifications-open:hover { transform:translateY(-1px); color:#075d91; background:#e8f5fc; border-color:#8bc7e8; box-shadow:0 5px 12px rgba(16,100,150,.12); }
        #view-comic-detail .creator-notifications-open:focus-visible,
        #view-comic-detail #story-chapters-list .chapter-manage button:focus-visible { outline:3px solid rgba(22,140,255,.25); outline-offset:2px; }
        #view-comic-detail #story-chapters-list .chapter-like-action { min-height:32px; padding:6px 8px; border:1px solid #f1c4c8; border-radius:5px; color:#d85b66; background:#fff7f7; font-size:.72rem; font-weight:800; cursor:pointer; }
        #view-comic-detail #story-chapters-list .chapter-like-action.is-liked { color:#fff; background:#ef5d63; border-color:#ef5d63; }
        body.dark-mode #view-comic-detail { background:#181c20; }
        body.dark-mode #view-comic-detail .story-header-bar { background:rgba(34,40,45,.68); border-color:#46535a; }
        body.dark-mode #view-comic-detail #story-live-status { color:#7ce3a9; background:#20352a; border-color:#45d597; }
        body.dark-mode #view-comic-detail #story-live-status.is-paused { color:#f5ce69; background:#3a321c; border-color:#8f762e; }
        body.dark-mode #view-comic-detail #story-live-status.is-finished { color:#c2cbd0; background:#2b3338; border-color:#58646b; }
        body.dark-mode #view-comic-detail .comic-status-button {
            color:#d9e3e5;
            background:rgba(34,40,45,.72);
            border-color:rgba(120,184,196,.52);
            box-shadow:0 2px 8px rgba(0,0,0,.18);
        }
        body.dark-mode #view-comic-detail .comic-status-button.active,
        body.dark-mode #view-comic-detail .comic-status-button:hover {
            color:#fff;
            background:linear-gradient(180deg, #1bb8a6 0%, #0ea99f 100%);
            border-color:#0ea99f;
        }
        body.dark-mode #view-comic-detail .comic-actions-button { color:#edf2f3; background:rgba(34,40,45,.72); border-color:rgba(120,184,196,.52); }
        #view-comic-detail .comic-status-button[data-status="en-emision"] { color:#1f8a4c; background:#e8f8ee; border-color:#37b46a; }
        #view-comic-detail .comic-status-button[data-status="pausado"] { color:#8a6a00; background:#fff8dc; border-color:#e0b72b; }
        #view-comic-detail .comic-status-button[data-status="terminado"] { color:#b4332b; background:#feeceb; border-color:#e0584f; }
        #view-comic-detail .comic-status-button[data-status="en-emision"].active, #view-comic-detail .comic-status-button[data-status="en-emision"]:hover { color:#fff; background:#27ae60; border-color:#27ae60; box-shadow:0 6px 14px rgba(39,174,96,.28); }
        #view-comic-detail .comic-status-button[data-status="pausado"].active, #view-comic-detail .comic-status-button[data-status="pausado"]:hover { color:#3d2f00; background:#f5c518; border-color:#f5c518; box-shadow:0 6px 14px rgba(245,197,24,.3); }
        #view-comic-detail .comic-status-button[data-status="terminado"].active, #view-comic-detail .comic-status-button[data-status="terminado"]:hover { color:#fff; background:#e04b42; border-color:#e04b42; box-shadow:0 6px 14px rgba(224,75,66,.28); }
        body.dark-mode #view-comic-detail .comic-status-button[data-status="en-emision"] { color:#7ce3a9; background:#20352a; border-color:#3fae72; }
        body.dark-mode #view-comic-detail .comic-status-button[data-status="pausado"] { color:#f5ce69; background:#3a321c; border-color:#b8962f; }
        body.dark-mode #view-comic-detail .comic-status-button[data-status="terminado"] { color:#ff9a93; background:#3d2523; border-color:#c4524a; }
        body.dark-mode #view-comic-detail .comic-status-button[data-status="en-emision"].active, body.dark-mode #view-comic-detail .comic-status-button[data-status="en-emision"]:hover { color:#fff; background:#27ae60; border-color:#27ae60; }
        body.dark-mode #view-comic-detail .comic-status-button[data-status="pausado"].active, body.dark-mode #view-comic-detail .comic-status-button[data-status="pausado"]:hover { color:#3d2f00; background:#f5c518; border-color:#f5c518; }
        body.dark-mode #view-comic-detail .comic-status-button[data-status="terminado"].active, body.dark-mode #view-comic-detail .comic-status-button[data-status="terminado"]:hover { color:#fff; background:#e04b42; border-color:#e04b42; }
        body.dark-mode #view-comic-detail .comic-actions-button:hover,
        body.dark-mode #view-comic-detail .comic-actions-button.is-open { color:#fff; background:linear-gradient(180deg, #1bb8a6 0%, #0ea99f 100%); border-color:#0ea99f; }
        body.dark-mode #view-comic-detail .comic-actions-menu { background:rgba(25,31,35,.96); border-color:#46535a; box-shadow:0 16px 32px rgba(0,0,0,.45), 0 0 0 1px rgba(122,147,158,.12); }
        body.dark-mode #view-comic-detail .comic-actions-menu button { color:#edf2f3; }
        body.dark-mode #view-comic-detail .comic-actions-menu button:hover { background:#2b353b; color:#7fd8d7; }
        body.dark-mode #view-comic-detail #story-format { color:#d9e3e5; background:#293137; border-color:#56646b; }
        body.dark-mode #view-comic-detail .story-title,
        body.dark-mode #view-comic-detail .story-chapters-toolbar .section-title,
        body.dark-mode #view-comic-detail #story-chapters-list .chapter-title { color:#edf2f3; }
        body.dark-mode #view-comic-detail .story-description-box { background:rgba(34,40,45,.68); border-color:#46535a; }
        body.dark-mode #view-comic-detail #story-chapters-list .chapter-card { background:#22282d; border-color:#3b474d; }
        body.dark-mode #view-comic-detail .story-chapter-page-button { color:#d9e3e5; background:#293137; border-color:#46535a; }
        body.dark-mode #view-comic-detail .story-chapter-page-button:hover,
        body.dark-mode #view-comic-detail .story-chapter-page-button:focus-visible { color:#101018; background:var(--cyan); border-color:var(--cyan); }
        body.dark-mode #view-comic-detail .story-chapter-page-button.is-selected { color:#101018; background:var(--cyan); border-color:var(--cyan); }
        body.dark-mode #view-comic-detail #story-chapters-list .chapter-like-action { color:#ff9da4; background:#302426; border-color:#7d464b; }
        body.dark-mode #view-comic-detail #story-chapters-list .chapter-like-action.is-liked { color:#fff; background:#ef5d63; border-color:#ef5d63; }
        body.dark-mode #view-comic-detail #story-chapters-list .chapter-likes { color:#ff9aaa; background:linear-gradient(135deg,#39272d,#302329); border-color:#70434e; box-shadow:0 2px 7px rgba(0,0,0,.2); }
        body.dark-mode #view-comic-detail #story-chapters-list .chapter-manage .chapter-manage-button,
        body.dark-mode #view-comic-detail #story-chapters-list .chapter-manage .chapter-delete-button { color:#dce8ec; background:#29343a; border-color:#465861; box-shadow:0 2px 7px rgba(0,0,0,.2); }
        body.dark-mode #view-comic-detail #story-chapters-list .chapter-manage .chapter-manage-button:hover:not(:disabled) { color:#ffe08a; background:#3a3422; border-color:#a88836; }
        body.dark-mode #view-comic-detail #story-chapters-list .chapter-manage .chapter-manage-button:disabled { color:#93a0a5; background:#252c30; border-color:#3c484d; }
        body.dark-mode #view-comic-detail #story-chapters-list .chapter-manage .chapter-delete-button { color:#ff9da7 !important; -webkit-text-fill-color:#ff9da7 !important; background:#38272a; border-color:#75464c; }
        body.dark-mode #view-comic-detail #story-chapters-list .chapter-manage .chapter-delete-button:hover { color:#fff !important; -webkit-text-fill-color:#fff !important; background:#c83d50; border-color:#e35a69; }
        body.dark-mode #view-comic-detail .creator-notifications-open { color:#9bd6fa; background:linear-gradient(135deg,#253640,#202e36); border-color:#456273; box-shadow:0 2px 8px rgba(0,0,0,.2); }
        body.dark-mode #view-comic-detail .creator-notifications-open:hover { color:#d9f1ff; background:#2b414d; border-color:#5e9bc0; }
        body.dark-mode #view-comic-detail .story-author-card { background:#22282d; border:1px solid #3b474d; }
        body.dark-mode #view-comic-detail .story-author-card span { color:#b5c0c4; }
        body.dark-mode #view-comic-detail .story-synopsis,
        body.dark-mode #view-comic-detail #story-chapters-list .chapter-date,
        body.dark-mode #view-comic-detail #story-chapters-list .chapter-status { color:#b5c0c4; }
        body.dark-mode #view-comic-detail #story-chapters-list .chapter-description { color:#b5c0c4; }
        body.dark-mode #view-comic-detail .story-reference-share { color:#edf2f3; background:#293137; border:1px solid #46535a; }
        body.dark-mode #view-comic-detail #story-genres .badge { color:#d9f7e5; background:#203d35; }
        @media (max-width:700px) { #view-comic-detail .container { width:100%; }.story-profile-container { grid-template-columns:1fr; }.story-cover-column { display:flex; flex-direction:column; align-items:center; }.story-ad { display:none!important; } #view-comic-detail #comic-recommendations-panel { width:min(310px,100%); } #view-comic-detail .story-reference-banner { height:240px; } #view-comic-detail .story-header-bar { align-items:flex-start; flex-wrap:wrap; border-radius:0; padding:14px; } #view-comic-detail .comic-status-controls { width:100%; margin-left:0; flex-wrap:wrap; } #view-comic-detail .comic-status-controls .comic-status-button { flex:1 1 auto; } #view-comic-detail .story-round-action { display:none; } #view-comic-detail .story-header-actions { width:100%; margin:4px 0 0; flex-wrap:wrap; } #view-comic-detail .story-header-actions .btn { flex:1 1 auto; } #view-comic-detail .story-navigation-actions, #view-comic-detail .comic-detail-columns { margin-left:14px; margin-right:14px; } #view-comic-detail .comic-chapters-panel { padding-top:16px; } #view-comic-detail .story-chapters-toolbar { align-items:flex-start; flex-direction:column; } #view-comic-detail .story-chapters-search { width:100%; } }

        .theme-toggle { width:36px; height:36px; padding:0; border:1px solid #cbd8dc; border-radius:50%; color:#53666f; background:#fff; cursor:pointer; font-size:1rem; }
        .theme-toggle:hover { color:var(--cyan); border-color:var(--cyan); }
        body.dark-mode { --bg-dark:#181c20; --bg-panel:#22282d; --bg-card:#293137; --cyan:#45d597; --accent-purple:#45d597; --white:#edf2f3; --gray:#aeb9bd; --shadow:0 7px 22px rgba(0,0,0,.28); }
        body.dark-mode header { background:rgba(34,40,45,.96); border-bottom-color:#39444a; }
        body.dark-mode .theme-toggle { color:#f5d66c; background:#293137; border-color:#56646b; }
        body.dark-mode .comic-card, body.dark-mode .home-featured-panel, body.dark-mode .weekly-featured-panel, body.dark-mode .chapter-card, body.dark-mode .comments-section, body.dark-mode .auth-card, body.dark-mode .publish-card, body.dark-mode .comic-rating { background:var(--bg-panel); border-color:#3b474d; }
        body.dark-mode .recommendations-panel, body.dark-mode .recommendation-item { background:var(--bg-panel); border-color:#3b474d; }
        body.dark-mode .home-featured-story { border-bottom-color:#303a40; }
        body.dark-mode .recommendation-item:hover { background:#303a40; }
        body.dark-mode .recommendation-item strong { color:var(--white); }
        body.dark-mode .recommendation-item small, body.dark-mode .home-featured-story small { color:#45d597; }
        body.dark-mode .publish-card h2 { color:#fff !important; background:none !important; -webkit-text-fill-color:#fff !important; }
        body.dark-mode .chapter-editor-drag-hint { color:#ffffff; }
        body.dark-mode .comic-info h3, body.dark-mode .chapter-title, body.dark-mode .section-title, body.dark-mode .story-title, body.dark-mode .profile-info h2 { color:var(--white); }
        body.dark-mode .chapter-card:hover, body.dark-mode .home-featured-story:hover { background:#303a40; }
        body.dark-mode input, body.dark-mode textarea, body.dark-mode select, body.dark-mode .file-item, body.dark-mode .stat-box { color:var(--white); background:#1b2024; border-color:#46535a; }
        body.dark-mode input::placeholder, body.dark-mode textarea::placeholder { color:#87959b; }
        body.dark-mode .categories-bar { background:#20282d; border-color:#3b474d; }
        body.dark-mode .categories-bar .badge, body.dark-mode .story-social-inline span { color:#b8c5c9; background:#293137; border-color:#46535a; }
        body.dark-mode .categories-bar .badge:hover, body.dark-mode .categories-bar .badge.active-category { color:#fff; background:var(--cyan); border-color:var(--cyan); transform:none; }
        body.dark-mode .profile-banner, body.dark-mode .story-header { background-color:#293137; border-color:#3b474d; }
        body.dark-mode #view-comic-detail .story-reference-banner::after { background:linear-gradient(180deg,rgba(24,28,32,.08) 0%,rgba(24,28,32,0) 48%,#181c20 100%); }
        body.dark-mode .profile-name-editor { background:#22282d; border-color:#46535a; }
        body.dark-mode .profile-name-editor input { background:#293137; border-color:#46535a; color:var(--white); }
        body.dark-mode .banner-adjust-card { border-color:#46535a; }
        body.dark-mode .story-stats .stat-badge, body.dark-mode .story-stats .stat-badge span { color:var(--white) !important; background:#293137; border-color:#56646b; }
        body.dark-mode .account-dropdown { background:#22282d; border-color:#46535a; }
        body.dark-mode .account-dropdown button { color:var(--white); }
        body.dark-mode .account-dropdown button:hover { background:#303a40; }
        body.dark-mode .logo, body.dark-mode .nav-link, body.dark-mode .account-trigger, body.dark-mode .story-details, body.dark-mode .story-synopsis, body.dark-mode .chapter-date, body.dark-mode .comic-meta, body.dark-mode .moderation-summary, body.dark-mode .banner-adjust-controls label { color:var(--white) !important; -webkit-text-fill-color:var(--white) !important; }
        body.dark-mode .comic-info h3, body.dark-mode .home-featured-story strong, body.dark-mode .weekly-featured-item strong, body.dark-mode .creator-slide strong, body.dark-mode .music-upload-panel h3, body.dark-mode .rules-card h3, body.dark-mode .rules-card p, body.dark-mode .rules-card li, body.dark-mode .toast, body.dark-mode .tab-btn, body.dark-mode .work-type-options label, body.dark-mode .reading-mode-toggle { color:var(--white); }
        body.dark-mode .tab-btn, body.dark-mode .account-dropdown button, body.dark-mode .work-type-options label, body.dark-mode .page-upload-item, body.dark-mode .moderation-notification { background:#22282d; border-color:#46535a; }
        body.dark-mode .reading-mode-toggle { color:#7ce3a9; background:#20352a; border-color:#45d597; }
        body.dark-mode .rules-card, body.dark-mode .banner-adjust-card { color:var(--white); background:#22282d; border-color:#46535a; }
        body.dark-mode .rules-card p, body.dark-mode .rules-card li, body.dark-mode .music-upload-panel p, body.dark-mode .preview-date, body.dark-mode .weekly-featured-item span, body.dark-mode .creator-slide span { color:#b5c0c4; }
        body.dark-mode .music-upload-panel, body.dark-mode .creator-support { background:#20282d; border-color:#46535a; color:var(--white); }
        body.dark-mode .home-creator-panel { background:#20282d; border-color:#46535a; box-shadow:none; }
        body.dark-mode .creator-highlight-card { background:linear-gradient(135deg, #212c31 0%, #1d262a 100%); border-color:#46535a; }
        body.dark-mode .creator-highlight-name { color:var(--white); }
        body.dark-mode .creator-highlight-stats { color:#b5c0c4; }
        body.dark-mode .admin-featured-creator-btn { box-shadow:0 8px 20px rgba(37, 99, 235, 0.38); }
        body.dark-mode .toast { background:#22282d; border-color:var(--cyan); }
        body.dark-mode .tab-btn.active { color:var(--cyan); background:#293a40; border-color:var(--cyan); }
        body.dark-mode [style*="color:#26343a"], body.dark-mode [style*="color:#53666f"], body.dark-mode [style*="color:#202a31"], body.dark-mode [style*="color:#27343a"], body.dark-mode [style*="color:#52666f"] { color:var(--white) !important; }
        body.dark-mode .btn-outline.btn { color:var(--cyan); background:#22282d; border-color:var(--cyan); }
        body.dark-mode .btn-outline.btn:hover { color:#fff; background:var(--cyan); }
        body.dark-mode #view-comic-detail .story-author-profile-status-btn { color:var(--cyan); background:#22282d; border-color:var(--cyan); }
        body.dark-mode #view-comic-detail .story-author-profile-status-btn:hover,
        body.dark-mode #view-comic-detail .story-author-profile-status-btn:focus-visible { color:#fff; background:var(--cyan); border-color:var(--cyan); }
        body.dark-mode .comment-replies-button, body.dark-mode .comment-vote-button { color:var(--gray); background:var(--bg-panel); border-color:#46535a; }
        body.dark-mode .comment-replies-button:hover, body.dark-mode .comment-vote-button:hover, body.dark-mode .comment-vote-button.is-active { color:var(--cyan); border-color:var(--cyan); }
        body.dark-mode .story-social-inline span, body.dark-mode .comment-tool, body.dark-mode .social-auth-button, body.dark-mode .episode-thumb, body.dark-mode .share-menu, body.dark-mode .share-social, body.dark-mode .music-file-label, body.dark-mode .reader-music-box { color:var(--white); background:#22282d; border-color:#46535a; }
        body.dark-mode .comment-tool:hover, body.dark-mode .music-file-label:hover { color:#fff; background:#293a40; border-color:var(--cyan); }
        body.dark-mode .music-upload-panel input[type="text"], body.dark-mode .reader-music-box select { color:var(--white); background:#1b2024; border-color:#46535a; }
        body.dark-mode .music-upload-categories { border-color:#46535a; }
        body.dark-mode .music-upload-categories legend, body.dark-mode .music-upload-categories label { color:var(--white); }
        body.dark-mode .music-upload-categories small { color:#aeb9bd; }
        body.dark-mode .music-upload-panel, body.dark-mode .upload-progress, body.dark-mode #pub-genres-checkboxes { background:#20282d !important; border-color:#46535a !important; }
        body.dark-mode #pub-genres-checkboxes label { color:#d9e3e5 !important; background:#293137 !important; border-color:#46535a !important; }
        body.dark-mode #pub-genres-checkboxes label:has(input:checked), body.dark-mode .work-type-options label:has(input:checked) { color:#fff !important; background:var(--cyan) !important; border-color:var(--cyan) !important; }
        body.dark-mode .reading-mode-toggle:has(input:checked) { color:#fff !important; background:#20ad6b !important; border-color:#20ad6b !important; }
        body.dark-mode .creator-support { color:#d9e3e5; background:#20282d; }
        body.dark-mode .creator-support strong, body.dark-mode .share-menu strong { color:var(--white); }
        body.dark-mode .episode-thumb:hover, body.dark-mode .episode-thumb.active { background:#293a40; border-color:var(--cyan); }
        body.dark-mode .share-social:hover { color:#fff; background:var(--cyan); }
        body.dark-mode .moderation-panel { color:var(--white); background:#302426; border-color:#7d464b; }
        body.dark-mode .moderation-panel h3, body.dark-mode .strike-count { color:#ff858b; }
        body.dark-mode .moderation-notification { color:#d9e3e5; background:#293137; border-color:#7d464b; }
        body.dark-mode .page-upload-item { background:#22282d; border-color:#46535a; }
        body.dark-mode .page-upload-item span { color:#d9e3e5; }
        body.dark-mode .upload-progress-bar { background:#39464c; }
        body.dark-mode .comic-hover-preview { color:#edf2f3; background-color:#20282d; }
        body.dark-mode .comic-hover-preview::before { background:rgba(24,28,32,.88); }
        body.dark-mode .comic-hover-preview strong, body.dark-mode .comic-hover-preview small, body.dark-mode .preview-chapter { color:#edf2f3; }
        body.dark-mode .preview-date { color:#b5c0c4; }
        body.dark-mode .rating-vote, body.dark-mode .rating-score small { color:#b5c0c4; }
        body.dark-mode .rating-star-btn, body.dark-mode .rating-star-btn:not(.selected), body.dark-mode .rating-star-btn.selected, body.dark-mode .rating-star-btn:hover, body.dark-mode .rating-stars-large, body.dark-mode .stars-static { color:#45d597; }
        body.dark-mode .rating-star-btn.selected, body.dark-mode .rating-star-btn:hover { background:transparent; }
        body.dark-mode .stars-static,
        body.dark-mode .rating-stars-large,
        body.dark-mode .rating-star-btn,
        body.dark-mode .rating-star-btn:not(.selected),
        body.dark-mode .rating-star-btn.selected,
        body.dark-mode .rating-star-btn:hover,
        body.dark-mode .chapter-heading-rating { color:#45d597 !important; -webkit-text-fill-color:#45d597 !important; }
        body.dark-mode .chapter-heading-rating .rating-stars-large,
        body.dark-mode .chapter-heading-rating .rating-star-btn,
        body.dark-mode .chapter-heading-rating .rating-star-btn.selected,
        body.dark-mode .chapter-heading-rating .rating-star-btn:hover,
        body.dark-mode .chapter-heading-rating .rating-star-btn:not(.selected) { color:#45d597; }
        body.dark-mode .chapter-heading-rating .rating-score strong { color:#edf2f3; }
        body.dark-mode .chapter-heading-rating .rating-score small,
        body.dark-mode .chapter-heading-rating .rating-vote { color:#fff; }
        body.dark-mode #story-rating .rating-score small { color:#fff; }
        body.dark-mode #story-rating .rating-stars-large, body.dark-mode #story-rating .rating-star-btn, body.dark-mode #story-rating .rating-star-btn:not(.selected), body.dark-mode #story-rating .rating-star-btn.selected, body.dark-mode #story-rating .rating-star-btn:hover { color:#45d597 !important; -webkit-text-fill-color:#45d597 !important; background:transparent; }
        body.dark-mode .section-title, body.dark-mode .story-title, body.dark-mode .story-details, body.dark-mode .story-synopsis, body.dark-mode .author-name, body.dark-mode .comic-info h3, body.dark-mode .chapter-title, body.dark-mode .chapter-date, body.dark-mode .comic-meta, body.dark-mode .profile-info, body.dark-mode .profile-info h2, body.dark-mode .profile-info p, body.dark-mode .home-featured-story strong, body.dark-mode .weekly-featured-item strong, body.dark-mode .creator-slide strong, body.dark-mode .rating-score strong, body.dark-mode .rating-vote span, body.dark-mode .comment-user-link, body.dark-mode .file-item, body.dark-mode .page-upload-item span { color:#edf2f3 !important; -webkit-text-fill-color:#edf2f3 !important; }
        body.dark-mode .story-details .author-name, body.dark-mode .story-details .chapter-number, body.dark-mode .section-title::first-letter { color:var(--cyan) !important; }
        body.dark-mode .input-group label, body.dark-mode .banner-adjust-controls label, body.dark-mode .profile-metrics-row label, body.dark-mode .profile-name-editor label, body.dark-mode .moderation-summary { color:#d9e3e5 !important; }
        body.dark-mode .comment-user-link:hover, body.dark-mode .comment-user-link:focus-visible { color:var(--yellow) !important; }
        body.dark-mode [style*="color:#252e35"], body.dark-mode [style*="color:#263239"], body.dark-mode [style*="color:#26343a"], body.dark-mode [style*="color:#27343a"], body.dark-mode [style*="color:#202a31"], body.dark-mode [style*="color:#51616a"], body.dark-mode [style*="color:#53666f"], body.dark-mode [style*="color: #252e35"], body.dark-mode [style*="color: #263239"], body.dark-mode [style*="color: #26343a"], body.dark-mode [style*="color: #53666f"] { color:#edf2f3 !important; -webkit-text-fill-color:#edf2f3 !important; }
        body.dark-mode #view-profile .profile-header { background:var(--bg-panel); border-color:#3b474d; }
        body.dark-mode #view-profile .profile-info, body.dark-mode #view-profile .profile-info h2, body.dark-mode #view-profile .profile-info .label, body.dark-mode #view-profile .profile-info p, body.dark-mode #view-profile .profile-stats .stat-box, body.dark-mode #view-profile .profile-stats .label, body.dark-mode #view-profile .profile-stats .number { color:#edf2f3 !important; }
        body.dark-mode #view-profile .profile-info *, body.dark-mode #view-profile .profile-info *::before, body.dark-mode #view-profile .profile-info *::after { -webkit-text-fill-color:#edf2f3; }
        body.dark-mode #view-profile .profile-info h2, body.dark-mode #view-profile .profile-info h3, body.dark-mode #view-profile .profile-info span, body.dark-mode #view-profile .profile-info label, body.dark-mode #view-profile .profile-info strong, body.dark-mode #view-profile .profile-info small, body.dark-mode #view-profile .profile-info p, body.dark-mode #view-profile .profile-info button { color:#edf2f3 !important; }
        body.dark-mode #view-profile .profile-info .badge, body.dark-mode #view-profile .profile-info .btn, body.dark-mode #view-profile .profile-info .btn-danger { color:#fff !important; }
        body.dark-mode #view-profile h3, body.dark-mode #view-profile .comic-info h3, body.dark-mode #view-profile .comic-meta, body.dark-mode #view-profile .card-rating, body.dark-mode #view-profile .card-rating span, body.dark-mode #view-profile .comic-admin-actions button, body.dark-mode #view-profile .comic-date, body.dark-mode #view-profile .comic-stats { color:#edf2f3 !important; -webkit-text-fill-color:#edf2f3 !important; }
        body.dark-mode #view-profile .comic-admin-actions button { background:#22282d !important; border-color:#46535a !important; }
        body.dark-mode #view-profile .profile-stats .stat-box { background:#1b2024; border-color:#46535a; }
        body.dark-mode #view-profile .profile-stats .number, body.dark-mode #view-profile .profile-stats .label { color:#fff !important; -webkit-text-fill-color:#fff !important; }
        body.dark-mode #view-profile .profile-subnav { border-bottom-color:#46535a; }
        body.dark-mode #view-profile .profile-subnav button { color:#d9e3e5; background:#22282d; border-color:#46535a; }
        body.dark-mode #view-profile .profile-subnav button.active { color:#fff; background:var(--cyan); border-color:var(--cyan); }
        body.dark-mode #view-profile #social-links-editor span, body.dark-mode #view-profile #social-links-editor a { color:#d9e3e5; }
        body.dark-mode #view-profile #social-links-editor input[type="text"] { color:#edf2f3 !important; background:#1b2024 !important; border:1px solid #46535a !important; }
        body.dark-mode #view-profile #social-links-editor input[type="text"]::placeholder { color:#9eabb0 !important; opacity:1; }
        body.dark-mode #view-profile #social-links-editor input[type="text"]:focus { border-color:var(--cyan) !important; box-shadow:0 0 0 2px rgba(63,213,214,.18); }
        body.dark-mode #view-profile #social-links-editor .btn { color:#fff; background:var(--cyan); border-color:var(--cyan); }
        body.dark-mode .comic-editor-fields input, body.dark-mode .comic-editor-fields textarea { color:var(--white); background:#1b2024; border-color:#46535a; }
        body.dark-mode #story-genres-editor { background:#1b2024; border-color:#46535a; }
        body.dark-mode #story-genres-editor label { background:#22282d; border-color:#46535a; color:#b8c5c9; }
        body.dark-mode #story-genres-editor label:has(input:checked) { color:#101018; background:var(--cyan); border-color:var(--cyan); }
        body.dark-mode .comic-status-card { color:#b8c5c9; background:#293137; border-color:#46535a; }
        body.dark-mode .comic-status-card strong { color:var(--cyan); }
        body.dark-mode .story-description-box { background:#1b2024; border-color:#46535a; box-shadow:none; }
        body.dark-mode .story-social-inline, body.dark-mode .input-group label, body.dark-mode .rules-card h2, body.dark-mode .preview-label { color:var(--cyan); }
        body.dark-mode .story-social-inline span { border-color:var(--cyan); }
        body.dark-mode [style*="#0099FF"], body.dark-mode [style*="#0099ff"] { border-color:var(--cyan) !important; color:var(--cyan) !important; }
        body.dark-mode [style*="background: #0099FF"], body.dark-mode [style*="background:#0099FF"], body.dark-mode [style*="background: #0099ff"], body.dark-mode [style*="background:#0099ff"] { background:var(--cyan) !important; color:#fff !important; }
        body.dark-mode .slider-arrow, body.dark-mode .new-chapters-arrow { background:var(--cyan) !important; border-color:var(--cyan) !important; }
        body.dark-mode .btn:hover:not(:disabled), body.dark-mode .chapter-actions .btn-danger:first-child:hover { background:var(--cyan) !important; border-color:var(--cyan) !important; }
        body.dark-mode .chapter-card button:not(.btn):not(.btn-danger), body.dark-mode .file-item button:not(.btn):not(.btn-danger) { color:var(--cyan); background:#22282d; border-color:var(--cyan); }
        body.dark-mode .chapter-card button:not(.btn):not(.btn-danger):hover, body.dark-mode .file-item button:not(.btn):not(.btn-danger):hover { color:#fff; background:var(--cyan); }
        body:not(.dark-mode) .hero-title,
        body:not(.dark-mode) .story-title,
        body:not(.dark-mode) .chapter-editor-upload,
        body:not(.dark-mode) .chapter-editor-upload .upload-main,
        body:not(.dark-mode) .upload-dropzone-content span.main-text,
        body:not(.dark-mode) .slider-arrow,
        body:not(.dark-mode) .categories-bar .badge:hover,
        body:not(.dark-mode) .categories-bar .badge.active-category,
        body:not(.dark-mode) .tab-btn:hover,
        body:not(.dark-mode) .tab-btn.active,
        body:not(.dark-mode) .btn,
        body:not(.dark-mode) .btn-danger,
        body:not(.dark-mode) .work-type-options label:has(input:checked),
        body:not(.dark-mode) .reading-mode-toggle:has(input:checked),
        body:not(.dark-mode) .new-chapters-arrow,
        body:not(.dark-mode) .new-chapter-badge,
        body:not(.dark-mode) .chapter-actions .btn-danger:first-child,
        body:not(.dark-mode) [style*="color:#fff"],
        body:not(.dark-mode) [style*="color: #fff"],
        body:not(.dark-mode) [style*="color:#ffffff"],
        body:not(.dark-mode) [style*="color: #ffffff"],
        body:not(.dark-mode) [style*="color: white"],
        body:not(.dark-mode) [style*="color: var(--white)"] {
            color:#000000 !important;
            -webkit-text-fill-color:#000000 !important;
        }
        body:not(.dark-mode) .chapter-editor-drag-hint::before,
        body:not(.dark-mode) .page-upload-hint::before { color:#000000; }
        body:not(.dark-mode) #view-profile .profile-stats .number,
        body:not(.dark-mode) #view-profile .profile-stats .label {
            color:#000000 !important;
            -webkit-text-fill-color:#000000 !important;
        }
        body:not(.dark-mode) #view-profile .profile-settings-sidebar,

        body:not(.dark-mode) #view-admin .profile-settings-sidebar { background:#fff; border-color:#dfe5e8; box-shadow:0 3px 12px rgba(24,43,52,.06); }
        body:not(.dark-mode) #view-profile .profile-settings-label,

        body:not(.dark-mode) #view-admin .profile-settings-label { color:#7d8790; }
        body:not(.dark-mode) #view-profile .profile-settings-nav button,

        body:not(.dark-mode) #view-admin .profile-settings-nav button { color:#53666f; }
        body:not(.dark-mode) #view-profile .profile-settings-nav button:hover,

        body:not(.dark-mode) #view-admin .profile-settings-nav button:hover { color:#263239; background:#eef8fa; }
        body:not(.dark-mode) #view-profile .profile-settings-nav button.active,

        body:not(.dark-mode) #view-admin .profile-settings-nav button.active { color:#263239; background:#e6f9fc; border-color:#cfe6eb; }
        body:not(.dark-mode) #view-profile .profile-settings-nav button .settings-icon,

        body:not(.dark-mode) #view-admin .profile-settings-nav button .settings-icon { color:#6f899f; }
        body:not(.dark-mode) #view-profile .profile-settings-heading,

        body:not(.dark-mode) #view-admin .profile-settings-heading { color:#252e35; }
        body:not(.dark-mode) #view-profile .profile-settings-heading small,

        body:not(.dark-mode) #view-admin .profile-settings-heading small { color:#7d8790; }
        body:not(.dark-mode) #view-profile .profile-settings-card,

        body:not(.dark-mode) #view-admin .profile-settings-card { background:#fff; border-color:#e1e5e8; box-shadow:0 3px 12px rgba(24,43,52,.06); }
        body:not(.dark-mode) #view-profile .profile-settings-card h3,
        body:not(.dark-mode) #view-profile .profile-settings-identity h2,
        body:not(.dark-mode) #view-profile .profile-quick-stat strong,
        body:not(.dark-mode) #view-profile .profile-bio-box h3,

        body:not(.dark-mode) #view-admin .profile-settings-card h3,

        body:not(.dark-mode) #view-admin .profile-settings-identity h2 { color:#263239; }
        body:not(.dark-mode) #view-profile .profile-quick-stat small { color:#7d8790; }
        body:not(.dark-mode) #view-profile .profile-quick-comic { background:#f7f9fa; border-color:#cfe6eb; }
        body:not(.dark-mode) #view-profile .profile-quick-comic span { color:#263239; }
        body:not(.dark-mode) #view-profile .profile-bio-box textarea { color:#263239; border-bottom-color:#cfe6eb; }
        body:not(.dark-mode) #view-profile .profile-bio-box textarea::placeholder { color:#9aa8ad; }
        body:not(.dark-mode) #view-profile .profile-general-fields select { color:#263239; background:#f7f9fa; border-color:#d9e0e3; color-scheme:light; }
        body:not(.dark-mode) #view-profile .profile-general-fields select option { color:#263239; background:#fff; }
        body:not(.dark-mode) #view-profile .profile-privacy-toggle { background:#f7f9fa; border-color:#dfe5e8; }
        body:not(.dark-mode) #view-profile .profile-privacy-toggle strong { color:#263239; }
        body:not(.dark-mode) #view-profile .profile-privacy-toggle small { color:#7d8790; }
        body:not(.dark-mode) #view-profile .security-recommendation { background:#fffaf0; border-color:#f0d18a; color:#8c7438; }
        body:not(.dark-mode) #view-profile .security-recommendation p { color:#8c7438; }
        /* Los botones con fondo azul mantienen siempre texto blanco. */
        body:not(.dark-mode) .btn,
        body:not(.dark-mode) .btn:hover:not(:disabled),
        body:not(.dark-mode) .btn-danger,
        body:not(.dark-mode) .btn-danger:hover,
        body:not(.dark-mode) .tab-btn.active,
        body:not(.dark-mode) .tab-btn:hover,
        body:not(.dark-mode) .categories-bar .badge.active-category,
        body:not(.dark-mode) .categories-bar .badge:hover,
        body:not(.dark-mode) .new-chapters-arrow,
        body:not(.dark-mode) .slider-arrow,
        body:not(.dark-mode) .work-type-options label:has(input:checked),
        body:not(.dark-mode) .reading-mode-toggle:has(input:checked),
        body:not(.dark-mode) .chapter-actions .btn-danger:first-child,
        body:not(.dark-mode) .story-read-button { color:#fff !important; -webkit-text-fill-color:#fff !important; }
        body:not(.dark-mode) .btn-outline.btn:not(:hover) { color:#0099FF !important; -webkit-text-fill-color:#0099FF !important; }
        #view-reader .reader-nav-button.reader-next-button:not(:disabled) { color:#fff !important; -webkit-text-fill-color:#fff !important; }
        #view-reader .reader-nav-button.reader-next-button:not(:disabled) svg { stroke:#fff; }
        #view-reader .comments-section .comment-input-box > .btn { min-height:42px; padding:0 20px; border:1px solid var(--cyan); border-radius:30px; color:#fff !important; -webkit-text-fill-color:#fff !important; background:var(--cyan); box-shadow:0 4px 14px rgba(63,213,214,.22); font-size:.76rem; letter-spacing:.04em; transition:transform .3s ease-in-out,box-shadow .3s ease-in-out,background .3s ease-in-out; }
        #view-reader .comments-section .comment-input-box > .btn:hover:not(:disabled) { transform:translateY(-2px); color:#fff !important; -webkit-text-fill-color:#fff !important; border-color:#29babb; background:#29babb; box-shadow:0 7px 19px rgba(63,213,214,.32); }
        #view-reader .comments-section .comment-item > .btn-danger { min-height:34px; padding:0 13px; border:1px solid #f1c5cb; border-radius:10px; color:#bd3548 !important; -webkit-text-fill-color:#bd3548 !important; background:#fff6f7; box-shadow:0 2px 7px rgba(190,53,71,.08); font-size:.7rem; font-weight:800; transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease; }
        #view-reader .comments-section .comment-item > .btn-danger:hover { transform:translateY(-1px); color:#fff !important; -webkit-text-fill-color:#fff !important; background:#d94355; border-color:#d94355; box-shadow:0 5px 12px rgba(190,53,71,.2); }
        #view-reader .comments-section .comment-replies-button,
        #view-reader .comments-section .comment-vote-button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:34px; padding:0 11px; border:1px solid color-mix(in srgb,var(--cyan) 42%,transparent); border-radius:999px; color:#526b78; background:color-mix(in srgb,var(--cyan) 8%,#fff); box-shadow:0 2px 5px rgba(24,45,58,.04); font-size:.7rem; font-weight:750; line-height:1; transition:transform .16s ease,background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease; }
        #view-reader .comments-section .comment-replies-button:hover,
        #view-reader .comments-section .comment-vote-button:hover { transform:translateY(-1px); border-color:var(--cyan); color:#101018; background:color-mix(in srgb,var(--cyan) 18%,#fff); box-shadow:0 4px 9px rgba(24,105,125,.1); }
        #view-reader .comments-section .comment-vote-button:first-child { color:#087e87; }
        #view-reader .comments-section .comment-vote-button.is-active { color:#fff !important; -webkit-text-fill-color:#fff !important; border-color:var(--cyan); background:var(--cyan); box-shadow:0 3px 8px color-mix(in srgb,var(--cyan) 35%,transparent); }
        #view-reader .comments-section .comment-vote-button.is-active .comment-vote-icon { color:#fff !important; }
        #view-reader .comments-section .comment-reply-like-button { min-height:29px; padding:0 9px; font-size:.66rem; }
        #view-reader .comments-section .comment-vote-button:first-child .comment-vote-icon,
        #view-reader .comments-section .comment-reply-like-button .comment-vote-icon { color:#53666f; }
        #view-reader .comments-section .comment-votes .comment-vote-button:first-child > span:not(.comment-vote-icon),
        #view-reader .comments-section .comment-reply-like-button > span:not(.comment-vote-icon) { color:#53666f !important; -webkit-text-fill-color:#53666f !important; }
        #view-reader .comments-section .comment-like-count { color:#53666f !important; -webkit-text-fill-color:#53666f !important; }
        #view-reader .comments-section .comment-votes .comment-vote-button.is-active .comment-like-count { color:#fff !important; -webkit-text-fill-color:#fff !important; }
        #view-reader .comments-section .comment-vote-button.is-disliked { color:#c64b5d; border-color:#efc3ca; background:#fff6f7; }
        #view-reader .comments-section .comment-vote-button.is-disliked:hover,
        #view-reader .comments-section .comment-vote-button.is-disliked.is-active { color:#fff !important; -webkit-text-fill-color:#fff !important; border-color:#d95367; background:#d95367; }
        #view-reader .comments-section .comment-vote-icon { font-size:1rem; }
        #view-reader .comments-section .comment-reply-submit { min-height:36px; padding:0 14px; border:1px solid var(--cyan); border-radius:999px; color:#fff !important; -webkit-text-fill-color:#fff !important; background:var(--cyan); box-shadow:0 3px 8px rgba(22,134,203,.18); font-size:.7rem; font-weight:800; transition:transform .16s ease,background .16s ease,box-shadow .16s ease; }
        #view-reader .comments-section .comment-reply-submit:hover { transform:translateY(-1px); color:#fff !important; -webkit-text-fill-color:#fff !important; background:color-mix(in srgb,var(--cyan) 82%,#fff); box-shadow:0 5px 11px rgba(22,134,203,.22); }
        #view-reader .comments-section .chapter-comment-edit-actions button:last-child { color:#60727b !important; -webkit-text-fill-color:#60727b !important; border-color:#d7e1e7; background:#f2f5f6; box-shadow:none; }
        body.dark-mode #view-reader .comments-section .comment-input-box > .btn { color:#fff !important; -webkit-text-fill-color:#fff !important; background:var(--cyan); }
        body.dark-mode #view-reader .comments-section .comment-input-box > .btn:hover:not(:disabled) { color:#fff !important; -webkit-text-fill-color:#fff !important; background:#29babb; }
        body.dark-mode #view-reader .comments-section .comment-item > .btn-danger { color:#ff9da7 !important; -webkit-text-fill-color:#ff9da7 !important; background:#38272a; border-color:#75464c; box-shadow:none; }
        body.dark-mode #view-reader .comments-section .comment-item > .btn-danger:hover { color:#fff !important; -webkit-text-fill-color:#fff !important; background:#c83d50; border-color:#e35a69; }
        body.dark-mode #view-reader .comments-section .comment-replies-button,
        body.dark-mode #view-reader .comments-section .comment-vote-button { color:var(--white); background:color-mix(in srgb,var(--cyan) 9%,var(--bg-panel)); border-color:color-mix(in srgb,var(--cyan) 40%,#465861); box-shadow:none; }
        body.dark-mode #view-reader .comments-section .comment-vote-button:first-child .comment-vote-icon,
        body.dark-mode #view-reader .comments-section .comment-reply-like-button .comment-vote-icon { color:#aeb9bd; }
        body.dark-mode #view-reader .comments-section .comment-votes .comment-vote-button:first-child > span:not(.comment-vote-icon),
        body.dark-mode #view-reader .comments-section .comment-reply-like-button > span:not(.comment-vote-icon) { color:#aeb9bd !important; -webkit-text-fill-color:#aeb9bd !important; }
        body.dark-mode #view-reader .comments-section .comment-like-count { color:#aeb9bd !important; -webkit-text-fill-color:#aeb9bd !important; }
        body.dark-mode #view-reader .comments-section .comment-votes .comment-vote-button.is-active .comment-like-count { color:#fff !important; -webkit-text-fill-color:#fff !important; }
        body.dark-mode #view-reader .comments-section .comment-replies-button:hover,
        body.dark-mode #view-reader .comments-section .comment-vote-button:hover { color:var(--cyan); background:color-mix(in srgb,var(--cyan) 16%,var(--bg-panel)); border-color:var(--cyan); }
        body.dark-mode #view-reader .comments-section .comment-vote-button.is-active { color:#fff !important; -webkit-text-fill-color:#fff !important; background:var(--cyan); border-color:var(--cyan); }
        body.dark-mode #view-reader .comments-section .comment-vote-button.is-active .comment-vote-icon { color:#fff !important; }
        body.dark-mode #view-reader .comments-section .comment-vote-button.is-disliked { color:#ff9da7; background:#38272a; border-color:#75464c; }
        body.dark-mode #view-reader .comments-section .comment-vote-button.is-disliked:hover,
        body.dark-mode #view-reader .comments-section .comment-vote-button.is-disliked.is-active { color:#fff !important; -webkit-text-fill-color:#fff !important; background:#c83d50; border-color:#e35a69; }
        body.dark-mode #view-reader .comments-section .comment-reply-submit { color:#fff !important; -webkit-text-fill-color:#fff !important; background:var(--cyan); border-color:var(--cyan); }
        body.dark-mode #view-reader .comments-section .comment-reply-submit:hover { color:#fff !important; -webkit-text-fill-color:#fff !important; background:color-mix(in srgb,var(--cyan) 82%,#fff); }
        body.dark-mode #view-reader .comments-section .chapter-comment-edit-actions button:last-child { color:#c2cbd0 !important; -webkit-text-fill-color:#c2cbd0 !important; border-color:#46535a; background:#293137; }

        /* Inicio: historia destacada y carrusel de capítulos en formato compacto. */
        #view-home > .container { width:96%; max-width:1440px; padding-top:12px; }
        .home-hero-shell { position:relative; margin-bottom:16px; }
        .home-hero { display:grid; grid-template-columns:minmax(0, 1.15fr) minmax(280px, .85fr); min-height:clamp(176px, 27vw, 300px); overflow:hidden; color:#fff; background:#10263b; border:1px solid #dbe3e8; border-radius:9px; box-shadow:0 5px 18px rgba(28,42,52,.12); }
        .home-hero-art { position:relative; display:flex; align-items:flex-end; min-width:0; padding:18px 24px; background:#172f43; overflow:hidden; }
        .home-hero-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 35%; }
        .home-hero-art::after { position:absolute; inset:0; content:""; background:linear-gradient(90deg,rgba(5,15,25,.05) 35%,rgba(8,19,31,.88) 100%),linear-gradient(0deg,rgba(4,12,20,.64),transparent 58%); }
        .home-hero-art-title { position:relative; z-index:1; max-width:85%; color:#fff; font-size:clamp(1.35rem,3.2vw,2.65rem); font-weight:900; line-height:1.04; text-shadow:0 3px 12px rgba(0,0,0,.65); }
        .home-hero-copy { display:flex; flex-direction:column; justify-content:center; min-width:0; padding:20px clamp(18px,3vw,38px); color:#fff; background:linear-gradient(125deg,#071e38,#12324c); }
        .home-hero-status { align-self:flex-start; margin-bottom:6px; padding:4px 8px; border-radius:4px; color:#fff; background:#19bf74; font-size:.62rem; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }
        .home-hero-badges { display:flex; align-items:center; gap:8px; align-self:flex-start; margin-bottom:6px; }
        .home-hero-badges .home-hero-status { margin-bottom:0; }
        .home-hero-badges .adult-badge { padding:4px 8px; font-size:.62rem; font-weight:900; letter-spacing:.04em; }
        .home-hero-title { margin:0 0 6px; color:#fff; font-size:clamp(1.15rem,2.5vw,1.75rem); font-weight:900; line-height:1.15; }
        .home-hero-description { display:-webkit-box; margin:0 0 8px; overflow:hidden; color:#e0e8ef; font-size:clamp(.68rem,1vw,.82rem); line-height:1.45; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3; }
        .home-hero-stats { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 9px; color:#e5ebef; font-size:.68rem; }
        .home-hero-stats strong { color:#ffbd36; }
        .home-hero-author { display:flex; align-items:center; gap:8px; min-width:0; color:#e4edf2; font-size:.68rem; }
        .home-hero-author img { width:28px; height:28px; flex:0 0 28px; object-fit:cover; border:1px solid rgba(255,255,255,.75); border-radius:50%; }
        .home-hero-author span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
        .home-hero-author small { display:block; color:#aebdca; }
        .home-hero-read { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-width:122px; min-height:32px; padding:7px 15px; border:0; border-radius:999px; color:#fff; background:#0099ff; font-size:.7rem; font-weight:800; }
        .home-hero-read:hover { color:#fff; background:#087fd0; }
        .home-hero-copy-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:8px; }
        .home-hero-controls { position:absolute; z-index:2; inset:0; display:flex; align-items:center; justify-content:space-between; pointer-events:none; }
        .home-hero-arrow { display:grid; place-items:center; width:30px; height:30px; margin:0 8px; border:1px solid rgba(255,255,255,.7); border-radius:50%; color:#087fc8; background:#fff; font-size:1.2rem; line-height:1; pointer-events:auto; box-shadow:0 2px 8px rgba(0,0,0,.2); }
        .home-hero-dots { position:absolute; z-index:3; bottom:8px; left:16px; display:flex; gap:4px; }
        .home-hero-dot { width:6px; height:6px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.5); }
        .home-hero-dot.is-active { width:16px; border-radius:5px; background:#fff; }
        .home-series-columns { display:block; margin-bottom:16px; }
        .home-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:18px; align-items:start; margin-bottom:16px; }
        .home-main { min-width:0; }
        .home-layout > aside { display:flex; flex-direction:column; gap:14px; min-width:0; }
        .home-main .home-series-columns { margin:0; padding:10px 12px 4px; background:#fff; border:1px solid #e1e5e8; border-radius:9px; box-shadow:var(--shadow); }
        .home-series-title { margin:0 0 10px; font-size:1.05rem; }
        .creator-slide { display:none !important; }
        .creator-slide.is-active { display:block !important; }
        .creator-dots { display:flex; justify-content:center; gap:5px; margin-top:12px; }
        .creator-dot { width:6px; height:6px; padding:0; border:0; border-radius:50%; background:#c5d0d6; cursor:pointer; }
        .creator-dot.is-active { width:16px; border-radius:5px; background:#0099ff; }
        .new-chapters-carousel .new-chapter-card .comic-cover-wrap, #view-home .new-chapter-card .comic-cover { height:120px; }
        .home-creator-panel .creator-highlight-card { display:block; padding:0; border:0; background:none; box-shadow:none; cursor:pointer; }
        .creator-highlight-main { display:flex; align-items:center; gap:12px; }
        .creator-highlight-card .creator-highlight-avatar { width:64px; height:64px; flex:0 0 64px; border:2px solid #0099ff; border-radius:50%; object-fit:cover; }
        .creator-highlight-name { display:flex; align-items:center; gap:6px; font-size:.95rem; font-weight:800; }
        .creator-highlight-meta small { display:block; margin-top:3px; color:#6f7d86; font-size:.7rem; }
        .creator-verified { display:inline-grid; place-items:center; width:15px; height:15px; border-radius:50%; color:#fff; background:#0099ff; font-size:.55rem; font-style:normal; }
        .creator-highlight-numbers { display:grid; grid-template-columns:repeat(3,1fr); margin:14px 0 12px; padding:10px 0; border-top:1px solid #e6ebee; text-align:center; }
        .creator-highlight-numbers div + div { border-left:1px solid #e6ebee; }
        .creator-highlight-numbers strong { display:block; font-size:1rem; }
        .creator-highlight-numbers span { color:#6f7d86; font-size:.68rem; }
        .creator-follow-btn { width:100%; padding:9px; border:1px solid #0099ff; border-radius:999px; color:#0099ff; background:#fff; font-weight:800; cursor:pointer; }
        .creator-follow-btn:hover { color:#fff; background:#0099ff; }
        body.dark-mode .home-main .home-series-columns { background:var(--bg-panel); border-color:#3b474d; }
        body.dark-mode .creator-follow-btn { background:transparent; }
        body.dark-mode .creator-highlight-numbers, body.dark-mode .creator-highlight-numbers div + div { border-color:#46535a; }
        @media (max-width:900px) { .home-layout { grid-template-columns:1fr; } }
        .home-series-columns > section { width:auto !important; max-width:none !important; }
        .home-series-columns > aside { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:18px; }
        .home-new-chapters-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:7px; }
        #view-home #new-chapters-title { margin:0; font-size:1.05rem; }
        .home-see-all { color:#1689d4; font-size:.68rem; font-weight:700; white-space:nowrap; }
        .home-see-all:hover { color:#006fb3; }
        .new-chapters-carousel { align-items:center; gap:7px; }
        .new-chapters-carousel .new-chapters-grid { gap:8px; padding:2px 1px 8px; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; }
        .new-chapters-carousel .new-chapters-grid::-webkit-scrollbar { display:none; }
        .new-chapters-carousel .new-chapter-card { flex:0 0 calc((100% - 32px) / 5); min-width:104px; overflow:hidden; border:1px solid #e1e7eb; border-radius:7px; background:#fff; box-shadow:0 2px 8px rgba(24,43,52,.06); }
        @media (min-width:901px) { .new-chapters-carousel { width:100%; max-width:none; height:auto; overflow:visible; } }
        .new-chapter-card .comic-cover-wrap { height:120px; }
        #view-home .new-chapter-card .comic-cover { width:100%; height:120px; border-radius:0; object-fit:cover; }
        .new-chapter-badge { top:5px; left:5px; padding:3px 5px; border-radius:3px; font-size:.55rem; }
        .popular-rank-card .comic-cover-wrap { position:relative; }
        .new-chapters-carousel .new-chapters-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); overflow:hidden; }
        .new-chapters-carousel { height:auto !important; overflow:visible !important; }
        .new-chapters-carousel .new-chapter-card { min-width:0; }
        @media (max-width:700px) { .new-chapters-carousel .new-chapters-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
        .popular-rank-number { position:absolute; top:0; left:0; z-index:2; min-width:26px; padding:4px 8px; border-radius:0 0 8px 0; color:#fff; background:var(--cyan); font-size:.95rem; font-weight:900; line-height:1; text-align:center; }
        .popular-rank-card.is-rank-1 { border-color:#d6a52b; box-shadow:0 0 0 1px rgba(214,165,43,.42),0 4px 14px rgba(166,112,12,.18); }
        .popular-rank-card.is-rank-2 { border-color:#aeb8c1; box-shadow:0 0 0 1px rgba(142,154,163,.38),0 4px 14px rgba(92,105,117,.14); }
        .popular-rank-card.is-rank-3 { border-color:#c9803d; box-shadow:0 0 0 1px rgba(201,128,61,.38),0 4px 14px rgba(151,83,31,.14); }
        .popular-rank-card .popular-rank-number.is-top-three { display:inline-flex; align-items:center; justify-content:center; gap:2px; min-width:0; padding:3px 6px; }
        .popular-rank-card.is-rank-1 .popular-rank-number { color:#684707; background:linear-gradient(145deg,#ffe28a,#e5ae2e); }
        .popular-rank-card.is-rank-2 .popular-rank-number { color:#34414b; background:linear-gradient(145deg,#edf1f4,#aeb8c1); }
        .popular-rank-card.is-rank-3 .popular-rank-number { color:#633511; background:linear-gradient(145deg,#f3c08b,#c9803d); }
        .popular-rank-card .popular-rank-crown { width:17px; height:17px; fill:var(--rank-crown-highlight); stroke:var(--rank-crown-outline); stroke-width:1.2; stroke-linejoin:round; }
        .popular-rank-card.is-rank-1 { --rank-crown-highlight:#fff4c2; --rank-crown-outline:#9b690e; }
        .popular-rank-card.is-rank-2 { --rank-crown-highlight:#fff; --rank-crown-outline:#65727c; }
        .popular-rank-card.is-rank-3 { --rank-crown-highlight:#ffe2c4; --rank-crown-outline:#8c4e22; }
        .popular-rank-info { padding:6px 8px 8px; }
        .popular-rank-info strong { display:block; color:#26343a; font-size:.74rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .popular-rank-info span { display:block; margin-top:3px; color:#7b878e; font-size:.64rem; }
        body.dark-mode .popular-rank-info strong { color:#edf2f3; }
        body.dark-mode .popular-rank-info span { color:#b5c0c4; }
        .new-chapter-info { min-width:0; padding:6px 7px 7px; }
        .new-chapter-title { display:block; overflow:hidden; color:#27343a; font-size:.63rem; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }
        .new-chapter-subtitle { display:block; margin-top:2px; overflow:hidden; color:#84919a; font-size:.56rem; text-overflow:ellipsis; white-space:nowrap; }
        .new-chapter-meta { display:flex; align-items:center; justify-content:space-between; gap:4px; margin-top:4px; color:#76838b; font-size:.56rem; white-space:nowrap; }
        .new-chapter-meta strong { color:#f0a51b; font-weight:800; }
        .new-chapters-arrow { flex-basis:22px; width:22px; height:22px; padding:0; border:0; border-radius:50%; font-size:1.12rem; }
        .home-featured-panel, .home-creator-panel { margin-top:0; padding:10px; border-radius:7px; }
        .home-featured-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px; }
        .home-featured-panel .home-featured-heading .section-title { margin:0; font-size:1rem; }
        #home-featured-stories { max-height:none; overflow:visible; padding:0; }
        .home-featured-story { flex:0 0 auto; gap:12px; padding:9px 4px; }
        .home-featured-story img { width:54px; height:66px; flex:0 0 54px; border-radius:6px; }
        .home-featured-info { flex:1; min-width:0; }
        .home-featured-story strong { display:block; color:#1f2c34; font-size:.82rem; font-weight:800; white-space:normal; overflow-wrap:anywhere; }
        .home-featured-genres { display:flex; flex-wrap:wrap; gap:5px; margin-top:6px; }
        .home-featured-genre { padding:2px 8px; border-radius:4px; color:#4f6272; background:#eaf1f8; font-size:.6rem; }
        .home-featured-stats { display:flex; align-items:center; gap:12px; margin-top:7px; color:#5f6f7a; font-size:.7rem; font-weight:700; }
        .home-featured-rating { color:#f0a51b; }
        .home-featured-chevron { flex:0 0 auto; color:#0099ff; font-size:1.3rem; line-height:1; }
        body.dark-mode .home-featured-genre { color:#d9e3e5; background:#303a40; }
        body.dark-mode .home-featured-stats { color:#b5c0c4; }
        body.dark-mode .home-hero { border-color:#39464c; }
        body.dark-mode .home-hero-arrow { color:var(--cyan); background:#1b2126; border-color:#46535a; box-shadow:0 2px 8px rgba(0,0,0,.45); }
        body.dark-mode .home-hero-arrow:hover { color:#101018; background:var(--cyan); border-color:var(--cyan); }
        body.dark-mode .home-hero-read { color:#fff; background:var(--cyan); }
        body.dark-mode .home-hero-read:hover { color:#fff; background:#6fe0b0; }
        body.dark-mode .home-hero-dot.is-active { background:var(--cyan); }
        body.dark-mode .new-chapters-carousel .new-chapter-card { border-color:#46535a; background:#22282d; }
        body.dark-mode .new-chapter-title { color:#edf2f3; }
        body.dark-mode .home-see-all { color:#49b5ff; }
        @media (max-width:700px) {
            #view-home > .container { width:94%; padding-top:10px; }
            .home-hero { grid-template-columns:minmax(0,1fr) minmax(0,1fr); min-height:190px; }
            .home-hero-art { padding:12px; }
            .home-hero-copy { padding:12px; }
            .home-hero-description { -webkit-line-clamp:2; line-clamp:2; }
            .home-hero-author { display:none; }
            .home-hero-copy-footer { margin-top:5px; }
            .home-series-columns > aside { grid-template-columns:1fr; }
            .new-chapters-carousel .new-chapter-card { flex-basis:calc((100% - 24px) / 3); min-width:100px; }
            .new-chapters-arrow { flex-basis:20px; width:20px; height:20px; }
        }
        @media (max-width:420px) {
            .home-hero { min-height:172px; }
            .home-hero-title { font-size:1rem; }
            .home-hero-description { font-size:.64rem; }
            .home-hero-stats { gap:5px; font-size:.61rem; }
            .home-hero-read { min-width:0; min-height:29px; padding:6px 10px; font-size:.62rem; }
            .home-hero-arrow { width:26px; height:26px; }
            .new-chapters-carousel .new-chapter-card { flex-basis:calc((100% - 16px) / 2); }
        }
        .reader-music-box { position:fixed; z-index:950; left:50%; right:auto; bottom:20px; display:grid; grid-template-columns:minmax(190px,1.15fr) auto minmax(210px,1.5fr) minmax(105px,.7fr); align-items:center; gap:18px; width:min(1000px,calc(100% - 40px)); min-width:0; max-width:none; padding:13px 18px; border:1px solid rgba(140,166,180,.24); border-radius:18px; color:#26343a; background:rgba(255,255,255,.94); box-shadow:0 14px 42px rgba(24,45,58,.18); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); transform:translateX(-50%); }
        .music-track { display:flex; align-items:center; gap:11px; min-width:0; }
        .music-artwork { display:grid; flex:0 0 42px; width:42px; height:42px; place-items:center; border-radius:12px; color:#fff; background:linear-gradient(145deg,var(--cyan),color-mix(in srgb,var(--cyan) 56%,#3c4c67)); box-shadow:0 5px 12px color-mix(in srgb,var(--cyan) 28%,transparent); }
        .music-artwork .material-symbols-rounded { font-size:23px; }
        .music-track-meta { display:grid; min-width:0; gap:3px; }
        .music-eyebrow { color:#8998a1; font-size:.58rem; font-weight:800; letter-spacing:.12em; }
        .reader-music-box select { width:100%; min-width:0; max-width:none; padding:0 18px 0 0; overflow:hidden; border:0; color:#26343a; background-color:transparent; font:inherit; font-size:.78rem; font-weight:750; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; }
        .reader-music-box select:focus-visible { outline:2px solid var(--cyan); outline-offset:3px; border-radius:3px; }
        .music-transport { display:flex; align-items:center; justify-content:center; gap:8px; }
        .reader-music-box .music-control { display:grid; flex:0 0 36px; width:36px; height:36px; place-items:center; padding:0; border:1px solid transparent; border-radius:50%; color:#64747d; background:transparent; font-size:1rem; cursor:pointer; transition:color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease; }
        .reader-music-box .music-control:hover { color:var(--cyan); background:color-mix(in srgb,var(--cyan) 10%,transparent); transform:translateY(-1px); }
        .reader-music-box .music-control:focus-visible { outline:3px solid color-mix(in srgb,var(--cyan) 38%,transparent); outline-offset:2px; }
        .reader-music-box .music-control .material-symbols-rounded { font-size:21px; }
        .reader-music-box .music-control.music-play { flex-basis:44px; width:44px; height:44px; color:#fff; background:var(--cyan); box-shadow:0 5px 13px color-mix(in srgb,var(--cyan) 32%,transparent); }
        .reader-music-box .music-control.music-play:hover { color:#fff; background:color-mix(in srgb,var(--cyan) 84%,#111); transform:scale(1.05); }
        .music-timeline { display:flex; align-items:center; gap:9px; min-width:0; }
        .reader-music-box .music-time { flex:0 0 34px; color:#84929a; font-size:.65rem; font-variant-numeric:tabular-nums; text-align:center; }
        .reader-music-box .music-progress, .reader-music-box .music-volume { width:100%; min-width:0; height:4px; margin:0; border-radius:99px; accent-color:var(--cyan); cursor:pointer; }
        .music-volume-control { display:flex; align-items:center; gap:7px; min-width:0; }
        .reader-music-box .music-volume-button { flex:0 0 30px; width:30px; height:30px; color:#71818a; }
        .reader-music-box .music-volume-button .material-symbols-rounded { font-size:20px; }
        .reader-music-box audio { display:none; }
        body.dark-mode .reader-music-box { color:var(--white); background:rgba(34,40,45,.94); border-color:rgba(126,148,158,.25); box-shadow:0 14px 42px rgba(0,0,0,.4); }
        body.dark-mode .music-eyebrow, body.dark-mode .reader-music-box .music-time { color:#9aa8ad; }
        body.dark-mode .reader-music-box select { color:var(--white); }
        body.dark-mode .reader-music-box .music-control { color:#c1cbcf; }
        body.dark-mode .reader-music-box .music-control:hover { color:var(--cyan); background:color-mix(in srgb,var(--cyan) 12%,transparent); }
        body.dark-mode .reader-music-box .music-control.music-play,
        body.dark-mode .reader-music-box .music-control.music-play:hover { color:#101820; background:var(--cyan); }
        @media (max-width:700px) {
            .reader-music-box { left:10px; right:10px; bottom:max(10px,env(safe-area-inset-bottom)); grid-template-columns:minmax(0,1fr) auto; gap:9px 14px; width:auto; padding:11px 13px; border-radius:16px; transform:none; }
            .music-track { grid-column:1 / -1; }
            .music-artwork { flex-basis:36px; width:36px; height:36px; border-radius:10px; }
            .music-transport { justify-content:flex-start; gap:3px; }
            .reader-music-box .music-control { flex-basis:32px; width:32px; height:32px; }
            .reader-music-box .music-control.music-play { flex-basis:40px; width:40px; height:40px; }
            .music-volume-control { justify-self:end; }
            .reader-music-box .music-volume { width:78px; }
            .music-timeline { grid-column:1 / -1; }
        }
        @media (max-width:380px) {
            .reader-music-box { gap:8px 9px; padding:10px; }
            .music-eyebrow { font-size:.54rem; }
            .reader-music-box .music-volume { width:58px; }
            .reader-music-box .music-time { flex-basis:30px; font-size:.61rem; }
        }
        .reader-music-toggle {
            position:fixed;
            z-index:951;
            left:50%;
            bottom:16px;
            display:inline-flex;
            align-items:center;
            justify-content:center;
            gap:7px;
            min-height:42px;
            padding:9px 16px;
            border:1px solid var(--cyan);
            border-radius:999px;
            color:#fff;
            background:var(--cyan);
            box-shadow:0 6px 18px rgba(24,45,58,.22);
            font-family:inherit;
            font-size:.74rem;
            font-weight:700;
            cursor:pointer;
            transform:translateX(-50%);
        }
        .reader-music-toggle .material-symbols-rounded { font-size:19px; }
        .reader-music-toggle:hover { filter:brightness(.94); }
        .reader-music-toggle:focus-visible { outline:3px solid color-mix(in srgb,var(--cyan) 45%,transparent); outline-offset:3px; }
        .reader-music-box[hidden] { display:none !important; }
        .reader-music-box:not([hidden]) { bottom:70px; }
        @media (max-width:700px) {
            .reader-music-toggle { bottom:max(12px,env(safe-area-inset-bottom)); }
            .reader-music-box:not([hidden]) { bottom:calc(max(12px,env(safe-area-inset-bottom)) + 56px); }
        }
        body.dark-mode .reader-music-toggle { color:#101820; }
        .creator-feed-card button:not(.comment-user-link):not(.creator-feed-gallery-arrow):not(.creator-feed-gallery-zoom) {
            font-family:inherit;
            transition:color .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
        }
        .creator-feed-card button:not(.comment-user-link):focus-visible,
        .creator-feed-card .comment-user-link:focus-visible,
        .creator-feed-image-viewer-toolbar button:focus-visible {
            outline:3px solid rgba(8,119,235,.28);
            outline-offset:2px;
        }
        .creator-feed-card .creator-feed-composer-actions > .btn:not(.btn-outline),
        .creator-feed-card .creator-post-actions .btn:not(.btn-outline),
        .creator-feed-card .creator-feed-comment-edit-actions .btn:not(.btn-outline),
        .creator-feed-card .creator-post-comment-form > .btn:not(.btn-outline),
        .creator-feed-card .comment-reply-submit {
            display:inline-flex;
            align-items:center;
            justify-content:center;
            min-height:36px;
            padding:8px 16px;
            border:1px solid transparent;
            border-radius:10px;
            color:#fff !important;
            -webkit-text-fill-color:#fff !important;
            background:#0099ff;
            background-image:none;
            box-shadow:0 4px 10px rgba(8,119,235,.18);
            font-size:.72rem;
            font-weight:800;
            cursor:pointer;
        }
        .creator-feed-card .creator-feed-composer-actions > .btn:not(.btn-outline):hover,
        .creator-feed-card .creator-post-actions .btn:not(.btn-outline):hover,
        .creator-feed-card .creator-feed-comment-edit-actions .btn:not(.btn-outline):hover,
        .creator-feed-card .creator-post-comment-form > .btn:not(.btn-outline):hover,
        .creator-feed-card .comment-reply-submit:hover {
            color:#fff !important;
            -webkit-text-fill-color:#fff !important;
            background:#087fd0;
            background-image:none;
            box-shadow:0 6px 14px rgba(8,119,235,.25);
            transform:translateY(-1px);
        }
        .creator-feed-card .creator-feed-composer-actions > .btn-outline,
        .creator-feed-card .creator-post-actions .btn-outline,
        .creator-feed-card .creator-feed-comment-edit-actions .btn-outline {
            border-color:#d7e3ed;
            color:#536477;
            background:#f5f8fb;
            box-shadow:none;
        }
        .creator-feed-card .creator-feed-composer-actions > .btn-outline:hover,
        .creator-feed-card .creator-post-actions .btn-outline:hover,
        .creator-feed-card .creator-feed-comment-edit-actions .btn-outline:hover {
            color:#0877eb;
            background:#eaf5ff;
            border-color:#acd4fa;
        }
        .creator-feed-card .creator-feed-image-picker {
            width:40px;
            height:38px;
            min-height:38px;
            border:1px solid #d7e3ed;
            border-radius:11px;
            color:#0877eb;
            background:#f5f8fb;
            transition:color .16s ease,background-color .16s ease,border-color .16s ease,transform .16s ease;
        }
        .creator-feed-card .creator-feed-image-picker:hover {
            color:#fff;
            border-color:#0877eb;
            background:#0877eb;
            transform:translateY(-1px);
        }
        .creator-feed-card .creator-feed-post-edit,
        .creator-feed-card .creator-feed-comment-edit,
        .creator-feed-card .comment-replies-button,
        .creator-feed-card .comment-vote-button,
        .creator-feed-card .comment-more-button {
            border:1px solid #d7e3ed;
            border-radius:9px;
            color:#536477;
            background:#f5f8fb;
        }
        .creator-feed-card .creator-feed-post-edit,
        .creator-feed-card .creator-feed-comment-edit {
            padding:7px 12px;
            color:#0877eb;
            font-size:.68rem;
            font-weight:800;
        }
        .creator-feed-card .creator-feed-post-edit:hover,
        .creator-feed-card .creator-feed-comment-edit:hover,
        .creator-feed-card .comment-replies-button:hover,
        .creator-feed-card .comment-vote-button:hover,
        .creator-feed-card .comment-more-button:hover {
            border-color:#acd4fa;
            color:#0877eb;
            background:#eaf5ff;
        }
        .creator-feed-card .creator-feed-post-reaction {
            min-width:44px;
            min-height:32px;
            padding:5px 10px;
            border:1px solid #d7e3ed;
            border-radius:999px;
            color:#536477;
            background:#f5f8fb;
            font-size:.73rem;
            font-weight:700;
        }
        .creator-feed-card .creator-feed-post-reaction:hover,
        .creator-feed-card .creator-feed-post-reaction.is-selected {
            border-color:#83c4fa;
            color:#0877eb;
            background:#eaf5ff;
            transform:translateY(-1px);
        }
        .creator-feed-card .creator-feed-post-actions {
            gap:8px;
            padding:10px 12px;
        }
        .creator-feed-card .creator-feed-action {
            min-height:34px;
            padding:7px 11px;
            border:1px solid transparent;
            border-radius:999px;
            color:#536477;
            background:#f5f8fb;
            font-size:.7rem;
            font-weight:700;
        }
        .creator-feed-card .creator-feed-action:hover,
        .creator-feed-card .creator-feed-action.is-selected {
            border-color:#acd4fa;
            color:#0877eb;
            background:#eaf5ff;
            transform:translateY(-1px);
        }
        .creator-feed-card .creator-feed-action[data-creator-feed-delete]:hover,
        .creator-feed-card .btn-danger[data-creator-feed-comment-delete]:hover {
            border-color:#f3b6bd;
            color:#c83349;
            background:#fff0f2;
        }
        .creator-feed-card .btn-danger[data-creator-feed-comment-delete]:hover {
            border-color:#a61b2b;
            color:#fff;
            -webkit-text-fill-color:#fff;
            background:#a61b2b;
            opacity:1;
            transform:translateY(-1px);
        }
        .creator-feed-card .btn-danger[data-creator-feed-comment-delete]:focus-visible {
            outline:3px solid #1687ff;
            outline-offset:2px;
        }
        .creator-feed-card .creator-feed-action[data-creator-feed-delete] {
            color:#bd4053;
        }
        .creator-feed-card .comment-footer .comment-vote-button,
        .creator-feed-card .creator-feed-reply-votes .comment-vote-button {
            min-width:36px;
            min-height:30px;
            padding:5px 8px;
            border-radius:9px;
            font-size:.68rem;
        }
        .creator-feed-card .comment-vote-button.is-active {
            border-color:#83c4fa;
            color:#0877eb;
            background:#eaf5ff;
        }
        .creator-feed-card .comment-vote-button.is-disliked {
            border-color:#f3b6bd;
            color:#bd4053;
            background:#fff0f2;
        }
        .creator-feed-card .comment-replies-button {
            min-height:30px;
            padding:6px 11px;
            font-size:.68rem;
            font-weight:700;
        }
        .creator-feed-card .comment-more-button {
            display:grid;
            width:32px;
            height:32px;
            place-items:center;
            border-radius:50%;
            font-size:1.1rem;
        }
        .creator-feed-card .comment-report-button {
            min-height:34px;
            padding:7px 10px;
            border-radius:7px;
            color:#bd4053;
            font-size:.7rem;
            font-weight:700;
        }
        .creator-feed-card .comment-report-button:hover {
            color:#bd4053;
            background:#fff0f2;
        }
        .creator-feed-card .creator-feed-gallery-arrow,
        .creator-feed-card .creator-feed-gallery-zoom {
            border:1px solid rgba(255,255,255,.62);
            color:#fff;
            background:rgba(16,31,43,.76);
            box-shadow:0 4px 12px rgba(0,0,0,.2);
            backdrop-filter:blur(8px);
        }
        .creator-feed-card .creator-feed-gallery-arrow:hover,
        .creator-feed-card .creator-feed-gallery-zoom:hover {
            color:#fff;
            background:rgba(8,119,235,.94);
            transform:translateY(-50%) scale(1.05);
        }
        .creator-feed-card .creator-feed-gallery-zoom:hover {
            transform:translate(-50%,-50%) scale(1.05);
        }
        .creator-feed-card .btn-danger[data-creator-feed-comment-delete] {
            align-self:flex-start;
            min-height:32px;
            padding:6px 11px;
            border:1px solid #bd2638;
            border-radius:9px;
            color:#fff;
            -webkit-text-fill-color:#fff;
            background:#bd2638;
            font-size:.68rem;
            font-weight:800;
            cursor:pointer;
            opacity:1;
        }
        .creator-feed-card .comment-user-link {
            color:#0877eb;
            font-weight:700;
        }
        .creator-feed-card .comment-user-link:hover {
            color:#005bbd;
            text-decoration:underline;
        }
        .creator-feed-image-viewer-toolbar button {
            border-color:#d7e3ed;
            border-radius:9px;
            color:#40566a;
            background:#f5f8fb;
            font-weight:700;
        }
        .creator-feed-image-viewer-toolbar button:hover {
            border-color:#acd4fa;
            color:#0877eb;
            background:#eaf5ff;
        }
        .creator-feed-image-viewer-toolbar .creator-feed-image-viewer-close:hover {
            border-color:#f3b6bd;
            color:#bd4053;
            background:#fff0f2;
        }
        body.dark-mode .creator-feed-card .creator-feed-image-picker,
        body.dark-mode .creator-feed-card .creator-feed-post-edit,
        body.dark-mode .creator-feed-card .creator-feed-comment-edit,
        body.dark-mode .creator-feed-card .comment-replies-button,
        body.dark-mode .creator-feed-card .comment-vote-button,
        body.dark-mode .creator-feed-card .comment-more-button,
        body.dark-mode .creator-feed-card .creator-feed-post-reaction,
        body.dark-mode .creator-feed-card .creator-feed-action,
        body.dark-mode .creator-feed-image-viewer-toolbar button {
            border-color:#46535a;
            color:#c6d2d6;
            background:#293137;
        }
        body.dark-mode .creator-feed-card .creator-feed-post-edit,
        body.dark-mode .creator-feed-card .creator-feed-comment-edit {
            color:#86c6ff;
        }
        body.dark-mode .creator-feed-card .creator-feed-image-picker:hover,
        body.dark-mode .creator-feed-card .creator-feed-post-edit:hover,
        body.dark-mode .creator-feed-card .creator-feed-comment-edit:hover,
        body.dark-mode .creator-feed-card .comment-replies-button:hover,
        body.dark-mode .creator-feed-card .comment-vote-button:hover,
        body.dark-mode .creator-feed-card .comment-more-button:hover,
        body.dark-mode .creator-feed-card .creator-feed-post-reaction:hover,
        body.dark-mode .creator-feed-card .creator-feed-post-reaction.is-selected,
        body.dark-mode .creator-feed-card .creator-feed-action:hover,
        body.dark-mode .creator-feed-card .creator-feed-action.is-selected,
        body.dark-mode .creator-feed-image-viewer-toolbar button:hover {
            border-color:#4a9de8;
            color:#a9d8ff;
            background:#203b50;
        }
        body.dark-mode .creator-feed-card .creator-feed-action[data-creator-feed-delete] {
            color:#ff9da7;
        }
        body.dark-mode .creator-feed-card .creator-feed-action[data-creator-feed-delete]:hover,
        body.dark-mode .creator-feed-card .btn-danger[data-creator-feed-comment-delete],
        body.dark-mode .creator-feed-card .btn-danger[data-creator-feed-comment-delete]:hover,
        body.dark-mode .creator-feed-card .comment-vote-button.is-disliked,
        body.dark-mode .creator-feed-card .comment-report-button:hover,
        body.dark-mode .creator-feed-image-viewer-toolbar .creator-feed-image-viewer-close:hover {
            border-color:#75464c;
            color:#ffadb5;
            background:#38272a;
        }
        body.dark-mode .creator-feed-card .btn-danger[data-creator-feed-comment-delete] {
            border-color:#a83a47;
            color:#fff;
            -webkit-text-fill-color:#fff;
            background:#a83a47;
        }
        body.dark-mode .creator-feed-card .btn-danger[data-creator-feed-comment-delete]:hover {
            border-color:#c94b59;
            color:#fff;
            -webkit-text-fill-color:#fff;
            background:#c94b59;
        }
        body.dark-mode .creator-feed-card .comment-vote-button.is-active {
            border-color:#4a9de8;
            color:#a9d8ff;
            background:#203b50;
        }

        body.dark-mode .creator-feed-card .comment-report-button {
            color:#ff9da7;
        }
        body.dark-mode .creator-feed-card .comment-user-link {
            color:#86c6ff;
        }
        body.dark-mode .creator-feed-card .comment-user-link:hover {
            color:#b5ddff;
        }
        body.dark-mode .creator-feed-card .creator-feed-gallery-arrow,
        body.dark-mode .creator-feed-card .creator-feed-gallery-zoom {
            border-color:rgba(255,255,255,.62);
            color:#fff;
            background:rgba(16,31,43,.82);
        }
        body.dark-mode .creator-feed-card .creator-feed-gallery-arrow:hover,
        body.dark-mode .creator-feed-card .creator-feed-gallery-zoom:hover {
            color:#fff;
            background:rgba(8,119,235,.94);
        }
        @media (max-width:520px) {
            .creator-feed-card .creator-feed-post-actions { gap:6px; }
            .creator-feed-card .creator-feed-action { padding:7px 9px; font-size:.66rem; }
            .creator-feed-card .creator-feed-composer-actions { align-items:flex-start; flex-direction:column; }
            .creator-feed-card .creator-feed-composer-actions > .btn { align-self:flex-end; }
            .creator-feed-card .creator-post-comment-form { gap:7px; }
            .creator-feed-card .creator-post-comment-form > .btn { padding:9px 12px; }
        }
        #view-profile .creator-profile-shell button,
        #view-profile .profile-settings-panel button,
        #view-profile #creator-notifications-card button,

        #view-admin .profile-settings-panel button {
            font-family:inherit;
            transition:color .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
        }
        #view-profile .creator-profile-shell button:focus-visible,
        #view-profile .profile-settings-panel button:focus-visible,
        #view-profile #creator-notifications-card button:focus-visible,

        #view-admin .profile-settings-panel button:focus-visible {
            outline:3px solid rgba(8,119,235,.28);
            outline-offset:2px;
        }
        #view-profile .creator-profile-actions > .btn:not(.btn-outline):not(.admin-featured-creator-btn),
        #view-profile .creator-profile-topbar > .btn:not(.btn-outline),
        #view-profile .creator-profile-customize-actions > .btn:not(.btn-outline),
        #view-profile .profile-settings-panel .profile-settings-actions > .btn:not(.btn-outline),
        #view-profile .profile-settings-panel .security-password-actions > .btn:not(.btn-outline),
        #view-profile [data-profile-panel-content="admin"] .admin-panel .btn:not(.btn-outline),
        #view-profile .profile-settings-panel .chapter-review-actions > .btn:not(.btn-outline),
        #view-profile .profile-settings-panel .chapter-review-actions > button:not(.btn-outline),

        #view-admin .profile-settings-panel .profile-settings-actions > .btn:not(.btn-outline),

        #view-admin .profile-settings-panel .security-password-actions > .btn:not(.btn-outline),

        #view-admin [data-admin-section] .admin-panel .btn:not(.btn-outline),

        #view-admin .profile-settings-panel .chapter-review-actions > .btn:not(.btn-outline),

        #view-admin .profile-settings-panel .chapter-review-actions > button:not(.btn-outline) {
            display:inline-flex;
            align-items:center;
            justify-content:center;
            min-height:38px;
            padding:9px 16px;
            border:1px solid transparent;
            border-radius:10px;
            color:#fff !important;
            -webkit-text-fill-color:#fff !important;
            background:#0099ff;
            background-image:none;
            box-shadow:0 4px 10px rgba(8,119,235,.18);
            font-size:.72rem;
            font-weight:800;
            cursor:pointer;
        }
        #view-profile .creator-profile-actions > .btn:not(.btn-outline):hover,
        #view-profile .creator-profile-topbar > .btn:not(.btn-outline):hover,
        #view-profile .creator-profile-customize-actions > .btn:not(.btn-outline):hover,
        #view-profile .profile-settings-panel .profile-settings-actions > .btn:not(.btn-outline):hover,
        #view-profile .profile-settings-panel .security-password-actions > .btn:not(.btn-outline):hover,
        #view-profile [data-profile-panel-content="admin"] .admin-panel .btn:not(.btn-outline):hover,
        #view-profile .profile-settings-panel .chapter-review-actions > .btn:not(.btn-outline):hover:not(:disabled),
        #view-profile .profile-settings-panel .chapter-review-actions > button:not(.btn-outline):hover:not(:disabled),

        #view-admin .profile-settings-panel .profile-settings-actions > .btn:not(.btn-outline):hover,

        #view-admin .profile-settings-panel .security-password-actions > .btn:not(.btn-outline):hover,

        #view-admin [data-admin-section] .admin-panel .btn:not(.btn-outline):hover,

        #view-admin .profile-settings-panel .chapter-review-actions > .btn:not(.btn-outline):hover:not(:disabled),

        #view-admin .profile-settings-panel .chapter-review-actions > button:not(.btn-outline):hover:not(:disabled) {
            color:#fff !important;
            -webkit-text-fill-color:#fff !important;
            background:#087fd0;
            background-image:none;
            box-shadow:0 6px 14px rgba(8,119,235,.25);
            transform:translateY(-1px);
        }
        #view-profile .creator-profile-actions > .btn-outline,
        #view-profile .creator-profile-customize-actions > .btn-outline,
        #view-profile .profile-settings-panel .profile-settings-actions > .btn-outline,
        #view-profile .profile-settings-panel .security-password-actions > .btn-outline,
        #view-profile [data-profile-panel-content="admin"] .admin-panel .btn-outline,
        #view-profile .profile-settings-panel .chapter-review-actions > .btn-outline,

        #view-admin .profile-settings-panel .profile-settings-actions > .btn-outline,

        #view-admin .profile-settings-panel .security-password-actions > .btn-outline,

        #view-admin [data-admin-section] .admin-panel .btn-outline,

        #view-admin .profile-settings-panel .chapter-review-actions > .btn-outline {
            border-color:#d7e3ed;
            color:#536477;
            background:#f5f8fb;
            box-shadow:none;
        }
        #view-profile .creator-profile-actions > .btn-outline:hover,
        #view-profile .creator-profile-customize-actions > .btn-outline:hover,
        #view-profile .profile-settings-panel .profile-settings-actions > .btn-outline:hover,
        #view-profile .profile-settings-panel .security-password-actions > .btn-outline:hover,
        #view-profile [data-profile-panel-content="admin"] .admin-panel .btn-outline:hover,
        #view-profile .profile-settings-panel .chapter-review-actions > .btn-outline:hover,

        #view-admin .profile-settings-panel .profile-settings-actions > .btn-outline:hover,

        #view-admin .profile-settings-panel .security-password-actions > .btn-outline:hover,

        #view-admin [data-admin-section] .admin-panel .btn-outline:hover,

        #view-admin .profile-settings-panel .chapter-review-actions > .btn-outline:hover {
            border-color:#acd4fa;
            color:#0877eb;
            background:#eaf5ff;
        }
        #view-profile .creator-profile-content-layout .creator-notifications-open {
            border-radius:10px;
            transition:color .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
        }
        #view-profile .creator-profile-content-layout .creator-notifications-open:hover {
            border-color:#acd4fa;
            color:#0877eb;
            background:#eaf5ff;
            box-shadow:0 4px 12px rgba(8,119,235,.1);
            transform:translateY(-1px);
        }
        #view-profile .creator-profile-actions .admin-featured-creator-btn.visible {
            min-height:36px;
            border-radius:10px;
        }
        #view-profile .creator-profile-banner-change,
        #view-profile .creator-avatar-change,
        #view-profile .admin-profile-settings-trigger,
        #view-profile .admin-settings-return,

        #view-admin .admin-profile-settings-trigger {
            border:1px solid #d7e3ed;
            border-radius:10px;
            color:#40566a;
            background:#f5f8fb;
            font-weight:800;
            cursor:pointer;
        }
        #view-profile .creator-profile-banner-change:hover,
        #view-profile .creator-avatar-change:hover,
        #view-profile .admin-profile-settings-trigger:hover,
        #view-profile .admin-profile-settings-trigger[aria-expanded="true"],
        #view-profile .admin-settings-return:hover,

        #view-admin .admin-profile-settings-trigger:hover,

        #view-admin .admin-profile-settings-trigger[aria-expanded="true"] {
            border-color:#acd4fa;
            color:#0877eb;
            background:#eaf5ff;
            transform:translateY(-1px);
        }
        #view-profile .admin-profile-settings-dropdown button,
        #view-profile .profile-settings-nav button,

        #view-admin .admin-profile-settings-dropdown button,

        #view-admin .profile-settings-nav button {
            min-height:40px;
            border:1px solid transparent;
            border-radius:9px;
            font-weight:700;
        }
        #view-profile .admin-profile-settings-dropdown button:hover,
        #view-profile .admin-profile-settings-dropdown button.is-current,
        #view-profile .profile-settings-nav button:hover,

        #view-admin .admin-profile-settings-dropdown button:hover,

        #view-admin .admin-profile-settings-dropdown button.is-current,

        #view-admin .profile-settings-nav button:hover {
            border-color:#d7e3ed;
            color:#0877eb;
            background:#eaf5ff;
            transform:translateX(2px);
        }
        #view-profile .admin-profile-settings-dropdown button.is-current,
        #view-profile .profile-settings-nav button.active,

        #view-admin .admin-profile-settings-dropdown button.is-current,

        #view-admin .profile-settings-nav button.active {
            border-color:#acd4fa;
            color:#0877eb;
            background:#eaf5ff;
        }
        #view-profile.is-admin-own-profile .admin-settings-return {
            min-height:36px;
            border-radius:10px;
        }
        #view-profile.is-admin-own-profile .admin-settings-return:hover {
            transform:translateY(-1px);
        }
        body:not(.dark-mode) #view-profile .profile-settings-nav button:hover,
        body:not(.dark-mode) #view-profile .profile-settings-nav button.active,

        body:not(.dark-mode) #view-admin .profile-settings-nav button:hover,

        body:not(.dark-mode) #view-admin .profile-settings-nav button.active {
            border-radius:10px;
            border-color:#acd4fa;
            color:#0877eb;
            background:#eaf5ff;
        }
        #view-profile [data-profile-panel-content="admin"] #admin-categories-list .badge span,

        #view-admin [data-admin-section] #admin-categories-list .badge span {
            display:inline-grid;
            width:21px;
            height:21px;
            place-items:center;
            margin-left:7px !important;
            border-radius:50%;
            color:#bd4053 !important;
            background:#fff0f2;
            cursor:pointer;
            transition:color .16s ease,background-color .16s ease,transform .16s ease;
        }
        #view-profile [data-profile-panel-content="admin"] #admin-categories-list .badge span:hover,

        #view-admin [data-admin-section] #admin-categories-list .badge span:hover {
            color:#fff !important;
            background:#c83349;
            transform:scale(1.08);
        }
        #view-profile [data-profile-panel-content="admin"] .admin-music-delete,

        #view-admin [data-admin-section] .admin-music-delete {
            border-radius:9px;
            box-shadow:none;
        }
        #view-profile [data-profile-panel-content="admin"] .admin-music-delete:hover:not(:disabled),

        #view-admin [data-admin-section] .admin-music-delete:hover:not(:disabled) {
            transform:translateY(-1px);
            box-shadow:0 4px 10px rgba(200,51,73,.18);
        }
        #view-profile .creator-profile-content-layout #creator-notifications-card .creator-feed-notification-controls button {
            width:34px;
            height:32px;
            border:1px solid #d7e3ed;
            border-radius:9px;
            color:#0877eb;
            background:#f5f8fb;
            font-size:1.1rem;
            font-weight:800;
        }
        #view-profile .creator-profile-content-layout #creator-notifications-card .creator-feed-notification-controls button:hover:not(:disabled) {
            border-color:#acd4fa;
            color:#0877eb;
            background:#eaf5ff;
            transform:translateY(-1px);
        }
        #view-profile .creator-profile-content-layout #creator-notifications-card .creator-feed-notification-controls button:disabled,
        #view-profile .profile-settings-panel button:disabled,

        #view-admin .profile-settings-panel button:disabled {
            opacity:.5;
            cursor:not-allowed;
            transform:none;
            box-shadow:none;
        }
        #view-profile .profile-settings-panel .chapter-review-actions,

        #view-admin .profile-settings-panel .chapter-review-actions {
            gap:10px;
        }
        #view-profile .profile-settings-panel .chapter-review-actions > [data-review-action="deactivate"],
        #view-profile .profile-settings-panel .chapter-review-actions > [data-adult-removal-action="reject"],
        #view-profile .profile-settings-panel .chapter-review-actions > [data-chapter-adult-action="reject"],

        #view-admin .profile-settings-panel .chapter-review-actions > [data-review-action="deactivate"],

        #view-admin .profile-settings-panel .chapter-review-actions > [data-adult-removal-action="reject"],

        #view-admin .profile-settings-panel .chapter-review-actions > [data-chapter-adult-action="reject"] {
            border-color:#f0c3c8;
            color:#bd4053;
            background:#fff5f6;
            box-shadow:none;
        }
        #view-profile .profile-settings-panel .chapter-review-actions > [data-review-action="deactivate"]:hover:not(:disabled),
        #view-profile .profile-settings-panel .chapter-review-actions > [data-adult-removal-action="reject"]:hover:not(:disabled),
        #view-profile .profile-settings-panel .chapter-review-actions > [data-chapter-adult-action="reject"]:hover:not(:disabled),

        #view-admin .profile-settings-panel .chapter-review-actions > [data-review-action="deactivate"]:hover:not(:disabled),

        #view-admin .profile-settings-panel .chapter-review-actions > [data-adult-removal-action="reject"]:hover:not(:disabled),

        #view-admin .profile-settings-panel .chapter-review-actions > [data-chapter-adult-action="reject"]:hover:not(:disabled) {
            border-color:#c83349;
            color:#fff;
            background:#c83349;
            box-shadow:0 5px 12px rgba(200,51,73,.2);
        }
        body:not(.dark-mode) #view-profile .profile-settings-panel .chapter-review-actions > .btn-outline[data-review-action="deactivate"],
        body:not(.dark-mode) #view-profile .profile-settings-panel .chapter-review-actions > .btn-outline[data-adult-removal-action="reject"],
        body:not(.dark-mode) #view-profile .profile-settings-panel .chapter-review-actions > .btn-outline[data-chapter-adult-action="reject"],

        body:not(.dark-mode) #view-admin .profile-settings-panel .chapter-review-actions > .btn-outline[data-review-action="deactivate"],

        body:not(.dark-mode) #view-admin .profile-settings-panel .chapter-review-actions > .btn-outline[data-adult-removal-action="reject"],

        body:not(.dark-mode) #view-admin .profile-settings-panel .chapter-review-actions > .btn-outline[data-chapter-adult-action="reject"] {
            color:#bd4053 !important;
            -webkit-text-fill-color:#bd4053 !important;
        }
        #view-profile .profile-settings-panel .chapter-review-image-zoom,

        #view-admin .profile-settings-panel .chapter-review-image-zoom {
            overflow:hidden;
            border:1px solid #d7e3ed;
            border-radius:9px;
            background:#20252b;
            box-shadow:0 2px 8px rgba(24,45,58,.12);
        }
        #view-profile .profile-settings-panel .chapter-review-image-zoom:hover,

        #view-admin .profile-settings-panel .chapter-review-image-zoom:hover {
            border-color:#0877eb;
            box-shadow:0 5px 14px rgba(8,119,235,.2);
            transform:translateY(-1px);
        }
        #view-profile .creator-profile-customize-dialog button {
            font-family:inherit;
        }
        body.dark-mode .creator-feed-card .creator-feed-composer-actions > .btn:not(.btn-outline),
        body.dark-mode .creator-feed-card .creator-post-actions .btn:not(.btn-outline),
        body.dark-mode .creator-feed-card .creator-feed-comment-edit-actions .btn:not(.btn-outline),
        body.dark-mode .creator-feed-card .creator-post-comment-form > .btn:not(.btn-outline),
        body.dark-mode .creator-feed-card .comment-reply-submit,
        body.dark-mode #view-profile .creator-profile-actions > .btn:not(.btn-outline),
        body.dark-mode #view-profile .creator-profile-topbar > .btn:not(.btn-outline),
        body.dark-mode #view-profile .creator-profile-customize-actions > .btn:not(.btn-outline),
        body.dark-mode #view-profile .profile-settings-panel .profile-settings-actions > .btn:not(.btn-outline),
        body.dark-mode #view-profile .profile-settings-panel .security-password-actions > .btn:not(.btn-outline),
        body.dark-mode #view-profile [data-profile-panel-content="admin"] .admin-panel .btn:not(.btn-outline),
        body.dark-mode #view-profile .profile-settings-panel .chapter-review-actions > .btn:not(.btn-outline):not(.btn-danger):not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]),
        body.dark-mode #view-profile .profile-settings-panel .chapter-review-actions > button:not(.btn-outline):not(.btn-danger):not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]),

        body.dark-mode #view-admin .profile-settings-panel .profile-settings-actions > .btn:not(.btn-outline),

        body.dark-mode #view-admin .profile-settings-panel .security-password-actions > .btn:not(.btn-outline),

        body.dark-mode #view-admin [data-admin-section] .admin-panel .btn:not(.btn-outline),

        body.dark-mode #view-admin .profile-settings-panel .chapter-review-actions > .btn:not(.btn-outline):not(.btn-danger):not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]),

        body.dark-mode #view-admin .profile-settings-panel .chapter-review-actions > button:not(.btn-outline):not(.btn-danger):not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]) {
            background:#45d597;
            border-color:#45d597;
            box-shadow:0 4px 10px rgba(69,213,151,.22);
        }
        body.dark-mode .creator-feed-card .creator-feed-composer-actions > .btn:not(.btn-outline):hover,
        body.dark-mode .creator-feed-card .creator-post-actions .btn:not(.btn-outline):hover,
        body.dark-mode .creator-feed-card .creator-feed-comment-edit-actions .btn:not(.btn-outline):hover,
        body.dark-mode .creator-feed-card .creator-post-comment-form > .btn:not(.btn-outline):hover,
        body.dark-mode .creator-feed-card .comment-reply-submit:hover,
        body.dark-mode #view-profile .creator-profile-actions > .btn:not(.btn-outline):hover,
        body.dark-mode #view-profile .creator-profile-topbar > .btn:not(.btn-outline):hover,
        body.dark-mode #view-profile .creator-profile-customize-actions > .btn:not(.btn-outline):hover,
        body.dark-mode #view-profile .profile-settings-panel .profile-settings-actions > .btn:not(.btn-outline):hover,
        body.dark-mode #view-profile .profile-settings-panel .security-password-actions > .btn:not(.btn-outline):hover,
        body.dark-mode #view-profile [data-profile-panel-content="admin"] .admin-panel .btn:not(.btn-outline):hover,
        body.dark-mode #view-profile .profile-settings-panel .chapter-review-actions > .btn:not(.btn-outline):not(.btn-danger):not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]):hover:not(:disabled),
        body.dark-mode #view-profile .profile-settings-panel .chapter-review-actions > button:not(.btn-outline):not(.btn-danger):not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]):hover:not(:disabled),

        body.dark-mode #view-admin .profile-settings-panel .profile-settings-actions > .btn:not(.btn-outline):hover,

        body.dark-mode #view-admin .profile-settings-panel .security-password-actions > .btn:not(.btn-outline):hover,

        body.dark-mode #view-admin [data-admin-section] .admin-panel .btn:not(.btn-outline):hover,

        body.dark-mode #view-admin .profile-settings-panel .chapter-review-actions > .btn:not(.btn-outline):not(.btn-danger):not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]):hover:not(:disabled),

        body.dark-mode #view-admin .profile-settings-panel .chapter-review-actions > button:not(.btn-outline):not(.btn-danger):not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]):hover:not(:disabled) {
            color:#fff !important;
            -webkit-text-fill-color:#fff !important;
            background:#45d597;
            border-color:#45d597;
            box-shadow:0 6px 14px rgba(69,213,151,.3);
        }
        body.dark-mode .creator-feed-card .creator-feed-image-picker:hover,
        body.dark-mode .creator-feed-card .creator-feed-gallery-arrow:hover,
        body.dark-mode .creator-feed-card .creator-feed-gallery-zoom:hover {
            color:#fff;
            border-color:#45d597;
            background:#45d597;
        }
        body.dark-mode .creator-feed-card .creator-feed-post-edit,
        body.dark-mode .creator-feed-card .creator-feed-comment-edit {
            color:#45d597;
            border-color:#45d597;
        }
        body.dark-mode .creator-feed-card .creator-feed-post-edit:hover,
        body.dark-mode .creator-feed-card .creator-feed-comment-edit:hover,
        body.dark-mode .creator-feed-card .comment-replies-button:hover,
        body.dark-mode .creator-feed-card .comment-vote-button:hover:not(.is-disliked),
        body.dark-mode .creator-feed-card .comment-more-button:hover,
        body.dark-mode .creator-feed-card .creator-feed-post-reaction:hover,
        body.dark-mode .creator-feed-card .creator-feed-post-reaction.is-selected,
        body.dark-mode .creator-feed-card .creator-feed-action:hover,
        body.dark-mode .creator-feed-card .creator-feed-action.is-selected,
        body.dark-mode .creator-feed-card .comment-vote-button.is-active,
        body.dark-mode .creator-feed-image-viewer-toolbar button:hover {
            border-color:#45d597;
            color:#45d597;
            background:#20392b;
        }
        body.dark-mode #view-profile .profile-settings-nav button:hover,
        body.dark-mode #view-profile .profile-settings-nav button.active,
        body.dark-mode #view-profile .admin-profile-settings-dropdown button:hover,
        body.dark-mode #view-profile .admin-profile-settings-dropdown button.is-current,

        body.dark-mode #view-admin .profile-settings-nav button:hover,

        body.dark-mode #view-admin .profile-settings-nav button.active,

        body.dark-mode #view-admin .admin-profile-settings-dropdown button:hover,

        body.dark-mode #view-admin .admin-profile-settings-dropdown button.is-current {
            border-color:#45d597;
            color:#45d597;
            background:#20392b;
        }
        body.dark-mode #view-profile .admin-profile-settings-trigger:hover,
        body.dark-mode #view-profile .admin-profile-settings-trigger[aria-expanded="true"],
        body.dark-mode #view-profile.is-admin-own-profile .admin-settings-return:hover,
        body.dark-mode #view-profile .creator-profile-content-layout #creator-notifications-card .creator-feed-notification-controls button:hover:not(:disabled),
        body.dark-mode #view-profile .creator-profile-content-layout .creator-notifications-open:hover,

        body.dark-mode #view-admin .admin-profile-settings-trigger:hover,

        body.dark-mode #view-admin .admin-profile-settings-trigger[aria-expanded="true"] {
            border-color:#45d597;
            color:#45d597;
            background:#20392b;
        }
        body.dark-mode #view-profile .creator-profile-content-layout #creator-notifications-card .creator-feed-notification-controls button {
            color:#45d597;
            border-color:#45d597;
        }
        body.dark-mode #view-profile .profile-settings-panel .profile-settings-actions > .btn-outline:hover,
        body.dark-mode #view-profile .profile-settings-panel .security-password-actions > .btn-outline:hover,
        body.dark-mode #view-profile [data-profile-panel-content="admin"] .admin-panel .btn-outline:hover,
        body.dark-mode #view-profile .profile-settings-panel .chapter-review-actions > .btn-outline:hover:not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]),

        body.dark-mode #view-admin .profile-settings-panel .profile-settings-actions > .btn-outline:hover,

        body.dark-mode #view-admin .profile-settings-panel .security-password-actions > .btn-outline:hover,

        body.dark-mode #view-admin [data-admin-section] .admin-panel .btn-outline:hover,

        body.dark-mode #view-admin .profile-settings-panel .chapter-review-actions > .btn-outline:hover:not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]) {
            border-color:#45d597;
            color:#45d597;
            background:#20392b;
        }
        body.dark-mode #view-profile .profile-settings-panel .chapter-review-image-zoom:hover,

        body.dark-mode #view-admin .profile-settings-panel .chapter-review-image-zoom:hover {
            border-color:#45d597;
            box-shadow:0 5px 14px rgba(69,213,151,.28);
        }
        body.dark-mode .creator-feed-card button:not(.comment-user-link):focus-visible,
        body.dark-mode .creator-feed-card .comment-user-link:focus-visible,
        body.dark-mode .creator-feed-image-viewer-toolbar button:focus-visible,
        body.dark-mode #view-profile .creator-profile-shell button:focus-visible,
        body.dark-mode #view-profile .profile-settings-panel button:focus-visible,
        body.dark-mode #view-profile #creator-notifications-card button:focus-visible,

        body.dark-mode #view-admin .profile-settings-panel button:focus-visible {
            outline-color:rgba(69,213,151,.58);
        }
        body.dark-mode .creator-feed-card .creator-feed-composer-actions > .btn:not(.btn-outline),
        body.dark-mode .creator-feed-card .creator-post-actions .btn:not(.btn-outline),
        body.dark-mode .creator-feed-card .creator-feed-comment-edit-actions .btn:not(.btn-outline),
        body.dark-mode .creator-feed-card .creator-post-comment-form > .btn:not(.btn-outline),
        body.dark-mode .creator-feed-card .comment-reply-submit,
        body.dark-mode #view-profile .creator-profile-actions > .btn:not(.btn-outline),
        body.dark-mode #view-profile .creator-profile-customize-actions > .btn:not(.btn-outline),
        body.dark-mode #view-profile .profile-settings-panel .btn:not(.btn-outline):not(.btn-danger):not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]),
        body.dark-mode #view-profile [data-profile-panel-content="admin"] .admin-panel .btn:not(.btn-outline),

        body.dark-mode #view-admin .profile-settings-panel .btn:not(.btn-outline):not(.btn-danger):not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]),

        body.dark-mode #view-admin [data-admin-section] .admin-panel .btn:not(.btn-outline) {
            color:#fff !important;
            -webkit-text-fill-color:#fff !important;
            background:#45d597 !important;
            background-image:none !important;
            border-color:#45d597 !important;
            box-shadow:0 4px 10px rgba(69,213,151,.22);
        }
        body.dark-mode .creator-feed-card .creator-feed-composer-actions > .btn:not(.btn-outline):hover,
        body.dark-mode .creator-feed-card .creator-post-actions .btn:not(.btn-outline):hover,
        body.dark-mode .creator-feed-card .creator-feed-comment-edit-actions .btn:not(.btn-outline):hover,
        body.dark-mode .creator-feed-card .creator-post-comment-form > .btn:not(.btn-outline):hover,
        body.dark-mode .creator-feed-card .comment-reply-submit:hover,
        body.dark-mode #view-profile .creator-profile-actions > .btn:not(.btn-outline):hover,
        body.dark-mode #view-profile .creator-profile-customize-actions > .btn:not(.btn-outline):hover,
        body.dark-mode #view-profile .profile-settings-panel .btn:not(.btn-outline):not(.btn-danger):not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]):hover,
        body.dark-mode #view-profile [data-profile-panel-content="admin"] .admin-panel .btn:not(.btn-outline):hover,

        body.dark-mode #view-admin .profile-settings-panel .btn:not(.btn-outline):not(.btn-danger):not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]):hover,

        body.dark-mode #view-admin [data-admin-section] .admin-panel .btn:not(.btn-outline):hover {
            color:#fff !important;
            -webkit-text-fill-color:#fff !important;
            background:#45d597 !important;
            border-color:#45d597 !important;
        }
        body.dark-mode .creator-feed-card .creator-feed-composer-actions > .btn-outline,
        body.dark-mode .creator-feed-card .creator-post-actions .btn-outline,
        body.dark-mode .creator-feed-card .creator-feed-comment-edit-actions .btn-outline,
        body.dark-mode #view-profile .creator-profile-actions > .btn-outline,
        body.dark-mode #view-profile .creator-profile-customize-actions > .btn-outline,
        body.dark-mode #view-profile .profile-settings-panel .btn-outline:not(.btn-danger):not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]),
        body.dark-mode #view-profile [data-profile-panel-content="admin"] .admin-panel .btn-outline,

        body.dark-mode #view-admin .profile-settings-panel .btn-outline:not(.btn-danger):not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]),

        body.dark-mode #view-admin [data-admin-section] .admin-panel .btn-outline {
            color:#45d597 !important;
            -webkit-text-fill-color:#45d597 !important;
            border-color:#45d597 !important;
            background:#20392b !important;
            background-image:none !important;
            box-shadow:none;
        }
        body.dark-mode .creator-feed-card .creator-feed-composer-actions > .btn-outline:hover,
        body.dark-mode .creator-feed-card .creator-post-actions .btn-outline:hover,
        body.dark-mode .creator-feed-card .creator-feed-comment-edit-actions .btn-outline:hover,
        body.dark-mode #view-profile .creator-profile-actions > .btn-outline:hover,
        body.dark-mode #view-profile .creator-profile-customize-actions > .btn-outline:hover,
        body.dark-mode #view-profile .profile-settings-panel .btn-outline:not(.btn-danger):not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]):hover,
        body.dark-mode #view-profile [data-profile-panel-content="admin"] .admin-panel .btn-outline:hover,

        body.dark-mode #view-admin .profile-settings-panel .btn-outline:not(.btn-danger):not([data-review-action="deactivate"]):not([data-adult-removal-action="reject"]):not([data-chapter-adult-action="reject"]):hover,

        body.dark-mode #view-admin [data-admin-section] .admin-panel .btn-outline:hover {
            color:#fff !important;
            -webkit-text-fill-color:#fff !important;
            border-color:#45d597 !important;
            background:#45d597 !important;
        }
        body.dark-mode .creator-feed-card .creator-feed-image-picker,
        body.dark-mode .creator-feed-card .creator-feed-post-edit,
        body.dark-mode .creator-feed-card .creator-feed-comment-edit,
        body.dark-mode #view-profile .creator-profile-banner-change:hover,
        body.dark-mode #view-profile .creator-avatar-change:hover,
        body.dark-mode #view-profile .admin-profile-settings-trigger:hover,
        body.dark-mode #view-profile .admin-profile-settings-trigger[aria-expanded="true"],
        body.dark-mode #view-profile.is-admin-own-profile .admin-settings-return:hover,
        body.dark-mode #view-profile .creator-profile-content-layout #creator-notifications-card .creator-feed-notification-controls button,
        body.dark-mode #view-profile .creator-profile-content-layout .creator-notifications-open,

        body.dark-mode #view-admin .admin-profile-settings-trigger:hover,

        body.dark-mode #view-admin .admin-profile-settings-trigger[aria-expanded="true"] {
            color:#45d597 !important;
            -webkit-text-fill-color:#45d597 !important;
            border-color:#45d597 !important;
            background-color:#20392b !important;
        }
        body.dark-mode .creator-feed-card .creator-feed-image-picker:hover,
        body.dark-mode .creator-feed-card .creator-feed-post-edit:hover,
        body.dark-mode .creator-feed-card .creator-feed-comment-edit:hover,
        body.dark-mode #view-profile .creator-profile-banner-change:hover,
        body.dark-mode #view-profile .creator-avatar-change:hover,
        body.dark-mode #view-profile .admin-profile-settings-trigger:hover,
        body.dark-mode #view-profile.is-admin-own-profile .admin-settings-return:hover,
        body.dark-mode #view-profile .creator-profile-content-layout #creator-notifications-card .creator-feed-notification-controls button:hover:not(:disabled),
        body.dark-mode #view-profile .creator-profile-content-layout .creator-notifications-open:hover,

        body.dark-mode #view-admin .admin-profile-settings-trigger:hover {
            color:#fff !important;
            -webkit-text-fill-color:#fff !important;
            border-color:#45d597 !important;
            background:#45d597 !important;
        }
        body.dark-mode #view-profile .admin-profile-settings-dropdown button:hover,
        body.dark-mode #view-profile .admin-profile-settings-dropdown button.is-current,
        body.dark-mode #view-profile .profile-settings-nav button:hover,
        body.dark-mode #view-profile .profile-settings-nav button.active,
        body.dark-mode #view-profile .profile-settings-panel .review-notification-actions button:hover,
        body.dark-mode #view-profile .profile-settings-panel .chapter-review-image-zoom:hover,

        body.dark-mode #view-admin .admin-profile-settings-dropdown button:hover,

        body.dark-mode #view-admin .admin-profile-settings-dropdown button.is-current,

        body.dark-mode #view-admin .profile-settings-nav button:hover,

        body.dark-mode #view-admin .profile-settings-nav button.active,

        body.dark-mode #view-admin .profile-settings-panel .review-notification-actions button:hover,

        body.dark-mode #view-admin .profile-settings-panel .chapter-review-image-zoom:hover {
            color:#45d597 !important;
            border-color:#45d597 !important;
            background-color:#20392b !important;
        }
        body.dark-mode #view-profile .creator-profile-content-layout .creator-notifications-open:not(:hover) {
            color:#45d597 !important;
            border-color:#45d597 !important;
            background:#20392b !important;
        }

/* Administración: formularios legibles, tarjetas, lista de usuarios y modal. */
#view-admin .admin-card, #view-admin .admin-panel { margin:0; padding:22px; border:1px solid #dfe5e8; border-radius:10px; background:#fff; box-shadow:0 3px 12px rgba(24,43,52,.06); }
.admin-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; flex-wrap:wrap; margin-bottom:18px; }
.admin-card-head h3 { margin:0 0 4px; color:#26343a; font-size:1.05rem; }
.admin-card-head p { margin:0; color:#6b7880; font-size:.78rem; }
.admin-card-actions { display:flex; align-items:center; gap:10px; }
.admin-count { min-width:28px; padding:5px 9px; border-radius:999px; color:#0b7f99; background:#e6f9fc; font-size:.75rem; font-weight:800; text-align:center; }
.admin-visits-card { max-width:760px; }
.admin-visits-total { min-width:64px; min-height:40px; padding:8px 12px; border-radius:999px; font-size:1.05rem; }
.admin-page-visits-status { margin:-5px 0 12px; color:#6b7880; font-size:.74rem; }
.admin-page-visits-table-wrap { overflow-x:auto; }
.admin-page-visits-table { width:100%; border-collapse:collapse; text-align:left; }
.admin-page-visits-table th, .admin-page-visits-table td { padding:11px 12px; border-top:1px solid #e1e8ec; color:#26343a; font-size:.78rem; }
.admin-page-visits-table thead th { color:#718089; font-size:.68rem; letter-spacing:.04em; text-transform:uppercase; }
.admin-page-visits-table td { width:110px; font-weight:800; text-align:right; }
.admin-input { width:100%; padding:11px 13px; border:1px solid #b9c7ce; border-radius:8px; color:#1f2a30 !important; background:#fff !important; font:inherit; font-size:.88rem; box-sizing:border-box; transition:border-color .15s, box-shadow .15s; }
.admin-input::placeholder { color:#8a979e; opacity:1; }
.admin-input:focus { outline:none; border-color:var(--cyan); box-shadow:0 0 0 3px rgba(22,184,223,.2); }
.admin-input:disabled { color:#6b7880 !important; background:#eef2f4 !important; cursor:not-allowed; }
.admin-inline-form { display:flex; gap:10px; margin-bottom:18px; }
.admin-inline-form .admin-input { flex:1; }
.admin-chip-list { display:flex; flex-wrap:wrap; gap:8px; }
.admin-chip { display:inline-flex; align-items:center; gap:8px; padding:7px 8px 7px 14px; border:1px solid #cfe6eb; border-radius:999px; color:#26343a; background:#f3fbfd; font-size:.82rem; font-weight:600; }
.admin-chip-remove { display:grid; place-items:center; width:20px; height:20px; padding:0; border:0; border-radius:50%; color:#c0392b; background:transparent; font-size:.7rem; cursor:pointer; }
.admin-chip-remove:hover { color:#fff; background:#e5484d; }
.admin-empty { margin:0; padding:14px 0; color:#6b7880; font-size:.85rem; }
.admin-user-list { display:flex; flex-direction:column; gap:10px; }
.admin-user-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:12px 14px; border:1px solid #e1e8eb; border-radius:10px; background:#f9fbfc; }
.admin-user-row.is-disabled { opacity:.7; }
.admin-user-avatar { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; color:#fff; background:var(--cyan); font-weight:800; }
.admin-user-main { display:flex; flex:1; flex-direction:column; min-width:160px; }
.admin-user-main strong { color:#26343a; font-size:.92rem; }
.admin-user-main small { color:#6b7880; font-size:.75rem; }
.admin-user-actions { display:flex; gap:8px; }
.admin-user-actions .btn { padding:7px 12px; font-size:.74rem; }
.admin-pill { padding:4px 10px; border-radius:999px; font-size:.68rem; font-weight:800; text-transform:uppercase; letter-spacing:.03em; background:#eef2f4; color:#53666f; }
.admin-pill-superadmin { background:#ffe9c7; color:#9a5b00; }
.admin-pill-admin { background:#e5e9ff; color:#3a4bb5; }
.admin-pill-employee { background:#e0f6ec; color:#16794a; }
.admin-pill-on { background:#e0f6ec; color:#16794a; }
.admin-pill-off { background:#fde4e4; color:#b13434; }
.admin-modal { position:fixed; inset:0; z-index:6500; display:flex; align-items:center; justify-content:center; padding:18px; }
.admin-modal[hidden] { display:none; }
.admin-modal-backdrop { position:absolute; inset:0; background:rgba(16,28,36,.6); backdrop-filter:blur(3px); }
.admin-modal-card { position:relative; display:flex; flex-direction:column; gap:14px; width:min(440px,100%); max-height:calc(100vh - 36px); overflow-y:auto; padding:24px; border-radius:14px; color:#26343a; background:#fff; box-shadow:0 24px 60px rgba(10,20,28,.35); }
.admin-modal-head { display:flex; align-items:center; justify-content:space-between; }
.admin-modal-head h2 { margin:0; font-size:1.15rem; color:#26343a; }
.admin-modal-close { width:32px; height:32px; border:0; border-radius:50%; color:#53666f; background:#eef2f4; cursor:pointer; }
.admin-modal-close:hover { background:#dfe6ea; }
.admin-field { display:flex; flex-direction:column; gap:6px; }
.admin-field[hidden] { display:none; }
.admin-field span { color:#3b4a52; font-size:.78rem; font-weight:700; }
.admin-field small { color:#8a979e; font-weight:400; }
.admin-modal-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:6px; }
body.dark-mode #view-admin .admin-card, body.dark-mode #view-admin .admin-panel { border-color:#39444a; background:#22282d; box-shadow:none; }
body.dark-mode .admin-card-head h3, body.dark-mode .admin-user-main strong, body.dark-mode .admin-modal-head h2 { color:#edf2f3; }
body.dark-mode .admin-card-head p, body.dark-mode .admin-user-main small, body.dark-mode .admin-empty { color:#aeb9bd; }
body.dark-mode .admin-count { color:#9fe9ff; background:#1d3a44; }
body.dark-mode .admin-page-visits-status { color:#aeb9bd; }
body.dark-mode .admin-page-visits-table th, body.dark-mode .admin-page-visits-table td { border-color:#39444a; color:#edf2f3; }
body.dark-mode .admin-page-visits-table thead th { color:#aeb9bd; }
body.dark-mode .admin-input { color:#edf2f3 !important; background:#1b2024 !important; border-color:#56656c; color-scheme:dark; }
body.dark-mode .admin-input::placeholder { color:#8f9ca1; }
body.dark-mode .admin-input:disabled { color:#8f9ca1 !important; background:#262d32 !important; }
body.dark-mode .admin-chip { color:#edf2f3; border-color:#46535a; background:#1b2024; }
body.dark-mode .admin-user-row { border-color:#39444a; background:#1b2024; }
body.dark-mode .admin-pill { color:#c6d0d4; background:#2c353a; }
body.dark-mode .admin-pill-on { color:#7be0ae; background:#1b3a2b; }
body.dark-mode .admin-pill-off { color:#ff9b9b; background:#43262a; }
body.dark-mode .admin-modal-card { color:#edf2f3; background:#22282d; }
body.dark-mode .admin-field span { color:#c6d0d4; }
body.dark-mode .admin-modal-close { color:#edf2f3; background:#2c353a; }
@media (max-width:600px) { .admin-inline-form { flex-direction:column; } .admin-user-actions { width:100%; } }
#toast, .toast { z-index:7000 !important; }
.admin-modal-error { margin:0; padding:9px 12px; border:1px solid #f0b4b4; border-radius:8px; color:#a12a2a; background:#fdecec; font-size:.8rem; font-weight:600; }
.admin-modal-error[hidden] { display:none; }
body.dark-mode .admin-modal-error { color:#ffb3b3; background:#43262a; border-color:#6b3a3f; }
.categories-bar .category-filter,
.categories-bar .category-filter:hover,
.categories-bar .category-filter.active-category {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:8px 15px;
    border:1px solid var(--category-border);
    border-radius:999px;
    color:var(--category-ink) !important;
    -webkit-text-fill-color:var(--category-ink) !important;
    background:var(--category-bg);
    box-shadow:0 2px 6px rgba(28,42,52,.06);
    font-size:.74rem;
    font-weight:700;
    letter-spacing:.01em;
    text-transform:none;
    transition:transform .16s ease, box-shadow .16s ease, color .16s ease, background .16s ease, border-color .16s ease;
}
.categories-bar .category-filter:hover {
    transform:translateY(-2px);
    border-color:var(--category-accent);
    box-shadow:0 5px 12px rgba(28,42,52,.12);
}
.categories-bar .category-filter.active-category,
.categories-bar .category-filter.active-category:hover {
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    border-color:var(--category-accent);
    background:var(--category-accent);
    box-shadow:0 4px 10px color-mix(in srgb,var(--category-accent) 28%,transparent);
}
.categories-bar .category-filter-all {
    --category-bg:#eef2f4;
    --category-border:#d5dfe3;
    --category-ink:#53666f;
    --category-accent:#53666f;
}
.category-tone {
    --category-bg:hsl(var(--category-hue) 72% 95%);
    --category-border:hsl(var(--category-hue) 52% 78%);
    --category-ink:hsl(var(--category-hue) 55% 30%);
    --category-accent:hsl(var(--category-hue) 62% 42%);
}
.admin-chip.category-tone {
    color:var(--category-ink);
    border-color:var(--category-border);
    background:var(--category-bg);
}
body.dark-mode .category-filter-all { --category-bg:#293137; --category-border:#46535a; --category-ink:#c2cdd1; --category-accent:#69777e; }
body.dark-mode .category-tone {
    --category-bg:hsl(var(--category-hue) 32% 21%);
    --category-border:hsl(var(--category-hue) 40% 39%);
    --category-ink:hsl(var(--category-hue) 68% 80%);
    --category-accent:hsl(var(--category-hue) 62% 45%);
}
body.dark-mode #view-catalog .categories-bar .category-filter.active-category,
body.dark-mode #view-catalog .categories-bar .category-filter.active-category:hover {
    border-color:var(--category-accent);
    background:var(--category-accent);
}
#view-comic-detail #story-genres .category-tone {
    color:var(--category-ink) !important;
    background:var(--category-bg) !important;
    border:1px solid var(--category-border);
}
body.dark-mode #view-comic-detail #story-genres .category-tone {
    color:var(--category-ink) !important;
    background:var(--category-bg) !important;
    border-color:var(--category-border);
}
@media (max-width:700px) {
    .categories-bar .category-filter { flex:0 0 auto; }
}
