/* HD Porn Comix: Charcoal and Amber. Existing selectors retain their compatibility names. */
.hdpx-violet {
    --hdpx-page: #111315;
    --hdpx-surface: #1b1e22;
    --hdpx-raised: #24282d;
    --hdpx-border: #363b42;
    --hdpx-border-strong: #73777d;
    --hdpx-text: #f4f1ea;
    --hdpx-muted: #b8b3aa;
    --hdpx-accent: #e9ad55;
    --hdpx-accent-hover: #f2c57b;
    --hdpx-accent-soft: #2d261c;
    --hdpx-accent-border: #9a753f;
    --hdpx-accent-shadow: #e9ad5514;
    --hdpx-on-accent: #171411;
    --hdpx-hover: #2e3339;
    --hdpx-overlay: #080a0ccc;
    --hdpx-sidebar: 252px;
    margin: 0;
    color-scheme: dark;
    accent-color: var(--hdpx-accent);
    background: radial-gradient(ellipse at 50% 0, var(--hdpx-surface) 0, transparent 70%), var(--hdpx-page);
    color: var(--hdpx-text);
    font: 400 15px/1.6 "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
}
.hdpx-violet *, .hdpx-violet *::before, .hdpx-violet *::after { box-sizing: border-box; }
.hdpx-violet [hidden] { display: none !important; }
.hdpx-violet a { color: inherit; text-decoration: none; }
.hdpx-violet button, .hdpx-violet input, .hdpx-violet textarea, .hdpx-violet select { font: inherit; color: inherit; }
.hdpx-violet button, .hdpx-violet summary { cursor: pointer; }
.hdpx-violet button { border: 0; }
.hdpx-violet img { max-width: 100%; vertical-align: middle; }
.hdpx-violet svg { width: 23px; height: 23px; flex: 0 0 auto; }
.hdpx-violet h1, .hdpx-violet h2, .hdpx-violet p { margin-top: 0; }
.hdpx-violet :is(a,button,input,textarea,summary):focus { outline: none; }
.hdpx-violet :is(a,button,input,textarea,summary):focus-visible { outline: 3px solid var(--hdpx-accent-hover); outline-offset: 4px; }
.hdpx-violet :is(a,button,input,textarea,summary) { -webkit-tap-highlight-color: transparent; }
.hdpx-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hdpx-skip { position: fixed; top: -90px; left: 16px; padding: 10px 18px; z-index: 100; background: var(--hdpx-accent); color: var(--hdpx-on-accent) !important; border-radius: 8px; }
.hdpx-skip:focus-visible { top: 14px; }
.hdpx-muted { color: var(--hdpx-muted); }
.hdpx-shell { margin-left: var(--hdpx-sidebar); min-height: 100svh; display: flex; flex-direction: column; min-width: 0; }
.hdpx-content { flex: 1; min-width: 0; }
.hdpx-main { padding: 12px 30px 36px; width: 100%; max-width: 1740px; margin: 0 auto; }
.hdpx-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: var(--hdpx-sidebar); background: linear-gradient(145deg, var(--hdpx-surface), var(--hdpx-page) 75%); border-right: 1px solid var(--hdpx-border); border-radius: 0 14px 14px 0; }
.hdpx-sidebar-content { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.hdpx-sidebar-brand { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 29px 22px 31px; }
.hdpx-sidebar-search { flex: 0 0 auto; padding: 0 18px 18px; }
.hdpx-sidebar-search .hdpx-search { min-height: 46px; padding-right: 10px; gap: 2px; border-radius: 10px; }
.hdpx-sidebar-search .hdpx-search input { padding-top: 10px; padding-bottom: 10px; font-size: 13px; }
.hdpx-brand { display: block; width: 208px; max-width: 100%; min-width: 0; line-height: 0; }
.hdpx-brand img { display: block; width: 100%; height: auto; }
.hdpx-sidebar-scroll { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--hdpx-border-strong) transparent; padding: 9px 22px 24px; }
.hdpx-core-navigation { padding: 9px 22px 0; flex: 0 0 auto; }
.hdpx-nav-label { margin: 0 9px 13px; color: var(--hdpx-muted); font-size: 12px; font-weight: 600; letter-spacing: .9px; text-transform: uppercase; }
.hdpx-nav-item { display: flex; gap: 16px; align-items: center; min-height: 50px; padding: 11px 14px; margin-bottom: 8px; border: 1px solid transparent; border-radius: 11px; color: var(--hdpx-text) !important; font-size: 15px; line-height: 1.4; }
.hdpx-nav-item > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hdpx-nav-item svg { color: var(--hdpx-muted); }
.hdpx-nav-item:hover { background: var(--hdpx-hover); }
.hdpx-nav-item:is([aria-current="page"],.hdpx-current) { background: linear-gradient(110deg, var(--hdpx-accent-soft), var(--hdpx-accent-soft)); border-color: var(--hdpx-accent-border); color: var(--hdpx-text) !important; box-shadow: 0 2px 15px var(--hdpx-accent-shadow); }
.hdpx-categories-menu > summary { list-style: none; }
.hdpx-categories-menu > summary::-webkit-details-marker { display: none; }
.hdpx-categories-menu > summary > svg:last-child { width: 14px; height: 14px; margin-left: auto; transition: transform .2s; }
.hdpx-categories-menu[open] > summary > svg:last-child { transform: rotate(180deg); }
.hdpx-category-directory { margin-bottom: 18px; }
.hdpx-category-directory a { display: flex; align-items: center; min-height: 44px; padding: 10px 8px; color: var(--hdpx-muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.hdpx-category-directory a:hover, .hdpx-category-directory a[aria-current] { color: var(--hdpx-accent-hover); }
.hdpx-category-search { display: grid; gap: 8px; margin: 12px 0; font-size: 13px; color: var(--hdpx-muted); }
.hdpx-category-search input { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; background: var(--hdpx-raised); border: 1px solid var(--hdpx-border-strong); border-radius: 9px; font-size: 16px; }
.hdpx-category-count, .hdpx-category-empty { color: var(--hdpx-muted); font-size: 12px; margin-bottom: 10px; }
.hdpx-category-group { border-bottom: 1px solid var(--hdpx-border); }
.hdpx-category-group > summary { display: flex; align-items: center; min-height: 48px; gap: 8px; padding: 10px 6px; font-size: 13px; line-height: 1.5; list-style: none; overflow-wrap: anywhere; }
.hdpx-category-group > summary::-webkit-details-marker { display: none; }
.hdpx-category-group > summary > span { margin-left: auto; font-size: 12px; color: var(--hdpx-muted); }
.hdpx-category-group > summary > svg { width: 14px; height: 14px; }
.hdpx-category-group[open] > summary > svg { transform: rotate(180deg); }
.hdpx-category-group > div { border-left: 1px solid var(--hdpx-border-strong); margin: 0 6px 12px; padding-left: 8px; }
.hdpx-category-group .hdpx-category-child { padding-left: 18px; }
.hdpx-collections { border-top: 1px solid var(--hdpx-border); margin-top: 28px; padding-top: 26px; }
.hdpx-topbar { display: flex; align-items: center; gap: 20px; padding: 26px 30px 28px; width: 100%; max-width: 1740px; margin: 0 auto; }
.hdpx-search-panel { flex: 1; min-width: 0; }
.hdpx-search { display: flex; gap: 8px; align-items: center; width: 100%; min-height: 54px; padding: 0 12px 0 6px; background: linear-gradient(110deg, var(--hdpx-raised), var(--hdpx-surface)); border: 1px solid var(--hdpx-border-strong); border-radius: 13px; }
.hdpx-search:focus-within { border-color: var(--hdpx-accent); box-shadow: 0 0 0 3px var(--hdpx-accent-shadow); }
.hdpx-search button { background: transparent; color: var(--hdpx-muted); padding: 10px; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.hdpx-search input { appearance: none; outline: 0 !important; flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 0; font-size: 16px; }
.hdpx-search input::placeholder { color: var(--hdpx-muted); opacity: 1; }
.hdpx-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--hdpx-surface); border: 1px solid var(--hdpx-border) !important; border-radius: 11px; color: var(--hdpx-muted); }
.hdpx-icon-button:hover { background: var(--hdpx-hover); color: var(--hdpx-text); }
.hdpx-view-controls { display: flex; flex: 0 0 auto; background: var(--hdpx-surface); border: 1px solid var(--hdpx-border); border-radius: 13px; padding: 3px; }
.hdpx-view-controls .hdpx-icon-button { border: 0 !important; background: transparent; width: 44px; height: 44px; border-radius: 9px; }
.hdpx-view-controls button[aria-pressed="true"] { background: var(--hdpx-accent); color: var(--hdpx-on-accent); }
.hdpx-mobile-brand, .hdpx-mobile-actions { display: none; }
.hdpx-breadcrumbs { margin: 0 0 22px; color: var(--hdpx-muted); font-size: 14px; }
.hdpx-breadcrumbs ol { list-style: none; display: flex; align-items: center; gap: 14px; padding: 0; margin: 0; min-width: 0; }
.hdpx-breadcrumbs li { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.hdpx-breadcrumbs li > :last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdpx-breadcrumbs a:hover { color: var(--hdpx-accent-hover); }
.hdpx-breadcrumbs a { display: block; min-height: 44px; line-height: 44px; }
.hdpx-reader .hdpx-breadcrumbs li:first-child { flex: 0 0 auto; }
.hdpx-reader .hdpx-breadcrumbs li:first-child a { min-width: 44px; }
.hdpx-breadcrumbs li:last-child { color: var(--hdpx-text); }
.hdpx-breadcrumb-separator { color: var(--hdpx-muted); flex: 0 0 auto; }
.hdpx-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.hdpx-page-heading > div, .hdpx-author-heading > div { min-width: 0; }
.hdpx-page-heading h1 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -.8px; font-weight: 750; }
.hdpx-eyebrow { color: var(--hdpx-muted); font-size: 12px; font-weight: 650; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 7px; }
.hdpx-heading-description { margin: 10px 0 0; color: var(--hdpx-muted); max-width: 760px; font-size: 15px; }
.hdpx-author-heading { display: flex; align-items: center; gap: 20px; min-width: 0; }
.hdpx-author-avatar { display: inline-flex; align-items: center; justify-content: center; width: 82px; height: 82px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--hdpx-accent-border); background: linear-gradient(130deg, var(--hdpx-accent-soft), var(--hdpx-accent-soft)); font-size: 31px; font-weight: 750; letter-spacing: -1px; }
.hdpx-date-description { display: flex; align-items: center; gap: 10px; }
.hdpx-date-description svg { width: 20px; height: 20px; }
.hdpx-listing-caption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; color: var(--hdpx-muted); font-size: 13px; margin: -6px 0 20px; }
.hdpx-sort { color: var(--hdpx-muted); }
.hdpx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 16px; }
.hdpx-card { min-width: 0; border: 1px solid var(--hdpx-border); border-radius: 13px; overflow: hidden; background: linear-gradient(125deg, var(--hdpx-surface), var(--hdpx-surface)); transition: border-color .18s, transform .18s; }
.hdpx-card:hover { border-color: var(--hdpx-accent-border); transform: translateY(-2px); }
.hdpx-card > a { display: block; height: 100%; }
.hdpx-card > a:focus-visible { outline-offset: -4px; border-radius: 12px; }
.hdpx-card-art { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--hdpx-raised); }
.hdpx-card-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hdpx-card-caption { display: block; padding: 13px 16px 16px; }
.hdpx-card h2 { font-size: 16px; line-height: 1.45; letter-spacing: -.25px; font-weight: 650; margin: 0 0 9px; overflow-wrap: anywhere; }
.hdpx-card-meta { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.hdpx-card-meta time { color: var(--hdpx-muted); font-size: 12px; }
.hdpx-pill { display: inline-block; max-width: 100%; padding: 4px 12px; background: var(--hdpx-raised); color: var(--hdpx-text); font-size: 12px; line-height: 1.4; border-radius: 20px; overflow-wrap: anywhere; }
a.hdpx-pill:hover { background: var(--hdpx-hover); color: var(--hdpx-text); }
.hdpx-cover-empty { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(140deg, var(--hdpx-raised), var(--hdpx-hover)); color: var(--hdpx-muted); }
.hdpx-cover-empty svg { width: 75px; height: 75px; }
.hdpx-list-view { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hdpx-list-view .hdpx-card > a { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: center; }
.hdpx-list-view .hdpx-card-art { aspect-ratio: 1 / 1.3; height: 100%; min-height: 150px; }
.hdpx-pagination { margin-top: 28px; }
.hdpx-pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding: 0; margin: 0; }
.hdpx-pagination :is(a,span).page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--hdpx-border); border-radius: 9px; color: var(--hdpx-text); background: var(--hdpx-surface); }
.hdpx-pagination .page-numbers.current { background: var(--hdpx-accent); border-color: var(--hdpx-accent); color: var(--hdpx-on-accent); }
.hdpx-pagination a.page-numbers:hover { background: var(--hdpx-hover); }
.hdpx-pagination .page-numbers.dots { border: 0; background: transparent; min-width: 26px; padding: 0; }
.hdpx-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 12px 23px; border: 1px solid var(--hdpx-accent) !important; border-radius: 10px; background: linear-gradient(110deg, var(--hdpx-accent-hover), var(--hdpx-accent)); color: var(--hdpx-on-accent) !important; font-weight: 600; box-shadow: 0 3px 16px var(--hdpx-accent-shadow); text-align: center; }
.hdpx-button:hover { background: var(--hdpx-accent-hover); }
.hdpx-secondary-button { background: var(--hdpx-raised); border-color: var(--hdpx-border-strong) !important; color: var(--hdpx-text) !important; box-shadow: none; }
.hdpx-secondary-button:hover { background: var(--hdpx-hover); }
.hdpx-button svg { width: 21px; height: 21px; }
.hdpx-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: 480px; text-align: center; padding: 48px 24px; border: 1px solid var(--hdpx-border); border-radius: 13px; background: radial-gradient(ellipse at center, var(--hdpx-raised), var(--hdpx-surface) 70%); }
.hdpx-empty > svg { width: 80px; height: 80px; color: var(--hdpx-accent); margin: 8px 0; stroke-width: 1; }
.hdpx-empty :is(h1,h2) { font-size: clamp(24px, 3vw, 36px); line-height: 1.25; letter-spacing: -.6px; margin: 0; }
.hdpx-empty p { color: var(--hdpx-muted); margin: 0 0 8px; }
.hdpx-empty .hdpx-search { max-width: 480px; margin: 8px 0; text-align: left; }
.hdpx-not-found { min-height: 650px; background: linear-gradient(#11131518, #11131535), url('/assets/sites/hdporncomix/illustrations/night-lake.webp') center / cover, var(--hdpx-surface); }
.hdpx-not-found :is(h1,p,.hdpx-error-number) { text-shadow: 0 3px 18px var(--hdpx-page); }
.hdpx-error-number { font-size: 110px; font-weight: 800; line-height: 1.1; color: var(--hdpx-accent); letter-spacing: -5px; }
.hdpx-comic-hero { display: grid; grid-template-columns: 260px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 32px; align-items: start; margin-bottom: 30px; }
.hdpx-comic-artwork { grid-column: 1; grid-row: 1 / 3; }
.hdpx-comic-terms { grid-column: 2; grid-row: 2; min-width: 0; }
.hdpx-comic-cover { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--hdpx-border); background: var(--hdpx-raised); }
.hdpx-start-reading { display: flex; margin-top: 12px; width: 100%; }
.hdpx-comic-summary { min-width: 0; grid-column: 2; grid-row: 1; }
.hdpx-comic-summary h1 { font-size: clamp(28px, 3vw, 42px); line-height: 1.2; letter-spacing: -1px; margin: 0 0 13px; overflow-wrap: anywhere; }
.hdpx-published { color: var(--hdpx-muted); margin-bottom: 8px; }
.hdpx-comic-taxonomies { margin-top: 22px; }
.hdpx-comic-taxonomies h2 { font-size: 14px; font-weight: 500; color: var(--hdpx-muted); margin-bottom: 8px; }
.hdpx-comic-taxonomies > div { display: flex; flex-wrap: wrap; gap: 8px; }
.hdpx-comic-taxonomies .hdpx-pill { display: inline-flex; align-items: center; min-height: 44px; border-radius: 10px; padding: 10px 13px; font-size: 13px; }
.hdpx-prose { font-size: 16px; line-height: 1.8; color: var(--hdpx-text); }
.hdpx-information .hdpx-prose { max-width: 75ch; }
.hdpx-prose :is(h2,h3,h4) { color: var(--hdpx-text); line-height: 1.35; margin: 26px 0 10px; letter-spacing: -.25px; }
.hdpx-prose h2 { font-size: 25px; }
.hdpx-prose h3 { font-size: 20px; }
.hdpx-prose p { margin-bottom: 18px; }
.hdpx-prose a { color: var(--hdpx-accent); text-underline-offset: 4px; }
.hdpx-prose a:hover { text-decoration: underline; }
.hdpx-prose :is(img,iframe,video) { max-width: 100%; }
.hdpx-prose img { height: auto; }
.hdpx-prose :is(ul,ol) { padding-left: 24px; }
.hdpx-prose :is(input,textarea,select) { max-width: 100%; background: var(--hdpx-raised); border: 1px solid var(--hdpx-border); border-radius: 7px; padding: 8px; }
.hdpx-comic-content { border-top: 1px solid var(--hdpx-border); padding-top: 24px; }
.hdpx-comic-content :is(.gallery,.my-gallery,.Comix-Gallery,.GalleryPage) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 28px; }
.hdpx-comic-content :is(.gallery-item,figure) { width: auto !important; float: none !important; margin: 0 !important; max-width: 100%; min-width: 0; }
.hdpx-comic-content :is(.gallery-item,.my-gallery,.Comix-Gallery,.GalleryPage) img { display: block; width: 100%; height: auto; border: 1px solid var(--hdpx-border) !important; border-radius: 10px; }
.hdpx-comic-content :is(.gallery,.my-gallery,.Comix-Gallery,.GalleryPage) > br { display: none; }
.hdpx-comic-content .gallery-caption { font-size: 12px; }
.hdpx-document-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; align-items: start; }
.hdpx-document-layout:has(.hdpx-toc[hidden]) { grid-template-columns: minmax(0, 1fr); max-width: 1050px; }
.hdpx-document-layout:has(.hdpx-about-aside) { grid-template-columns: minmax(0, 1fr); max-width: 840px; }
.hdpx-document-layout:has(.hdpx-about-aside) .hdpx-document { min-height: 0; grid-row: 1; }
.hdpx-document, .hdpx-document-aside { border: 1px solid var(--hdpx-border); border-radius: 13px; background: linear-gradient(135deg, var(--hdpx-surface), var(--hdpx-surface)); padding: 28px; min-width: 0; }
.hdpx-document { min-height: 300px; grid-column: 1; grid-row: 1; }
.hdpx-document-aside { grid-column: 2; grid-row: 1; }
.hdpx-document .hdpx-prose > :first-child { margin-top: 0; }
.hdpx-document-aside h2 { font-size: 21px; line-height: 1.35; margin-bottom: 14px; }
.hdpx-document-aside p { color: var(--hdpx-muted); }
.hdpx-document-aside > svg { width: 38px; height: 38px; color: var(--hdpx-accent); margin-bottom: 18px; }
.hdpx-document-aside a { color: var(--hdpx-accent); }
.hdpx-document-aside > a, .hdpx-about-aside nav a { display: inline-flex; align-items: center; min-height: 44px; }
.hdpx-document-aside a:hover { text-decoration: underline; }
.hdpx-about-aside { display: none; }
.hdpx-toc { position: sticky; top: 24px; padding: 22px; }
.hdpx-toc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: 18px; font-weight: 600; list-style: none; }
.hdpx-toc summary::-webkit-details-marker { display: none; }
.hdpx-toc summary svg { width: 17px; height: 17px; }
.hdpx-toc details[open] summary svg { transform: rotate(180deg); }
.hdpx-toc nav { display: grid; gap: 4px; border-left: 1px solid var(--hdpx-border-strong); padding-left: 16px; margin-top: 14px; }
.hdpx-toc a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 13px; line-height: 1.5; color: var(--hdpx-muted); }
.hdpx-prose :is(h2,h3)[id] { scroll-margin-top: 30px; }
.hdpx-field { margin-bottom: 23px; }
.hdpx-field label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 550; color: var(--hdpx-text); }
.hdpx-field :is(input,textarea) { display: block; width: 100%; border: 1px solid var(--hdpx-border-strong); background: var(--hdpx-raised); border-radius: 9px; padding: 12px 14px; min-height: 46px; }
.hdpx-field textarea { resize: vertical; min-height: 170px; }
.hdpx-field [aria-invalid="true"] { border-color: #ed9da7; }
.hdpx-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hdpx-violet .hdpx-field-error { font-size: 13px; margin: 12px 0 0; color: #ffb8c0; }
.hdpx-notice { border: 1px solid #659c8d; border-radius: 9px; background: #173932; padding: 14px; margin-bottom: 20px; }
.hdpx-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; padding: 23px 0 27px; border-top: 1px solid var(--hdpx-border); margin: 0 30px; font-size: 12px; color: var(--hdpx-muted); }
.hdpx-footer p { margin: 0; }
.hdpx-footer nav { display: flex; gap: 4px 16px; flex-wrap: wrap; }
.hdpx-footer a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.hdpx-footer a:hover { color: var(--hdpx-accent-hover); }
.hdpx-back-to-top { position: fixed; bottom: max(16px, env(safe-area-inset-bottom)); right: 16px; z-index: 25; box-shadow: 0 4px 20px #0007; background: var(--hdpx-accent-soft); color: var(--hdpx-accent-hover); }
.hdpx-reader-screen { --hdpx-sidebar: 80px; }
.hdpx-reader-rail { width: var(--hdpx-sidebar); padding: 22px 13px; }
.hdpx-reader-rail > a:first-child { display: block; border-bottom: 1px solid var(--hdpx-border); padding-bottom: 20px; margin-bottom: 24px; }
.hdpx-reader-rail img { width: 53px; height: auto; }
.hdpx-reader-rail nav { display: grid; gap: 18px; justify-items: center; }
.hdpx-reader .hdpx-breadcrumbs { margin-bottom: 0; min-width: 0; flex: 1; }
.hdpx-reader .hdpx-breadcrumbs li:last-child { flex: 0 0 auto; }
.hdpx-reader-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.hdpx-reader-tools { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 16px; flex: 0 1 auto; }
.hdpx-reader-fit { display: inline-flex; gap: 2px; border: 1px solid var(--hdpx-border); border-radius: 9px; padding: 2px; background: var(--hdpx-surface); }
.hdpx-reader-fit button { min-height: 44px; padding: 8px 12px; background: transparent; border-radius: 6px; color: var(--hdpx-muted); font-size: 13px; white-space: nowrap; }
.hdpx-reader-fit button[aria-pressed="true"] { color: var(--hdpx-on-accent); background: var(--hdpx-accent); }
.hdpx-reader-pagination { display: flex; align-items: center; justify-content: center; gap: 9px; flex: 0 0 auto; scroll-margin-top: 20px; }
.hdpx-reader-pagination :is(a,button) { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 11px; border: 1px solid var(--hdpx-border); border-radius: 10px; background: var(--hdpx-surface); color: var(--hdpx-text); }
.hdpx-reader-pagination .page-number { background: var(--hdpx-accent); border-color: var(--hdpx-accent); min-width: 89px; color: var(--hdpx-on-accent); gap: 5px; font-size: 14px; white-space: nowrap; }
.hdpx-reader-pagination a:hover { background: var(--hdpx-hover); }
.hdpx-reader-pagination a[aria-disabled="true"] { opacity: .28; cursor: default; }
.hdpx-reader-image { position: relative; min-height: 180px; padding: 12px; background: var(--hdpx-surface); border: 1px solid var(--hdpx-border-strong); border-radius: 13px; overflow: hidden; text-align: center; margin-bottom: 8px; scroll-margin-top: 8px; }
.hdpx-reader-image img { width: 100%; height: auto; display: block; margin: 0 auto; }
.hdpx-reader-image.fit-both img { max-height: calc(100svh - 32px); width: auto; max-width: 100%; object-fit: contain; }
.hdpx-reader-image[data-hdpx-image-state="loading"] img, .hdpx-reader-image[data-hdpx-image-state="error"] img { visibility: hidden; }
.hdpx-enhanced .hdpx-reader-image:not([data-hdpx-image-state="ready"]) [data-hdpx-reader-image-link] { pointer-events: none; }
.hdpx-reader-feedback { position: absolute; inset: 0; padding: clamp(20px, 6vh, 60px) 18px 18px; background: var(--hdpx-surface); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hdpx-reader-feedback p { margin: 0; max-width: 440px; font-size: 14px; color: var(--hdpx-muted); }
.hdpx-reader-status { text-align: center; color: var(--hdpx-muted); font-size: 12px; margin: 0 0 14px; }
.hdpx-reader-end { text-align: center; margin: 18px auto; padding: 16px; border: 1px solid var(--hdpx-accent-border); border-radius: 12px; background: var(--hdpx-accent-soft); max-width: 550px; }
.hdpx-reader-end p { margin-bottom: 4px; }
.hdpx-reader-end a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; color: var(--hdpx-accent-hover); text-decoration: underline; text-underline-offset: 4px; }
.hdpx-reader-help { margin: 18px 0 0; text-align: center; color: var(--hdpx-muted); font-size: 14px; }
.hdpx-touch-help { display: none; }
.hdpx-page-picker { width: min(420px, calc(100vw - 32px)); padding: 24px; border: 1px solid var(--hdpx-border-strong); border-radius: 15px; background: var(--hdpx-surface); color: var(--hdpx-text); max-height: calc(100dvh - 32px); overflow-y: auto; }
.hdpx-page-picker::backdrop { background: var(--hdpx-overlay); backdrop-filter: blur(3px); }
.hdpx-picker-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.hdpx-picker-heading h2 { font-size: 22px; line-height: 1.3; margin: 0; }
.hdpx-page-picker label { display: block; font-weight: 600; }
.hdpx-page-picker #hdpx-page-range { color: var(--hdpx-muted); font-size: 13px; margin: 6px 0 14px; }
.hdpx-page-picker input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--hdpx-border-strong); border-radius: 9px; background: var(--hdpx-raised); font-size: 20px; }
.hdpx-page-picker input[aria-invalid="true"] { border-color: #ed9da7; }
.hdpx-page-picker button[type="submit"] { width: 100%; margin-top: 20px; }
.hdpx-navigation-drawer { position: fixed; inset: 0 0 0 auto; width: min(88vw, 390px); max-width: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--hdpx-border-strong); border-radius: 16px 0 0 16px; background: var(--hdpx-surface); color: var(--hdpx-text); overflow: hidden; transform: translateX(0); }
.hdpx-navigation-drawer[open] { animation: hdpx-drawer-in .25s ease-out; }
.hdpx-navigation-drawer[data-closing] { animation: hdpx-drawer-out .23s ease-in forwards; }
.hdpx-navigation-drawer::backdrop { background: var(--hdpx-overlay); backdrop-filter: blur(3px); }
.hdpx-navigation-drawer .hdpx-sidebar-brand { padding: 25px 20px; }
.hdpx-navigation-drawer .hdpx-brand { width: 208px; }
.hdpx-drawer-copyright { padding: 16px 24px; border-top: 1px solid var(--hdpx-border); margin: 0; color: var(--hdpx-muted); font-size: 12px; }
.hdpx-drawer-open { overflow: hidden; }
@keyframes hdpx-drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes hdpx-drawer-out { from { transform: translateX(0); } to { transform: translateX(100%); } }
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
    .hdpx-topbar { min-height: 76px; padding-top: 12px; padding-bottom: 12px; gap: 14px; border-bottom: 1px solid var(--hdpx-border); }
    .hdpx-violet:not(.hdpx-reader-screen) .hdpx-topbar { display: none; }
    .hdpx-violet:not(.hdpx-reader-screen) .hdpx-main { padding-top: 22px; }
    .hdpx-listing-screen .hdpx-page-heading { align-items: center; gap: 16px; margin-bottom: 16px; }
    .hdpx-listing-screen .hdpx-page-heading h1 { font-size: clamp(28px, 2.3vw, 34px); }
    .hdpx-listing-screen .hdpx-view-controls { padding: 0; border-radius: 10px; }
    .hdpx-listing-screen .hdpx-breadcrumbs { margin-bottom: 10px; }
    .hdpx-listing-screen:is(.hdpx-screen-category,.hdpx-screen-tag) .hdpx-eyebrow { display: none; }
    .hdpx-listing-screen .hdpx-heading-description { margin-top: 6px; }
    .hdpx-listing-screen .hdpx-listing-caption { margin: 0 0 18px; }
    .hdpx-topbar .hdpx-search-panel { max-width: 640px; }
    .hdpx-topbar .hdpx-search { min-height: 46px; border-radius: 10px; }
    .hdpx-topbar .hdpx-search input { padding-top: 9px; padding-bottom: 9px; font-size: 15px; }
    .hdpx-sidebar .hdpx-sidebar-brand { padding-top: 18px; padding-bottom: 20px; }
    .hdpx-comic .hdpx-breadcrumbs { margin-bottom: 14px; }
    .hdpx-comic .hdpx-comic-hero { grid-template-columns: 190px minmax(0, 1fr); column-gap: 24px; padding: 20px; margin-bottom: 22px; border: 1px solid var(--hdpx-border); border-radius: 16px; background: linear-gradient(130deg, var(--hdpx-surface), var(--hdpx-page) 80%); box-shadow: 0 10px 32px #00000014; }
    .hdpx-comic-summary h1 { max-width: 34ch; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.22; letter-spacing: -.65px; margin-bottom: 10px; }
    .hdpx-comic .hdpx-start-reading { min-height: 48px; margin-top: 10px; padding: 10px 14px; font-size: 14px; }
    .hdpx-comic-taxonomies { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 16px; }
    .hdpx-comic-taxonomies h2 { margin: 0; padding-top: 11px; font-size: 12px; font-weight: 600; }
    .hdpx-comic-taxonomies .hdpx-pill { border-radius: 8px; }
    .hdpx-footer { padding-right: 64px; }
    .hdpx-sidebar .hdpx-categories-menu > summary { position: sticky; top: 0; z-index: 3; margin-bottom: 0; }
    .hdpx-sidebar .hdpx-categories-menu > summary:not(.hdpx-current):not(:hover) { background: var(--hdpx-surface); }
    .hdpx-sidebar .hdpx-category-search { position: sticky; top: 50px; z-index: 2; margin: 0; padding: 12px 0; background: var(--hdpx-surface); }
    .hdpx-sidebar .hdpx-sidebar-scroll { scroll-padding-top: 166px; }
    .hdpx-sidebar .hdpx-category-directory :is(a,summary) { scroll-margin-top: 8px; scroll-margin-bottom: 8px; }
    .hdpx-sidebar .hdpx-collections .hdpx-nav-item { gap: 12px; padding-left: 10px; padding-right: 10px; }
    .hdpx-sidebar .hdpx-collections .hdpx-nav-item > span { white-space: normal; text-overflow: clip; }
}
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
    .hdpx-toc nav { max-height: calc(100svh - 186px); padding: 8px 8px 8px 16px; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: var(--hdpx-border-strong) transparent; scrollbar-gutter: stable; scroll-padding: 8px; }
}
@media (min-width: 1800px) {
    .hdpx-main, .hdpx-topbar { padding-left: 44px; padding-right: 44px; }
    .hdpx-grid { gap: 22px; }
    .hdpx-card h2 { font-size: 18px; }
}
@media (max-width: 1199px), (hover: none) and (pointer: coarse) {
    .hdpx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hdpx-list-view { grid-template-columns: minmax(0, 1fr); }
    .hdpx-document-layout { grid-template-columns: minmax(0, 1fr); }
    .hdpx-document-aside { max-width: none; position: static; }
    .hdpx-document { min-height: 0; grid-row: 2; }
    .hdpx-document-aside { grid-column: 1; grid-row: 1; }
    .hdpx-document-layout:has(.hdpx-toc[hidden]) .hdpx-document { grid-row: 1; }
    .hdpx-contact-layout .hdpx-document-aside { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 14px; padding: 20px; }
    .hdpx-contact-layout .hdpx-document-aside > svg { grid-column: 1; grid-row: 1 / 3; width: 28px; height: 28px; margin: 0; }
    .hdpx-contact-layout .hdpx-document-aside > :not(svg) { grid-column: 2; margin: 0; }
    .hdpx-contact-layout .hdpx-document-aside h2 { font-size: 18px; }
    .hdpx-contact-layout .hdpx-document-aside p { font-size: 14px; }
    .hdpx-contact-layout .hdpx-document-aside > a { justify-self: start; font-size: 14px; }
    .hdpx-comic-hero { grid-template-columns: 220px minmax(0, 1fr); column-gap: 25px; }
    .hdpx-comic-content :is(.gallery,.my-gallery,.Comix-Gallery,.GalleryPage) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px), (hover: none) and (pointer: coarse) {
    .hdpx-shell { margin-left: 0; }
    .hdpx-sidebar { display: none; }
    .hdpx-topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 18px 24px 20px; }
    .hdpx-mobile-brand { display: block; min-width: 0; }
    .hdpx-mobile-brand .hdpx-brand { width: 260px; }
    .hdpx-mobile-actions { display: flex; align-items: center; gap: 8px; }
    .hdpx-mobile-actions .hdpx-icon-button { width: 44px; height: 44px; }
    .hdpx-search-panel { grid-column: 1 / -1; min-width: 0; }
    .hdpx-enhanced .hdpx-search-panel,
    .hdpx-search-pending .hdpx-violet:not(.hdpx-screen-search) .hdpx-search-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .23s ease, opacity .23s ease; opacity: 0; }
    .hdpx-enhanced.hdpx-search-open .hdpx-search-panel { grid-template-rows: 1fr; opacity: 1; }
    .hdpx-search-inner { overflow: hidden; }
    .hdpx-enhanced:not(.hdpx-search-open) .hdpx-topbar,
    .hdpx-search-pending .hdpx-violet:not(.hdpx-screen-search) .hdpx-topbar { row-gap: 0; }
    .hdpx-search-pending .hdpx-violet:not(.hdpx-screen-search) .hdpx-search-panel { visibility: hidden; }
    .hdpx-search-pending .hdpx-mobile-actions [data-hdpx-search-toggle][hidden] { display: flex !important; visibility: hidden; }
    .hdpx-search-open .hdpx-search-inner,
    .hdpx-search-pending .hdpx-screen-search .hdpx-search-inner { padding-top: 8px; }
    .hdpx-view-controls { display: none !important; }
    .hdpx-main { padding: 8px 24px 30px; }
    .hdpx-footer { margin-left: 24px; margin-right: 24px; }
    .hdpx-mobile-fallback > summary { list-style: none; }
    .hdpx-mobile-fallback > summary::-webkit-details-marker { display: none; }
    .hdpx-mobile-fallback nav { position: absolute; right: 20px; top: 75px; width: min(360px, calc(100vw - 40px)); max-height: 70vh; overflow-y: auto; z-index: 40; padding: 16px; background: var(--hdpx-surface); border: 1px solid var(--hdpx-border); border-radius: 12px; box-shadow: 0 20px 40px #0006; }
    .hdpx-mobile-fallback a { display: flex; align-items: center; min-height: 44px; padding: 10px 9px; }
    .hdpx-mobile-fallback nav nav { position: static; width: auto; max-height: none; overflow: visible; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
    .hdpx-reader-toolbar { flex-direction: column; align-items: stretch; gap: 8px; }
    .hdpx-reader .hdpx-breadcrumbs { max-width: 100%; }
    .hdpx-reader-pagination { align-self: center; }
    .hdpx-reader-image { padding: 7px; }
    .hdpx-touch-help { display: inline; }
    .hdpx-keyboard-help { display: none; }
    .hdpx-field :is(input,textarea) { font-size: 16px; }
}
@media (max-width: 599px) {
    .hdpx-topbar { padding: 16px 16px 20px; column-gap: 8px; }
    .hdpx-mobile-brand .hdpx-brand { width: 228px; }
    .hdpx-mobile-actions { gap: 6px; }
    .hdpx-mobile-actions .hdpx-icon-button { width: 44px; height: 44px; border-radius: 9px; }
    .hdpx-mobile-actions svg { width: 20px; height: 20px; }
    .hdpx-main { padding: 4px 16px 25px; }
    .hdpx-page-heading { display: block; margin-bottom: 18px; }
    .hdpx-page-heading h1 { font-size: 27px; }
    .hdpx-screen-author .hdpx-page-heading { flex-wrap: wrap; }
    .hdpx-author-heading { flex: 1 1 100%; gap: 14px; }
    .hdpx-author-avatar { width: 64px; height: 64px; font-size: 26px; }
    .hdpx-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .hdpx-card-art { aspect-ratio: 1 / 1.05; }
    .hdpx-card-caption { padding: 15px 17px 17px; }
    .hdpx-card h2 { font-size: 18px; }
    .hdpx-breadcrumbs { font-size: 12px; margin-bottom: 19px; }
    .hdpx-breadcrumbs :is(ol,li) { gap: 9px; }
    .hdpx-breadcrumbs li:first-child, .hdpx-breadcrumbs li:last-child { flex: 0 0 auto; }
    .hdpx-breadcrumbs li:not(:first-child):not(:last-child) { flex: 0 1 auto; }
    .hdpx-breadcrumbs li:last-child > :last-child { max-width: 70vw; }
    .hdpx-reader .hdpx-breadcrumbs li:last-child > :last-child { max-width: none; }
    .hdpx-empty { min-height: 440px; padding: 38px 20px; gap: 16px; }
    .hdpx-not-found { min-height: 570px; }
    .hdpx-error-number { font-size: 90px; }
    .hdpx-comic-hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 20px; }
    .hdpx-comic-summary { grid-column: 1; grid-row: 1; }
    .hdpx-comic-artwork { grid-column: 1; grid-row: 2; max-width: 300px; width: 100%; margin: auto; }
    .hdpx-comic-terms { grid-column: 1; grid-row: 3; }
    .hdpx-comic-summary h1 { font-size: 29px; }
    .hdpx-comic-taxonomies { margin-top: 20px; }
    .hdpx-comic-content :is(.gallery,.my-gallery,.Comix-Gallery,.GalleryPage) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .hdpx-prose { font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
    .hdpx-prose h2 { font-size: 23px; }
    .hdpx-document, .hdpx-document-aside { padding: 20px; }
    .hdpx-form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .hdpx-contact-form > .hdpx-button { width: 100%; }
    .hdpx-footer { margin: 0 16px; padding: 20px 0 76px; gap: 13px; font-size: 12px; }
    .hdpx-footer nav { gap: 4px 16px; }
    .hdpx-reader-pagination { gap: 6px; }
    .hdpx-reader-pagination :is(a,button) { min-width: 48px; height: 48px; padding: 0 10px; border-radius: 9px; }
    .hdpx-reader-pagination .page-number { min-width: 76px; font-size: 13px; gap: 4px; }
    .hdpx-reader-image { padding: 3px; border-radius: 9px; }
    .hdpx-page-picker { padding: 20px; }
}
@media (max-width: 359px) {
    .hdpx-mobile-brand .hdpx-brand { width: 184px; }
    .hdpx-main, .hdpx-topbar { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 1023px) and (max-height: 500px) and (orientation: landscape) {
    .hdpx-reader-screen .hdpx-topbar { padding-top: 8px; padding-bottom: 8px; }
    .hdpx-reader-toolbar { flex-direction: row; gap: 12px; margin-bottom: 12px; }
    .hdpx-reader-toolbar .hdpx-reader-tools { flex-wrap: nowrap; gap: 8px; }
    .hdpx-reader-screen .hdpx-main { padding-top: 0; }
    .hdpx-navigation-drawer .hdpx-sidebar-brand { padding: 10px 20px; }
    .hdpx-navigation-drawer .hdpx-core-navigation .hdpx-nav-label { display: none; }
    .hdpx-navigation-drawer .hdpx-main-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
    .hdpx-navigation-drawer .hdpx-main-nav .hdpx-nav-item { justify-content: center; padding: 10px 4px; gap: 5px; font-size: 12px; }
    .hdpx-navigation-drawer .hdpx-main-nav svg { width: 16px; height: 16px; }
    .hdpx-navigation-drawer .hdpx-drawer-copyright { padding: 10px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .hdpx-violet *, .hdpx-violet *::before, .hdpx-violet *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.hdpx-gallery-heading { font-size: 24px; line-height: 1.3; margin: 26px 0 18px; letter-spacing: -.4px; }
