:root {
  color-scheme: light;
  --pink: #f25879;
  --pink-dark: #df4567;
  --pink-soft: #fff1f5;
  --ink: #28242a;
  --muted: #7d747a;
  --line: #f0e4e8;
  --surface: #fff;
  --bg: #faf7f8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 0, #ffe7ef 0, transparent 31%), var(--bg);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}
.sc-watch-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(55, 38, 45, 0.08);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}
.sc-watch-brand {
  color: #252126;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-decoration: none;
}
.sc-watch-brand span {
  color: var(--pink);
}
.sc-watch-back {
  color: #6e666b;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.sc-watch-back:hover {
  color: var(--pink);
}
.sc-watch-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 60px;
}
.sc-watch-main,
.sc-comments {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 20px 62px rgba(75, 46, 57, 0.09);
}
.sc-watch-video-wrap {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 320px;
  background: #09080a;
}
.sc-watch-video-wrap video {
  display: block;
  width: 100%;
  max-height: min(72vh, 760px);
  aspect-ratio: 16/9;
  background: #000;
}
.sc-watch-copy {
  padding: 30px;
}
.sc-watch-kicker {
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.sc-watch-copy h1 {
  margin: 9px 0 12px;
  font-size: clamp(25px, 3.5vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.sc-watch-copy p {
  max-width: 880px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.sc-watch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 18px;
  color: #696166;
  font-size: 13px;
}
.sc-watch-meta b {
  color: var(--ink);
}
.sc-watch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.sc-watch-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid #ffd4de;
  border-radius: 999px;
  color: #dc4a6a;
  background: var(--pink-soft);
  font-size: 12px;
  font-weight: 800;
}
.sc-watch-error {
  padding: 22px;
  color: #c33f5d;
  background: #fff0f3;
}
.sc-comments {
  margin-top: 22px;
  padding: 30px;
}
.sc-comments-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.sc-comments-head span {
  color: var(--pink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.sc-comments-head h2 {
  margin: 4px 0 0;
  font-size: 28px;
}
.sc-comments-head > strong {
  color: var(--muted);
  font-size: 13px;
}
.sc-comment-form {
  position: relative;
  padding: 22px;
  border: 1px solid #f2e4e9;
  border-radius: 20px;
  background: #fffafb;
}
.sc-random-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
}
.sc-random-name span {
  color: var(--muted);
  font-size: 12px;
}
.sc-random-name strong {
  padding: 7px 11px;
  border-radius: 999px;
  color: #d84365;
  background: #ffeaf0;
  font-size: 13px;
}
.sc-comment-form > label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}
.sc-comment-form textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 110px;
  padding: 14px 16px;
  border: 1px solid #e9dce1;
  border-radius: 14px;
  outline: none;
  background: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 1.65;
}
.sc-comment-form textarea:focus,
.sc-captcha-input input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(242, 88, 121, 0.11);
}
.sc-comment-count {
  text-align: right;
  margin: 6px 3px 12px;
  color: #9b9297;
  font-size: 11px;
}
.sc-captcha-row {
  display: grid;
  grid-template-columns: auto minmax(110px, 150px) auto 1fr;
  align-items: end;
  gap: 10px;
}
.sc-captcha-question,
.sc-captcha-input {
  display: grid;
  gap: 6px;
}
.sc-captcha-question span,
.sc-captcha-input span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.sc-captcha-question strong {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px dashed #f0adbd;
  border-radius: 12px;
  color: #c83f5f;
  background: #fff;
  font-size: 16px;
  letter-spacing: 0.08em;
}
.sc-captcha-input input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #e9dce1;
  border-radius: 12px;
  outline: none;
  font: inherit;
}
.sc-captcha-refresh,
.sc-comment-submit {
  height: 44px;
  padding: 0 17px;
  border-radius: 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.sc-captcha-refresh {
  border: 1px solid #eadde2;
  color: #756d72;
  background: #fff;
}
.sc-comment-submit {
  justify-self: end;
  min-width: 130px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), #ff7f9b);
  box-shadow: 0 9px 22px rgba(242, 88, 121, 0.25);
}
.sc-comment-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}
.sc-comment-message {
  min-height: 20px;
  margin: 12px 0 0;
  color: #cf4564;
  font-size: 12px;
}
.sc-comment-list {
  margin-top: 22px;
}
.sc-comment-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 13px;
  padding: 18px 2px;
  border-bottom: 1px solid #f3eaed;
}
.sc-comment-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #ff9ab0, #f25879);
  font-size: 16px;
  font-weight: 900;
}
.sc-comment-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sc-comment-top strong {
  font-size: 14px;
}
.sc-comment-top time {
  color: #9c9499;
  font-size: 11px;
}
.sc-comment-body {
  margin: 7px 0 0;
  color: #5e575b;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sc-comment-empty {
  padding: 26px 0;
  color: #938a90;
  text-align: center;
  font-size: 13px;
}
@media (max-width: 700px) {
  .sc-watch-header {
    min-height: 62px;
    padding: 0 14px;
  }
  .sc-watch-brand {
    font-size: 19px;
  }
  .sc-watch-back {
    font-size: 12px;
  }
  .sc-watch-shell {
    width: calc(100% - 16px);
    margin: 10px auto 34px;
  }
  .sc-watch-main,
  .sc-comments {
    border-radius: 18px;
  }
  .sc-watch-video-wrap {
    min-height: 210px;
  }
  .sc-watch-copy,
  .sc-comments {
    padding: 18px;
  }
  .sc-comment-form {
    padding: 16px;
  }
  .sc-captcha-row {
    grid-template-columns: 1fr 1fr;
  }
  .sc-captcha-refresh,
  .sc-comment-submit {
    width: 100%;
  }
  .sc-comment-submit {
    justify-self: stretch;
  }
  .sc-comment-item {
    grid-template-columns: 38px 1fr;
  }
  .sc-comment-avatar {
    width: 38px;
    height: 38px;
  }
  .sc-comment-top {
    display: block;
  }
  .sc-comment-top time {
    display: block;
    margin-top: 3px;
  }
}

/* Playback page dark theme. Keep this page-specific so the shared navigation
   theme cannot leave light cards or low-contrast headings behind. */
body.dark-mode {
  color-scheme: dark;
  --ink: #f7f1f3;
  --muted: #b9adb2;
  --line: rgba(255, 255, 255, 0.1);
  --surface: #252123;
  --bg: #171516;
  background:
    radial-gradient(
      circle at 88% 0,
      rgba(242, 88, 121, 0.14) 0,
      transparent 34%
    ),
    linear-gradient(180deg, #1b1819 0, #151314 100%);
}

body.dark-mode .sc-watch-video-wrap {
  background: #050505;
  border-radius: 18px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.4);
}

body.dark-mode .sc-watch-copy h1,
body.dark-mode .sc-comments-head h2,
body.dark-mode .sc-comment-form > label,
body.dark-mode .sc-comment-top strong {
  color: #fff8fa;
}

body.dark-mode .sc-watch-copy p,
body.dark-mode .sc-watch-meta,
body.dark-mode .sc-comments-head > strong,
body.dark-mode .sc-random-name span,
body.dark-mode .sc-comment-count,
body.dark-mode .sc-captcha-question span,
body.dark-mode .sc-captcha-input span,
body.dark-mode .sc-comment-top time,
body.dark-mode .sc-comment-empty {
  color: #aa9fa4;
}

body.dark-mode .sc-watch-meta b {
  color: #eee5e8;
}

body.dark-mode .sc-watch-tags span {
  border-color: rgba(255, 126, 153, 0.28);
  color: #ff8fa7;
  background: rgba(242, 88, 121, 0.11);
}

body.dark-mode .sc-comments {
  border-color: rgba(255, 255, 255, 0.09);
  background: linear-gradient(155deg, #282426 0, #211e20 100%);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.3);
}

body.dark-mode .sc-comment-form {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(10, 9, 10, 0.24);
}

body.dark-mode .sc-random-name strong {
  color: #ff9bb0;
  background: rgba(242, 88, 121, 0.14);
}

body.dark-mode .sc-comment-form textarea,
body.dark-mode .sc-captcha-input input,
body.dark-mode .sc-captcha-question strong,
body.dark-mode .sc-captcha-refresh {
  border-color: rgba(255, 255, 255, 0.12);
  color: #f6eef1;
  background: #181617;
}

body.dark-mode .sc-comment-form textarea::placeholder,
body.dark-mode .sc-captcha-input input::placeholder {
  color: #756d71;
  opacity: 1;
}

body.dark-mode .sc-comment-form textarea:focus,
body.dark-mode .sc-captcha-input input:focus {
  border-color: #f25879;
  box-shadow: 0 0 0 3px rgba(242, 88, 121, 0.18);
}

body.dark-mode .sc-captcha-question strong {
  border-style: dashed;
  border-color: rgba(255, 143, 167, 0.42);
  color: #ff9bb0;
}

body.dark-mode .sc-captcha-refresh:hover {
  border-color: rgba(255, 143, 167, 0.48);
  color: #ff9bb0;
  background: rgba(242, 88, 121, 0.09);
}

body.dark-mode .sc-comment-item {
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .sc-comment-body {
  color: #d7cdd1;
}

body.dark-mode .sc-watch-error {
  border: 1px solid rgba(255, 112, 143, 0.24);
  color: #ff9cb1;
  background: rgba(133, 33, 57, 0.22);
}

@media (max-width: 700px) {
  body.dark-mode .sc-watch-video-wrap {
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
  }

  body.dark-mode .sc-comments {
    background: #231f21;
  }
}
