/* =============================================================
   Aquareader — Reader Page Styles
   All selectors scoped to body.aqua-reader-page (set in functions.php)
   to prevent any bleed onto non-reader pages.
   ============================================================= */

/* ── Suppress parent theme sticky nav + tap-stealing overlays ── */
#manga-reading-nav-head {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    visibility: hidden !important;
}
.page-prev-link,
.page-next-link {
    display: none !important;
    pointer-events: none !important;
}

/* ══════════════════════════════════════════════════════════════
   COMIX-STYLE READER UI
   Chapter pill (top-right) + right-side floating toolbar + panels
   ══════════════════════════════════════════════════════════════ */

/* Hide-on-toggle */
#aqua-reader-toolbar,
#aqua-reader-chappill {
	transition: opacity 0.25s ease, transform 0.25s ease;
}
#aqua-reader-toolbar.bars-hidden {
	opacity: 0; transform: translateX(20px); pointer-events: none;
}
#aqua-reader-chappill.bars-hidden {
	opacity: 0; transform: translateY(-14px); pointer-events: none;
}

/* ── Chapter navigation pill (top-right) ── */
.aqua-reader-chappill {
	position: fixed;
	top: calc(env(safe-area-inset-top, 0px) + 12px);
	right: 12px;
	z-index: 9000;
	display: flex;
	align-items: center;
	gap: 2px;
	background: rgba(20, 22, 30, 0.82);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 999px;
	padding: 4px;
	box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}
.admin-bar .aqua-reader-chappill { top: calc(env(safe-area-inset-top, 0px) + 44px); }
.aqua-chappill__arrow {
	display: flex; align-items: center; justify-content: center;
	width: 34px; height: 34px;
	border-radius: 999px;
	color: rgba(255,255,255,0.85);
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}
.aqua-chappill__arrow:hover { background: rgba(255,255,255,0.1); color: #fff; }
.aqua-chappill__arrow.is-disabled { opacity: 0.3; pointer-events: none; }
.aqua-chappill__label {
	display: flex; align-items: center; gap: 4px;
	background: transparent; border: none; cursor: pointer;
	color: #fff; font-size: 14px; font-weight: 700;
	padding: 0 10px; height: 34px;
	font-family: inherit;
}
.aqua-chappill__sep   { color: rgba(255,255,255,0.35); font-weight: 400; }
.aqua-chappill__total { color: rgba(255,255,255,0.55); font-weight: 500; }

/* ── Right-side floating toolbar ── */
.aqua-reader-toolbar {
	position: fixed;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	z-index: 9000;
	display: flex;
	flex-direction: column;
	gap: 4px;
	background: rgba(20, 22, 30, 0.82);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 16px;
	padding: 6px;
	box-shadow: 0 6px 22px rgba(0,0,0,0.4);
}
.aqua-reader-toolbar__btn {
	display: flex; align-items: center; justify-content: center;
	width: 42px; height: 42px;
	border: none; background: transparent; cursor: pointer;
	border-radius: 12px;
	color: rgba(255,255,255,0.72);
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}
.aqua-reader-toolbar__btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Tighter on small screens */
@media screen and (max-width: 480px) {
	.aqua-reader-toolbar__btn { width: 38px; height: 38px; }
	.aqua-reader-toolbar__btn svg { width: 20px; height: 20px; }
}

/* ══ Generic panels (bottom sheet) ══ */
.aqua-panel {
	position: fixed; inset: 0;
	z-index: 10000;
	pointer-events: none;
}
.aqua-panel.is-open { pointer-events: all; }
.aqua-panel__backdrop {
	position: absolute; inset: 0;
	background: rgba(0,0,0,0.6);
	opacity: 0; transition: opacity 0.25s;
}
.aqua-panel.is-open .aqua-panel__backdrop { opacity: 1; }
.aqua-panel__sheet {
	position: absolute; left: 0; right: 0; bottom: 0;
	max-height: 78vh;
	display: flex; flex-direction: column;
	background: #14161e;
	border-radius: 18px 18px 0 0;
	border-top: 1px solid rgba(255,255,255,0.08);
	transform: translateY(100%);
	transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
.aqua-panel.is-open .aqua-panel__sheet { transform: translateY(0); }
.aqua-panel__header {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid rgba(255,255,255,0.06);
	flex-shrink: 0;
}
.aqua-panel__title { font-size: 16px; font-weight: 700; color: #fff; }
.aqua-panel__close {
	display: flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; border: none; background: transparent;
	color: rgba(255,255,255,0.6); cursor: pointer; border-radius: 8px;
}
.aqua-panel__close:hover { color: #fff; background: rgba(255,255,255,0.08); }
.aqua-panel__list {
	overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1;
	padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
}
.aqua-panel__loading { padding: 30px; text-align: center; color: rgba(255,255,255,0.5); }

/* Chapter panel search bar */
.aqua-panel__search {
	display: flex; align-items: center; gap: 8px;
	padding: 12px 16px;
	border-bottom: 1px solid rgba(255,255,255,0.06);
	flex-shrink: 0;
	color: rgba(255,255,255,0.4);
}
.aqua-panel__search input {
	flex: 1; background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
	padding: 9px 12px; color: #fff; font-size: 14px; outline: none;
}
.aqua-panel__search input::placeholder { color: rgba(255,255,255,0.35); }
.aqua-panel__sort {
	display: flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; flex-shrink: 0;
	background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
	border-radius: 10px; color: rgba(255,255,255,0.7); cursor: pointer;
}
.aqua-panel__sort:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* ── Settings panel ── */
.aqua-settings__body { padding: 18px 20px 28px; overflow-y: auto; }
.aqua-settings__group { margin-bottom: 22px; }
.aqua-settings__group--row { display: flex; align-items: center; justify-content: space-between; }
.aqua-settings__label {
	display: block; font-size: 12px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.06em;
	color: rgba(255,255,255,0.5); margin-bottom: 10px;
}
.aqua-settings__group--row .aqua-settings__label { margin-bottom: 0; }
.aqua-settings__label em { font-style: normal; color: #48CAE4; float: right; }

.aqua-settings__stepper { display: flex; align-items: center; gap: 8px; }
.aqua-settings__stepper button {
	width: 42px; height: 42px; border-radius: 10px;
	border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05);
	color: #fff; font-size: 20px; cursor: pointer; line-height: 1;
	display: flex; align-items: center; justify-content: center;
}
.aqua-settings__stepper button:hover { background: rgba(255,255,255,0.1); }
.aqua-settings__stepper #aqua-margin-value {
	flex: 1; text-align: center; font-size: 16px; font-weight: 700; color: #fff;
	background: rgba(255,255,255,0.05); border-radius: 10px; padding: 10px 0;
}
.aqua-settings__reset {
	width: auto !important; padding: 0 16px; font-size: 13px !important;
	font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
	color: rgba(255,255,255,0.6) !important;
}

.aqua-settings__slider {
	width: 100%; -webkit-appearance: none; appearance: none;
	height: 6px; border-radius: 999px; background: rgba(255,255,255,0.12); outline: none;
}
.aqua-settings__slider::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none;
	width: 20px; height: 20px; border-radius: 50%;
	background: #48CAE4; cursor: pointer; border: 2px solid #14161e;
}
.aqua-settings__slider::-moz-range-thumb {
	width: 20px; height: 20px; border-radius: 50%;
	background: #48CAE4; cursor: pointer; border: 2px solid #14161e;
}

.aqua-settings__seg { display: flex; gap: 8px; }
.aqua-seg__btn {
	flex: 1; padding: 12px; border-radius: 12px;
	border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04);
	color: rgba(255,255,255,0.6); font-size: 14px; font-weight: 600;
	cursor: pointer; transition: all 0.15s; font-family: inherit;
}
.aqua-seg__btn.is-active {
	background: rgba(72,202,228,0.15); border-color: rgba(72,202,228,0.5); color: #48CAE4;
}

/* Toggle switch */
.aqua-switch { position: relative; display: inline-block; width: 48px; height: 28px; }
.aqua-switch input { opacity: 0; width: 0; height: 0; }
.aqua-switch__slider {
	position: absolute; inset: 0; cursor: pointer;
	background: rgba(255,255,255,0.15); border-radius: 999px; transition: 0.2s;
}
.aqua-switch__slider:before {
	content: ""; position: absolute; height: 22px; width: 22px;
	left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: 0.2s;
}
.aqua-switch input:checked + .aqua-switch__slider { background: #48CAE4; }
.aqua-switch input:checked + .aqua-switch__slider:before { transform: translateX(20px); }

/* ── Help panel ── */
.aqua-help__body { padding: 12px 20px 28px; overflow-y: auto; }
.aqua-help__row {
	display: flex; align-items: center; justify-content: space-between;
	padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
	font-size: 14px; color: rgba(255,255,255,0.8);
}
.aqua-help__keys { display: flex; gap: 6px; }
.aqua-help__keys kbd {
	background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
	border-radius: 6px; padding: 3px 8px; font-size: 12px; color: #fff;
	font-family: ui-monospace, monospace; min-width: 20px; text-align: center;
}

/* Dim overlay */
#aqua-dim-overlay {
	position: fixed; inset: 0; background: #000;
	opacity: 0; pointer-events: none; z-index: 8000;
	transition: opacity 0.2s;
}



.aqua-chapter-panel__list {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	flex: 1;
	padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 64px);
}

/* Chapter list structure */
.aqua-chapter-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.aqua-chapter-list li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.aqua-chapter-list a {
	display: block;
	padding: 12px 20px;
	font-size: 14px;
	color: #e0e0e0 !important;
	text-decoration: none !important;
	transition: background 0.15s, color 0.15s;
}

.aqua-chapter-list a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: #FFD700 !important;
}

.aqua-chapter-list li.current a {
	color: #fff !important;
	background: #005F99;
	font-weight: 600;
}

/* Legacy item class for backwards compat */
.aqua-chapter-panel__item {
	display: flex;
	align-items: center;
	padding: 12px 20px;
	font-size: 14px;
	color: #e0e0e0 !important;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	transition: background 0.1s;
}
.aqua-chapter-panel__item:hover { background: rgba(255, 255, 255, 0.06); color: #48CAE4 !important; }
.aqua-chapter-panel__item.is-current { 
	color: #fff !important;
	background: #005F99;
	font-weight: 600;
}

/* ── End-of-chapter card ────────────────────────────────────── */
.aqua-eoc {
	max-width: 520px;
	margin: 40px auto 0;
	padding: 28px 24px;
	background: #1c1c1e;
	border-radius: 14px;
	text-align: center;
}

.aqua-eoc__series {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
	text-align: left;
}

.aqua-eoc__thumb {
	flex-shrink: 0;
	width: 80px;
	height: 112px;
	object-fit: cover;
	border-radius: 6px;
}

.aqua-eoc__meta { flex: 1; min-width: 0; }

.aqua-eoc__caught {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
	margin: 0 0 6px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.aqua-eoc__title {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
	margin-bottom: 4px;
}

.aqua-eoc__chapter { font-size: 12px; color: rgba(255, 255, 255, 0.4); }

.aqua-eoc__actions {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

.aqua-eoc__btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.15s, transform 0.1s;
}
.aqua-eoc__btn:hover { opacity: 0.82; transform: translateY(-1px); text-decoration: none; }
.aqua-eoc__btn--series { background: rgba(255, 255, 255, 0.13); color: #fff; }
.aqua-eoc__btn--home   { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.65); }
.aqua-eoc__btn--next   {
	width: 100%;
	justify-content: center;
	margin-top: 12px;
	background: #e63946;
	color: #fff;
}
.aqua-eoc__btn--next:hover { color: #fff; }

/* ── Tap to show controls hint (Asura-style) ────────────────── */
.aqua-tap-hint {
	position: fixed;
	bottom: 80px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(30, 30, 30, 0.85);
	color: #fff;
	padding: 10px 28px;
	border-radius: 24px;
	font-size: 14px;
	font-weight: 500;
	z-index: 99999;
	pointer-events: none;
	/* Continuous pulse — never stops until dismissed */
	animation: tapHintPulse 1.5s ease-in-out infinite;
	transition: opacity 0.5s ease;
}

.aqua-tap-hint.fade-out {
	opacity: 0;
	animation: none;
}

/* Glow pulses brightness up and down continuously */
@keyframes tapHintPulse {
	0% {
		box-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
		opacity: 0.7;
	}
	50% {
		box-shadow: 0 0 20px rgba(255, 255, 255, 0.5),
					0 0 40px rgba(255, 255, 255, 0.2);
		opacity: 1;
	}
	100% {
		box-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
		opacity: 0.7;
	}
}

/* ── Scroll to top button ───────────────────────────────────── */
.aqua-scroll-top {
	position: fixed !important;
	bottom: 70px !important;
	right: 24px !important;
	width: 42px !important;
	height: 42px !important;
	border-radius: 50% !important;
	background: #005F99 !important;
	color: #fff !important;
	border: none !important;
	cursor: pointer !important;
	z-index: 9998 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: 0 2px 12px rgba(72, 202, 228, 0.35) !important;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.15s ease;
	font-size: 0 !important;
	line-height: 0 !important;
	padding: 0 !important;
}

.aqua-scroll-top svg {
	display: block;
	flex-shrink: 0;
}

.aqua-scroll-top.visible {
	opacity: 1 !important;
	pointer-events: all !important;
}

.aqua-scroll-top:hover {
	transform: translateY(-2px);
	background: #0077bb !important;
	box-shadow: 0 4px 16px rgba(72, 202, 228, 0.5) !important;
}

/* ── Bottom chapter navigation (after last image) ───────────── */
.aqua-chapter-nav-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	max-width: 800px;
	margin: 20px auto 24px auto;
	padding: 0 20px;
}

.aqua-nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 28px;
	border-radius: 6px;
	background: #005F99;
	color: #fff !important;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.2s ease;
	border: none;
	cursor: pointer;
}

.aqua-nav-btn svg {
	flex-shrink: 0;
}

.aqua-nav-btn:hover {
	background: #0077bb;
	transform: translateY(-1px);
}

.aqua-nav-btn.disabled {
	background: #333 !important;
	opacity: 0.5;
	pointer-events: none;
	cursor: not-allowed;
}

@media (max-width: 480px) {
	.aqua-chapter-nav-bottom {
		padding: 0 12px;
	}
	
	.aqua-nav-btn {
		padding: 10px 20px;
		font-size: 14px;
	}
}

/* ── EOC card spacing fix ──────────────────────────────────── */
.aqua-eoc {
	margin-bottom: 12px !important;
}

/* ── Continue Reading Banner ────────────────────────────────── */
.aqua-continue-banner {
	position: fixed;
	bottom: 72px;
	left: 50%;
	transform: translateX(-50%);
	background: #005F99;
	color: #fff;
	padding: 10px 16px 10px 20px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	z-index: 99999;
	white-space: nowrap;
	box-shadow: 0 4px 20px rgba(72, 202, 228, 0.35);
	animation: bannerSlideUp 0.3s ease;
}

@keyframes bannerSlideUp {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

.aqua-continue-banner .continue-arrow {
	font-size: 18px;
	line-height: 1;
}

.aqua-continue-banner .continue-text {
	flex: 1;
}

.aqua-continue-banner .continue-close {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: #fff;
	font-size: 14px;
	cursor: pointer;
	padding: 2px 6px;
	border-radius: 4px;
	line-height: 1;
	transition: background 0.2s ease;
}

.aqua-continue-banner .continue-close:hover {
	background: rgba(255, 255, 255, 0.35);
}

.aqua-continue-banner__close svg {
	width: 14px;
	height: 14px;
}

@media (max-width: 480px) {
	.aqua-continue-banner {
		bottom: 70px;
		padding: 12px 16px;
	}
	
	.aqua-continue-banner__content {
		font-size: 14px;
	}
}

/* ── Comments section (below chapter images) ────────────────── */
.aqua-reader-page .aqua-reader-comments {
	display: block !important;
	max-width: 800px;
	margin: 12px auto 0 auto !important;
	padding: 16px !important;
	padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: #12121a;
}

/* Ensure all comment elements are visible and readable */
.aqua-reader-page .entry-comments,
.aqua-reader-page .comment-wrap,
.aqua-reader-page #comments,
.aqua-reader-page .wpd-thread-head,
.aqua-reader-page .wpd-comment,
.aqua-reader-page .wpd-comment-wrap {
	display: block !important;
	visibility: visible !important;
}

/* Ensure comment text is readable on the dark reader background.
   (dark-theme.css maps these globally; this re-asserts them inside the
   reader's #111 surface in case of specificity collisions.) */
.aqua-reader-page .aqua-reader-comments,
.aqua-reader-page .aqua-reader-comments p,
.aqua-reader-page .aqua-reader-comments .comment-text,
.aqua-reader-page .aqua-reader-comments .comment-content,
.aqua-reader-page .aqua-reader-comments .comment-author,
.aqua-reader-page .aqua-reader-comments .wpd-comment-text,
.aqua-reader-page .aqua-reader-comments li,
.aqua-reader-page .aqua-reader-comments span {
	color: #e0e0e0 !important;
}
.aqua-reader-page .aqua-reader-comments a { color: #48CAE4 !important; }
.aqua-reader-page .aqua-reader-comments input,
.aqua-reader-page .aqua-reader-comments textarea {
	background: #1a1d2e !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	color: #e0e0e0 !important;
}

/* ── Sticky ad: must clear the bottom bar ───────────────────── */
.aqua-reader-page .maai-ad--sticky { bottom: calc(56px + env(safe-area-inset-bottom, 0px)) !important; }

/* ── Top bar title link ─────────────────────────────────────── */
.aqua-reader-topbar__title-link {
	color: #fff;
	text-decoration: none;
}
.aqua-reader-topbar__title-link:hover {
	color: #48CAE4;
}

/* ── Responsive tweaks ──────────────────────────────────────── */
@media (min-width: 600px) {
	.aqua-reader-page .wp-manga-chapter-img { max-width: 900px; }
	.aqua-reader-bottombar__btn { flex: 0 0 90px; }
}

/* ══════════════════════════════════════════════════════════════
   FULL-WIDTH READING (edge-to-edge, no side/bottom gaps)
   Mobile: images fill viewport width; no white/black borders.
   ══════════════════════════════════════════════════════════════ */
.aqua-reader-page .reading-content,
.aqua-reader-page .read-container,
.aqua-reader-page .entry-content,
.aqua-reader-page .entry-content_wrap {
	max-width: 100% !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	background: #000 !important;
}

/* The chapter images — full width, no gaps, block-level (kills inline-gap black line) */
.aqua-reader-page .reading-content img,
.aqua-reader-page .wp-manga-chapter-img,
.aqua-reader-page .page-break img,
.aqua-reader-page .page-break > img,
.aqua-reader-page .text-left img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	vertical-align: top !important;  /* removes inline-image bottom gap (the black line) */
}

/* Kill the wrapper gaps that create the bottom black border between images */
.aqua-reader-page .page-break,
.aqua-reader-page .reading-content p,
.aqua-reader-page .reading-content div {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;   /* removes whitespace gaps between stacked images */
	font-size: 0 !important;
}

/* Body/page background black so any brief gap looks intentional, not white */
.aqua-reader-page,
.aqua-reader-page body,
.aqua-reader-page .site-content,
.aqua-reader-page #content,
.aqua-reader-page .c-page-content,
.aqua-reader-page .site-main {
	background: #000 !important;
}

/* Override the desktop max-width cap on large screens only */
@media (min-width: 900px) {
	.aqua-reader-page .reading-content img,
	.aqua-reader-page .wp-manga-chapter-img {
		max-width: 720px !important;   /* comfortable desktop reading column */
	}
}

/* ══ FIX: hide screen-reader-only chapter heading (was showing as duplicate title) ══ */
.aqua-reader-page .aqua-sr-only,
.aqua-reader-page #chapter-heading {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ══ FIX: force edge-to-edge images on mobile (kill any parent padding) ══ */
.aqua-reader-page .c-page-content,
.aqua-reader-page .reading-content-wrap,
.aqua-reader-page .container,
.aqua-reader-page .row,
.aqua-reader-page .col-12,
.aqua-reader-page [class*="col-"],
.aqua-reader-page .main-col,
.aqua-reader-page .main-col-inner,
.aqua-reader-page .c-blog__inner,
.aqua-reader-page .site-content .content-area {
	max-width: 100% !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

@media (max-width: 899px) {
	.aqua-reader-page .reading-content img,
	.aqua-reader-page .wp-manga-chapter-img,
	.aqua-reader-page .page-break img {
		width: 100vw !important;
		max-width: 100vw !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
	}
}

/* ── Auto-hide site header while reading (toggled by reader.js) ── */
body.aqua-reader-page .aqua-site-header {
	transition: transform 0.28s ease, background 0.2s ease, box-shadow 0.2s ease;
	will-change: transform;
}
body.aqua-reader-page .aqua-site-header.aqua-header-hidden {
	transform: translateY( calc( -100% - 50px ) );
	box-shadow: none;
}
