.whatsapp-float {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.3);
}

.support-chat {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.support-chat-toggle {
  width: 3.5rem;
  height: 3.5rem;
  border: 3px solid #fff;
  border-radius: 50%;
  background-color: var(--color-secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0.75rem 1.5rem rgba(110, 31, 42, 0.35);
  transition: background-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.support-chat-toggle:hover,
.support-chat-toggle:focus {
  background-color: var(--color-secondary-dark);
  color: #fff;
  transform: translateY(-3px);
}

.support-chat-teaser {
  position: relative;
  max-width: 260px;
  background-color: var(--color-card-bg);
  color: var(--color-text);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  padding: 1rem 1.25rem;
}

.support-chat-teaser-title {
  font-weight: 700;
}

.support-chat-teaser-text {
  font-size: 0.9rem;
  color: var(--color-text);
  opacity: 0.85;
}

.support-chat-teaser-close {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  border-radius: 50%;
  background-color: rgba(110, 31, 42, 0.08);
  color: var(--color-text);
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-chat-teaser-close:hover {
  background-color: rgba(110, 31, 42, 0.15);
}

.support-chat.is-collapsed .support-chat-teaser,
.support-chat.is-open .support-chat-teaser {
  display: none;
}

.support-chat-panel {
  width: 22rem;
  max-width: calc(100vw - 2rem);
  height: 32rem;
  max-height: calc(100vh - 8rem);
  background-color: var(--color-card-bg);
  border-radius: 1.1rem;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(110, 31, 42, 0.12);
}

.support-chat-header {
  background: linear-gradient(150deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  color: #fff;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.support-chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.support-chat-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.16);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.support-chat-avatar-sm {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.9rem;
}

.support-chat-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.support-chat-subtitle {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.75);
}

.support-chat-close {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  padding: 0.25rem;
  line-height: 1;
}

.support-chat-close:hover {
  color: #fff;
}

.support-chat-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background-color: var(--color-bg);
}

.support-chat-msg {
  max-width: 82%;
  padding: 0.55rem 0.85rem;
  border-radius: 1rem;
  font-size: 0.87rem;
  line-height: 1.55;
  word-wrap: break-word;
}

.support-chat-msg-support {
  align-self: flex-start;
  background-color: var(--color-card-bg);
  color: var(--color-text);
  border: 1px solid rgba(110, 31, 42, 0.1);
  border-start-start-radius: 0.3rem;
}

.support-chat-msg-user {
  align-self: flex-end;
  background-color: var(--color-secondary);
  color: #fff;
  border-start-end-radius: 0.3rem;
}

.support-chat-msg-system {
  align-self: center;
  background-color: rgba(212, 160, 23, 0.12);
  color: var(--color-secondary-text);
  font-size: 0.78rem;
  text-align: center;
  max-width: 92%;
}

.support-chat-msg-time {
  display: block;
  font-size: 0.68rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

.support-chat-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 50rem;
  margin-bottom: 0.3rem;
}

.support-chat-status-pending {
  background-color: rgba(212, 160, 23, 0.18);
  color: var(--color-primary-dark);
}

.support-chat-status-approved {
  background-color: rgba(30, 107, 68, 0.16);
  color: #1e6b44;
}

.support-chat-status-rejected {
  background-color: rgba(179, 38, 30, 0.14);
  color: #b3261e;
}

.support-chat-typing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem 0.5rem;
  flex-shrink: 0;
}

.support-chat-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background-color: var(--color-card-bg);
  border: 1px solid rgba(110, 31, 42, 0.1);
  border-radius: 1rem;
  padding: 0.5rem 0.7rem;
}

.support-chat-typing-dots i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background-color: var(--color-secondary-text);
  opacity: 0.5;
  display: inline-block;
  animation: support-chat-bounce 1.2s infinite ease-in-out;
}

.support-chat-typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.support-chat-typing-dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes support-chat-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-0.2rem); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .support-chat-typing-dots i {
    animation: none;
  }
}

.support-chat-input-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(110, 31, 42, 0.1);
  background-color: var(--color-card-bg);
  flex-shrink: 0;
}

.support-chat-input {
  flex: 1 1 auto;
  resize: none;
  max-height: 6rem;
  border: 1px solid rgba(110, 31, 42, 0.15);
  border-radius: 0.9rem;
  padding: 0.5rem 0.85rem;
  font-family: inherit;
  font-size: 0.88rem;
  background-color: var(--color-bg);
  color: var(--color-text);
}

.support-chat-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.15rem rgba(212, 160, 23, 0.18);
}

.support-chat-input:disabled {
  opacity: 0.6;
}

.support-chat-send {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.support-chat-send:hover {
  background-color: var(--color-primary-dark);
}

.support-chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 575.98px) {
  .support-chat {
    bottom: 1rem;
    left: 1rem;
    gap: 0.35rem;
  }
  .support-chat-toggle,
  .whatsapp-float {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.15rem;
  }

  .whatsapp-float {
    font-size: 1.4rem;
  }
  .support-chat-teaser {
    max-width: 200px;
    padding: 0.5rem 0.85rem;
  }
  .support-chat-teaser-title {
    font-size: 0.9rem;
  }
  .support-chat-teaser-text {
    font-size: 0.8rem;
  }
  .support-chat-panel {
    width: calc(100vw - 1.5rem);
    height: calc(100vh - 6.5rem);
  }
}

.feature-card {
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  background-color: rgba(212, 160, 23, 0.08);
  border-color: rgba(212, 160, 23, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(110, 31, 42, 0.12);
}

.feature-card:hover .icon-badge {
  background-color: var(--color-primary);
  color: #ffffff;
}

.subject-card {
  overflow: hidden;
  border: 1px solid rgba(110, 31, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subject-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(110, 31, 42, 0.18);
}

.subject-thumb {
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.subject-thumb-placeholder {
  background: linear-gradient(135deg, #F6C453 0%, #D4A017 55%, #B8890F 100%);
}

.subject-thumb-placeholder i {
  font-size: 2.75rem;
  color: rgba(255, 255, 255, 0.95);
}

.course-card {
  overflow: hidden;
  border: 1px solid rgba(110, 31, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(110, 31, 42, 0.18);
}

.course-title-link {
  color: inherit;
  text-decoration: none;
}

.course-title-link:hover,
.course-title-link:focus-visible {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.course-thumb-wrap {
  position: relative;
}

.course-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.course-thumb-placeholder {
  background: linear-gradient(135deg, #F6C453 0%, #D4A017 55%, #B8890F 100%);
}

.course-thumb-placeholder i {
  font-size: 5.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.course-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.course-grade-badge {
  background-color: var(--color-primary);
  color: var(--color-secondary-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50rem;
}

.course-subject-chip {
  background-color: rgba(110, 31, 42, 0.08);
  color: var(--color-secondary-text);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 50rem;
}

:root[data-theme="dark"] .course-subject-chip {
  background-color: rgba(242, 201, 209, 0.12);
}

.course-price-new {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-secondary-text);
}

.course-price-old {
  font-size: 0.85rem;
  color: #9CA3AF;
  text-decoration: line-through;
  margin-inline-start: 0.5rem;
}

.course-detail-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lesson-play-icon {
  font-size: 1.5rem;
  vertical-align: -0.35rem;
}

.courses-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.courses-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block: 0.5rem;
  flex: 1 1 auto;
  min-width: 0;
  scrollbar-width: none;
  cursor: grab;
}

.courses-carousel::-webkit-scrollbar {
  display: none;
}

.courses-carousel-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.courses-carousel img {
  -webkit-user-drag: none;
  pointer-events: none;
}

.courses-carousel-item {
  flex: 0 0 auto;
  width: 320px;
  scroll-snap-align: start;
}

.courses-carousel-arrow {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--color-secondary-text);
  background-color: #fff;
  color: var(--color-secondary-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.courses-carousel-arrow:hover {
  background-color: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  color: #fff;
}

@media (max-width: 767.98px) {
  .courses-carousel-arrow {
    display: none;
  }

  .courses-carousel-item {
    width: 88%;
  }

  .course-thumb-placeholder i {
    font-size: 3.5rem;
  }
}

.hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, #3B0F18 0%, #531722 50%, #6E1F2A 100%);
  color: #fff;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-science-bg.7c37374f0e95.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  pointer-events: none;
}

.hero-banner > .row {
  position: relative;
  z-index: 1;
}

.hero-banner h1,
.hero-banner p {
  color: #fff;
}

.hero-banner p.lead {
  color: rgba(255, 255, 255, 0.85);
}

.hero-photo-wrap {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-photo {
  max-height: 440px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.45));
}

@media (min-width: 992px) {
  .hero-photo-wrap {
    min-height: 460px;
  }
  .hero-photo {
    max-height: 560px;
    margin-bottom: -2rem;
  }
}

.btn-hero-primary {
  background-color: var(--color-primary);
  border: none;
  color: var(--color-secondary-dark);
  font-weight: 700;
  border-radius: 50rem;
  box-shadow: 0 0.5rem 1.5rem rgba(212, 160, 23, 0.35);
}

.btn-hero-primary:hover,
.btn-hero-primary:focus {
  background-color: #E8B527;
  color: var(--color-secondary-dark);
}

.btn-hero-outline {
  background-color: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-weight: 600;
  border-radius: 50rem;
}

.btn-hero-outline:hover,
.btn-hero-outline:focus {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-hero-link {
  color: #F5D580;
  font-weight: 600;
}

.btn-hero-link:hover,
.btn-hero-link:focus {
  color: #fff;
}

.exam-timer {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 0.4rem 0.9rem;
  border-radius: 50rem;
  background-color: var(--color-secondary);
  color: #fff;
  white-space: nowrap;
}

.exam-timer-warning {
  background-color: #B3261E;
}

.picture-contents {
  display: contents;
}

.home-stats-strip {
  background: var(--color-card-bg);
  border-radius: 1.25rem;
  border-top: 5px solid var(--color-primary);
  box-shadow: var(--shadow-card);
  padding: 1.25rem 0.5rem;
}

.home-stat-item {
  padding: 1.25rem 0.75rem;
  position: relative;
}

@media (min-width: 768px) {
  .home-stat-item + .home-stat-item::before {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
  }
}

.home-stat-icon {
  font-size: 2rem;
  color: var(--color-primary);
  display: inline-block;
}

.home-stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-secondary-text);
}

.home-stats-tagline span {
  display: inline-block;
  transition: opacity 0.4s ease;
}

.home-stats-tagline span.is-fading {
  opacity: 0;
}

@media (max-width: 575.98px) {
  .home-stat-value {
    font-size: 1.7rem;
  }
}

section[id] {
  scroll-margin-top: 70px;
}

.testimonials-slider {
  position: relative;
  padding: 0 2.75rem;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.5rem 0.75rem 1.25rem;
  scroll-padding-inline: 0.75rem;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonials-slide {
  flex: 0 0 calc((100% - 3rem) / 3);
  scroll-snap-align: start;
}

.testimonial-quote {
  font-size: 1.75rem;
}

.testimonial-result {
  display: inline-block;
  background: rgba(212, 160, 23, 0.15);
  color: var(--color-secondary-text);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.testimonials-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--color-secondary);
  background: var(--color-card-bg);
  color: var(--color-secondary-text);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.testimonials-nav:hover {
  background: var(--color-secondary);
  color: #fff;
}

.testimonials-prev {
  right: 0;
}

.testimonials-next {
  left: 0;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.testimonials-dots button {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(110, 31, 42, 0.25);
  transition: width 0.3s ease;
}

.testimonials-dots button.is-active {
  width: 1.5rem;
  background: var(--color-secondary-text);
}

:root[data-theme="dark"] .testimonials-dots button:not(.is-active) {
  background: rgba(242, 201, 209, 0.3);
}

.testimonials-slider.is-static {
  padding: 0;
}

.testimonials-slider.is-static .testimonials-nav {
  display: none;
}

.testimonials-slider.is-static .testimonials-track {
  justify-content: center;
}

@media (max-width: 991.98px) {
  .testimonials-slide {
    flex-basis: calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 575.98px) {
  .testimonials-slider {
    padding: 0;
  }

  .testimonials-nav {
    display: none;
  }

  .testimonials-slide {
    flex-basis: 85%;
  }
}

.settings-avatar {
  width: 4rem;
  height: 4rem;
  font-size: 1.6rem;
}

.review-link-box {
  background: rgba(212, 160, 23, 0.08);
  border: 1px dashed rgba(212, 160, 23, 0.6);
  border-radius: 0.75rem;
  padding: 1rem;
}

.notif-bell {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  padding: 0;
}

.notif-bell:hover,
.notif-bell[aria-expanded="true"] {
  background: var(--color-secondary);
  color: #fff;
}

.notif-count {
  position: absolute;
  top: -0.35rem;
  left: -0.35rem;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #B3261E;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
  border: 2px solid var(--color-card-bg);
}

.notif-menu {
  width: 320px;
  max-width: calc(100vw - 2rem);
  overflow: hidden;
  border-radius: 0.75rem;
}

.notif-item {
  display: block;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--color-text);
  text-decoration: none;
}

.notif-item:hover {
  background: rgba(212, 160, 23, 0.08);
  color: var(--color-text);
}

.notif-item.is-unread {
  background: rgba(212, 160, 23, 0.12);
  border-inline-start: 3px solid var(--color-primary);
}

.notif-item.is-unread .notif-title {
  font-weight: 700;
}

.notif-title {
  font-size: 0.95rem;
}

.notif-body {
  font-size: 0.85rem;
  color: var(--bs-secondary-color);
  margin-top: 0.15rem;
}

.notif-time {
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
  margin-top: 0.25rem;
}

.notif-read-all,
.notif-all {
  color: var(--color-secondary-text);
  text-decoration: none;
}

.notif-page-list {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
}

.notif-page-list .notif-item:last-child {
  border-bottom: 0;
}

.notif-empty-icon {
  font-size: 2.5rem;
}

.activation-code-box {
  background: rgba(212, 160, 23, 0.08);
  border: 1px dashed rgba(212, 160, 23, 0.6);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
}

#subscribe-card {
  scroll-margin-top: 90px;
}

.activation-code-box summary {
  cursor: pointer;
  color: var(--color-secondary-text);
  list-style-position: inside;
}

.activation-code-box:not([open]) {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.protected-video {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #000;
}

.video-watermark {
  position: absolute;
  top: 10%;
  left: 10%;
  z-index: 5;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.15em 0.5em;
  border-radius: 0.4em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  font-size: clamp(0.6rem, 1.8vw, 1.1rem);
  font-weight: 700;
  transition: top 1.2s ease, left 1.2s ease;
}

.protected-video-stage {
  position: relative;
}

.protected-video:fullscreen,
.protected-video.is-pseudo-fullscreen {
  border-radius: 0;
}

.protected-video.is-pseudo-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.protected-video:fullscreen .protected-video-stage,
.protected-video.is-pseudo-fullscreen .protected-video-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.protected-video:fullscreen .ratio,
.protected-video.is-pseudo-fullscreen .ratio {
  width: min(100%, calc(100vh * 16 / 9));
}

.protected-video:fullscreen .video-watermark,
.protected-video.is-pseudo-fullscreen .video-watermark {
  font-size: clamp(0.8rem, 1.8vmax, 1.5rem);
}

@media (orientation: portrait) {
  .protected-video:fullscreen .protected-video-stage,
  .protected-video.is-pseudo-fullscreen .protected-video-stage {
    inset: auto;
    top: 50%;
    left: 50%;
    width: 100vh;
    width: 100dvh;
    height: 100vw;
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .protected-video:fullscreen .ratio,
  .protected-video.is-pseudo-fullscreen .ratio {
    width: min(100%, calc(100vw * 16 / 9));
  }
}

.video-fs-btn {
  position: absolute;
  bottom: calc(var(--video-bar-offset, 0px) + 11px);
  right: calc(var(--video-side-offset, 0px) + 11px);
  z-index: 6;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: rgba(30, 30, 30, 0.85);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.video-fs-btn:hover,
.video-fs-btn:focus-visible {
  background: rgba(255, 255, 255, 0.25);
}

.revenue-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 200px;
  padding-top: 1rem;
}

.revenue-bar {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.revenue-bar-fill {
  width: 100%;
  max-width: 38px;
  border-radius: 0.4rem 0.4rem 0 0;
  background: var(--color-secondary);
}

.revenue-bar.is-current .revenue-bar-fill {
  background: var(--color-primary);
}

.revenue-bar small {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-top: 0.3rem;
  white-space: nowrap;
}

.revenue-bar em {
  font-style: normal;
  font-size: 0.65rem;
  opacity: 0.7;
  margin-bottom: 0.2rem;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .revenue-bars {
    gap: 0.2rem;
  }

  .revenue-bar em {
    display: none;
  }

  .revenue-bar small {
    font-size: 0.55rem;
  }
}

.revenue-change {
  color: #15803d;
  font-size: 0.8rem;
  font-weight: 700;
}

.revenue-change.is-down {
  color: #b91c1c;
}

.revenue-progress {
  height: 0.6rem;
}

.revenue-method-transfer {
  background-color: var(--color-secondary);
  color: #fff;
}

.revenue-method-code {
  background-color: var(--color-primary);
  color: #1f2937;
}

.revenue-method-manual {
  background-color: #6b7280;
  color: #fff;
}
