:root {
  color-scheme: light;
  --ink: #181818;
  --muted: #666;
  --line: #dedede;
  --surface: #fff;
  --soft: #f4f5f5;
  --accent: #d7263d;
  --accent-dark: #aa172b;
  --teal: #167d78;
  --black: #0d0d0d;
  --content: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Yu Gothic UI", sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
}

body.age-check-visible {
  padding-bottom: 88px;
}

body.dialog-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input,
select {
  font: inherit;
}

.content-width,
.header-inner,
.footer-inner,
.watch-width {
  width: min(100% - 32px, var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--black);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  padding-left: 2px;
}

.adult-badge {
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 4px 5px;
}

.main-nav {
  display: flex;
  align-self: stretch;
  margin-left: auto;
}

.main-nav a {
  display: grid;
  min-width: 72px;
  place-items: center;
  border-bottom: 3px solid transparent;
  color: #444;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.is-active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.catalog-head {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  padding: 30px 0 24px;
}

.catalog-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.catalog-head h1,
.not-found h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.3;
}

.sort-tabs {
  display: flex;
  gap: 2px;
  margin-top: 18px;
}

.sort-tabs a {
  min-width: 76px;
  border-bottom: 2px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 10px;
  text-align: center;
  text-decoration: none;
}

.sort-tabs a:hover,
.sort-tabs a.is-active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.page-count {
  color: var(--muted);
  font-size: 13px;
}

.search-form {
  margin-top: 20px;
}

.search-form > label {
  display: block;
  margin-bottom: 5px;
  color: #444;
  font-size: 12px;
  font-weight: 700;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 132px 84px 42px;
  gap: 8px;
  max-width: 850px;
}

.search-row input,
.search-row select,
.search-row button,
.clear-search {
  min-height: 44px;
  border-radius: 5px;
}

.search-row input,
.search-row select {
  width: 100%;
  border: 1px solid #bbb;
  background: #fff;
  color: var(--ink);
  padding: 9px 12px;
}

.search-row input:focus,
.search-row select:focus {
  border-color: var(--teal);
  outline: 2px solid rgba(22, 125, 120, .18);
}

.search-row button {
  border: 1px solid var(--black);
  background: var(--black);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.search-row button:hover {
  background: #333;
}

.clear-search {
  display: grid;
  place-items: center;
  border: 1px solid #bbb;
  background: #fff;
  color: #444;
  font-size: 22px;
  text-decoration: none;
}

.catalog-section,
.related-section {
  padding: 28px 0 48px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px 14px;
}

.video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 800 / 538;
  background: #e8e8e8;
}

button.card-media {
  width: 100%;
  border: 0;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .18s ease;
}

.video-card:hover .card-media img {
  transform: scale(1.025);
}

.image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #777;
  font-size: 12px;
}

.play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  translate: -50% -50%;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: rgba(13, 13, 13, .72);
  color: #fff;
  font-size: 16px;
  padding-left: 3px;
}

.sample-label {
  position: absolute;
  right: 7px;
  bottom: 7px;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 7px;
}

.card-body {
  padding: 10px;
}

.card-title {
  display: -webkit-box;
  min-height: 42px;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-title a {
  text-decoration: none;
}

.card-title a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.title-play {
  display: -webkit-box;
  width: 100%;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  padding: 0;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.title-play:hover {
  color: var(--accent);
  text-decoration: underline;
}

.card-actress {
  min-height: 22px;
  margin: 6px 0 0;
  overflow: hidden;
  color: var(--teal);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-meta {
  display: flex;
  min-height: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

.card-meta span {
  color: var(--accent-dark);
  font-weight: 800;
}

.long-grid .card-media {
  aspect-ratio: 16 / 9;
}

.long-grid .card-media img {
  object-fit: cover;
}

.long-purchase {
  display: inline-block;
  margin-top: 7px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
}

.long-dialog {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  background: rgba(0, 0, 0, .82);
  padding: 12px;
}

.long-dialog[hidden] {
  display: none;
}

.long-dialog-panel {
  width: min(100%, 960px);
  max-height: calc(100vh - 24px);
  overflow: hidden;
  border: 1px solid #333;
  border-radius: 6px;
  background: var(--black);
  color: #fff;
}

.dialog-head {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px 8px 16px;
}

.dialog-head strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dialog-head button {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #555;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.long-dialog video {
  width: 100%;
  max-height: calc(100vh - 96px);
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.pagination a,
.pagination span {
  display: grid;
  min-width: 44px;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.pagination span {
  border-color: var(--black);
  background: var(--black);
  color: #fff;
}

.empty-state,
.not-found {
  padding: 72px 0;
  text-align: center;
}

.empty-state h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.empty-state p {
  margin: 0 0 18px;
  color: var(--muted);
}

.watch-band {
  background: var(--black);
  color: #fff;
  padding: 16px 0 28px;
}

.watch-width {
  max-width: 1280px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  color: #bbb;
  font-size: 12px;
  white-space: nowrap;
}

.breadcrumb span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-shell {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-shell video {
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.continuous-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 44px;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #333;
  background: #171717;
  padding: 10px;
}

.player-nav-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #555;
  border-radius: 50%;
  background: #242424;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
}

.player-nav-button:disabled {
  cursor: default;
  opacity: .35;
}

.now-playing {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.now-playing > span,
.now-playing small {
  color: #999;
  font-size: 11px;
  white-space: nowrap;
}

.now-playing a {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.autoplay-toggle {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  color: #ddd;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.autoplay-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.playlist-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-top: 1px solid #333;
  background: #111;
  padding: 10px;
  scrollbar-color: #555 #111;
}

.playlist-item {
  display: grid;
  flex: 0 0 190px;
  min-width: 0;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid #3c3c3c;
  border-radius: 5px;
  background: #202020;
  color: #ddd;
  cursor: pointer;
  padding: 5px;
  text-align: left;
}

.playlist-item.is-current {
  border-color: var(--accent);
  background: #2b171a;
}

.playlist-item img {
  width: 72px;
  height: 48px;
  border-radius: 3px;
  background: #111;
  object-fit: contain;
}

.playlist-item span {
  display: -webkit-box;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.legacy-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  color: #fff;
  outline: 0;
  touch-action: pan-y;
  user-select: none;
}

.legacy-player video {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.player-osd {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px 16px;
  color: #fff;
  opacity: .76;
  pointer-events: none;
  text-align: left;
  text-shadow: 0 1px 3px #000, 1px 0 2px #000, -1px 0 2px #000;
  transition: opacity .2s ease;
}

.player-osd.is-muted {
  opacity: 0;
}

.player-osd-title {
  max-width: calc(100% - 150px);
  overflow: hidden;
  font-size: 16px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-osd-performer {
  max-width: calc(100% - 150px);
  overflow: hidden;
  color: #ddd;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-osd-time {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.player-message {
  position: absolute;
  z-index: 35;
  top: 50%;
  left: 50%;
  width: min(80%, 760px);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  text-shadow: 0 2px 4px #000, 1px 0 3px #000, -1px 0 3px #000;
  transform: translate(-50%, -50%);
  transition: opacity .2s ease;
}

.player-message.is-visible {
  opacity: .9;
}

.player-surface {
  position: absolute;
  z-index: 10;
  inset: 5%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.player-ui {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.player-ui.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.player-top-controls,
.player-bottom-controls,
.player-center-controls {
  position: absolute;
  z-index: 20;
}

.player-top-controls {
  top: 0;
  left: 0;
}

.player-bottom-controls {
  bottom: 0;
  left: 0;
}

.player-bottom-controls a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid #777;
  border-radius: 6px;
  background: rgba(32, 32, 32, .72);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  text-decoration: none;
}

.player-center-controls {
  top: 56%;
  left: 50%;
  display: flex;
  width: min(100%, 650px);
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: translate(-50%, -50%);
}

.player-control-button {
  display: inline-flex;
  width: 104px;
  min-width: 0;
  height: 54px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #888;
  border-radius: 6px;
  background: rgba(48, 48, 48, .72);
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
}

.player-control-button small {
  font-size: 12px;
}

.player-control-button:disabled {
  cursor: default;
  opacity: .35;
}

.player-play-button {
  width: 112px;
  font-size: 25px;
}

.player-play-button .pause-icon {
  display: inline-flex;
  gap: 7px;
}

.player-play-button .pause-icon::before,
.player-play-button .pause-icon::after {
  width: 6px;
  height: 24px;
  background: #fff;
  content: "";
}

.player-fullscreen-button {
  width: auto;
  min-width: 108px;
  height: 44px;
  padding: 8px 14px;
  font-size: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .player-control-button:hover,
  .player-bottom-controls a:hover {
    border-color: #fff;
    background: rgba(86, 86, 86, .88);
  }
}

.player-unlock {
  position: absolute;
  z-index: 25;
  top: 50%;
  left: 50%;
  width: 90%;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .68);
  cursor: pointer;
  font-size: 28px;
  padding: 24px;
  text-align: center;
  text-shadow: 0 2px 4px #000;
  transform: translate(-50%, -50%);
}

.player-unlock[hidden] {
  display: none;
}

.player-favorite {
  position: absolute;
  z-index: 30;
  right: 12px;
  bottom: 14px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .66);
  cursor: pointer;
  font-size: 48px;
  line-height: 1;
  padding: 0;
  text-shadow: 0 2px 4px #000;
}

.player-favorite.is-active {
  color: var(--accent);
}

.player-progress {
  position: absolute;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, .22);
  cursor: pointer;
}

.player-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}

.legacy-player:fullscreen,
.legacy-player.is-fullscreen-fallback {
  width: 100vw;
  height: 100vh;
  max-width: none;
  aspect-ratio: auto;
  background: #000;
}

.legacy-player.is-fullscreen-fallback {
  position: fixed;
  z-index: 1000;
  inset: 0;
}

.player-tab-menu {
  display: flex;
  min-height: 48px;
  align-items: end;
  gap: 4px;
  border-bottom: 2px solid #555;
  background: #111;
  padding: 8px 10px 0;
}

.player-tab-button {
  min-height: 40px;
  border: 1px solid #666;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: #282828;
  color: #eee;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 15px;
}

.player-tab-button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.player-tab-menu .autoplay-toggle {
  align-self: center;
  margin-left: 8px;
}

.player-counter {
  align-self: center;
  margin-left: auto;
  color: #aaa;
  font-size: 12px;
  padding: 0 4px 8px;
  white-space: nowrap;
}

.player-tab-content {
  background: #111;
}

.player-tab-panel[hidden] {
  display: none;
}

.player-carousel {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 12px 10px 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--accent) #292929;
}

.player-carousel-item {
  position: relative;
  display: flex;
  flex: 0 0 200px;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #444;
  border-radius: 6px;
  background: #202020;
  color: #fff;
  cursor: pointer;
  padding: 0;
  scroll-snap-align: start;
  text-align: left;
  text-decoration: none;
}

.player-carousel-item.is-current {
  border: 4px solid var(--accent);
}

.player-carousel-item.is-current::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  background: var(--accent);
  color: #fff;
  content: "再生中";
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
}

.player-carousel-item img {
  width: 100%;
  height: auto;
  max-height: 272px;
  aspect-ratio: 147 / 200;
  background: #111;
  object-fit: contain;
}

.player-carousel-item > span {
  display: -webkit-box;
  min-height: 58px;
  overflow: hidden;
  background: #202020;
  font-size: 12px;
  line-height: 1.45;
  padding: 9px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr);
  gap: 48px;
  padding-top: 34px;
  padding-bottom: 46px;
}

.detail-main h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.45;
}

.detail-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.detail-summary a {
  color: var(--teal);
  font-weight: 700;
}

.detail-summary strong {
  color: var(--accent-dark);
}

.description {
  margin: 24px 0 0;
  color: #333;
  line-height: 1.85;
}

.purchase-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  padding: 10px 24px;
  text-decoration: none;
}

.purchase-button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.detail-facts {
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.detail-facts h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

.detail-facts dl {
  margin: 0;
}

.detail-facts dl > div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
  font-size: 13px;
}

.detail-facts dt {
  color: var(--muted);
  font-weight: 700;
}

.detail-facts dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.related-section {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: 22px;
}

.site-footer {
  border-top: 1px solid #333;
  background: #171717;
  color: #aaa;
  padding: 28px 0;
  font-size: 12px;
}

.footer-inner {
  display: grid;
  gap: 5px;
}

.site-footer p {
  margin: 0;
}

.site-footer strong {
  color: #fff;
}

.age-check {
  position: fixed;
  z-index: 50;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-top: 2px solid var(--accent);
  background: #fff;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, .16);
  padding: 12px 24px;
}

.age-check[hidden] {
  display: none;
}

.age-check p {
  display: flex;
  gap: 14px;
  margin: 0;
}

.age-check p span {
  color: var(--muted);
}

.age-check button {
  min-height: 42px;
  border: 1px solid var(--black);
  border-radius: 5px;
  background: var(--black);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 8px 18px;
}

@media (max-width: 1100px) {
  .video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .content-width,
  .header-inner,
  .footer-inner,
  .watch-width {
    width: min(100% - 24px, var(--content));
  }

  .header-inner {
    min-height: 58px;
    gap: 8px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .adult-badge {
    display: none;
  }

  .main-nav a {
    min-width: 48px;
    font-size: 12px;
  }

  .catalog-head {
    padding: 22px 0 18px;
  }

  .catalog-head h1 {
    font-size: 23px;
  }

  .search-row {
    grid-template-columns: minmax(0, 1fr) 108px 70px;
  }

  .clear-search {
    display: none;
  }

  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 8px;
  }

  .card-body {
    padding: 8px;
  }

  .card-title {
    min-height: 40px;
    font-size: 13px;
  }

  .play-badge {
    width: 40px;
    height: 40px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .continuous-controls {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 7px;
    padding: 8px;
  }

  .player-nav-button {
    width: 40px;
    height: 40px;
  }

  .autoplay-toggle {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    min-height: 28px;
  }

  .now-playing {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .now-playing > span {
    display: none;
  }

  .continuous-next {
    grid-column: 3;
  }

  .playlist-item {
    flex-basis: 172px;
  }

  .detail-facts {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-top: 22px;
    padding-left: 0;
  }

  .age-check {
    justify-content: space-between;
    gap: 12px;
  }

  .age-check p {
    display: block;
    font-size: 12px;
  }

  .age-check p span {
    display: block;
  }
}

@media (max-width: 520px) {
  body.age-check-visible {
    padding-bottom: 96px;
  }

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

  .sample-label {
    right: 5px;
    bottom: 5px;
    padding: 5px;
  }

  .card-actress {
    min-height: 20px;
  }

  .watch-band {
    padding-bottom: 14px;
  }

  .watch-width {
    width: 100%;
  }

  .breadcrumb {
    padding-inline: 12px;
  }

  .detail-main h1 {
    font-size: 21px;
  }

  .purchase-button {
    display: flex;
    width: 100%;
  }

  .age-check {
    padding: 10px 12px;
  }

  .age-check button {
    max-width: 132px;
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .watch-band {
    padding-top: 10px;
  }

  .watch-width {
    width: 100%;
  }

  .watch-width .breadcrumb {
    margin-right: 12px;
    margin-left: 12px;
  }

  .player-osd {
    padding: 7px 9px;
  }

  .player-osd-title {
    max-width: calc(100% - 100px);
    font-size: 10px;
    font-weight: 700;
  }

  .player-osd-performer {
    display: none;
  }

  .player-osd-time {
    top: 7px;
    right: 9px;
    font-size: 11px;
  }

  .player-message,
  .player-unlock {
    font-size: 16px;
  }

  .player-unlock {
    padding: 12px;
  }

  .player-center-controls {
    top: 57%;
    width: 100%;
    gap: 5px;
  }

  .player-control-button {
    width: 54px;
    height: 42px;
    gap: 2px;
    font-size: 11px;
    padding: 5px;
  }

  .player-control-button small {
    font-size: 9px;
  }

  .player-play-button {
    width: 60px;
    height: 48px;
    font-size: 18px;
  }

  .player-play-button .pause-icon {
    gap: 5px;
  }

  .player-play-button .pause-icon::before,
  .player-play-button .pause-icon::after {
    width: 4px;
    height: 18px;
  }

  .player-fullscreen-button {
    min-width: 0;
    width: auto;
    height: 34px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .player-bottom-controls a {
    min-height: 34px;
    font-size: 10px;
    padding: 5px 8px;
  }

  .player-favorite {
    right: 6px;
    bottom: 7px;
    width: 36px;
    height: 36px;
    font-size: 31px;
  }

  .player-progress {
    height: 3px;
  }

  .player-tab-menu {
    min-height: 44px;
    overflow-x: auto;
    align-items: end;
    padding: 6px 8px 0;
  }

  .player-tab-button {
    min-height: 38px;
    flex: 0 0 auto;
    font-size: 11px;
    padding: 7px 10px;
  }

  .player-tab-menu .autoplay-toggle {
    flex: 0 0 auto;
    margin-left: 4px;
    font-size: 10px;
  }

  .player-tab-menu .autoplay-toggle input {
    width: 16px;
    height: 16px;
  }

  .player-counter {
    display: none;
  }

  .player-carousel {
    gap: 10px;
    padding: 10px 8px 14px;
  }

  .player-carousel-item {
    flex-basis: 150px;
  }

  .player-carousel-item > span {
    min-height: 51px;
    font-size: 10px;
    padding: 7px;
  }
}

@media (max-width: 380px) {
  .player-control-button {
    width: 49px;
  }

  .player-play-button {
    width: 55px;
  }

  .player-tab-menu .autoplay-toggle span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card-media img {
    transition: none;
  }

  .player-ui,
  .player-message,
  .player-osd {
    transition: none;
  }
}
