/* このページだけCocoonの通常レイアウトを隠し、公式サンプルを1画面に表示します。 */
body.nukimeki-watch-page-template-body {
  height: 100%;
  overflow: hidden !important;
  background: var(--nk-color-bg);
  color: var(--nk-color-text);
}

body.nukimeki-watch-page-template-body #header-container,
body.nukimeki-watch-page-template-body #navi,
body.nukimeki-watch-page-template-body #footer,
body.nukimeki-watch-page-template-body #sidebar,
body.nukimeki-watch-page-template-body #breadcrumb,
body.nukimeki-watch-page-template-body .breadcrumb,
body.nukimeki-watch-page-template-body .breadcrumb-list,
body.nukimeki-watch-page-template-body #main .entry-title,
body.nukimeki-watch-page-template-body #main .article-header,
body.nukimeki-watch-page-template-body #main .date-tags,
body.nukimeki-watch-page-template-body #main .sns-share,
body.nukimeki-watch-page-template-body #main .sns-follow,
body.nukimeki-watch-page-template-body #main .pager-post-navi,
body.nukimeki-watch-page-template-body #main .related-entry,
body.nukimeki-watch-page-template-body #main .entry-footer,
body.nukimeki-watch-page-template-body #main .comment-box,
body.nukimeki-watch-page-template-body .footer-bottom,
body.nukimeki-watch-page-template-body .page-top-button {
  display: none !important;
}

body.nukimeki-watch-page-template-body .mobile-header-menu-buttons,
body.nukimeki-watch-page-template-body .mobile-footer-menu-buttons,
body.nukimeki-watch-page-template-body #navi-menu-content,
body.nukimeki-watch-page-template-body #search-menu-content,
body.nukimeki-watch-page-template-body .menu-content {
  display: none !important;
}

.nukimeki-watch,
.nukimeki-watch *,
.nukimeki-watch *::before,
.nukimeki-watch *::after {
  box-sizing: border-box;
}

.nukimeki-watch [hidden] {
  display: none !important;
}

.nukimeki-watch {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  flex-direction: column;
  overflow: hidden;
  background: var(--nk-color-bg);
  color: var(--nk-color-text);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

.nukimeki-watch button,
.nukimeki-watch a {
  font-family: inherit;
}

.nukimeki-watch__pr {
  flex: none;
  margin: 0;
  padding: calc(5px + env(safe-area-inset-top)) 14px 3px;
  color: var(--nk-color-muted-dark);
  font-size: 10px;
  line-height: 1.4;
}

.nukimeki-watch__bar {
  z-index: 2;
  flex: none;
  padding: 0 14px 7px;
  border-bottom: 1px solid var(--nk-color-line);
}

.nukimeki-watch__bar-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.nukimeki-watch__brand {
  flex: none;
  color: var(--nk-color-text);
  font-family: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}

.nukimeki-watch__page {
  color: var(--nk-color-muted);
  font-size: 12px;
  white-space: nowrap;
}

.nukimeki-watch__filter,
.nukimeki-watch__saved {
  flex: none;
  padding: 3px 9px;
  border: 1px solid var(--nk-color-line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--nk-color-muted);
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
}

.nukimeki-watch__filter {
  margin-left: auto;
}

.nukimeki-watch__filter.is-on {
  border-color: var(--nk-color-accent);
  background: var(--nk-color-surface);
  color: var(--nk-color-text);
}

.nukimeki-watch__filter b,
.nukimeki-watch__saved b {
  color: var(--nk-color-text);
  font-weight: 700;
}

.nukimeki-watch__saved.is-on {
  color: var(--nk-color-accent-soft);
}

.nukimeki-watch__count {
  flex: none;
  color: var(--nk-color-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.nukimeki-watch__note {
  flex: none;
  margin: 4px 14px 0;
  color: var(--nk-color-muted-dark);
  font-size: 10px;
  line-height: 1.4;
}

@media (max-width: 399px) {
  .nukimeki-watch__page {
    display: none;
  }
}

.nukimeki-watch__feed {
  width: 100%;
  max-width: 430px;
  min-height: 0;
  flex: 1 1 auto;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.nukimeki-watch__feed::-webkit-scrollbar {
  display: none;
}

.nukimeki-watch__card {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 100%;
  flex-direction: column;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--nk-color-bg);
}

.nukimeki-watch__stage {
  position: relative;
  width: 100%;
  max-width: 430px;
  flex: none;
  aspect-ratio: 3 / 2;
  margin: 0 auto;
  overflow: hidden;
  background: var(--nk-color-bg);
}

.nukimeki-watch__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
  transition: opacity .4s;
}

.nukimeki-watch__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--nk-color-line-strong);
  border-radius: 999px;
  background: var(--nk-color-surface);
  color: var(--nk-color-text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.nukimeki-watch__play span {
  color: var(--nk-color-accent-soft);
}

.nukimeki-watch__frame {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--nk-color-bg);
}

.nukimeki-watch__caption {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--nk-color-surface);
  color: var(--nk-color-text);
  font-size: 10px;
  pointer-events: none;
}

.nukimeki-watch__timer {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--nk-color-line-strong);
  pointer-events: none;
}

.nukimeki-watch__timer b {
  display: block;
  width: 0;
  height: 100%;
  background: var(--nk-color-accent);
  transition: width .25s linear;
}

.nukimeki-watch__after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(to top, var(--nk-color-bg), transparent);
  color: var(--nk-color-text);
  font-family: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .06em;
}

.nukimeki-watch__card[data-state="s1"] .nukimeki-watch__image,
.nukimeki-watch__card[data-state="s1"] .nukimeki-watch__play,
.nukimeki-watch__card:not([data-state="s1"]) .nukimeki-watch__frame,
.nukimeki-watch__card:not([data-state="s1"]) .nukimeki-watch__timer,
.nukimeki-watch__card:not([data-state="s1"]) .nukimeki-watch__caption,
.nukimeki-watch__card:not([data-state="s2"]) .nukimeki-watch__after,
.nukimeki-watch__card[data-state="s2"] .nukimeki-watch__play {
  display: none;
}

.nukimeki-watch__meta {
  min-height: 0;
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px 14px 3px;
  scrollbar-width: none;
}

.nukimeki-watch__meta::-webkit-scrollbar {
  display: none;
}

.nukimeki-watch__score {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}

.nukimeki-watch__score-label,
.nukimeki-watch__score-value,
.nukimeki-watch__score-max,
.nukimeki-watch__axis-number {
  font-family: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", serif;
}

.nukimeki-watch__score-label {
  color: var(--nk-color-muted);
  font-size: 13px;
}

.nukimeki-watch__score-value {
  color: var(--nk-color-text);
  font-size: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.nukimeki-watch__score-max {
  color: var(--nk-color-muted);
  font-size: 13px;
}

.nukimeki-watch__score-note {
  margin-left: 2px;
  color: var(--nk-color-muted-dark);
  font-size: 10px;
}

.nukimeki-watch__chip {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--nk-color-line-strong);
  border-radius: 999px;
  color: var(--nk-color-muted);
  font-size: 11px;
  line-height: 1.5;
}

.nukimeki-watch__chip--grade {
  border-color: var(--nk-color-accent);
  color: var(--nk-color-accent-soft);
  font-weight: 700;
}

.nukimeki-watch__chip--sale {
  border-color: var(--nk-color-accent);
  color: var(--nk-color-accent-soft);
}

.nukimeki-watch__title {
  margin: 6px 0 4px;
  color: var(--nk-color-text);
  font-family: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.nukimeki-watch__actresses {
  margin: 2px 0 0;
  color: var(--nk-color-text);
  font-size: 13px;
  line-height: 1.4;
}

.nukimeki-watch__work {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--nk-color-muted);
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.nukimeki-watch__axes {
  display: grid;
  gap: 4px;
  margin: 7px 0 0;
}

.nukimeki-watch__axis-row {
  display: grid;
  min-height: 17px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: var(--nk-color-muted);
  font-size: 10.5px;
  line-height: 1.25;
}

.nukimeki-watch__axis-name {
  color: var(--nk-color-text);
}

.nukimeki-watch__axis-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nukimeki-watch__axis-bar {
  display: inline-flex;
  gap: 2px;
}

.nukimeki-watch__axis-bar i {
  width: 14px;
  height: 6px;
  border-radius: 2px;
  background: var(--nk-color-line-strong);
}

.nukimeki-watch__axis-bar i.is-on {
  background: var(--nk-color-accent);
}

.nukimeki-watch__axis-number {
  width: 28px;
  color: var(--nk-color-text);
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

.nukimeki-watch__body {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 0;
  color: var(--nk-color-muted);
  font-size: 10.5px;
}

.nukimeki-watch__body-item b {
  color: var(--nk-color-text);
  font-weight: 500;
}

.nukimeki-watch__cta {
  display: grid;
  flex: none;
  gap: 8px;
  padding: 6px 14px calc(9px + env(safe-area-inset-bottom));
}

.nukimeki-watch__cta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 46px;
  gap: 8px;
}

.nukimeki-watch__button {
  display: flex;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 9px 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.nukimeki-watch__button--primary {
  background: var(--nk-color-accent);
  color: var(--nk-color-text);
  font-size: 14px;
}

.nukimeki-watch__button--secondary {
  border-color: var(--nk-color-line-strong);
  background: transparent;
  color: var(--nk-color-text);
}

.nukimeki-watch__button--secondary.is-fanza {
  border-color: var(--nk-color-accent);
  color: var(--nk-color-accent-soft);
}

.nukimeki-watch__save {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--nk-color-line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--nk-color-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.nukimeki-watch__save.is-on {
  border-color: var(--nk-color-accent);
  background: var(--nk-color-surface);
  color: var(--nk-color-accent-soft);
}

.nukimeki-watch__again {
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: var(--nk-color-muted);
  font-size: 12px;
  text-align: center;
  text-decoration: underline;
  cursor: pointer;
}

.nukimeki-watch__card[data-state="s0"] .for-s1,
.nukimeki-watch__card[data-state="s0"] .for-s2,
.nukimeki-watch__card[data-state="s1"] .for-s0,
.nukimeki-watch__card[data-state="s1"] .for-s2,
.nukimeki-watch__card[data-state="s2"] .for-s0,
.nukimeki-watch__card[data-state="s2"] .for-s1 {
  display: none;
}

.nukimeki-watch__hint {
  position: absolute;
  z-index: 4;
  bottom: calc(118px + env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  transform: translateX(-50%);
  border: 1px solid var(--nk-color-line-strong);
  border-radius: 999px;
  background: var(--nk-color-surface);
  color: var(--nk-color-text);
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity .5s;
}

.nukimeki-watch__hint::before {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border-top: 2px solid var(--nk-color-accent-soft);
  border-left: 2px solid var(--nk-color-accent-soft);
  content: "";
  animation: nk-watch-bob 1.2s ease-in-out infinite;
}

.nukimeki-watch__hint.is-hidden {
  opacity: 0;
}

@keyframes nk-watch-bob {
  0%, 100% { transform: translateY(2px) rotate(45deg); }
  50% { transform: translateY(-3px) rotate(45deg); }
}

.nukimeki-watch__feed.is-nudging .nukimeki-watch__card {
  animation: nk-watch-nudge 1.4s cubic-bezier(.4, 0, .2, 1) 1;
}

@keyframes nk-watch-nudge {
  0%, 100% { transform: none; }
  40%, 60% { transform: translateY(-64px); }
}

@media (prefers-reduced-motion: reduce) {
  .nukimeki-watch__feed.is-nudging .nukimeki-watch__card,
  .nukimeki-watch__hint::before {
    animation: none;
  }
}

.nukimeki-watch__arrows {
  position: fixed;
  z-index: 5;
  top: 50%;
  right: max(12px, calc(50% - 215px - 56px));
  display: none;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-50%);
}

.nukimeki-watch__arrows button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--nk-color-line-strong);
  border-radius: 50%;
  background: var(--nk-color-surface);
  color: var(--nk-color-text);
  font-size: 18px;
  cursor: pointer;
}

@media (min-width: 600px) {
  .nukimeki-watch__arrows {
    display: flex;
  }
}

.nukimeki-watch__scrim {
  position: fixed;
  z-index: 6;
  inset: 0;
  background: var(--nk-color-bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.nukimeki-watch__scrim.is-open {
  opacity: .75;
  pointer-events: auto;
}

.nukimeki-watch__sheet {
  position: fixed;
  z-index: 7;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: 100%;
  max-width: 430px;
  max-height: 72vh;
  max-height: 72dvh;
  flex-direction: column;
  margin: 0 auto;
  transform: translateY(105%);
  border: 1px solid var(--nk-color-line-strong);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: var(--nk-color-surface);
  box-shadow: 0 -8px 30px var(--nk-color-line);
  transition: transform .3s;
}

.nukimeki-watch__sheet.is-open {
  transform: translateY(0);
}

.nukimeki-watch__sheet-head {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--nk-color-line);
}

.nukimeki-watch__sheet-title {
  margin: 0;
  color: var(--nk-color-text);
  font-family: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", serif;
  font-size: 15px;
  font-weight: 700;
}

.nukimeki-watch__sheet-close {
  margin-left: auto;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: var(--nk-color-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.nukimeki-watch__sheet-list {
  min-height: 0;
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.nukimeki-watch__sheet-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--nk-color-line);
}

.nukimeki-watch__sheet-thumb {
  width: 72px;
  height: 48px;
  border-radius: 4px;
  background: var(--nk-color-bg);
  object-fit: contain;
}

.nukimeki-watch__sheet-name {
  margin: 0;
  color: var(--nk-color-text);
  font-family: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.nukimeki-watch__sheet-sub {
  margin: 2px 0 0;
  color: var(--nk-color-muted);
  font-size: 11px;
}

.nukimeki-watch__sheet-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.nukimeki-watch__sheet-links a {
  padding: 4px 8px;
  border: 1px solid var(--nk-color-line-strong);
  border-radius: 6px;
  color: var(--nk-color-text);
  font-size: 11px;
  text-decoration: none;
}

.nukimeki-watch__sheet-links a.is-fanza {
  border-color: var(--nk-color-accent);
  color: var(--nk-color-accent-soft);
}

.nukimeki-watch__sheet-remove {
  padding: 6px;
  border: 0;
  background: transparent;
  color: var(--nk-color-muted-dark);
  font-size: 20px;
  cursor: pointer;
}

.nukimeki-watch__sheet-empty {
  padding: 28px 14px;
  color: var(--nk-color-muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.nukimeki-watch__sheet-foot {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--nk-color-line);
  color: var(--nk-color-muted-dark);
  font-size: 11px;
}

.nukimeki-watch__sheet-foot button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--nk-color-muted);
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}

.nukimeki-watch__empty {
  width: min(calc(100% - 28px), 640px);
  margin: auto;
  color: var(--nk-color-text);
}

.nukimeki-watch__empty p {
  margin-top: 0;
}

.nukimeki-watch__noscript {
  margin: 10px 14px;
  color: var(--nk-color-muted);
  font-size: 12px;
  text-align: center;
}

.nukimeki-watch__noscript a {
  color: var(--nk-color-accent-soft);
}

@media (max-height: 720px) {
  .nukimeki-watch__stage {
    max-width: 360px;
  }

  .nukimeki-watch__meta {
    padding-top: 5px;
  }

  .nukimeki-watch__title {
    margin-top: 3px;
    margin-bottom: 2px;
    font-size: 15px;
  }

  .nukimeki-watch__axes {
    gap: 2px;
    margin-top: 4px;
  }

  .nukimeki-watch__axis-row {
    min-height: 15px;
  }
}
