#pyct-sn-root {
  pointer-events: none;
}

body.pyct-sn-open {
  overflow: hidden;
}

body.pyct-sn-marquee-open .header {
  top: var(--pyct-sn-marquee-height, 54px) !important;
}

html.pyct-sn-marquee-open {
  margin-top: 0 !important;
}

.pyct-sn__marquee-spacer {
  display: block;
  width: 100%;
  pointer-events: none;
}

.pyct-sn__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.pyct-sn__overlay.is-visible {
  opacity: 1;
}

.pyct-sn__overlay.is-closing {
  opacity: 0;
}

.pyct-sn__modal {
  position: fixed;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  width: min(calc(100% - 32px), 720px);
  max-height: min(88vh, 820px);
  pointer-events: auto;
  z-index: 99999;
  border-radius: 0;
  font-family: "Roboto", "PingFangTC-Light", "Lantinghei SC", "Microsoft JhengHei", Arial, sans-serif;
  background-color: var(--pyct-sn-site-bg, #282626);
  color: var(--pyct-sn-site-text, #f0f0f0);
  border: 1px solid var(--pyct-sn-site-border, rgba(255, 255, 255, 0.1));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -48%) scale(0.98);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.pyct-sn__modal.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.pyct-sn__modal.is-closing {
  opacity: 0;
  transform: translate(-50%, -48%) scale(0.98);
}

.pyct-sn__modal--dark {
  --pyct-sn-site-text: #f0f0f0;
  --pyct-sn-site-muted: rgba(240, 240, 240, 0.65);
  --pyct-sn-site-border: rgba(255, 255, 255, 0.1);
  --pyct-sn-accent: #e95506;
}

.pyct-sn__modal--light {
  --pyct-sn-site-text: #1b1919;
  --pyct-sn-site-muted: rgba(27, 25, 25, 0.65);
  --pyct-sn-site-border: rgba(0, 0, 0, 0.1);
  --pyct-sn-accent: #e95506;
}

.pyct-sn__media {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.pyct-sn__modal--light .pyct-sn__media {
  background: rgba(0, 0, 0, 0.06);
}

.pyct-sn__media-loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.04) 8%,
    rgba(255, 255, 255, 0.12) 18%,
    rgba(255, 255, 255, 0.04) 33%
  );
  background-size: 200% 100%;
  animation: pyct-sn-media-shimmer 1.4s ease-in-out infinite;
  transition: opacity 0.4s ease;
}

.pyct-sn__modal--light .pyct-sn__media-loader {
  background: linear-gradient(
    110deg,
    rgba(0, 0, 0, 0.03) 8%,
    rgba(0, 0, 0, 0.08) 18%,
    rgba(0, 0, 0, 0.03) 33%
  );
  background-size: 200% 100%;
}

.pyct-sn__media-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.pyct-sn__media-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.02);
  transition:
    opacity 0.5s ease,
    filter 0.5s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pyct-sn__media-image.is-loaded {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

@keyframes pyct-sn-media-shimmer {
  to {
    background-position: -200% 0;
  }
}

.pyct-sn__scroll-area {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pyct-sn__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 32px 28px 36px 36px;
}

.pyct-sn__scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.pyct-sn__scroll-indicator {
  position: absolute;
  top: 10px;
  right: 8px;
  bottom: 10px;
  width: 12px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pyct-sn__scroll-area.has-overflow .pyct-sn__scroll-indicator {
  opacity: 1;
}

.pyct-sn__scroll-indicator-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  min-height: 24px;
  background-color: rgba(233, 85, 6, 0.5);
  border: 4px solid var(--pyct-sn-site-bg, #282626);
  border-radius: 6px;
  box-sizing: border-box;
  will-change: transform, height;
  transition: background-color 0.4s ease;
}

.pyct-sn__scroll-area.is-scrolling .pyct-sn__scroll-indicator-thumb {
  background-color: rgba(233, 85, 6, 1);
}

.pyct-sn__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pyct-sn__tag,
.pyct-sn__test-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
}

.pyct-sn__tag {
  padding: 4px 10px;
  background: var(--pyct-sn-accent, #e95506);
  color: #fff;
}

.pyct-sn__test-badge {
  padding: 4px 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(233, 85, 6, 0.18);
  color: var(--pyct-sn-accent, #e95506);
}

.pyct-sn__headline {
  margin: 0 0 4px;
  font-size: calc(clamp(22px, 3vw, 28px) * var(--pyct-sn-text-scale, 1));
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--pyct-sn-site-text, #f0f0f0);
}

.pyct-sn__message {
  margin-top: 12px;
  font-size: calc(15px * var(--pyct-sn-text-scale, 1));
  line-height: 1.7;
  color: var(--pyct-sn-site-muted, rgba(240, 240, 240, 0.65));
}

.pyct-sn__message a {
  color: var(--pyct-sn-accent, #e95506);
  text-decoration: underline;
}

/* Unified blur reveal */
.pyct-sn__reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(10px);
  transition:
    opacity 0.45s ease,
    filter 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.pyct-sn__reveal.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.pyct-sn__reveal--d0 { transition-delay: 0.05s; }
.pyct-sn__reveal--d1 { transition-delay: 0.12s; }
.pyct-sn__reveal--d2 { transition-delay: 0.19s; }
.pyct-sn__reveal--d3 { transition-delay: 0.26s; }
.pyct-sn__reveal--d4 { transition-delay: 0.33s; }

.pyct-sn__message:not(.is-revealed) {
  pointer-events: none;
}

.pyct-sn__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 4px;
}

.pyct-sn-link {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  border: 1px solid var(--pyct-sn-accent, #e95506);
  background: var(--pyct-sn-accent, #e95506);
  color: #fff !important;
  transition: opacity 0.15s ease;
}

.pyct-sn-link:hover {
  opacity: 0.9;
}

.pyct-sn-dismiss-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--pyct-sn-site-muted, rgba(240, 240, 240, 0.65));
  cursor: pointer;
  user-select: none;
}

.pyct-sn-dismiss-label input {
  margin: 0;
  accent-color: var(--pyct-sn-accent, #e95506);
}

.pyct-sn__close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  color: var(--pyct-sn-site-text, #f0f0f0);
  opacity: 0.55;
  transition: opacity 0.15s ease;
}

.pyct-sn__close:hover,
.pyct-sn__close:focus {
  opacity: 1;
  outline: none;
}

@media (max-width: 640px) {
  .pyct-sn__modal {
    width: min(calc(100% - 20px), 720px);
    max-height: 92vh;
  }

  .pyct-sn__media {
    height: 180px;
  }

  .pyct-sn__scroll {
    padding: 24px 22px 28px 22px;
  }

  .pyct-sn__headline {
    font-size: calc(20px * var(--pyct-sn-text-scale, 1));
  }

  .pyct-sn__message {
    font-size: calc(14px * var(--pyct-sn-text-scale, 1));
  }

  .pyct-sn__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pyct-sn__actions .pyct-sn-link {
    width: 100%;
  }

  .pyct-sn__actions .pyct-sn-dismiss-label {
    justify-content: center;
  }
}

/* Marquee */
.pyct-sn__marquee-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  z-index: 99999;
  pointer-events: none;
  background-color: var(--pyct-sn-site-bg, #282626);
  box-sizing: border-box;
  opacity: 0;
  transform: translate3d(0, -100%, 0);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.pyct-sn__marquee-wrap.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.pyct-sn__marquee-wrap.is-closing {
  opacity: 0;
  transform: translate3d(0, -100%, 0);
}

.pyct-sn__marquee {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 40px;
  pointer-events: auto;
  font-family: "Roboto", "PingFangTC-Light", "Lantinghei SC", "Microsoft JhengHei", Arial, sans-serif;
  background-color: var(--pyct-sn-site-bg, #282626);
  color: var(--pyct-sn-site-text, #f0f0f0);
  border-bottom: 1px solid var(--pyct-sn-site-border, rgba(255, 255, 255, 0.1));
}

.pyct-sn__marquee-toggle {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 2px solid var(--pyct-sn-site-border, rgba(255, 255, 255, 0.1));
  border-radius: 50%;
  background-color: var(--pyct-sn-site-bg, #282626);
  color: var(--pyct-sn-accent, #e95506);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, 50%);
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.pyct-sn__marquee-toggle svg {
  display: block;
  width: 12px;
  height: 12px;
}

.pyct-sn__marquee-toggle:hover,
.pyct-sn__marquee-toggle:focus {
  transform: translate(-50%, 50%) scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.32);
  outline: none;
}

.pyct-sn__marquee-inner {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.pyct-sn__marquee-track {
  display: flex;
  width: max-content;
  animation: pyct-sn-marquee-scroll var(--pyct-sn-marquee-duration, 30s) linear infinite;
  will-change: transform;
}

.pyct-sn__marquee-track:hover {
  animation-play-state: paused;
}

.pyct-sn__marquee-segment {
  flex-shrink: 0;
  padding-right: 4em;
  font-size: calc(14px * var(--pyct-sn-text-scale, 1));
  line-height: 1.4;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pyct-sn__marquee-link {
  color: inherit;
  text-decoration: none;
}

.pyct-sn__marquee-link:hover {
  color: var(--pyct-sn-accent, #e95506);
}

.pyct-sn__marquee-prompt-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.pyct-sn__marquee-prompt-overlay.is-visible {
  opacity: 1;
}

.pyct-sn__marquee-prompt {
  position: fixed;
  left: 50%;
  top: calc(var(--pyct-sn-marquee-height, 54px) + 8px);
  z-index: 100001;
  width: min(calc(100% - 32px), 320px);
  padding: 20px 22px 18px;
  border: 1px solid var(--pyct-sn-site-border, rgba(255, 255, 255, 0.1));
  background-color: var(--pyct-sn-site-bg, #282626);
  color: var(--pyct-sn-site-text, #f0f0f0);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translate(-50%, -8px);
  transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.pyct-sn__marquee-prompt.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.pyct-sn__marquee-prompt-text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: var(--pyct-sn-site-text, #f0f0f0);
}

.pyct-sn__marquee-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pyct-sn__marquee-prompt-btn {
  margin: 0;
  padding: 8px 14px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: opacity 0.15s ease;
}

.pyct-sn__marquee-prompt-btn:hover {
  opacity: 0.88;
}

.pyct-sn__marquee-prompt-btn--ghost {
  border: 1px solid var(--pyct-sn-site-border, rgba(255, 255, 255, 0.1));
  background: transparent;
  color: var(--pyct-sn-site-muted, rgba(240, 240, 240, 0.65));
}

.pyct-sn__marquee-prompt-btn--primary {
  border: 1px solid var(--pyct-sn-accent, #e95506);
  background: var(--pyct-sn-accent, #e95506);
  color: #fff;
}

@keyframes pyct-sn-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pyct-sn__marquee-track {
    animation: none;
    transform: none;
    flex-wrap: wrap;
    width: auto;
    padding: 0 16px;
  }

  .pyct-sn__marquee-segment[aria-hidden="true"] {
    display: none;
  }
}

/* Nav popup — message card anchored beside logo / menu */
.pyct-sn__nav-popup-wrap {
  position: fixed;
  top: 24px;
  left: var(--pyct-sn-nav-popup-left, 80px);
  width: fit-content;
  min-width: 240px;
  max-width: min(50vw, calc(100vw - var(--pyct-sn-nav-popup-left, 80px) - 24px));
  z-index: 100000;
  pointer-events: none;
  overflow: visible;
}

.pyct-sn__nav-popup-wrap.is-closing .pyct-sn__nav-popup {
  opacity: 0;
  clip-path: inset(0 0 0 100%);
  transition: opacity 0.22s ease, clip-path 0.22s cubic-bezier(0.4, 0, 1, 1);
}

.pyct-sn__nav-popup {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: min(50vh, calc(100vh - 48px));
  pointer-events: auto;
  font-family: "Roboto", "PingFangTC-Light", "Lantinghei SC", "Microsoft JhengHei", Arial, sans-serif;
  background-color: var(--pyct-sn-site-bg, #282626);
  color: var(--pyct-sn-site-text, #f0f0f0);
  border: 1px solid var(--pyct-sn-site-border, rgba(255, 255, 255, 0.1));
  border-left: 3px solid var(--pyct-sn-accent, #e95506);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  overflow: hidden;
}

.pyct-sn__nav-popup-tail {
  position: absolute;
  left: -13px;
  top: 18px;
  z-index: 3;
  display: block;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s ease 0.42s;
}

.pyct-sn__nav-popup-tail path {
  fill: var(--pyct-sn-accent, #e95506);
  stroke: none;
}

.pyct-sn__nav-popup-wrap.is-visible .pyct-sn__nav-popup-tail {
  opacity: 1;
}

.pyct-sn__nav-popup-wrap.is-closing .pyct-sn__nav-popup-tail {
  opacity: 0;
  transition-delay: 0s;
  transition-duration: 0.15s;
}

.pyct-sn__nav-popup.is-visible {
  animation: pyct-sn-nav-popup-enter 0.82s cubic-bezier(0.58, 0, 1, 0.36) forwards;
}

@keyframes pyct-sn-nav-popup-enter {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

.pyct-sn__nav-popup-brush {
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transition:
    clip-path 0.78s cubic-bezier(0.58, 0, 1, 0.36),
    opacity 0.32s ease;
}

.pyct-sn__nav-popup-brush.is-revealed {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

.pyct-sn__nav-popup-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 16px 18px 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(233, 85, 6, 0.55) transparent;
  overscroll-behavior: contain;
}

.pyct-sn__nav-popup-body::-webkit-scrollbar {
  width: 6px;
}

.pyct-sn__nav-popup-body::-webkit-scrollbar-thumb {
  background: rgba(233, 85, 6, 0.55);
  border-radius: 3px;
}

.pyct-sn__nav-popup-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  padding-right: 28px;
}

.pyct-sn__nav-popup-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: calc(16px * var(--pyct-sn-text-scale, 1));
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--pyct-sn-site-text, #f0f0f0);
  word-break: break-word;
}

.pyct-sn__nav-popup-badges {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.pyct-sn__nav-popup-message {
  font-size: calc(13px * var(--pyct-sn-text-scale, 1));
  line-height: 1.7;
  color: var(--pyct-sn-site-muted, rgba(240, 240, 240, 0.78));
  word-break: break-word;
  overflow-wrap: anywhere;
}

.pyct-sn__nav-popup-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pyct-sn__nav-popup-content--stacked {
  display: block;
}

.pyct-sn__nav-popup-content--stacked .pyct-sn__nav-popup-media {
  flex: none;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  max-height: min(28vh, 200px);
}

.pyct-sn__nav-popup-content-main {
  flex: 1 1 auto;
  min-width: 0;
}

.pyct-sn__nav-popup-media {
  position: relative;
  flex: 0 0 128px;
  width: 128px;
  height: 96px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--pyct-sn-site-border, rgba(255, 255, 255, 0.1));
}

.pyct-sn__modal--light .pyct-sn__nav-popup-media {
  background: rgba(0, 0, 0, 0.06);
}

.pyct-sn__nav-popup-media-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pyct-sn__nav-popup-media-image.is-loaded {
  opacity: 1;
}

.pyct-sn__nav-popup-message a {
  color: var(--pyct-sn-accent, #e95506);
  text-decoration: underline;
}

.pyct-sn__nav-popup-message > *:first-child {
  margin-top: 0;
}

.pyct-sn__nav-popup-message > *:last-child {
  margin-bottom: 0;
}

.pyct-sn__nav-popup-footer {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px 14px;
  border-top: 1px solid var(--pyct-sn-site-border, rgba(255, 255, 255, 0.08));
}

.pyct-sn-link--compact {
  padding: 8px 16px;
  font-size: 12px;
}

.pyct-sn-dismiss-label--compact {
  font-size: 12px;
  flex-shrink: 0;
  margin-left: auto;
  white-space: nowrap;
}

.pyct-sn__nav-popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  margin: 0;
  padding: 0;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  color: var(--pyct-sn-site-text, #f0f0f0);
  opacity: 0.55;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.pyct-sn__nav-popup-close:hover,
.pyct-sn__nav-popup-close:focus {
  opacity: 1;
  outline: none;
  background: rgba(255, 255, 255, 0.08) !important;
}

.pyct-sn__modal--light .pyct-sn__nav-popup-close:hover,
.pyct-sn__modal--light .pyct-sn__nav-popup-close:focus {
  background: rgba(0, 0, 0, 0.06) !important;
}

@media (max-width: 640px) {
  .pyct-sn__nav-popup-wrap {
    top: 18px;
    left: var(--pyct-sn-nav-popup-left, 72px);
    right: auto;
    width: fit-content;
    min-width: 0;
    max-width: calc(100vw - var(--pyct-sn-nav-popup-left, 72px) - 12px);
  }

  .pyct-sn__nav-popup {
    max-height: min(42vh, 320px);
  }

  .pyct-sn__nav-popup-tail {
    display: block;
    left: -13px;
    top: 16px;
  }

  .pyct-sn__nav-popup-title-row {
    padding-right: 24px;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
  }

  .pyct-sn__nav-popup-title {
    flex: 1 1 100%;
    font-size: calc(14px * var(--pyct-sn-text-scale, 1));
  }

  .pyct-sn__nav-popup-body {
    padding: 12px 12px 14px;
  }

  .pyct-sn__nav-popup-content {
    gap: 8px;
  }

  .pyct-sn__nav-popup-content:not(.pyct-sn__nav-popup-content--stacked) {
    flex-direction: row;
    align-items: flex-start;
  }

  .pyct-sn__nav-popup-content:not(.pyct-sn__nav-popup-content--stacked) .pyct-sn__nav-popup-media {
    flex: 0 0 88px;
    width: 88px;
    height: 66px;
    max-height: none;
    aspect-ratio: auto;
  }

  .pyct-sn__nav-popup-content--stacked .pyct-sn__nav-popup-media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    max-height: 110px;
  }

  .pyct-sn__nav-popup-footer {
    padding: 8px 12px 10px;
    gap: 8px;
  }

  .pyct-sn-link--compact {
    padding: 7px 12px;
    font-size: 11px;
  }

  .pyct-sn-dismiss-label--compact {
    font-size: 11px;
  }

  .pyct-sn__nav-popup-message {
    font-size: calc(11px * var(--pyct-sn-text-scale, 1));
    line-height: 1.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pyct-sn__nav-popup.is-visible {
    animation: none;
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }

  .pyct-sn__nav-popup-brush {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transition: none;
  }
}

.pyct-sn-preview-notice {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100002;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(27, 25, 25, 0.92);
  color: #f0f0f0;
  font-family: "Roboto", "PingFangTC-Light", "Microsoft JhengHei", Arial, sans-serif;
  font-size: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.pyct-sn-preview-notice a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
