:root {
  --bg: #f7f8fb;
  --panel: #ffffff;
  --panel-2: #f1f4f8;
  --panel-3: #e9eef5;
  --text: #1f2430;
  --muted: #697281;
  --line: #d9e0ea;
  --accent: #168c7c;
  --accent-2: #d94f57;
  --warning: #9a6a13;
  --black: #111217;
  --soft-accent: #e7f6f3;
}

html.dark-mode {
  --bg: #121722;
  --panel: #1a2130;
  --panel-2: #202938;
  --panel-3: #293445;
  --text: #eef3f8;
  --muted: #9aa7b8;
  --line: #334155;
  --accent: #38d3bc;
  --accent-2: #f07186;
  --warning: #d8ad54;
  --black: #071211;
  --soft-accent: rgba(56, 211, 188, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
}

.age-gate.is-hidden {
  display: none;
}

html.age-confirmed .age-gate {
  display: none;
}

.age-panel {
  width: min(480px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 18px 60px rgba(31, 36, 48, 0.14);
}

.age-panel h1 {
  margin: 0 0 10px;
  font-size: 38px;
}

.age-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.age-actions button,
.age-actions a,
.shuffle-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

.age-actions button,
.shuffle-button {
  background: var(--accent);
  color: var(--black);
}

.age-actions a {
  background: var(--panel-3);
  color: var(--text);
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  background: var(--panel);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  text-decoration: none;
}

.logo-brand {
  width: 100%;
  margin-bottom: 24px;
}

.brand-tag {
  position: relative;
  width: min(232px, 100%);
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 13px 14px;
  border: 1px solid rgba(22, 140, 124, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 18%, rgba(42, 156, 255, 0.18), transparent 34%),
    radial-gradient(circle at 82% 16%, rgba(239, 83, 203, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.78));
  box-shadow: 0 14px 32px rgba(31, 36, 48, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.brand-tag::before,
.brand-tag::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.brand-tag::before {
  inset: 0;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.56), transparent 46%);
}

.brand-tag::after {
  right: 16px;
  top: 14px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #f65fcf;
  box-shadow:
    -30px 14px 0 -2px rgba(34, 166, 242, 0.82),
    -78px -2px 0 -3px rgba(139, 92, 246, 0.78);
  transform: rotate(45deg);
}

.brand-tag-mark {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  font-size: 23px;
  font-weight: 950;
  line-height: 1;
  background: linear-gradient(145deg, #10213d, #087f74 58%, #d94be6);
  box-shadow: 0 10px 20px rgba(8, 127, 116, 0.2);
}

.brand-tag-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.brand-tag-name {
  color: #172033;
  font-size: 23px;
  font-weight: 950;
  line-height: 1;
}

.brand-tag-name span {
  color: #087f74;
}

.brand-tag-sub {
  color: #7d8798;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.sidebar-note,
.meta-line,
.actress,
.results-header p,
.notice-band p,
.detail-placeholder p {
  color: var(--muted);
}

.side-nav section {
  margin-bottom: 24px;
}

.side-nav h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 14px;
}

.collapsible-filter {
  margin-bottom: 14px;
}

.filter-section-toggle {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  padding: 0 10px;
}

.filter-section-toggle span:last-child {
  color: var(--muted);
  font-size: 11px;
  transition: transform 160ms ease;
}

.filter-section-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(180deg);
}

.collapsible-filter-body {
  margin-top: 10px;
}

.collapsible-filter-body[hidden] {
  display: none !important;
}

.tag-cloud,
.genre-list,
.actress-list,
.series-list,
.maker-list,
.label-list,
.director-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 2px;
}

.side-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-bottom: 10px;
}

.tag-cloud button,
.genre-list button,
.actress-list button,
.series-list button,
.maker-list button,
.label-list button,
.director-list button,
.menu-button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
}

.tag-cloud button,
.genre-list button,
.actress-list button,
.series-list button,
.maker-list button,
.label-list button,
.director-list button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  font-size: 13px;
}

.tag-cloud button small,
.genre-list button small,
.actress-list button small,
.series-list button small,
.maker-list button small,
.label-list button small,
.director-list button small {
  color: var(--muted);
  font-size: 11px;
}

.tag-cloud button.active,
.genre-list button.active,
.actress-list button.active,
.series-list button.active,
.maker-list button.active,
.label-list button.active,
.director-list button.active,
.menu-button.active {
  border-color: var(--accent);
  background: var(--soft-accent);
  color: var(--accent);
}

.menu-button {
  width: 100%;
  justify-content: flex-start;
  margin-bottom: 8px;
  padding: 0 12px;
  text-align: left;
}

.clear-button {
  justify-content: center;
  color: var(--accent-2);
}

.profile-search-panel {
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 11px;
  border: 1px solid rgba(94, 123, 168, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 0%, rgba(22, 140, 124, 0.17), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(107, 214, 145, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(239, 250, 246, 0.76));
  box-shadow: 0 14px 34px rgba(19, 116, 103, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
}

.profile-search-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.42), transparent 44%);
}

.range-filter {
  display: grid;
  gap: 8px;
  position: relative;
  padding: 9px 10px 8px;
  border: 1px solid rgba(94, 123, 168, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 20px rgba(31, 58, 96, 0.07);
}

.range-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  color: #172033;
  font-size: 12px;
  font-weight: 900;
}

.range-label output {
  min-width: 58px;
  padding: 3px 8px;
  border: 1px solid rgba(22, 140, 124, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #087f74;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 5px 14px rgba(19, 116, 103, 0.08);
}

.range-slider-wrap {
  display: grid;
  gap: 3px;
}

.range-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #64748b;
  user-select: none;
  padding: 0 1px;
}

.dual-range {
  position: relative;
  height: 23px;
}

.dual-range::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: 1;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1fb7a6, #35c976 56%, #a8e063);
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.12);
  transform: translateY(-50%);
}

.dual-range input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  margin: 0;
  background: transparent;
  accent-color: #168c7c;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.dual-range input[type="range"]:first-child {
  z-index: 2;
}

.dual-range input[type="range"]:last-child {
  z-index: 3;
}

.dual-range input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.dual-range input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.dual-range input[type="range"]::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  margin-top: -5px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e9f8d, #62d66f);
  box-shadow: 0 5px 14px rgba(22, 140, 124, 0.34);
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
}

.dual-range input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e9f8d, #62d66f);
  box-shadow: 0 5px 14px rgba(22, 140, 124, 0.34);
  pointer-events: auto;
}

.profile-search-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.profile-search-actions .search-submit {
  width: 100%;
  min-height: 36px;
  border: 0;
  background: linear-gradient(90deg, #168c7c, #29b979 58%, #a8e063);
  box-shadow: 0 10px 22px rgba(22, 140, 124, 0.22);
}

.profile-reset-button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(94, 123, 168, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  color: #455468;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.profile-search-note {
  margin: -4px 0 0;
  color: #64748b;
  font-size: 10px;
  line-height: 1.5;
}

.search-box input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
}

.search-box.has-suggestions,
.mobile-search-bar.has-suggestions {
  position: relative;
}

.search-suggestions {
  position: absolute;
  z-index: 120;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: grid;
  gap: 4px;
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(31, 36, 48, 0.16);
}

.search-suggestions[hidden],
.search-suggestions.is-hidden {
  display: none !important;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 36px;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.search-suggestion-item:hover,
.search-suggestion-item:focus-visible {
  outline: 0;
  background: rgba(231, 246, 243, 0.94);
  color: var(--accent);
}

.search-suggestion-item small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.search-suggestion-empty {
  margin: 0;
  padding: 8px 9px;
  color: var(--muted);
  font-size: 12px;
}

.search-submit {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.search-submit.is-dirty {
  box-shadow: 0 0 0 3px rgba(22, 140, 124, 0.14);
}

.mobile-search-bar {
  display: none;
}

.actress-list {
  margin-top: 10px;
}

.empty-filter {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.sidebar-note {
  margin-top: 26px;
  font-size: 12px;
}

.sidebar-legal {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.sidebar-legal a {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #5f6b7c;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.sidebar-legal a:hover,
.sidebar-legal a.active {
  border-color: rgba(22, 140, 124, 0.22);
  background: rgba(231, 246, 243, 0.86);
  color: var(--accent);
}

.main-content {
  min-width: 0;
  padding: 28px clamp(18px, 4vw, 44px) 56px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.topbar h1 {
  max-width: 680px;
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 950;
  line-height: 1.08;
}

.topbar h1 span {
  display: inline-block;
  padding: 0 0.08em;
  color: #077f74;
  text-shadow: 0 10px 28px rgba(25, 166, 149, 0.14);
  background: linear-gradient(120deg, rgba(33, 181, 165, 0.16), rgba(239, 83, 203, 0.16));
  background-size: 100% 0.42em;
  background-repeat: no-repeat;
  background-position: 0 86%;
}

.theme-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(31, 36, 48, 0.06);
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.notice-band,
.product-card,
.detail-placeholder {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(31, 36, 48, 0.06);
}

.notice-band {
  padding: 14px 16px;
  margin-bottom: 24px;
}

.notice-band p {
  margin: 0;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-height: 32px;
  padding: 0 2px;
  margin: -4px 0 12px;
}

.active-filter-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 2px 0 12px;
}

.active-filter-rail[hidden] {
  display: none;
}

.active-filter-chip {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 36%, var(--line));
  border-radius: 999px;
  background: var(--soft-accent);
  color: var(--accent);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 0 10px 0 12px;
}

.active-filter-chip small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
}

.results-header p {
  margin: 0;
  color: #8a94a6;
  font-size: 12px;
  font-weight: 700;
}

.result-tools {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.mobile-tag-rail {
  display: none;
}

.mobile-info-button,
.mobile-info-sheet {
  display: none;
}

.sort-control {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.sort-control[hidden] {
  display: none;
}

.sort-control select {
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

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

.load-more-row {
  display: flex;
  justify-content: center;
  margin: 28px 0 10px;
}

.load-more-sentinel {
  width: 100%;
  height: 1px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  margin: 34px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: #738095;
  font-size: 11px;
}

.site-footer a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.load-more-button {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.load-more-button:hover {
  border-color: var(--accent);
}

.info-page {
  background:
    radial-gradient(circle at 18% 10%, rgba(22, 140, 124, 0.1), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(217, 79, 87, 0.09), transparent 28%),
    var(--bg);
}

.info-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.info-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.info-nav {
  margin-top: 4px;
}

.info-main {
  width: min(100%, 1040px);
  padding: 42px clamp(18px, 5vw, 68px) 70px;
}

.info-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 224, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(31, 36, 48, 0.08);
}

.info-card {
  padding: clamp(24px, 4vw, 44px);
}

.info-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(217, 79, 87, 0.82), rgba(42, 156, 255, 0.68));
}

.info-card h1,
.contact-card h1 {
  margin: 2px 0 12px;
  color: #172033;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 950;
  line-height: 1.1;
}

.info-lead,
.contact-hero p {
  max-width: 760px;
  margin: 0 0 28px;
  color: #596678;
  font-size: 16px;
}

.contact-hero .contact-note {
  display: inline-flex;
  margin: -12px 0 0;
  padding: 6px 10px;
  border: 1px solid rgba(217, 224, 234, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #697281;
  font-size: 12px;
  font-weight: 800;
}

.info-card section {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid rgba(217, 224, 234, 0.72);
}

.info-card h2 {
  margin: 0 0 8px;
  color: #087f74;
  font-size: 18px;
}

.info-card p {
  margin: 0;
  color: #465365;
}

.info-date {
  margin-top: 28px !important;
  color: #8a94a6 !important;
  font-size: 12px;
  font-weight: 800;
}

.contact-card {
  padding: 0;
}

.contact-hero {
  padding: clamp(24px, 4vw, 38px) clamp(22px, 4vw, 42px) 22px;
  border-bottom: 1px solid rgba(217, 224, 234, 0.76);
  background:
    radial-gradient(circle at 16% 20%, rgba(22, 140, 124, 0.12), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(217, 79, 87, 0.12), transparent 32%),
    rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
}

.spam-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 58px;
  border-bottom: 1px solid rgba(217, 224, 234, 0.78);
}

.form-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 18px;
  background: rgba(247, 250, 252, 0.82);
  color: #172033;
  font-weight: 900;
}

.form-row label span {
  color: var(--accent-2);
  font-size: 12px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cfd8e5;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  outline: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(22, 140, 124, 0.72);
  box-shadow: 0 0 0 3px rgba(22, 140, 124, 0.12);
}

.form-row > input,
.form-row > select,
.form-row > textarea,
.stacked-field {
  margin: 10px 14px;
}

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

.form-row-message {
  min-height: 180px;
}

.turnstile-row {
  align-items: center;
}

.turnstile-field {
  display: grid;
  gap: 8px;
  align-content: center;
  margin: 10px 14px;
}

.turnstile-field p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.form-row textarea {
  min-height: 150px;
  padding: 10px 12px;
  resize: vertical;
}

.form-row input,
.form-row select {
  padding: 0 12px;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(16px, 3vw, 28px);
}

.contact-actions p {
  margin: 0;
  color: #697281;
  font-size: 12px;
}

.contact-actions button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #071211;
  font-weight: 950;
  cursor: pointer;
}

.contact-actions button:hover {
  filter: brightness(1.04);
}

.product-card {
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-3px) scale(1.025);
  border-color: rgba(22, 140, 124, 0.6);
  box-shadow: 0 16px 34px rgba(31, 36, 48, 0.12);
  z-index: 2;
}

.product-card.is-return-highlight {
  animation: return-card-highlight 1200ms ease;
  border-color: rgba(217, 79, 87, 0.72);
}

@keyframes return-card-highlight {
  0% {
    transform: scale(1.015);
    box-shadow: 0 0 0 0 rgba(217, 79, 87, 0.34), 0 16px 34px rgba(31, 36, 48, 0.12);
  }

  45% {
    transform: scale(1.025);
    box-shadow: 0 0 0 8px rgba(217, 79, 87, 0.12), 0 16px 34px rgba(31, 36, 48, 0.12);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 10px 28px rgba(31, 36, 48, 0.06);
  }
}

.card-link {
  display: block;
  min-height: 100%;
  text-decoration: none;
  touch-action: manipulation;
}

.card-link:focus-visible {
  outline: 3px solid rgba(22, 140, 124, 0.42);
  outline-offset: 3px;
}

.product-card figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--panel-2);
  backface-visibility: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--panel-2);
  backface-visibility: hidden;
  transition: filter 200ms ease, transform 200ms ease;
}

.product-card:hover img,
.product-card:focus-within img {
  filter: brightness(1.1) saturate(1.04);
  transform: scale(1.018);
}

.favorite-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: none !important;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--accent-2);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(31, 36, 48, 0.18);
  transition: background 200ms ease, transform 200ms ease, opacity 200ms ease;
}

.product-card:hover .favorite-icon,
.product-card:focus-within .favorite-icon {
  background: #ffffff;
  transform: scale(1.08);
}

.product-card figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(31, 36, 48, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.mobile-card-overlay {
  display: none;
}

.card-body {
  padding: 14px;
}

.meta-line {
  margin: 0 0 5px;
  font-size: 12px;
}

.product-card h3 {
  min-height: 3.1em;
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.45;
}

.actress {
  margin: 0 0 10px;
  font-size: 13px;
}

.chips,
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chips {
  margin-bottom: 8px;
}

.chips span,
.tags span {
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 11px;
}

.chips span {
  background: var(--soft-accent);
  color: var(--accent);
}

.tags span {
  background: var(--panel-3);
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent);
  font-weight: 800;
}

.detail-page {
  min-height: 100vh;
}

.detail-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(31, 36, 48, 0.06);
}

.detail-header .back-link {
  margin-bottom: 0;
}

.detail-header .logo-brand {
  width: auto;
  margin-bottom: 0;
}

.detail-header .brand-tag {
  width: 224px;
  min-height: 66px;
  padding: 11px 13px;
}

.detail-header .brand-tag-mark {
  width: 34px;
  height: 34px;
  font-size: 20px;
}

.detail-header .brand-tag-name {
  font-size: 21px;
}

.detail-layout {
  width: min(1560px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 64px;
  display: grid;
  grid-template-columns: minmax(620px, 1.12fr) minmax(480px, 0.88fr);
  gap: 16px 20px;
  align-items: start;
}

.detail-hero {
  display: contents;
}

.detail-media,
.detail-summary,
.detail-section,
.related-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(31, 36, 48, 0.06);
}

.detail-media {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 200ms ease;
  will-change: transform;
}

.detail-media:hover {
  transform: translateY(-2px);
}

.detail-media-link {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  text-decoration: none;
}

.detail-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(52vh, 600px);
  min-height: 0;
  display: block;
  object-fit: contain;
  cursor: pointer;
  transition: filter 200ms ease, transform 200ms ease;
}

.detail-media:hover img {
  filter: brightness(1.08) saturate(1.04);
  transform: scale(1.006);
}

.play-overlay {
  position: absolute;
  inset: 50% auto auto 50%;
  width: clamp(68px, 8vw, 106px);
  height: clamp(68px, 8vw, 106px);
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  background: rgba(22, 140, 124, 0.78);
  box-shadow: 0 16px 36px rgba(31, 36, 48, 0.32);
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.play-overlay::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-42%, -50%);
  width: 0;
  height: 0;
  border-top: clamp(15px, 2vw, 24px) solid transparent;
  border-bottom: clamp(15px, 2vw, 24px) solid transparent;
  border-left: clamp(23px, 3vw, 36px) solid #ffffff;
}

.detail-media:hover .play-overlay,
.detail-media-link:focus-visible .play-overlay {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(217, 79, 87, 0.86);
  box-shadow: 0 20px 42px rgba(31, 36, 48, 0.38);
}

.detail-media-link:focus-visible {
  outline: 3px solid rgba(22, 140, 124, 0.42);
  outline-offset: 4px;
}

.detail-summary {
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
  max-height: min(52vh, 600px);
  overflow: auto;
  padding: clamp(16px, 2vw, 22px);
}

.detail-summary h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.1;
}

.detail-lead {
  display: none;
  color: var(--muted);
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 14px;
}

.affiliate-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 6px;
  background: var(--accent-2);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.pr-label {
  color: var(--warning);
  font-size: 12px;
  font-weight: 800;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}

.product-facts div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-2);
}

.product-facts dt {
  color: var(--accent);
  font-weight: 900;
}

.product-facts dd {
  margin: 0;
  color: var(--text);
}

.product-facts div:nth-child(4),
.product-facts div:nth-child(5) {
  grid-column: 1 / -1;
}

.detail-filter-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-section {
  grid-column: 1 / -1;
  padding: clamp(18px, 3vw, 26px);
  margin-bottom: 24px;
}

.sample-section {
  grid-column: 1 / -1;
  grid-row: 2;
  padding: 0;
  margin: 0 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.sample-section .section-title-row {
  align-items: center;
  margin-bottom: 10px;
}

.section-title-row h2 {
  margin: 0;
  font-size: 26px;
}

.sample-section .section-title-row h2 {
  font-size: 20px;
}

.section-title-row p {
  margin: 0;
  color: var(--muted);
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  padding-bottom: 0;
}

.thumb-button {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
  will-change: transform;
}

.thumb-button:hover,
.thumb-button:focus-visible {
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 12px 24px rgba(31, 36, 48, 0.12);
}

.thumb-button.active {
  box-shadow: 0 10px 22px rgba(31, 36, 48, 0.1);
}

.thumb-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: filter 200ms ease, transform 200ms ease;
}

.thumb-button:hover img,
.thumb-button:focus-visible img {
  filter: brightness(1.1) saturate(1.04);
  transform: scale(1.018);
}

.thumb-index {
  position: absolute;
  left: 8px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 36, 48, 0.78);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.detail-chip-area {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-chip-area span,
.detail-chip-area a {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft-accent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(112px, 1fr));
  gap: 12px;
}

.related-actress-section > .section-title-row > p {
  display: none;
}

.related-card {
  overflow: hidden;
}

.related-card a {
  display: block;
  min-height: 100%;
  text-decoration: none;
}

.related-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
}

.related-card div {
  padding: 10px 8px 11px;
}

.related-card p {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.related-card h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.related-card span {
  display: block;
  color: var(--warning);
  font-size: 12px;
  font-weight: 900;
}

.related-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.product-recommendation-section {
  padding-top: clamp(12px, 2vw, 18px);
}

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

.recommendation-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 36, 48, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.recommendation-card:hover,
.recommendation-card:focus-within {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 16px 34px rgba(31, 36, 48, 0.14);
}

.recommendation-card a {
  position: relative;
  display: block;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.recommendation-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  background: var(--panel-2);
  transition: filter 200ms ease, transform 200ms ease;
}

.recommendation-card:hover img,
.recommendation-card:focus-within img {
  filter: brightness(1.08) saturate(1.04);
  transform: scale(1.018);
}

.recommendation-score {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: none;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #087f74;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(31, 36, 48, 0.12);
}

.recommendation-card-body {
  position: absolute;
  inset: auto 0 0;
  display: none;
  gap: 4px;
  padding: 48px 10px 10px;
  background: linear-gradient(180deg, transparent, rgba(13, 18, 28, 0.82) 44%, rgba(13, 18, 28, 0.95));
  color: #ffffff;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.recommendation-card:hover .recommendation-card-body,
.recommendation-card:focus-within .recommendation-card-body {
  opacity: 1;
  transform: translateY(0);
}

.recommendation-card-body p,
.recommendation-card-body h3 {
  margin: 0;
}

.recommendation-card-body p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 900;
}

.recommendation-card-body h3 {
  display: -webkit-box;
  overflow: hidden;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.recommendation-loading {
  margin: 18px 0 0;
  color: #8a94a6;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.recommendation-sentinel {
  width: 100%;
  height: 1px;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(31, 36, 48, 0.86);
}

.image-modal.is-open {
  display: grid;
  overscroll-behavior: contain;
}

.modal-stage {
  position: relative;
  display: grid;
  place-items: center;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: 8px;
  transform: translateZ(0);
  touch-action: pan-y;
  will-change: transform;
  isolation: isolate;
}

.image-modal img {
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  height: auto;
  display: block;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  cursor: e-resize;
  object-fit: contain;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
}

.modal-stage > #modalImage {
  width: auto !important;
  height: auto !important;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  object-fit: contain;
}

.modal-stage > .modal-next-image {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.image-modal.is-zoomed .modal-stage {
  overflow: visible;
}

.image-modal .modal-next-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(100%, 0, 0) scale(0.985);
}

.image-modal img.is-swipe-next {
  animation: modal-swipe-next 220ms ease;
}

.image-modal img.is-swipe-prev {
  animation: modal-swipe-prev 220ms ease;
}

@keyframes modal-swipe-next {
  from {
    opacity: 0.35;
    transform: translateX(26px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes modal-swipe-prev {
  from {
    opacity: 0.35;
    transform: translateX(-26px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

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

  .detail-layout {
    grid-template-columns: minmax(500px, 1.05fr) minmax(360px, 0.95fr);
  }

  .detail-summary h1 {
    font-size: clamp(24px, 3.2vw, 36px);
  }

  .thumb-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .recommendation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .info-shell {
    display: block;
  }

  .info-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .info-main {
    padding: 22px 14px 48px;
  }

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

  .form-row label {
    padding: 12px 14px 2px;
    background: transparent;
  }

  .contact-actions {
    display: grid;
    justify-items: start;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .detail-layout {
    width: min(100% - 32px, 760px);
    display: block;
  }

  .detail-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }

  .detail-media,
  .detail-media-link,
  .detail-media img {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .detail-summary,
  .sample-section,
  .detail-section {
    grid-column: auto;
    grid-row: auto;
  }

  .detail-summary {
    height: auto;
    max-height: none;
    overflow: visible;
  }

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

  .product-facts div:nth-child(4),
  .product-facts div:nth-child(5) {
    grid-column: auto;
  }

  .thumb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .recommendation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .topbar,
  .section-title-row,
  .detail-header {
    flex-direction: column;
    align-items: stretch;
  }

  .result-tools {
    justify-content: flex-start;
  }

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

  .thumb-grid,
  .related-grid,
  .recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-facts div {
    grid-template-columns: 1fr;
  }

  .image-modal img {
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
  }

}

@media (hover: none) {
  .product-card:hover,
  .detail-media:hover,
  .thumb-button:hover,
  .recommendation-card:hover {
    transform: none;
  }

  .recommendation-card-body {
    display: none;
    opacity: 0;
    transform: none;
  }

  .favorite-icon {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  html.mobile-info-open {
    overflow: hidden;
  }

  body {
    background: #f6f8fb;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    display: none;
  }

  .main-content {
    padding: 14px 8px 44px;
  }

  .topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
  }

  .topbar h1 {
    max-width: 210px;
    font-size: 27px;
    line-height: 1.06;
  }

  .topbar-actions {
    gap: 6px;
  }

  .theme-toggle {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
  }

  .shuffle-button {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
  }

  .mobile-info-button {
    width: 34px;
    min-width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #475569;
    font-size: 15px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(31, 36, 48, 0.06);
    cursor: pointer;
  }

  .mobile-info-button[aria-expanded="true"] {
    border-color: rgba(22, 140, 124, 0.42);
    background: rgba(226, 247, 243, 0.94);
    color: var(--accent);
  }

  .mobile-info-sheet {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .mobile-info-sheet.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-info-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.34);
    cursor: pointer;
  }

  .mobile-info-panel {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(214, 222, 235, 0.86);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
    transform: translateY(18px);
    transition: transform 200ms ease;
    backdrop-filter: blur(16px);
  }

  .mobile-info-sheet.is-open .mobile-info-panel {
    transform: translateY(0);
  }

  .mobile-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 2px 4px;
  }

  .mobile-info-header p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-info-header button {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.9);
    color: #475569;
    font-size: 18px;
    line-height: 1;
  }

  .mobile-info-panel a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(214, 222, 235, 0.88);
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.78);
    color: #1f2937;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
  }

  .image-modal.is-open .modal-stage,
  .image-modal.is-open #modalImage {
    touch-action: none;
  }

  .image-modal.is-zoomed .modal-stage {
    overflow: visible;
  }

  .image-modal.is-zoomed #modalImage {
    cursor: grab;
    z-index: 2;
  }

  .mobile-search-bar {
    position: relative;
    z-index: 400;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    margin: 2px 0 8px;
    padding: 5px 5px 5px 12px;
    border: 1px solid rgba(203, 213, 225, 0.88);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 26px rgba(31, 36, 48, 0.08);
    backdrop-filter: blur(14px);
  }

  .mobile-search-bar.has-suggestions {
    z-index: 1200;
  }

  .mobile-search-bar .search-suggestions {
    z-index: 1300;
    top: calc(100% + 8px);
    max-height: min(58vh, 360px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
  }

  .mobile-search-bar.is-dirty {
    border-color: rgba(22, 140, 124, 0.42);
    box-shadow: 0 10px 26px rgba(22, 140, 124, 0.12);
  }

  .mobile-search-bar input {
    min-width: 0;
    flex: 1 1 auto;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
  }

  .mobile-search-bar input::placeholder {
    color: #8a95a6;
  }

  .mobile-search-submit,
  .mobile-search-clear {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    touch-action: manipulation;
  }

  .mobile-search-submit {
    min-height: 32px;
    padding: 0 13px;
    background: var(--accent);
    color: var(--black);
    font-size: 12px;
  }

  .mobile-search-clear {
    width: 32px;
    height: 32px;
    background: rgba(241, 245, 249, 0.94);
    color: #64748b;
    font-size: 18px;
    line-height: 1;
  }

  .mobile-tag-rail {
    position: sticky;
    top: 0;
    z-index: 8;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 0 -8px 8px;
    padding: 8px 8px 10px;
    border-bottom: 1px solid rgba(214, 222, 235, 0.78);
    background: rgba(246, 248, 251, 0.86);
    backdrop-filter: blur(14px);
    scrollbar-width: none;
  }

  .mobile-tag-rail::-webkit-scrollbar {
    display: none;
  }

  .mobile-tag-rail button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #475569;
    font-size: 13px;
    font-weight: 850;
    box-shadow: 0 8px 18px rgba(31, 36, 48, 0.06);
  }

  .mobile-tag-rail button.active {
    border-color: rgba(22, 140, 124, 0.42);
    background: rgba(226, 247, 243, 0.9);
    color: var(--accent);
  }

  .results-header {
    min-height: 24px;
    margin: -2px 0 8px;
    padding: 0 3px;
  }

  .results-header p {
    font-size: 11px;
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: start;
  }

  .mobile-grid-column {
    min-width: 0;
    display: grid;
    gap: 8px;
  }

  .product-card {
    display: block;
    width: 100%;
    overflow: hidden;
    margin: 0;
    border: 0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(31, 36, 48, 0.08);
    break-inside: avoid;
    transform: translateZ(0);
  }

  .product-card:hover {
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(31, 36, 48, 0.08);
  }

  .card-link {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }

  .product-card figure {
    aspect-ratio: 4 / 5.35;
    border-radius: 10px;
  }

  .product-card:nth-child(4n + 2) figure {
    aspect-ratio: 4 / 4.65;
  }

  .product-card:nth-child(5n + 3) figure {
    aspect-ratio: 4 / 5.85;
  }

  .product-card:nth-child(7n + 5) figure {
    aspect-ratio: 4 / 4.35;
  }

  .product-card img {
    object-fit: cover;
  }

  .favorite-icon {
    top: 7px;
    right: 7px;
    width: 27px;
    height: 27px;
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    box-shadow: 0 6px 14px rgba(31, 36, 48, 0.14);
  }

  .mobile-card-overlay {
    position: absolute;
    inset: auto 0 0;
    z-index: 3;
    display: none;
    gap: 7px;
    padding: 42px 9px 9px;
    color: #ffffff;
    background: linear-gradient(180deg, transparent, rgba(13, 18, 28, 0.8) 42%, rgba(13, 18, 28, 0.92));
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .product-card.is-mobile-open .mobile-card-overlay,
  .product-card:focus-within .mobile-card-overlay {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-card-overlay h3 {
    min-height: 0;
    margin: 0;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .mobile-card-actress {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .mobile-card-tags span {
    padding: 3px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    font-weight: 800;
  }

  .mobile-card-detail {
    justify-self: start;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #172033;
    font-size: 11px;
    font-weight: 900;
  }

  .image-modal img {
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
  }

  .load-more-row {
    margin: 18px 0 8px;
  }

  .site-footer {
    margin-top: 24px;
  }
}

html.dark-mode body,
html.dark-mode .detail-page,
html.dark-mode .info-page {
  background: var(--bg);
  color: var(--text);
}

html.dark-mode .main-content,
html.dark-mode .detail-summary,
html.dark-mode .sample-section,
html.dark-mode .detail-section {
  background: transparent;
}

html.dark-mode .sidebar,
html.dark-mode .info-sidebar,
html.dark-mode .age-panel,
html.dark-mode .product-card,
html.dark-mode .detail-section,
html.dark-mode .detail-summary,
html.dark-mode .product-facts div,
html.dark-mode .related-card,
html.dark-mode .recommendation-card,
html.dark-mode .info-card,
html.dark-mode .contact-card {
  border-color: var(--line);
  background: var(--panel);
  color: var(--text);
}

html.dark-mode .range-filter,
html.dark-mode .profile-reset-button,
html.dark-mode .load-more-button,
html.dark-mode .sort-control select,
html.dark-mode .form-row input,
html.dark-mode .form-row select,
html.dark-mode .form-row textarea,
html.dark-mode .mobile-tag-rail button,
html.dark-mode .search-suggestions,
html.dark-mode .modal-close {
  border-color: var(--line);
  background: var(--panel-2);
  color: var(--text);
}

html.dark-mode .search-suggestion-item:hover,
html.dark-mode .search-suggestion-item:focus-visible {
  background: rgba(56, 211, 188, 0.12);
  color: var(--accent);
}

html.dark-mode .brand-tag {
  border-color: rgba(56, 211, 188, 0.18);
  background:
    radial-gradient(circle at 18% 18%, rgba(56, 211, 188, 0.16), transparent 34%),
    radial-gradient(circle at 82% 16%, rgba(240, 113, 134, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(30, 41, 59, 0.94), rgba(20, 27, 40, 0.88));
}

html.dark-mode .brand-tag-name,
html.dark-mode .range-label,
html.dark-mode .form-row label,
html.dark-mode .contact-card h1,
html.dark-mode .info-card h1 {
  color: var(--text);
}

html.dark-mode .mobile-tag-rail {
  border-color: var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
}

html.dark-mode .mobile-info-button,
html.dark-mode .mobile-info-header button,
html.dark-mode .mobile-info-panel a {
  border-color: var(--line);
  background: var(--panel-2);
  color: var(--text);
}

html.dark-mode .mobile-info-panel {
  border-color: var(--line);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}

html.dark-mode .mobile-info-backdrop {
  background: rgba(0, 0, 0, 0.48);
}

html.dark-mode .detail-header {
  background: var(--panel);
  border-color: var(--line);
}

html.dark-mode .image-modal img {
  background: var(--panel);
}
