.video-guide-section {
  padding: 56px 24px;
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border-radius: 0;
  scroll-margin-top: 80px;
}
.video-guide {
  max-width: 760px;
  margin: auto;
  color: #111111;
  font-family: Roboto, Arial, sans-serif;
}
.video-guide * {
  box-sizing: border-box;
}
.video-guide button,
.video-guide select,
.video-guide input {
  font: inherit;
}
.video-guide button {
  cursor: pointer;
}
.video-guide [hidden] {
  display: none !important;
}
.video-guide :is(button, a, select, input):focus-visible {
  outline: 2px solid #087b73;
  outline-offset: 4px;
}
.video-guide svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.guide-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 12px;
  color: #111111;
}
.guide-label > span:first-child {
  font-weight: 600;
  letter-spacing: 0.09em;
  color: #111111;
}
.guide-label a {
  color: #111111;
  text-decoration: none;
  font-weight: 500;
}
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.guide-main {
  min-width: 0;
  width: min(100%, 480px);
  margin: 0 auto;
}
.guide-stage {
  position: relative;
  background: #fff;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
  line-height: 0;
}
.guide-stage video {
  display: block;
  width: 100%;
  height: 610px;
  object-fit: contain;
  background: #fff;
}
.guide-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 68px;
  height: 48px;
  border: 0;
  border-radius: 13px;
  background: #e62117;
  color: #fff;
  box-shadow: 0 2px 10px #0002;
}
.guide-play:hover {
  background: #c91d14;
}
.guide-play svg {
  width: 29px;
  height: 29px;
  margin-left: -3px;
}
.guide-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
}
.guide-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 0 8px;
}
.guide-heading > div {
  min-width: 0;
}
.guide-heading :is(h1, h2) {
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 7px;
}
.guide-meta {
  font-size: 12px;
  color: #111111;
  margin: 0;
  line-height: 1.5;
}
.guide-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: #e5e9eb;
  border-radius: 24px;
  padding: 10px 14px;
  color: #111111;
  font-size: 13px !important;
  font-weight: 500 !important;
}
.guide-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  font-size: 12px;
}
.guide-actions > a {
  color: #111111;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.guide-settings {
  position: relative;
}
.guide-settings summary {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  color: #111111;
}
.guide-settings summary::-webkit-details-marker {
  display: none;
}
.guide-toolbar {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #dce2e3;
  border-radius: 10px;
  position: absolute;
  right: 0;
  z-index: 3;
  box-shadow: 0 8px 20px #1823240c;
}
.guide-toolbar label {
  display: grid;
  gap: 7px;
  color: #111111;
  font-size: 12px;
}
.guide-toolbar select {
  background: #fff;
  color: #111111;
  border: 1px solid #dce2e3;
  border-radius: 6px;
  min-height: 40px;
  padding: 7px;
  font-size: 14px;
}
.guide-status {
  font-size: 12px;
  line-height: 1.5;
  color: #111111;
  margin-top: 8px;
}
.guide-status:empty {
  display: none;
}
.guide-retry,
.guide-copy button {
  background: #fff;
  border: 1px solid #c8d3d4;
  border-radius: 8px;
  padding: 10px 15px;
  min-height: 44px;
}
.guide-chapter-panel {
  background: #f3f5f4;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  min-width: 0;
}
.guide-chapters-heading {
  padding: 20px 18px 16px;
}
.guide-chapters-heading h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
.guide-chapters-heading h3 span {
  margin-left: 8px;
  font-size: 26px;
}
.guide-chapters {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 3px 18px 18px;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}
.guide-chapter {
  position: relative;
  flex: 0 0 210px;
  scroll-snap-align: start;
}
.guide-chapter-jump {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0 0 38px;
  text-align: left;
  color: #111;
}
.guide-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 6px;
}
.guide-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.guide-chapter-jump[aria-current] .guide-thumb {
  border-color: #111;
}
.guide-chapter-jump:hover .guide-thumb {
  border-color: #666;
}
.guide-chapter-time {
  display: block;
  position: relative;
  margin: 12px 0 10px;
  border-top: 2px solid #d4dedc;
  padding-top: 7px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}
.guide-chapter-jump[aria-current] .guide-chapter-time {
  border-color: #111;
}
.guide-chapter-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.guide-chapter-share {
  position: absolute;
  right: 0;
  bottom: 0;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  color: #111;
  width: 44px;
  height: 36px;
}
.guide-chapter-share svg {
  width: 18px;
  height: 18px;
}
.guide-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  z-index: 1;
  pointer-events: none;
  display: none;
}
.guide-preview .guide-poster {
  display: block;
}
.guide-play {
  z-index: 2;
}
.guide-copy {
  background: #fff;
  padding: 14px;
  border: 1px solid #dce2e3;
  border-radius: 8px;
  margin-top: 12px;
}
.guide-copy label {
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.guide-copy input {
  width: 100%;
  border: 1px solid #c8d3d4;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
}
.guide-copy button {
  margin-top: 8px;
}
.guide-page {
  margin: 0;
  background: #fff;
  color: #111111;
  font-family: Roboto, Arial, sans-serif;
}
.guide-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px max(24px, calc((100% - 1120px) / 2));
  background: #fff;
  border-bottom: 1px solid #e5e9eb;
  gap: 20px;
}
.guide-page-header a {
  color: #111111;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  min-height: 38px;
}
.guide-page-header a:last-child {
  font-size: 13px;
  font-weight: 500;
}
.guide-page-header img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}
.guide-page-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px 40px;
  display: flex;
  gap: 25px;
  font-size: 12px;
}
.guide-page-footer a {
  color: #111111;
  text-decoration: none;
}
.guide-page .video-guide-section {
  padding-top: 32px;
}
@media (max-width: 800px) {
  .guide-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .guide-main {
    width: min(100%, 360px);
    margin: 0 auto;
  }
  .guide-stage video {
    height: min(70svh, 620px);
    min-height: 0;
  }
  .guide-chapters {
    gap: 12px;
    padding: 3px 14px 12px;
  }
  .guide-chapter {
    flex-basis: 156px;
  }
  .guide-chapter-title {
    font-size: 13px;
  }
  .guide-chapters-heading {
    padding: 16px 14px 12px;
  }
  .guide-chapters-heading h3 {
    font-size: 18px;
  }
  .guide-heading :is(h1, h2) {
    font-size: 18px;
  }
  .guide-share {
    padding: 10px 12px;
  }
  .video-guide-section {
    padding: 36px 18px;
    margin: 0 auto;
    border-radius: 0;
  }
  .guide-page-header {
    padding: 12px 18px;
  }
  .guide-page-header a {
    font-size: 13px;
  }
  .guide-label {
    margin-bottom: 13px;
  }
  .guide-page .video-guide-section {
    padding-top: 22px;
  }
}
@media (max-width: 360px) {
  .guide-share span {
    display: none;
  }
  .guide-page-header a:first-child {
    max-width: 170px;
  }
  .guide-chapter {
    flex-basis: 140px;
  }
  .guide-settings summary {
    font-size: 11px;
  }
  .guide-heading :is(h1, h2) {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .video-guide * {
    scroll-behavior: auto !important;
  }
}

/* Expand the portrait recording to the available mobile screen while playing. */
body.guide-player-open {
  overflow: hidden;
}
.guide-stage.guide-stage-expanded {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #fff;
}
.guide-stage.guide-stage-expanded video {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
.guide-play {
  background: #e62117;
  color: #fff;
  border-color: #e62117;
}
.guide-play:hover {
  background: #c91d14;
}
.guide-share,
.guide-copy button {
  background: #111;
  color: #fff;
  border-color: #111;
}
.guide-share:hover,
.guide-copy button:hover {
  background: #303030;
}

/* Compact controls beside the player and an unboxed chapter strip. */
.guide-main {
  width: min(100%, 540px);
}
.guide-player-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 12px;
  align-items: center;
}
.guide-side-actions {
  display: grid;
  gap: 16px;
}
.guide-side-actions .guide-share {
  flex-direction: column;
  border-radius: 0;
  background: transparent;
  color: #111;
  padding: 8px 0;
  font-size: 11px !important;
}
.guide-side-actions .guide-share svg {
  width: 25px;
  height: 25px;
}
.guide-side-actions .guide-settings summary {
  justify-content: center;
}
.guide-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.guide-chapter-panel {
  background: transparent;
  color: #111;
  border: 0;
  box-shadow: none;
}
.guide-chapters-heading h3,
.guide-chapter-jump,
.guide-chapter-title,
.guide-chapter-share,
.guide-chapter-jump[aria-current] .guide-chapter-title {
  color: #111;
}
.guide-chapter-time {
  border-color: #ddd;
}
.guide-chapter-jump[aria-current] .guide-chapter-time {
  border-color: #111;
}
.guide-chapter-jump[aria-current] .guide-thumb {
  border-color: #111;
  outline: 2px solid #111;
  outline-offset: 2px;
}
.guide-chapter-jump:hover .guide-thumb {
  border-color: #bbb;
}
.guide-chapters {
  scrollbar-width: none;
  overflow-y: hidden;
  padding-inline: 3px;
}
.guide-chapters::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.guide-chapters-heading {
  padding-inline: 3px;
}
@media (max-width: 800px) {
  .guide-player-row {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px;
  }
  .guide-stage video {
    height: min(65svh, 580px);
  }
  .guide-side-actions .guide-share span {
    display: block;
  }
}

/* Off-white chapter surface with sharing aligned to the title. */
.guide-chapter-panel {
  background: #faf9f6;
}
.guide-chapter-jump {
  padding-bottom: 0;
}
.guide-chapter-title {
  padding-right: 38px;
  min-height: 40px;
}
.guide-chapter-share {
  bottom: 0;
  height: 40px;
  width: 36px;
}
.guide-chapter-title {
  display: flex;
  align-items: center;
}

/* Clear previews and quiet controls, without timeline rules or double borders. */
.guide-chapters-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 12px 14px;
}
.guide-chapters {
  gap: 16px;
  padding: 3px 12px 16px;
}
.guide-chapter {
  flex-basis: 220px;
}
.guide-thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  border: 1px solid #e5e5e3;
  border-radius: 10px;
}
.guide-thumb img {
  object-fit: cover;
  object-position: center 18%;
}
.guide-chapter-jump[aria-current] .guide-thumb {
  border: 1px solid #111;
  outline: none;
}
.guide-chapter-jump:hover .guide-thumb {
  border-color: #111;
}
.guide-thumb .guide-chapter-time {
  position: absolute;
  right: 8px;
  bottom: 8px;
  margin: 0;
  padding: 3px 6px;
  border: 0;
  border-radius: 4px;
  background: #111e;
  color: #fff;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
}
.guide-chapter-title {
  margin-top: 8px;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.35;
  padding-right: 36px;
}
.guide-chapter-share {
  height: 44px;
}
.guide-chapter-nav {
  display: flex;
  gap: 8px;
}
.guide-chapter-nav button {
  width: 32px;
  height: 32px;
  border: 1px solid #dededb;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 24px;
  display: grid;
  place-items: center;
  line-height: 1;
}
.guide-chapter-nav button:disabled {
  opacity: 0.3;
  cursor: default;
}
@media (max-width: 800px) {
  .guide-chapter {
    flex-basis: 170px;
  }
  .guide-chapter-title {
    font-size: 13px;
  }
  .guide-chapter-nav {
    display: none;
  }
}
/* Editorial watch layout: cropped portrait, adjacent chapters, quiet controls. */
.video-guide-section {
  max-width: 960px;
  background: #eeeafa;
  padding: 32px 24px;
}
.video-guide {
  max-width: 860px;
}
.guide-label {
  margin-bottom: 20px;
}
.guide-label > span:first-child {
  letter-spacing: 0;
  font-weight: 400;
  font-size: 13px;
}
.guide-layout {
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 40px;
}
.guide-main {
  width: 100%;
  margin: 0;
}
@media (min-width: 801px) {
  .guide-label {
    position: relative;
    top: 56px;
  }
  .guide-main {
    margin-top: 48px;
  }
}
.guide-player-row {
  display: block;
}
.guide-stage {
  aspect-ratio: 590 / 1036;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}
.guide-stage video,
.guide-stage .guide-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.guide-stage video {
  position: absolute;
  inset: 0;
}
.guide-side-actions {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
}
.guide-side-actions .guide-share,
.guide-side-actions .guide-settings summary {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 13px;
  font-size: 13px !important;
  border: 1px solid #e2e2df;
  border-radius: 8px;
  background: #fff;
  color: #111;
}
.guide-side-actions .guide-share svg,
.guide-side-actions .guide-settings svg {
  width: 19px;
  height: 19px;
}
.guide-side-actions .guide-share:hover,
.guide-side-actions .guide-settings summary:hover {
  background: #f0f0ec;
}
.guide-toolbar {
  top: calc(100% + 8px);
}
.guide-chapter-panel {
  background: transparent;
  min-width: 0;
}
.guide-chapters-heading {
  padding: 0 0 16px;
}
.guide-chapters-heading h3 {
  font-size: 22px;
  margin: 0;
}
.guide-chapter-nav {
  display: none;
}
.guide-chapters {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  overflow: visible;
}
.guide-chapter {
  flex: none;
  width: 100%;
  padding: 8px;
  border-radius: 10px;
}
.guide-chapter:has([aria-current]) {
  background: #e5f2ed;
}
.guide-chapter-jump {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
}
.guide-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}
.guide-chapter-title {
  padding-right: 32px;
  margin: 0;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.4;
}
.guide-chapter-share {
  top: 50%;
  bottom: auto;
  right: 0;
  transform: translateY(-50%);
  width: 40px;
  height: 44px;
}
.guide-thumb .guide-chapter-time {
  right: 4px;
  bottom: 4px;
  font-size: 10px;
  padding: 2px 4px;
}
.guide-stage.guide-stage-expanded {
  aspect-ratio: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0;
}
.guide-stage.guide-stage-expanded video {
  position: static;
  width: min(100vw, calc(100dvh * 590 / 1036));
  height: min(100dvh, calc(100vw * 1036 / 590));
  object-fit: cover;
  object-position: 50% 60%;
}
@media (max-width: 800px) {
  .video-guide-section {
    padding: 24px 16px;
  }
  .guide-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .guide-main {
    width: min(100%, 300px);
    margin: auto;
  }
  .guide-label {
    margin-bottom: 16px;
  }
  .guide-chapters-heading {
    padding: 0 0 12px;
  }
  .guide-chapters {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 12px;
    padding: 2px 0 8px;
  }
  .guide-chapter {
    flex: 0 0 156px;
    padding: 0;
    border-radius: 0;
  }
  .guide-chapter:has([aria-current]) {
    background: transparent;
  }
  .guide-chapter-jump {
    display: block;
  }
  .guide-thumb {
    aspect-ratio: 3 / 2;
  }
  .guide-chapter-title {
    margin-top: 8px;
    font-size: 13px;
    padding-right: 36px;
  }
  .guide-chapter-share {
    top: auto;
    bottom: 0;
    transform: none;
  }
  .guide-toolbar {
    max-width: calc(100vw - 40px);
  }
  .guide-stage video {
    height: 100%;
  }
}
/* Deep teal from the supplied reference, with softened section corners. */
.video-guide-section {
  background: #007b72;
  border-radius: 24px;
}
.video-guide,
.guide-label,
.guide-label > span:first-child,
.guide-label a,
.guide-chapters-heading h3,
.guide-chapter-title,
.guide-chapter-share,
.guide-status {
  color: #fff;
}
.guide-chapter:has([aria-current]) .guide-chapter-title,
.guide-chapter:has([aria-current]) .guide-chapter-share {
  color: #111;
}
@media (max-width: 800px) {
  .video-guide-section {
    border-radius: 20px;
  }
  .guide-chapter:has([aria-current]) .guide-chapter-title,
  .guide-chapter:has([aria-current]) .guide-chapter-share {
    color: #fff;
  }
}
/* Soften only the poster; playback stays sharp. */
.guide-stage.guide-preview .guide-poster {
  filter: blur(4px) brightness(0.78);
  transform: scale(1.035);
}
.guide-stage.guide-preview .guide-play {
  box-shadow: 0 6px 24px #0005;
}
.guide-side-actions .guide-share,
.guide-side-actions .guide-settings summary {
  background: #111;
  color: #fff;
  border-color: #111;
}
.guide-side-actions .guide-share:hover,
.guide-side-actions .guide-settings summary:hover {
  background: #303030;
}
/* Keep the player on the page; reserve the mint surface for chapters. */
.video-guide-section {
  background: #fff;
  border-radius: 0;
}
.guide-chapter-panel {
  background: #dcf6ec;
  border-radius: 24px;
  padding: 24px;
  align-self: start;
}
@media (max-width: 800px) {
  .guide-chapter-panel {
    border-radius: 20px;
    padding: 20px 16px;
  }
}
.video-guide,
.guide-label,
.guide-label > span:first-child,
.guide-label a,
.guide-chapters-heading h3,
.guide-chapter-title,
.guide-chapter-share,
.guide-status,
.guide-chapter:has([aria-current]) .guide-chapter-title,
.guide-chapter:has([aria-current]) .guide-chapter-share {
  color: #111;
}
.guide-chapter:has([aria-current]) {
  background: #c8eadc;
}
@media (max-width: 800px) {
  .guide-chapter:has([aria-current]) {
    background: transparent;
  }
}
/* Tonal mint controls complement the video section. */
.guide-side-actions .guide-share,
.guide-side-actions .guide-settings summary {
  background: #c8eadc;
  color: #075b50;
  border-color: #a8d6c5;
}
.guide-side-actions .guide-share:hover,
.guide-side-actions .guide-settings summary:hover {
  background: #b6dfcf;
}
/* Strong contrast makes the player actions easy to recognise. */
.guide-side-actions .guide-share,
.guide-side-actions .guide-settings summary {
  background: #007b72;
  color: #fff;
  border-color: #007b72;
}
.guide-side-actions .guide-share:hover,
.guide-side-actions .guide-settings summary:hover {
  background: #005f58;
}
.guide-side-actions .guide-share,
.guide-side-actions .guide-settings summary {
  background: #fff;
  color: #075b50;
  border-color: #a8d6c5;
}
.guide-side-actions .guide-share:hover,
.guide-side-actions .guide-settings summary:hover {
  background: #f4fcf8;
}

@media (max-width: 800px) {
  .guide-chapter-nav {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: -8px;
  }
  .guide-chapter-nav button {
    width: 48px;
    height: 48px;
    padding: 8px;
    border: 1px solid #111;
    border-radius: 13px;
    background: linear-gradient(#303030, #111);
    color: #fff;
    box-shadow:
      inset 0 1px 3px #ffffff55,
      0 3px 7px #0002;
  }
  .guide-chapter-nav button svg {
    width: 30px;
    height: 30px;
  }
  .guide-chapter-nav [data-chapters-prev] svg {
    transform: rotate(180deg);
  }
  .guide-chapter-nav button:disabled {
    background: #929292;
    border-color: #929292;
    opacity: 1;
    box-shadow: none;
    cursor: default;
  }
}
