/* Archives, rankings and categories */
.nexus-catalogue, .nexus-categories, main.nexus-taxonomy, .nexus-top, .directory-page, .generic-archive .section, .author-page, .dashboard-page, .prose-page, .not-found { min-height: 620px; color: var(--gl-ink); background: var(--gl-bg); }
.nexus-catalogue, .nexus-categories, main.nexus-taxonomy, .nexus-top { padding: 34px 0 46px; }
.nexus-catalogue > .container, .nexus-categories > .container, main.nexus-taxonomy > .container, .nexus-top > .container, .directory-page > .container, .not-found > .container { max-width: var(--gl-width); background: transparent; }
.nexus-page-title, .nexus-section__head h1, .directory-hero h1 { margin: 0 0 26px; color: #fff; font-size: clamp(23px,2vw,34px); font-weight: 900; letter-spacing: -.025em; }
.nexus-page-title::first-letter { color: var(--gl-accent); }
.nexus-filter-bar { display: grid; grid-template-columns: repeat(4,minmax(150px,1fr)) minmax(120px,.7fr) auto; gap: 14px; align-items: end; padding: 18px; margin-bottom: 26px; background: var(--gl-panel); border: 1px solid var(--gl-line); border-left: 4px solid var(--gl-accent); }
.nexus-filter-bar label { display: grid; gap: 7px; color: #bbb; font-size: 11px; }
.nexus-filter-bar select, .nexus-filter-bar input { width: 100%; min-width: 0; height: 41px; padding: 0 11px; color: #eee; background: #1b1b1b; border: 1px solid #444; }
.nexus-filter-bar button { height: 41px; padding: 0 20px; color: #fff; background: var(--gl-accent); border: 0; cursor: pointer; }
.nexus-series-grid, .nexus-grid, .nexus-grid--ranking, .comic-grid, .latest-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.nexus-range-tabs { width: max-content; max-width: 100%; display: flex; margin: 0 auto 28px; overflow: hidden; background: var(--gl-panel); border: 1px solid var(--gl-line); }
.nexus-range-tabs a { min-width: 105px; padding: 14px 20px; color: #c6c9cf; text-align: center; }
.nexus-range-tabs a:hover, .nexus-range-tabs .is-current { color: #fff; background: var(--gl-accent); }
.nexus-ranked { position: relative; }
.nexus-ranked > span { position: absolute; z-index: 5; top: 9px; left: 9px; min-width: 34px; padding: 7px; color: #fff; background: var(--gl-accent); font-size: 11px; text-align: center; }
.nexus-category-search, .nexus-taxonomy__head { padding: 18px; margin-bottom: 26px; background: var(--gl-panel); border: 1px solid var(--gl-line); border-left: 4px solid var(--gl-accent); }
.nexus-category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.nexus-category-card { position: relative; aspect-ratio: 16/9; display: grid; place-items: center; overflow: hidden; color: #fff; background: var(--gl-panel); border: 1px solid var(--gl-line); isolation: isolate; }
.nexus-category-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.nexus-category-card::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(rgba(0,0,0,.08),rgba(0,0,0,.78)); content: ""; }
.nexus-category-card:hover { border-color: var(--gl-accent); }
.nexus-category-card:hover img { transform: scale(1.04); }
.nexus-category-card span { font-size: clamp(18px,1.8vw,30px); font-weight: 900; text-align: center; }
.nexus-category-card small { position: absolute; right: 10px; bottom: 8px; color: #ddd; font-size: 10px; }

/* Series dossier */
.nexus-detail { padding-bottom: 44px; color: var(--gl-ink); background: var(--gl-bg); }
.nexus-detail-hero { position: relative; min-height: 430px; overflow: hidden; border-bottom: 3px solid var(--gl-accent); isolation: isolate; }
.nexus-detail-hero::before { position: absolute; z-index: -2; inset: 0; background-image: linear-gradient(90deg,rgba(18,20,24,.98) 0%,rgba(18,20,24,.88) 42%,rgba(18,20,24,.22) 78%), var(--nexus-cover); background-position: center, 78% 24%; background-size: cover; content: ""; filter: saturate(.78); }
.nexus-detail-hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,var(--gl-bg),transparent 42%); content: ""; }
.nexus-detail-hero .container { min-height: 430px; display: flex; flex-direction: column; justify-content: space-between; padding-top: 22px; padding-bottom: 58px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: #b0b4bd; font-size: 11px; }
.breadcrumbs a:hover { color: var(--gl-accent-2); }
.nexus-detail-hero__copy { max-width: 840px; }
.nexus-kicker, .nexus-summary > span, .nexus-chapters header span { color: var(--gl-accent-2); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.nexus-detail-hero h1 { margin: 9px 0 8px; color: #fff; font-size: clamp(40px,5.5vw,82px); font-weight: 950; letter-spacing: -.045em; line-height: .98; }
.nexus-detail-hero__copy > p { margin: 0 0 14px; color: #c8cbd1; }
.nexus-hero-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.nexus-hero-tags a { padding: 6px 10px; color: #fff; background: rgba(43,47,56,.9); border: 1px solid #4b515d; font-size: 10px; }
.nexus-detail-body { display: grid; grid-template-columns: minmax(230px,330px) minmax(0,1fr); gap: 34px; margin-top: -34px; }
.nexus-media-card { position: relative; z-index: 3; align-self: start; overflow: hidden; background: var(--gl-panel); border: 1px solid var(--gl-line); box-shadow: 0 20px 55px rgba(0,0,0,.42); }
.nexus-media-card > img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.nexus-media-card__stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--gl-line); }
.nexus-media-card__stats span { display: grid; gap: 3px; padding: 12px; color: var(--gl-muted); font-size: 9px; text-align: center; text-transform: uppercase; }
.nexus-media-card__stats span + span { border-left: 1px solid var(--gl-line); }
.nexus-media-card__stats strong { color: #fff; font-size: 19px; }
.nexus-actions { display: grid; gap: 8px; padding: 12px; }
.nexus-read, .bookshelf-button, .share-button { min-height: 43px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: var(--gl-accent); border: 1px solid var(--gl-accent); font-weight: 850; cursor: pointer; }
.bookshelf-button, .share-button { background: #30343c; border-color: #424752; }
.nexus-read:hover, .bookshelf-button:hover, .share-button:hover, .bookshelf-button.is-added { background: var(--gl-accent-2); border-color: var(--gl-accent-2); }
.nexus-dossier { min-width: 0; padding-top: 62px; }
.nexus-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 28px; border-top: 1px solid var(--gl-line); border-left: 1px solid var(--gl-line); }
.nexus-facts > div { min-width: 0; display: grid; gap: 5px; padding: 15px; border-right: 1px solid var(--gl-line); border-bottom: 1px solid var(--gl-line); }
.nexus-facts span { color: var(--gl-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.nexus-facts strong { overflow: hidden; color: #fff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.nexus-summary { padding: 28px; background: var(--gl-panel); border: 1px solid var(--gl-line); }
.nexus-summary h2 { margin: 7px 0 14px; color: #fff; font-size: 25px; }
.nexus-summary .prose { color: #bdc1c9; font-size: 14px; line-height: 1.8; }
.nexus-taxonomy { padding-top: 22px; }
.nexus-taxonomy h2 { margin: 0 0 10px; font-size: 13px; }
.nexus-taxonomy > div { display: flex; flex-wrap: wrap; gap: 7px; }
.nexus-taxonomy a { padding: 7px 9px; color: #b9bdc5; background: #282c34; border: 1px solid #393e48; font-size: 10px; }
.nexus-taxonomy a:hover { color: #fff; border-color: var(--gl-accent); }
.nexus-chapters { padding: 40px 0; margin-top: 40px; background: #181a1f; border-block: 1px solid #2b2f37; }
.nexus-chapters header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.nexus-chapters h2 { margin: 5px 0 0; font-size: 25px; }
.nexus-chapter-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--gl-line); }
.nexus-chapter-list a { display: grid; grid-template-columns: 50px minmax(0,1fr) 30px; align-items: center; min-height: 70px; color: #ddd; border-right: 1px solid var(--gl-line); border-bottom: 1px solid var(--gl-line); }
.nexus-chapter-list a:hover { color: #fff; background: var(--gl-panel); }
.nexus-chapter-list a > b { color: var(--gl-accent-2); text-align: center; }
.nexus-chapter-list a > span { display: grid; gap: 3px; }
.nexus-chapter-list small { color: var(--gl-muted); }
.nexus-chapter-list i { color: var(--gl-accent); font-style: normal; }

/* Reader and secondary screens */
.inkwave-reader-page, .reader { color: #eee; background: #0d0f12; }
.reader-toolbar { color: #eee; background: #171717; border-top: 3px solid var(--gl-accent); border-bottom-color: #393939; }
.reader-toolbar__back:hover, .reader-tool:hover, .reader-settings button.is-active, .reader-progress span { color: #fff; background: var(--gl-accent); }
.reader-settings { color: #ddd; background: #222; border-color: #444; }
.reader-page { background: #111; }
.reader-chapter-nav { background: #222; border-color: #444; }
.reader-chapter-nav a:hover { color: #fff; background: #303030; }
.reader-chapter-nav__catalog { background: var(--gl-accent) !important; }
.reader-end { color: #ddd; }
.dashboard-hero, .author-profile, .profile-card, .settings-card, .login-card, .text-card, .guest-shelf, .history-list, .prose-page article { color: #ddd; background: var(--gl-panel); border-color: var(--gl-line); }
.dashboard-layout, .account-wrap, .author-page > .container { padding: 34px clamp(18px,3.1vw,64px); background: var(--gl-bg); }
.dashboard-nav { background: #242424; border-color: var(--gl-line); }
.dashboard-nav a { color: #ddd; border-color: var(--gl-line); }
.dashboard-nav a:hover, .dashboard-nav a.is-active { color: #fff; background: var(--gl-accent); }
.profile-form input, .profile-form textarea, .profile-form select { color: #eee; background: #1b1b1b; border-color: #444; }
.prose-page { padding: 38px clamp(18px,3.1vw,64px) 55px; background: var(--gl-bg); }
.recommendations { color: #eee; background: #171717; border-color: var(--gl-line); }





/** DM Nexus: compact discovery shelves on a near-black canvas. */
:root {
 --gl-bg:#0d0d0f; --gl-header:#202024; --gl-panel:#1d1d21; --gl-panel-2:#242429; --gl-ink:#e9e9ee;
 --gl-muted:#94949f; --gl-line:#323239; --gl-accent:#347fea; --gl-accent-2:#73a6f5; --gl-width:1180px;
 --blue:var(--gl-accent); --bg:var(--gl-bg); --text:var(--gl-ink); --muted:var(--gl-muted); --line:var(--gl-line); --container:1180px;
}
html { min-height:100%; background:#0d0d0f; }
body { margin:0; color:#e9e9ee; background:#0d0d0f; font:14px/1.55 "Trebuchet MS",Arial,"PingFang SC","Microsoft YaHei",sans-serif; }
*,*::before,*::after { box-sizing:border-box; }
a { color:inherit; transition:color .15s,background .15s,border-color .15s; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible { outline:2px solid #6fa8ff; outline-offset:3px; }
.container { width:100%; max-width:1180px; padding-inline:20px; margin-inline:auto; }
.nexus-icon { width:19px; height:19px; flex:0 0 19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.button { color:#ddd; background:#2d2d34; border:1px solid #45454e; border-radius:7px; }
.button--primary,.button:hover { color:#fff; background:#2369d3; border-color:#347fea; }
.empty-state { min-height:230px; display:grid; align-content:center; gap:10px; padding:24px; color:#92929f; background:#18181c; border:1px solid #303038; border-radius:10px; text-align:center; }
.empty-state p { margin:0; }
/* Dense but real header destinations, with an editable multi-word site name. */
.nexus-header { position:relative; z-index:100; color:#9d9da9; background:#1e1e22; border-bottom:1px solid #29292f; }
.nexus-header-inner { min-height:58px; display:flex; align-items:center; gap:14px; padding-block:9px; }
.nexus-brand { flex:0 1 155px; min-width:115px; display:flex; align-items:center; gap:8px; color:#ededf3; font-size:17px; font-weight:800; letter-spacing:-.025em; line-height:1.15; }
.nexus-brand > svg { width:28px; height:28px; flex-basis:28px; padding:4px; color:#99c4ff; background:#263d5f; border:1px solid #4581ca; border-radius:50%; }
.nexus-brand__icon { display:block; width:32px; height:32px; flex:0 0 32px; object-fit:contain; }
.nexus-brand > span { min-width:0; overflow-wrap:anywhere; }
.nexus-brand:hover { color:#fff; }
.nexus-header-search { flex:0 1 210px; min-width:145px; height:34px; display:flex; overflow:hidden; background:#17171c; border:1px solid #35353e; border-radius:5px; }
.nexus-header-search input[type="search"] { width:100%; min-width:0; padding:0 10px; color:#ccc; background:transparent; border:0; font-size:11px; }
.nexus-header-search button { width:34px; flex:0 0 34px; display:grid; place-items:center; padding:0; color:#fff; background:#347fea; border:0; cursor:pointer; }
.nexus-header-search button:hover { background:#2268d1; }
.nexus-header-search .nexus-icon { width:17px; height:17px; }
#nexus-navigation { flex:1; min-width:0; }
#nexus-navigation ul { display:flex; flex-wrap:wrap; align-items:center; gap:7px 14px; margin:0; padding:0; list-style:none; }
#nexus-navigation a { display:block; padding:6px 0; color:#a1a1ad; font-size:10px; font-weight:700; line-height:1.3; }
#nexus-navigation a:hover,#nexus-navigation a[aria-current="page"] { color:#85b4fc; }
.nexus-account { display:flex; align-items:center; gap:10px; flex:0 0 auto; font-size:10px; font-weight:700; }
.nexus-account a:hover { color:#d9e7ff; }
.nexus-account .nexus-signup { padding:8px 11px; color:#fff; background:#276ce6; border-radius:6px; }
.nexus-language .language-switcher > button { color:#a4a4af; height:30px; }
.nexus-language .language-switcher > button b { max-width:48px; font-size:9px; }
.nexus-language .language-switcher__menu { top:37px; color:#ddd; background:#25252c; border-color:#44444e; }
.nexus-language .language-switcher__menu a { color:#c3c3d0; }
.nexus-menu-toggle { display:none; }
/* Manual featured carousel: every slide is a real published work. */
.nexus-home { position:relative; min-height:600px; padding-bottom:35px; }
.nexus-hero { position:relative; height:355px; margin-bottom:19px; overflow:hidden; background:#15151b; border-radius:0 0 13px 13px; }
.nexus-hero__slides,.nexus-hero__slide { width:100%; height:100%; }
.nexus-hero__slide { position:relative; isolation:isolate; overflow:hidden; }
.nexus-hero__slide[hidden] { display:none; }
.nexus-hero__image { position:absolute; z-index:-2; inset:0; width:100%; height:100%; object-fit:cover; object-position:66% 35%; filter:brightness(.75); }
.nexus-hero__slide::after { position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#0d0d0ff2 0%,#0d0d0fc4 35%,#0d0d0f25 72%,#0d0d0f7d 100%),linear-gradient(0deg,#0d0d0fd9,transparent 80%); content:""; }
.nexus-hero__copy { position:absolute; bottom:31px; left:38px; right:100px; max-width:690px; }
.nexus-hero__badge { display:inline-block; padding:4px 8px; margin-bottom:9px; color:#221d0e; background:#f2d35e; border-radius:3px; font-size:10px; font-weight:800; }
.nexus-hero__tags { display:flex; flex-wrap:wrap; gap:5px; margin:0 0 10px; padding:0; list-style:none; }
.nexus-hero__tags a { display:block; padding:2px 6px; color:#d3d3dc; background:#35353e; border-radius:2px; font-size:9px; font-weight:700; }
.nexus-hero__tags a:hover { color:#fff; background:#31527d; }
.nexus-hero h2 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; margin:0 0 15px; color:#fff; font-size:29px; font-weight:900; letter-spacing:.015em; line-height:1.15; text-transform:uppercase; overflow-wrap:anywhere; }
.nexus-hero__actions { display:flex; flex-wrap:wrap; gap:9px; }
.nexus-hero__actions a,.nexus-hero__actions button { min-height:37px; display:flex; align-items:center; justify-content:center; gap:7px; padding:9px 13px; border:1px solid transparent; border-radius:6px; font-size:11px; font-weight:700; line-height:1.3; cursor:pointer; }
.nexus-hero__actions .nexus-icon { width:15px; height:15px; flex-basis:15px; }
.nexus-read-now { color:#fff; background:#fb694d; }
.nexus-read-now:hover { color:#fff; background:#e9563e; }
.nexus-hero__actions .bookshelf-button { color:#b7b7c4; background:#292930; border-color:#42424b; }
.nexus-hero__actions .bookshelf-button:hover,.nexus-hero__actions .bookshelf-button.is-added { color:#fff; background:#2d5284; border-color:#4577ba; }
.nexus-hero__navigation { position:absolute; right:15px; bottom:17px; display:flex; align-items:center; gap:9px; }
.nexus-hero__navigation button { width:26px; height:26px; display:grid; place-items:center; padding:0; color:#ccc; background:#09090bc7; border:1px solid #303038; border-radius:50%; font-size:20px; cursor:pointer; }
.nexus-hero__navigation button:hover { color:#fff; border-color:#407bcd; }
.nexus-hero__navigation output { color:#c2c2cb; font-size:10px; font-weight:700; }
/* Rounded Popular and Latest panels reproduce the cover-focused density. */
.nexus-panel { overflow:hidden; margin:0 0 27px; color:#ddd; background:#1c1c20; border:1px solid #29292f; border-radius:16px; box-shadow:0 10px 30px #0002; }
.nexus-panel-heading { min-height:49px; display:flex; align-items:center; justify-content:center; padding:12px 15px; background:#202025; border-bottom:1px solid #2b2b32; }
.nexus-panel-heading h2 { display:flex; align-items:center; justify-content:center; gap:10px; margin:0; color:#f0f0f5; font-size:17px; font-weight:800; letter-spacing:.02em; }
.nexus-panel-heading .nexus-icon { color:#418deb; }
.nexus-popular-tabs { width:max-content; max-width:calc(100% - 24px); display:flex; align-items:stretch; gap:4px; padding:4px; margin:10px auto 14px; background:#18181d; border:1px solid #363640; border-radius:10px; }
.nexus-popular-tabs a { min-width:105px; display:flex; align-items:center; justify-content:center; padding:9px 13px; color:#9999a7; background:transparent; border:1px solid transparent; border-radius:7px; font-size:10px; font-weight:700; text-align:center; line-height:1.3; }
.nexus-popular-tabs a:hover,.nexus-popular-tabs a[aria-current="page"] { color:#d5e4ff; background:#263c60; border-color:#3f68a3; box-shadow:0 0 0 2px #347fea14; }
.nexus-popular-grid,.nexus-gallery-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); align-items:start; gap:10px; padding:10px; }
.nexus-popular-grid { padding-top:0; }
.nexus-card { position:relative; min-width:0; overflow:hidden; margin:0; padding:0; background:#26262e; border:1px solid #3b3b45; border-radius:10px; box-shadow:none; }
.nexus-card__cover { position:relative; display:block; aspect-ratio:7/10; overflow:hidden; border-radius:0; }
.nexus-card__cover img { width:100%; height:100%; display:block; object-fit:cover; transition:opacity .15s; }
.nexus-card__cover:hover img { opacity:.8; }
.nexus-card__cover:focus-visible { outline-offset:-3px; }
.nexus-card__title { position:absolute; right:0; bottom:0; left:0; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; margin:0; padding:28px 9px 10px; color:#fff; background:linear-gradient(transparent,#101015f5 40%); font-size:12px; font-weight:700; line-height:1.4; opacity:1; }
.nexus-card__cover:hover .nexus-card__title,.nexus-card__cover:focus-visible .nexus-card__title { opacity:1; }
.nexus-shelf-empty { padding:28px 15px; color:#92929f; font-size:12px; text-align:center; }
.nexus-latest .empty-state { margin:10px; }
/* The playlist panel is replaced by the homepage's native numbered navigation. */
.nexus-page-panel { margin-bottom:0; }
.nexus-pagination-wrap { padding:25px 18px 28px; }
.nexus-pagination { display:flex; justify-content:center; padding:0; }
.nexus-pagination ul { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:7px; margin:0; padding:0; list-style:none; }
.nexus-pagination a,.nexus-pagination span { min-width:37px; min-height:37px; display:grid; place-items:center; padding:5px 10px; color:#a9a9b5; background:#25252d; border:1px solid #3a3a46; border-radius:6px; font-size:12px; font-weight:700; }
.nexus-pagination .current,.nexus-pagination a:hover { color:#fff; background:#246ce3; border-color:#3f85f1; }
.nexus-pagination .is-disabled { color:#555560; background:#1a1a20; border-color:#2a2a33; }
/* A single site introduction and five real footer links. */
.nexus-footer { margin:0; padding:0; color:#a6a6b3; background:#242428; border-top:1px solid #2e2e35; }
.nexus-footer__top { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(300px,1fr); align-items:center; gap:50px; padding:47px 0 38px; }
.nexus-footer__brand strong { display:block; margin-bottom:17px; color:#efd15c; font-size:23px; font-weight:800; overflow-wrap:anywhere; }
.nexus-footer__brand p { margin:0; color:#b0b0bc; font-size:13px; line-height:1.85; overflow-wrap:anywhere; }
.nexus-footer__art { display:flex; align-items:center; position:relative; min-width:0; padding:20px 0; background:radial-gradient(ellipse at 48% 60%,#c58ab51c,transparent 70%); }
.nexus-footer__illustration { display:block; width:100%; height:auto; aspect-ratio:3 / 1; object-fit:contain; filter:drop-shadow(0 14px 15px #0003); }
.nexus-footer__nav ul { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:14px 24px; margin:0; padding:0; list-style:none; }
.nexus-footer__nav a { color:#9999a8; font-size:12px; }
.nexus-footer__nav a:hover { color:#c5dcff; }
.nexus-footer__bottom { display:flex; align-items:center; justify-content:space-between; gap:30px; padding:22px 0; border-top:1px solid #33333c; text-align:left; }
.nexus-footer__bottom small { color:#7f7f90; font-size:11px; }
/* Native detail, index and account pages share the dark-blue styling. */
.nexus-series-grid,.nexus-grid,.nexus-grid--ranking,.comic-grid,.latest-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); align-items:start; gap:14px; }
.nexus-filter-bar { grid-template-columns:repeat(3,minmax(0,1fr)); border-radius:9px; }
.directory-hero,.directory-letters,.tag-directory { color:#ccc; background:#1d1d24; border-color:#393943; }
.directory-search input,.directory-search select { color:#ccc; background:#292931; border-color:#444450; }
.directory-letters a,.tag-directory a { color:#acacbc; }
.directory-letters a:hover,.directory-letters .is-current,.tag-directory a:hover { color:#fff; background:#245fae; }
.dashboard-hero,.author-profile,.profile-card,.settings-card,.login-card,.text-card,.guest-shelf,.history-list,.prose-page article { border-radius:10px; }
.prose-page .prose,.prose-page p,.prose-page li { color:#b4b4c1; }
@media (max-width:1100px) {
 .nexus-header-inner { flex-wrap:wrap; gap:12px; }
 .nexus-brand { flex:1; max-width:360px; }
 .nexus-header-search { flex:1 0 100%; order:5; }
 .nexus-account { margin-left:auto; }
 .nexus-language { display:none; }
 .nexus-menu-toggle { width:32px; height:32px; display:grid; place-items:center; padding:0; color:#bbb; background:#282832; border:1px solid #454552; border-radius:6px; cursor:pointer; }
 #nexus-navigation { position:absolute; top:100%; right:20px; left:20px; z-index:101; display:none; padding:15px; background:#24242d; border:1px solid #444450; border-radius:8px; box-shadow:0 12px 25px #0006; }
 #nexus-navigation.is-open { display:block; }
 #nexus-navigation ul { display:grid; gap:8px; }
 #nexus-navigation a { padding:6px 0; font-size:12px; }
 .nexus-popular-grid,.nexus-gallery-grid,.nexus-series-grid,.nexus-grid,.nexus-grid--ranking,.comic-grid,.latest-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
 .nexus-footer__top { grid-template-columns:minmax(0,1.15fr) minmax(260px,1fr); gap:35px; }
 .nexus-filter-bar { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:800px) {
 .nexus-popular-grid,.nexus-gallery-grid,.nexus-series-grid,.nexus-grid,.nexus-grid--ranking,.comic-grid,.latest-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .nexus-hero { height:315px; }
 .nexus-hero__copy { left:25px; max-width:550px; }
 .nexus-hero h2 { font-size:25px; }
 .nexus-footer__top { grid-template-columns:1fr; gap:29px; padding-top:34px; }
 .nexus-footer__nav ul { gap:20px; }
 .nexus-detail-body { grid-template-columns:200px minmax(0,1fr); gap:20px; }
 .nexus-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .nexus-chapter-list { grid-template-columns:1fr; }
}
@media (max-width:560px) {
 .container { padding-inline:12px; }
 .nexus-header-inner { padding-block:12px; gap:11px; }
 .nexus-brand { min-width:0; font-size:18px; }
 .nexus-account { font-size:10px; }
 .nexus-signup { display:none; }
 .nexus-home { padding-bottom:25px; }
 .nexus-hero { height:300px; margin-bottom:16px; border-radius:0 0 11px 11px; }
 .nexus-hero__copy { right:20px; bottom:52px; left:18px; }
 .nexus-hero h2 { margin-bottom:13px; font-size:23px; }
 .nexus-hero__badge { font-size:9px; }
 .nexus-hero__tags a { font-size:8px; }
 .nexus-hero__actions a,.nexus-hero__actions button { min-height:34px; padding:8px 10px; font-size:10px; }
 .nexus-hero__navigation { right:14px; bottom:12px; }
 .nexus-panel { margin-bottom:19px; border-radius:12px; }
 .nexus-panel-heading { min-height:43px; padding-block:10px; }
 .nexus-panel-heading h2 { gap:8px; font-size:15px; }
 .nexus-popular-tabs { gap:2px; margin-top:9px; padding:3px; }
 .nexus-popular-tabs a { min-width:0; flex:1; padding:8px 10px; font-size:9px; }
 .nexus-popular-grid,.nexus-gallery-grid,.nexus-series-grid,.nexus-grid,.nexus-grid--ranking,.comic-grid,.latest-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:8px; }
 .nexus-popular-grid { padding-top:0; }
 .nexus-card { border-radius:8px; }
 .nexus-pagination-wrap { padding:20px 12px; }
 .nexus-pagination ul { width:min(100%,330px); gap:6px; }
 .nexus-pagination li { flex:0 0 calc((100% - 30px)/6); }
 .nexus-pagination a,.nexus-pagination span { min-width:0; min-height:35px; padding:5px 8px; font-size:11px; }
 .nexus-page-panel { margin-bottom:0; }
 .nexus-footer__top { padding-top:29px; padding-bottom:27px; gap:23px; }
 .nexus-footer__brand strong { font-size:21px; margin-bottom:13px; }
 .nexus-footer__brand p { font-size:12px; line-height:1.8; }
 .nexus-footer__art { padding:0; }
 .nexus-footer__bottom { flex-direction:column; align-items:flex-start; gap:16px; }
 .nexus-footer__nav ul { justify-content:flex-start; gap:14px 21px; padding:0; }
 .nexus-footer__nav a { font-size:11px; }
 .nexus-footer__bottom { padding-block:18px; }
 .nexus-footer__bottom small { font-size:10px; }
 .nexus-filter-bar { grid-template-columns:1fr; }
 .nexus-detail-body { grid-template-columns:1fr; margin-top:-25px; }
 .nexus-media-card { width:190px; margin-inline:auto; }
 .nexus-dossier { padding-top:10px; }
 .nexus-detail-hero .container { min-height:330px; }
 .nexus-detail-hero h1 { font-size:38px; }
 .nexus-range-tabs a { min-width:0; padding:12px 16px; font-size:11px; }
 .prose-page { padding-inline:12px; }
 .reader-toolbar { padding-inline:10px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none!important; scroll-behavior:auto!important; } }
