.ku-watch,
.ku-watch * {
  box-sizing: border-box;
}

.ku-watch {
  --ku-orange: #ed9900;
  --ku-ink: #2b2925;
  --ku-muted: #6f6960;
  --ku-line: #ddd9d0;
  color: var(--ku-ink);
  background: #f7f6f2;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  width: 100%;
  max-width: none;
  margin: 0;.ku-watch,
.ku-watch * {
  box-sizing: border-box;
}

.ku-watch {
  --ku-orange: #ed9900;
  --ku-ink: #2b2925;
  --ku-muted: #6f6960;
  --ku-line: #ddd9d0;
  color: var(--ku-ink);
  background: #f7f6f2;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  width: 100%;
  max-width: none;
  margin: 0;
  border: 1px solid var(--ku-line);
  border-radius: 12px;
  overflow: hidden;
}

.ku-watch button,
.ku-watch input,
.ku-watch select {
  font: inherit;
}

.ku-watch button,
.ku-watch a {
  -webkit-tap-highlight-color: transparent;
}

.ku-watch__loading,
.ku-watch-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--ku-muted);
}

.ku-watch__header {
  min-height: 62px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--ku-orange);
}

.ku-watch__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
}

.ku-watch-button {
  border: 1px solid #c9c3b8;
  border-radius: 7px;
  background: #fff;
  color: #403c36;
  padding: 9px 15px;
  cursor: pointer;
  font-weight: 700;
}

.ku-watch-button:hover {
  background: #f2efe8;
}

.ku-watch-button--header {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

.ku-watch-button--header:hover {
  color: #a64f00;
  background: #fff;
}

.ku-watch-services,
.ku-watch-sources,
.ku-watch-filters,
.ku-watch-controls {
  background: #fff;
  border-bottom: 1px solid #eeeae3;
}

.ku-watch-services,
.ku-watch-sources,
.ku-watch-views {
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
}

.ku-watch-services {
  padding: 10px 18px 0;
}

.ku-watch-services button {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 12px 16px;
  background: transparent;
  color: var(--ku-muted);
  font-weight: 700;
  cursor: pointer;
}

.ku-watch-services button.is-active {
  color: #a94f00;
  border-color: var(--ku-orange);
}

.ku-watch-services span,
.ku-watch-views span,
.ku-watch-results h2 span,
.ku-watch-group h3 span {
  margin-left: 7px;
  opacity: 0.58;
  font-weight: 500;
}

.ku-watch-sources {
  padding: 10px 18px;
  gap: 8px;
}

.ku-watch-sources a {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #ddd8ce;
  border-radius: 999px;
  background: #faf9f6;
  color: #5f5a52;
  text-decoration: none;
  font-size: 12px;
}

.ku-watch-sources i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8a847a;
}

.ku-watch-sources i.is-current { background: #328351; }
.ku-watch-sources i.is-error { background: #c95035; }
.ku-watch-sources em { font-style: normal; }

.ku-watch-filters {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  font-size: 14px;
}

.ku-watch-filters > strong {
  flex: 0 0 auto;
  color: #645f57;
  margin-right: 2px;
}

.ku-watch-filters button,
.ku-watch-views button {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid #d8d3c9;
  border-radius: 999px;
  background: #fff;
  color: #625d55;
  cursor: pointer;
  font-weight: 700;
}

.ku-watch-filters button.is-active {
  color: #a94f00;
  border-color: #d98200;
  background: #fff3dc;
}

.ku-watch-filters label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  flex: 0 0 auto;
  color: #645f57;
  font-weight: 700;
}

.ku-watch select,
.ku-watch input[type="search"] {
  min-height: 38px;
  border: 1px solid #d3cec3;
  border-radius: 7px;
  background: #fff;
  color: var(--ku-ink);
  padding: 6px 9px;
}

.ku-watch-filters select {
  max-width: 260px;
}

.ku-watch-controls {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ku-watch-views {
  gap: 8px;
  background: transparent;
  border: 0;
}

.ku-watch-views button {
  border: 0;
  background: #efede7;
}

.ku-watch-views button.is-active {
  color: #fff;
  background: #2e2b26;
}

.ku-watch-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #645f57;
  font-size: 13px;
  font-weight: 700;
}

.ku-watch-tools label {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.ku-watch-search input { width: 190px; }
.ku-watch-size input { width: 90px; }

.ku-watch-notice,
.ku-watch-error {
  margin: 14px 18px 0;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 14px;
}

.ku-watch-notice { background: #edf7ef; color: #24623a; }
.ku-watch-error { background: #fff0ec; color: #9b351f; }

.ku-watch-results {
  padding: 22px 18px 30px;
}

.ku-watch-results h2,
.ku-watch-group h3 {
  margin: 0 0 16px;
  color: #2f2c27;
  font-size: 20px;
}

.ku-watch-group + .ku-watch-group {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--ku-line);
}

.ku-watch-group h3 {
  font-size: 17px;
}

.ku-watch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(var(--ku-cover), 100%), 1fr));
  gap: 24px 17px;
}

.ku-watch-card {
  min-width: 0;
  margin: 0;
}

.ku-watch-card a {
  display: block;
  color: var(--ku-ink);
  text-decoration: none;
}

.ku-watch-card__cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 3px;
  background: #e9e6df;
  box-shadow: 0 2px 9px rgba(39, 35, 29, 0.18);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.ku-watch-card a:hover .ku-watch-card__cover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(39, 35, 29, 0.22);
}

.ku-watch-card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ku-watch-card__empty {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 12px;
  color: #8c867c;
  text-align: center;
  font-size: 12px;
}

.ku-watch-card__cover:not(:has(img)) .ku-watch-card__empty,
.ku-watch-card__cover.is-missing .ku-watch-card__empty {
  display: grid;
}

.ku-watch-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin-top: 8px;
  color: #2b2925;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.ku-watch-card a:hover .ku-watch-card__title { color: #b85b00; }
.ku-watch-more { display: block; margin: 30px auto 0; }

.ku-watch-disclosure {
  margin: 12px 0 24px;
  color: #6f6960;
  font-size: 12px;
  line-height: 1.7;
}

html:has(body.ku-watch-fullscreen-page) {
  margin-top: 0 !important;
  background: #f7f6f2;
}

body.ku-watch-fullscreen-page {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  background: #f7f6f2 !important;
}

.ku-watch-fullscreen-page #wpadminbar {
  display: none !important;
}

.ku-watch-fullscreen-shell {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.ku-watch-fullscreen-shell .ku-watch {
  min-height: calc(100vh - 42px);
  border: 0;
  border-radius: 0;
}

.ku-watch-fullscreen-shell .ku-watch__header,
.ku-watch-fullscreen-shell .ku-watch-services,
.ku-watch-fullscreen-shell .ku-watch-sources,
.ku-watch-fullscreen-shell .ku-watch-filters,
.ku-watch-fullscreen-shell .ku-watch-controls,
.ku-watch-fullscreen-shell .ku-watch-results {
  padding-left: clamp(14px, 2.2vw, 38px);
  padding-right: clamp(14px, 2.2vw, 38px);
}

.ku-watch-fullscreen-shell .ku-watch-disclosure {
  margin: 0;
  padding: 13px clamp(14px, 2.2vw, 38px) 18px;
  background: #f7f6f2;
}

@media (max-width: 980px) {
  .ku-watch-controls { align-items: stretch; flex-direction: column; }
  .ku-watch-tools { flex-wrap: wrap; }
  .ku-watch-filters label { margin-left: 10px; }
}

@media (max-width: 620px) {
  .ku-watch { border-left: 0; border-right: 0; border-radius: 0; }
  .ku-watch__header { padding: 11px 14px; }
  .ku-watch__brand { font-size: 16px; }
  .ku-watch-services,
  .ku-watch-sources,
  .ku-watch-filters,
  .ku-watch-controls,
  .ku-watch-results { padding-left: 12px; padding-right: 12px; }
  .ku-watch-tools { align-items: stretch; flex-direction: column; }
  .ku-watch-tools label { justify-content: space-between; }
  .ku-watch-tools select,
  .ku-watch-tools input[type="search"] { width: min(72vw, 270px); }
  .ku-watch-size { display: none !important; }
  .ku-watch-grid { --ku-cover: 120px !important; gap: 20px 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .ku-watch *,
  .ku-watch *::before,
  .ku-watch *::after { transition: none !important; }
}

  border: 1px solid var(--ku-line);
  border-radius: 12px;
  overflow: hidden;
}

.ku-watch button,
.ku-watch input,
.ku-watch select {
  font: inherit;
}

.ku-watch button,
.ku-watch a {
  -webkit-tap-highlight-color: transparent;
}

.ku-watch__loading,
.ku-watch-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--ku-muted);
}

.ku-watch__header {
  min-height: 62px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--ku-orange);
}

.ku-watch__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
}

.ku-watch-button {
  border: 1px solid #c9c3b8;
  border-radius: 7px;
  background: #fff;
  color: #403c36;
  padding: 9px 15px;
  cursor: pointer;
  font-weight: 700;
}

.ku-watch-button:hover {
  background: #f2efe8;
}

.ku-watch-button--header {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

.ku-watch-button--header:hover {
  color: #a64f00;
  background: #fff;
}

.ku-watch-services,
.ku-watch-sources,
.ku-watch-filters,
.ku-watch-controls {
  background: #fff;
  border-bottom: 1px solid #eeeae3;
}

.ku-watch-services,
.ku-watch-sources,
.ku-watch-views {
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
}

.ku-watch-services {
  padding: 10px 18px 0;
}

.ku-watch-services button {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 12px 16px;
  background: transparent;
  color: var(--ku-muted);
  font-weight: 700;
  cursor: pointer;
}

.ku-watch-services button.is-active {
  color: #a94f00;
  border-color: var(--ku-orange);
}

.ku-watch-services span,
.ku-watch-views span,
.ku-watch-results h2 span,
.ku-watch-group h3 span {
  margin-left: 7px;
  opacity: 0.58;
  font-weight: 500;
}

.ku-watch-sources {
  padding: 10px 18px;
  gap: 8px;
}

.ku-watch-sources a {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #ddd8ce;
  border-radius: 999px;
  background: #faf9f6;
  color: #5f5a52;
  text-decoration: none;
  font-size: 12px;
}

.ku-watch-sources i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8a847a;
}

.ku-watch-sources i.is-current { background: #328351; }
.ku-watch-sources i.is-error { background: #c95035; }
.ku-watch-sources em { font-style: normal; }

.ku-watch-filters {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  font-size: 14px;
}

.ku-watch-filters > strong {
  flex: 0 0 auto;
  color: #645f57;
  margin-right: 2px;
}

.ku-watch-filters button,
.ku-watch-views button {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid #d8d3c9;
  border-radius: 999px;
  background: #fff;
  color: #625d55;
  cursor: pointer;
  font-weight: 700;
}

.ku-watch-filters button.is-active {
  color: #a94f00;
  border-color: #d98200;
  background: #fff3dc;
}

.ku-watch-filters label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  flex: 0 0 auto;
  color: #645f57;
  font-weight: 700;
}

.ku-watch select,
.ku-watch input[type="search"] {
  min-height: 38px;
  border: 1px solid #d3cec3;
  border-radius: 7px;
  background: #fff;
  color: var(--ku-ink);
  padding: 6px 9px;
}

.ku-watch-filters select {
  max-width: 260px;
}

.ku-watch-controls {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ku-watch-views {
  gap: 8px;
  background: transparent;
  border: 0;
}

.ku-watch-views button {
  border: 0;
  background: #efede7;
}

.ku-watch-views button.is-active {
  color: #fff;
  background: #2e2b26;
}

.ku-watch-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #645f57;
  font-size: 13px;
  font-weight: 700;
}

.ku-watch-tools label {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.ku-watch-search input { width: 190px; }
.ku-watch-size input { width: 90px; }

.ku-watch-notice,
.ku-watch-error {
  margin: 14px 18px 0;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 14px;
}

.ku-watch-notice { background: #edf7ef; color: #24623a; }
.ku-watch-error { background: #fff0ec; color: #9b351f; }

.ku-watch-results {
  padding: 22px 18px 30px;
}

.ku-watch-results h2,
.ku-watch-group h3 {
  margin: 0 0 16px;
  color: #2f2c27;
  font-size: 20px;
}

.ku-watch-group + .ku-watch-group {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--ku-line);
}

.ku-watch-group h3 {
  font-size: 17px;
}

.ku-watch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(var(--ku-cover), 100%), 1fr));
  gap: 24px 17px;
}

.ku-watch-card {
  min-width: 0;
  margin: 0;
}

.ku-watch-card a {
  display: block;
  color: var(--ku-ink);
  text-decoration: none;
}

.ku-watch-card__cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 3px;
  background: #e9e6df;
  box-shadow: 0 2px 9px rgba(39, 35, 29, 0.18);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.ku-watch-card a:hover .ku-watch-card__cover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(39, 35, 29, 0.22);
}

.ku-watch-card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ku-watch-card__empty {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 12px;
  color: #8c867c;
  text-align: center;
  font-size: 12px;
}

.ku-watch-card__cover:not(:has(img)) .ku-watch-card__empty,
.ku-watch-card__cover.is-missing .ku-watch-card__empty {
  display: grid;
}

.ku-watch-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin-top: 8px;
  color: #2b2925;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.ku-watch-card a:hover .ku-watch-card__title { color: #b85b00; }
.ku-watch-more { display: block; margin: 30px auto 0; }

.ku-watch-disclosure {
  margin: 12px 0 24px;
  color: #6f6960;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .ku-watch-controls { align-items: stretch; flex-direction: column; }
  .ku-watch-tools { flex-wrap: wrap; }
  .ku-watch-filters label { margin-left: 10px; }
}

@media (max-width: 620px) {
  .ku-watch { border-left: 0; border-right: 0; border-radius: 0; }
  .ku-watch__header { padding: 11px 14px; }
  .ku-watch__brand { font-size: 16px; }
  .ku-watch-services,
  .ku-watch-sources,
  .ku-watch-filters,
  .ku-watch-controls,
  .ku-watch-results { padding-left: 12px; padding-right: 12px; }
  .ku-watch-tools { align-items: stretch; flex-direction: column; }
  .ku-watch-tools label { justify-content: space-between; }
  .ku-watch-tools select,
  .ku-watch-tools input[type="search"] { width: min(72vw, 270px); }
  .ku-watch-size { display: none !important; }
  .ku-watch-grid { --ku-cover: 120px !important; gap: 20px 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .ku-watch *,
  .ku-watch *::before,
  .ku-watch *::after { transition: none !important; }
}
