:root {
  --bg: #0d0d0e;
  --panel: #171719;
  --panel-2: #202023;
  --line: #303034;
  --text: #f5f5f5;
  --muted: #a4a4aa;
  --accent: #ff9c36;
  --accent-soft: #99d5c9;
  --content: 1240px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  letter-spacing: 0;
}
body.is-locked { overflow: hidden; }
body.is-locked #siteContent { visibility: hidden; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

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

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #080809;
}
.age-gate[hidden] { display: none; }
.age-panel {
  width: min(540px, 100%);
  padding: 44px;
  text-align: center;
  background: #151516;
  border: 1px solid #343436;
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.age-panel h2 { margin: 10px 0 16px; font-size: 32px; }
.age-panel p { color: #c7c7ca; line-height: 1.8; }
.age-panel small { display: block; margin-top: 22px; color: #76767c; line-height: 1.6; }
.age-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.age-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.button:not(:disabled):hover { transform: translateY(-1px); }
.button:disabled { opacity: .72; cursor: wait; }
.button-primary { color: #15100a; background: var(--accent); }
.button-primary:not(:disabled):hover { background: #ffab43; }
.button-muted { color: #d2d2d4; background: #2a2a2d; }
.button-ghost { color: #fff; background: rgba(20, 20, 22, .74); border: 1px solid rgba(255,255,255,.32); }
.play-icon {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 0 max(24px, calc((100vw - var(--content)) / 2));
  background: rgba(13, 13, 14, .96);
  border-bottom: 1px solid #252527;
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; font-size: 28px; font-weight: 900; line-height: 1; }
.brand b { padding: 5px 7px 6px; margin-left: 2px; color: #17100a; background: var(--accent); border-radius: 4px; }
.main-nav { display: flex; align-self: stretch; gap: 5px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #a8a8ad;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}
.nav-link:hover, .nav-link.is-active { color: #fff; border-bottom-color: var(--accent); }
.search-toggle {
  width: 40px;
  height: 40px;
  position: relative;
  background: #222225;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.search-toggle span { width: 15px; height: 15px; position: absolute; top: 10px; left: 10px; border: 2px solid #ddd; border-radius: 50%; }
.search-toggle span::after { content: ""; width: 8px; height: 2px; position: absolute; right: -6px; bottom: -4px; background: #ddd; transform: rotate(45deg); }

@font-face {
  font-family: "Adalty Script";
  src: url("adalty-flourish.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Adalty Brush";
  src: url("adalty-brush.woff2") format("woff2");
  font-display: swap;
}

.hero {
  min-height: 468px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0c1514;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 67% 38%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0609099e, transparent 62%), linear-gradient(0deg, var(--bg), transparent 28%); }
.hero-content { width: min(100%, calc(var(--content) + 48px)); position: relative; z-index: 1; margin: 0 auto; padding: 54px 24px 50px; }
.hero h1 { width: fit-content; margin: 0; font: 106px/.94 "Adalty Script", "Segoe Script", cursive; color: #fff; }
.hero-line { width: fit-content; margin: 16px 0 10px; font: 39px/1.25 "Adalty Brush", "Yu Mincho", serif; color: #fff; }
.hero-description { width: fit-content; max-width: 390px; margin: 0; color: #d6dfdf; font-size: 16px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.disclosure-band {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px max(24px, calc((100vw - var(--content)) / 2));
  background: #1b1b1d;
  border-top: 1px solid #27272a;
  border-bottom: 1px solid #27272a;
}
.disclosure-band strong { padding: 4px 8px; color: #17100a; background: var(--accent); border-radius: 3px; font-size: 12px; }
.disclosure-band p { margin: 0; color: #aaaab0; font-size: 12px; line-height: 1.6; }

.catalog-section { width: min(100%, calc(var(--content) + 48px)); margin: 0 auto; padding: 62px 24px 80px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { margin: 6px 0 0; font-size: 30px; }
.result-count { color: var(--muted); font-size: 13px; }
.search-bar { display: none; position: relative; margin-bottom: 18px; }
.search-bar.is-open { display: block; }
.search-bar input { width: 100%; min-height: 52px; padding: 0 50px 0 18px; color: #fff; background: #19191b; border: 1px solid #38383d; border-radius: 4px; outline: none; }
.search-bar input:focus { border-color: var(--accent); }
.search-bar button { width: 42px; height: 42px; position: absolute; top: 5px; right: 5px; color: #aaa; background: transparent; border: 0; cursor: pointer; font-size: 24px; }
.filter-row { display: flex; gap: 8px; margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.chip { min-height: 38px; flex: 0 0 auto; padding: 0 16px; color: #b6b6bb; background: #1e1e20; border: 1px solid #313134; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 700; }
.chip:hover, .chip.is-active { color: #16100a; background: var(--accent); border-color: var(--accent); }

.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; }
.video-card { min-width: 0; }
.thumbnail {
  display: block;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: #222225;
  border-radius: var(--radius);
  cursor: pointer;
}
.thumbnail img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s ease, opacity .3s ease; }
.video-card:hover .thumbnail img { transform: scale(1.04); opacity: .75; }
.card-play { width: 48px; height: 48px; position: absolute; left: 50%; top: 50%; display: grid; place-items: center; color: #18100a; background: var(--accent); border: 0; border-radius: 50%; opacity: 0; transform: translate(-50%, -45%); transition: opacity .2s ease, transform .2s ease; cursor: pointer; }
.card-play .play-icon { margin-left: 2px; }
.video-card:hover .card-play, .card-play:focus-visible { opacity: 1; transform: translate(-50%, -50%); }
.tag { position: absolute; top: 9px; left: 9px; padding: 4px 7px; color: #17100a; background: var(--accent); border-radius: 3px; font-size: 10px; font-weight: 900; }
.sample-badge { position: absolute; right: 8px; bottom: 8px; padding: 4px 7px; color: #fff; background: rgba(0,0,0,.78); border-radius: 3px; font-size: 10px; }
.card-body { padding: 12px 2px 0; }
.card-body h3 { display: -webkit-box; min-height: 44px; margin: 0 0 8px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; line-height: 1.5; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #888890; font-size: 12px; }
.card-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; min-height: 32px; padding: 0; color: var(--accent); border: 0; background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; }
.card-link:hover, .card-body a:hover { text-decoration: underline; }
.sample-filter { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 5px; color: #e2e2e5; padding: 0 8px; font-size: 13px; }
.sample-filter input { width: 17px; height: 17px; accent-color: var(--accent); }
.empty-state { padding: 80px 20px; text-align: center; color: #999; background: #171719; border: 1px solid #2c2c30; }
.empty-state h3 { color: #eee; }

.site-footer { padding: 40px 24px; margin-top: 42px; border-top: 1px solid var(--line); text-align: center; background: #09090a; }
.footer-brand { justify-content: center; font-size: 23px; }
.site-footer > p { color: #77777e; font-size: 12px; }
.footer-note { max-width: 620px; margin: 24px auto 0; line-height: 1.8; }
.copyright { margin-top: 28px; }

.sample-dialog { width: min(960px, calc(100% - 30px)); max-height: calc(100vh - 30px); padding: 0; color: #fff; background: #151517; border: 1px solid #3a3a3e; border-radius: var(--radius); box-shadow: 0 35px 100px rgba(0,0,0,.75); }
.sample-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(6px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid #303034; }
.dialog-header span { color: var(--accent); font-size: 10px; font-weight: 900; }
.dialog-header h2 { max-width: 760px; margin: 4px 0 0; overflow-wrap: anywhere; font-size: 18px; }
.dialog-header button { width: 38px; height: 38px; flex: 0 0 38px; color: #fff; background: #27272a; border: 0; border-radius: 4px; cursor: pointer; font-size: 25px; }
.player-wrap { aspect-ratio: 16 / 9; display: grid; place-items: center; background: #000; }
.player-wrap iframe { width: 100%; height: 100%; border: 0; }
.player-message { max-width: 540px; padding: 30px; text-align: center; color: #bbb; line-height: 1.8; }
.dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; }
.sample-fallback { color: #c4c4ca; font-size: 13px; text-decoration: underline; }

.genre-entry { padding-top: 26px; padding-bottom: 0; }
.provider-entry { padding-block: 28px 0; }
.provider-entry h2 { margin: 0 0 12px; font-size: 20px; }
.provider-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.provider-links a { display: inline-flex; border-bottom: 2px solid var(--line); padding: 9px 8px; font-size: 14px; font-weight: 700; }
.provider-links a:hover { color: var(--accent); border-color: var(--accent); }
.provider-entry + .catalog-section { padding-top: 36px; }
.provider-filters { margin-bottom: 14px; }
.thumbnail-unpictured { display: grid; place-items: center; background: #262329; border: 1px solid #3f3943; }
.thumbnail-unpictured > strong { color: #f0eaee; font-size: 18px; overflow-wrap: anywhere; }
.genre-entry h2 { margin: 0 0 15px; font-size: 29px; }
.genre-group + .genre-group { margin-top: 20px; }
.genre-group h3 { margin: 0 0 8px; color: #c5c5ca; font-size: 14px; }
.genre-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.genre-links a { display: grid; align-content: start; gap: 5px; padding: 13px 15px; overflow-wrap: anywhere; }
.genre-links a:not(:nth-child(4n + 1)) { border-left: 1px solid var(--line); }
.genre-links a:nth-child(n + 5) { border-top: 1px solid var(--line); }
.genre-links a:hover { background: var(--panel); }
.genre-links strong { font-size: 17px; }
.genre-links span { color: var(--accent-soft); font-size: 13px; line-height: 1.55; }
.entry-page { width: min(100%, calc(var(--content) + 48px)); margin-inline: auto; padding: 30px 24px 64px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 24px; color: #babac0; font-size: 13px; }
.breadcrumb a:hover { color: var(--accent); }
.entry-page h1 { margin: 0 0 14px; font-size: 32px; line-height: 1.35; overflow-wrap: anywhere; }
.entry-page h2 { font-size: 23px; }
.entry-page p { max-width: 74ch; color: #c5c5ca; line-height: 1.8; }
.entry-preview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: start; gap: 24px; }
.entry-cover { display: block; width: 100%; height: auto; min-height: 120px; background: var(--panel); border-radius: var(--radius); }
.entry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.entry-actions a, .entry-actions button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.entry-page .fineprint { font-size: 13px; }
.entry-data { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 16px; color: #ccc; font-size: 14px; }
.entry-data dt { color: #aaaab1; }
.entry-data dd { margin: 0; overflow-wrap: anywhere; }
.entry-section { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); }
.entry-links { margin: 0; padding: 0; list-style: none; }
.entry-links a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.entry-links a:hover { color: var(--accent); }
.entry-links span { margin-left: 8px; color: var(--accent); font-size: 12px; }
.preview-notice { padding: 8px 24px; color: #c6dcff; background: #172539; font-size: 13px; }
#catalogTitle, #guideTitle { scroll-margin-top: 80px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 960px) {
  .site-header { gap: 20px; }
  .main-nav { display: none; }
  .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero h1 { font-size: 88px; }
  .hero-line { font-size: 31px; }
}

@media (max-width: 720px) {
  .site-header { min-height: 60px; grid-template-columns: 1fr auto; padding: 0 16px; }
  .brand { font-size: 23px; }
  .hero { min-height: 470px; align-items: flex-end; }
  .hero-media { height: 320px; object-position: 69% 25%; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 18%, #0d0d0ee6 36%, #0d0d0e56 57%, transparent 72%); }
  .hero-content { padding: 146px 20px 25px; }
  .hero h1 { font-size: 78px; }
  .hero-line { margin-top: 12px; font-size: 28px; }
  .hero-description { font-size: 14px; }
  .hero-actions { margin-top: 19px; }
  .hero-actions .button { min-height: 44px; padding-inline: 12px; font-size: 13px; }
  .disclosure-band { align-items: flex-start; padding-inline: 18px; }
  .catalog-section { padding: 46px 16px 60px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .card-play { opacity: .9; transform: translate(-50%, -50%); }
  .card-body h3 { min-height: 42px; font-size: 13px; }
  .age-panel { padding: 34px 22px; }
  .age-actions { grid-template-columns: 1fr; }
  .dialog-footer { align-items: stretch; flex-direction: column; }
  .genre-entry { padding-top: 24px; padding-bottom: 0; }
  .genre-entry h2 { font-size: 25px; }
  .genre-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .genre-links a { padding: 11px 12px; }
  .genre-links a:nth-child(odd) { border-left: 0; }
  .genre-links a:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .genre-links strong { font-size: 15px; }
  .entry-page { padding: 24px 16px 48px; }
  .entry-page h1 { font-size: 24px; }
  .entry-preview { grid-template-columns: 1fr; gap: 12px; }
  .filter-row { flex-wrap: wrap; overflow: visible; }
}

@media (max-width: 420px) {
  .hero-line { font-size: 25px; }
  .video-grid { grid-template-columns: 1fr; }
  .thumbnail { aspect-ratio: 16 / 9; }
  .card-body h3 { min-height: auto; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
