.cc-site-head {
  --head-blue: #0d87bb;
  --head-accent: #086b99;
  --head-bg: #fcfdff;
  --head-field: #edf5fa;
  --head-border: #d2e2ec;
  --head-ink: #142f42;
  --head-muted: #496478;
  --head-glass: #f4faffc4;
  color: var(--head-ink);
  background: var(--head-bg);
  position: relative;
  z-index: 25;
}
html[data-comic-theme="night"] .cc-site-head {
  --head-accent: #79d6ff;
  --head-bg: #15232d;
  --head-field: #203441;
  --head-border: #375263;
  --head-ink: #eff8ff;
  --head-muted: #b2cbdc;
  --head-glass: #152839b8;
}
.cc-site-head [hidden] { display: none !important; }
.cc-site-head a { color: inherit; text-decoration: none; }
.cc-site-head button { color: inherit; cursor: pointer; font: inherit; }
.cc-site-head { -webkit-tap-highlight-color: transparent; }
.cc-site-head :focus { outline: none; }
.cc-site-head:not([data-pointer-focus]) :focus-visible { outline: 2px solid var(--head-blue); outline-offset: -2px; }
.cc-head-row {
  max-width: 1140px;
  margin: auto;
  padding: 8px 12px;
  min-height: 62px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.cc-head-brand { flex: none; font-size: 16px; font-weight: 750; white-space: nowrap; }
.cc-head-brand img { display: block; max-width: 138px; height: auto; }
.cc-head-brand span { display: none; }
.cc-head-icon, .cc-head-account, .cc-head-secondary, .cc-head-upgrade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 38px;
  min-height: 40px;
  gap: 4px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--head-field);
}
.cc-head-icon { padding: 0; font-size: 21px !important; }
.cc-site-head svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cc-site-head svg.cc-head-bars { stroke-width: 3; }
.cc-site-head svg.cc-head-hotmark { width: 16px; height: 16px; color: var(--head-accent); }
.cc-head-icon .cc-head-sun, html[data-comic-theme="night"] .cc-head-icon .cc-head-moon { display: none; }
html[data-comic-theme="night"] .cc-head-icon .cc-head-sun { display: block; }
@media (hover: hover) {
  .cc-head-icon:hover, .cc-head-account:hover, .cc-head-secondary:hover { border-color: var(--head-blue); }
}
.cc-head-account, .cc-head-secondary, .cc-head-upgrade { padding: 0 10px; font-size: 14px; white-space: nowrap; }
.cc-head-account .mdi { font-size: 20px; }
.cc-site-head .cc-head-upgrade { border-color: var(--head-blue); color: var(--head-accent); font-weight: 700; }
.cc-head-menu { order: 0; }
.cc-head-menu { display: none; }
.cc-head-search { position: relative; flex: 1 1 360px; min-width: 0; max-width: 420px; margin: 0 0 0 auto; }
.cc-head-search[data-expanded] { z-index: 2; }
.cc-head-search-shade { position: fixed; inset: 0; z-index: 1; background: #08152229; }
.comic-detail-hero:has(.cc-head-search[data-expanded]) { z-index: 25; }
.cc-head-searchbox { display: flex; align-items: center; border: 1px solid var(--head-border); border-radius: 999px; background: var(--head-field); transition: background .22s ease, border-color .22s ease, box-shadow .22s ease; }
.cc-head-searchbox:has(input:focus) { border-color: var(--head-blue); box-shadow: 0 0 0 3px #0d87bb30; }
.cc-head-searchbox .cc-head-icon { background: transparent; }
.cc-head-searchbox .cc-head-rank { color: var(--head-accent); }
.cc-head-searchbox input {
  flex: 1;
  width: 0;
  min-width: 0;
  padding: 0 2px;
  font: inherit;
  appearance: none;
  outline: none;
  border: 0;
  color: var(--head-ink);
  background: transparent;
}
.cc-site-head .cc-head-searchbox input:focus-visible { outline: none; }
.cc-head-searchbox input::placeholder { color: var(--head-muted); opacity: 1; }
.cc-head-searchbox input::-webkit-search-cancel-button { display: none; }
.cc-head-suggestions {
  position: absolute;
  inset: calc(100% + 7px) 0 auto;
  max-height: min(55vh, 380px);
  overflow: auto;
  background: linear-gradient(135deg, #acd9ff22, transparent 65%), var(--head-glass);
  border: 1px solid #93bad568;
  border-radius: 19px;
  padding: 14px;
  box-shadow: 0 16px 40px #06192740, inset 0 1px #ffffff42;
  -webkit-backdrop-filter: blur(20px) saturate(155%);
  backdrop-filter: blur(20px) saturate(155%);
  transform-origin: top center;
  animation: cc-head-pop .23s cubic-bezier(.2,.75,.25,1) both;
}
.cc-head-suggestions h2 { display: flex; align-items: center; gap: 6px; padding: 0; margin: 0 0 8px; font-size: 13px; font-weight: 650; letter-spacing: .02em; color: var(--head-ink); }
.cc-head-login-picks { display: none; }
.cc-head-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-head-chips a {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.5;
  background: #ffffff56;
  border: 1px solid transparent;
}
html[data-comic-theme="night"] .cc-head-chips a { background: #d2eaff20; }
.cc-head-rank-options button {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--head-field);
  border: 1px solid var(--head-border);
}
.cc-head-chips a:hover, .cc-head-chips a:focus-visible { color: var(--head-accent); border-color: var(--head-blue); }
.cc-head-suggestions:has([data-head-matches]:not([hidden])) {
  display: flex;
  flex-direction: column;
  padding: 7px;
  overflow: hidden;
}
.cc-head-suggestions [data-head-matches] {
  display: grid;
  gap: 2px;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #54819eac transparent;
  overscroll-behavior: contain;
}
.cc-head-suggestions [data-head-matches] a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 10px;
  gap: 10px;
  align-items: center;
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 10px;
  transition: background .16s ease;
}
.cc-head-suggestions [data-head-matches] a::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid var(--head-accent);
  border-width: 0 1px 1px 0;
  opacity: .7;
  transform: rotate(-45deg);
}
.cc-head-suggestions [data-head-matches] a:is(:hover, :focus-visible) { background: #75b8dc25; }
.cc-head-suggestions [data-head-matches] :is(strong, small) {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cc-head-suggestions [data-head-matches] strong { font-size: 14px; font-weight: 700; line-height: 1.4; }
.cc-head-suggestions [data-head-matches] small { margin-top: 2px; color: var(--head-muted); font-size: 12px; line-height: 1.4; }
@supports selector(::-webkit-scrollbar) {
  @media (min-width: 992px) {
    .cc-head-suggestions [data-head-matches] { scrollbar-width: auto; scrollbar-color: auto; }
    .cc-head-suggestions [data-head-matches]::-webkit-scrollbar { width: 5px; }
    .cc-head-suggestions [data-head-matches]::-webkit-scrollbar-track { background: transparent; }
    .cc-head-suggestions [data-head-matches]::-webkit-scrollbar-thumb { background: #54819eb0; border-radius: 999px; }
    .cc-head-suggestions [data-head-matches]::-webkit-scrollbar-thumb:hover { background: #54819e; }
    .cc-head-suggestions [data-head-matches]::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  }
}
@media (max-width: 991.98px) {
  .cc-head-suggestions [data-head-matches] { scrollbar-width: none; }
  .cc-head-suggestions [data-head-matches]::-webkit-scrollbar { display: none; }
}
.cc-head-status { margin: 4px 0; color: var(--head-muted); font-size: 14px; }
.cc-head-dialog {
  box-sizing: border-box;
  color: var(--head-ink);
  background: var(--head-bg);
  border: 1px solid var(--head-border);
  padding: 0;
  overscroll-behavior: contain;
}
.cc-head-dialog[open] { display: flex; flex-direction: column; animation: cc-head-appear .18s ease-out; }
.cc-head-dialog::backdrop { background: #081522a8; }
body:has(.cc-head-dialog[open]) { overflow: hidden; }
.cc-head-drawer { position: fixed; inset: 0 auto 0 0; margin: 0; width: min(67.5vw, 255px); height: 100%; max-height: none; border-radius: 0 16px 16px 0; }
.cc-head-dialog-title { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--head-border); }
.cc-head-dialog-title h2 { font-size: 19px; margin: 0; padding-left: 9px; border-left: 3px solid var(--head-blue); }
.cc-head-scroll { overflow-y: auto; padding: 12px 16px; }
.cc-head-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.cc-head-shortcuts a, .cc-head-tree .main-cat-css { background: var(--head-field); border-radius: 8px; }
.cc-head-shortcuts a, .cc-head-tree .main-cat-css > ul a { display: block; padding: 9px 10px; }
.cc-head-tree .main-cat-css { margin: 0 0 5px; }
.cc-head-tree ul { margin: 0; padding: 0; list-style: none; }
.cc-head-tree .main-cat-css > ul a { margin-left: 12px; }
.cc-head-tree a:hover, .cc-head-shortcuts a:hover { color: var(--head-accent); }
.cc-head-rank-dialog { width: min(94vw, 470px); max-height: 82vh; border-radius: 16px; }
body:has([data-site-header]) .comic-detail-hero > .d-lg-block:has(.def_top_lg) { display: none !important; }
@keyframes cc-head-appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cc-head-pop { from { opacity: 0; transform: translateY(-5px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes cc-head-slide-in { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes cc-head-slide-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cc-head-drawer[open] { animation-name: cc-head-slide-in; }
@media (min-width: 992px) {
  .cc-site-head {
    background: radial-gradient(ellipse at 15% 0%, #0d87bb19, transparent 62%), linear-gradient(115deg, #f9fcff, #f0f7fb 68%, #eaf5fb);
  }
  html[data-comic-theme="night"] .cc-site-head {
    background: radial-gradient(ellipse at 16% 0%, #168aba2b, transparent 58%), linear-gradient(115deg, #202d36, #20282f 70%, #192831);
  }
  .cc-head-row { min-height: 74.4px; gap: 10px; }
  .cc-head-search { max-width: 400px; }
  .cc-head-searchbox, .cc-head-theme, .cc-head-account, .cc-head-secondary, .cc-head-upgrade {
    background: linear-gradient(155deg, #ffffff26, transparent), var(--head-field);
    border: 1px solid var(--head-border);
    box-shadow: inset 0 1px #ffffff25, 0 3px 9px #06192712;
    transition: border-color .2s ease, box-shadow .2s ease;
  }
  .cc-head-searchbox { padding: 2px 4px; }
  .cc-head-searchbox:has(input:focus) { box-shadow: 0 0 0 4px #0d87bb22, 0 5px 18px #0619271a; }
  .cc-head-theme { width: 42px; height: 42px; }
  .cc-head-account, .cc-head-secondary, .cc-head-upgrade { padding-inline: 14px; }
  .cc-head-searchbox .cc-head-rank { min-width: 34px; min-height: 34px; background: #0d87bb13; }
  .comic-detail-hero > .cc-site-head,
  html[data-comic-theme="night"] .comic-detail-hero > .cc-site-head { background: transparent; }
  .comic-detail-hero > .cc-site-head .cc-head-row { padding-inline: 18px; }
  .comic-detail-hero > .cc-site-head {
    --head-field: #f4fbffb5;
    --head-border: #ffffffa6;
    --head-muted: #344d5d;
  }
  html[data-comic-theme="night"] .comic-detail-hero > .cc-site-head {
    --head-field: #10202ebd;
    --head-border: #caeaff44;
    --head-muted: #d3e4ef;
  }
  .comic-detail-hero .cc-head-searchbox,
  .comic-detail-hero :is(.cc-head-theme, .cc-head-account, .cc-head-secondary, .cc-head-upgrade) {
    -webkit-backdrop-filter: blur(16px) saturate(145%);
    backdrop-filter: blur(16px) saturate(145%);
  }
  .cc-site-head ~ .container .index-top-menu {
    background: linear-gradient(115deg, #12678e, #155677 56%, #19465f);
    border: 1px solid #ffffff2b;
    border-radius: 16px;
    box-shadow: inset 0 1px #ffffff20, 0 5px 14px #102d421c;
  }
  .cc-site-head ~ .container .index-top-menu a.main-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 4px 7px !important;
    border: 1px solid #96e5ffb0;
    border-radius: 999px;
    background: linear-gradient(145deg, #d0f5ff 0%, #8bd4f4 44%, #51abdb 100%);
    color: #09354f !important;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
    box-shadow: inset 0 1px #ffffffb8, 0 3px 10px #061b3260;
  }
  .cc-site-head ~ .container .index-top-menu a.main-menu-btn::before {
    content: "";
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    background: radial-gradient(circle, currentColor 54%, transparent 58%) 0 0 / 6px 6px repeat;
  }
  .cc-site-head ~ .container .index-top-menu a.main-menu-btn:hover {
    background: linear-gradient(145deg, #e1f9ff, #9fdef8 45%, #68bce7);
  }
  .cc-site-head ~ .container .index-top-menu .top-submenu {
    height: 2.42rem;
    background: #f2f9fcef;
    border: 1px solid #7daac55c;
    border-radius: 12px;
    padding-inline: 5px;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 20px #0a1e3430;
  }
  .cc-site-head ~ .container .index-top-menu .top-submenu a { color: #1c4a62; }
  html[data-comic-theme="night"] .cc-site-head ~ .container .index-top-menu .top-submenu { background: #192c39ed; }
  html[data-comic-theme="night"] .cc-site-head ~ .container .index-top-menu .top-submenu a { color: #e0f2ff; }
  .cc-site-head ~ .container .index-top-menu .top-submenu a:hover { background: #0d87bb26; color: inherit; padding: 0; }
  .cc-site-head ~ .container .index-top-menu li:focus-within > .top-submenu { display: flex; }
  .index-top-menu:has(.top-submenu a[aria-current]) > ul > .top-menus {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
  }
  .index-top-menu:has(.top-submenu a[aria-current]) .top-menus > .top-submenu {
    inset-inline-start: 0;
    top: calc(100% + 1px);
  }
  .index-top-menu:has(.top-submenu a[aria-current]) .top-menus > .top-submenu::before {
    content: "";
    position: absolute;
    inset: -8px 0 auto;
    height: 8px;
  }
  .index-top-menu:has(.top-submenu a[aria-current]) .top-menus > .top-submenu { display: none; }
  .index-top-menu:has(.top-submenu a[aria-current]) .top-menus:hover > .top-submenu,
  .index-top-menu:has(.top-submenu a[aria-current]):not(:has(.top-menus:hover)) .top-menus:focus-within > .top-submenu,
  .index-top-menu:not(:has(.top-menus:hover, .top-menus:focus-within)) .top-menus > .top-submenu:has(a[aria-current]) {
    display: flex;
  }
  .cc-site-head ~ .container .index-top-menu a[aria-current] {
    position: relative;
    --nav-mark: #a6e1f2;
  }
  .cc-site-head ~ .container .index-top-menu a[aria-current]::after {
    content: "";
    position: absolute;
    inset-inline-start: 50%;
    inset-block-end: -4px;
    width: 9px;
    height: 1px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--nav-mark) 27% 73%, transparent);
    pointer-events: none;
  }
  .cc-site-head ~ .container .index-top-menu .top-submenu a[aria-current] {
    --nav-mark: #087fae;
  }
  html[data-comic-theme="night"] .cc-site-head ~ .container .index-top-menu .top-submenu a[aria-current] {
    --nav-mark: #abdfed;
  }
  .cc-site-head ~ .container .index-top-menu .main-menu-btn[aria-current]::after,
  .cc-site-head ~ .container .index-top-menu .top-menus:has(> .top-submenu a[aria-current]) > a[aria-current]::after { content: none; }
}
@media (max-width: 991.98px) {
  .cc-head-menu { display: inline-flex; }
  .cc-head-row { min-height: 56px; padding: 6px; gap: 4px; }
  .cc-head-brand img, .cc-head-desktop { display: none; }
  .cc-head-brand span { display: inline; }
  .cc-head-icon, .cc-head-account { min-width: 34px; min-height: 42px; }
  .cc-head-account { padding: 0 4px; }
  .cc-head-search { max-width: none; }
  .cc-head-searchbox input { font-size: 16px; }
  .cc-head-login-picks { display: block; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--head-border); }
  .cc-head-search[data-expanded] { position: absolute; inset: 6px 8px auto; z-index: 2; }
  .cc-head-search[data-expanded] .cc-head-searchbox { background: var(--head-bg); }
  .cc-head-search:not([data-expanded]) [data-head-clear] { display: none; }
  .cc-head-rank-dialog { inset: auto 0 0; margin: 0 auto; width: 100%; max-width: none; border-radius: 16px 16px 0 0; }
  .cc-head-rank-dialog[open] { animation-name: cc-head-slide-up; }
}
@media (max-width: 380px) { .cc-head-account span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; } }
@media (prefers-reduced-motion: reduce) { .cc-head-dialog[open], .cc-head-suggestions { animation: none; } }

.cc-head-dialog {
  --dialog-glass: #f4faffc9;
  --dialog-edge: #ffffffae;
  --dialog-tile: #ffffff54;
  background: linear-gradient(145deg, #ffffff44, transparent 42%), var(--dialog-glass);
  border-color: var(--dialog-edge);
  box-shadow: inset 0 1px #ffffff73, 0 18px 64px #06192748;
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
}
html[data-comic-theme="night"] .cc-head-dialog {
  --dialog-glass: #192c3bd4;
  --dialog-edge: #b4d9f144;
  --dialog-tile: #c0e2ff15;
  background: linear-gradient(145deg, #a6d6fa21, transparent 42%), var(--dialog-glass);
  box-shadow: inset 0 1px #ffffff28, 0 18px 64px #06101cb0;
}
.cc-head-dialog::backdrop { background: #091c3155; animation: cc-head-veil .24s ease both; }
.cc-head-dialog[open] { animation-duration: .26s; animation-timing-function: cubic-bezier(.2,.8,.25,1); animation-fill-mode: both; }
.cc-head-dialog[open][data-closing] { animation-name: cc-head-dismiss; animation-duration: .17s; pointer-events: none; }
.cc-head-drawer { --head-exit: translateX(-100%); border-radius: 0 22px 22px 0; }
.cc-head-rank-dialog { --head-exit: translateY(10px) scale(.985); border-radius: 22px; }
.cc-head-dialog[open][data-closing]::backdrop { animation: cc-head-veil .17s ease reverse both; }
@keyframes cc-head-veil { from { opacity: 0; } to { opacity: 1; } }
@keyframes cc-head-dismiss { from { opacity: 1; transform: none; } to { opacity: 0; transform: var(--head-exit); } }
.cc-head-dialog-title { padding: 9px 14px; gap: 8px; border-color: var(--dialog-edge); }
.cc-head-dialog-title h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  line-height: 1.3;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: start;
  outline: none;
}
.cc-head-dialog-title h2::before {
  content: "";
  flex: 0 0 3px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(#50b6e4, #0d87bb);
}
.cc-head-dialog-actions { display: flex; align-items: center; gap: 8px; }
.cc-head-drawer .cc-head-scroll { scrollbar-width: none; }
.cc-head-drawer .cc-head-scroll::-webkit-scrollbar { display: none; }
.cc-head-dialog-title .cc-head-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 50%;
  border-color: var(--dialog-edge);
  background: var(--dialog-tile);
}
.cc-head-dialog-title .cc-head-icon svg { width: 17px; height: 17px; }
.cc-head-searchbox .cc-head-rank {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 50%;
}
.cc-head-shortcuts a, .cc-head-tree .main-cat-css {
  background: var(--dialog-tile);
  border: 1px solid var(--dialog-edge);
}

/* A calmer reading surface keeps covers and podium accents in focus. */
.cc-site-head .cc-head-rank-dialog {
  --rank-paper: #f1f7ffc4;
  --rank-tab: #eaf0f7;
  --rank-line: #47739822;
  --rank-hover: #0d87bb0d;
  background: linear-gradient(145deg, #e6f5ff81, transparent 40%, #9fc9f02e), var(--rank-paper);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}
html[data-comic-theme="night"] .cc-site-head .cc-head-rank-dialog {
  --rank-paper: #102332bb;
  --rank-tab: #233748;
  --rank-line: #b6dbf224;
  --rank-hover: #70bef417;
  background: linear-gradient(145deg, #4c8bbb5c, transparent 42%, #246f9b38), var(--rank-paper);
}
.cc-head-rank-dialog .cc-head-dialog-title { border: 0; padding: 14px 17px 6px; }
.cc-head-rank-dialog .cc-head-dialog-title h2 { font-size: 19px; }
.cc-head-rank-options { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 17px 10px; }
.cc-head-rank-options button {
  padding: 5px 11px;
  border-color: transparent;
  background: var(--rank-tab);
  color: var(--head-muted);
  font-size: 13px;
  font-weight: 650;
}
.cc-head-rank-options [aria-pressed="true"] { background: linear-gradient(135deg, #127faa, #155b96); color: #fff; }
.cc-head-rank-dialog .cc-head-scroll { min-height: 0; padding: 5px 12px 10px; scrollbar-width: thin; }
@media (max-width: 991.98px) {
  .cc-head-rank-dialog .cc-head-scroll { scrollbar-width: none; }
  .cc-head-rank-dialog .cc-head-scroll::-webkit-scrollbar { display: none; }
}
.cc-head-rank-dialog .cc-head-rank-row {
  display: grid;
  grid-template-columns: 27px 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 65px;
  margin-bottom: 3px;
  padding: 6px 8px;
  border-radius: 12px;
  background: linear-gradient(100deg, var(--rank-wash, transparent), transparent 85%);
}
.cc-head-rank-row:nth-child(1) { --rank-medal: #936016; --rank-rim: #d8a440; --rank-wash: #f2cb6944; }
.cc-head-rank-row:nth-child(2) { --rank-medal: #586d86; --rank-rim: #99acc4; --rank-wash: #a8bfd035; }
.cc-head-rank-row:nth-child(3) { --rank-medal: #934e29; --rank-rim: #ca865d; --rank-wash: #e6a27b35; }
html[data-comic-theme="night"] .cc-head-rank-row:nth-child(1) { --rank-medal: #ffdb83; --rank-wash: #b688292e; }
html[data-comic-theme="night"] .cc-head-rank-row:nth-child(2) { --rank-medal: #c6d9ef; --rank-wash: #8dadc428; }
html[data-comic-theme="night"] .cc-head-rank-row:nth-child(3) { --rank-medal: #ffb991; --rank-wash: #b46e472e; }
.cc-head-rank-dialog .cc-head-rank-row:hover { background-color: var(--rank-hover); }
.cc-head-rank-row strong {
  color: var(--rank-medal, var(--head-muted));
  font: italic 700 20px/1 Georgia, serif;
  text-align: center;
}
.cc-head-rank-row:nth-child(-n+3) strong { font-size: 25px; }
.cc-head-rank-row img { width: 39px; height: 52px; object-fit: cover; border-radius: 7px; }
.cc-head-rank-row:nth-child(-n+3) img { outline: 2px solid var(--rank-rim); outline-offset: 1px; }
.cc-head-rank-copy { grid-column: 3; display: grid; gap: 3px; }
.cc-head-rank-copy b { font-size: 14px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.cc-head-rank-copy small { font-size: 12px; color: var(--head-muted); }
.cc-head-rank-dialog .cc-head-rank-footer {
  flex: none;
  display: block;
  padding: 12px 17px;
  border-top: 1px solid var(--rank-line);
  color: var(--head-accent);
  font-size: 14px;
  font-weight: 700;
}
.cc-head-shortcuts a, .cc-head-tree .main-cat-css { border-radius: 11px; }
.cc-head-shortcuts a, .cc-head-tree .main-cat-css > ul a { padding: 7px 10px; }
.cc-head-category-row { display: flex; align-items: stretch; }
.cc-head-category-row a { display: flex; align-items: center; flex: 1; min-width: 0; padding: 8px 10px; font-weight: 650; }
.cc-head-category-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
}
.cc-head-category-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: 0 3px 0 8px;
  border: solid var(--head-accent);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(-45deg);
  transition: transform .18s ease;
}
.cc-head-category-toggle[aria-expanded="true"]::after { transform: rotate(45deg); }
.cc-head-tree .main-cat-css > ul:not([hidden]) { animation: cc-head-pop .2s ease both; }
@media (max-width: 991.98px) {
  .cc-head-row { gap: clamp(8px, calc(7px + (100% - 177px) * .05), 24px); }
  .cc-head-drawer .cc-head-dialog-title { padding-inline: 9px; }
  .cc-head-drawer .cc-head-dialog-title h2 { gap: 5px; font-size: 16px; white-space: nowrap; }
  .cc-head-drawer .cc-head-dialog-actions { gap: 7px; }
  .cc-head-drawer .cc-head-scroll { padding-inline: 10px; }
  .cc-head-menu, .cc-head-account { width: 40px; height: 40px; min-width: 40px; min-height: 40px; border-radius: 50%; }
  .cc-head-theme-main { display: none; }
  .cc-head-account span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
  .cc-head-rank-dialog { --head-exit: translateY(100%); border-radius: 22px 22px 0 0; }
  .cc-head-searchbox .cc-head-rank { margin-inline-end: 3px; background: #0d87bb13; }
}
@media (min-width: 992px) {
  .cc-top-item > .cc-site-head,
  html[data-comic-theme="night"] .cc-top-item > .cc-site-head { background: transparent; }
  .cc-head-row .cc-head-bookmark { display: none; }
  .cc-head-row :is([data-head-member], [data-head-upgrade]) { width: 42px; height: 42px; padding: 0; }
}
@media (scripting: enabled) {
  .cc-top-item:has(.comic-detail-hero) > .cc-site-head:not([data-header-ready]) {
    position: absolute;
    inset: 0 0 auto;
    visibility: hidden;
  }
  .cc-top-item:has([data-site-header]) .comic-detail-hero {
    --detail-header-height: 74.4px;
    padding-top: var(--detail-header-height);
  }
  .cc-top-item .comic-detail-hero > .cc-site-head {
    position: absolute;
    inset: 0 0 auto;
  }
}
@media (max-width: 991.98px) {
  .cc-top-item:has([data-site-header]) .comic-detail-hero { --detail-header-height: 56px; }
  .cc-top-item:has(.comic-detail-hero) > .cc-site-head,
  .cc-top-item .comic-detail-hero > .cc-site-head,
  html[data-comic-theme="night"] .cc-top-item .comic-detail-hero > .cc-site-head { background: transparent; }
  .cc-top-item .comic-detail-hero :is(.cc-head-searchbox, .cc-head-menu, .cc-head-account) {
    background: #f4fbffd6;
    -webkit-backdrop-filter: blur(14px) saturate(145%);
    backdrop-filter: blur(14px) saturate(145%);
  }
  html[data-comic-theme="night"] .cc-top-item .comic-detail-hero :is(.cc-head-searchbox, .cc-head-menu, .cc-head-account) {
    background: #10202ed6;
  }
  html[data-comic-theme="night"] .cc-top-item .cc-head-brand { text-shadow: 0 1px 5px #08121bcc; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-head-dialog[open], .cc-head-dialog[open][data-closing], .cc-head-dialog::backdrop,
  .cc-head-dialog[open][data-closing]::backdrop, .cc-head-tree .main-cat-css > ul:not([hidden]) { animation: none; }
}
