:root {
  --brand: #5b2384;
  --brand-dark: #36134f;
  --brand-soft: #f2eaf7;
  --accent: #d82d6d;
  --ink: #22232a;
  --muted: #6a6d78;
  --line: #dfe1e7;
  --soft-line: #eceef2;
  --surface: #ffffff;
  --page: #f4f5f7;
  --link: #2458a6;
  --danger: #b71845;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.site-shell { min-height: 100vh; }
.portal-wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }

/* Header */
.portal-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.utility-bar { min-height: 31px; background: #2d2632; color: rgba(255,255,255,.78); font-size: 11px; }
.utility-inner { min-height: 31px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.utility-inner nav { display: flex; align-items: center; gap: 20px; }
.utility-inner a:hover { color: #fff; text-decoration: underline; }
.adult-badge { padding: 2px 8px; background: #fff; color: #2d2632; font-weight: 700; }
.masthead { min-height: 82px; display: grid; grid-template-columns: 205px minmax(320px, 1fr) 170px; gap: 28px; align-items: center; }
.brand-mark { display: inline-flex; align-items: baseline; width: fit-content; color: #2d2632; font-weight: 900; font-size: 27px; letter-spacing: -.065em; line-height: 1; }
.brand-mark span { color: var(--brand); }
.header-brand { font-size: 34px; }
.portal-search { height: 42px; display: grid; grid-template-columns: 1fr 74px; border: 2px solid var(--brand); background: #fff; }
.portal-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.portal-search input { min-width: 0; border: 0; padding: 0 13px; color: var(--ink); outline: none; font-size: 13px; }
.portal-search input::placeholder { color: #9b9da5; }
.portal-search button { border: 0; background: var(--brand); color: #fff; cursor: pointer; font-weight: 700; }
.portal-search button:hover { background: var(--brand-dark); }
.masthead-note { justify-self: end; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.masthead-note strong { display: grid; place-items: center; width: 48px; height: 34px; background: var(--brand-soft); color: var(--brand); font-size: 14px; }
.category-bar { background: var(--brand); color: #fff; }
.category-scroll { min-height: 42px; display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.category-scroll button, .category-scroll a { flex: 0 0 auto; min-width: 112px; display: grid; place-items: center; padding: 0 15px; border: 0; border-right: 1px solid rgba(255,255,255,.16); background: transparent; color: #fff; font-size: 12px; cursor: pointer; }
.category-scroll button:first-child { border-left: 1px solid rgba(255,255,255,.16); }
.category-scroll button:hover, .category-scroll a:hover, .category-scroll button.is-active { background: rgba(0,0,0,.22); }
.headline-bar { border-bottom: 1px solid var(--line); background: #fff; }
.headline-inner { min-height: 42px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 13px; font-size: 12px; }
.headline-inner strong { padding: 2px 6px; background: var(--danger); color: #fff; text-align: center; font-size: 10px; }
.headline-inner p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.headline-inner a { color: var(--link); white-space: nowrap; }

/* Portal layout */
.portal-page { display: grid; grid-template-columns: 178px minmax(0, 1fr) 278px; gap: 16px; align-items: start; padding-block: 18px 42px; }
.left-sidebar, .right-sidebar, .main-column { min-width: 0; }
.left-sidebar, .right-sidebar { display: grid; gap: 14px; }
.main-column { width: 100%; max-width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; overflow: hidden; }
.main-column > *, .content-box, .side-box, .lead-story { min-width: 0; max-width: 100%; }
.content-box, .side-box, .lead-story { background: var(--surface); border: 1px solid var(--line); }
.side-box h2, .box-heading { margin: 0; border-bottom: 2px solid var(--brand); }
.side-box h2 { padding: 10px 11px 8px; font-size: 13px; }
.side-menu button { width: 100%; min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 11px; border: 0; border-bottom: 1px solid var(--soft-line); background: #fff; text-align: left; cursor: pointer; font-size: 12px; }
.side-menu button:last-child { border-bottom: 0; }
.side-menu button:hover, .side-menu button.is-active { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.side-menu small { color: #a0a2aa; font-size: 9px; font-weight: 400; }
.compact-links { display: grid; }
.compact-links a { padding: 8px 11px; border-bottom: 1px solid var(--soft-line); color: var(--link); font-size: 11px; }
.compact-links a:last-child { border-bottom: 0; }
.compact-links a::before { content: "›"; margin-right: 7px; color: #9b9da5; }
.compact-links a:hover { text-decoration: underline; }
.side-notice { padding: 12px; border: 1px solid #e7c3ce; background: #fff7f9; color: #6f233a; }
.side-notice strong { display: block; font-size: 11px; }
.side-notice p { margin: 5px 0 0; color: #7b5a65; font-size: 10px; line-height: 1.7; }

/* Lead story */
.lead-story { position: relative; padding: 15px; }
.lead-label { position: absolute; top: -1px; left: -1px; padding: 5px 10px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; }
.lead-content { display: grid; grid-template-columns: 190px 1fr; gap: 19px; align-items: center; padding-top: 18px; }
.lead-visual { min-height: 128px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; background: #392442; color: #fff; }
.lead-visual span { font-size: 24px; font-weight: 900; line-height: 1.05; letter-spacing: -.04em; }
.lead-visual small { font-size: 8px; letter-spacing: .12em; opacity: .65; }
.content-tag, .news-category { display: inline-block; color: var(--brand); background: var(--brand-soft); font-weight: 700; }
.content-tag { padding: 2px 7px; font-size: 10px; }
.lead-content h1 { margin: 7px 0 7px; font-size: 20px; line-height: 1.45; letter-spacing: -.02em; }
.lead-content p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.lead-content a { display: inline-block; margin-top: 8px; color: var(--link); font-size: 11px; font-weight: 700; }

/* Shared boxes */
.box-heading { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 12px 7px; }
.box-heading h2 { margin: 0; font-size: 15px; }
.box-heading span { display: block; margin-top: 1px; color: var(--muted); font-size: 9px; font-weight: 400; }
.box-heading > strong { color: var(--muted); font-size: 10px; }
.box-heading > a { color: var(--link); font-size: 10px; }
.news-row { min-height: 66px; display: grid; grid-template-columns: 45px 68px minmax(0, 1fr) 12px; gap: 9px; align-items: start; padding: 10px 12px; border-bottom: 1px solid var(--soft-line); }
.news-row:last-child { border-bottom: 0; }
.news-row:hover { background: #faf9fb; }
.news-row time { padding-top: 3px; color: #8b8d95; font-size: 9px; }
.news-category { margin-top: 1px; padding: 2px 5px; text-align: center; font-size: 9px; white-space: nowrap; }
.news-row h3 { margin: 0; font-size: 13px; line-height: 1.45; font-weight: 700; }
.news-row h3 a { color: var(--link); }
.news-row h3 b { margin-left: 7px; padding: 1px 4px; border: 1px solid #e6b9c6; color: var(--danger); font-size: 8px; }
.news-row p { margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.row-arrow { padding-top: 4px; color: #a6a8af; }
.empty-state { padding: 36px 20px; text-align: center; }
.empty-state strong { display: block; margin-bottom: 10px; font-size: 12px; }
.empty-state button { border: 0; border-bottom: 1px solid var(--link); background: none; color: var(--link); cursor: pointer; font-size: 11px; }

/* Site ranking directory */
.directory-heading { min-height: 51px; }
.directory-heading h2 { font-size: 17px; }
.directory-heading > strong { color: var(--brand); }
.ranking-tabs { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 12px; border: 1px solid var(--line); border-bottom: 0; }
.ranking-tabs button { min-height: 38px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 700; }
.ranking-tabs button:last-child { border-right: 0; }
.ranking-tabs button:hover, .ranking-tabs button.is-active { background: var(--brand); color: #fff; }
.ranking-groups { padding: 0 12px 12px; }
.ranking-group { border: 1px solid var(--line); border-top: 0; }
.ranking-group h3 { margin: 0; padding: 9px 12px; border-bottom: 1px solid var(--line); background: #fafafb; font-size: 12px; }
.ranking-group ol { margin: 0; padding: 0; list-style: none; }
.ranking-group li { min-height: 77px; display: grid; grid-template-columns: 35px 40px minmax(0, 1fr) 82px; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--soft-line); }
.ranking-group li:last-child { border-bottom: 0; }
.directory-rank { color: var(--brand); font-size: 22px; font-weight: 900; text-align: center; }
.ranking-group li:first-child .directory-rank { color: var(--danger); }
.site-initial { width: 38px; height: 38px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 15px; font-weight: 900; }
.directory-copy h4 { margin: 0; font-size: 13px; }
.directory-copy p { margin: 2px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.directory-copy small { display: inline-block; margin-top: 3px; color: #9698a0; font-size: 8px; }
.ranked-site-link { padding: 7px 5px; border: 1px solid var(--brand); color: var(--brand); text-align: center; font-size: 9px; font-weight: 700; }
.ranked-site-link:hover { background: var(--brand); color: #fff; }

/* Affiliate recommendations */
.pr-badge { padding: 2px 6px; background: var(--danger); color: #fff !important; font-size: 9px !important; }
.affiliate-notice { margin: 12px; padding: 8px 10px; border: 1px solid #ead4dc; background: #fff7fa; color: #765563; font-size: 9px; }
.affiliate-notice strong { margin-right: 5px; color: var(--danger); }
.offer-category { margin: 0 12px 15px; }
.offer-category > header { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.offer-category > header h3 { margin: 0; font-size: 12px; }
.offer-category > header span { color: var(--muted); font-size: 9px; }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 10px; }
.offer-card { min-width: 0; display: grid; grid-template-columns: 105px minmax(0, 1fr); border: 1px solid var(--line); background: #fff; }
.offer-thumb { min-height: 133px; position: relative; display: grid; place-items: center; padding: 10px; background: #35233e; color: #fff; overflow: hidden; text-align: center; text-decoration: none; }
.offer-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #35233e; }
.offer-thumb > span { font-size: 12px; font-weight: 800; line-height: 1.4; }
.offer-thumb b { position: absolute; top: 5px; left: 5px; padding: 1px 5px; background: #fff; color: var(--danger); font-size: 8px; }
.offer-body { min-width: 0; display: flex; flex-direction: column; padding: 10px; }
.provider-label, .promo-label { display: inline-block; padding: 1px 5px; font-size: 8px; }
.provider-label { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.promo-label { margin-left: 4px; border: 1px solid #e7bdca; color: var(--danger); }
.offer-body h4 { margin: 6px 0 3px; font-size: 12px; line-height: 1.45; }
.offer-body p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.offer-body footer { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: auto; padding-top: 8px; }
.offer-body footer strong { color: var(--danger); font-size: 9px; }
.offer-body footer a { padding: 5px 7px; background: var(--brand); color: #fff; font-size: 8px; font-weight: 700; }
.offer-body footer a:hover { background: var(--brand-dark); }
.offer-actions { display: flex; align-items: center; gap: 4px; }
.offer-body footer .sample-link { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.offer-body footer .sample-link:hover { background: #f3eef6; }
.feed-source { display: block; margin-top: 6px; color: var(--muted); font-size: 8px; }
.affiliate-showcase, .offer-category, .offer-grid, .offer-card, .offer-body { min-width: 0; max-width: 100%; }
.offer-body h4, .offer-body p, .directory-copy, .news-row h3 { overflow-wrap: anywhere; }
.dlsite-feed { width: 100%; min-width: 0; max-width: 100%; margin: 12px 0 0; padding: 10px; border: 1px solid var(--line); background: #fafafa; overflow-x: auto; contain: inline-size; }
.dlsite-feed > *, .dlsite-feed iframe { max-width: 100% !important; }
.dlsite-feed iframe { display: block; width: 100% !important; border: 0; }
.dlsite-feed > h4 { margin: 0 0 8px; color: #6b43a5; font-size: 11px; }
.dmm-credit { margin: 4px 12px 14px; color: var(--muted); font-size: 9px; text-align: right; }
.dmm-credit a { color: var(--brand); text-decoration: underline; }

/* Category modules */
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.category-module ol, .ranking-box ol { margin: 0; padding: 0; list-style: none; }
.category-module li { min-height: 39px; display: grid; grid-template-columns: 25px 1fr; align-items: center; gap: 7px; padding: 6px 11px; border-bottom: 1px solid var(--soft-line); }
.category-module li:last-child { border-bottom: 0; }
.category-module li span { color: #aaacb3; font-size: 9px; }
.category-module li a { color: var(--link); font-size: 11px; line-height: 1.45; }
.category-module li a:hover { text-decoration: underline; }
.policy-strip { padding: 15px; border: 1px solid var(--line); background: #fff; }
.policy-strip h2 { margin: 0 0 11px; padding-bottom: 8px; border-bottom: 2px solid var(--brand); font-size: 15px; }
.policy-strip > div { display: grid; grid-template-columns: repeat(3, 1fr); }
.policy-strip article { padding: 3px 14px; border-right: 1px solid var(--line); }
.policy-strip article:first-child { padding-left: 0; }
.policy-strip article:last-child { border-right: 0; padding-right: 0; }
.policy-strip strong { font-size: 11px; }
.policy-strip p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.65; }

/* Right rail */
.ranking-box li { min-height: 55px; display: grid; grid-template-columns: 29px 1fr; gap: 8px; align-items: center; padding: 7px 10px; border-bottom: 1px solid var(--soft-line); }
.ranking-box li:last-child { border-bottom: 0; }
.rank-num { color: var(--brand); font-size: 17px; font-weight: 800; text-align: center; }
.ranking-box li:nth-child(-n+3) .rank-num { color: var(--danger); }
.ranking-box small { display: block; color: var(--muted); font-size: 8px; }
.ranking-box strong { display: block; color: var(--link); font-size: 11px; line-height: 1.45; }
.info-box ul, .check-box ul { margin: 0; padding: 0; list-style: none; }
.info-box li { display: grid; grid-template-columns: 42px 1fr; gap: 7px; padding: 9px 10px; border-bottom: 1px solid var(--soft-line); }
.info-box li:last-child { border-bottom: 0; }
.info-box time { color: var(--muted); font-size: 9px; }
.info-box a { color: var(--link); font-size: 10px; line-height: 1.5; }
.check-box ul { display: grid; grid-template-columns: repeat(2, 1fr); padding: 8px; gap: 6px; }
.check-box li { padding: 7px 6px; background: #f7f7f9; color: #555862; font-size: 9px; text-align: center; }
.check-box li::before { content: "✓"; margin-right: 3px; color: var(--brand); font-weight: 800; }
.policy-box { padding: 13px; background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }
.policy-box h2 { margin: 0; font-size: 14px; }
.policy-box p { margin: 7px 0 10px; color: rgba(255,255,255,.72); font-size: 10px; line-height: 1.7; }
.policy-box a { display: block; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.2); font-size: 10px; font-weight: 700; }

/* Footer */
.portal-footer { background: #2d2632; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-block: 28px 22px; }
.footer-brand { color: #fff; font-size: 25px; }
.footer-grid p { margin: 8px 0 0; color: rgba(255,255,255,.58); font-size: 10px; }
.footer-grid nav { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 10px 20px; color: rgba(255,255,255,.72); font-size: 10px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.46); font-size: 9px; }

/* Age gate */
.age-gate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.age-backdrop { position: absolute; inset: 0; background: rgba(27,22,30,.92); }
.age-panel { position: relative; z-index: 1; width: min(430px, 100%); padding: 34px; border: 1px solid #d5d6dc; background: #fff; color: var(--ink); text-align: center; box-shadow: 0 18px 60px rgba(0,0,0,.3); }
.age-panel .brand-mark { margin: 0 auto 18px; font-size: 28px; }
.age-kicker { margin: 0 0 7px; color: var(--danger); font-size: 10px; font-weight: 700; }
.age-panel h1 { margin: 0; font-size: 20px; line-height: 1.5; }
.age-copy { margin: 12px 0 19px; color: var(--muted); font-size: 11px; }
.primary-button { width: 100%; min-height: 43px; border: 0; background: var(--brand); color: #fff; cursor: pointer; font-weight: 700; }
.primary-button:hover { background: var(--brand-dark); }
.text-button { margin-top: 12px; border: 0; border-bottom: 1px solid #999ca4; background: none; color: var(--muted); cursor: pointer; font-size: 10px; }
.age-footnote { margin: 17px 0 0; color: #9b9da5; font-size: 8px; }

[hidden] { display: none !important; }

@media (max-width: 1040px) {
  .masthead { grid-template-columns: 180px 1fr; }
  .masthead-note { display: none; }
  .portal-page { grid-template-columns: 165px minmax(0, 1fr); }
  .right-sidebar { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .right-sidebar .policy-box { grid-column: span 3; }
}

@media (max-width: 760px) {
  .portal-wrap { width: min(100% - 20px, 1180px); }
  .utility-inner > span { display: none; }
  .utility-inner { justify-content: flex-end; }
  .utility-inner nav { gap: 12px; }
  .masthead { min-height: 105px; display: flex; flex-wrap: wrap; gap: 9px; padding-block: 11px; }
  .header-brand { font-size: 29px; }
  .portal-search { width: 100%; order: 2; height: 39px; }
  .category-scroll { width: 100%; }
  .category-scroll button, .category-scroll a { min-width: 98px; min-height: 40px; }
  .headline-inner { grid-template-columns: 42px 1fr; }
  .headline-inner a { display: none; }
  .portal-page { display: flex; flex-direction: column; padding-top: 10px; }
  .main-column { width: 100%; order: 1; }
  .left-sidebar { width: 100%; order: 2; }
  .right-sidebar { width: 100%; order: 3; display: grid; grid-template-columns: 1fr; }
  .right-sidebar .policy-box { grid-column: auto; }
  .side-menu { display: none; }
  .left-sidebar { grid-template-columns: 1fr 1fr; }
  .side-notice { min-height: 100%; }
  .lead-content { grid-template-columns: 125px 1fr; gap: 12px; }
  .lead-visual { min-height: 112px; padding: 12px; }
  .lead-visual span { font-size: 18px; }
  .lead-content h1 { font-size: 16px; }
  .lead-content p { display: none; }
  .news-row { grid-template-columns: 36px 60px minmax(0, 1fr); padding-inline: 9px; }
  .news-row p, .row-arrow { display: none; }
  .news-row h3 { font-size: 12px; }
  .module-grid { grid-template-columns: 1fr; }
  .ranking-tabs { grid-template-columns: repeat(5, 100px); overflow-x: auto; }
  .ranking-group li { grid-template-columns: 27px 34px minmax(0, 1fr); gap: 7px; }
  .site-initial { width: 32px; height: 32px; }
  .directory-copy p { display: none; }
  .ranked-site-link { grid-column: 3; justify-self: start; padding: 3px 8px; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { grid-template-columns: 92px minmax(0, 1fr); }
  .offer-thumb { min-height: 125px; }
  .policy-strip > div { grid-template-columns: 1fr; }
  .policy-strip article { padding: 9px 0; border-right: 0; border-bottom: 1px solid var(--soft-line); }
  .policy-strip article:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid nav { justify-content: flex-start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; padding-block: 12px; }
}

@media (max-width: 430px) {
  .utility-inner nav a { display: none; }
  .lead-content { grid-template-columns: 92px 1fr; }
  .lead-visual { min-height: 96px; }
  .lead-visual span { font-size: 14px; }
  .lead-content h1 { font-size: 14px; line-height: 1.45; }
  .left-sidebar { grid-template-columns: 1fr; }
  .age-panel { padding: 28px 20px; }
}

/* Featured ranking v5 */
.featured-directory { overflow: hidden; }
.featured-directory .directory-heading { min-height: 58px; }
.featured-directory .directory-heading h2 { font-size: 18px; }
.featured-directory .directory-heading span { display: block; margin-top: 3px; font-size: 9px; }
.featured-directory .ranking-tabs { margin: 0; border-left: 0; border-right: 0; }
.featured-directory .ranking-groups { padding: 0; }
.featured-directory .ranking-group { border: 0; }
.featured-directory .ranking-group h3 { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: #faf7fb; }
.featured-directory .ranking-group h3 span { color: var(--brand); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.featured-directory .ranking-group li { position: relative; min-height: 54px; grid-template-columns: 32px 32px minmax(0, 1fr) 84px; gap: 8px; padding: 7px 12px; }
.featured-directory .directory-rank { font-size: 18px; }
.featured-directory .site-initial { width: 30px; height: 30px; font-size: 12px; }
.featured-directory .directory-copy h4 { font-size: 12px; }
.featured-directory .directory-copy small { margin-top: 2px; }
.site-detail-button { min-height: 30px; padding: 5px 7px; border: 1px solid var(--brand); background: #fff; color: var(--brand); cursor: pointer; font-size: 9px; font-weight: 800; white-space: nowrap; }
.site-detail-button:hover,
.site-detail-button[aria-expanded="true"] { background: var(--brand); color: #fff; }
.site-detail-panel { grid-column: 2 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 88px; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-left: 3px solid var(--brand); background: #f8f5fa; }
.site-detail-panel[hidden] { display: none; }
.site-detail-panel p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.site-detail-panel .ranked-site-link { display: block; padding: 7px 5px; }
.featured-directory .ranking-group li:nth-child(1) .directory-rank { color: #d19a00; }
.featured-directory .ranking-group li:nth-child(2) .directory-rank { color: #858b95; }
.featured-directory .ranking-group li:nth-child(3) .directory-rank { color: #a66b3b; }

@media (max-width: 760px) {
  .featured-directory .directory-heading { align-items: flex-start; }
  .featured-directory .directory-heading h2 { font-size: 15px; }
  .featured-directory .directory-heading span { font-size: 8px; }
  .featured-directory .ranking-tabs { grid-template-columns: repeat(5, 82px); }
  .featured-directory .ranking-group li { grid-template-columns: 25px 28px minmax(0, 1fr) 74px; gap: 6px; padding: 7px 8px; }
  .featured-directory .directory-rank { font-size: 16px; }
  .featured-directory .site-initial { width: 28px; height: 28px; }
  .featured-directory .directory-copy h4 { font-size: 11px; }
  .site-detail-button { padding: 5px 4px; font-size: 8px; }
  .site-detail-panel { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; }
}

/* Compact ranking v6 */
.featured-directory .ranking-group li {
  min-height: 42px;
  grid-template-columns: 24px minmax(0, 1fr) 76px;
  gap: 8px;
  padding: 4px 12px;
}
.featured-directory .directory-rank {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}
.featured-directory .directory-copy {
  min-width: 0;
}
.featured-directory .directory-copy h4 {
  overflow: hidden;
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.featured-directory .site-detail-button {
  min-height: 26px;
  padding: 3px 6px;
  font-size: 8px;
}
.featured-directory .site-detail-panel {
  padding: 7px 9px;
}
.featured-directory .site-detail-panel p {
  line-height: 1.45;
}

@media (max-width: 760px) {
  .featured-directory .ranking-group li {
    min-height: 38px;
    grid-template-columns: 22px minmax(0, 1fr) 68px;
    gap: 5px;
    padding: 3px 8px;
  }
  .featured-directory .directory-rank {
    font-size: 14px;
    font-weight: 500;
  }
  .featured-directory .directory-copy h4 {
    font-size: 10px;
  }
  .featured-directory .site-detail-button {
    min-height: 24px;
    padding: 2px 4px;
    font-size: 8px;
  }
}

/* Official site favicons v7 */
.featured-directory .ranking-group li {
  grid-template-columns: 24px 26px minmax(0, 1fr) 76px;
}
.site-favicon {
  position: relative;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #ece7ef;
  border-radius: 5px;
  background: #f6f1f8;
  color: var(--brand);
}
.site-favicon::before {
  position: absolute;
  content: "☾";
  font-size: 14px;
  line-height: 1;
}
.site-favicon img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 2px;
  object-fit: contain;
  background: #fff;
}

@media (max-width: 760px) {
  .featured-directory .ranking-group li {
    grid-template-columns: 22px 24px minmax(0, 1fr) 68px;
  }
  .site-favicon {
    width: 22px;
    height: 22px;
  }
  .site-favicon::before {
    font-size: 13px;
  }
}

/* Edge-to-edge favicons v8 */
.site-favicon {
  border: 0;
  background: #f6f1f8;
}
.site-favicon img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  border-radius: inherit;
}

/* Subtle dimensional favicons v9 */
.site-favicon {
  box-shadow:
    0 1px 2px rgba(31, 17, 39, .22),
    0 0 0 1px rgba(31, 17, 39, .08);
}
.site-favicon::before {
  z-index: 1;
}
.site-favicon::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, .34) 0%,
    rgba(255, 255, 255, .08) 42%,
    rgba(24, 10, 32, .12) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .38),
    inset 0 -1px 0 rgba(24, 10, 32, .10);
  content: "";
  pointer-events: none;
}

/* Dense commerce layout v10 */
.affiliate-showcase {
  overflow: hidden;
}
.affiliate-showcase .affiliate-notice {
  margin: 8px 10px;
  padding: 5px 8px;
  font-size: 8px;
  line-height: 1.5;
}
.affiliate-showcase .offer-category {
  margin: 0 10px 10px;
}
.affiliate-showcase .offer-category > header {
  min-height: 29px;
}
.affiliate-showcase .offer-category > header h3 {
  font-size: 11px;
}
.affiliate-showcase .offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding-top: 6px;
}
.affiliate-showcase .offer-card {
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 90px;
}
.affiliate-showcase .offer-thumb {
  min-height: 90px;
  padding: 0;
}
.affiliate-showcase .offer-thumb b {
  top: 3px;
  left: 3px;
  padding: 1px 3px;
  font-size: 7px;
}
.affiliate-showcase .offer-body {
  padding: 6px;
}
.affiliate-showcase .provider-label,
.affiliate-showcase .promo-label {
  padding: 1px 3px;
  font-size: 7px;
}
.affiliate-showcase .offer-body h4 {
  display: -webkit-box;
  overflow: hidden;
  margin: 4px 0 2px;
  font-size: 9px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.affiliate-showcase .offer-body footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px;
  margin-top: auto;
  padding-top: 4px;
}
.affiliate-showcase .offer-body footer strong {
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.affiliate-showcase .offer-actions {
  gap: 2px;
}
.affiliate-showcase .offer-body footer a {
  padding: 3px 4px;
  font-size: 7px;
  white-space: nowrap;
}
.affiliate-showcase .dlsite-feed {
  margin-top: 7px;
  padding: 7px;
}
.affiliate-showcase .dmm-credit {
  margin: 3px 10px 10px;
  font-size: 8px;
}

/* FANZA video ranking widget */
.fanza-video-widget ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.fanza-video-widget li {
  display: grid;
  grid-template-columns: 20px 88px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-height: 62px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--soft-line);
}
.fanza-video-widget li:last-child {
  border-bottom: 0;
}
.fanza-rank-num {
  color: var(--brand);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}
.fanza-video-widget li:nth-child(-n + 3) .fanza-rank-num {
  color: var(--danger);
}
.fanza-rank-thumb {
  position: relative;
  display: block;
  width: 88px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  background: #34243c;
  color: #fff;
}
.fanza-rank-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #34243c;
}
.fanza-rank-thumb > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
}
.fanza-rank-copy {
  min-width: 0;
}
.fanza-rank-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-size: 9px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.fanza-rank-copy h3 a:hover {
  color: var(--link);
  text-decoration: underline;
}
.fanza-rank-copy strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--danger);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .affiliate-showcase .offer-grid {
    grid-template-columns: 1fr;
  }
  .affiliate-showcase .offer-card {
    grid-template-columns: 84px minmax(0, 1fr);
    min-height: 86px;
  }
  .affiliate-showcase .offer-thumb {
    min-height: 86px;
  }
  .fanza-video-widget li {
    grid-template-columns: 22px 108px minmax(0, 1fr);
  }
  .fanza-rank-thumb {
    width: 108px;
  }
}

/* Streamlined portal layout v11 */
.masthead {
  grid-template-columns: 200px minmax(0, 1fr);
}
.fanza-video-widget li {
  grid-template-columns: 18px 74px minmax(0, 1fr);
  gap: 5px;
  min-height: 52px;
  padding: 4px 7px;
}
.fanza-rank-num {
  font-size: 14px;
}
.fanza-rank-thumb {
  width: 74px;
}
.fanza-rank-copy h3 {
  font-size: 8px;
  line-height: 1.3;
}
.fanza-rank-copy strong {
  margin-top: 2px;
  font-size: 7px;
}

@media (max-width: 1040px) {
  .masthead {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .right-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .fanza-video-widget li {
    grid-template-columns: 20px 96px minmax(0, 1fr);
  }
  .fanza-rank-thumb {
    width: 96px;
  }
}

/* Two-column video recommendations v12 */
.affiliate-showcase .offer-category[data-category="動画・配信"] .offer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.affiliate-showcase .offer-category[data-category="動画・配信"] .offer-card {
  grid-template-columns: 124px minmax(0, 1fr);
  min-height: 70px;
}
.affiliate-showcase .offer-category[data-category="動画・配信"] .offer-thumb {
  width: 124px;
  min-height: 0;
  aspect-ratio: 16 / 9;
  align-self: center;
}
.affiliate-showcase .offer-category[data-category="動画・配信"] .offer-body h4 {
  -webkit-line-clamp: 2;
}

@media (max-width: 760px) {
  .affiliate-showcase .offer-category[data-category="動画・配信"] .offer-grid {
    grid-template-columns: 1fr;
  }
  .affiliate-showcase .offer-category[data-category="動画・配信"] .offer-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }
  .affiliate-showcase .offer-category[data-category="動画・配信"] .offer-thumb {
    width: 112px;
  }
}

/* Direct ranking links v14 */
.featured-directory .ranking-group li {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
}
.ranked-site-main-link {
  display: block;
  min-width: 0;
  color: inherit;
}
.ranked-site-main-link .directory-copy {
  min-width: 0;
  overflow: hidden;
}
.ranked-site-name {
  display: inline-block;
  max-width: 100%;
  padding-bottom: 2px;
  overflow: hidden;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  transition: background-size .24s ease;
  white-space: nowrap;
}
.ranked-site-main-link:focus-visible {
  outline: 2px solid rgba(91, 39, 126, .28);
  outline-offset: 3px;
}
.ranked-site-main-link:focus-visible .ranked-site-name {
  background-size: 100% 1px;
}

@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  .ranked-site-main-link:hover .ranked-site-name {
    background-size: 100% 1px;
  }
}

@media (max-width: 760px) {
  .featured-directory .ranking-group li {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 5px;
  }
  .ranked-site-name {
    font-size: 10px;
  }
}

/* Vertically centered ranking names v15 */
.ranked-site-main-link .directory-copy {
  display: flex;
  align-items: center;
  min-height: 24px;
}
.ranked-site-name {
  padding-bottom: 0;
  background-position: 0 calc(100% - 2px);
  line-height: 24px;
}

@media (max-width: 760px) {
  .ranked-site-main-link .directory-copy {
    min-height: 22px;
  }
  .ranked-site-name {
    line-height: 22px;
  }
}
			