.directory-page {
  --wrap: 1200px;
  --red: #f26070;
  --line: #372228;
  --surface: #161013;
}

.directory-page .masthead { background: #100b0d; }
.directory-page .mastnav-entry { background: #211215; }
.directory-main { padding-top: 22px; }

.directory-intro {
  --crown-image-height: 125%;
  --crown-image-offset: 0px;
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 285px;
  align-items: center;
  padding: 30px clamp(22px, 5vw, 65px);
  overflow: hidden;
  border: 1px solid #583139;
  border-radius: 11px;
  background: #120a0d;
  box-shadow: inset 0 1px #e872811c, 0 18px 44px #0006;
}
.directory-intro::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, #120a0d 56%, #120a0d8f 65%, #120a0d19 78%, #120a0d08),
    linear-gradient(0deg, #120a0d80, transparent 27%),
    url("devil-crown.webp") right var(--crown-image-offset) center / auto var(--crown-image-height) no-repeat;
}

.crown-gem {
  position: absolute;
  z-index: -1;
  inset-block-start: 50%;
  inset-inline-end: var(--crown-image-offset);
  block-size: var(--crown-image-height);
  aspect-ratio: 3 / 2;
  transform: translateY(-50%);
  pointer-events: none;
  background:
    radial-gradient(ellipse 2.55% 7.85% at 73.11% 55.4%, #f23d6278, #db244d68 46%, #ad153840 80%, #790e252e),
    url("devil-crown.webp") center / 100% 100% no-repeat;
  filter: brightness(1.52) saturate(1.18);
  mix-blend-mode: screen;
  opacity: .48;
  clip-path: polygon(
    73.11% 49.02%, 74.28% 51.37%, 75.07% 53.91%, 74.93% 55.86%,
    74.35% 58.89%, 73.44% 62.6%, 72.53% 60.45%, 71.68% 57.81%,
    71.16% 55.66%, 71.03% 53.91%, 71.88% 51.56%
  );
}

@media (prefers-reduced-motion: no-preference) {
  .crown-gem { animation: crown-gem-glow 6.4s ease-in-out infinite; }
}

@keyframes crown-gem-glow {
  0%, 100% { opacity: .18; }
  50% { opacity: .70; }
}

.directory-intro-content { width: min(100%, 630px); }
.directory-intro h1 { font-size: clamp(2.35rem, 5.4vw, 4.7rem); line-height: 1.08; word-break: keep-all; }
.directory-intro h1 .directory-title-type { color: var(--text); white-space: nowrap; }
.directory-intro p { margin-top: 12px; color: #e1bdc3; font-size: clamp(.86rem, 1.4vw, 1.02rem); }
.site-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(100%, 445px);
  gap: 6px;
  margin-top: 23px;
}
.search-field { position: relative; min-width: 0; }
.site-search input { min-height: 49px; color: #fff0f1; border-color: #75404a; background: #170c10e8; box-shadow: inset 0 2px 4px #08040780; }
.site-search button {
  min-height: 49px;
  padding: 8px 21px;
  border: 1px solid #cb5863;
  border-radius: 7px;
  background: linear-gradient(#ad2337, #891426);
  color: #fff3f5;
  box-shadow: inset 0 1px #ffadb047, 0 2px #4b101b, 0 4px 7px #0004;
  text-shadow: 0 1px 2px #4e0b17a6;
  cursor: pointer;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 800;
  white-space: nowrap;
}

.directory-layout {
  display: grid;
  grid-template-columns: clamp(240px, 27vw, 330px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(14px, 2vw, 22px);
  margin-top: 15px;
}
.directory-overview { display: grid; gap: 11px; }
.directory-content { min-width: 0; }
.overview-panel {
  padding: 10px 12px 12px;
  border: 1px solid #442b32;
  border-radius: 8px;
  background: linear-gradient(145deg, #201419, #161013 76%);
  box-shadow: inset 0 1px #fbb2c014, inset 0 -1px #0004, 0 3px 8px #0004;
}
.overview-heading { display: flex; align-items: center; justify-content: space-between; gap: 5px 11px; min-height: 42px; }
.overview-heading h2 { color: #f8e9ed; font-size: 1.04rem; letter-spacing: -.05em; }
.overview-heading a { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; color: var(--muted); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.overview-heading a span { color: var(--red); }
.directory-overview .category-nav, .directory-overview .shortcut-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 3px 0 0;
}
.directory-overview nav a { justify-content: flex-start; min-height: 44px; padding: 5px 9px; background: #1f1518; color: #efd8dc; box-shadow: inset 0 1px #fff1f00c, 0 1px 3px #0004; }
.category-nav a {
  gap: 6px;
  font-size: .8rem;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-align: center;
}
.category-nav a::before { content: "#"; flex: none; color: #db7784; font-weight: 700; }
.category-nav a[aria-current="location"] { border-color: #bb5762; background: #381820; color: #fff0f3; }
.shortcut-grid a { text-align: center; }
.shortcut-grid a span { color: #ffc8cd; background: #412027; }

.inquiry-panel {
  border-color: #62333f;
  background: radial-gradient(ellipse at 96% 0%, #522131, transparent 65%), #1c1217;
  box-shadow: inset 0 1px #e18e9d1f, inset 0 -1px #0004, 0 3px 8px #0004;
}
.inquiry-panel .overview-heading { min-height: 35px; gap: 6px; }
.inquiry-heading { display: flex; align-items: center; gap: 8px; }
.inquiry-heading h2 { font-size: .97rem; white-space: nowrap; }
.telegram-mark {
  display: grid;
  width: 26px;
  flex: none;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #5aaccd;
  border-radius: 50%;
  background: linear-gradient(#2288b6, #196b95);
  box-shadow: inset 0 1px #ffffff2b;
}
.telegram-mark::before {
  width: 15px;
  aspect-ratio: 1;
  margin: 1px 0 0 -1px;
  background: #f3fbff;
  clip-path: polygon(0 42%, 100% 0, 78% 99%, 53% 73%, 39% 89%, 42% 64%, 83% 20%, 31% 56%);
  content: "";
}
.inquiry-status { color: #d1aab4; font-size: .69rem; text-align: right; word-break: keep-all; }
.inquiry-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 6px; }
.inquiry-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  min-height: 46px;
  padding: 6px 9px;
  border: 1px solid #69404c;
  border-radius: 6px;
  background: linear-gradient(#2e1d25, #24151d);
  color: #ffeaf0;
  box-shadow: inset 0 1px #ffffff13, 0 2px 4px #0005;
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.inquiry-primary {
  border-color: #b65566;
  background: linear-gradient(150deg, #a52e43, #761f32);
  color: #fff6f8;
  box-shadow: inset 0 1px #ffb2be3b, 0 2px #461521;
}
.inquiry-arrow { color: #ffbac8; }
.inquiry-arrow::before { content: "→"; }
.inquiry-action[target="_blank"] .inquiry-arrow::before { content: "↗"; }

.directory-section { margin-top: 16px; }
.category-rail {
  gap: 6px;
  margin: 0 0 12px;
}
.category-rail a {
  min-height: 38px;
  padding-inline: 10px;
  border-color: #59313b;
  border-radius: 999px;
  background: #22151b;
  color: #f1cad3;
}
.directory-section > .section-heading {
  position: relative;
  align-items: center;
  min-height: 45px;
  margin-bottom: 10px;
  padding-left: 13px;
  border-bottom: 1px solid #4b252d;
}
.directory-section > .section-heading::before {
  position: absolute;
  left: 0;
  width: 3px;
  height: 21px;
  border-radius: 3px;
  background: #e75e6c;
  content: "";
}
.guide-search-results { margin: 0 0 16px; }
.guide-search-results h3 { margin: 0 0 8px; font-size: .96rem; }
.guide-search-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.guide-search-grid li { min-width: 0; }
.guide-search-grid a {
  display: grid;
  align-content: start;
  gap: 3px;
  min-height: 44px;
  height: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.guide-search-grid strong { font-size: .92rem; }
.guide-search-grid span, .guide-search-grid small { color: var(--muted); font-size: .8rem; }
.guide-search-grid a:focus-visible { outline-offset: -2px; }
@media (hover: hover) {
  .guide-search-grid a:hover { border-color: var(--edge); }
}
@media (max-width: 600px) {
  .guide-search-grid { grid-template-columns: minmax(0, 1fr); }
}
.directory-grid { align-items: stretch; }
.category-card { background: #151013; box-shadow: 0 3px 8px #0004; }
.category-card:target { border-color: #d55a69; box-shadow: 0 0 0 2px #87303c44, 0 3px 8px #0004; }
.category-card h3 {
  min-height: 52px;
  padding-inline: 11px;
  border-top: 1px solid #71333e;
  background: linear-gradient(103deg, #371821, #26161a 55%, #201317);
  box-shadow: inset 0 1px #ba556927;
}
.category-card .category-symbol { border-color: #5e3743; }
.category-card .listing-row {
  --rank-column-width: 32px;
  display: grid;
  grid-template-columns: var(--rank-column-width) minmax(0, 1fr) auto;
  align-items: center;
  min-height: 51px;
  gap: 7px;
  padding: 5px 9px;
  font-size: .84rem;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.category-card .listing-preview .listing-row { grid-template-columns: var(--rank-column-width) minmax(0, 1fr); }
.listing-preview .site-domain { color: #aa8792; }
.rank-empty .rank { border-color: #3d2a30; background: #1a1317; color: #a88490; }
.listing-info { min-width: 0; }
.site-name { display: block; color: #f5e9ec; line-height: 1.28; text-wrap: balance; }
.site-word { display: inline-block; max-inline-size: 100%; }
.site-domain {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #b89ca3;
  font-size: .71rem;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rank { width: 22px; justify-self: center; border-radius: 5px; box-shadow: inset 0 1px #ffffff1b; }
.rank-inquiry { background: linear-gradient(95deg, #281721, #1b1318 72%); }
.rank-inquiry .site-name { color: #f5bac6; }
.rank.devil-rank {
  --crest: polygon(0 0, 13% 5%, 21% 15%, 28% 30%, 50% 22%, 72% 30%, 79% 15%, 87% 5%, 100% 0, 97% 21%, 88% 40%, 96% 57%, 83% 77%, 50% 100%, 17% 77%, 4% 57%, 12% 40%, 3% 21%);
  position: relative;
  isolation: isolate;
  width: 32px;
  aspect-ratio: 1.13;
  padding-top: 4px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--metal-light);
  filter: drop-shadow(0 2px 1px #070408);
  font-size: .79rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px #100912;
}
.devil-rank::before, .devil-rank::after {
  position: absolute;
  z-index: -1;
  clip-path: var(--crest);
  content: "";
}
.devil-rank::before {
  --rank-surface-position: 5% 50%;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 33%, #fff7df 50%, transparent 68%) -125% 50% / 52% 170% no-repeat,
    linear-gradient(138deg, var(--metal-light), var(--metal-edge) 37%, var(--metal-light) 51%, var(--metal-shadow) 76%, var(--metal-edge)) var(--rank-surface-position) / 154% 100%;
  transition: background-position .32s ease;
}
.devil-rank::after {
  --rank-surface-position: 0% 0%;
  inset: 1.5px;
  background:
    linear-gradient(112deg, transparent 33%, #fff7df59 50%, transparent 68%) -125% 50% / 52% 170% no-repeat,
    radial-gradient(ellipse at 50% 7%, var(--metal-edge), transparent 60%) var(--metal-shadow);
}
.rank-1 { --metal-light: #fff0b1; --metal-edge: #ac732f; --metal-shadow: #4d2a14; --rank-shine-delay: 0s; }
.rank-2 { --metal-light: #f7efff; --metal-edge: #818096; --metal-shadow: #383245; --rank-shine-delay: .22s; }
.rank-3 { --metal-light: #ffd1b7; --metal-edge: #af6956; --metal-shadow: #512b28; --rank-shine-delay: .44s; }

@media (prefers-reduced-motion: no-preference) {
  .directory-grid > .category-card:nth-child(3n + 2) { --rank-shine-phase: .33s; }
  .directory-grid > .category-card:nth-child(3n + 3) { --rank-shine-phase: .63s; }
  .devil-rank::before, .devil-rank::after {
    animation: devil-rank-shine 3.6s linear infinite;
    animation-delay: calc(var(--rank-shine-delay) + var(--rank-shine-phase, 0s));
  }
}
@keyframes devil-rank-shine {
  0%, 9% { background-position: -125% 50%, var(--rank-surface-position); }
  33%, 100% { background-position: 235% 50%, var(--rank-surface-position); }
}
.category-more { border-top: 1px solid var(--line); }
.category-more summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 7px 10px;
  cursor: pointer;
  color: #f0aeba;
  background: #25151c;
  font-size: .77rem;
  font-weight: 800;
  list-style: none;
  word-break: keep-all;
}
.category-more summary::-webkit-details-marker { display: none; }
.category-more summary:focus-visible { outline-offset: -3px; }
.category-more summary::after { content: "+"; }
.category-more[open] summary::after { content: "−"; }
.category-more:not([open]) .less-label, .category-more[open] .more-label { display: none; }

.advertising, .advertising .ad-grid { margin-top: 0; }
.directory-layout > .advertising { grid-column: 1 / -1; min-width: 0; }
.advertising-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, max-content) minmax(0, 1fr);
  column-gap: clamp(5px, 1.6vw, 19px);
  align-items: center;
  min-height: clamp(48px, 5.3vw, 61px);
  margin-bottom: clamp(8px, 1.1vw, 12px);
  padding: 7px clamp(9px, 2.3vw, 22px);
  border: 1px solid #57333b;
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 50% 105%, #48242c90, transparent 73%),
    linear-gradient(155deg, #21161b, #171015);
  box-shadow: inset 0 1px #ebae8d19, inset 0 -1px #0005, 0 3px 10px #0004;
}
.advertising-heading::before, .advertising-heading::after {
  width: min(100%, 155px);
  height: 1px;
  background: linear-gradient(90deg, transparent, #763f44 67%, #c7895e);
  content: "";
}
.advertising-heading::before { justify-self: end; }
.advertising-heading::after { transform: scaleX(-1); }
.advertising-label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(7px, 1.25vw, 13px);
  min-width: 0;
  color: #faeef1;
  font-size: clamp(.96rem, 2.09vw, 1.57rem);
  font-weight: 900;
  letter-spacing: -.057em;
  line-height: 1.28;
  text-align: center;
  word-break: keep-all;
}
.advertising-label strong { color: #f5c799; font-weight: 900; }
.advertising-label .category-symbol {
  width: clamp(25px, 3.2vw, 34px);
  border-color: #825440;
  background: linear-gradient(145deg, #503022, #271720 73%);
}
.ad-feature { border-color: #8c414e; box-shadow: inset 0 1px #bc4d5d47, 0 5px 12px #0004; }
.ad-slot {
  --ad-base: #2a1620;
  --ad-glow: #a9425560;
  position: relative;
  box-sizing: border-box;
  align-self: start;
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 4 / 1;
  container-type: inline-size;
  border: 1px solid #51313a;
  background: radial-gradient(ellipse at 98% 12%, var(--ad-glow), transparent 56%),
    linear-gradient(118deg, var(--ad-base), #161014 75%);
  box-shadow: inset 0 1px #eb8c9b14;
}
@container (max-width: 10rem) {
  .ad-slot > span:last-child[aria-hidden] { display: none; }
  .ad-slot > span:first-child { font-size: min(1em, 12cqi); }
}
.ad-slot:has(> img:only-child),
.ad-slot:has(> a:only-child > img:only-child) {
  padding: 0;
  border: 0;
  border-radius: 0;
}
.ad-slot > a:only-child:has(> img:only-child),
.ad-slot > img:only-child,
.ad-slot > a:only-child > img:only-child {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
}
.ad-tone-2 { --ad-base: #28141a; --ad-glow: #90333d5c; }
.ad-tone-3 { --ad-base: #231824; --ad-glow: #69435773; }
.ad-tone-4 { --ad-base: #2b1a19; --ad-glow: #995c4257; }
.ad-slot span:last-child {
  display: grid;
  width: 23px;
  flex: none;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid #e28f9e3b;
  border-radius: 5px;
  background: #190f15a6;
  color: #ec9ca8;
}
.directory-guide {
  margin-top: 34px;
  padding: 17px 18px 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171013;
}
.directory-guide h2 { margin-bottom: 8px; font-size: 1.13rem; letter-spacing: -.055em; }
.directory-guide details { border-top: 1px solid #3b2329; }
.directory-guide summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding-block: 8px;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 750;
  list-style: none;
  word-break: keep-all;
}
.directory-guide summary::-webkit-details-marker { display: none; }
.directory-guide summary::after { content: "+"; color: var(--red); font-size: 1rem; }
.directory-guide details[open] summary::after { content: "−"; }
.directory-guide details p { margin: 0 0 13px; color: var(--muted); font-size: .85rem; word-break: keep-all; }
.directory-guide p a { text-decoration: underline; text-underline-offset: 3px; }
.directory-page .contact-strip { margin-top: 11px; }
.directory-page .contact-strip h2 { font-size: 1.13rem; }

@media (hover: hover) {
  .overview-heading a:hover { color: var(--red); }
  .directory-overview nav a:hover { background: #2e1a20; }
  .site-search button:hover { background: #b5253a; }
  .directory-guide summary:hover, .ad-feature:hover .ad-arrow { color: #ff99a1; }
  .inquiry-action:hover {
    transform: translateY(-1px);
    border-color: #e1788c;
    box-shadow: inset 0 1px #ffb2be3b, 0 3px 8px #170b11b3;
  }
  .inquiry-action:active { transform: translateY(1px); }
  .rank-inquiry a:hover .devil-rank::before { --rank-surface-position: 92% 50%; }
  .category-more summary:hover { background: #341b26; }
}

@media (min-width: 1160px) {
  .directory-overview .category-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .directory-overview .category-nav a { gap: 3px; padding-inline: 4px; font-size: .75rem; }
}

@media (min-width: 901px) and (min-height: 630px) {
  .directory-overview {
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #763b49 #211419;
  }
}

@media (max-width: 1080px) {
  .directory-content .directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 901px) and (max-width: 980px) {
  .directory-overview .overview-heading { column-gap: 6px; }
  .directory-overview .overview-heading h2 { font-size: .96rem; word-break: keep-all; }
  .directory-overview .shortcut-grid a { gap: 5px; padding-inline: 7px; font-size: .76rem; }
}

@media (max-width: 900px) {
  .directory-layout { grid-template-columns: minmax(0, 1fr); }
  .directory-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-overview .category-nav, .directory-overview .shortcut-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .directory-overview nav a { justify-content: center; padding-inline: 4px; }
  .inquiry-panel { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .directory-content .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .directory-overview { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

@media (min-width: 681px) and (max-width: 900px) {
  .directory-overview .category-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .directory-overview .category-nav a { gap: 3px; padding-inline: 3px; font-size: .75rem; }
  .directory-overview .shortcut-grid a {
    flex-direction: column;
    gap: 3px;
    font-size: .73rem;
    line-height: 1.2;
  }
  .directory-overview .shortcut-grid a span { width: 17px; height: 17px; }
}

@media (min-width: 601px) {
  .directory-page .footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .directory-page .footer-inner > a:first-child { justify-self: start; }
  .directory-page .footer-inner > a:last-child { justify-self: end; }
}

@media (max-width: 600px) {
  .directory-page .mastnav-entry { justify-content: center; line-height: 1.2; text-align: center; white-space: normal; word-break: keep-all; }
  .directory-main { padding-top: 12px; }
  .directory-intro {
    --crown-image-height: 100%;
    --crown-image-offset: -15px;
    min-height: 228px;
    gap: 0;
    padding: 22px 15px;
  }
  .directory-intro::before {
    background:
      linear-gradient(90deg, #120a0d 7%, #120a0de3 41%, #120a0d69 81%, #120a0d35),
      linear-gradient(0deg, #120a0d 8%, transparent 43%),
      url("devil-crown.webp") right var(--crown-image-offset) center / auto var(--crown-image-height) no-repeat;
  }
  .directory-intro h1 { font-size: clamp(1.83rem, 7.9vw, 3.2rem); }
  .directory-intro p { max-width: 280px; font-size: .83rem; }
  .site-search { margin-top: 17px; }
  .site-search input, .site-search button { min-height: 45px; }
  .site-search input { padding-right: 8px; font-size: .81rem; }
  .site-search button { padding-inline: 12px; }
  .directory-layout { gap: 10px; margin-top: 8px; }
  .overview-panel { padding: 7px 7px 8px; }
  .overview-heading { padding-inline: 3px; }
  .overview-heading h2 { font-size: .94rem; }
  .directory-overview .category-nav, .directory-overview .shortcut-grid { gap: 4px; }
  .category-nav a { font-size: .71rem; }
  .directory-overview .category-nav a::before { display: none; }
  .category-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-bottom: 6px; }
  .category-rail a { justify-content: center; min-height: 44px; padding-inline: 3px; }
  .directory-section > .section-heading { margin-bottom: 7px; }
  .category-card h3 { padding-inline: 6px; min-height: 44px; }
  .category-card .listing-row { --rank-column-width: 29px; min-height: 47px; gap: 5px; padding-inline: 5px; font-size: .78rem; }
  .site-domain { font-size: .65rem; white-space: normal; overflow-wrap: anywhere; }
  .rank { width: 20px; }
  .rank.devil-rank { width: 28px; }
  .directory-guide { margin-top: 26px; padding-inline: 12px; }
}

@media (max-width: 430px) {
  .directory-overview .category-nav, .category-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.category-guide-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px;
  border-top: 1px solid var(--line);
  color: #ffc1cc;
  font-size: .84rem;
  font-weight: 800;
  text-align: center;
}

@media (hover: hover) {
  .category-guide-link:hover {
    background: #341b26;
  }
}
