
.uza-v2-cycle-tabs > button:nth-child(1) { order: 3; }

/* A member channel card is never exposed before its membership is verified. */
html.uza-member-channels-guard
  .uza-canal-plus-tier-list
  .uza-canal-plus-channel-option:not(.membership-checked) {
  display: none !important;
}

/* The administrator chooser is intentionally unrestricted. */
html.uza-member-channels-guard
  .uza-canal-plus-admin-chooser
  .uza-canal-plus-channel-option {
  display: grid !important;
}

.uza-v2-cycle-tabs > button:nth-child(2) { order: 2; }
.uza-v2-cycle-tabs > button:nth-child(3) { order: 1; }
.uza-v2-cycle-tabs::before { transform: translate(200%, 0) !important; }
.uza-v2-cycle-tabs[data-period="current"]::before { transform: translate(100%, 0) !important; }
.uza-v2-cycle-tabs[data-period="previous"]::before { transform: translate(0, 0) !important; }
.uza-v2-cycle-tabs::after { left: calc(66.6667% + 14px) !important; }
.uza-v2-cycle-tabs[data-period="current"]::after { left: calc(33.3333% + 14px) !important; }
.uza-v2-cycle-tabs[data-period="previous"]::after { left: 14px !important; }

@media (max-width:760px) {
  .uza-canal-plus-scroll,
  .uza-v2-mobile-dashboard-content,
  .uza-v2-mobile-dashboard-content .uza-v2-highlight-viewport,
  .uza-v2-mobile-dashboard-content .uza-v2-highlight-track,
  .uza-v2-mobile-dashboard-content .uza-v2-highlight-pagination {
    overflow-anchor: none;
  }
}

.uza-v2-data-cards .liquidation-ticket-split {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.uza-v2-data-cards .liquidation-ticket-split > section {
  align-items: center;
  padding: 0 8px;
  text-align: center;
}
.uza-v2-data-cards .liquidation-ticket-split > section + section {
  border-left: 1px solid rgba(255,255,255,.12);
}
.uza-v2-data-cards .liquidation-ticket-split > section:last-child {
  padding-right: 0;
}
.uza-v2-data-cards .liquidation-ticket-split strong {
  color: var(--v2-green);
  font-size: clamp(14px, 1.35vw, 19px);
}
@media (max-width:760px) {
  .uza-v2-data-cards .liquidation-ticket-split > section { padding: 0 5px; }
  .uza-v2-data-cards .liquidation-ticket-split small { font-size: 7px; }
  .uza-v2-data-cards .liquidation-ticket-split strong { font-size: 15px; }

  .uza-web-shell.canal-plus-section.dock-collapsed > .uza-sidebar.under-brand {
    bottom: max(14px, env(safe-area-inset-bottom, 0px)) !important;
  }

  .uza-v2-dashboard-clone[data-uza-visible-panel="1"],
  .uza-v2-dashboard-clone[data-uza-visible-panel="2"] {
    padding-bottom: 108px !important;
  }
}

.uza-profile-fan-options[data-mode="main"]
  .uza-profile-fan-option:first-child
  .uza-profile-fan-circle svg {
  color: #00ff94 !important;
  stroke: currentColor !important;
}

@media (min-width: 681px) {
  .uza-profile-fan-options[data-mode="main"] {
    width: 360px !important;
    height: 158px !important;
  }

  .uza-profile-fan-options[data-mode="main"] .uza-profile-fan-option:nth-child(1) {
    left: 25% !important;
    bottom: 10px !important;
  }

  .uza-profile-fan-options[data-mode="main"] .uza-profile-fan-option:nth-child(2) {
    left: 50% !important;
    bottom: 48px !important;
  }

  .uza-profile-fan-options[data-mode="main"] .uza-profile-fan-option:nth-child(3) {
    left: 75% !important;
    bottom: 10px !important;
  }
}

/* Creator-only Canal+ list. Keep the regular member experience untouched. */
html.uza-owner-canal-plus
  .uza-web-shell.canal-plus-section
  > .uza-web-center:has(.uza-canal-plus-admin-chooser),
html.uza-owner-canal-plus .uza-canal-plus-admin-chooser {
  background: #020a11 !important;
}

html.uza-owner-canal-plus
  .uza-canal-plus-admin-chooser
  .uza-canal-plus-channel-option.uza-owner-channel-option,
html.uza-owner-canal-plus
  .uza-canal-plus-channel-option.admin-channel-option.uza-owner-channel-option {
  background:
    radial-gradient(240px 120px at 0 0, rgba(255, 151, 76, .08), transparent 68%),
    radial-gradient(260px 130px at 100% 100%, rgba(0, 255, 148, .07), transparent 72%),
    linear-gradient(118deg, rgba(14, 16, 20, .98), rgba(7, 10, 13, .98)) !important;
  border: 1px solid rgba(0, 239, 177, .24) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 14px 34px rgba(0, 0, 0, .26) !important;
}

html.uza-owner-canal-plus
  .uza-canal-plus-admin-chooser
  .uza-canal-plus-channel-option.uza-owner-channel-option:hover,
html.uza-owner-canal-plus
  .uza-canal-plus-channel-option.admin-channel-option.uza-owner-channel-option:hover {
  border-color: rgba(0, 239, 177, .46) !important;
  background:
    radial-gradient(240px 120px at 0 0, rgba(255, 151, 76, .1), transparent 68%),
    radial-gradient(260px 130px at 100% 100%, rgba(0, 255, 148, .1), transparent 72%),
    linear-gradient(118deg, #101316, #070c0d) !important;
}

html.uza-owner-canal-plus
  .uza-owner-channel-option
  .uza-canal-plus-channel-kicker,
html.uza-owner-canal-plus .uza-owner-channel-option > svg {
  color: #39e3df !important;
}

/* The owner dashboard is the only Canal+ surface using the native admin host.
   Remove its legacy blue scrollbar completely so it cannot reappear during
   route transitions or while the owner session is being restored. */
.uza-canal-plus-scroll.uza-admin-native-host,
html.uza-owner-canal-plus .uza-canal-plus-scroll {
  padding: 0 !important;
  background: #050507 !important;
  scrollbar-color: transparent transparent !important;
  scrollbar-width: none !important;
}

html.uza-owner-canal-plus .uza-canal-plus-view,
html.uza-owner-canal-plus .uza-web-center,
.uza-canal-plus-view:has(.uza-admin-native-host) {
  background: #050507 !important;
}

.uza-canal-plus-scroll.uza-admin-native-host > #uza-admin-portal {
  margin: 0 !important;
  border: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

.uza-canal-plus-scroll.uza-admin-native-host::-webkit-scrollbar,
html.uza-owner-canal-plus .uza-canal-plus-scroll::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
