:root {
  --bg: #f7f4ef;
  --ink: #1e2024;
  --muted: #676b73;
  --line: #d9d3ca;
  --panel: #fffdf8;
  --accent: #b2323a;
  --accent-2: #145b63;
  --soft: #e9e1d5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(56px, 8vw, 100px) clamp(18px, 6vw, 88px) 48px;
  background: #181b1f;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 12, 14, 0.46);
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 760px;
}

.hero .eyebrow {
  color: #9fd3cc;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
}

.button.primary {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.button.secondary {
  background: transparent;
}

.hero-panel {
  display: grid;
  gap: 8px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(30, 32, 36, 0.08);
}

.hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: 72%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-panel strong {
  font-size: 34px;
  line-height: 1.1;
}

.panel-label,
.hero-panel span:last-child {
  color: var(--muted);
}

.notice {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.notice span {
  color: rgba(255, 255, 255, 0.75);
}

.band {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 6vw, 88px);
}

.band.muted {
  background: var(--soft);
}

.home-entry {
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(34px, 5vw, 60px);
  background: #fffaf7;
}

.home-entry-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: stretch;
}

.home-entry-main,
.home-entry-card {
  border: 1px solid rgba(30, 32, 36, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(30, 32, 36, 0.06);
}

.home-entry-main {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(20px, 3vw, 30px);
}

.home-entry-main h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.home-entry-main p:not(.eyebrow) {
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 800;
}

.home-search-jump {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 8px;
}

.home-search-jump input {
  width: 100%;
  min-height: 56px;
  min-width: 0;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
}

.home-search-jump button {
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.home-entry-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-entry-card {
  display: grid;
  gap: 6px;
  min-height: 132px;
  align-content: center;
  padding: 18px;
  transition:
    border-color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.home-entry-card:hover,
.home-entry-card:focus-visible {
  border-color: rgba(20, 91, 99, 0.4);
  box-shadow: 0 18px 38px rgba(30, 32, 36, 0.09);
  transform: translateY(-1px);
  outline: 0;
}

.home-entry-card span {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(20, 91, 99, 0.1);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
}

.home-entry-card strong {
  font-size: 18px;
  line-height: 1.25;
}

.home-entry-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.home-entry-card.is-strong {
  background: var(--ink);
  color: #fff;
}

.home-entry-card.is-strong span {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.home-entry-card.is-strong em {
  color: rgba(255, 255, 255, 0.74);
}

.section-heading {
  max-width: 1040px;
  margin: 0 auto 28px;
}

.grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.portal-search {
  max-width: 1040px;
  margin: 0 auto 20px;
  display: grid;
  gap: 14px;
}

.portal-search label {
  font-weight: 800;
}

.portal-search input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
}

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-chips button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.quick-chips button.is-active,
.quick-chips button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.search-result-count {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.search-active-filter {
  margin: -6px 0 0;
  padding: 10px 12px;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.search-empty {
  max-width: 1040px;
  margin: 14px auto 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font-weight: 800;
}

.taste-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.taste-grid a {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(30, 32, 36, 0.16);
  border-radius: 8px;
  background: var(--panel);
}

.taste-grid strong {
  font-size: 20px;
  line-height: 1.2;
}

.taste-grid span {
  color: var(--muted);
  font-size: 14px;
}

.card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card p {
  color: var(--muted);
}

.tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.text-link {
  color: var(--accent-2);
  font-weight: 800;
}

.rank-list,
.table-wrap,
.policy p,
.feature-row {
  max-width: 1040px;
  margin: 0 auto;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.rank-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(180px, 260px);
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(30, 32, 36, 0.18);
}

.rank-row span {
  color: var(--accent);
  font-weight: 900;
}

.rank-row em {
  color: var(--muted);
  font-style: normal;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: #efe8dd;
}

tr:last-child td {
  border-bottom: 0;
}

.policy p {
  color: var(--muted);
  font-size: 18px;
}

.link-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.link-grid a {
  display: flex;
  min-height: 64px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  font-weight: 800;
}

.sitemap-page .article section {
  margin-top: 34px;
}

.sitemap-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.sitemap-link-grid a {
  display: grid;
  gap: 4px;
  min-height: 72px;
  align-content: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.sitemap-link-grid strong {
  font-size: 14px;
  line-height: 1.35;
}

.sitemap-link-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.actress-link-grid {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.actress-link-grid a {
  min-height: 42px;
  justify-content: center;
  padding: 10px 12px;
  font-size: 13px;
}

.actress-category-stack {
  max-width: 1040px;
  margin: 0 auto 18px;
  display: grid;
  gap: 28px;
}

.actress-category-block {
  display: grid;
  gap: 12px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 760px;
}

.actress-category-block[hidden] {
  display: none;
}

.actress-category-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.actress-category-heading h3 {
  margin: 0 0 4px;
  font-size: clamp(21px, 3vw, 28px);
}

.actress-category-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.actress-category-heading span {
  flex: 0 0 auto;
  color: var(--accent-2);
  font-weight: 900;
}

.actress-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.popular-actress-grid {
  max-width: 1040px;
  margin: 0 auto;
}

.actress-visual-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  min-height: 94px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(30, 32, 36, 0.05);
  transition:
    border-color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
  content-visibility: auto;
  contain-intrinsic-size: 1px 94px;
}

.popular-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--accent-2);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(8, 94, 103, 0.2);
}

.trending-rank {
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(165, 29, 45, 0.2);
}

.trending-actress-card .actress-card-copy small {
  display: -webkit-box;
  overflow: hidden;
  min-width: 0;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.trending-actress-card .actress-card-action {
  min-width: 48px;
  padding: 0 10px;
}

.actress-visual-card:hover {
  border-color: rgba(20, 91, 99, 0.42);
  box-shadow: 0 14px 28px rgba(30, 32, 36, 0.08);
  transform: translateY(-1px);
}

.actress-visual-card[hidden] {
  display: none;
}

.actress-avatar {
  display: block;
  overflow: hidden;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #000;
}

.actress-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.actress-card-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.actress-card-copy strong {
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.2;
}

.actress-card-copy em,
.actress-card-copy small {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.actress-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(20, 91, 99, 0.28);
  border-radius: 999px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.article-layout {
  padding: 22px 12px 40px;
}

.article {
  max-width: 840px;
  margin: 0 auto;
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.wide-article {
  max-width: 1120px;
}

.article h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
}

.article h2 {
  margin: 34px 0 12px;
  font-size: clamp(24px, 3vw, 32px);
}

.article p,
.article td {
  color: var(--muted);
}

.article-meta {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.article table {
  min-width: 0;
  margin-top: 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.article th {
  width: 180px;
}

.contact-box {
  display: grid;
  gap: 6px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.notice-box {
  margin: 28px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.notice-box p {
  margin-bottom: 0;
}

.answer-box {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(210, 37, 64, 0.22);
  border-radius: 8px;
  background: #fff7f8;
}

.answer-box strong {
  color: var(--accent);
  font-size: 14px;
}

.answer-box p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.65;
}

.intent-section {
  margin: 26px 0;
}

.intent-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.intent-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.style-switcher {
  display: flex;
  gap: 8px;
  margin: -8px 0 18px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.style-switcher a,
.style-switcher span {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.style-switcher [aria-current="page"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.ranking-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 20px;
}

.ranking-summary div {
  display: grid;
  gap: 4px;
  min-height: 64px;
  align-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ranking-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ranking-summary strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.ranking-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.faq-section {
  margin-top: 36px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 16px 16px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.target-preview-grid {
  margin-bottom: 24px;
}

.target-video-section {
  margin-top: 8px;
}

.target-video-section > h2 {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.target-video-section .target-preview-grid {
  margin-top: 8px;
}

.target-preview-card {
  border-color: rgba(165, 29, 45, 0.34);
  background: #fffaf7;
}

.ranking-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
}

.ranking-media a {
  position: relative;
  display: block;
}

.media-sample-shell {
  position: relative;
  display: block;
  overflow: hidden;
  background: #000;
}

.media-sample {
  display: grid;
}

.media-sample summary {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
  list-style: none;
}

.media-sample summary::-webkit-details-marker {
  display: none;
}

.ranking-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.media-sample summary::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 36%, rgba(0, 0, 0, 0.32));
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: rgba(30, 32, 36, 0.72);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  z-index: 2;
}

.play-badge::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid #fff;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(18, 20, 24, 0.72);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.video-play-button[hidden] {
  display: none;
}

.video-play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 21px solid #fff;
}

.video-play-button:hover,
.video-play-button:focus-visible {
  background: rgba(238, 39, 55, 0.86);
  outline: none;
}

.media-sample-shell.needs-play .sample-label {
  background: rgba(238, 39, 55, 0.88);
}

.sample-label {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(30, 32, 36, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.media-rank,
.media-fit {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.media-rank {
  top: 10px;
  left: 10px;
  padding: 0 13px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

.media-fit {
  left: 10px;
  bottom: 10px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12px;
}

.ranking-media .media-continue {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d2f, #d91535 58%, #a70f27);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease;
}

.ranking-media .media-continue::after {
  content: ">";
  margin-left: 7px;
  font-size: 14px;
  line-height: 1;
}

.ranking-media .media-continue:hover,
.ranking-media .media-continue:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
  outline: none;
}

.official-label {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.media-sample iframe {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 0;
  border-top: 1px solid var(--line);
  background: #000;
}

.auto-preview {
  background: #000;
}

.auto-preview iframe {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 0;
  background: #000;
}

.sample-video {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
  background: #000;
}

.sample-image-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #08090b;
}

.sample-image-strip a {
  display: block;
}

.sample-image-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  background: #111;
}

.media-sample[open] .play-badge,
.media-sample[open] .sample-label {
  display: none;
}

.media-sample[open] summary {
  min-height: 42px;
  padding: 10px 12px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.media-sample[open] summary::before {
  content: "サンプル動画を表示中";
}

.media-sample[open] summary::after {
  content: "閉じる";
  position: absolute;
  right: 12px;
  inset: auto 12px auto auto;
  background: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.media-sample[open] summary img {
  display: none;
}

.ranking-body {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.ranking-body h3 {
  overflow-wrap: anywhere;
}

.style-reason {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.ranking-head {
  display: grid;
  grid-template-columns: 42px 58px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.ranking-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-2);
  color: #fff;
  font-weight: 900;
}

.actress-face {
  display: block;
  overflow: hidden;
  width: 58px;
  height: 58px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #000;
  box-shadow: 0 6px 18px rgba(30, 32, 36, 0.14);
}

.actress-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.review-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}

.stars {
  color: #f2a500;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
}

.review-summary strong {
  color: var(--accent);
  font-size: 17px;
}

.review-summary a {
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 800;
}

.score-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.score-list div {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.score-list dt {
  color: var(--muted);
  font-size: 12px;
}

.score-list dd {
  margin: 4px 0 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.trust-line {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.trust-line strong {
  color: var(--accent);
  font-size: 18px;
}

.trust-line span {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.affiliate-cta {
  position: relative;
  width: 100%;
  min-height: 58px;
  padding: 0 22px;
  border: 0;
  background: linear-gradient(135deg, #d91f35, #b5122d 58%, #7f0b22);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 0 14px 28px rgba(178, 50, 58, 0.26);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease;
}

.affiliate-cta::after {
  content: "公式で確認";
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 10px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.affiliate-cta:hover,
.affiliate-cta:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 18px 34px rgba(178, 50, 58, 0.34);
  outline: 3px solid rgba(217, 31, 53, 0.2);
  outline-offset: 2px;
}

.button.primary.affiliate-cta {
  border-color: transparent;
  background: linear-gradient(135deg, #d91f35, #b5122d 58%, #7f0b22);
  color: #fff;
  text-decoration: none;
}

.ranking-page .button.primary.affiliate-cta {
  display: inline-flex;
  visibility: visible;
  opacity: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 58px;
  background: linear-gradient(135deg, #d91f35, #b5122d 58%, #7f0b22);
  color: #fff;
  text-align: center;
}

.ranking-card:first-child .affiliate-cta {
  min-height: 64px;
  background: linear-gradient(135deg, #ff4d2f, #d91f35 48%, #8b0d27);
  box-shadow:
    0 16px 34px rgba(217, 31, 53, 0.36),
    0 0 0 4px rgba(217, 31, 53, 0.08);
}

.ranking-card:first-child .affiliate-cta::before {
  content: "1位";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  margin-right: 10px;
  border-radius: 999px;
  background: #fff;
  color: #b5122d;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 430px) {
  .score-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .ranking-page {
    background: #fff;
  }

  .ranking-page .article-layout {
    padding: 0;
  }

  .ranking-page .article {
    padding: 16px 10px 28px;
    border: 0;
    border-radius: 0;
    background: #fff;
  }

  .ranking-page .eyebrow {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .ranking-page .article h1 {
    margin-bottom: 10px;
    font-size: 26px;
    line-height: 1.18;
  }

  .ranking-page .article h2 {
    margin: 22px 0 10px;
    font-size: 20px;
  }

  .ranking-page .article p {
    font-size: 14px;
  }

  .ranking-page .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    font-size: 12px;
  }

  .ranking-page .notice-box {
    margin: 14px 0;
    padding: 12px;
    font-size: 13px;
  }

  .ranking-page .style-switcher {
    margin: -4px -10px 12px;
    padding: 0 10px 6px;
  }

  .ranking-page .style-switcher a,
  .ranking-page .style-switcher span {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .ranking-page .ranking-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 14px;
  }

  .ranking-page .ranking-summary div:first-child {
    grid-column: 1 / -1;
  }

  .ranking-page .ranking-summary div {
    min-height: 54px;
    padding: 9px 8px;
  }

  .ranking-page .ranking-summary span {
    font-size: 10px;
  }

  .ranking-page .ranking-summary strong {
    font-size: 13px;
  }

  .ranking-page .ranking-grid {
    gap: 12px;
    margin-top: 12px;
  }

  .ranking-page .ranking-card {
    grid-template-areas:
      "media"
      "body";
    gap: 10px;
    padding: 12px;
    box-shadow: 0 1px 0 rgba(30, 32, 36, 0.04);
  }

  .ranking-page .ranking-media {
    grid-area: media;
  }

  .ranking-page .ranking-body {
    grid-area: body;
    gap: 10px;
  }

  .ranking-page .ranking-head {
    grid-template-columns: 36px 48px minmax(0, 1fr);
    gap: 8px;
  }

  .ranking-page .ranking-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .ranking-page .actress-face {
    width: 48px;
    height: 48px;
  }

  .ranking-page .review-summary {
    gap: 5px;
    margin-bottom: 4px;
  }

  .ranking-page .stars {
    font-size: 15px;
  }

  .ranking-page .review-summary strong,
  .ranking-page .trust-line strong {
    font-size: 16px;
  }

  .ranking-page .review-summary a {
    font-size: 13px;
  }

  .ranking-page .ranking-body h3 {
    display: -webkit-box;
    margin-bottom: 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .ranking-page .style-reason {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .ranking-page .ranking-media img {
    aspect-ratio: 16 / 9;
  }

  .ranking-page .play-badge {
    width: 54px;
    height: 54px;
  }

  .ranking-page .play-badge::before {
    border-top-width: 11px;
    border-bottom-width: 11px;
    border-left-width: 17px;
  }

  .ranking-page .score-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .ranking-page .score-list div {
    padding: 8px;
  }

  .ranking-page .score-list div:first-child {
    display: none;
  }

  .ranking-page .score-list div:nth-child(3) {
    grid-column: 1 / -1;
  }

  .ranking-page .score-list dt {
    font-size: 11px;
  }

  .ranking-page .score-list dd {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .ranking-page .trust-line {
    font-size: 13px;
  }

  .ranking-page .tag-row {
    display: none;
  }

  .ranking-page .affiliate-cta {
    min-height: 58px;
    padding: 0 14px;
    font-size: 15px;
  }

  .ranking-page .media-continue {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .ranking-page .media-rank {
    min-height: 28px;
    padding: 0 10px;
    font-size: 14px;
  }

  .ranking-page .media-fit {
    min-height: 28px;
    padding: 0 9px;
    font-size: 11px;
  }
}

@media (min-width: 781px) {
  .article-layout {
    padding: 56px 40px;
  }

  .article {
    padding: 40px;
  }

  .ranking-page .article-layout {
    padding-top: 14px;
  }

  .ranking-page .article {
    padding-top: 24px;
  }

  .ranking-page .article-meta {
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
}

@media (min-width: 860px) {
  .actress-visual-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ranking-page .wide-article {
    max-width: 1360px;
  }

  .ranking-grid {
    gap: 22px;
    margin-top: 24px;
  }

  .ranking-card {
    grid-template-columns: minmax(420px, 58%) minmax(300px, 1fr);
    gap: 22px;
    align-items: start;
    padding: 22px;
  }

  .ranking-media img {
    aspect-ratio: 16 / 9;
  }

  .ranking-page .sample-video {
    min-height: 300px;
    aspect-ratio: 16 / 9;
  }

  .ranking-body {
    gap: 16px;
  }

  .ranking-head {
    grid-template-columns: 52px 72px minmax(0, 1fr);
    gap: 16px;
  }

  .ranking-number {
    width: 44px;
    height: 44px;
  }

  .actress-face {
    width: 72px;
    height: 72px;
  }

  .score-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .affiliate-cta {
    justify-self: start;
    width: min(100%, 420px);
  }
}

@media (min-width: 1200px) {
  .ranking-page .ranking-card {
    grid-template-columns: minmax(560px, 60%) minmax(360px, 1fr);
  }

  .ranking-page .sample-video {
    min-height: 360px;
  }
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 6vw, 88px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  color: var(--accent-2);
  font-weight: 800;
}

.focus-content {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(31, 35, 40, 0.1);
  border-radius: 8px;
  background: #fffaf7;
}

.focus-content h2 {
  margin-top: 0;
}

.focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(18px, 3vw, 30px);
  margin-top: 18px;
}

.focus-grid h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.focus-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.2em;
  color: var(--text);
}

.focus-grid p {
  margin-top: 0;
}

.focus-candidate-line {
  color: var(--muted);
  font-size: 14px;
}

.focus-deep-grid {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.focus-deep-section {
  padding: 16px;
  border: 1px solid rgba(31, 35, 40, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.focus-deep-section h3 {
  margin: 0 0 8px;
  font-size: clamp(17px, 2vw, 20px);
}

.focus-deep-section p {
  margin: 0 0 10px;
}

.focus-deep-section p:last-child {
  margin-bottom: 0;
}

.focus-deep-section ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 1.2em;
}

.focus-curated-block {
  margin-top: 20px;
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid rgba(12, 96, 105, 0.18);
  border-radius: 8px;
  background: #f6fbfb;
}

.focus-curated-block h3 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
}

.focus-curated-block > p {
  margin: 0;
  color: var(--muted);
}

.focus-candidate-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.focus-candidate-card {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 172px;
  padding: 14px;
  border: 1px solid rgba(12, 96, 105, 0.16);
  border-radius: 8px;
  background: #fff;
}

.focus-candidate-card span {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(12, 96, 105, 0.1);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.focus-candidate-card h3 {
  margin: 8px 0 0;
  font-size: 17px;
}

.focus-candidate-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.focus-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.focus-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.focus-work-card {
  display: grid;
  gap: 12px;
  align-content: space-between;
  overflow: hidden;
  padding: 0 16px 16px;
  border: 1px solid rgba(165, 29, 45, 0.18);
  border-radius: 8px;
  background: #fff;
}

.focus-work-media {
  position: relative;
  margin: 0 -16px 2px;
  aspect-ratio: 3 / 2;
  background: #111;
}

.focus-work-media iframe,
.focus-work-image {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.focus-work-media iframe,
.focus-work-media video,
.focus-work-image {
  object-fit: cover;
}

.focus-work-frame-shell {
  overflow: hidden;
}

.owner-recommend-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(165, 29, 45, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.focus-work-card strong {
  display: block;
  line-height: 1.55;
}

.focus-work-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.focus-work-card a {
  justify-self: start;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.focus-route-card {
  padding: 14px;
  border: 1px solid rgba(31, 35, 40, 0.1);
  border-radius: 8px;
  background: #fff;
}

.focus-route-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.focus-route-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.internal-actress-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.internal-actress-link:hover {
  color: #7f1221;
}

.internal-actress-link.heading-link {
  color: inherit;
  text-decoration-color: rgba(165, 29, 45, 0.45);
}

.sale-article > p {
  max-width: 76ch;
}

.sale-hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.sale-hero-panel div {
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff8f0;
}

.sale-hero-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.sale-hero-panel strong {
  display: block;
  margin-top: 6px;
  color: #a51d2d;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1;
}

.sale-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.sale-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.sale-visual {
  position: relative;
  display: block;
  min-height: 0;
  color: inherit;
  text-decoration: none;
  background: #111;
}

.sale-video-shell {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: #111;
}

.sale-video-shell .sample-video {
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
}

.sale-video-shell .media-continue {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
}

.sale-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sale-rank,
.sale-badge {
  position: absolute;
  top: 12px;
  z-index: 1;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
}

.sale-rank {
  left: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.sale-badge {
  right: 12px;
  padding: 12px 14px;
  background: #e8344e;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 12px 30px rgba(232, 52, 78, 0.28);
}

.sale-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.sale-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.sale-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.sale-price,
.sale-list-price {
  margin: 0;
}

.sale-price {
  color: #a51d2d;
  font-size: clamp(28px, 7vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.sale-list-price {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: line-through;
}

.sale-save {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff0f2;
  color: #a51d2d;
  font-weight: 900;
}

.sale-score-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sale-score-list .sale-cast-row {
  grid-column: 1 / -1;
}

.sale-cast-field {
  display: grid;
  gap: 8px;
}

.sale-cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.sale-cast-chip,
.sale-cast-more {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(31, 35, 40, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
}

.sale-cast-chip.internal-actress-link {
  color: var(--accent);
  text-decoration: none;
}

.sale-cast-more {
  background: #fff0f2;
  color: #a51d2d;
}

.sale-cast-details {
  min-width: 0;
}

.sale-cast-details summary {
  width: fit-content;
  cursor: pointer;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
}

.sale-cast-list-all {
  max-height: 180px;
  overflow-y: auto;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid rgba(31, 35, 40, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.sale-profile-strip {
  display: grid;
  gap: 8px;
}

.sale-profile-chip {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 35, 40, 0.1);
  border-radius: 8px;
  background: #fffaf7;
}

.sale-profile-chip strong {
  font-size: 14px;
}

.sale-profile-chip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.sale-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.sale-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
  background: #eee;
}

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

@media (max-width: 780px) {
  .topbar,
  .notice,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-image {
    width: 100%;
    opacity: 0.42;
  }

  .home-entry-layout {
    grid-template-columns: 1fr;
  }

  .home-search-jump {
    grid-template-columns: 1fr;
  }

  .home-entry-cards {
    grid-template-columns: 1fr;
  }

  .home-entry-card {
    min-height: 104px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .portal-search input {
    min-height: 54px;
    font-size: 16px;
  }

  .quick-chips {
    gap: 8px;
  }

  .quick-chips button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .actress-category-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .actress-visual-grid {
    grid-template-columns: 1fr;
  }

  .actress-visual-card {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    min-height: 82px;
    padding: 12px;
  }

  .trending-actress-card {
    grid-template-columns: 52px minmax(0, 1fr) 44px;
    gap: 10px;
  }

  .actress-avatar {
    width: 56px;
    height: 56px;
  }

  .actress-card-copy strong {
    font-size: 16px;
  }

  .actress-card-copy small {
    display: none;
  }

  .trending-actress-card .actress-card-action {
    min-width: 44px;
    padding: 0;
    font-size: 11px;
  }

  .taste-grid {
    grid-template-columns: 1fr;
  }

  .taste-grid a {
    min-height: 118px;
  }

  .feature-row,
  .score-list,
  .ranking-card {
    grid-template-columns: 1fr;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-route-grid {
    grid-template-columns: 1fr;
  }

  .focus-candidate-grid {
    grid-template-columns: 1fr;
  }

  .focus-work-grid {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .rank-row em {
    grid-column: 2;
  }

  .sale-hero-panel,
  .sale-score-list {
    grid-template-columns: 1fr;
  }

  .ranking-page .sale-score-list .sale-cast-row {
    display: block;
  }

  .ranking-page .sale-cast-row dd {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .sale-cast-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .sale-cast-list-all {
    flex-wrap: wrap;
    max-height: 220px;
    overflow-y: auto;
  }

  .sale-grid {
    grid-template-columns: 1fr;
  }

  .sale-card {
    margin-inline: -4px;
  }

  .sale-video-shell .sample-video {
    aspect-ratio: 16 / 9;
  }
}
