:root {
	--mf-primary: #3d7fca;
	--mf-primary-dark: #306caf;
	--mf-release-bg: #e3f5d4;
	--mf-link: #2b65a9;
	--mf-ink: #20242a;
	--mf-muted: #8e9197;
	--mf-border: #d7dbe0;
	--mf-reader-width: 900px;
}

html { scroll-behavior: smooth; }
body {
	background: #fff;
	color: var(--mf-ink);
	font: 14px/1.46 Arial, Helvetica, sans-serif;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--mf-link); text-decoration: none; }
a:hover { color: var(--mf-primary-dark); text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid #ffbc51; outline-offset: 3px; }
.mf-container { width: min(calc(100% - 30px), 1140px); margin-inline: auto; }
.mf-skip-link {
	position: absolute; left: 12px; top: -80px; z-index: 9999;
	padding: 8px 14px; color: #fff; background: #222;
}
.mf-skip-link:focus { top: 10px; }

/* Blue masthead and separate white desktop navigation, as in the references. */
.mf-topbar { height: 62px; background: var(--mf-primary); }
.mf-topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.mf-brand { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-size: 32px; font-weight: 900; line-height: 1; letter-spacing: -1.3px; white-space: nowrap; }
.mf-brand:hover { color: #fff; text-decoration: none; }
.mf-brand-mark { width: 37px; height: 37px; flex: none; }
.mf-brand-text { max-width: 310px; overflow: hidden; text-overflow: ellipsis; }
.mf-custom-logo { display: block; width: auto; max-width: 300px; height: 52px; object-fit: contain; }
.mf-social-links { display: flex; align-items: center; gap: 8px; }
.mf-social-links a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 4px; background: #cde3ff; color: var(--mf-primary-dark); }
.mf-social-links svg { width: 18px; height: 18px; fill: currentColor; }
.mf-navbar:not(.mf-navbar-reader) { position: relative; width: min(calc(100% - 30px), 1140px); height: 50px; margin: 0 auto; padding: 0; border: 1px solid #e0e1e4; border-top: 0; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .06); }
.mf-navbar:not(.mf-navbar-reader) .mf-container { width: 100%; padding-inline: 30px; }
.mf-navbar .nav-link, .mf-extra-menu > li > a { display: block; padding: 14px 15px !important; color: #555b62; font-size: 14px; white-space: nowrap; }
.mf-navbar:not(.mf-navbar-reader) .nav-link:hover, .mf-navbar:not(.mf-navbar-reader) .nav-link.active, .mf-extra-menu > li > a:hover { background: #f8f8fa; color: #2a3035; text-decoration: none; }
.mf-extra-menu { display: contents; margin: 0; padding: 0; list-style: none; }
.mf-extra-menu > li { display: inline-block; }
.mf-nav-right { margin-left: auto; }
.mf-navbar .navbar-toggler { margin-left: auto; padding: 5px 8px; border-color: var(--mf-border); }
.mf-manga-dropdown { min-width: 188px; max-width: min(310px, calc(100vw - 30px)); max-height: min(73vh, 560px); overflow-y: auto; padding: 0; border: 0; border-radius: 0 0 4px 4px; background: var(--mf-primary-dark); box-shadow: 0 7px 12px rgba(0, 0, 0, .15); }
.mf-manga-dropdown .dropdown-item { overflow: hidden; padding: 6px 20px; color: #dceaff; font-size: 14px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.mf-manga-dropdown .dropdown-item:hover, .mf-manga-dropdown .dropdown-item:focus { background: #285d99; color: #fff; text-decoration: none; }
.mf-manga-dropdown .dropdown-item-text { color: #cbe0fa; }
.mf-manga-dropdown .dropdown-divider { border-color: rgba(255, 255, 255, .2); }

/* All three listing screens keep the spacious 1140px / 8+4 column layout. */
.mf-content { min-height: 530px; padding-top: 128px; }
.mf-two-column { --bs-gutter-x: 30px; }
.mf-main-column { min-width: 0; }
.mf-sidebar-heading, .mf-section-header h1, .mf-post-heading h1, .mf-post-heading h2 { margin: 0; font-weight: 700; }
.mf-sidebar-heading { margin: -1px 0 8px; font-size: 18px; }
.mf-release-sidebar { padding-top: 0; }
.mf-releases { background: var(--mf-release-bg); }
.mf-release-item { display: flex; justify-content: space-between; align-items: center; gap: 7px; min-height: 45px; padding: 6px 5px; border-bottom: 1px solid rgba(64, 94, 50, .16); }
.mf-release-item:last-child { border-bottom: 0; }
.mf-release-content { min-width: 0; line-height: 1.1; }
.mf-release-link { display: block; overflow: hidden; color: #101010; text-overflow: ellipsis; white-space: nowrap; }
.mf-release-link:hover { color: #101010; }
.mf-star { margin-right: 4px; color: #4d8229; font-size: 15px; }
.mf-release-link strong { font-weight: 800; }
.mf-release-subtitle { display: block; margin-top: 2px; overflow: hidden; color: #859277; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.mf-release-date { flex: none; color: #8a9880; font-size: 13px; white-space: nowrap; }
.mf-release-empty { margin: 0; padding: 14px; color: #66855b; }
.mf-release-clean .mf-releases { border: 1px solid var(--mf-border); background: #fff; }
.mf-release-clean .mf-release-item { border-bottom-color: var(--mf-border); }
.mf-release-content .mf-home-meta { margin-top: 3px; font-size: 11px; }
.mf-release-content .mf-home-meta .mf-meta-author { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mf-releases-full { margin-top: 30px; }
.mf-releases-full .mf-release-sidebar { padding-top: 15px; border-top: 1px solid var(--mf-border); }

.mf-section-header h1 { color: #272d34; font-size: 28px; line-height: 1.2; letter-spacing: -.3px; }
.mf-section-header p { max-width: 730px; margin: 10px 0 19px; line-height: 1.38; }
.mf-section-header + .table-responsive { margin-top: 11px; }
.mf-directory-table, .mf-chapter-table { width: 100%; margin: 0; border-top: 1px solid var(--mf-border); color: #1d2633; font-size: 14px; }
.mf-directory-table > :not(caption) > * > *, .mf-chapter-table > :not(caption) > * > * { padding: 9px 9px; border-bottom: 1px solid var(--mf-border); }
.mf-directory-table > thead > tr > *, .mf-chapter-table > thead > tr > * { padding-block: 10px; color: #18202b; font-size: 13px; font-weight: 700; }
.mf-directory-table > tbody > tr > *, .mf-chapter-table > tbody > tr > * { vertical-align: middle; }
.mf-directory-table > tbody > tr:last-child > *, .mf-chapter-table > tbody > tr:last-child > * { border-bottom: 0; }
.mf-directory-table th:first-child, .mf-directory-table td:first-child { width: 40%; }
.mf-chapter-table th:first-child, .mf-chapter-table td:first-child { width: 70%; }
.mf-series-name { font-weight: 700; }
.mf-chapter-table { border-top: 0; }
.mf-series-header { padding-bottom: 9px; border-bottom: 1px solid var(--mf-border); }
.mf-series-header h1 { font-size: 27px; }
.mf-series-notice { margin-top: 19px; line-height: 1.45; }
.mf-series-notice strong { font-size: 14px; }
.mf-series-notice p { margin: 0; }
.mf-manga-details { display: flex; gap: 20px; margin: 14px 0 24px; }
.mf-detail-cover { flex: 0 0 145px; }
.mf-detail-cover img { width: 100%; height: auto; }
.mf-detail-content p { margin-bottom: 8px; }
.mf-pagination { margin-top: 22px; }
.mf-pagination .page-link { color: var(--mf-link); }
.mf-pagination .page-item.active .page-link { border-color: var(--mf-primary); background: var(--mf-primary); color: #fff; }

.mf-featured { margin-bottom: 19px; }
.mf-home-block:not(.mf-featured) { margin-bottom: 28px; }
.mf-home-hero { padding: 25px 28px; border-left: 5px solid var(--mf-primary); background: #f3f8ff; }
.mf-home-hero h2, .mf-home-heading h2 { margin: 0 0 8px; font-size: 26px; font-weight: 700; }
.mf-home-hero p { max-width: 650px; margin-bottom: 15px; }
.mf-home-hero .btn { border-color: var(--mf-primary); background: var(--mf-primary); }
.mf-home-hero-centered { padding: 34px 28px; border-left: 0; border-top: 5px solid var(--mf-primary); text-align: center; }
.mf-home-hero-centered p { margin-inline: auto; }
.mf-home-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.mf-home-page-content { margin-bottom: 25px; }
.mf-home-page-content img { max-width: 100%; height: auto; }
.mf-home-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; margin-top: 4px; color: var(--mf-muted); font-size: 12px; line-height: 1.3; }
.mf-home-meta > :not(:first-child)::before { content: '·'; margin-right: 8px; }
.mf-home-meta .mf-meta-views { white-space: nowrap; }
.mf-feature-caption .mf-home-meta { margin-top: 3px; color: #e4e4e4; font-size: 10px; }
.mf-feature-card { position: relative; display: block; overflow: hidden; height: 165px; background: #ededed; box-shadow: 0 2px 6px rgba(0, 0, 0, .16); }
.mf-feature-card:hover { text-decoration: none; }
.mf-feature-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(100%); transition: transform .25s ease; }
.mf-feature-card:hover img { transform: scale(1.04); }
.mf-feature-placeholder { display: grid; place-items: center; height: 100%; color: #939ba4; font-size: 60px; font-weight: 800; }
.mf-feature-caption { position: absolute; right: 0; bottom: 0; left: 0; display: block; padding: 3px 6px 4px; background: rgba(0, 0, 0, .82); color: #e9ffba; line-height: 1.12; }
.mf-feature-caption strong { display: block; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.mf-feature-caption small { display: block; overflow: hidden; margin-top: 2px; color: #fff; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.mf-cover-tile { height: 100%; padding-bottom: 12px; border: 1px solid var(--mf-border); background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .07); }
.mf-cover-art { display: block; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; background: #ededed; }
.mf-cover-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mf-cover-placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: #eff2f4; color: #9aa5ae; font-size: 32px; font-weight: 700; }
.mf-cover-tile h3, .mf-cover-tile small, .mf-cover-tile .mf-home-meta { margin-inline: 12px; }
.mf-cover-tile h3 { margin-top: 10px; margin-bottom: 3px; font-size: 16px; font-weight: 700; }
.mf-cover-tile small { display: block; font-size: 12px; }
.mf-manga-list, .mf-directory-list, .mf-post-list { margin: 0; padding: 0; list-style: none; }
.mf-manga-list li, .mf-post-list li { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--mf-border); }
.mf-manga-list li > div, .mf-post-list li > div { min-width: 0; }
.mf-manga-list-image { display: block; flex: 0 0 70px; height: 92px; overflow: hidden; }
.mf-manga-list-image img { width: 100%; height: 100%; object-fit: cover; }
.mf-manga-list h3 { margin: 2px 0 5px; font-size: 17px; font-weight: 700; }
.mf-manga-list-chapter { font-size: 13px; }
.mf-directory-list li { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px; border-bottom: 1px solid var(--mf-border); }
.mf-directory-list li:nth-child(even) { background: #f7f8fa; }
.mf-directory-card { height: 100%; padding: 15px; border: 1px solid var(--mf-border); background: #f9fafc; }
.mf-directory-card h3 { margin-bottom: 7px; font-size: 17px; }
.mf-directory-card p { margin: 0; font-size: 13px; }
.mf-blog-entry { margin-bottom: 26px; }
.mf-post-card { height: 100%; border: 1px solid var(--mf-border); background: #fff; }
.mf-post-card-image { display: block; height: 175px; overflow: hidden; background: #eff2f4; }
.mf-post-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mf-post-placeholder { display: grid; height: 100%; place-items: center; color: #9aa5ae; font-size: 38px; font-weight: 700; }
.mf-post-card-body { padding: 14px; }
.mf-post-card h2 { margin: 0 0 7px; font-size: 19px; line-height: 1.25; }
.mf-post-card p { margin: 12px 0 8px; }
.mf-post-list-image { display: block; flex: 0 0 110px; height: 90px; overflow: hidden; }
.mf-post-list-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mf-post-list h2 { margin: 0 0 4px; font-size: 18px; line-height: 1.3; }
.mf-post-list p { margin: 8px 0 0; }
.mf-post-heading { margin: 0 0 17px; padding-left: 9px; border-left: 5px solid var(--mf-border); }
.mf-post-heading h1, .mf-post-heading h2 { color: #13171b; font-size: 26px; line-height: 1.2; letter-spacing: -.5px; }
.mf-post-heading h1 a, .mf-post-heading h2 a { color: inherit; }
.mf-post-meta { color: var(--mf-muted); line-height: 1.15; }
.mf-post-meta a { color: #262626; }
.mf-post-excerpt { line-height: 1.45; }
.mf-post-excerpt p { margin: 0 0 12px; }
.mf-read-more { display: inline-block; font-weight: 600; }
.mf-post-body { font-size: 15px; line-height: 1.6; }
.mf-post-body img { max-width: 100%; height: auto; }
.mf-comments { margin-top: 48px; }
/* Conversation layout: pill composer, quiet blue tools and nested reply rail. */
.mf-conversation { --mf-comment-blue: #1259ad; --mf-comment-ink: #142436; width: 100%; padding: 28px clamp(16px, 3.5vw, 34px); border: 1px solid #e8eef9; border-radius: 14px; background: #f7f9ff; color: var(--mf-comment-ink); font-size: 14px; }
.mf-reader-main .mf-conversation { max-width: min(100% - 30px, 950px); margin: 54px auto 72px; }
.mf-conversation-heading { margin: 0 0 14px; color: #324156; font-size: 16px; font-weight: 600; }
.mf-comment-join { display: block; width: 100%; padding: 12px 18px; border: 1px solid #8796ad; border-radius: 999px; background: #eef3ff; color: #5b6880; line-height: 1.25; text-decoration: none; }
.mf-comment-join:hover, .mf-comment-join:focus-visible { border-color: var(--mf-comment-blue); background: #e7efff; color: var(--mf-comment-blue); text-decoration: none; }
.mf-conversation-tools { margin: 14px 0 22px; }
.mf-comment-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--mf-comment-blue); }
.mf-comment-filter label { margin-right: 3px; font-size: 12px; }
.mf-comment-filter select { max-width: 125px; padding: 4px 25px 4px 3px; border: 0; background-color: transparent; color: var(--mf-comment-blue); font-size: 13px; font-weight: 600; cursor: pointer; }
.mf-comment-search-toggle { margin-left: 8px; padding: 8px 16px; border: 1px solid #d9e0ee; border-radius: 999px; background: #fff; color: var(--mf-comment-blue); white-space: nowrap; }
.mf-comment-search-toggle:hover, .mf-comment-search-toggle:focus-visible { border-color: var(--mf-comment-blue); }
.mf-comment-search-toggle span { margin-right: 4px; font-size: 18px; vertical-align: -1px; }
.mf-comment-search-input { min-width: 155px; max-width: 260px; padding: 8px 13px; border: 1px solid #c7d1e2; border-radius: 999px; outline-color: var(--mf-comment-blue); background: #fff; }
.mf-comment-filter-submit { padding: 7px 13px; border: 1px solid #c7d1e2; border-radius: 999px; background: #fff; color: var(--mf-comment-blue); }
.mf-comments-enhanced .mf-comment-search-input:not(.is-open), .mf-comments-enhanced .mf-comment-filter-submit { display: none; }
.mf-comment-feedback { min-height: 0; margin: 0; color: #276e42; }
.mf-comment-feedback:not(:empty) { margin: 0 0 12px; }
.mf-comment-feedback.is-error { color: #b03f39; }
.mf-conversation-list, .mf-comment-children { margin: 0; padding: 0; list-style: none; }
.mf-conversation-list[aria-busy="true"] { opacity: .55; }
.mf-conversation-item { position: relative; margin: 0 0 18px; }
.mf-conversation-row { display: flex; align-items: flex-start; gap: 10px; }
.mf-comment-toggle, .mf-comment-toggle-placeholder { flex: none; width: 18px; height: 18px; margin-top: 10px; padding: 0; border: 1.5px solid #425a75; border-radius: 50%; background: #fff; color: #153758; font-size: 14px; font-weight: 700; line-height: 14px; text-align: center; }
.mf-comment-toggle-placeholder { border-color: transparent; background: transparent; }
.mf-comment-avatar { flex: none; width: 36px; height: 36px; }
.mf-comment-avatar img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.mf-comment-body { min-width: 0; flex: 1; padding-top: 2px; }
.mf-comment-byline { display: flex; flex-wrap: wrap; gap: 4px; align-items: baseline; color: var(--mf-comment-blue); font-size: 12px; }
.mf-comment-byline strong { overflow-wrap: anywhere; color: #17293d; font-size: 13px; }
.mf-comment-byline a { color: var(--mf-comment-blue); text-decoration: none; }
.mf-comment-byline a:hover { text-decoration: underline; }
.mf-mod-badge { padding: 1px 5px; border-radius: 5px; background: #dbf4e4; color: #137841; font-size: 10px; font-weight: 700; }
.mf-comment-text { margin: 6px 0; line-height: 1.6; overflow-wrap: anywhere; }
.mf-comment-text p { margin: 0 0 8px; }
.mf-comment-text img { max-width: 100%; height: auto; }
.mf-comment-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 6px; }
.mf-comment-actions .mf-comment-vote { display: inline-flex; min-width: 18px; height: 22px; align-items: center; justify-content: center; margin-right: -13px; padding: 0; border: 0; background: transparent; color: #556e86; font-size: 20px; line-height: 1; text-decoration: none; }
.mf-comment-actions .mf-comment-vote.is-active { color: var(--mf-comment-blue); font-weight: 700; }
.mf-comment-actions .mf-comment-vote:disabled { opacity: .5; }
.mf-comment-score { min-width: 16px; color: #526c83; font-size: 12px; text-align: center; }
.mf-comment-actions a { color: #496179; font-size: 12px; text-decoration: none; }
.mf-comment-actions a:hover { color: var(--mf-comment-blue); text-decoration: underline; }
.mf-comment-actions span { margin-right: 2px; font-size: 16px; }
.mf-comment-children { position: relative; margin: 10px 0 0 26px; padding-left: 5px; border-left: 1px solid #c8d8ee; }
.mf-comment-children > .mf-conversation-item { margin-bottom: 15px; }
.mf-comment-children[hidden] { display: none; }
.mf-search-context { margin: 3px 0; color: #677c94; font-size: 11px; }
.mf-comments-empty { padding: 10px 0; color: #667487; }
.mf-comment-more { display: inline-block; margin: 4px 0 12px 28px; padding: 8px 14px; border: 1px solid #ccd8e9; border-radius: 999px; background: #fff; color: var(--mf-comment-blue); text-decoration: none; }
.mf-comment-more.is-hidden { display: none; }
.mf-comment-composer { margin: 28px 0 8px 28px; padding: 18px; border: 1px solid #dce6f6; border-radius: 14px; background: #fff; }
.mf-comments-enhanced .mf-comment-composer:not(.is-open) { display: none; }
.mf-comment-composer .comment-reply-title { margin: 0 0 12px; font-size: 17px; }
.mf-comment-composer label { display: block; margin-bottom: 5px; font-size: 12px; font-weight: 600; }
.mf-comment-composer input[type="text"], .mf-comment-composer input[type="email"], .mf-comment-composer textarea { width: 100%; padding: 8px 11px; border: 1px solid #cbd7e9; border-radius: 9px; outline-color: var(--mf-comment-blue); }
.mf-comment-composer textarea { min-height: 105px; resize: vertical; }
.mf-comment-composer .mf-comment-guest-field { display: inline-block; width: min(48%, 260px); margin-right: 2%; vertical-align: top; }
.mf-comment-composer .mf-comment-cookies { display: flex; gap: 8px; align-items: center; }
.mf-comment-composer .mf-comment-cookies label { margin: 0; font-weight: 400; }
.mf-comment-reply-target { margin: 0 0 8px; color: var(--mf-comment-blue); font-weight: 600; }
.mf-comment-reply-target[hidden] { display: none; }
.mf-submit-comment { padding: 8px 18px; border: 1px solid var(--mf-comment-blue); border-radius: 999px; background: var(--mf-comment-blue); color: #fff; font-weight: 600; }
.mf-submit-comment:hover { background: #084488; }
.mf-submit-comment:disabled { opacity: .6; cursor: wait; }
.mf-comments-closed { margin: 18px 0; color: #69788b; }
@media (max-width: 600px) { .mf-conversation { padding: 18px 13px; } .mf-reader-main .mf-conversation { max-width: calc(100% - 14px); } .mf-comment-children { margin-left: 12px; padding-left: 5px; } .mf-comment-avatar, .mf-comment-avatar img { width: 30px; height: 30px; } .mf-comment-composer { margin-left: 0; } .mf-comment-composer .mf-comment-guest-field { display: block; width: 100%; } .mf-comment-filter { gap: 5px; } .mf-comment-search-toggle { margin-left: 0; } }
.mf-search-form { display: flex; gap: 8px; }
.mf-empty-state { padding: 38px 0; }
.mf-empty-state h1 { font-size: 28px; }
.mf-empty-state .btn, .mf-reader-empty .btn { background: var(--mf-primary); border-color: var(--mf-primary); }

/* Reader: slim blue navbar, broad white margins and uncompressed page images. */
.mf-navbar-reader { position: relative; min-height: 40px; padding: 0; background: var(--mf-primary); box-shadow: 0 2px 6px rgba(0, 0, 0, .1); }
.mf-navbar-reader .container-fluid { padding-inline: 6px; }
.mf-navbar-reader .nav-link { padding: 10px 13px !important; color: #deecff; }
.mf-navbar-reader .nav-link:hover, .mf-navbar-reader .nav-link.active { background: rgba(0, 0, 0, .1); color: #fff; text-decoration: none; }
.mf-nav-reader-brand .mf-brand { margin-right: 6px; }
.mf-nav-reader-brand .mf-brand-mark { width: 31px; height: 31px; }
.mf-brand-compact .mf-brand-text { display: none; }
.mf-navbar-reader .mf-custom-logo { max-width: 90px; height: 33px; }
.mf-navbar-reader .mf-manga-dropdown { margin-top: 0; }
.mf-reader-main { min-height: 70vh; padding-top: 125px; }
.mf-reader-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; width: min(calc(100% - 30px), var(--mf-reader-width)); margin: 0 auto 12px; color: #626e76; }
.mf-reader-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.mf-reader-actions { display: flex; gap: 6px; }
.mf-reader-actions .btn-primary, .mf-reader-bottom .btn-primary { border-color: var(--mf-primary); background: var(--mf-primary); }
.mf-pages { width: min(100%, var(--mf-reader-width)); margin: 0 auto; }
.mf-page { margin: 0; line-height: 0; }
.mf-page img { display: block; width: 100%; height: auto; margin: 0 auto; border: 1px solid #d3d6da; border-bottom: 0; background: #fff; }
.mf-page:last-child img { border-bottom: 1px solid #d3d6da; }
.mf-page-separated .mf-page { margin-bottom: 18px; }
.mf-page-separated .mf-page img { border-bottom: 1px solid #d3d6da; }
.mf-reader-empty { width: min(calc(100% - 30px), var(--mf-reader-width)); margin: 0 auto; padding: 50px 0; text-align: center; }
.mf-reader-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; width: min(calc(100% - 30px), var(--mf-reader-width)); margin: 30px auto 10px; }
.mf-reader-bottom > div { display: flex; gap: 7px; flex-wrap: wrap; }
.mf-footer { margin-top: 30px; padding: 22px 0 30px; border-top: 1px solid #ececec; }
.mf-footer-top { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.mf-footer-menu { display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.mf-footer-menu li::before { content: '|'; margin-right: 7px; color: #a0a0a0; }
.mf-footer-note { margin: 4px 0 0; color: #8b8f94; font-size: 12px; }
.mf-reader-page .mf-footer { margin-top: 40px; }

@media (max-width: 991px) {
	.mf-content { padding-top: 65px; }
	.mf-side-column { margin-top: 36px; }
	.mf-side-left { margin-top: 0; margin-bottom: 28px; }
	.mf-release-sidebar { margin-bottom: 25px; }
	.mf-navbar:not(.mf-navbar-reader) { height: auto; min-height: 50px; }
	.mf-navbar:not(.mf-navbar-reader) .mf-container { padding-inline: 15px; }
	.mf-navbar .navbar-collapse { position: absolute; top: 100%; right: 0; left: 0; z-index: 20; border: 1px solid #ddd; background: #fff; box-shadow: 0 5px 10px rgba(0, 0, 0, .12); }
	.mf-navbar-reader .navbar-collapse { border: 0; background: var(--mf-primary); }
	.mf-navbar .nav-link, .mf-extra-menu > li > a { padding: 10px 15px !important; }
	.mf-extra-menu { display: block; }
	.mf-extra-menu > li { display: block; }
	.mf-nav-right { margin-left: 0; border-top: 1px solid #ddd; }
	.mf-manga-dropdown { position: static !important; width: 100%; max-width: none; border-radius: 0; box-shadow: none; }
	.mf-reader-main { padding-top: 54px; }
}

@media (min-width: 992px) {
	.mf-releases-full .mf-releases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 15px; }
}

@media (max-width: 575px) {
	.mf-container { width: min(calc(100% - 24px), 1140px); }
	.mf-topbar { height: 54px; }
	.mf-brand { font-size: 23px; }
	.mf-brand-mark { width: 30px; height: 30px; }
	.mf-custom-logo { max-width: 220px; height: 42px; }
	.mf-content { padding-top: 40px; }
	.mf-section-header h1 { font-size: 25px; }
	.mf-feature-card { height: 145px; }
	.mf-directory-table, .mf-chapter-table { min-width: 430px; }
	.mf-reader-main { padding-top: 26px; }
	.mf-reader-toolbar, .mf-reader-bottom { padding-inline: 12px; }
	.mf-reader-toolbar { margin-bottom: 10px; }
	.mf-reader-actions { width: 100%; }
	.mf-reader-actions .btn { flex: 1; }
	.mf-page img { border-right: 0; border-left: 0; }
	.mf-release-item { min-height: 48px; }
	.mf-manga-details { flex-direction: column; }
	.mf-detail-cover { max-width: 165px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.mf-feature-card img { transition: none; }
}
