/* Original component styles retain scoped-selector precedence over global theme selectors. */

.comic-tag-links[class] { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; max-width: 100%; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; white-space: normal; color: inherit; vertical-align: middle; font-size: inherit; line-height: 1.6; }
.comic-tag-links > a { display: inline-flex; align-items: center; min-height: 24px; max-width: 100%; color: inherit; font: inherit; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.comic-tag-links > a:hover { color: var(--theme-red, #ac001e); }
.comic-tag-links > a:focus-visible { outline: 2px solid var(--theme-red, #ac001e); outline-offset: 3px; border-radius: 3px; }
@media (max-width: 760px) { .comic-tag-links[class] { font-size: 12px; } .comic-tag-links > a { min-height: 28px; } }


.share-actions{display:flex;gap:10px;flex-wrap:wrap}.share-actions button{min-height:42px;padding:0 18px;border:1px solid #e9cfd5;border-radius:999px;color:#9e1230;background:#fff;font:inherit;font-weight:800;cursor:pointer}.share-actions button:first-child{color:#fff;border-color:var(--theme-red);background:var(--theme-red)}

@media(max-width:760px){
 .mobile-comic-detail .mcd-topbar>a.hlgmh-back-control{display:grid;width:40px;height:40px;min-width:40px;min-height:40px;place-items:center;border:0;border-radius:50%;color:#fff;background:rgba(0,0,0,.2)}
 .mcd-tags .comic-tag-links>a{padding:2px 12px;border-radius:999px;background:#ffe9e7}
 .mobile-category-more-genres summary>.material-symbols-outlined,.mobile-category-advanced summary>.material-symbols-outlined{font-size:18px}
 .mobile-category-advanced summary>.material-symbols-outlined{flex:0 0 18px;width:18px;max-width:18px;overflow-wrap:normal}
 .mobile-category-more-genres[open] summary>.material-symbols-outlined,.mobile-category-advanced[open] summary>.material-symbols-outlined{transform:rotate(180deg)}
}

@media(max-width:760px){.mpr-topbar svg,.mpr-main svg,.mpr-bottom svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mpr-tools svg{width:17px;height:17px}.mpr-bottom svg{width:18px;height:18px}.mpr-bottom a.active svg{stroke-width:2.1}}
@media(max-width:760px){.mcd-bottom a>.material-symbols-outlined{font-size:20px}.mrank-bottom a>.material-symbols-outlined,.mupdate-bottom a>.material-symbols-outlined{font-size:21px}}

.df-profile-password-control{display:flex;align-items:center;position:relative}.df-profile-password-control input{width:100%;padding-right:46px}.df-profile-password-control button{position:absolute;right:10px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;background:transparent;color:#91797e;cursor:pointer}.df-profile-password-control svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.df-profile-form [data-form-message]:empty{display:none}

/* Original discovery, sharing and citation component styles. */

.seo-landing { padding: 28px 20px 68px; }
.seo-landing-breadcrumb { display: flex; gap: 8px; align-items: center; margin-bottom: 18px; color: #8a7479; font-size: 14px; }
.seo-landing-breadcrumb a { color: #6d575c; }.seo-landing-breadcrumb em { overflow: hidden; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.seo-landing-hero { padding: clamp(28px, 5vw, 58px); border-radius: 26px; color: #fff; background: linear-gradient(130deg, var(--landing-accent), #29171b 78%); box-shadow: 0 22px 55px color-mix(in srgb, var(--landing-accent) 24%, transparent); }
.seo-landing-hero p { margin: 0 0 10px; font-weight: 900; letter-spacing: .1em; opacity: .82; }.seo-landing-hero h1 { margin: 0; font-size: clamp(32px, 5vw, 56px); }.seo-landing-hero strong { display: block; max-width: 820px; margin-top: 16px; font-size: 18px; line-height: 1.8; }.seo-landing-hero small { display: block; margin-top: 22px; opacity: .72; }
.seo-landing-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }.seo-landing-tags .comic-tag-links > a { color: inherit; text-decoration: underline; text-underline-offset: 3px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; background: rgba(255,255,255,.12); }
.seo-landing-guide { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin: 28px 0 36px; }.seo-landing-guide article { padding: 24px; border: 1px solid #f0dfe3; border-radius: 18px; background: #fff; }.seo-landing-guide h2 { margin: 0 0 10px; font-size: 20px; }.seo-landing-guide p,.seo-landing-guide li { color: #715f63; line-height: 1.8; }.seo-landing-guide ul { margin: 0; padding-left: 20px; }
.seo-landing-results > header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }.seo-landing-results h2 { margin: 0; font-size: 28px; }.seo-landing-results header p { margin: 6px 0 0; color: #826f73; }.seo-landing-results header a { color: var(--landing-accent); font-weight: 900; }
.seo-landing-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 16px; }.seo-landing-grid article { min-width: 0; }.seo-landing-cover { position: relative; display: block; overflow: hidden; aspect-ratio: 3/4; border-radius: 14px; background: #f4edef; }.seo-landing-cover img { width: 100%; height: 100%; object-fit: cover; }.seo-landing-cover b { position: absolute; top: 8px; left: 8px; padding: 4px 8px; border-radius: 999px; color: #fff; background: var(--landing-accent); }.seo-landing-grid h3 { margin: 10px 0 4px; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }.seo-landing-grid p,.seo-landing-grid small { display: block; margin: 0; overflow: hidden; color: #806d72; text-overflow: ellipsis; white-space: nowrap; }.seo-landing-grid small { margin-top: 4px; }
.seo-landing-faq { margin-top: 48px; padding: 30px; border-radius: 22px; background: #fff7f8; }.seo-landing-faq > header h2 { margin: 0; }.seo-landing-faq > header p { margin: 6px 0 20px; color: #806b70; }.seo-landing-faq > div { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.seo-landing-faq article { padding: 20px; border: 1px solid #f0dce1; border-radius: 14px; background: #fff; }.seo-landing-faq h3 { margin: 0 0 8px; font-size: 17px; }.seo-landing-faq article p { margin: 0; color: #725f64; line-height: 1.75; }
.seo-landing-more { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }.seo-landing-more a { padding: 10px 18px; border: 1px solid #ead8dc; border-radius: 999px; color: #5f4b50; background: #fff; }
@media (max-width: 980px) { .seo-landing-guide { grid-template-columns: 1fr; }.seo-landing-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 620px) { .seo-landing { padding: 16px 14px 48px; }.seo-landing-hero { padding: 28px 22px; border-radius: 20px; }.seo-landing-hero strong { font-size: 15px; }.seo-landing-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }.seo-landing-results > header { align-items: start; }.seo-landing-results header p { display: none; }.seo-landing-faq { padding: 22px 16px; }.seo-landing-faq > div { grid-template-columns: 1fr; } }


.citation-snippet{padding:18px;border:1px solid #eee2e5;border-radius:14px;background:#fff}.citation-snippet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.citation-snippet-head h3{margin:0;font-size:17px}.citation-snippet-head p{margin:6px 0 0;color:#806d72;font-size:13px;line-height:1.6}.citation-snippet-head>a{flex:none;color:var(--theme-red);font-weight:800}.citation-snippet-code{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:12px}.citation-snippet-code code{overflow:auto;padding:11px 12px;border-radius:9px;color:#553f45;background:#f8f5f6;font-size:12px;white-space:nowrap}.citation-snippet-code button{min-width:112px;border:1px solid #e9cfd5;border-radius:9px;color:#9e1230;background:#fff;font:inherit;font-size:13px;font-weight:800;cursor:pointer}@media(max-width:620px){.citation-snippet-head{display:block}.citation-snippet-head>a{display:inline-block;margin-top:10px}.citation-snippet-code{grid-template-columns:1fr}.citation-snippet-code button{min-height:40px}}


.discover-method{width:min(1120px,calc(100% - 32px));margin:0 auto 52px;padding:24px 26px;border:1px solid #e6e8eb;border-radius:18px;background:#fff}.discover-method h2{margin:0}.discover-method p{color:#68727c;line-height:1.8}.discover-method a{color:var(--theme-red);font-weight:900}

.collection-citation{width:min(1180px,calc(100% - 40px));margin:-34px auto 60px;padding:24px;border:1px solid #eee2e5;border-radius:18px;background:#fff}.collection-citation h2{margin:0;font-size:22px}.collection-citation>p{margin:8px 0 16px;color:#806d72;line-height:1.7}.collection-citation .share-actions{margin-bottom:14px}.collection-media-link a{color:var(--theme-red);font-weight:800}@media(max-width:620px){.collection-citation{width:calc(100% - 28px);margin:-20px auto 42px;padding:18px}.collection-citation h2{font-size:19px}}
.collection-share{width:min(1180px,calc(100% - 40px));margin:-34px auto 60px}@media(max-width:620px){.collection-share{width:calc(100% - 28px);margin:-20px auto 42px}}
.category-cover>.comic-tag-links.category-status-badge{padding:0 8px;border-radius:999px;color:#fff;background:var(--theme-red,#ac001e);font-size:11px}.mobile-category-cover>.comic-tag-links.secondary{padding:0 7px;border-radius:999px;color:#fff;background:#5b5d74;font-size:9px}.med-booklist-cover>.comic-tag-links.med-booklist-status{padding:0 6px;border-radius:999px;color:#fff;background:#ac001e;font-size:10px}

@media(max-width:760px){.mpr-bottom a>.material-symbols-outlined{font-size:21px}}

/* Update timeline: preserve the original card geometry and real-time captions. */
.update-card-cover>a.tagged-cover-link{display:block;height:100%}.update-title-row time{white-space:nowrap}.update-pagination a.disabled{pointer-events:none;opacity:.45}
@media(max-width:760px){.mupdate-topbar>nav{display:flex;align-items:center;gap:14px}.mupdate-week-menu{position:relative}.mupdate-week-menu>summary{cursor:pointer;list-style:none;font-size:12px;color:#ac001e;min-height:32px;display:flex;align-items:center}.mupdate-week-menu>summary::-webkit-details-marker{display:none}.mupdate-week-menu .mupdate-weekdays{position:absolute;right:0;top:32px;z-index:120;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:260px;max-width:calc(100vw - 32px);margin:0;padding:10px;border:1px solid #efd6d3;border-radius:12px;background:#fff;box-shadow:0 8px 25px #35112622}.mupdate-week-menu:not([open]) .mupdate-weekdays{display:none}.mupdate-card-bottom time{white-space:nowrap}.mupdate-pagination{scroll-margin-bottom:80px}.mupdate-cover{flex-shrink:0}}

.update-meta-line>.comic-tag-links{flex-shrink:0;max-width:100%;overflow:visible;white-space:normal}.update-meta-line>.comic-tag-links>a{white-space:nowrap;overflow-wrap:normal}

.update-card-cover>.comic-tag-links.update-status-filter{position:absolute;left:8px;bottom:8px;top:auto;min-width:0;width:auto;height:auto;max-width:calc(100% - 16px);padding:0 8px;border-radius:999px;background:var(--theme-red,#ac001e);color:#fff;font-size:12px;line-height:24px;overflow:visible}.update-card-cover>.comic-tag-links.update-status-filter>a{min-height:24px;color:inherit;text-decoration:none}

/* Mobile text navigation must not inherit icon-button sizing. */
@media (max-width:760px) {
  .mrank-tabs { gap:0; padding:0 12px; overflow-x:hidden; }
  .mrank-tabs > a {
    box-sizing:border-box; flex:1 1 0; min-width:0; height:56px;
    padding:0 4px; white-space:nowrap; overflow-wrap:normal;
    font-size:14px; line-height:1.3;
  }
  .mupdate-topbar .mupdate-week-menu .mupdate-weekdays {
    position:fixed; top:64px; right:12px; left:12px;
    box-sizing:border-box; width:auto; max-width:420px; margin:0 auto;
    overflow:visible; align-items:stretch;
  }
  .mupdate-topbar .mupdate-week-menu .mupdate-weekdays > a {
    box-sizing:border-box; display:flex; align-items:center; justify-content:center;
    width:auto; min-width:0; height:auto; min-height:40px;
    padding:8px 4px; font-size:12px; line-height:1.4;
    white-space:nowrap; overflow-wrap:normal;
  }
}

/* Resume covers use an IMG root, not the old wrapper element. */
@media(max-width:760px){.mpr-recent-card>img[data-hlg-cover]{display:block;flex:0 0 67px;width:67px;min-width:67px;max-width:67px;height:100%;min-height:0;object-fit:cover}}
.hlgmh-registration-notice{display:flex;align-items:center;gap:12px;max-width:1200px;margin:0 auto 16px;padding:12px 14px;box-sizing:border-box;border:1px solid #efd6d3;border-radius:12px;background:#fff8f7;color:#5d3f3d;font-size:13px;line-height:1.5}
.hlgmh-registration-notice>div{flex:1;min-width:0}.hlgmh-registration-notice strong{display:block;font-weight:700}.hlgmh-registration-notice p{margin:3px 0 0;font-size:12px;color:#796b6a}.hlgmh-registration-notice button{flex-shrink:0;min-height:36px;padding:6px 12px;border:1px solid #e8b8bb;border-radius:8px;background:#fff;color:#ac001e;font:inherit;cursor:pointer}.hlgmh-registration-notice[data-state=done]{border-color:#cce3d5;background:#f3faf6;color:#246947}
