:root { --bg: #0f1720; --panel: #18212d; --panel-soft: rgba(255,255,255,.03); --text: #e5edf6; --muted: #9db0c3; --line: #2b3b4d; --accent: #f59e0b; --danger: #ef4444; --shadow: 0 12px 30px rgba(0,0,0,.12); --radius-lg: 18px; --radius-md: 14px; --radius-sm: 12px; --button-radius: 6px; --button-height: 42px; } html[data-theme="light"] { --bg: #eef2f7; --panel: #ffffff; --panel-soft: rgba(15,23,32,.03); --text: #1a2431; --muted: #5f7185; --line: #d7e0ea; --accent: #c97700; --shadow: 0 12px 30px rgba(15,23,32,.08); } * { box-sizing: border-box; } html, body { overflow-x: hidden; } body { margin: 0; background: var(--bg); color: var(--text); font-family: "Noto Sans Malayalam","Manjari",Inter,Arial,sans-serif; } a { color: inherit; text-decoration: none; } img { max-width: 100%; display: block; height: auto; } button, input, select, textarea { font: inherit; } .site-shell, .container { width: 100%; max-width: none; margin: 0 auto; padding: 0 22px; } .cluster, .row { display: flex; gap: 10px; } .cluster-wrap, .wrap { flex-wrap: wrap; } .cluster-center, .center { align-items: center; } .cluster-between, .between { justify-content: space-between; } .cluster-gap, .gap { gap: 10px; } .stack { display: grid; gap: 16px; } .dashboard-stack { display: grid; gap: 20px; } .dashboard-stack .analytics-story-card + .analytics-story-card { margin-top: 16px; } .page-grid { display: grid; grid-template-columns: minmax(0,1fr)320px; gap: 20px; padding-top: 22px; padding-bottom: 22px; } .page-grid.no-sidebar { grid-template-columns: minmax(0,1fr); } .content-area, .sidebar-stack, .panel, .stack-card, .story-card, .ad-card { min-width: 0; } .sidebar-stack { display: grid; gap: 14px; align-content: start; position: sticky; top: 82px; height: fit-content; } .panel, .stack-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow); } .panel-lite { background: var(--panel-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; } .flash { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; background: var(--panel); color: var(--text); font-weight: 700; box-shadow: var(--shadow); } .flash--error, .flash--danger { background: rgba(239,68,68,.14); border-color: rgba(239,68,68,.38); color: #fecaca; } .flash--success { background: rgba(34,197,94,.14); border-color: rgba(34,197,94,.34); color: #bbf7d0; } .flash--warning { background: rgba(245,158,11,.16); border-color: rgba(245,158,11,.4); color: #fde68a; } .flash--info { background: rgba(59,130,246,.14); border-color: rgba(59,130,246,.34); color: #bfdbfe; } html[data-theme="light"] .flash { background: #ffffff; color: #17212d; border-color: #cfd9e5; } html[data-theme="light"] .flash--error, html[data-theme="light"] .flash--danger { background: #fef2f2; border-color: #fecaca; color: #991b1b; } html[data-theme="light"] .flash--success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; } html[data-theme="light"] .flash--warning { background: #fffbeb; border-color: #fde68a; color: #92400e; } html[data-theme="light"] .flash--info { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; } .site-header { position: sticky; top: 0; z-index: 40; background: rgba(16,23,32,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); } html[data-theme="light"] .site-header { background: rgba(255,255,255,.92); } .header-shell { display: grid; gap: 10px; padding: 8px 0 14px; } .header-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; } .header-actions { display: flex; gap: 10px; align-items: center; flex: 1; justify-content: flex-end; } .brand { font-size: 24px; font-weight: 800; padding: 18px 0; color: var(--accent); min-width: 0; } .site-logo { max-height: 42px; width: auto; } .main-nav { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; overflow: auto; scrollbar-width: thin; } .main-nav a { padding: 10px 12px; border-radius: 10px; white-space: nowrap; } .main-nav a:hover { background: var(--panel-soft); } .site-search { display: flex; gap: 10px; align-items: center; max-width: 520px; width: 100%; min-width: 0; } .site-search input { width: 100%; min-width: 0; background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; } .site-search button, .button, .btn, .theme-switch, .mobile-theme-switch, .share-btn, .reading-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--button-height); padding: 10px 14px; border-radius: var(--button-radius); font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; transition: background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease; } .site-search button, .button, .btn { background: var(--accent); color: #111827; border: 1px solid var(--accent); } .site-search button:hover, .button:hover, .btn:hover, .theme-switch:hover, .mobile-theme-switch:hover, .share-btn:hover, .reading-pill:hover { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(0,0,0,.12); } .button-secondary, .btn-alt { background: transparent; color: var(--text); border: 1px solid var(--line); } .button-small, .btn-small { min-height: 38px; padding: 8px 12px; font-size: 14px; } .button-danger, .danger { background: var(--danger); border-color: var(--danger); color: #fff; } .theme-switch, .mobile-theme-switch, .share-btn, .reading-pill { border: 1px solid var(--line); background: var(--panel); color: var(--text); } .theme-switch, .mobile-theme-switch { min-width: 110px; } .theme-switch-label { display: inline-block; min-width: 72px; text-align: center; } .mobile-breadcrumb-dropdown { display: none; position: relative; z-index: 40; } .mobile-breadcrumb-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; font-weight: 700; cursor: pointer; } .mobile-breadcrumb-current { color: var(--muted); font-weight: 600; margin-left: auto; } .mobile-breadcrumb-list { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 50; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 12px 30px rgba(0,0,0,.18); padding: 8px; max-height: 70vh; overflow: auto; } .mobile-breadcrumb-list.is-open { display: grid; gap: 4px; } .mobile-breadcrumb-list a { display: block; padding: 10px 12px; border-radius: 10px; } .mobile-breadcrumb-list a:hover { background: var(--panel-soft); } .hero { padding: 34px; } .eyebrow { display: inline-block; margin-bottom: 8px; color: var(--accent); font-weight: 700; } .hero h1 { font-size: 22px; margin: 8px 0 12px; } .hero p, .meta { color: var(--muted); } .section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; } .section-heading h2 { margin: 0 0 4px; } .home-section-block { margin-top: 18px; } .home-hero-grid { display: grid; grid-template-columns: minmax(0,1.3fr)minmax(240px,.7fr); gap: 18px; align-items: stretch; } .continue-reading-card { display: grid; gap: 8px; align-content: start; text-decoration: none; min-height: 100%; } .continue-reading-card strong { font-size: 1.1rem; } .continue-reading-card small { color: var(--muted); } .mobile-continue-card { display: grid; gap: 6px; text-decoration: none; padding: 14px 16px; margin-top: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.06); color: inherit; } .mobile-continue-card strong { font-size: 1.02rem; } .mobile-continue-card small { color: inherit; opacity: .8; } .story-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 16px; padding-top: 22px; } .aurora-card-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 16px; } .story-card { display: grid; gap: 14px; overflow: hidden; } .story-card-cover-mode { grid-template-columns: 96px 1fr; } .story-card-icon-mode, .story-card-text-mode { grid-template-columns: 1fr; } .story-card-media, .cover-wrap { width: 96px; } .story-card-cover-mode .story-card-media { width: 96px; } .story-card-icon-mode .story-card-media, .story-card-text-mode .story-card-media { width: auto; } .story-card-body { display: grid; gap: 12px; min-width: 0; } .story-card-top, .story-card-footer { display: grid; gap: 10px; } .story-title, .story-title-wrap h1 { margin: 0; line-height: 1.25; } .story-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .story-card h3, .story-card p, .mini-story-title, .mini-story-author, .meta { overflow-wrap: anywhere; word-break: break-word; } .story-badges, .story-stats, .story-actions-row, .pdf-novel-actions, .pdf-novel-badges { display: flex; gap: 8px; flex-wrap: wrap; } .story-badge, .tag-chip { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel-soft); font-size: 12px; } .story-tags { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .story-card-link { color: var(--accent); font-weight: 700; text-decoration: none; } .cover-wrap img, .story-card-media img, .cover-placeholder, .detail-cover { border-radius: var(--radius-md); border: 1px solid var(--line); aspect-ratio: 2/3; object-fit: cover; } .cover-placeholder { display: grid; place-items: center; background: linear-gradient(135deg,#223247,#131b24); font-size: 42px; font-weight: 800; } .detail-cover { width: 180px; } .story-header { display: grid; grid-template-columns: 180px 1fr; gap: 20px; min-width: 0; } .story-body-content { white-space: pre-wrap; line-height: 1.85; } .story-body-content p, .story-body-content blockquote, .story-body-content ul, .story-body-content ol, .story-body-content pre, .story-body-content h1, .story-body-content h2, .story-body-content h3 { margin: 0 0 1em; } .story-body-content br { content: ""; display: block; margin-bottom: .45em; } .story-body-content ul, .story-body-content ol { padding-left: 1.5rem; } .chapter-list { display: grid; gap: 8px; } .chapter-list a, .mini-story, .mini-story-row { display: block; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel-soft); } .mini-story-rows { display: grid; gap: 10px; } .mini-story-row strong { display: block; margin-bottom: 4px; } .mini-story-row span { display: block; color: var(--muted); font-size: 13px; } .mini-story-title { display: block; } .mini-story-author { display: block; color: var(--accent); font-size: 13px; margin-top: 4px; } .author-link { color: var(--accent); font-weight: 700; } .form-panel p, .field-wrap { display: grid; gap: 6px; } .form-panel input, .form-panel textarea, .form-panel select, .story-submit-form input, .story-submit-form textarea, .story-submit-form select { width: 100%; background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; } .story-submit-form .submit-grid { display: grid; grid-template-columns: minmax(0,2fr)minmax(320px,1fr); gap: 20px; min-width: 0; align-items: start; } .story-submit-form .submit-main, .story-submit-form .submit-side { display: grid; gap: 16px; } .story-submit-form .submit-main { min-width: 0; } .story-submit-form .submit-side { min-width: 0; position: sticky; top: 96px; } .story-submit-form .tox, .story-submit-form .tox-tinymce { width: 100% !important; } .story-submit-form .submission-details-below { align-self: start; } .submit-inline-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; min-width: 0; } .editor-panel, .classic-editor { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--panel-soft); } .editor-header, .profile-main-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; min-width: 0; } .rich-toolbar, .classic-toolbar { display: flex; flex-wrap: wrap; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; } .rich-toolbar button, .classic-toolbar button, .classic-editor-tabs button { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; } .rich-preview, .classic-editor-preview { display: none; margin-top: 12px; padding: 14px; border-radius: 14px; border: 1px dashed var(--line); background: var(--panel-soft); } .rich-preview.active, .classic-editor-preview.active { display: block; } .classic-editor textarea { border: none; border-radius: 0; background: transparent; min-height: 320px; } .classic-editor.text-mode textarea { font-family: ui-monospace,SFMono-Regular,Menlo,monospace; } .profile-shell { display: grid; gap: 20px; } .profile-top-card { padding: 24px; } .profile-top-layout { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start; min-width: 0; } .profile-avatar-xl { width: 160px; height: 160px; } .profile-main { display: grid; gap: 18px; } .profile-name { margin: 0; font-size: 34px; line-height: 1.1; } .profile-handle { margin-top: 6px; } .profile-stat-strip { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; min-width: 0; } .profile-stat, .info-list div, .profile-mini-stats div { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-soft); text-align: center; } .profile-stat strong { display: block; font-size: 22px; } .profile-stat span, .info-list span, .profile-mini-stats span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; } .profile-tabs { display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; min-width: 0; } .profile-tabs a { padding: 10px 14px; border-radius: 10px; background: var(--panel-soft); border: 1px solid var(--line); } .profile-tabs a.active { background: var(--accent); color: #111827; border-color: transparent; } .profile-body-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; min-width: 0; } .info-list, .profile-mini-stats { display: grid; gap: 12px; } .author-card { text-align: center; } .avatar { width: 96px; height: 96px; border-radius: 999px; margin: 0 auto 12px; object-fit: cover; border: 1px solid var(--line); } .avatar.placeholder { display: grid; place-items: center; background: linear-gradient(135deg,#223247,#131b24); font-size: 40px; font-weight: 800; } .avatar.large { width: 120px; height: 120px; } .author-profile-card .author-hero { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; } .stack-links { display: grid; gap: 8px; } .stack-links a, .ad-card { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); } .ad-card span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; } .site-footer { border-top: 1px solid var(--line); padding: 28px 0 80px; margin-top: 20px; } .footer-grid { display: grid; gap: 12px; } .footer-menu, .footer-ad-row, .share-row { display: flex; gap: 12px; flex-wrap: wrap; } #scrollTopDesktopBtn { position: fixed; bottom: 20px; right: 20px; width: 46px; height: 46px; border: none; border-radius: 999px; background: var(--accent); color: #fff; font-size: 20px; font-weight: 800; display: none; cursor: pointer; z-index: 44; } .mobile-bottom-nav { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(16,23,32,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } html[data-theme="light"] .mobile-bottom-nav { background: rgba(255,255,255,.95); } .mobile-bottom-nav a, .mobile-bottom-nav .mobile-scroll-top { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 50px; padding: 12px 8px; border: 0; border-radius: 0; background: transparent; color: var(--text); font: inherit; font-size: 13px; line-height: 1; text-align: center; text-decoration: none; cursor: pointer; } .mobile-bottom-nav .mobile-scroll-top { display: none; font-size: 16px; font-weight: 800; } .mobile-bottom-nav .mobile-scroll-top.is-visible { display: flex; } body.reader-page-active .mobile-bottom-nav { display: none !important; } @media (max-width: 720px) { body.reader-page-active { padding-bottom: 0; } } .panel-gap-top { margin-top: 14px; } .tag-list { display: flex; gap: 8px; flex-wrap: wrap; } .rate-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .rate-form select { min-width: 120px; } .dashboard-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; min-width: 0; overflow: hidden; } @media (max-width: 768px) { .dashboard-two-col { grid-template-columns: 1fr; gap: 14px; } } .rr-author-shell, .rr-author-hero, .rr-author-hero-inner, .rr-author-main, .rr-author-grid, .rr-author-stat-row, .rr-featured-list, .rr-featured-item, .rr-featured-copy, .rr-stats, .rr-stat, .story-grid, .dashboard-stack, .rr-section, .rr-story-item, .rr-story-item-body { min-width: 0; max-width: 100%; } @media (max-width:1150px) { .page-grid { grid-template-columns: 1fr; } .sidebar-stack { position: static; } .story-header { grid-template-columns: 1fr; } .detail-cover { width: 140px; } .hero h1 { font-size: 22px; } .header-top { flex-direction: row; align-items: stretch; } .header-actions { width: 100%; justify-content: space-between; align-items: stretch; flex-wrap: nowrap; } .site-search { max-width: none; flex: 1; } .site-search button, .theme-switch { flex: 0 0 auto; } .main-nav { display: none; } .mobile-breadcrumb-dropdown { display: block; } } @media (max-width:1100px) { .story-submit-form .submit-grid, .profile-body-grid { grid-template-columns: 1fr; } .profile-stat-strip { grid-template-columns: repeat(3,minmax(0,1fr)); } .dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width:700px) { .site-shell, .container { padding: 0 14px; } .panel, .stack-card { padding: 14px; border-radius: 16px; } .hero { padding: 24px 18px; } .story-grid, .aurora-card-grid { grid-template-columns: 1fr; gap: 14px; } .story-card-cover-mode { grid-template-columns: 78px 1fr; gap: 12px; } .story-card-cover-mode .story-card-media { width: 78px; } .story-badges, .story-stats, .pdf-novel-actions, .pdf-novel-badges, .share-row { gap: 6px; } .section-heading { align-items: flex-start; } .section-heading > a { width: 100%; } .submit-inline-2, .profile-top-layout { grid-template-columns: 1fr; } .profile-avatar-wrap { display: flex; justify-content: center; } .profile-stat-strip { grid-template-columns: repeat(2,minmax(0,1fr)); } .dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi-card { padding: 10px; } .mobile-bottom-nav { display: grid; } .site-footer { padding-bottom: 90px; } } .mobile-home-shell { display: grid; gap: 18px; } .mobile-home-hero { display: grid; gap: 16px; background: linear-gradient(180deg,rgba(26,36,49,.98),rgba(16,23,32,.96)); color: #f8fbff; } html[data-theme="light"] .mobile-home-hero { background: linear-gradient(180deg,#eef4fb,#ffffff); color: #16202b; } .mobile-home-hero__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; } .mobile-home-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; } html[data-theme="light"] .mobile-home-eyebrow { background: rgba(21,31,43,.05); } .mobile-home-hero h1 { margin: 10px 0 8px; font-size: clamp(32px,5vw,48px); line-height: 1.05; } .mobile-home-hero p { margin: 0; color: inherit; opacity: .82; max-width: 62ch; } .mobile-home-greeting { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); } html[data-theme="light"] .mobile-home-greeting { background: rgba(15,23,32,.04); border-color: rgba(15,23,32,.08); } .mobile-home-greeting strong { font-size: 20px; } .mobile-quick-grid { display: grid; gap: 12px; grid-template-columns: repeat(3,minmax(0,1fr)); } .mobile-quick-card { display: grid; gap: 8px; padding: 16px; border-radius: 18px; background: rgba(9,14,20,.28); border: 1px solid rgba(255,255,255,.08); min-height: 126px; } html[data-theme="light"] .mobile-quick-card { background: #f8fbff; border-color: #dde6f0; } .mobile-quick-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.08); font-size: 22px; } html[data-theme="light"] .mobile-quick-icon { background: #eef3f9; } .mobile-quick-card strong { font-size: 20px; line-height: 1.15; } .mobile-quick-card small { color: var(--muted); font-size: 13px; line-height: 1.4; } .mobile-home-section { display: grid; gap: 16px; } .mobile-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; } .mobile-section-head h2 { margin: 0 0 4px; font-size: clamp(24px,4vw,32px); line-height: 1.1; } .mobile-section-head p { margin: 0; color: var(--muted); } .mobile-section-head a { color: #0f6adf; font-weight: 700; white-space: nowrap; } html[data-theme="dark"] .mobile-section-head a { color: #7cb5ff; } .mobile-featured-stack { display: grid; gap: 14px; } .mobile-featured-card, .mobile-story-row { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel-soft); } .mobile-featured-cover, .mobile-story-thumb { width: 100px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg,#223247,#131b24); display: grid; place-items: center; font-weight: 800; font-size: 30px; } .mobile-featured-cover img, .mobile-story-thumb img { width: 100%; height: 100%; object-fit: cover; } .mobile-featured-copy, .mobile-story-copy { display: grid; gap: 8px; align-content: center; min-width: 0; } .mobile-featured-badges, .mobile-inline-meta, .mobile-featured-stats { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; } .mobile-featured-badges span { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; background: rgba(245,158,11,.12); color: var(--accent); font-weight: 700; } .mobile-featured-copy h3, .mobile-story-copy h3 { margin: 0; font-size: clamp(22px,3.5vw,30px); line-height: 1.15; } .mobile-featured-copy h3 a, .mobile-story-copy h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .mobile-featured-author, .mobile-story-copy p { margin: 0; color: var(--muted); font-size: 16px; } .mobile-story-list { display: grid; gap: 12px; } .mobile-story-row.compact-row { grid-template-columns: 1fr; padding: 12px 14px; } .mobile-story-copy.compact-copy h3 { font-size: 20px; } .mobile-update-list { display: grid; gap: 10px; } .mobile-update-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel-soft); } .mobile-update-row strong { font-size: 19px; line-height: 1.25; } .mobile-update-row span { color: var(--muted); font-size: 14px; white-space: nowrap; } .mobile-pdf-cta { background: linear-gradient(135deg,rgba(245,158,11,.14),rgba(245,158,11,.06)); } html[data-theme="light"] .mobile-pdf-cta { background: linear-gradient(135deg,rgba(245,158,11,.14),rgba(255,255,255,.96)); } .mobile-home-shell { width: 100%; max-width: 1360px; margin: 0 auto; display: grid; gap: 18px; } .mobile-home-main, .mobile-home-sidebar { display: grid; gap: 18px; align-content: start; } .mobile-home-hero { position: relative; overflow: hidden; border-radius: 28px; box-shadow: 0 24px 64px rgba(0,0,0,.22); } .mobile-home-hero::after { content: ""; position: absolute; inset: auto -10% -30% auto; width: 220px; height: 220px; border-radius: 999px; background: radial-gradient(circle,rgba(255,255,255,.18),rgba(255,255,255,0)); pointer-events: none; } .mobile-home-greeting, .mobile-quick-card, .mobile-featured-card, .mobile-story-row, .mobile-update-row, .mobile-home-section.panel { box-shadow: 0 16px 40px rgba(0,0,0,.12); } .mobile-home-section.panel { border-radius: 24px; padding: 18px; background: linear-gradient(180deg,rgba(17,24,33,.96),rgba(13,18,26,.98)); } html[data-theme="light"] .mobile-home-section.panel { background: linear-gradient(180deg,#ffffff,#f7fbff); } .mobile-section-head { align-items: center; } .mobile-section-head h2 { font-weight: 800; letter-spacing: -.03em; } .mobile-section-head a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px; border-radius: 999px; background: rgba(124,181,255,.14); text-decoration: none; } .mobile-featured-card { grid-template-columns: 120px 1fr; border-radius: 22px; } .mobile-featured-cover { width: 120px; border-radius: 20px; aspect-ratio: 3/4; } .mobile-story-thumb { aspect-ratio: 3/4; } .mobile-story-row { border-radius: 20px; } .mobile-update-row { border-radius: 18px; } .mobile-update-row strong { display: block; } .mobile-featured-stats span, .mobile-inline-meta span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.05); } html[data-theme="light"] .mobile-featured-stats span, html[data-theme="light"] .mobile-inline-meta span { background: rgba(15,23,32,.05); } @media (max-width:700px) { .mobile-home-shell { max-width: 100%; } .mobile-home-section.panel { padding: 16px; border-radius: 20px; } .mobile-featured-card { grid-template-columns: 96px 1fr; } .mobile-featured-cover { width: 96px; border-radius: 16px; } } @media (min-width:701px) { .mobile-home-shell { gap: 22px; } .mobile-featured-stack { grid-template-columns: 1.15fr .85fr; align-items: start; } .mobile-home-hero { padding: 22px; } .mobile-story-list.compact { grid-template-columns: repeat(2,minmax(0,1fr)); } } @media (min-width: 1100px) { .mobile-home-shell { grid-template-columns: minmax(0,1.7fr)minmax(320px,.9fr); gap: 24px; } .mobile-home-hero, .mobile-home-section.panel { padding: 20px; } .mobile-home-sidebar { position: sticky; top: 88px; } } @media (min-width: 1380px) { .mobile-home-shell { max-width: 1440px; } } @media (max-width:700px) { .mobile-home-shell { gap: 14px; } .mobile-home-hero { padding: 16px; border-radius: 20px; } .mobile-home-hero__top { display: grid; gap: 12px; } .mobile-home-hero__browse { width: 100%; } .mobile-home-greeting strong { font-size: 18px; } .mobile-quick-grid { grid-template-columns: 1fr; } .mobile-quick-card { min-height: unset; grid-template-columns: auto 1fr; align-items: center; } .mobile-quick-card .mobile-quick-icon { grid-row: span 2; } .mobile-quick-card strong { font-size: 18px; } .mobile-section-head { align-items: flex-start; } .mobile-section-head a { padding-top: 2px; } .mobile-featured-card, .mobile-story-row { grid-template-columns: 92px 1fr; gap: 12px; padding: 12px; } .mobile-featured-cover, .mobile-story-thumb { width: 92px; border-radius: 14px; } .mobile-featured-copy h3, .mobile-story-copy h3 { font-size: 20px; } .mobile-update-row { display: grid; gap: 6px; } .mobile-update-row span { white-space: normal; } } .story-page-shell { display: grid; gap: 18px; } .story-detail-grid { display: grid; grid-template-columns: minmax(0,1.2fr)minmax(300px,.8fr); gap: 18px; } .story-detail-main-card, .story-mobile-side-card, .story-mobile-related-card, .story-mobile-comments-card { display: grid; gap: 16px; } .story-mobile-hero { padding: 18px; background: linear-gradient(180deg,rgba(26,36,49,.98),rgba(16,23,32,.96)); color: #f8fbff; } html[data-theme="light"] .story-mobile-hero { background: linear-gradient(180deg,#eef4fb,#ffffff); color: #16202b; } html[data-theme="dark"] .story-mobile-hero { background: linear-gradient(180deg,rgba(32,24,10,.98),rgba(18,14,8,.97)); border: 1px solid rgba(245,158,11,.18); box-shadow: inset 0 1px 0 rgba(255,214,102,.06); } html[data-theme="dark"] .story-mobile-main { gap: 16px; } html[data-theme="dark"] .story-mobile-actions > *, html[data-theme="dark"] .story-mobile-inline-actions > *, html[data-theme="dark"] .story-mobile-side-actions > * { box-shadow: none; } html[data-theme="dark"] .story-mobile-stats-grid div { background: rgba(255,191,71,.08); border-color: rgba(255,191,71,.12); } .story-mobile-hero__content { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; align-items: start; } .story-mobile-cover-wrap { width: 124px; } .story-mobile-cover { width: 124px; aspect-ratio: 2/3; border-radius: 22px; border: 1px solid rgba(255,255,255,.1); object-fit: cover; } .story-mobile-main { display: grid; gap: 14px; min-width: 0; } .story-mobile-badges { display: flex; gap: 8px; flex-wrap: wrap; } .story-mobile-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.06); font-size: 12px; font-weight: 700; } html[data-theme="light"] .story-mobile-chip { background: rgba(15,23,32,.05); border-color: rgba(15,23,32,.08); } .story-mobile-hero h1 { margin: 0; font-size: clamp(28px,4.8vw,42px); line-height: 1.08; } .story-mobile-author-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: inherit; opacity: .84; } .story-mobile-author { color: var(--accent); font-weight: 800; } .story-mobile-dot { opacity: .45; } .story-mobile-stats-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; } .story-mobile-stats-grid div { padding: 12px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); display: grid; gap: 4px; } html[data-theme="light"] .story-mobile-stats-grid div { background: rgba(15,23,32,.04); border-color: rgba(15,23,32,.08); } .story-mobile-stats-grid strong { font-size: 20px; line-height: 1; } .story-mobile-stats-grid span { font-size: 12px; color: inherit; opacity: .72; } .story-mobile-actions, .story-mobile-inline-actions, .story-mobile-side-actions { display: flex; gap: 10px; flex-wrap: wrap; } .story-mobile-surface { display: grid; gap: 14px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel-soft); } .story-mobile-description { font-size: 1rem; } .story-section-head { margin-bottom: 0; } .story-section-head--tight h2 { font-size: clamp(22px,4vw,28px); } .story-share-row--mobile { padding-top: 2px; } .story-mobile-list { display: grid; gap: 12px; } .story-mobile-list-card { display: grid; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); } .story-detail-side-stack { display: grid; gap: 18px; align-content: start; } .story-mobile-inline-actions--top { margin-bottom: 6px; } .story-mobile-chapter-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .story-mobile-comments-card .comment-card, .story-mobile-comments-card .comment-reply { background: var(--panel-soft); border: 1px solid var(--line); border-radius: 16px; padding: 14px; } .story-mobile-comments-card .comment-thread-list { display: grid; gap: 12px; } .story-mobile-comments-card .comment-reply { margin-top: 10px; margin-left: 14px; } .story-mobile-rate-card .rate-form select { background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; } @media (max-width:980px) { .story-detail-grid { grid-template-columns: 1fr; } } @media (max-width:700px) { .story-mobile-hero { padding: 16px; } .story-mobile-hero__content { grid-template-columns: 92px 1fr; gap: 14px; } .story-mobile-cover-wrap, .story-mobile-cover { width: 92px; } .story-mobile-stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .story-mobile-actions > *, .story-mobile-inline-actions > *, .story-mobile-side-actions > * { flex: 1 1 calc(50% - 10px); } .story-mobile-list-card { padding: 12px; } .story-mobile-comments-card .comment-reply { margin-left: 8px; } } body.reader-page-active .page-grid { grid-template-columns: 1fr !important; max-width: 100% !important; } body.reader-page-active .page-grid .sidebar-stack { display: none !important; } body.reader-page-active .page-grid .content-area { max-width: 100% !important; } .reader-progress-track { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 9999; height: 4px; background: transparent; pointer-events: none; } .reader-progress-track span { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 14px rgba(245,158,11,.35); transition: width .12s linear; } .reader-page-shell { display: grid; gap: 18px; padding-bottom: 88px; } .reader-hero { background: linear-gradient(180deg,rgba(245,158,11,.12),rgba(245,158,11,0)),var(--panel); } .reader-hero__top, .reader-hero__actions, .reader-layout-grid, .reader-copy-bar, .reader-copy-actions, .reader-nav-actions, .reader-toolbar-grid, .reader-mobile-tools, .reader-story-card__summary, .reader-story-card__actions { display: flex; gap: 12px; } .reader-hero__top { justify-content: space-between; align-items: flex-start; flex-wrap: wrap; } .reader-kicker, .reader-back-link { color: var(--accent); font-weight: 700; margin: 0 0 6px; display: inline-block; } .reader-hero h1 { margin: 0 0 10px; font-size: clamp(1.8rem,4vw,2.6rem); line-height: 1.15; } .reader-hero__meta { margin: 0; color: var(--muted); } .reader-hero__chips { display: flex; gap: 8px; flex-wrap: wrap; } .reader-chip { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel-soft); font-size: 13px; } .reader-hero__actions { flex-wrap: wrap; } .reader-layout-grid { display: grid; grid-template-columns: 1fr; align-items: start; max-width: 100%; } .reader-main-column { max-width: 100%; } .reader-hero__actions { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 10px; width: 100%; } .reader-hero__actions .button { width: 100%; } .reader-story-card__actions { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 10px; } .reader-story-card__actions .button { width: 100%; margin: 0; } .reader-main-column, .reader-side-column { display: grid; gap: 16px; } .reader-content-card { padding: 0; overflow: hidden; } .reader-copy-bar { justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--muted); flex-wrap: wrap; } .reading-content { padding: 22px 24px 30px; font-size: 1.05rem; line-height: 1.9; max-width: 100%; margin: 0 auto; } .reading-content p:first-child { margin-top: 0; } .reader-navigation-card .pagenavi-wrap { margin-top: 14px; display: grid; gap: 16px; } .reader-navigation-card .pagenavi-summary { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 0; } .reader-navigation-card .pagenavi-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; } .reader-navigation-card .pagenavi-link, .reader-navigation-card .pagenavi-gap { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; min-width: 42px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-soft); color: var(--text); font-weight: 700; font-size: 14px; line-height: 1; text-decoration: none; transition: all .15s ease; } .reader-navigation-card .pagenavi-link:hover { background: var(--accent); color: #111827; border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,158,11,.18); } .reader-navigation-card .pagenavi-link.active { background: var(--accent); color: #111827; border-color: transparent; box-shadow: 0 6px 16px rgba(245,158,11,.25); } .reader-navigation-card .pagenavi-link.disabled, .reader-navigation-card .pagenavi-gap { opacity: .5; pointer-events: none; } .reader-nav-actions { margin-top: 8px; row-gap: 14px; column-gap: 14px; } .reader-page-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-soft); color: var(--text); font-weight: 700; font-size: 14px; line-height: 1; text-decoration: none; transition: all .15s ease; white-space: nowrap; } .reader-page-btn:hover { background: var(--accent); color: #111827; border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,158,11,.18); } .reader-page-btn--primary { background: var(--accent); color: #111827; border-color: transparent; box-shadow: 0 6px 16px rgba(245,158,11,.25); } .reader-page-btn--primary:hover { box-shadow: 0 8px 20px rgba(245,158,11,.3); transform: translateY(-1px); } .reader-nav-actions .button { flex: 0 0 auto; } @media (max-width: 640px) { .reader-navigation-card .pagenavi-wrap { gap: 14px; } .reader-navigation-card .pagenavi-nav { gap: 8px; margin-bottom: 2px; } .reader-navigation-card .pagenavi-link, .reader-navigation-card .pagenavi-gap { min-width: 40px; min-height: 40px; padding: 8px 10px; border-radius: 10px; font-size: 14px; } .reader-nav-actions { margin-top: 12px; } } .reader-nav-actions, .reader-toolbar-grid, .reader-story-card__actions { flex-wrap: wrap; } .reader-toolbar-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); } .reader-mobile-tools { display: flex; flex-wrap: wrap; } .reading-pill { border: 1px solid var(--line); background: var(--panel-soft); color: var(--text); border-radius: 6px; padding: 8px 12px; } .reader-story-card__summary { align-items: center; } .reader-story-card__cover { width: 72px; aspect-ratio: 2/3; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); } .reader-related-grid { padding-top: 0; grid-template-columns: 1fr; } .reader-mobile-dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 35; display: none; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; background: rgba(15,23,32,.9); border: 1px solid var(--line); backdrop-filter: blur(10px); border-radius: 20px; padding: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.22); } html[data-theme="light"] .reader-mobile-dock { background: rgba(255,255,255,.92); } .reader-mobile-dock a, .reader-mobile-dock span { display: flex; align-items: center; justify-content: center; padding: 10px 8px; border-radius: 14px; background: var(--panel-soft); font-weight: 700; } .reader-mobile-dock .is-disabled { opacity: .45; } .reader-page-shell--immersive .reader-hero, .reader-page-shell--immersive .reader-navigation-card, .reader-page-shell--immersive .reader-tools-card, .reader-page-shell--immersive .reader-related-card { background: rgba(24,33,45,.72); } .reader-page-shell--immersive .reader-layout-grid { grid-template-columns: minmax(0,1fr); } .reader-page-shell--immersive .reader-side-column { display: none; } .reader-page-shell--immersive .reader-main-column { max-width: 900px; margin: 0 auto; } .reader-page-shell--immersive .reader-content-card { box-shadow: 0 22px 48px rgba(0,0,0,.22); } .reader-page-shell--immersive .reader-copy-bar { position: sticky; top: 12px; z-index: 20; backdrop-filter: blur(10px); } .reader-immersive-active .site-header, .reader-immersive-active .site-announcement, .reader-immersive-active .mobile-bottom-nav, .reader-immersive-active .site-footer { display: none; } .reading-pill.is-active { background: var(--accent); color: #fff; border-color: var(--accent); } .reader-page-shell[data-reading-bg="sepia"] .reader-content-card { background: #231a11; border-color: #4a3823; } .reader-page-shell[data-reading-bg="sepia"] .reading-content { color: #f4e7ce; } .reader-page-shell[data-reading-bg="night"] .reader-content-card { background: #0a1018; border-color: #1c2a39; } .reader-page-shell[data-reading-bg="night"] .reading-content { color: #d8e4f3; } @media (max-width: 980px) { .home-hero-grid { grid-template-columns: 1fr; } .reader-related-grid { grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); } } @media (max-width: 720px) { .reader-page-shell { padding-bottom: 104px; } .reader-hero { padding: 18px; } .reader-content-card { border-radius: 22px; } .reader-copy-bar { padding: 12px 14px; } .reading-content { padding: 18px 16px 26px; font-size: 1.02rem; } .reader-toolbar-grid { display: none; } .reader-mobile-dock { display: grid; } } html { scroll-behavior: smooth; } .reader-page, body.reader-page-active { overscroll-behavior-y: contain; } .reader-page .reader-content-card { contain: layout paint; transform: translateZ(0); } .reader-page .reading-content { overflow-wrap: break-word; text-rendering: optimizeLegibility; } .reader-page .reading-content img, .reader-page .reading-content iframe { content-visibility: auto; contain-intrinsic-size: 1px 420px; } .reader-page .reader-side-column > *, .reader-page .reader-navigation-card, .reader-page .reader-related-card { content-visibility: auto; contain-intrinsic-size: 1px 420px; } .reader-progress-track span { will-change: width; } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reader-progress-track span, .reader-page * { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } } html, body.reader-page, body.reader-page-active { height: auto !important; min-height: 100% !important; overflow-y: auto !important; overscroll-behavior-y: auto !important; } body.reader-page .reader-page-shell, body.reader-page-active .reader-page-shell, body.reader-page .reader-layout-grid, body.reader-page-active .reader-layout-grid, body.reader-page .reader-main-column, body.reader-page-active .reader-main-column { height: auto !important; min-height: 0 !important; overflow: visible !important; } body.reader-page .reader-content-card, body.reader-page-active .reader-content-card { contain: none !important; transform: none !important; overflow: visible !important; } body.reader-page .reading-content, body.reader-page-active .reading-content { overflow: visible !important; touch-action: pan-y !important; -webkit-overflow-scrolling: touch; } body.reader-page .reader-panel-topbar, body.reader-page-active .reader-panel-topbar { pointer-events: none; } body.reader-page .reader-font-icon-tools, body.reader-page .reader-font-icon-tools *, body.reader-page-active .reader-font-icon-tools, body.reader-page-active .reader-font-icon-tools * { pointer-events: auto; } .secure-malayalam-reading { font-variant-ligatures: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; } .secure-malayalam-reading::selection { background: transparent; } .listing-shell { display: grid; gap: 18px; } .listing-hero { display: grid; grid-template-columns: minmax(0,1.3fr)auto; gap: 16px; align-items: end; padding: 22px; background: linear-gradient(180deg,rgba(245,158,11,.14),rgba(245,158,11,0)),var(--panel); } .listing-kicker { display: inline-block; margin-bottom: 8px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; } .listing-hero h1 { margin: 0 0 8px; font-size: clamp(1.8rem,4vw,2.6rem); line-height: 1.05; } .listing-hero__copy .meta { margin: 0; max-width: 62ch; } .listing-hero__actions, .listing-action-row, .listing-chip-row, .listing-stat-row { display: flex; gap: 10px; flex-wrap: wrap; } .listing-hero__actions { justify-content: flex-end; align-items: center; } .listing-chip-row { margin-top: 14px; } .listing-filter-card, .listing-recommended-card { padding: 20px; } .listing-filter-form-v2 { display: grid; gap: 14px; } .listing-filter-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; } .listing-filter-grid--single { grid-template-columns: minmax(0,1fr); } .field-block--wide { grid-column: span 2; } .listing-action-row { align-items: center; } .listing-action-row--compact { gap: 8px; } .listing-grid-section { display: grid; gap: 16px; } .section-heading--mobile-spread { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; } .listing-story-grid { grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); } .listing-story-grid--compact { grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); } .listing-empty-state { padding: 22px; } .pdf-novel-grid--redesign { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 16px; } .pdf-novel-card--redesign { display: grid; grid-template-columns: 100px 1fr; gap: 14px; align-items: start; } .pdf-novel-card--redesign .pdf-novel-cover, .pdf-novel-card--redesign .pdf-novel-cover img { width: 100px; } .pdf-novel-card--redesign .pdf-novel-cover img, .pdf-cover-placeholder { aspect-ratio: 3/4; border-radius: 16px; object-fit: cover; } .pdf-cover-placeholder { display: grid; place-items: center; background: var(--panel-soft); border: 1px solid var(--line); color: var(--muted); font-weight: 800; } .pdf-novel-card--redesign h2 { margin: 10px 0 8px; font-size: 1.15rem; line-height: 1.25; } .pdf-novel-card--redesign p { margin: 0 0 10px; } .listing-stat-row { color: var(--muted); font-size: 13px; margin-bottom: 12px; } .authors-grid--redesign { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 16px; } .author-card--redesign { display: grid; gap: 14px; } .author-card__head { display: flex; gap: 12px; align-items: center; } .author-card__head h3 { margin: 0 0 4px; } .author-card__bio { margin: 0; color: var(--muted); } .author-card--redesign .avatar { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; border: 1px solid var(--line); } .author-card--redesign .avatar.placeholder { display: grid; place-items: center; background: var(--panel-soft); font-size: 1.4rem; font-weight: 800; } @media (max-width: 980px) { .listing-hero { grid-template-columns: 1fr; align-items: start; } .listing-hero__actions { justify-content: flex-start; } .listing-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } } @media (max-width: 700px) { .listing-shell { gap: 14px; } .listing-hero, .listing-filter-card, .listing-recommended-card { padding: 16px; border-radius: 22px; } .listing-hero h1 { font-size: 1.9rem; } .listing-filter-grid { grid-template-columns: 1fr; } .field-block--wide { grid-column: auto; } .listing-story-grid, .listing-story-grid--compact, .authors-grid--redesign, .pdf-novel-grid--redesign { grid-template-columns: 1fr; } .pdf-novel-card--redesign { grid-template-columns: 86px 1fr; } .pdf-novel-card--redesign .pdf-novel-cover, .pdf-novel-card--redesign .pdf-novel-cover img { width: 86px; } .listing-hero__actions > *, .listing-action-row > * { flex: 1 1 calc(50% - 10px); text-align: center; justify-content: center; } .listing-chip-row { gap: 8px; } } body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; } .site-shell { width: min(100%,1440px); } .page-grid.no-sidebar { width: min(100%,1440px); margin-inline: auto; } @media (min-width: 1280px) { .page-grid { grid-template-columns: minmax(0,1fr)340px; gap: 24px; } } .mobile-home-section.panel, .mobile-featured-card, .mobile-story-row, .mobile-update-row, .listing-grid-section, .reader-content-card, .reader-navigation-card, .reader-tools-card, .reader-related-card { content-visibility: auto; contain-intrinsic-size: 1px 520px; } .mobile-home-main > .panel:first-child, .reader-content-card { content-visibility: visible; } .mobile-home-sidebar { align-self: start; } .mobile-story-list { grid-template-columns: 1fr; } @media (min-width: 980px) { .mobile-home-main { grid-template-columns: minmax(0,1fr); } .mobile-story-list { grid-template-columns: 1fr; } } @media (min-width: 1200px) { .mobile-featured-stack { grid-template-columns: minmax(0,1.2fr)minmax(0,.8fr); } } .mobile-update-row { min-height: 72px; } .mobile-update-row strong { flex: 1; min-width: 0; } .reader-mobile-dock { padding-bottom: max(10px,env(safe-area-inset-bottom)); } .reader-page .site-footer, .reader-page .mobile-bottom-nav { display: none !important; } .reader-page .page-grid.no-sidebar { padding-bottom: 18px; } @media (max-width: 720px) { .site-shell, .container { padding-inline: 12px; } .mobile-home-hero h1 { font-size: clamp(2rem,8vw,2.7rem); } .mobile-section-head h2 { font-size: clamp(1.5rem,6vw,2rem); } .reader-mobile-dock { left: 10px; right: 10px; bottom: 10px; } } /* Author profile — Redesigned Most styles are inline in author_profile.html. This file only provides base-level resets and legacy compatibility for any partials that may still reference old class names. */ .rr-author-shell { display: grid; gap: 16px; min-width: 0; overflow: hidden; } .rr-author-panel { display: grid; gap: 14px; min-width: 0; } .rr-author-hero, .rr-author-hero-inner, .rr-author-main, .rr-author-grid, .rr-author-stat-row, .rr-featured-list, .rr-featured-item, .rr-featured-copy, .rr-release-list, .rr-release-item, .rr-analytics-list, .rr-analytics-item, .story-grid, .dashboard-stack { min-width: 0; overflow: hidden; box-sizing: border-box; } .pdf-novel-grid--storyish { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; } .pdf-novel-card--storyish { display: grid; gap: 14px; align-content: start; min-height: 100%; min-width: 0; overflow: hidden; } .pdf-novel-title { margin: 0; min-width: 0; font-size: clamp(1.45rem, 1.8vw, 1.9rem); line-height: 1.18; } .pdf-novel-title a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; word-break: break-word; } .pdf-novel-author { margin: 0; min-width: 0; font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 800; color: var(--accent); overflow-wrap: anywhere; word-break: break-word; } .pdf-novel-author a { color: inherit; } .pdf-novel-origin { margin: -6px 0 0; min-width: 0; font-size: 1rem; overflow-wrap: anywhere; word-break: break-word; } .pdf-novel-origin a { color: var(--text); } .story-stat-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel-soft); color: var(--muted); font-size: 13px; line-height: 1; } .pdf-novel-actions { margin-top: auto; } .pdf-novel-actions .button { min-width: 132px; } @media (max-width: 700px) { .pdf-novel-grid--storyish { grid-template-columns: 1fr; } .pdf-novel-card--storyish { gap: 12px; } .pdf-novel-title { font-size: 1.28rem; } .pdf-novel-author { font-size: 1rem; } } .story-mobile-comments-card .comment-composer { width: 100%; display: grid; gap: 12px; padding: 16px; } .story-mobile-comments-card .story-comment-textarea { width: 100%; min-height: 150px; resize: none; display: block; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); color: var(--text); line-height: 1.6; box-shadow: inset 0 1px 0 rgba(255,255,255,.03); } .story-mobile-comments-card .story-comment-textarea::placeholder { color: var(--muted); } .story-mobile-comments-card .story-comment-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,.16); } .story-mobile-comments-card .comment-composer > .button { justify-self: start; } .story-mobile-comments-card .replying-indicator { display: none; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--panel-soft); border: 1px solid var(--line); } .story-mobile-comments-card .replying-indicator.active { display: flex; } .story-mobile-comments-card .comment-card p, .story-mobile-comments-card .comment-reply p { margin: 8px 0 0; line-height: 1.65; } .story-mobile-comments-card .comment-card .cluster, .story-mobile-comments-card .comment-reply .cluster { margin-top: 10px; } @media (max-width: 700px) { .story-mobile-comments-card .comment-composer { padding: 14px; } .story-mobile-comments-card .story-comment-textarea { min-height: 140px; } .story-mobile-comments-card .comment-composer > .button { width: 100%; justify-content: center; } .story-mobile-comments-card .replying-indicator { flex-direction: column; align-items: stretch; } } .story-mobile-comments-card .comment-user { display: flex; align-items: flex-start; gap: 12px; } .story-mobile-comments-card .comment-avatar { width: 42px; height: 42px; min-width: 42px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-size: 1rem; font-weight: 700; background: var(--panel-soft); border: 1px solid var(--line); color: var(--text); } .story-mobile-comments-card .comment-avatar.small { width: 34px; height: 34px; min-width: 34px; font-size: .9rem; } .story-mobile-comments-card .comment-user-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; line-height: 1.2; } .story-mobile-comments-card .comment-user-link { font-weight: 700; color: var(--text); text-decoration: none; } .story-mobile-comments-card .comment-role-text { font-size: 1rem; font-weight: 700; } .story-mobile-comments-card .comment-role-text.author { color: #f59e0b; } .story-mobile-comments-card .comment-role-text.staff { color: #38bdf8; } .story-mobile-comments-card .comment-role-text.admin { color: #ef4444; } .story-mobile-comments-card .meta { margin-top: 4px; font-size: .86rem; color: var(--muted); } .story-mobile-comments-card .story-comment-textarea { overflow: hidden; } @media (max-width:700px) { .story-mobile-comments-card .comment-avatar { width: 38px; height: 38px; min-width: 38px; } .story-mobile-comments-card .comment-avatar.small { width: 30px; height: 30px; min-width: 30px; } } .mobile-story-cta { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: flex-start; } .mobile-story-cta-btn { min-height: 52px; border-radius: 16px; box-shadow: var(--shadow); } @media (max-width: 720px) { .mobile-story-cta { margin-top: 20px; padding-top: 14px; justify-content: stretch; } .mobile-story-cta-btn { width: 100%; } } .site-announcement { background: rgba(245,158,11,.12); border-bottom: 1px solid rgba(245,158,11,.25); font-size: .95rem; } .site-announcement .site-shell { padding: .7rem 1rem; text-align: center; } .site-announcement a,.site-announcement span { color: var(--text); text-decoration: none; font-weight: 600; display: block; } @media (max-width:700px) { .header-actions { gap: 8px; } .site-search input { padding: 10px 12px; } .site-search button, .theme-switch, .mobile-theme-switch { min-height: 40px; padding: 10px 12px; font-size: 13px; } .theme-switch, .mobile-theme-switch { min-width: 96px; } .theme-switch-label { min-width: 60px; } } .shelf-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 14px; } .shelf-card { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel-soft); } .shelf-card h3 { margin: 0; font-size: 1rem; } .shelf-card .meta { margin: 0; } .shelf-card__actions { display: flex; flex-wrap: wrap; gap: 10px; } .reader-nav-actions .button, .reader-story-card__actions .button { flex: 1 1 180px; } .reader-mobile-dock a, .reader-mobile-dock span { border-radius: var(--button-radius); min-height: 42px; display: flex; align-items: center; justify-content: center; } @media (max-width: 720px) { .site-search button, .button, .btn, .theme-switch, .mobile-theme-switch, .share-btn, .reading-pill { min-height: 40px; padding: 10px 12px; border-radius: var(--button-radius); } .reader-copy-bar { gap: 10px; } .reader-copy-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .reader-navigation-card { position: relative; } .reader-nav-actions { position: sticky; bottom: 72px; z-index: 12; background: var(--panel); padding-top: 10px; } .reader-nav-actions .button { flex: 1 1 calc(50% - 8px); } .reader-hero__actions { grid-template-columns: 1fr 1fr; } .reader-story-card__actions { grid-template-columns: 1fr; } } :root { --button-radius: 6px; --button-height: 42px; } .button, .btn, .site-search button, .theme-switch, .mobile-theme-switch, .share-btn, .reading-pill, .mobile-breadcrumb-toggle, .reader-mobile-dock a, .reader-mobile-dock span, .main-nav a { border-radius: var(--button-radius) !important; } .button, .btn, .site-search button, .theme-switch, .mobile-theme-switch, .share-btn, .reading-pill { min-height: var(--button-height); padding: 10px 14px; font-weight: 700; } .main-nav a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; } .inline-moderation-form { display:inline-flex; margin:0; } .user-role-badge--premium { color:#7c3aed; } .user-role-badge--banned { color:#ef4444; } .comment-actions .button-danger { color:#fff; } .user-role-badge { display:inline-flex; align-items:center; gap:4px; margin-left:4px; padding:3px 7px; border-radius:999px; border:1px solid var(--line); background:var(--panel-soft); font-size:.72rem; font-weight:800; line-height:1; letter-spacing:.02em; } .user-role-badge--admin, .user-role-badge[data-role="admin"] { color:#ef4444; } .user-role-badge--moderator, .user-role-badge[data-role="moderator"] { color:#0ea5e9; } .user-role-badge--premium, .user-role-badge[data-role="premium"] { color:#7c3aed; } .user-role-badge--banned, .user-role-badge[data-role="banned"] { color:#ef4444; opacity:.75; } .user-role-badge--author, .user-role-badge[data-role="author"] { color:var(--accent); } .user-role-badge--reader, .user-role-badge[data-role="reader"] { color:var(--muted); } .inline-moderation-form { display:inline-flex; margin:0; } .comment-actions .button-danger { color:#fff; } .hero, .mobile-home-hero, .story-mobile-hero, .story-detail-main-card, .story-mobile-side-card, .story-mobile-related-card, .story-mobile-comments-card, .reader-hero, .reader-content-card, .reader-tools-card, .reader-story-card, .reader-related-card, .reader-navigation-card, .reader-sponsor-card, .mobile-home-section.panel, .continue-reading-card, .story-card, .stack-card, .panel { border-radius: 20px; } .home-hero-grid { gap: 20px; } .hero { padding: 28px; } .hero h1 { line-height: 1.08; max-width: min(100%,40ch); } .continue-reading-card { padding: 18px; background: linear-gradient(180deg,rgba(245,158,11,.12),rgba(245,158,11,.04)); } html[data-theme="light"] .continue-reading-card { background: linear-gradient(180deg,rgba(201,119,0,.10),rgba(201,119,0,.03)); } .section-heading, .mobile-section-head, .story-section-head { gap: 14px; } .story-grid, .aurora-card-grid, .reader-related-grid { gap: 18px; } .story-card { height: 100%; padding: 18px; } .story-card-body { gap: 10px; } .story-card .story-title a { line-height: 1.3; } .story-badges, .story-stats, .story-actions-row, .pdf-novel-actions, .pdf-novel-badges { gap: 10px; } .story-mobile-stats-grid div, .story-mobile-list-card, .reader-story-card__summary, .reader-copy-bar, .reader-tools-card .reader-toolbar-grid, .reader-tools-card .reader-mobile-tools, .comment-card, .comment-reply { border-radius: 16px; } .story-mobile-stats-grid div { min-height: 78px; } .story-mobile-actions > *, .story-mobile-inline-actions > *, .story-mobile-side-actions > * { justify-content: center; } .story-mobile-description, .reading-content { text-wrap: pretty; } .reading-content { font-size: clamp(1.04rem,0.98rem + .22vw,1.14rem); } .reading-content p { margin: 0 0 1.15em; } .reader-toolbar-grid { gap: 10px; } .reading-pill { min-width: 0; flex: 1 1 auto; } .reader-mobile-dock { gap: 10px; padding: 12px; border-radius: 16px; } .reader-mobile-dock a, .reader-mobile-dock span { min-height: 44px; } .dashboard-two-col, .story-detail-grid, .reader-layout-grid { gap: 20px; } @media (max-width: 980px) { .hero { padding: 22px; } .hero h1 { max-width: none; } .story-detail-grid, .reader-layout-grid, .dashboard-two-col { gap: 16px; } } @media (max-width: 720px) { .site-shell, .container { padding: 0 14px; } .header-shell { gap: 8px; padding: 8px 0 12px; } .header-actions { width: 100%; justify-content: stretch; } .site-search { max-width: none; } .site-search input { min-height: 42px; border-radius: 6px; } .main-nav a, .mobile-breadcrumb-toggle, .mobile-breadcrumb-list a, .button, .btn, .theme-switch, .mobile-theme-switch, .share-btn, .reading-pill, .site-search button { border-radius: 6px !important; } .mobile-home-hero, .story-mobile-hero, .story-detail-main-card, .story-mobile-side-card, .story-mobile-related-card, .story-mobile-comments-card, .reader-hero, .reader-content-card, .reader-tools-card, .reader-story-card, .reader-related-card, .reader-navigation-card, .reader-sponsor-card, .mobile-home-section.panel, .panel, .stack-card, .story-card { border-radius: 16px; } .mobile-home-hero { padding: 18px; } .mobile-home-greeting, .mobile-continue-card, .story-mobile-list-card, .story-mobile-stats-grid div, .reader-copy-bar { border-radius: 14px; } .story-mobile-actions > *, .story-mobile-inline-actions > *, .story-mobile-side-actions > * { flex: 1 1 100%; } .story-mobile-stats-grid { gap: 8px; } .reader-mobile-dock { grid-template-columns: repeat(4,minmax(0,1fr)); left: 10px; right: 10px; } .reading-content { font-size: 1.08rem; line-height: 2; } } .home-featured-block { overflow: hidden; } .home-featured-grid { display: grid; grid-template-columns: minmax(0,1.35fr)minmax(280px,.85fr); gap: 20px; align-items: stretch; } .home-featured-story { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg,rgba(245,158,11,.10),rgba(245,158,11,.03)); } html[data-theme="light"] .home-featured-story { background: linear-gradient(180deg,rgba(201,119,0,.08),rgba(201,119,0,.02)); } .home-featured-cover, .home-featured-mini-thumb { display: block; text-decoration: none; } .home-featured-cover img, .home-featured-mini-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); aspect-ratio: 2/3; } .home-featured-cover span, .home-featured-mini-thumb span { display: grid; place-items: center; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(135deg,#223247,#131b24); color: #fff; font-size: 2.2rem; font-weight: 800; aspect-ratio: 2/3; } .home-featured-copy { display: grid; gap: 12px; align-content: start; } .home-featured-badges, .home-featured-stats, .home-featured-actions, .home-featured-mini-meta { display: flex; gap: 10px; flex-wrap: wrap; } .home-featured-badges span, .home-featured-stats span, .reader-stat-pill { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-soft); font-weight: 700; } .home-featured-copy h3, .home-featured-side__head h3, .home-featured-mini-copy h4 { margin: 0; } .home-featured-copy h3 a, .home-featured-mini-copy h4 a { color: inherit; } .home-featured-author { margin: 0; color: var(--muted); font-weight: 700; } .home-featured-summary { margin: 0; } .home-featured-side { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel-soft); } .home-featured-mini-list { display: grid; gap: 12px; } .home-featured-mini-card { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); } .home-featured-mini-copy { display: grid; gap: 6px; min-width: 0; } .home-featured-mini-copy p { margin: 0; color: var(--muted); } .home-featured-mini-copy h4 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .home-featured-mini-meta span { color: var(--muted); font-size: .92rem; } .reader-hero__stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; } .reader-content-card { position: relative; } .reader-copy-bar { position: sticky; top: 12px; z-index: 10; backdrop-filter: blur(10px); background: color-mix(in srgb,var(--panel)92%,transparent); } .reader-copy-actions .share-btn { min-height: 42px; padding: 10px 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel-soft); color: var(--text); font-weight: 700; } .reader-nextup-shell { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; } .reader-nextup-shell strong { display: block; font-size: 1.05rem; margin-bottom: 6px; } .reader-story-card__actions .button, .reader-nav-actions .button, .reader-hero__actions .button, .reader-copy-actions .share-btn { min-height: 44px; border-radius: 6px; } .reader-navigation-card, .reader-nextup-card, .reader-sponsor-card, .reader-tools-card, .reader-story-card, .reader-related-card { scroll-margin-top: 90px; } @media (max-width: 980px) { .home-featured-grid { grid-template-columns: 1fr; } } @media (max-width: 720px) { .home-featured-story { grid-template-columns: 96px minmax(0,1fr); padding: 14px; gap: 14px; } .home-featured-side { padding: 14px; } .home-featured-mini-card { grid-template-columns: 64px minmax(0,1fr); } .reader-copy-bar { top: 8px; padding: 12px; } .reader-hero__stats { gap: 8px; } .reader-stat-pill { min-height: 34px; padding: 6px 10px; } } :root { --button-radius: 6px; } #scrollTopDesktopBtn, .mobile-breadcrumb-toggle, .mobile-section-head a, .reader-navigation-card .pagenavi-link, .reader-navigation-card .pagenavi-gap, .reader-mobile-dock a, .reader-mobile-dock span, .reader-copy-actions .share-btn, .reader-nav-actions .button, .reader-hero__actions .button, .reader-story-card__actions .button, .reader-toolbar-grid .button, .reader-mobile-tools .reading-pill { border-radius: var(--button-radius) !important; } #scrollTopDesktopBtn { min-width: 46px; min-height: 46px; } .mobile-section-head a, .reader-navigation-card .pagenavi-link, .reader-navigation-card .pagenavi-gap, .reader-mobile-dock a, .reader-mobile-dock span { min-height: var(--button-height); padding: 10px 14px; font-size: 14px; font-weight: 700; line-height: 1; } .reader-hero__actions { margin-top: 18px; } @media (max-width: 720px) { .reader-hero__actions { margin-top: 16px; } } .authors-grid--clean { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 18px; } .author-card--clean { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 8px; padding: 20px; } .author-card__avatar { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); display: block; } .author-card__avatar--placeholder { display: grid; place-items: center; background: var(--panel-soft); font-size: 1.5rem; font-weight: 800; } .author-card__name { margin: 2px 0 0; font-size: 1.2rem; line-height: 1.2; } .author-card__name a { color: var(--ink); text-decoration: none; } .author-card__name a:hover { color: var(--accent); } .author-card__handle { margin: 0; color: var(--muted); font-size: .95rem; } .author-card--clean .author-card__bio { margin: 4px 0 10px; color: var(--muted); max-width: 28ch; min-height: 2.6em; } .author-card__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: auto; } .author-card__actions .button { min-width: 118px; } @media (max-width: 640px) { .authors-grid--clean { grid-template-columns: 1fr; } .author-card__actions { width: 100%; } .author-card__actions .button { flex: 1 1 140px; } } .story-mobile-hero__content { display: block; } .story-mobile-main { width: 100%; } .story-mobile-stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: 12px; width: 100%; align-items: stretch; } .story-mobile-stats-grid div { min-height: 92px; padding: 14px 12px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; overflow: hidden; } .story-mobile-stats-grid strong { display: block; font-size: clamp(22px,3vw,26px); line-height: 1.05; white-space: nowrap; } .story-mobile-stats-grid span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.25; word-break: break-word; overflow-wrap: anywhere; } @media (max-width: 700px) { .story-mobile-stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } } .reader-pagenavi-theme { margin-top: 14px; display: grid; gap: 16px; } .reader-pagenavi-theme .pagenavi-summary { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 0; } .reader-pagenavi-theme .pagenavi-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; } .reader-pagenavi-theme .pagenavi-link, .reader-pagenavi-theme .pagenavi-gap { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 48px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line); background: transparent; color: var(--text); font-weight: 700; line-height: 1; text-decoration: none; } .reader-pagenavi-theme .pagenavi-link:hover { background: var(--panel-soft); } .reader-pagenavi-theme .pagenavi-link.active { background: var(--accent); color: #111827; border-color: transparent; box-shadow: 0 10px 20px rgba(245,158,11,.22); } .reader-pagenavi-theme .pagenavi-link.disabled, .reader-pagenavi-theme .pagenavi-gap { opacity: .72; } @media (max-width: 640px) { .reader-pagenavi-theme { gap: 14px; } .reader-pagenavi-theme .pagenavi-nav { gap: 10px; margin-bottom: 2px; } .reader-pagenavi-theme .pagenavi-link, .reader-pagenavi-theme .pagenavi-gap { min-width: 48px; min-height: 48px; padding: 10px 14px; border-radius: 14px; font-size: 16px; } } .story-like-form { margin: 0; } .button-heart { display: inline-flex; align-items: center; gap: 8px; } .button-heart .heart-icon { font-size: 18px; line-height: 1; } .button-heart.is-liked { border-color: rgba(239,68,68,.45); background: rgba(239,68,68,.10); color: #ffb4b4; } .button-heart.is-liked .heart-icon { color: #ef4444; } .story-submit-simple { max-width: 980px; margin-inline: auto; } .story-submit-simple .submit-grid, .story-submit-simple .submit-main { display: block; } .story-submit-simple .submit-step + .submit-step { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); } .story-submit-simple .submit-step__head { margin-bottom: 1rem; } .story-submit-simple .submit-inline-balanced { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; } .story-submit-simple .field-wrap { margin-bottom: 1rem; } .story-submit-simple .form-inline-help { margin-top: .4rem; } .story-submit-simple .story-submit-actions { display: flex; justify-content: flex-end; margin-top: 1.25rem; } .story-submit-simple .submission-details-inline .hidden-cover-theme, .story-submit-simple .submission-details-inline .hidden-cover-upload, .story-submit-simple .submission-details-inline .hidden-author-fields { display: none; } .story-submit-simple .field-wrap-captcha input { max-width: 220px; } .upcoming-list { list-style: none; padding: 0; margin: 0; } .upcoming-item { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.08); } .upcoming-title { font-weight: 600; } .upcoming-date { color: var(--muted); white-space: nowrap; } .upcoming-item.is-today .upcoming-title, .upcoming-item.is-today .upcoming-date { color: var(--accent); font-weight: 700; } @media (max-width: 720px) { .story-submit-simple .submit-inline-balanced { grid-template-columns: 1fr; } .upcoming-item { flex-direction: column; align-items: flex-start; } } .story-card .story-badges { display: none; } .story-meta-icons { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; margin-top: 10px; } .story-stat { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; line-height: 1; color: #64748b; } .story-stat-icon { width: 16px; height: 16px; display: block; fill: currentColor; flex: 0 0 16px; } .story-like-stat { color: #64748b; } .story-bottom-row { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 14px; } .story-status { font-size: 14px; font-weight: 600; letter-spacing: .04em; } .story-status.ongoing { color: #f0a020; } .story-status.complete { color: #7cc576; } .story-card-link { margin-left: auto; text-decoration: none; } @media (max-width: 768px) { .story-bottom-row { flex-wrap: wrap; } } .story-like-form--full { display: block; width: 100%; margin: 0; } .story-like-form--full .button-heart--full { display: flex; width: 100%; justify-content: center; min-height: var(--button-height); } .story-share-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .story-share-row .share-btn-compact { min-height: 36px; padding: 8px 10px; font-size: 13px; font-weight: 600; border-radius: 6px; box-shadow: none; } .story-share-row .share-btn-compact:hover { box-shadow: none; } .chapter-editor-shell { display: grid; gap: 14px; } .chapter-editor-topline { display: flex; justify-content: flex-start; } .chapter-editor-back { color: var(--accent); font-weight: 700; } .chapter-editor-layout { display: grid; grid-template-columns: minmax(0,1.45fr)minmax(320px,.55fr); gap: 20px; align-items: start; } .chapter-editor-main { padding: 20px; } .chapter-editor-head { display: grid; gap: 8px; margin-bottom: 18px; } .chapter-editor-head h1 { margin: 0; } .chapter-editor-form { display: grid; gap: 22px; } .chapter-editor-section { display: grid; gap: 16px; } .chapter-editor-section + .chapter-editor-section { border-top: 1px solid var(--line); padding-top: 20px; } .chapter-editor-section-head h2 { margin: 0; } .chapter-editor-grid { display: grid; gap: 16px; } .chapter-editor-grid.two-col { grid-template-columns: repeat(2,minmax(0,1fr)); } .field-wrap--checkbox-card { padding-top: 2px; } .checkbox-card-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-soft); } .checkbox-card-title { font-weight: 700; } .checkbox-card-box { display: inline-flex; align-items: center; justify-content: center; } .checkbox-card-box input[type="checkbox"] { width: 22px; height: 22px; margin: 0; } .chapter-editor-actions { display: flex; justify-content: flex-end; } .chapter-editor-submit { min-width: 240px; } .chapter-editor-side { display: grid; gap: 16px; position: sticky; top: 92px; } .chapter-editor-side-card { display: grid; gap: 14px; } .chapter-editor-side-card h3 { margin: 0; } .chapter-editor-option-list { display: grid; gap: 14px; } .chapter-editor-option-item { display: grid; gap: 6px; } .chapter-editor-option-item p { margin: 0; color: var(--muted); } .chapter-editor-tips { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); } .chapter-editor-back-btn { text-align: center; } @media (max-width: 1100px) { .chapter-editor-layout { grid-template-columns: 1fr; } .chapter-editor-side { position: static; } } @media (max-width: 720px) { .chapter-editor-grid.two-col { grid-template-columns: 1fr; } } .story-mobile-actions, .story-mobile-actions--desktop-row { display: flex; flex-wrap: nowrap !important; gap: 10px; align-items: center; } .story-mobile-actions .story-action-btn, .story-mobile-actions--desktop-row .story-action-btn { flex: 1 1 0; min-width: 0; min-height: 42px; justify-content: center; text-align: center; white-space: nowrap; border-radius: 8px !important; } .story-like-btn { width: 100%; min-height: 42px; border-radius: 8px !important; background: #fff2f2 !important; border: 1px solid #f3b7b7 !important; color: #d64545 !important; } .story-like-btn:hover { background: #ffe5e5 !important; border-color: #e88d8d !important; color: #bf2f2f !important; } .story-like-btn.is-liked { background: #ffe0e0 !important; border-color: #ef9a9a !important; color: #c62828 !important; } .story-like-btn #likeIcon { color: inherit; } .story-mobile-bottom-actions, .story-mobile-bottom-actions .cluster, .story-mobile-bottom-actions .button-row { display: flex; flex-wrap: nowrap !important; gap: 10px; } .story-mobile-bottom-actions a, .story-mobile-bottom-actions .story-action-btn, .story-mobile-bottom-actions .btn, .story-mobile-bottom-actions .button { flex: 1 1 0; min-width: 0; min-height: 42px; white-space: nowrap; justify-content: center; border-radius: 8px !important; } @media (max-width: 980px) { .story-mobile-actions, .story-mobile-actions--desktop-row, .story-mobile-bottom-actions, .story-mobile-bottom-actions .cluster, .story-mobile-bottom-actions .button-row { flex-wrap: wrap !important; } .story-mobile-actions .story-action-btn, .story-mobile-actions--desktop-row .story-action-btn, .story-mobile-bottom-actions a, .story-mobile-bottom-actions .story-action-btn, .story-mobile-bottom-actions .btn, .story-mobile-bottom-actions .button { flex: 1 1 calc(50% - 10px); } } .pdf-reader-panel--premium { display: grid; gap: 16px; } .pdf-reader-toolbar { align-items: center; } .pdf-reader-toolbar-actions { display: flex; gap: 10px; flex-wrap: wrap; } .pdf-reader-frame-wrap--premium { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; } .pdf-reader-frame { width: 100%; min-height: 900px; border: 0; display: block; background: #fff; } .pdf-reader-fallback { margin: 0; } @media (max-width: 720px) { .pdf-reader-frame { min-height: 70vh; } } .pdf-reader-frame-wrap { width: 100%; } .pdf-reader-frame { display: block; width: 100% !important; height: 85vh !important; min-height: 700px !important; border: 0; background: #fff; } .browser-reader iframe { width: 100% !important; height: 85vh !important; } .social-icons a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: #f3f4f6; text-decoration: none; font-size: 18px; } .story-social-icons { display: flex; gap: 10px; flex-wrap: wrap; } .story-social-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-soft,#f8fafc); color: var(--muted,#6b7280); text-decoration: none; } .story-social-icon:hover { color: var(--text,#111827); background: var(--surface-2,#f3f4f6); } .story-social-icon svg { width: 18px; height: 18px; fill: currentColor; } .reader-social-icons { margin-top: 14px; justify-content: flex-start; } .reader-page-shell { max-width: 1400px !important; margin: 0 auto !important; padding-left: 16px; padding-right: 16px; gap: 18px !important; } .reader-layout-grid {  grid-template-columns: 1fr !important; gap: 18px !important; } .reader-side-column, .reader-tools-card, .reader-sponsor-card { display: none !important; } .reader-main-column { width: 100% !important; max-width: 1180px !important; margin: 0 auto !important;  gap: 18px !important; } .reader-hero { width: 100% !important; max-width: 1180px !important; margin: 0 auto !important; padding: 18px 20px !important; border-radius: 14px !important; } .reader-hero__top { display: flex !important; align-items: flex-start !important; justify-content: space-between !important; gap: 16px !important; } .reader-hero__copy { flex: 1 1 auto; min-width: 0; } .reader-back-link { display: inline-flex !important; align-items: center !important; gap: 6px; margin-bottom: 8px !important; font-weight: 700; } .reader-hero h1, .reader-hero__title, .reader-page-shell h1 { margin: 0 0 8px !important; line-height: 1.06 !important; font-size: clamp(2rem,4vw,3.2rem) !important; } .reader-hero__meta { margin: 0 0 12px !important; display: flex !important; flex-wrap: wrap !important; gap: 8px !important; align-items: center !important; } .reader-hero__stats, .reader-hero__chips { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; margin-top: 0 !important; } .reader-stat-pill, .reader-chip { border-radius: 6px !important; min-height: 38px; padding: 8px 14px !important; } .reader-hero__actions {  grid-template-columns: repeat(5,minmax(0,1fr)) !important; gap: 10px !important; margin-top: 14px !important; } .reader-hero__actions .button, .reader-hero__actions a { width: 100% !important; min-height: 42px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; border-radius: 6px !important; white-space: nowrap !important; } .reader-content-card { width: 100% !important; max-width: 1180px !important; margin: 0 auto !important; border-radius: 14px !important; overflow: hidden !important; padding: 0 !important; } .reader-copy-bar { display: none !important; } .reading-content, .rich-content.story-body-content.reading-content { width: 100% !important; max-width: none !important; padding: 3px 3px 1px !important; font-size: 1.12rem !important; line-height: 1.92 !important; } .reading-content > *:first-child { margin-top: 0 !important; } .reading-content p { margin: 0 0 1.2em !important; } .reader-social-icons, .story-social-icons.reader-social-icons { display: flex !important; gap: 10px !important; flex-wrap: wrap !important; margin: 0 34px 24px !important; } .reader-navigation-card, .reader-nextup-card { width: 100% !important; max-width: 1180px !important; margin: 0 auto !important; border-radius: 14px !important; padding: 18px 20px !important; } .reader-navigation-card h2, .reader-nextup-card h2 { margin: 0 0 6px !important; } .reader-navigation-card .meta, .reader-nextup-card .meta { margin-top: 0 !important; } .pagenavi-wrap { gap: 16px; margin-top: 18px; } .pagenavi-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } .pagenavi-link, .pagenavi-gap { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; min-width: 42px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-soft); color: var(--text); font-weight: 700; font-size: 14px; line-height: 1; text-decoration: none; transition: all .15s ease; } .pagenavi-link:hover { background: var(--accent); color: #111827; border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,158,11,.18); } .pagenavi-link.active { background: var(--accent); color: #111827; border-color: transparent; box-shadow: 0 6px 16px rgba(245,158,11,.25); } .pagenavi-link.disabled, .pagenavi-gap { opacity: .5; pointer-events: none; } .reader-nav-actions {  grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 12px !important; margin-top: 12px !important; } .reader-nav-actions .button, .reader-nav-actions a { width: 100% !important; min-height: 44px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; border-radius: 6px !important; } .reader-nextup-shell { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 18px !important; } .reader-nextup-copy { flex: 1 1 auto; min-width: 0; } .reader-nextup-shell .button, .reader-nextup-shell a { flex: 0 0 auto; min-width: 260px; min-height: 44px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; border-radius: 6px !important; } .reader-content-card, .reader-navigation-card, .reader-nextup-card, .reader-hero { box-sizing: border-box !important; } @media (max-width: 1080px) { .reader-hero__actions { grid-template-columns: repeat(3,minmax(0,1fr)) !important; } } @media (max-width: 720px) { .reader-page-shell { padding-left: 10px; padding-right: 10px; gap: 14px !important; } .reader-main-column, .reader-hero, .reader-content-card, .reader-navigation-card, .reader-nextup-card { max-width: 100% !important; } .reader-hero { padding: 14px !important; } .reader-hero h1, .reader-hero__title, .reader-page-shell h1 { font-size: clamp(1.65rem,7vw,2.2rem) !important; } .reader-hero__actions { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 8px !important; } .reading-content, .rich-content.story-body-content.reading-content { padding: 2px 1px 1px !important; font-size: 1rem !important; line-height: 1.84 !important; } .reader-social-icons, .story-social-icons.reader-social-icons { margin: 0 18px 18px !important; } .reader-nav-actions { grid-template-columns: 1fr !important; gap: 10px !important; } .reader-nextup-shell { flex-direction: column !important; align-items: stretch !important; } .reader-nextup-shell .button, .reader-nextup-shell a { min-width: 0; width: 100% !important; } } .submit-terms-card .submit-terms-content { display: grid; gap: 10px; } .submit-terms-card .submit-terms-content p { margin: 0; } .button, .btn, button, input[type="submit"], input[type="button"], a.button, .story-action-btn, .story-like-btn { border-radius: 6px !important; } .meta-pill, .story-badge, .story-stat-pill, .story-mobile-chip, .reader-chip, .reader-stat-pill, .tag, .tag-chip, .badge, .pill, .premium-badge { border-radius: 6px !important; } .panel, .panel-lite, .story-mobile-surface, .story-mobile-list-card, .story-mobile-side-card, .story-mobile-related-card, .story-mobile-comments-card, .story-detail-main-card, .reader-hero, .reader-content-card, .reader-navigation-card, .reader-nextup-card, .reader-sponsor-card, .listing-hero, .listing-filter-card, .pdf-reader-panel, .pdf-detail-shell, .submit-main-drk, .submit-help-card-drk, .chapter-editor-main, .chapter-editor-side-card, .comment-card, .discussion-item, .discussion-reply { border-radius: 12px !important; } .story-page-shell, .story-page-stack, .reader-page-shell, .listing-shell, .submit-layout-drk, .chapter-editor-layout, .story-detail-grid, .story-detail-side-stack, .comment-thread-list, .story-grid, .pdf-novel-grid { gap: 16px !important; } .panel, .panel-lite, .story-mobile-surface, .story-mobile-side-card, .story-mobile-related-card, .story-mobile-comments-card, .story-detail-main-card, .reader-hero, .reader-navigation-card, .reader-nextup-card, .listing-hero, .listing-filter-card, .submit-help-card-drk, .chapter-editor-side-card, .comment-card, .discussion-item, .discussion-reply { padding: 16px !important; } .reader-content-card, .submit-main-drk, .chapter-editor-main, .pdf-detail-shell, .pdf-reader-panel { padding: 18px !important; } .cluster, .cluster-gap, .listing-action-row, .story-mobile-inline-actions, .story-mobile-side-actions, .reader-hero__actions, .reader-nav-actions, .pdf-reader-toolbar-actions { gap: 10px !important; } .field-wrap, .field-block, .chapter-editor-grid, .submit-section-drk, .chapter-editor-section, .story-submit-form--drk, .chapter-editor-form { gap: 14px !important; } .section-heading, .mobile-section-head, .story-section-head, .submit-section-head-drk, .chapter-editor-section-head { margin-bottom: 10px !important; } .submit-help-list-drk, .chapter-editor-tips, .chapter-editor-option-list, .discussion-replies { gap: 10px !important; } @media (max-width: 720px) { .panel, .panel-lite, .story-mobile-surface, .story-mobile-side-card, .story-mobile-related-card, .story-mobile-comments-card, .story-detail-main-card, .reader-hero, .reader-content-card, .reader-navigation-card, .reader-nextup-card, .listing-hero, .listing-filter-card, .submit-main-drk, .submit-help-card-drk, .chapter-editor-main, .chapter-editor-side-card, .comment-card, .discussion-item, .discussion-reply { border-radius: 10px !important; } .story-page-shell, .story-page-stack, .reader-page-shell, .listing-shell, .story-detail-grid, .story-detail-side-stack, .comment-thread-list, .story-grid, .pdf-novel-grid { gap: 14px !important; } .panel, .panel-lite, .story-mobile-surface, .story-mobile-side-card, .story-mobile-related-card, .story-mobile-comments-card, .story-detail-main-card, .reader-hero, .reader-navigation-card, .reader-nextup-card, .listing-hero, .listing-filter-card, .submit-help-card-drk, .chapter-editor-side-card, .comment-card, .discussion-item, .discussion-reply { padding: 14px !important; } .reader-content-card, .submit-main-drk, .chapter-editor-main, .pdf-detail-shell, .pdf-reader-panel { padding: 16px !important; } } .story-card, .story-mobile-list-card, .pdf-novel-card, .comment-card, .discussion-item, .discussion-reply { content-visibility: auto; contain-intrinsic-size: 300px; } .tox-tinymce + .chapter-editor-actions, .tox-tinymce + .story-submit-actions, .tox-tinymce + button, .tox-tinymce + .button, textarea + .chapter-editor-actions, textarea + .story-submit-actions, textarea + button, textarea + .button { margin-top: 22px !important; } form button[type="submit"], form .button[type="submit"], form input[type="submit"] { margin-top: 18px; } .mce-tinymce + button, .mce-tinymce + .button, .django-ckeditor-widget + button, .django-ckeditor-widget + .button { margin-top: 22px !important; } .chapter-editor-actions, .story-submit-actions, .submit-final-actions-drk { margin-top: 22px !important; padding-top: 0 !important; display: flex !important; gap: 12px !important; align-items: center !important; } .site-header form, .site-header .search-form, .site-header .header-search, .site-header .site-search, .site-header .header-actions, .site-header .site-header__actions, .site-header__top, .header-main, .header-row { align-items: center !important; } .site-header input[type="search"], .site-header .search-input { min-height: 42px !important; } .site-header .button, .site-header button, .site-header input[type="submit"] { min-height: 42px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; } .site-header .button, .site-header button[type="submit"], .site-header input[type="submit"] { padding-top: 0 !important; padding-bottom: 0 !important; } @media (max-width: 720px) { .site-header .button, .site-header button, .site-header input[type="submit"] { min-height: 38px !important; height: 38px !important; padding: 0 10px !important; font-size: 0.9rem !important; border-radius: 6px !important; } .site-header input[type="search"], .site-header .search-input { min-height: 38px !important; height: 38px !important; font-size: 0.9rem !important; } .site-header form, .site-header .search-form, .site-header .header-search, .site-header .site-search, .site-header .header-actions, .site-header .site-header__actions { gap: 6px !important; align-items: center !important; } .mobile-menu-toggle, .mobile-menu-button, .mobile-nav-toggle { width: 100% !important; height: 42px !important; min-height: 42px !important; padding: 0 12px !important; } } .story-mobile-actions { display: flex !important; flex-wrap: nowrap !important; align-items: center !important; gap: 10px !important; width: 100% !important; overflow-x: auto !important; } .story-mobile-actions > a, .story-mobile-actions > form { flex: 1 1 0 !important; min-width: 0 !important; margin: 0 !important; } .story-mobile-actions .story-like-form, .story-mobile-actions .story-like-form--full { display: flex !important; } .story-mobile-actions .button, .story-mobile-actions button, .story-mobile-actions .button-heart, .story-mobile-actions .button-heart--full { width: 100% !important; min-height: 42px !important; height: 42px !important; padding: 0 12px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; white-space: nowrap !important; border-radius: 6px !important; margin: 0 !important; line-height: 1 !important; } .story-mobile-actions form button[type="submit"] { margin-top: 0 !important; } @media (max-width: 720px) { .story-mobile-actions { flex-wrap: wrap !important; } .story-mobile-actions > a, .story-mobile-actions > form { flex: 1 1 calc(50% - 10px) !important; } } .site-header form[role="search"], .site-header .search-form, .site-header .site-search, .site-header .header-search { display: flex !important; align-items: center !important; gap: 10px !important; } .site-header form[role="search"] input[type="search"], .site-header .search-form input[type="search"], .site-header .site-search input[type="search"], .site-header .header-search input[type="search"], .site-header input[name="q"] { height: 42px !important; min-height: 42px !important; box-sizing: border-box !important; padding-top: 0 !important; padding-bottom: 0 !important; line-height: 42px !important; } .site-header form[role="search"] button[type="submit"], .site-header .search-form button[type="submit"], .site-header .site-search button[type="submit"], .site-header .header-search button[type="submit"], .site-header form[role="search"] input[type="submit"], .site-header .search-form input[type="submit"] { height: 42px !important; min-height: 42px !important; padding: 0 16px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; box-sizing: border-box !important; margin: 0 !important; vertical-align: middle !important; } .site-header .theme-toggle, .site-header #theme-toggle, .site-header [data-theme-toggle], .site-header button[aria-label*="Theme"], .site-header button[title*="Theme"], .site-header .theme-button { height: 42px !important; min-height: 42px !important; padding: 0 18px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; box-sizing: border-box !important; margin: 0 !important; vertical-align: middle !important; } .site-header .header-actions, .site-header .site-header__actions, .site-header .header-controls, .site-header .topbar-actions { display: flex !important; align-items: center !important; gap: 10px !important; } @media (max-width: 720px) { .site-header form[role="search"] input[type="search"], .site-header .search-form input[type="search"], .site-header .site-search input[type="search"], .site-header .header-search input[type="search"], .site-header input[name="q"], .site-header form[role="search"] button[type="submit"], .site-header .search-form button[type="submit"], .site-header .site-search button[type="submit"], .site-header .header-search button[type="submit"], .site-header .theme-toggle, .site-header #theme-toggle, .site-header [data-theme-toggle], .site-header button[aria-label*="Theme"], .site-header button[title*="Theme"], .site-header .theme-button { height: 38px !important; min-height: 38px !important; } .site-header form[role="search"] button[type="submit"], .site-header .search-form button[type="submit"], .site-header .site-search button[type="submit"], .site-header .header-search button[type="submit"] { padding: 0 12px !important; } .site-header .theme-toggle, .site-header #theme-toggle, .site-header [data-theme-toggle], .site-header button[aria-label*="Theme"], .site-header button[title*="Theme"], .site-header .theme-button { padding: 0 14px !important; } } .header-ad-row, .footer-ad-row { display: grid; gap: 12px; margin-top: 12px; margin-bottom: 12px; } .header-ad-row .ad-card, .footer-ad-row .ad-card, .monetization-slot { width: 100%; box-sizing: border-box; } .user-role-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 20px; padding: 2px 7px; margin-left: 5px; border-radius: 6px; border: 1px solid var(--line); font-size: 0.72rem; font-weight: 800; line-height: 1; vertical-align: middle; white-space: nowrap; letter-spacing: .01em; } .user-role-badge--admin { background: #fee2e2; border-color: #fecaca; color: #991b1b; } .user-role-badge--moderator { background: #e0f2fe; border-color: #bae6fd; color: #075985; } .user-role-badge--staff { background: #ede9fe; border-color: #ddd6fe; color: #5b21b6; } .user-role-badge--premium { background: #fef3c7; border-color: #fde68a; color: #92400e; } .user-role-badge--supporter { background: #dcfce7; border-color: #bbf7d0; color: #166534; } .user-role-badge--author { background: #f3f4f6; border-color: #d1d5db; color: #374151; } .user-role-badge--verified { background: #dbeafe; border-color: #bfdbfe; color: #1d4ed8; } .user-role-badge { display: inline-block; margin-left: 6px; padding: 3px 8px; font-size: 0.72rem; font-weight: 800; border-radius: 6px; border: 1px solid transparent; line-height: 1.2; vertical-align: middle; letter-spacing: 0.02em; white-space: nowrap; } .user-role-badge[data-role="admin"] { background: #fee2e2; color: #991b1b; border-color: #fecaca; } .user-role-badge[data-role="moderator"] { background: #e0f2fe; color: #075985; border-color: #bae6fd; } .user-role-badge[data-role="staff"] { background: #ede9fe; color: #5b21b6; border-color: #ddd6fe; } .user-role-badge[data-role="verified"] { background: #e0e7ff; color: #3730a3; border-color: #c7d2fe; } .user-role-badge[data-role="premium"] { background: #fef3c7; color: #92400e; border-color: #fde68a; } .user-role-badge[data-role="supporter"] { background: #dcfce7; color: #166534; border-color: #bbf7d0; } .user-role-badge[data-role="author"] { background: #f3f4f6; color: #374151; border-color: #d1d5db; } .user-role-badge[data-role="reader"] { background: #f9fafb; color: #6b7280; border-color: #e5e7eb; } .user-role-badge:hover { filter: brightness(0.97); } .user-role-badge { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 22px !important; padding: 2px 8px 3px !important; line-height: 1 !important; vertical-align: middle !important; box-sizing: border-box !important; } .user-role-badge { display: inline-flex !important; align-items: center !important; justify-content: center !important; margin-left: 6px; padding: 2px 8px; font-size: 0.72rem; font-weight: 700; border-radius: 6px; border: 1px solid transparent; line-height: 1; vertical-align: middle; position: relative; top: -1px; } .comment-username { display: inline-flex; align-items: center; } .profile-edit-shell { width: min(100%,920px); margin: 0 auto; display: grid; gap: 16px; } .profile-edit-card, .profile-edit-form { display: grid; gap: 16px; } .profile-edit-preview { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-soft); } .profile-edit-avatar { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); } .profile-edit-avatar--placeholder { display: grid; place-items: center; background: var(--panel); font-size: 1.6rem; font-weight: 800; } .profile-edit-form input, .profile-edit-form textarea { width: 100%; background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; } .profile-edit-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; } .profile-edit-quicklink { margin-bottom: 14px; } :root { --ui-control-radius: 6px; --ui-control-pad-y: 5px; --ui-control-pad-x: 10px; --ui-control-font-size: 0.86rem; --ui-control-line-height: 1.2; --ui-badge-radius: 4px; --ui-badge-pad-y: 2px; --ui-badge-pad-x: 8px; --ui-badge-font-size: 0.72rem; } .button, .btn, button.button, button.btn, a.button, a.btn, input[type="submit"], input[type="button"], .site-search button, .share-btn, .reading-pill, .theme-switch, .mobile-theme-switch, .story-action-btn, .story-like-btn, .reader-toolbar-grid .button, .reader-mobile-tools .reading-pill, .discussion-reply-trigger { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; width: auto; min-height: 30px !important; padding: var(--ui-control-pad-y)var(--ui-control-pad-x) !important; border-radius: var(--ui-control-radius) !important; font-size: var(--ui-control-font-size) !important; line-height: var(--ui-control-line-height) !important; font-weight: 600 !important; box-shadow: none !important; text-decoration: none !important; white-space: nowrap; } .button-small, .btn-small, .reader-toolbar-grid .button-small, .comment-actions .button, .comment-actions .btn, .comment-actions button, .comment-actions a, .reply-trigger, #cancel-reply, .discussion-reply-trigger { min-height: 28px !important; padding: 4px 9px !important; font-size: 0.8rem !important; } .button:hover, .btn:hover, button.button:hover, button.btn:hover, a.button:hover, a.btn:hover, input[type="submit"]:hover, input[type="button"]:hover, .share-btn:hover, .reading-pill:hover, .story-action-btn:hover, .story-like-btn:hover { transform: none !important; box-shadow: none !important; filter: brightness(0.98); } .button:active, .btn:active, button.button:active, button.btn:active, a.button:active, a.btn:active, .story-action-btn:active, .story-like-btn:active { transform: translateY(1px) !important; } .comment-actions, .story-actions-row, .pdf-novel-actions, .home-featured-actions, .reader-nav-actions, .reader-hero__actions, .reader-story-card__actions, .story-mobile-bottom-actions .button-row, .profile-edit-actions { gap: 7px !important; } .story-badge, .tag-chip, .premium-badge, .user-role-badge, .story-mobile-chip, .reader-stat-pill, .story-stat-pill, .home-featured-badges span, .home-featured-stats span, .mobile-featured-badges span, .mobile-inline-meta span, .mobile-featured-stats span, .help-badge, .status-badge, .badge { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 4px !important; min-height: 22px !important; padding: var(--ui-badge-pad-y)var(--ui-badge-pad-x) !important; border-radius: var(--ui-badge-radius) !important; font-size: var(--ui-badge-font-size) !important; line-height: 1.15 !important; font-weight: 700 !important; box-shadow: none !important; vertical-align: middle !important; white-space: nowrap; } .user-role-badge { margin-left: 5px !important; top: 0 !important; letter-spacing: 0.01em; } .story-badges, .story-stats, .pdf-novel-badges, .home-featured-badges, .home-featured-stats, .mobile-featured-badges, .mobile-inline-meta, .mobile-featured-stats, .story-mobile-badges { gap: 6px !important; } .comment-card, .story-comment, .comment-reply, .comment-child { padding: 10px 12px !important; } .comment-body, .comment-content, .comment-text { margin-top: 4px !important; } @media (max-width: 720px) { .button, .btn, button.button, button.btn, a.button, a.btn, input[type="submit"], input[type="button"], .share-btn, .reading-pill, .story-action-btn, .story-like-btn { min-height: 30px !important; padding: 5px 9px !important; font-size: 0.82rem !important; } .button-small, .btn-small, .comment-actions .button, .comment-actions .btn, .comment-actions button, .comment-actions a { min-height: 27px !important; padding: 4px 8px !important; font-size: 0.78rem !important; } } .avatar, .user-avatar, .comment-avatar, .profile-avatar, img.avatar { border-radius: 50% !important; } :root { --space-xs: 4px; --space-sm: 8px; --space-md: 12px; --space-lg: 16px; --space-xl: 24px; --radius-rect: 4px; --radius-card: 8px; --button-radius: 4px; --ui-control-radius: 4px; --ui-badge-radius: 4px; --pro-hover-bg: rgba(255,255,255,.035); } html[data-theme="light"] { --pro-hover-bg: rgba(15,23,32,.035); } button, .button, .btn, a.button, a.btn, input[type="submit"], input[type="button"], select, input, textarea, .story-badge, .tag-chip, .premium-badge, .user-role-badge, .story-mobile-chip, .reader-stat-pill, .story-stat-pill, .home-featured-badges span, .home-featured-stats span, .mobile-featured-badges span, .mobile-inline-meta span, .mobile-featured-stats span, .help-badge, .status-badge, .badge, .label, .tag { border-radius: var(--radius-rect) !important; } .avatar, .user-avatar, .comment-avatar, .profile-avatar, img.avatar, .comment-avatar.placeholder { border-radius: 50% !important; } .panel, .stack-card, .story-card, .ad-card, .panel-lite { border-radius: var(--radius-card) !important; } .stack, .dashboard-stack, .sidebar-stack, .comment-thread-list { gap: var(--space-md) !important; } .cluster, .row, .story-actions-row, .reader-nav-actions, .reader-hero__actions, .profile-edit-actions { gap: var(--space-sm) !important; } .comment-card, .story-comment, .comment-reply, .comment-child { padding: 10px 12px !important; border-radius: var(--radius-card) !important; transition: background-color .14s ease,border-color .14s ease; } .comment-card:hover, .comment-reply:hover { background: var(--pro-hover-bg) !important; } .comment-user { gap: var(--space-sm) !important; align-items: flex-start !important; } .comment-user-line, .comment-user-link { font-weight: 700 !important; line-height: 1.25 !important; } .comment-user .meta, .comment-card .meta, .comment-reply .meta, .comment-meta { color: var(--muted) !important; font-size: 12px !important; line-height: 1.25 !important; opacity: .82; } .comment-card p, .comment-reply p, .comment-text { margin: 6px 0 0 !important; font-size: .94rem !important; line-height: 1.55 !important; } .comment-actions, .comment-card .cluster.comment-actions, .comment-reply .comment-actions { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; margin-top: 7px !important; } .comment-actions .button, .comment-actions .btn, .comment-actions button, .comment-actions a, .comment-reply > .reply-trigger { min-height: 24px !important; padding: 2px 7px !important; border-radius: var(--radius-rect) !important; border: 1px solid transparent !important; background: transparent !important; color: var(--muted) !important; box-shadow: none !important; font-size: 12px !important; font-weight: 700 !important; line-height: 1.2 !important; } .comment-actions .button:hover, .comment-actions .btn:hover, .comment-actions button:hover, .comment-actions a:hover, .comment-reply > .reply-trigger:hover { background: var(--pro-hover-bg) !important; color: var(--text) !important; border-color: var(--line) !important; transform: none !important; } button, .button, .btn, a.button, a.btn, input[type="submit"], input[type="button"] { box-shadow: none !important; transition: background-color .14s ease,border-color .14s ease,color .14s ease,transform .12s ease,opacity .12s ease; } button:hover, .button:hover, .btn:hover, a.button:hover, a.btn:hover, input[type="submit"]:hover, input[type="button"]:hover { filter: brightness(1.03); } button:active, .button:active, .btn:active, a.button:active, a.btn:active, input[type="submit"]:active, input[type="button"]:active { transform: translateY(1px); } .story-badge, .tag-chip, .premium-badge, .user-role-badge, .status-badge, .badge, .label, .tag { min-height: 20px !important; padding: 2px 6px !important; font-size: 11px !important; line-height: 1.15 !important; letter-spacing: .01em; box-shadow: none !important; } html:not([data-theme="light"]) .panel, html:not([data-theme="light"]) .stack-card, html:not([data-theme="light"]) .story-card, html:not([data-theme="light"]) .panel-lite, html:not([data-theme="light"]) .comment-card, html:not([data-theme="light"]) .comment-reply { color: var(--text) !important; border-color: var(--line) !important; } html:not([data-theme="light"]) input, html:not([data-theme="light"]) select, html:not([data-theme="light"]) textarea { background: var(--panel) !important; color: var(--text) !important; border-color: var(--line) !important; } @media (max-width: 720px) { .panel, .stack-card, .panel-lite { padding: var(--space-md) !important; } .comment-card, .comment-reply { padding: 9px 10px !important; } .comment-card p, .comment-reply p, .comment-text { font-size: .9rem !important; } } .reader-immersive-active .site-header { display: block !important; } .reader-immersive-active .site-header .header-container, .reader-immersive-active .site-header .header-shell { display: block !important; } .reader-progress-track { top: 0 !important; z-index: 10000 !important; } .reader-page .site-shell.page-grid, .reader-page main.site-shell.page-grid { max-width: none !important; width: 100% !important; grid-template-columns: minmax(0,1fr) !important; padding-left: 10px !important; padding-right: 10px !important; } .reader-page .content-area { width: 100% !important; max-width: none !important; } .reader-page .sidebar-stack { display: none !important; } .reader-page-shell, .reader-main-column, .reader-hero, .reader-content-card, .reader-navigation-card, .reader-nextup-card, .reader-sponsor-card { max-width: none !important; width: 100% !important; } .reader-page-shell { margin: 0 !important; padding-left: 0 !important; padding-right: 0 !important; } .reader-main-column { margin: 0 !important; } .reader-page-shell--immersive .reader-main-column { max-width: none !important; width: 100% !important; margin: 0 !important; } .reader-content-card { padding: 0 !important; } .reading-content, .rich-content.story-body-content.reading-content { max-width: none !important; width: 100% !important; padding: 12px 16px 18px !important; } @media (max-width: 720px) { .reader-page .site-shell.page-grid, .reader-page main.site-shell.page-grid { padding-left: 6px !important; padding-right: 6px !important; } .reading-content, .rich-content.story-body-content.reading-content { padding: 8px 10px 14px !important; } } .header-shell { gap: 8px !important; } .header-top { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; flex-wrap: wrap !important; } .header-actions { display: flex !important; align-items: center !important; justify-content: flex-end !important; gap: 8px !important; flex: 1 1 520px !important; min-width: 280px !important; flex-wrap: wrap !important; } .site-search { flex: 1 1 360px !important; max-width: 560px !important; min-width: 220px !important; gap: 7px !important; } .site-search input { min-height: 36px !important; padding: 7px 10px !important; font-size: 0.95rem !important; } .site-search button, .theme-switch, .mobile-theme-switch { min-height: 36px !important; padding: 7px 11px !important; font-size: 0.92rem !important; line-height: 1.15 !important; } .theme-switch, .mobile-theme-switch { min-width: 90px !important; } .theme-switch-label { min-width: auto !important; } .main-nav, .mobile-breadcrumb-dropdown { clear: both !important; width: 100% !important; margin-top: 2px !important; } .mobile-breadcrumb-list { z-index: 80 !important; } @media (max-width: 900px) { .brand { padding: 10px 0 4px !important; } .header-actions { flex: 1 1 100% !important; width: 100% !important; min-width: 0 !important; justify-content: stretch !important; } .site-search { flex: 1 1 100% !important; max-width: none !important; width: 100% !important; } .site-search button, .theme-switch, .mobile-theme-switch { flex: 0 0 auto !important; } } .reader-hero__actions, .reader-nav-actions, .reader-story-card__actions { display: flex !important; flex-wrap: wrap !important; justify-content: flex-start !important; align-items: center !important; gap: 8px !important; width: auto !important; } .reader-hero__actions .button, .reader-hero__actions a, .reader-nav-actions .button, .reader-nav-actions a, .reader-story-card__actions .button, .reader-story-card__actions a { width: auto !important; flex: 0 1 auto !important; min-width: 112px !important; max-width: 220px !important; min-height: 34px !important; padding: 7px 12px !important; font-size: 0.9rem !important; line-height: 1.15 !important; border-radius: 4px !important; white-space: nowrap !important; } .reader-stat-pill, .reader-chip, .reader-navigation-card .pagenavi-link, .reader-navigation-card .pagenavi-gap, .pagenavi-link, .pagenavi-gap { min-height: 30px !important; min-width: auto !important; padding: 5px 9px !important; font-size: 0.86rem !important; border-radius: 4px !important; } .reader-hero { padding: 14px 16px !important; } .reader-hero h1, .reader-hero__title, .reader-page-shell h1 { font-size: clamp(1.8rem,4vw,2.6rem) !important; line-height: 1.08 !important; } .reader-navigation-card, .reader-nextup-card { padding: 14px 16px !important; } @media (max-width: 720px) { .reader-hero__actions .button, .reader-hero__actions a, .reader-nav-actions .button, .reader-nav-actions a, .reader-story-card__actions .button, .reader-story-card__actions a { min-width: 0 !important; max-width: none !important; flex: 1 1 calc(50% - 8px) !important; min-height: 32px !important; padding: 6px 8px !important; font-size: 0.84rem !important; } .reader-hero__actions, .reader-nav-actions, .reader-story-card__actions { width: 100% !important; } } 


/* Story page layout */
.story-page-shell--kk-single .story-detail-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

.story-page-shell--kk-single .story-detail-main-card,
.story-page-shell--kk-single .story-chapters-fullwidth,
.story-page-shell--kk-single .story-mobile-side-card,
.story-page-shell--kk-single .story-mobile-related-card,
.story-page-shell--kk-single .story-comments-section{
  width:100%;
  max-width:100%;
  grid-column:1 / -1;
}

.story-page-shell--kk-single #story-chapters .story-mobile-chapter-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  grid-template-columns:none;
}

.story-page-shell--kk-single #story-chapters .story-mobile-chapter-list > a{
  width:100%;
  max-width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--panel-soft);
  text-decoration:none;
}

.story-page-shell--kk-single .story-related-title-list{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.authors-grid.authors-grid--modern{
display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr)) !important;
  gap:18px !important;
  align-items:stretch !important;
}

.authors-grid--modern .author-card--modern{
width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  text-align:left !important;
  padding:22px !important;
  min-height:260px !important;
  border-radius:12px !important;
  background:var(--panel-bg-theme,var(--panel,#fff)) !important;
  border:1px solid var(--line,#d8e0ea) !important;
  box-shadow:0 12px 30px rgba(15,23,42,.04) !important;
  overflow:hidden !important;
}

.authors-grid--modern .author-card__avatar-link{
display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:88px !important;
  height:88px !important;
  margin:0 0 14px !important;
  text-decoration:none !important;
}

.authors-grid--modern .author-card__avatar{
display:grid !important;
  width:88px !important;
  height:88px !important;
  min-width:88px !important;
  border-radius:999px !important;
  object-fit:cover !important;
  place-items:center !important;
  margin:0 !important;
  border:1px solid var(--line,#d8e0ea) !important;
  box-shadow:none !important;
}

.authors-grid--modern .author-card__body{
display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
  width:100% !important;
  min-width:0 !important;
}

.authors-grid--modern .author-card__top{
display:block !important;
  min-width:0 !important;
}

.authors-grid--modern .author-card__name{
margin:0 0 8px !important;
  font-size:1.1rem !important;
  line-height:1.2 !important;
  font-weight:900 !important;
}

.authors-grid--modern .author-card__bio{
margin:0 0 14px !important;
  max-width:100% !important;
  min-height:42px !important;
  color:var(--muted-text-theme,var(--muted,#60728a)) !important;
  font-size:.92rem !important;
  line-height:1.45 !important;
}

.authors-grid--modern .author-card__stats{
display:flex !important;
  align-items:center !important;
  gap:12px !important;
  width:100% !important;
  margin:0 0 16px !important;
  color:var(--muted-text-theme,var(--muted,#60728a)) !important;
}

.authors-grid--modern .author-card__bottom{
margin-top:auto !important;
  display:grid !important;
  gap:10px !important;
  width:100% !important;
}

.authors-grid--modern .author-card__profile-btn,
.authors-grid--modern .author-card__follow-link{
display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-height:38px !important;
  border:1px solid var(--line,#d8e0ea) !important;
  border-radius:9px !important;
  text-decoration:none !important;
  font-weight:800 !important;
}


@media (max-width:700px){
  .authors-grid.authors-grid--modern{
    grid-template-columns:1fr !important;
  }
  .authors-grid--modern .author-card--modern{
    min-height:0 !important;
  }
}

.story-author-strip{
display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:0;
}

.story-author-strip__identity{
display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  width:auto;
  max-width:100%;
}

.story-author-strip__avatar{
width:56px;
  height:56px;
  min-width:56px;
  border-radius:999px;
  object-fit:cover;
  display:block;
}

.story-author-strip__details{
display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  min-width:0;
  text-align:left;
}

.story-author-strip__name-row{
display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  line-height:1.2;
}

.story-author-strip__meta{
display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:.88rem;
}

.story-author-strip__follow{
flex:0 0 auto;
  margin-left:auto;
}


@media (max-width:700px){
  .story-author-strip{
    align-items:flex-start;
  }
  .story-author-strip__identity{
    align-items:center;
  }
  .story-author-strip__follow{
    margin-left:0;
  }
}

.story-extra-categories-field ul{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  list-style:none;
  padding:0;
  margin:8px 0 0;
}
.story-extra-categories-field li{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.story-extra-categories-field label{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.story-extra-category-links{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
}
.story-extra-category-links a{
  display:inline-flex;
  align-items:center;
  border:1px solid var(--line, #d8e1ea);
  border-radius:999px;
  padding:4px 8px;
  text-decoration:none;
  font-size:.85rem;
}
