:root,
[data-bs-theme="dark"] {
  --zs-bg: #050506;
  --zs-bg-elevated: #0b0b0d;
  --zs-border: #1e1e22;
  --zs-border-bright: #45454e;
  --zs-red: #d2352b;
  --zs-red-light: #ef5c4e;
  --zs-red-dark: #7a130f;
  --zs-text: #f4f4f5;
  --zs-text-dim: #9a9aa3;
  --zs-ok: #34d399;
  --zs-orange-dark: #b8560c;
  --zs-yellow: #ffc107;
  --zs-yellow-dark: #a67c00;
  --zs-yellow-dark-hover: #8a6800;

  --zs-pal-red: #d51114;
  --zs-pal-white: #efefef;
  --zs-pal-ink: #252120;
  --zs-pal-wine: #720b11;
  --zs-pal-grey: #a0a0a0;
  --zs-pal-crimson: #95090b;
  --zs-pal-oxblood: #3e0608;

  --bs-body-bg: var(--zs-bg);
  --bs-body-color: var(--zs-text);
  --bs-border-color: var(--zs-border);
  --bs-border-color-translucent: var(--zs-border);
  --bs-primary: var(--zs-red);
  --bs-primary-rgb: 210, 53, 43;
  --bs-link-color: var(--zs-red-light);
  --bs-link-color-rgb: 239, 92, 78;
  --bs-link-hover-color: var(--zs-red);
  --bs-emphasis-color: #fff;
}

body {
  font-family: "Barlow Semi Condensed", "Roboto Condensed", "Arial Narrow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.06rem;
  letter-spacing: .005em;
  background-color: var(--zs-bg);
}
:root { --bs-body-font-family: "Barlow Semi Condensed", "Roboto Condensed", "Arial Narrow", system-ui, -apple-system, "Segoe UI", sans-serif; }

@font-face {
  font-family: "Abel";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/lib/abel/files/abel-latin-400-normal.woff2") format("woff2");
}

.btn {
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.05),
    inset 0 -3px 5px rgba(0, 0, 0, 0.14),
    0 1px 2px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.15s ease, transform 0.1s ease;
}

.btn:active {
  box-shadow:
    inset 0 1px 4px rgba(0, 0, 0, 0.14),
    inset 0 -1px 2px rgba(255, 255, 255, 0.03);
  transform: translateY(1px);
}

.btn:disabled,
.btn.disabled {
  box-shadow: none;
  transform: none;
}

.brand-mark {
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}

.navbar-brand {
  position: relative;
  overflow: hidden;
}

.navbar-brand::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: zsShineSweep 10s ease-in-out infinite;
}

.navbar-glass {
  position: relative;
  background-color: rgba(0, 0, 0, 0.78);
  border-bottom-color: var(--zs-border) !important;
}

.navbar-glass::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--zs-red-dark) 20%, var(--zs-red) 50%, var(--zs-red-dark) 80%, transparent);
  opacity: 0.55;
}

.navbar .nav-link {
  color: var(--zs-text-dim);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--zs-text);
}

.navbar .nav-link.active {
  color: var(--zs-red-light);
}

.hero-section {
  background:
    radial-gradient(circle at 15% 0%, rgba(210, 53, 43, 0.16), transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(210, 53, 43, 0.08), transparent 50%);
}

.hero-logo {
  width: 100%;
  max-width: 380px;
  height: auto;
}

.hero-lead {
  max-width: 640px;
}

.status-badge {
  background-color: rgba(52, 211, 153, 0.12);
  color: var(--zs-ok);
  border: 1px solid rgba(52, 211, 153, 0.28);
  font-weight: 500;
  font-size: 0.8rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zs-ok);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
  display: inline-block;
}

.text-ok {
  color: var(--zs-ok);
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--zs-red);
  --bs-btn-border-color: var(--zs-red);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--zs-red-light);
  --bs-btn-hover-border-color: var(--zs-red-light);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--zs-red-dark);
  --bs-btn-active-border-color: var(--zs-red-dark);
  --bs-btn-disabled-bg: var(--zs-red);
  --bs-btn-disabled-border-color: var(--zs-red);
  --bs-btn-focus-shadow-rgb: 210, 53, 43;
}

.btn-outline-secondary {
  --bs-btn-color: var(--zs-text-dim);
  --bs-btn-border-color: var(--zs-border);
  --bs-btn-hover-color: var(--zs-text);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.06);
  --bs-btn-hover-border-color: var(--zs-border);
  --bs-btn-active-color: var(--zs-text);
  --bs-btn-active-bg: rgba(255, 255, 255, 0.1);
  --bs-btn-active-border-color: var(--zs-border);
}

.feature-card {
  background-color: var(--zs-bg-elevated);
  border-color: var(--zs-border);
  border-radius: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.feature-card:hover {
  border-color: var(--zs-red);
  box-shadow: 0 10px 24px -12px rgba(210, 53, 43, 0.4);
}

.feature-card--soon {
  opacity: 0.88;
}

.notice-card {
  border-left: 3px solid #f0b429;
}

.notice-card .notice-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(240, 180, 41, 0.14);
  color: #f0b429;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex: none;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(210, 53, 43, 0.14);
  color: var(--zs-red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.stack-strip {
  background: var(--zs-bg-elevated);
  border-color: var(--zs-border) !important;
}

footer {
  border-top: 1px solid var(--zs-border);
}

.page-header {
  background:
    radial-gradient(circle at 15% 0%, rgba(210, 53, 43, 0.14), transparent 55%);
  border-bottom: 1px solid var(--zs-border);
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.zs-gap-top {
  padding-top: 0.45rem !important;
}

.zs-gap-top-lg {
  padding-top: 0.9rem !important;
}

.zs-gap-bottom {
  margin-bottom: 0.45rem !important;
}

.page-header-title-row {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}

.page-header-logo {
  height: 100%;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.page-header-cols {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .page-header-cols {
    flex-direction: row;
    align-items: center;
  }
}

.page-header-main {
  flex: 1 1 auto;
  min-width: 0;
}

.page-header-sponsors-block {
  flex-shrink: 0;
}

.page-header-sponsors-label {
  font-size: 0.68rem;
  color: var(--zs-text-dim);
  margin-bottom: 0.45rem;
}

.page-header-sponsors {
  display: flex;
  align-items: center;
  gap: 0.56rem;
  flex-wrap: wrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.page-header-sponsors::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: zsShineSweep 10s ease-in-out infinite;
}

@keyframes zsShineSweep {
  0% {
    left: -75%;
  }
  12% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

.page-header-sponsor-box {
  width: 72px;
  height: 45px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--zs-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(154, 154, 163, 0.45);
  font-size: 0.68rem;
  text-align: center;
  flex-shrink: 0;
}

.page-header-sponsor-main {
  width: 122px;
  height: 101px;
  font-size: 0.77rem;
}

.page-header-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.56rem;
}

.page-header-sponsor-grid .page-header-sponsor-box {
  width: 63px;
  height: 47px;
  flex-shrink: 0;
}

#eventHighlightCard .card-body {
  padding: 1.5rem;
}

#eventHighlightCard,
#portalTabs,
#stableAdminCard {
  margin-bottom: 0.45rem;
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--zs-red-light);
  font-weight: 600;
}

.feature-icon-sm {
  width: 36px;
  height: 36px;
  font-size: 1rem;
  margin-bottom: 0;
}

.feature-icon-success {
  background: rgba(52, 211, 153, 0.14);
  color: var(--zs-ok);
}

.dummy-tag {
  font-size: 0.72rem;
  letter-spacing: 0.4px;
  color: var(--zs-text-dim);
  border: 1px dashed var(--zs-border);
  border-radius: 999px;
  padding: 3px 10px;
}

.badge-status-upcoming {
  background-color: rgba(154, 154, 163, 0.14);
  color: var(--zs-text-dim);
  border: 1px solid var(--zs-border);
}

.badge-status-live {
  background-color: rgba(210, 53, 43, 0.14);
  color: var(--zs-red-light);
  border: 1px solid rgba(210, 53, 43, 0.35);
}

.badge-status-live .status-dot {
  background: var(--zs-red-light);
  box-shadow: 0 0 0 3px rgba(239, 92, 78, 0.2);
}

.badge-status-done {
  background-color: rgba(52, 211, 153, 0.1);
  color: var(--zs-ok);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.badge-prize {
  background-color: rgba(240, 180, 41, 0.14);
  color: #f0b429;
  border: 1px solid rgba(240, 180, 41, 0.35);
}

.badge-prize .prize-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.badge-prize .prize-label {
  color: var(--zs-red-light);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.prize-list {
  list-style: none;
  margin: 0;
  padding-left: 0.75rem;
}

.prize-list li {
  position: relative;
  padding-left: 1rem;
}

.prize-list li + li {
  margin-top: 0.25rem;
}

.prize-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--zs-text-dim);
}

.filter-chip {
  --bs-btn-color: var(--zs-text-dim);
  --bs-btn-border-color: var(--zs-border);
  --bs-btn-hover-color: var(--zs-text);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.06);
  --bs-btn-hover-border-color: var(--zs-border);
  border-radius: 999px;
}

.filter-chip.active {
  --bs-btn-color: #fff;
  background-color: var(--zs-red) !important;
  border-color: var(--zs-red) !important;
}

.event-card,
.product-card {
  background-color: var(--zs-bg-elevated);
  border: 1px solid var(--zs-border);
  border-radius: 14px;
}

.product-card .product-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(210, 53, 43, 0.14);
  color: var(--zs-red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.portal-section {
  padding-top: 0.45rem;
}

.stable-banner {
  background: var(--zs-bg-elevated);
  border: 1px solid var(--zs-border);
  border-radius: 16px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 0.45rem;
}

.stable-banner--photo {
  position: relative;
  overflow: hidden;
  background: var(--stable-bg-photo, none) center / cover no-repeat, var(--zs-bg-elevated);
}

.stable-banner--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 5, 6, 0.88), rgba(5, 5, 6, 0.55));
  pointer-events: none;
}

.stable-banner--photo > * {
  position: relative;
  z-index: 1;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--zs-border);
  color: var(--zs-text-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.social-link:hover {
  color: #fff;
  border-color: var(--zs-red);
  background-color: var(--zs-red);
}

.stable-card {
  background-color: var(--zs-bg-elevated);
  border: 1px solid var(--zs-border);
  border-radius: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.stable-card:hover {
  border-color: var(--zs-red);
  box-shadow: 0 10px 24px -12px rgba(210, 53, 43, 0.4);
}

a.stable-card:hover .stable-card-arrow {
  color: var(--zs-red-light);
  transform: translateX(2px);
}

.stable-card-arrow {
  transition: transform 0.15s ease, color 0.15s ease;
}

.stable-avatar-sm {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--zs-red), var(--zs-red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.stable-avatar-sm-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--zs-bg-elevated);
  border: 1px solid var(--zs-border);
  flex-shrink: 0;
}

.stable-avatar {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--zs-red), var(--zs-red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stable-avatar-photo {
  width: 110px;
  height: 110px;
  border-radius: 14px;
  background: var(--zs-bg-elevated);
  border: 1px solid var(--zs-border);
  padding: 0px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-pills {
  --bs-nav-pills-link-active-bg: var(--zs-red);
  --bs-nav-pills-link-active-color: #fff;
  gap: 6px;
}

.nav-pills .nav-link {
  color: var(--zs-text-dim);
  border: 1px solid transparent;
}

.nav-pills .nav-link:hover {
  color: var(--zs-text);
}

.nav-pills .nav-link.active {
  border-color: var(--zs-red);
}

.video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background:
    linear-gradient(160deg, #131316, #0a0a0c);
  border: 1px solid var(--zs-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-placeholder .play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(210, 53, 43, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.video-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: linear-gradient(160deg, #131316, #0a0a0c);
  border: 1px solid var(--zs-border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zs-text-dim);
  font-size: 1.3rem;
}

.video-thumb[data-video-src] {
  cursor: pointer;
}

.video-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb-playbtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.video-thumb[data-video-src]:hover .video-thumb-playbtn {
  background: var(--zs-red-light);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  border-radius: inherit;
}

.video-buffer-spinner {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 3;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.video-buffer-wrap.is-buffering .video-buffer-spinner {
  display: flex;
}

.video-buffer-spinner .spinner-border {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--zs-red);
}

.video-collection-category + .video-collection-category {
  margin-top: 1.75rem;
}

.video-collection-carousel {
  position: relative;
}

.video-collection-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.video-collection-grid::-webkit-scrollbar {
  display: none;
}

.video-collection-grid > div {
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .video-collection-grid {
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: calc((100% - 1.5rem) / 3);
  }

  .video-collection-grid > div:nth-child(1)  { grid-row: 1; grid-column: 1; }
  .video-collection-grid > div:nth-child(2)  { grid-row: 1; grid-column: 2; }
  .video-collection-grid > div:nth-child(3)  { grid-row: 1; grid-column: 3; }
  .video-collection-grid > div:nth-child(4)  { grid-row: 2; grid-column: 1; }
  .video-collection-grid > div:nth-child(5)  { grid-row: 2; grid-column: 2; }
  .video-collection-grid > div:nth-child(6)  { grid-row: 2; grid-column: 3; }
  .video-collection-grid > div:nth-child(7)  { grid-row: 1; grid-column: 4; }
  .video-collection-grid > div:nth-child(8)  { grid-row: 1; grid-column: 5; }
  .video-collection-grid > div:nth-child(9)  { grid-row: 1; grid-column: 6; }
  .video-collection-grid > div:nth-child(10) { grid-row: 2; grid-column: 4; }
  .video-collection-grid > div:nth-child(11) { grid-row: 2; grid-column: 5; }
  .video-collection-grid > div:nth-child(12) { grid-row: 2; grid-column: 6; }
  .video-collection-grid > div:nth-child(13) { grid-row: 1; grid-column: 7; }
  .video-collection-grid > div:nth-child(14) { grid-row: 1; grid-column: 8; }
  .video-collection-grid > div:nth-child(15) { grid-row: 1; grid-column: 9; }
  .video-collection-grid > div:nth-child(16) { grid-row: 2; grid-column: 7; }
  .video-collection-grid > div:nth-child(17) { grid-row: 2; grid-column: 8; }
  .video-collection-grid > div:nth-child(18) { grid-row: 2; grid-column: 9; }
}

.video-collection-arrow {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3rem;
  align-items: center;
  border: none;
  background: none;
  color: #fff;
  font-size: 1.35rem;
  z-index: 2;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.15s ease;
}

.video-collection-arrow i {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}

.video-collection-arrow.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.video-collection-arrow-left {
  left: 0;
  justify-content: flex-start;
  padding-left: 0.25rem;
  background: linear-gradient(to right, var(--zs-bg-elevated) 0%, rgba(0, 0, 0, 0) 100%);
}

.video-collection-arrow-right {
  right: 0;
  justify-content: flex-end;
  padding-right: 0.25rem;
  background: linear-gradient(to left, var(--zs-bg-elevated) 0%, rgba(0, 0, 0, 0) 100%);
}

@media (min-width: 768px) {
  .video-collection-arrow {
    display: flex;
  }
}

.video-thumb .duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--zs-text);
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.video-subtitle-truncate {
  min-width: 0;
}

.photo-lightbox-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.photo-lightbox-track::-webkit-scrollbar {
  display: none;
}

.photo-lightbox-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.photo-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.photo-lightbox-close {
  z-index: 3;
}

.photo-lightbox-arrow {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  min-width: 48px;
  max-width: 96px;
  z-index: 2;
  border: none;
  background: transparent;
  color: var(--zs-text);
  font-size: 1.75rem;
  align-items: center;
  justify-content: center;
}

.photo-lightbox-arrow-left {
  left: 0;
  justify-content: flex-start;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.55), transparent);
}

.photo-lightbox-arrow-right {
  right: 0;
  justify-content: flex-end;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.55), transparent);
}

@media (min-width: 768px) {
  .photo-lightbox-arrow {
    display: flex;
  }
}

.video-lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-lightbox-player {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

@media (max-width: 767.98px) and (orientation: portrait) {
  #videoLightbox .modal-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vh;
    height: 100vw;
    max-width: none;
    margin: 0;
    transform: translate(-50%, -50%) rotate(90deg);
  }
}

.table-zs {
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--zs-border-bright);
  --bs-table-color: var(--zs-text);
  vertical-align: middle;
}

.form-check-input {
  border-color: var(--zs-border-bright);
}

.table-zs > :not(caption) > * > * {
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.table-zs thead th {
  color: var(--zs-text-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
  border-bottom-width: 1px;
}

@media (max-width: 767.98px) {
  .table-zs {
    font-size: 0.78rem;
  }

  .table-zs thead th {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
  .page-header-sponsors::after,
  .navbar-brand::after { animation: none; display: none; }
}

.login-form {
  max-width: 25rem;
  width: 100%;
  margin-inline: auto;
}

.grecaptcha-badge {
  visibility: hidden;
}

.login-divider {
  position: relative;
  max-width: 25rem;
  margin-inline: auto;
}

.login-divider::before,
.login-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42%;
  border-top: 1px solid var(--bs-border-color, #dee2e6);
}

.login-divider::before {
  left: 0;
}

.btn-zs-grey {
  background-color: var(--zs-bg-elevated);
  border-color: var(--zs-border-bright);
  color: var(--zs-text);
}

.btn-zs-grey:hover,
.btn-zs-grey:focus {
  background-color: #29292f;
  border-color: var(--zs-border-bright);
  color: var(--zs-text);
}

.btn-zs-yellow-dark {
  background-color: var(--zs-yellow-dark);
  border-color: var(--zs-yellow-dark);
  color: #fff;
}

.btn-zs-yellow-dark:hover,
.btn-zs-yellow-dark:focus {
  background-color: var(--zs-yellow-dark-hover);
  border-color: var(--zs-yellow-dark-hover);
  color: #fff;
}

.btn-zs-blue {
  background-color: #0ea5e9;
  border-color: #0ea5e9;
  color: #fff;
}

.btn-zs-blue:hover,
.btn-zs-blue:focus {
  background-color: #0284c7;
  border-color: #0284c7;
  color: #fff;
}

.btn-zs-orange {
  background-color: var(--zs-orange-dark);
  border-color: var(--zs-orange-dark);
  color: #fff;
}

.btn-zs-orange:hover,
.btn-zs-orange:focus {
  background-color: #8f4309;
  border-color: #8f4309;
  color: #fff;
}

.btn-zs-maroon {
  background-color: maroon;
  border-color: maroon;
  color: #fff;
}

.btn-zs-maroon:hover,
.btn-zs-maroon:focus {
  background-color: #5c0000;
  border-color: #5c0000;
  color: #fff;
}

.photo-slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.photo-slot {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: var(--zs-bg-elevated);
  border: 1px dashed var(--zs-border-bright);
  overflow: hidden;
}

.photo-slot-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.photo-slot-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zs-text-dim);
  font-size: 1.1rem;
  pointer-events: none;
}

.photo-slot-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.photo-slot-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: var(--zs-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  line-height: 1;
}

.photo-slot-remove:hover {
  background: var(--zs-red);
}

.video-slot {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: var(--zs-bg-elevated);
  border: 1px dashed var(--zs-border-bright);
  overflow: hidden;
}

.video-slot-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.video-slot-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--zs-text-dim);
  font-size: 0.95rem;
  text-align: center;
  pointer-events: none;
}

.video-slot-empty i {
  font-size: 2rem;
}

.video-slot-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.video-slot-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: var(--zs-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  line-height: 1;
}

.video-slot-remove:hover {
  background: var(--zs-red);
}

.video-share-btn,
.photo-share-btn {
  position: relative;
  border: none;
  background: transparent;
  color: var(--zs-text-dim);
  padding: 0;
  line-height: 1;
  font-size: 0.85rem;
}

.video-share-btn:hover,
.photo-share-btn:hover {
  color: var(--zs-text);
}

.share-toast {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 4px;
  background: rgba(0, 0, 0, 0.85);
  color: var(--zs-text);
  font-size: 0.7rem;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
}

.login-divider::after {
  right: 0;
}

.item-delete-btn {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  z-index: 3;
  width: 1.9rem;
  height: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.85rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.item-delete-btn:hover {
  background: var(--zs-red);
  transform: scale(1.08);
}

.item-delete-btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.legal-doc-body h2:first-child {
  margin-top: 0 !important;
}

.legal-doc-body p,
.legal-doc-body li {
  color: var(--zs-text-dim);
  line-height: 1.7;
}

.legal-doc-body li {
  margin-bottom: 0.5rem;
}

.footer-zs {
  padding-top: 0.585rem;
  padding-bottom: 0.585rem;
}

.footer-zs-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
}

.footer-zs-logo {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-zs-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
  }

  .footer-zs-links {
    justify-content: flex-end;
    gap: 1rem;
  }
}

.footer-zs-tagline {
  white-space: nowrap;
}

.footer-zs-link {
  color: inherit;
  text-decoration: none;
}

.footer-zs-link:hover {
  color: var(--zs-text);
  text-decoration: underline;
}

.event-contact-line-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.event-contact-line + .event-contact-line::before {
  content: "\00B7";
  margin: 0 0.5rem;
}

.entry-card-header {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--zs-border);
}

.entry-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .entry-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .entry-list-panel {
    flex: 0 0 270px;
    max-height: 32rem;
    overflow-y: auto;
  }

  .entry-detail-panel {
    flex: 1 1 auto;
    min-width: 0;
  }

  .entry-detail-back {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .entry-layout:not(.entry-layout--detail-open) .entry-detail-panel {
    display: none;
  }

  .entry-layout.entry-layout--detail-open .entry-list-panel {
    display: none;
  }
}

.entry-detail-header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--zs-border);
  border-radius: 0.5rem;
  background-color: var(--zs-bg-elevated);
}

.entry-detail-title {
  color: var(--zs-yellow);
}

.entry-peserta-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.6rem;
  border-radius: 14px;
  cursor: pointer;
  color: #fff;
  background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.16), rgba(255,255,255,0) 55%), linear-gradient(180deg, #2b2d36 0%, #1a1b21 100%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -10px 16px rgba(0,0,0,.4), 0 8px 16px rgba(0,0,0,.5), 0 2px 4px rgba(0,0,0,.6);
  transition: transform .12s, box-shadow .15s, border-color .15s;
}

.entry-peserta-card:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -10px 16px rgba(0,0,0,.4), 0 12px 22px rgba(0,0,0,.55), 0 2px 4px rgba(0,0,0,.6);
}

.entry-peserta-card.active {
  border-color: var(--zs-red);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -10px 16px rgba(0,0,0,.4), 0 0 0 1px rgba(210,53,43,.6), 0 8px 16px rgba(0,0,0,.5);
}

.entry-peserta-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.entry-peserta-rider {
  white-space: normal;
  word-break: break-word;
}

.entry-peserta-horse {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-day-group {
  margin-bottom: 1.25rem;
}

.entry-day-heading {
  color: var(--zs-red-light);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .entry-day-classes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
  }
}

.entry-class-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  margin-bottom: 0.15rem;
  min-width: 0;
}

.entry-class-row:hover {
  background-color: var(--zs-bg-elevated);
}

.entry-class-name {
  flex: 1 1 auto;
  font-size: 0.95em;
  font-family: "Abel", "Arial Narrow", "Segoe UI", -apple-system, sans-serif;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-focus-list {
  max-height: calc(100vh - 230px);
  overflow-y: auto;
}
.admin-focus-list .list-group-item {
  background: transparent;
  color: var(--zs-text);
  border-color: var(--zs-border-bright);
}
.admin-focus-list .list-group-item-action:hover,
.admin-focus-list .list-group-item-action:focus {
  background: var(--zs-pal-oxblood);
  color: var(--zs-pal-white);
}
.admin-focus-list .list-group-item.active {
  background: var(--zs-pal-crimson);
  border-color: var(--zs-pal-crimson);
  color: var(--zs-pal-white);
}
.admin-focus-list .list-group-item.active .text-body-secondary {
  color: var(--zs-pal-white) !important;
  opacity: 0.8;
}
.admin-tools-empty {
  min-height: 30vh;
}

.admin-focus-col {
  border-bottom: 1px solid var(--zs-border-bright);
}
@media (min-width: 992px) {
  .admin-focus-col {
    border-bottom: 0;
    border-right: 1px solid var(--zs-border-bright);
  }
}

.admin-header-btn {
  height: 27px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
}

.admin-panel-head {
  min-height: 34px;
}
.admin-tools-context {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  line-height: 1.15;
  min-width: 0;
}
.admin-tools-context .eyebrow {
  font-size: 0.65rem;
}
.admin-tools-context .admin-tools-title {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-panel-title {
  color: var(--zs-pal-grey);
}
.admin-tabs .nav-link {
  height: 30px;
  padding: 0 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  white-space: nowrap;
}
.admin-tabs .badge {
  font-size: 0.7rem;
  padding: 0.15em 0.4em;
}

.admin-tabs .nav-link.active {
  background-color: var(--zs-pal-wine);
  color: var(--zs-pal-white);
}

.admin-combo {
  position: fixed;
  z-index: 2000;
  max-height: 240px;
  overflow-y: auto;
  background: var(--zs-bg-elevated);
  border: 1px solid var(--zs-border-bright);
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}
.admin-combo .list-group-item {
  background: transparent;
  color: var(--zs-text);
  border-color: var(--zs-border);
}
.admin-combo .list-group-item.active {
  background: var(--zs-pal-crimson);
  border-color: var(--zs-pal-crimson);
  color: var(--zs-pal-white);
}

.admin-col-num {
  width: 5.5rem;
  min-width: 5.5rem;
}

.admin-toast-host {
  position: fixed;
  top: 60px;
  right: 12px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: min(420px, calc(100vw - 24px));
  pointer-events: none;
}
.admin-toast {
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  opacity: 1;
  transition: opacity 0.35s ease;
  word-break: break-word;
}
.admin-toast-ok {
  background: #15803d;
}
.admin-toast-warn {
  background: var(--zs-orange-dark);
}
.admin-toast-hide {
  opacity: 0;
}

.admin-stall-scroll {
  max-height: 60vh;
  overflow: auto;
}
.admin-stall-scroll .table-zs thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--zs-bg);
}
@media (min-width: 992px) {
  #adminDashboardSection {
    height: calc(100vh - 36px);
    overflow: hidden;
  }
  #adminDashboardSection > .row {
    flex-wrap: nowrap;
  }
  #adminFocusPanel {
    overflow-y: auto;
  }
  .admin-tools-col {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }
  .admin-tools-col > :not(.admin-tools-body),
  .admin-tools-body > :not(.admin-stall-holder):not(.admin-reg-scroll) {
    flex-shrink: 0;
  }
  .admin-tools-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }
  .admin-stall-holder {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }
  .admin-stall-scroll {
    max-height: none;
    flex: 1 1 auto;
    min-height: 0;
  }
  .stb-holder {
    overflow-y: auto;
    padding-right: 4px;
  }
}

.entry-class-row--disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.entry-class-row--disabled .entry-class-checkbox {
  cursor: not-allowed;
}
.entry-class-row--age-warn {
  box-shadow: inset 3px 0 0 var(--zs-orange-dark);
}

.btn-zs-green {
  background-color: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
.btn-zs-green:hover,
.btn-zs-green:focus {
  background-color: #15803d;
  border-color: #15803d;
  color: #fff;
}
.btn-zs-purple {
  background-color: #7c3aed;
  border-color: #7c3aed;
  color: #fff;
}
.btn-zs-purple:hover,
.btn-zs-purple:focus {
  background-color: #6d28d9;
  border-color: #6d28d9;
  color: #fff;
}
.badge-hc,
.so-hc { background-color: #7c3aed; color: #fff; font-size: .62rem; letter-spacing: .04em; }
.ls-row.hc .ls-rk { background: rgba(124,58,237,.22); color: #c4b5fd; font-size: .72rem; font-weight: 700; }

.btn-zs-green-dark {
  background-color: #166534;
  border-color: #166534;
  color: #fff;
}
.btn-zs-green-dark:hover,
.btn-zs-green-dark:focus {
  background-color: #14532d;
  border-color: #14532d;
  color: #fff;
}

.admin-page .btn {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.14) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(0, 0, 0, 0.28), 0 1px 3px rgba(0, 0, 0, 0.45);
  transition: filter 0.12s ease, box-shadow 0.12s ease;
}
.admin-page .btn:hover:not(:disabled) {
  filter: brightness(1.1);
}
.admin-page .btn:active:not(:disabled) {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 60%, rgba(255, 255, 255, 0.06) 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45), 0 0 0 rgba(0, 0, 0, 0);
  filter: none;
}
.admin-page .btn:focus-visible {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(0, 0, 0, 0.28), 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}
.admin-page .btn:disabled {
  background-image: none;
  box-shadow: none;
}

.admin-page .admin-tabs .nav-link {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.14) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(0, 0, 0, 0.28), 0 1px 3px rgba(0, 0, 0, 0.45);
  transition: filter 0.12s ease, box-shadow 0.12s ease;
}
.admin-page .admin-tabs .nav-link:not(.active) {
  background-color: var(--zs-bg-elevated);
  border-color: var(--zs-border);
}
.admin-page .admin-tabs .nav-link:hover {
  filter: brightness(1.15);
}
.admin-page .admin-tabs .nav-link:active {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 60%, rgba(255, 255, 255, 0.06) 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45);
  filter: none;
}

.btn-zs-ink {
  background-color: var(--zs-pal-ink);
  border-color: #3a3533;
  color: var(--zs-pal-white);
}
.btn-zs-ink:hover,
.btn-zs-ink:focus {
  background-color: #35302e;
  border-color: #4a4441;
  color: #fff;
}

.admin-reg-scroll {
  max-height: 75vh;
  overflow-y: auto;
  padding-right: 0.25rem;
}
@media (min-width: 992px) {
  .admin-reg-scroll {
    max-height: none;
    flex: 1 1 auto;
    min-height: 0;
  }
}

.admin-gradient-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, #5c5c5c 20%, var(--zs-pal-grey) 50%, #5c5c5c 80%, transparent);
  opacity: 0.55;
  flex-shrink: 0;
}

.admin-col-days {
  width: 5rem;
  min-width: 5rem;
}
.admin-col-type {
  min-width: 12.5rem;
}

.admin-inv-wrap {
  overflow-x: hidden;
}
.admin-inv-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.admin-inv-cards .card-body {
  padding: 0.4rem 0.8rem !important;
}
.admin-inv-cards .eyebrow {
  margin-bottom: 0.05rem !important;
  font-size: 0.62rem;
  line-height: 1.25;
}
.admin-inv-cards .h6 {
  font-size: 0.95rem;
  line-height: 1.2;
}
.admin-inv-panes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.admin-inv-left,
.admin-inv-right {
  min-width: 0;
}
.admin-inv-left {
  display: flex;
  flex-direction: column;
}
.aso-day-head { padding: .6rem .5rem .3rem; font-size: 1.05rem; font-weight: 700; color: var(--zs-yellow); }
.aso-class-name { color: #fff; }
.aso-class-count { color: var(--zs-yellow); font-weight: 700; }
.list-group-item.active .aso-class-name { font-weight: 700; }

.admin-inv-list {
  max-height: 40vh;
  overflow-y: auto;
}
.admin-inv-cards > .admin-inv-actions { display: flex; gap: 0.5rem; align-self: stretch; }
.admin-inv-actions .btn { padding-left: 0.85rem; padding-right: 0.85rem; }
.admin-inv-cards > .admin-inv-refresh {
  align-self: stretch;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
}
@media (min-width: 768px) {
  .admin-inv-cards { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
}
@media (min-width: 992px) {
  .admin-inv-wrap {
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
  }
  .admin-inv-wrap > * { flex-shrink: 0; }
  .admin-inv-wrap > .admin-inv-panes {
    flex: 1 1 auto;
    min-height: 0;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
  .admin-inv-left,
  .admin-inv-right { min-height: 0; }
  .admin-inv-right {
    overflow-y: auto;
    padding-right: 0.25rem;
  }
  .admin-inv-list {
    flex: 1 1 auto;
    max-height: none;
    min-height: 0;
  }
}

.admin-inv-collapse {
  color: #d4a017;
  cursor: pointer;
}
.admin-inv-collapse:hover {
  color: #e6b422;
}

.admin-inv-rider {
  background: #000;
  color: #fff;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  margin: 0.5rem 0 0.25rem;
  border-radius: 0.375rem;
}

.admin-so-handle {
  cursor: grab;
  font-size: 1.25rem;
  line-height: 1;
  color: #d4a017;
}
.admin-so-no {
  min-width: 2rem;
}
.admin-so-horse { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -.2em; }
.admin-so-state {
  width: 6.5rem;
  flex-shrink: 0;
}
.admin-so-row.dragging {
  opacity: 0.4;
}
.admin-so-row.drag-over {
  box-shadow: inset 0 3px 0 0 #d4a017;
}
.min-w-0 {
  min-width: 0;
}

.admin-sponsor-block {
  --sp: 2.4;
  display: inline-block;
}
.admin-sponsor-title {
  font-size: calc(0.68rem * 1.6);
  color: var(--zs-text-dim);
  margin-bottom: 0.6rem;
}
.admin-sponsor-group {
  display: flex;
  align-items: center;
  gap: calc(0.56rem * var(--sp));
  flex-wrap: wrap;
}
.admin-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: calc(0.56rem * var(--sp));
}
.admin-sponsor-box {
  position: relative;
  width: calc(63px * var(--sp));
  height: calc(47px * var(--sp));
  border-radius: calc(7px * var(--sp) * 0.6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--zs-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(154, 154, 163, 0.7);
  font-size: 0.9rem;
  text-align: center;
  flex-shrink: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s, background 0.15s;
}
.admin-sponsor-box:hover,
.admin-sponsor-box:focus-visible {
  border-color: #d4a017;
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}
.admin-sponsor-main {
  width: calc(122px * var(--sp));
  height: calc(101px * var(--sp));
  font-size: 1.1rem;
}
.admin-sponsor-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
}
.admin-sponsor-box.has-logo {
  border-color: transparent;
}
.admin-sponsor-hint {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.15rem 0;
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  opacity: 0;
  transition: opacity 0.15s;
}
.admin-sponsor-box:hover .admin-sponsor-hint,
.admin-sponsor-box:focus-visible .admin-sponsor-hint {
  opacity: 1;
}
.admin-sponsor-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(114, 11, 17, 0.9);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.15s;
}
.admin-sponsor-box:hover .admin-sponsor-remove,
.admin-sponsor-box:focus-within .admin-sponsor-remove {
  opacity: 1;
}
.admin-sponsor-box.busy {
  opacity: 0.45;
  cursor: progress;
}
@media (max-width: 767.98px) {
  .admin-sponsor-block { --sp: 1.4; }
}

.page-header-sponsor-box.has-logo {
  border: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
}
.page-header-sponsor-img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  object-fit: contain;
  opacity: 1;
}

.admin-coord-search { max-width: 20rem; }
.admin-coord-filter { width: 8.5rem; }

.admin-sponsor-page {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.admin-sponsor-page .admin-sponsor-block {
  max-width: 100%;
}
.admin-sponsor-page .admin-sponsor-group {
  justify-content: center;
}

.event-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
  display: flex; justify-content: space-around; align-items: stretch;
  background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.16), rgba(255,255,255,0) 55%), linear-gradient(180deg, #2b2d36 0%, #1a1b21 100%);
  border-top: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -10px 18px rgba(0,0,0,.4), 0 -6px 14px rgba(0,0,0,.45);
  padding-bottom: env(safe-area-inset-bottom);
}
.event-nav a {
  flex: 1 1 0; max-width: 140px; display: flex; flex-direction: column; align-items: center;
  gap: 2px; padding: 8px 4px; text-decoration: none; color: #b4b6c2;
  font-size: .7rem; line-height: 1.1;
}
.event-nav a i { font-size: 1.3rem; line-height: 1; }
.event-nav a:hover, .event-nav a.active { color: var(--bs-primary, #0d6efd); }
.event-nav a.active { font-weight: 600; }
body:has(#eventNav) { padding-bottom: 64px; }

.page-header-sticky {
  position: sticky;
  top: 0;
  z-index: 1020;
  background-color: var(--bs-body-bg, #0f1115);
  background-image: radial-gradient(circle at 15% 0%, rgba(210, 53, 43, 0.14), transparent 55%);
}

#event-header { display: contents; }
#event-header:empty { display: block; height: 4.6rem; }
.eh-viewport { position: relative; overflow: hidden; }
.eh-track { display: flex; width: 100%; transition: transform 1.2s ease-in-out; will-change: transform; }
.eh-track.eh-multi { width: 200%; }
.eh-track.eh-multi.eh-b { transform: translateX(-50%); }
.eh-panel { flex: 0 0 100%; min-width: 0; min-height: 4.5rem; padding: 0.3rem 0; display: flex; align-items: center; gap: 1rem; }
.eh-track.eh-multi .eh-panel { flex-basis: 50%; }
.eh-panel-all { display: none; }
.eh-track.eh-multi .eh-panel-all { display: flex; }
.eh-panel-main { justify-content: space-between; }
.eh-main { display: flex; align-items: center; gap: 1rem; min-width: 0; flex: 1 1 auto; }
.eh-logo { height: 3.4rem; width: auto; max-width: 72px; object-fit: contain; flex-shrink: 0; }
.eh-titles { min-width: 0; }
.eh-title { font-size: clamp(1.05rem, 2.6vw, 1.5rem); line-height: 1.2; overflow-wrap: anywhere; }
.eh-main-sponsor { flex: 0 0 auto; }
.eh-panel-all { justify-content: center; gap: 0.5rem; }
.eh-sponsor { flex: 0 1 100px; min-width: 0; height: 60px; border-radius: 7px; background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.eh-sponsor-main { flex: 0 0 136px; }
.eh-panel-all .eh-sponsor-main { flex: 0 1 136px; }
.eh-sponsor img { width: 100%; height: 100%; object-fit: contain; opacity: 1; }
.eh-viewport::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; pointer-events: none; opacity: 0;
  transform: skewX(-20deg); background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%); }
.eh-viewport.eh-shine::after { opacity: 1; animation: ehShine 1.5s ease-in-out 1; }
@keyframes ehShine { from { left: -60%; } to { left: 130%; } }
@media (max-width: 575.98px) {
  .eh-logo { height: 2.8rem; max-width: 56px; }
  .eh-panel { min-height: 3.9rem; }
  .eh-sponsor { height: 46px; border-radius: 5px; flex-basis: 64px; }
  .eh-sponsor-main { flex-basis: 88px; }
}
@media (prefers-reduced-motion: reduce) { .eh-viewport::after { display: none; } .eh-track { transition: none; } }

.event-nav a.is-off { opacity: 0.45; }
.event-tabs a.is-off { opacity: 0.45; }
.event-nav-toast { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(8px);
  z-index: 3000; background: rgba(30, 30, 34, 0.96); color: #fff; border: 1px solid var(--zs-border, #333); border-radius: 10px;
  padding: 0.55rem 1rem; font-size: 0.85rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: 90vw; text-align: center; }
.event-nav-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.stb-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .75rem; margin-bottom: .5rem; }
.stb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; min-width: 0; flex: 1 1 auto; }
.stb-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-left: auto; }
.stb-limit { font-size: .75rem; color: var(--zs-text-dim, #9a9aa3); white-space: nowrap; }
.stb-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.stb-chip { display: inline-flex; align-items: center; gap: .4rem; background: transparent; color: var(--zs-text-dim, #9a9aa3);
  border: 1px solid var(--zs-border, #2a2a30); border-radius: 999px; padding: .2rem .7rem; font-size: .8rem; }
.stb-chip.active { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }
.stb-dot { width: .6rem; height: .6rem; border-radius: 50%; background: #9a9aa3; display: inline-block; }
.stb-chip.stb-available .stb-dot { background: #34d399; }
.stb-chip.stb-booked .stb-dot { background: #f59e0b; }
.stb-search { width: 11rem; }
.stb-screen { text-align: center; font-size: .68rem; letter-spacing: .4em; color: var(--zs-text-dim, #9a9aa3); margin: .6rem 15% 1rem;
  padding-top: .35rem; border-top: 3px solid rgba(255,255,255,.35); border-radius: 50% 50% 0 0 / 14px 14px 0 0; }
.stb-section { margin-bottom: 1.1rem; }
.stb-section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; margin-bottom: .45rem; }
.stb-type { font-weight: 700; }
.stb-price { font-size: .8rem; color: var(--zs-text-dim, #9a9aa3); }
.stb-desc { font-size: .75rem; color: var(--zs-text-dim, #9a9aa3); font-style: italic; }
.stb-count { margin-left: auto; font-size: .75rem; color: var(--zs-text-dim, #9a9aa3); }
.stb-pane-body { padding: .75rem; }
.stb-card { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.stb-tip { position: fixed; z-index: 2000; max-width: min(18rem, calc(100vw - 16px)); padding: .45rem .65rem; border-radius: 10px;
  background: #1c1d23; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 8px 22px rgba(0,0,0,.6);
  color: var(--zs-text, #f4f4f5); font-size: .78rem; line-height: 1.4; pointer-events: none; }
.stb-tip-title { font-weight: 700; color: var(--zs-yellow); margin-bottom: .15rem; }
#eventPaneStall .stb-section-head { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: .15rem; }
#eventPaneStall .stb-type { color: var(--zs-yellow); }
.stb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem; align-items: start; }
.stb-summary { min-width: 0; }
.stb-main { min-width: 0; }
.stb-sum-table thead th { position: sticky; top: 0; z-index: 1; background: var(--zs-bg-elevated); }
.stb-sum-table tfoot td { position: sticky; bottom: 0; z-index: 1; background: var(--zs-bg-elevated); font-weight: 700; border-top: 2px solid rgba(255,255,255,.25); }
.stb-sort { display: inline-flex; align-items: center; gap: .35rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.stb-sort i { font-size: .65rem; opacity: .45; }
.stb-sort:hover, .stb-sort.active { color: #fff; }
.stb-sort.active i { opacity: 1; color: #ffc107; }
.stb-sort:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 3px; }
.stb-sum-no { width: 3rem; }
.stb-sum-total { width: 4.6rem; }
.stb-sum-table { table-layout: fixed; width: 100%; }
.stb-sum-table td.stb-sum-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 991.98px) { .stb-split { grid-template-columns: minmax(0, 1fr); } .stb-summary { order: 2; } .stb-main { order: 1; } }
@media (min-width: 992px) {
  .stb-split { flex: 1 1 auto; min-height: 0; align-items: stretch; }
  .stb-summary, .stb-main { overflow-y: auto; min-height: 0; }
}
.stb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.stb-card { --stb-c: 154,154,163; position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
  min-height: 92px; padding: .6rem .7rem .55rem; border-radius: 16px; border: 1px solid rgba(var(--stb-c),.55); color: #fff;
  background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.14), rgba(255,255,255,0) 55%),
              linear-gradient(180deg, rgba(var(--stb-c),.34) 0%, rgba(var(--stb-c),.12) 100%), #16171b;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -10px 16px rgba(0,0,0,.35), 0 8px 14px rgba(0,0,0,.45), 0 1px 2px rgba(0,0,0,.6);
  cursor: pointer; transition: transform .12s, box-shadow .15s; text-align: left; line-height: 1.2; }
.stb-card:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.34), inset 0 -12px 18px rgba(0,0,0,.4), 0 14px 22px rgba(0,0,0,.55), 0 2px 4px rgba(0,0,0,.6); }
.stb-card:active { transform: translateY(0); box-shadow: inset 0 2px 6px rgba(0,0,0,.5), 0 2px 4px rgba(0,0,0,.5); }
.stb-card:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.stb-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem; }
.stb-strip { display: flex; gap: 2px; margin-top: auto; }
.stb-strip i { flex: 1 1 0; height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); box-shadow: inset 0 1px 1px rgba(0,0,0,.45); }
.stb-strip i.b { background: #f59e0b; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 4px rgba(245,158,11,.5); }
.stb-strip i.r { background: #6c8cff; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 4px rgba(108,140,255,.5); }
.stb-strip i.m { background: #f8fafc; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 0 4px rgba(255,255,255,.5); }
.stb-strip i.t { background: #7b7b84; }
.stb-dates { font-size: .6rem; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stb-num { font-weight: 800; font-size: 1.1rem; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.stb-who { font-size: .72rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .85; }
.stb-badge { font-size: .6rem; font-weight: 700; opacity: .85; }
.stb-card.stb-available { --stb-c: 52,211,153; color: #d1fae5; }
.stb-card.stb-booked { --stb-c: 245,158,11; color: #fef3c7; }
.stb-card.stb-reserve { --stb-c: 108,140,255; color: #e0e7ff; }
.stb-status-btn { border: 1px solid var(--zs-border, #2a2a30); color: var(--zs-text-dim, #9a9aa3); }
.stb-group .btn-check:checked + .stb-available, .stb-status-group .btn-check:checked + .stb-available { background: rgba(52,211,153,.25); border-color: #34d399; color: #fff; }
.stb-status-group .btn-check:checked + .stb-booked { background: rgba(245,158,11,.3); border-color: #f59e0b; color: #fff; }
.stb-status-group .btn-check:checked + .stb-reserve { background: rgba(108,140,255,.3); border-color: #6c8cff; color: #fff; }
@media (max-width: 575.98px) { .stb-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: .55rem; } .stb-search { max-width: 100%; width: 100%; } }

.event-tabs .nav-link { white-space: nowrap; }
.stb-card.stb-taken { --stb-c: 154,154,163; color: rgba(210,210,218,.75); cursor: not-allowed; }
.stb-card.stb-taken .stb-strip i.b { background: #7b7b84; box-shadow: none; }
.stb-strip i.mine { outline: 1px solid #fff; outline-offset: 0; }
.stb-strip i.b.mine { background: #fde68a; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 0 6px rgba(253,230,138,.85); }
.stb-strip i.r.mine { background: #c7d2fe; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 0 6px rgba(199,210,254,.85); }
.stb-badge-me { padding: 0 .45rem; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(255,255,255,.16); opacity: 1; white-space: nowrap; }
.stb-card.stb-taken:hover { transform: none; }
.stb-card.stb-off { opacity: .55; }
.stb-card.stb-mine { outline: 2px solid rgba(255,255,255,.75); outline-offset: 0; }
.stb-chip.stb-taken .stb-dot { background: #6b6b73; }
.stb-summary { margin-top: .5rem; padding: .8rem 1rem; border: 1px solid var(--zs-border, #2a2a30); border-radius: 12px; background: rgba(255,255,255,.03); }
.stb-summary-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; padding: .15rem 0; }
.stb-summary-type { font-size: .85rem; font-weight: 600; color: var(--zs-yellow); margin-top: .4rem; }
.stb-summary-item { padding-left: .9rem; }
.stb-summary-row.fw-bold { border-top: 1px solid var(--zs-border, #2a2a30); margin-top: .3rem; padding-top: .4rem; }

.stb-refresh { padding-left: .55rem; padding-right: .55rem; }
.stb-refresh.stb-spin .bi { display: inline-block; animation: stbSpin .8s linear infinite; }
@keyframes stbSpin { to { transform: rotate(360deg); } }

.reg-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; margin-bottom: .6rem; }
.reg-search { width: 14rem; }
.reg-summary { font-size: .8rem; color: var(--zs-text-dim, #9a9aa3); }
.reg-day { margin-bottom: 1.1rem; }
.reg-day-head { display: flex; align-items: baseline; gap: .75rem; margin-bottom: .5rem; padding-bottom: .25rem; border-bottom: 1px solid var(--zs-border, #2a2a30); }
.reg-day-title { font-weight: 700; color: var(--zs-red-light); }
.reg-day-count { font-size: .75rem; color: var(--zs-text-dim, #9a9aa3); }
.reg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .8rem; }
.reg-card { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: .8rem .9rem .7rem; border-radius: 18px; cursor: pointer; color: #fff;
  background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.16), rgba(255,255,255,0) 55%), linear-gradient(180deg, #2b2d36 0%, #1a1b21 100%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -14px 22px rgba(0,0,0,.4), 0 10px 20px rgba(0,0,0,.5), 0 2px 4px rgba(0,0,0,.6);
  transition: transform .12s, box-shadow .15s; }
.reg-card:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -14px 22px rgba(0,0,0,.4), 0 16px 26px rgba(0,0,0,.55), 0 2px 4px rgba(0,0,0,.6); }
.reg-card:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.reg-card.is-closed { background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.08), rgba(255,255,255,0) 55%), linear-gradient(180deg, #24252b 0%, #17181c 100%); }
.reg-card-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.reg-code { font-weight: 700; font-size: .8rem; letter-spacing: .04em; padding: .1rem .5rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); }
.reg-flags { display: inline-flex; gap: .3rem; flex-wrap: wrap; }
.reg-badge { display: inline-flex; align-items: center; font-size: .66rem; font-weight: 600; padding: .1rem .45rem; border-radius: 999px; border: 1px solid; }
.reg-pub { color: #86efac; border-color: rgba(52,211,153,.5); background: rgba(52,211,153,.12); }
.reg-draft { color: #cbd5e1; border-color: rgba(203,213,225,.35); background: rgba(203,213,225,.08); }
.reg-open { color: #93c5fd; border-color: rgba(96,165,250,.5); background: rgba(96,165,250,.12); }
.reg-closed { color: #fca5a5; border-color: rgba(248,113,113,.5); background: rgba(248,113,113,.12); }
.reg-late { margin-left: .35rem; color: #fde68a; border-color: rgba(245,158,11,.55); background: rgba(245,158,11,.15); }
.reg-name { font-weight: 700; font-size: 1rem; line-height: 1.2; }
.reg-cat { font-size: .74rem; color: var(--zs-text-dim, #9a9aa3); min-height: 1em; }
.reg-stats { display: flex; gap: 1.1rem; margin-top: .2rem; }
.reg-stat { display: inline-flex; align-items: baseline; gap: .3rem; font-size: .78rem; color: var(--zs-text-dim, #9a9aa3); }
.reg-stat .bi { color: #fff; opacity: .8; }
.reg-stat b { color: #fff; font-size: 1.05rem; }
.reg-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .25rem; padding-top: .5rem; border-top: 1px solid rgba(255,255,255,.08); }
.reg-price { display: flex; flex-direction: column; line-height: 1.1; }
.reg-price-label { font-size: .64rem; color: var(--zs-text-dim, #9a9aa3); text-transform: uppercase; letter-spacing: .05em; }
.reg-acts { display: inline-flex; gap: .35rem; }
.reg-detail-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.reg-detail-title { min-width: 0; }
.reg-detail-info { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .82rem; margin-bottom: .35rem; }
.reg-new { margin-top: .5rem; padding: .6rem; border: 1px dashed var(--zs-border, #2a2a30); border-radius: 10px; }
.reg-locked { opacity: .45; }
.reg-table-wrap { max-width: 100%; }
@media (max-width: 575.98px) { .reg-grid { grid-template-columns: 1fr; } .reg-search { width: 100%; } }
.reg-dash { margin-bottom: 1rem; }
.reg-dash-row { display: flex; flex-wrap: nowrap; gap: .6rem; overflow-x: auto; padding-bottom: 2px; }
.reg-dash-card { flex: 1 1 0; min-width: 9.5rem; }
.reg-dash-card.is-fit { flex: 0 0 auto; min-width: 0; }
.reg-dash-card.is-fit .reg-dash-sub { overflow: visible; text-overflow: clip; }
.reg-dash-card { display: flex; align-items: center; justify-content: center; padding: .6rem .8rem; border-radius: 14px; text-align: center; }
.reg-dash-text { display: flex; flex-direction: column; align-items: center; line-height: 1.15; min-width: 0; max-width: 100%; }
.reg-dash-text b { font-size: 1.15rem; white-space: nowrap; }
.reg-dash-label { font-size: .72rem; font-weight: 600; }
.reg-dash-sub { font-size: .66rem; color: var(--zs-text-dim, #9a9aa3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reg-dash-stamp { margin-left: auto; font-size: .72rem; color: var(--zs-text-dim, #9a9aa3); text-align: right; }
.reg-cancelled td { text-decoration: line-through; opacity: .6; }
.reg-cancelled td:last-child { text-decoration: none; opacity: 1; }

.zs-sched-days { max-width: 12rem; }
.zs-sched-days .btn { width: 2.6rem; font-size: 1.1rem; line-height: 1; }
.zs-sched-days input { -moz-appearance: textfield; }
.zs-sched-days input::-webkit-outer-spin-button, .zs-sched-days input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.stb-bk-list { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .6rem; }
.stb-bk-row { display: flex; align-items: center; gap: .5rem; padding: .4rem .6rem; border: 1px solid var(--zs-border, #2a2a30); border-radius: 10px; background: rgba(255,255,255,.03); font-size: .82rem; }
.stb-bk-row .stb-bk-main { flex: 1 1 auto; min-width: 0; }
.stb-bk-row .stb-bk-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stb-bk-row .stb-bk-when { font-size: .72rem; opacity: .7; }
.stb-bk-pill { font-size: .62rem; font-weight: 700; padding: .1rem .45rem; border-radius: 999px; }
.stb-bk-pill.b { background: rgba(245,158,11,.25); color: #fde68a; }
.stb-bk-pill.r { background: rgba(108,140,255,.25); color: #c7d2fe; }
.stb-newstable { margin-top: .6rem; padding: .7rem; border: 1px dashed rgba(255,255,255,.22); border-radius: 10px; background: rgba(0,0,0,.22); }
.stb-bk-editor { border: 1px dashed var(--zs-border, #3a3a42); border-radius: 10px; padding: .7rem; margin-bottom: .6rem; }

.reg-otp-box { width: 3.2rem; height: 3.6rem; text-align: center; font-size: 1.6rem; font-weight: 700; padding: 0; border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); box-shadow: inset 0 2px 5px rgba(0,0,0,.45); }

#soDayTabs { gap: .25rem; margin-bottom: .75rem !important; flex-wrap: wrap !important; overflow: visible !important; align-items: center; }
.so-day-info { margin-left: auto; font-size: .8rem; color: var(--zs-text-dim, #9a9aa3); white-space: nowrap; list-style: none; }
@media (max-width: 575.98px) { .so-day-info { flex: 0 0 100%; margin: .35rem 0 0; white-space: normal; text-align: left; } }
#soDayTabs .nav-link { padding: .2rem .85rem; font-size: .8rem; line-height: 1.4; border-radius: 8px; }
.so-class-cards { display: flex; flex-wrap: wrap; gap: .4rem; }
.so-class-card { flex: 0 0 auto; white-space: nowrap; min-width: var(--so-w, 0); font-size: .72rem; font-weight: 600; line-height: 1.2; padding: .4rem .6rem; border-radius: 10px; cursor: pointer; text-align: center;
  color: var(--zs-text-dim, #b4b4bd); border: 1px solid rgba(255,255,255,.1);
  background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.12), rgba(255,255,255,0) 55%), linear-gradient(180deg, #2b2d36 0%, #1a1b21 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -6px 10px rgba(0,0,0,.35), 0 4px 8px rgba(0,0,0,.45);
  transition: transform .1s, box-shadow .15s, border-color .15s; }
.so-prizes { display: flex; flex-wrap: wrap; gap: .35rem; }
.so-prize { display: inline-flex; align-items: center; gap: .35rem; padding: .18rem .6rem; font-size: .72rem; font-weight: 600; line-height: 1.3; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #e9e9ee; white-space: nowrap; }
.so-prize-main { border-color: rgba(255,193,7,.65); background: rgba(255,193,7,.12); color: #ffd666; }
.so-class-card:hover { color: #fff; transform: translateY(-1px); }
/* Baris "Terakhir diacak" di kartu kelas */
.so-shuffled { color: #7eb6ff; font-weight: 600; }
/* Kelas yang urutan startnya sudah diacak (walau pendaftaran masih dibuka): biru royal */
.so-class-card.shuf { color: #fff; border-color: rgba(125,170,255,.6); background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.28), rgba(255,255,255,0) 55%), linear-gradient(180deg, #2f6bdc 0%, #183a8c 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -6px 10px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.45); }
.so-class-card.shuf:hover { color: #fff; border-color: rgba(190,215,255,.9); }
.so-class-card.shuf.active { color: #fff; }
.so-class-card.active { color: #ffc107; border-color: #ffc107; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -6px 10px rgba(0,0,0,.35), 0 0 0 1px rgba(255,193,7,.35), 0 4px 10px rgba(255,193,7,.18); }
.so-class-card:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.so-class-card.active { animation: soCardBlink 1.4s ease-in-out infinite; }
@keyframes soCardBlink {
  0%, 100% { border-color: #ffc107; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -6px 10px rgba(0,0,0,.35), 0 0 0 1px rgba(255,193,7,.55), 0 4px 12px rgba(255,193,7,.35); }
  50%      { border-color: rgba(255,193,7,.25); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -6px 10px rgba(0,0,0,.35), 0 0 0 1px rgba(255,193,7,.1), 0 4px 8px rgba(0,0,0,.45); }
}
@media (prefers-reduced-motion: reduce) { .so-class-card.active { animation: none; } }

.so-notice { display: flex; align-items: flex-start; gap: .5rem; padding: .5rem; border-radius: 8px;
  border-left: 3px solid #0dcaf0; background: rgba(13, 202, 240, .08); }
.so-notice-icon { color: #0dcaf0; font-size: .85rem; line-height: 1.5; flex-shrink: 0; }
.so-notice ul { font-size: .78rem; line-height: 1.45; }

.btn-glow { animation: zsBtnGlow 1.4s ease-in-out infinite; }
@keyframes zsBtnGlow {
  0%, 100% { border-color: #7dd3fc; box-shadow: 0 0 0 1px rgba(125,211,252,.6), 0 0 10px rgba(14,165,233,.75); }
  50%      { border-color: rgba(14,165,233,.25); box-shadow: 0 0 0 1px rgba(14,165,233,.08), 0 0 0 rgba(14,165,233,0); }
}
.btn-blink { animation: zsBtnBlink 1.3s ease-in-out infinite; }
@keyframes zsBtnBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px rgba(14,165,233,.8); }
  50%      { opacity: .55; box-shadow: 0 0 0 rgba(14,165,233,0); }
}
.btn-glow-amber { animation: zsBtnGlowAmber 1.4s ease-in-out infinite; }
@keyframes zsBtnGlowAmber {
  0%, 100% { border-color: #ffc107; box-shadow: 0 0 0 1px rgba(255,193,7,.6), 0 0 10px rgba(255,193,7,.7); }
  50%      { border-color: rgba(166,124,0,.35); box-shadow: 0 0 0 1px rgba(255,193,7,.08), 0 0 0 rgba(255,193,7,0); }
}
.btn-glow-grey { animation: zsBtnGlowGrey 1.4s ease-in-out infinite; }
@keyframes zsBtnGlowGrey {
  0%, 100% { border-color: #b4b4bd; box-shadow: 0 0 0 1px rgba(180,180,189,.55), 0 0 10px rgba(180,180,189,.5); }
  50%      { border-color: rgba(120,120,128,.35); box-shadow: 0 0 0 1px rgba(180,180,189,.06), 0 0 0 rgba(180,180,189,0); }
}
.btn-glow-red { animation: zsBtnGlowRed 1.4s ease-in-out infinite; }
@keyframes zsBtnGlowRed {
  0%, 100% { opacity: 1; border-color: #ef5c4e; box-shadow: 0 0 0 1px rgba(239,92,78,.65), 0 0 12px rgba(210,53,43,.85); }
  50%      { opacity: .55; border-color: rgba(122,19,15,.5); box-shadow: 0 0 0 1px rgba(210,53,43,.08), 0 0 0 rgba(210,53,43,0); }
}
.btn-glow:disabled, .btn-blink:disabled, .btn-glow-amber:disabled, .btn-glow-grey:disabled, .btn-glow-red:disabled { animation: none; }
@media (prefers-reduced-motion: reduce) { .btn-glow, .btn-blink, .btn-glow-amber, .btn-glow-grey, .btn-glow-red { animation: none; } }

.modal-convex, .card-convex {
  color: #fff;
  background: radial-gradient(120% 70% at 50% -10%, rgba(255,255,255,.14), rgba(255,255,255,0) 55%), linear-gradient(180deg, #2b2d36 0%, #1a1b21 100%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -16px 26px rgba(0,0,0,.4), 0 14px 28px rgba(0,0,0,.55), 0 2px 4px rgba(0,0,0,.6);
}
.modal-convex .modal-header, .modal-convex .modal-footer { border-color: rgba(255,255,255,.1); }
.g-glow { width: fit-content; border-radius: 4px; }
.login-box { max-width: calc(28rem + 2px); }
.modal-dialog-login { --bs-modal-width: calc(27rem + 2px); }
.modal-convex .login-divider::before, .modal-convex .login-divider::after, .card-convex .login-divider::before, .card-convex .login-divider::after { border-top-color: rgba(255,255,255,.22); }
.modal-title-yellow { color: var(--zs-yellow); }

.cert-class { margin-bottom: 1rem; }
.cert-class .table { --bs-table-bg: transparent; --bs-table-border-color: rgba(255,255,255,.14); margin-bottom: 0; }
.cert-class-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; }
.cert-rank { font-weight: 700; white-space: nowrap; }
.cert-rank.r1 { color: #ffc107; }
.cert-rank.r2 { color: #c0c4cc; }
.cert-rank.r3 { color: #cd7f32; }
.cert-rank.ru { color: #ef5c4e; }
.cert-rank.cr { color: #4ade80; }

.rd-search { max-width: 22rem; flex: 1 1 12rem; }
.rd-filter { max-width: 16rem; flex: 0 1 14rem; }
.rd-table thead th { position: sticky; top: 0; z-index: 1; background: var(--zs-bg-elevated); }
.rd-col-yob { width: 9rem; }
.rd-col-entry { width: 5.5rem; }
.rd-col-act { width: 7.5rem; }
.cert-rules { list-style: none; padding-left: 0; margin: 0 0 .75rem; font-size: .85rem; }
.cert-rule { display: flex; align-items: flex-start; padding: .15rem 0; }
.cert-bg-preview { display: block; max-width: 100%; max-height: 11rem; object-fit: contain; border-radius: 6px; border: 1px solid rgba(255,255,255,.15); background: #fff; }
.cert-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .78rem; letter-spacing: .04em; white-space: nowrap; }
.cert-tpl-select { max-width: 18rem; flex: 0 1 16rem; }
.cd-left { max-height: 72vh; overflow-y: auto; padding: .25rem .5rem .9rem .25rem; }
.cd-sticky { position: sticky; top: 0; }
.cd-sec {
  color: #fff;
  background: radial-gradient(120% 90% at 50% -20%, rgba(255,255,255,.12), rgba(255,255,255,0) 60%), linear-gradient(180deg, #2b2d36 0%, #1a1b21 100%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  margin-bottom: .65rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -10px 18px rgba(0,0,0,.4), 0 6px 12px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.6);
}
.cd-sec > summary { cursor: pointer; padding: .5rem .75rem; font-weight: 600; font-size: .9rem; }
.cd-sec-body { padding: .1rem .75rem .75rem; }
.cd-preview { border: 1px solid rgba(255,255,255,.15); border-radius: 8px; overflow: hidden; background: #111; min-height: 8rem; width: 90%; }
.cd-canvas { display: block; width: 100%; height: auto; }
.cd-preview-msg { padding: 1.5rem 1rem; text-align: center; }
.cd-sample { max-width: 15rem; }
.modal-dialog.cd-wide { --bs-modal-width: min(1500px, 96vw); }
.pz-sec { margin-bottom: 1.4rem; }
.pz-defs { display: flex; flex-wrap: wrap; gap: .5rem; min-width: 0; }
.pz-def-custom { cursor: pointer; }
.pz-def-custom:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pz-del { background: transparent; border: 0; color: #ef5c4e; padding: 0 0 0 .6rem; line-height: 1; }
.pz-del:hover { color: #ff8a7d; }
.pz-def { display: inline-flex; align-items: center; padding: .45rem .8rem; border: 1px solid var(--zs-border, #2a2a30); border-radius: 10px; cursor: pointer; background: rgba(255,255,255,.03); user-select: none; }
.pz-def.on { border-color: rgba(255,193,7,.6); background: rgba(255,193,7,.08); }
.pz-t-gold { color: #ffc107; }
.pz-t-silver { color: #c0c4cc; }
.pz-t-bronze { color: #d98a4e; }
.pz-t-red { color: #ef5c4e; }
.pz-t-blue { color: #6c8cff; }
.pz-t-green { color: #34d399; }
.pz-t-purple { color: #c084fc; }
.pz-matrix thead th { position: sticky; top: 0; z-index: 1; background: var(--zs-bg-elevated); white-space: nowrap; font-size: .8rem; }
.pz-matrix td:first-child { min-width: 14rem; }
.pz-matrix-wrap { max-height: 28rem; overflow: auto; }
.pz-day td { background: rgba(255,255,255,.05); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--zs-text-dim, #9a9aa3); }
.pz-cash { display: flex; align-items: center; gap: .35rem; }
.pz-cash-in { width: 10rem; flex: 0 0 auto; flex-wrap: nowrap; }
.pz-cash-in .input-group-text { padding: 0 .5rem; font-size: .75rem; }
.pz-cash-in .form-control { min-width: 0; text-align: right; }
.pz-qty { width: 3.6rem; }
.pz-mode { min-width: 8.5rem; max-width: 11rem; margin-inline: auto; }
.pz-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: .75rem; padding: .1rem .2rem .5rem .1rem; }
.pz-tile {
  padding: .65rem .8rem; min-width: 0; color: #fff; border-radius: 14px; border: 1px solid rgba(255,255,255,.1);
  background: radial-gradient(120% 90% at 50% -20%, rgba(255,255,255,.12), rgba(255,255,255,0) 60%), linear-gradient(180deg, #2b2d36 0%, #1a1b21 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -10px 18px rgba(0,0,0,.4), 0 6px 12px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.6);
}
.pz-tile-main {
  border-color: rgba(255,193,7,.65);
  background: radial-gradient(120% 90% at 50% -20%, rgba(255,193,7,.22), rgba(255,193,7,0) 60%), linear-gradient(180deg, #2b2d36 0%, #1a1b21 100%);
  box-shadow: inset 0 1px 0 rgba(255,214,102,.35), inset 0 -10px 18px rgba(0,0,0,.4), 0 6px 12px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.6);
}
.pz-tile-top { display: flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--zs-text-dim, #9a9aa3); }
.pz-tile-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pz-tile-value { font-size: 1.35rem; font-weight: 800; line-height: 1.2; margin-top: .15rem; }
.pz-tile-sub { font-size: .7rem; color: var(--zs-text-dim, #9a9aa3); margin-top: .1rem; }
.pz-mains { margin-top: .6rem; padding: .5rem .75rem; border-left: 3px solid #ffc107; background: rgba(255,193,7,.07); border-radius: 6px; }
.pz-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: .75rem; }
.pz-item { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding: .35rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.pz-item:last-child { border-bottom: 0; }
.pz-item-main { min-width: 0; }
.pz-item-label { font-weight: 600; }
.pz-item-detail { font-size: .75rem; color: var(--zs-text-dim, #9a9aa3); }
.pz-item-qty { font-weight: 700; white-space: nowrap; }


.fp-body { display: flex; flex-direction: column; gap: .6rem; }
.fp-body > * { flex-shrink: 0; }
.fp-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; }
.fp-group { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.fp-group.btn-group { flex-wrap: nowrap; gap: 0; }
.fp-group.btn-group > .btn { border-radius: 0; }
.fp-group.btn-group > .btn:first-child { border-radius: 8px 0 0 8px; }
.fp-group.btn-group > .btn:last-child { border-radius: 0 8px 8px 0; }
.fp-tool.active { background: linear-gradient(180deg, #17181d, #2a2c35); border-color: rgba(255,255,255,.45); color: #fff; box-shadow: inset 0 2px 6px rgba(0,0,0,.6); }
.fp-zoom-label { min-width: 3.4rem; cursor: default; pointer-events: none; }
.fp-hint { min-height: 1.2em; }
.fp-split { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: .75rem; align-items: start; }
.fp-main { min-width: 0; display: flex; flex-direction: column; gap: .5rem; }
.fp-view { position: relative; overflow: auto; max-height: calc(100vh - 17rem); min-height: 16rem; background: #101114; border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  box-shadow: inset 0 2px 10px rgba(0,0,0,.65); }
.fp-view.fp-dragover { outline: 2px dashed #0ea5e9; outline-offset: -5px; }
.fp-stage { position: relative; margin: 0 auto; -webkit-user-select: none; user-select: none; }
.fp-img { display: block; width: 100%; height: 100%; pointer-events: none; -webkit-user-select: none; user-select: none; }
.fp-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.fp-tool-select { cursor: default; touch-action: none; }
.fp-tool-draw, .fp-tool-block { cursor: crosshair; touch-action: none; }
.fp-tool-pan { cursor: grab; touch-action: pan-x pan-y pinch-zoom; }
.fp-tool-draw .fp-g, .fp-tool-block .fp-g, .fp-tool-pan .fp-g { pointer-events: none; }
.fp-g { cursor: move; }
.fp-box { fill: rgba(14,165,233,.28); stroke: #38bdf8; stroke-width: 2px; vector-effect: non-scaling-stroke; }
.fp-g:hover .fp-box { fill: rgba(14,165,233,.4); }
.fp-g.sel .fp-box { fill: rgba(245,158,11,.38); stroke: #f59e0b; stroke-width: 3px; }
.fp-label { fill: #fff; stroke: rgba(0,0,0,.85); stroke-width: .16em; stroke-linejoin: round; paint-order: stroke fill; font-weight: 700; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; pointer-events: none; }
.fp-label-ghost { fill: #d1fae5; }
.fp-h { fill: #fff; stroke: #f59e0b; stroke-width: 2px; vector-effect: non-scaling-stroke; cursor: nwse-resize; }
.fp-h[data-h="ne"], .fp-h[data-h="sw"] { cursor: nesw-resize; }
.fp-rubber { fill: rgba(52,211,153,.14); stroke: #34d399; stroke-width: 2px; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; pointer-events: none; }
.fp-cell { fill: rgba(52,211,153,.3); stroke: #34d399; stroke-width: 1.5px; vector-effect: non-scaling-stroke; pointer-events: none; }
.fp-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 16rem; padding: 1.5rem; color: var(--zs-text-dim, #9a9aa3); }
.fp-empty-ic { font-size: 2.6rem; opacity: .6; margin-bottom: .4rem; }
.fp-selbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; padding: .45rem .7rem; border-radius: 12px; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.45); }
.fp-sel-name { font-weight: 700; color: #fde68a; }
.fp-sel-pick { width: 9rem; }
.fp-blockbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem 1rem; padding: .55rem .7rem; border-radius: 12px; background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.4); }
.fp-bfields { display: flex; flex-wrap: wrap; gap: .5rem; }
.fp-bfield { display: flex; flex-direction: column; gap: .15rem; width: 6.2rem; margin: 0; }
.fp-bfield select { width: 100%; }
.fp-binfo { flex: 1 1 12rem; color: #a7f3d0; }
.fp-bact { display: flex; gap: .4rem; margin-left: auto; }
.fp-side { display: flex; flex-direction: column; gap: .5rem; padding: .7rem; border-radius: 12px; max-height: calc(100vh - 17rem); min-height: 16rem;
  background: linear-gradient(180deg, #25272f 0%, #181a20 100%); border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -12px 18px rgba(0,0,0,.35), 0 6px 14px rgba(0,0,0,.4); }
.fp-side-head { display: flex; align-items: baseline; justify-content: space-between; }
.fp-prog { height: 6px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.fp-prog-bar { height: 100%; width: 0; background: #34d399; transition: width .2s; }
.fp-next { min-height: 1.3em; color: #fde68a; }
.fp-filters { display: flex; gap: .3rem; }
.fp-filter { flex: 1 1 0; background: transparent; color: var(--zs-text-dim, #9a9aa3); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: .1rem .4rem; font-size: .75rem; }
.fp-filter.active { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); }
.fp-list { flex: 1 1 auto; min-height: 5rem; overflow: auto; }
.fp-grp-head { display: flex; align-items: baseline; justify-content: space-between; margin: .55rem 0 .3rem; padding-bottom: .15rem; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .75rem; color: var(--zs-text-dim, #9a9aa3); }
.fp-grp-name { font-weight: 700; color: #fff; }
.fp-chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.fp-stall { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .55rem; font-size: .78rem; border-radius: 999px; background: rgba(255,255,255,.04); color: var(--zs-text-dim, #9a9aa3); border: 1px solid rgba(255,255,255,.18); }
.fp-stall-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #6b7280; }
.fp-stall.placed { color: #d1fae5; border-color: rgba(52,211,153,.5); }
.fp-stall.placed .fp-stall-dot { background: #34d399; }
.fp-stall.next { color: #fff; outline: 2px solid #f59e0b; outline-offset: 1px; }
.fp-stall.sel { color: #fff; background: rgba(245,158,11,.25); border-color: #f59e0b; }
.fp-footer { align-items: center; }
.fp-status-wrap { display: flex; align-items: center; gap: .5rem; margin-right: auto; min-width: 0; }
.fp-status.fp-dirty { color: #fde68a !important; }
@media (max-width: 991.98px) {
  .fp-split { grid-template-columns: minmax(0, 1fr); }
  .fp-view { max-height: 60vh; }
  .fp-side { max-height: 18rem; min-height: 0; }
}

.stb-viewgroup { flex-wrap: nowrap; }
.stb-viewgroup > .btn { border-radius: 0; }
.stb-viewgroup > .btn:first-child { border-radius: 8px 0 0 8px; }
.stb-viewgroup > .btn:last-child { border-radius: 0 8px 8px 0; }
.stb-viewbtn.active { background: linear-gradient(180deg, #17181d, #2a2c35); border-color: rgba(255,255,255,.45); color: #fff; box-shadow: inset 0 2px 6px rgba(0,0,0,.6); }
.fpv-barwrap { position: sticky; top: var(--fpv-sticky-top, 0px); z-index: 4; margin-bottom: .6rem; padding: .55rem .7rem; border-radius: 12px;
  background: linear-gradient(180deg, #25272f 0%, #181a20 100%); border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -10px 16px rgba(0,0,0,.35), 0 6px 14px rgba(0,0,0,.4); }
.fpv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .7rem; }
.fpv-chip { display: inline-flex; align-items: center; background: transparent; color: var(--zs-text-dim, #9a9aa3); border: 1px solid var(--zs-border-bright, #45454e); border-radius: 999px; padding: .2rem .8rem; font-size: .8rem; }
.fpv-chip.active { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }
.fpv-all { flex: 0 0 auto; }
.fpv-step { flex: 0 0 auto; }
.fpv-slider { flex: 1 1 16rem; min-width: 13rem; }
.fpv-range { width: 100%; accent-color: #0ea5e9; margin: 0; }
.fpv-range.fpv-idle { opacity: .55; }
.fpv-ticks { display: flex; justify-content: space-between; padding: 0 8px; font-size: .68rem; line-height: 1.2; color: var(--zs-text-dim, #9a9aa3); }
.fpv-tick.ev { color: #fff; font-weight: 700; }
.fpv-tick.today { color: #fde68a; text-decoration: underline; }
.fpv-zoom { flex: 0 0 auto; flex-wrap: nowrap; margin-left: auto; }
.fpv-zoom > .btn { border-radius: 0; }
.fpv-zoom > .btn:first-child { border-radius: 8px 0 0 8px; }
.fpv-zoom > .btn:last-child { border-radius: 0 8px 8px 0; }
.fpv-zoom-label { min-width: 3.4rem; cursor: default; pointer-events: none; }
.fpv-date { margin-top: .4rem; font-size: .85rem; font-weight: 600; color: #fde68a; }
.fpv-view { position: relative; overflow: auto; background: #101114; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; box-shadow: inset 0 2px 10px rgba(0,0,0,.65); min-height: 12rem; }
.fpv-stage { position: relative; margin: 0 auto; }
.fpv-img { display: block; width: 100%; height: 100%; pointer-events: none; -webkit-user-select: none; user-select: none; }
.fpv-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.fpv-g { cursor: pointer; outline: none; }
.fpv-box { fill-opacity: .5; stroke-width: 2.5px; vector-effect: non-scaling-stroke; transition: fill-opacity .12s; }
.fpv-g.s-available .fpv-box { fill: rgb(52,211,153); stroke: #34d399; }
.fpv-g.s-booked .fpv-box { fill: rgb(245,158,11); stroke: #f59e0b; }
.fpv-g.s-taken .fpv-box { fill: rgb(51,53,62); stroke: #0f1013; fill-opacity: .82; }
.fpv-g.s-mine .fpv-box { fill: rgb(108,140,255); stroke: #fff; fill-opacity: .72; stroke-width: 3.5px; }
.fpv-g.s-unknown .fpv-box { fill: #9a9aa3; stroke: #6b7280; }
.fpv-g.s-unknown { cursor: default; }
.fpv-g.dim { opacity: .2; }
.fpv-g:hover .fpv-box, .fpv-g:focus-visible .fpv-box { fill-opacity: .72; stroke: #fff; stroke-width: 3.5px; }
.fpv-label, .fpv-who { fill: #fff; stroke: rgba(0,0,0,.85); stroke-width: .16em; stroke-linejoin: round; paint-order: stroke fill; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; pointer-events: none; }
.fpv-label { font-weight: 700; }
.fpv-who { font-weight: 600; }
.fpv-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 14rem; padding: 1.5rem; color: var(--zs-text-dim, #9a9aa3); }
.fpv-empty-ic { font-size: 2.6rem; opacity: .6; margin-bottom: .4rem; }
.fpv-note { margin-top: .5rem; }
@media (max-width: 575.98px) {
  .fpv-zoom { margin-left: 0; }
}

.stb-print-menu { min-width: 18rem; padding: .35rem; border-radius: 12px; background: linear-gradient(180deg, #2b2d36 0%, #1a1b21 100%); border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 14px 28px rgba(0,0,0,.55); }
.stb-print-item { display: flex; align-items: center; gap: .7rem; padding: .5rem .7rem; border-radius: 8px; white-space: normal; }
.stb-print-item > .bi { font-size: 1.15rem; opacity: .85; }
.stb-pi-title { display: block; font-weight: 600; }
.stb-pi-desc { display: block; color: var(--zs-text-dim, #9a9aa3); font-size: .75rem; }

.reg-dash-card, .convex-cards > .card, .convex-card {
  color: #fff;
  background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.16), rgba(255,255,255,0) 55%), linear-gradient(180deg, #2b2d36 0%, #1a1b21 100%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -8px 14px rgba(0,0,0,.4), 0 6px 12px rgba(0,0,0,.45), 0 1px 3px rgba(0,0,0,.6);
}
.convex-card { border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -16px 26px rgba(0,0,0,.4), 0 12px 24px rgba(0,0,0,.5), 0 2px 4px rgba(0,0,0,.6); }
.convex-card .list-group-item { background: rgba(0,0,0,.28); border-color: rgba(255,255,255,.08); color: #fff; }
.convex-card .list-group-item.text-body-secondary { color: var(--zs-text-dim, #9a9aa3) !important; }
.convex-card .table { --bs-table-bg: rgba(0,0,0,.28); --bs-table-border-color: rgba(255,255,255,.08); }
.stb-card.stb-adm.stb-taken { --stb-c: 112,116,132; color: #e5e7eb; cursor: pointer; }
.stb-card.stb-adm.stb-taken:hover { transform: translateY(-3px); }
.stb-card.stb-adm.stb-taken .stb-strip i.b { background: #f59e0b; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 4px rgba(245,158,11,.5); }
.fpv-legend { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-bottom: .5rem; font-size: .8rem; color: var(--zs-text-dim, #9a9aa3); }
.fpv-lg { display: inline-flex; align-items: center; gap: .4rem; }
.fpv-lg b { color: #fff; }
.fpv-lg-dot { width: .7rem; height: .7rem; border-radius: 3px; display: inline-block; border: 2px solid transparent; }
.fpv-lg.s-available .fpv-lg-dot { background: rgba(52,211,153,.6); border-color: #34d399; }
.fpv-lg.s-booked .fpv-lg-dot { background: rgba(245,158,11,.6); border-color: #f59e0b; }
.fpv-lg.s-taken .fpv-lg-dot { background: rgb(51,53,62); border-color: #0f1013; }
.fpv-lg.s-mine .fpv-lg-dot { background: rgba(108,140,255,.8); border-color: #fff; }
@media (max-width: 767.98px), (pointer: coarse) {
  .fpv-box { stroke-width: 1px; }
  .fpv-g:hover .fpv-box, .fpv-g:focus-visible .fpv-box { stroke-width: 1.6px; }
  .fpv-g.s-mine .fpv-box { stroke-width: 1.6px; }
}
.photo-lightbox-track { touch-action: pan-x; }
.photo-lightbox-track.is-zoomed { touch-action: none; overflow-x: hidden; scroll-snap-type: none; cursor: grab; }
.photo-lightbox-img { -webkit-user-drag: none; user-select: none; will-change: transform; transform-origin: center center; }
.photo-lightbox-zoom { position: absolute; top: .75rem; left: .75rem; z-index: 3; display: flex; align-items: center; gap: .35rem; padding: .25rem .4rem; border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.2); }
.photo-lightbox-zoom-btn { width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 1.05rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.photo-lightbox-zoom-btn:hover, .photo-lightbox-zoom-btn:focus-visible { background: rgba(255,255,255,.18); }
.photo-lightbox-zoom-label { min-width: 2.8rem; text-align: center; color: #fff; font-size: .78rem; font-weight: 600; }
.btn-convex { color: #fff; background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.18), rgba(255,255,255,0) 55%), linear-gradient(180deg, #2b2d36 0%, #1a1b21 100%); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -6px 10px rgba(0,0,0,.4), 0 4px 8px rgba(0,0,0,.45); }
.btn-convex:hover, .btn-convex:focus { color: #fff; border-color: rgba(255,255,255,.28); background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.26), rgba(255,255,255,0) 55%), linear-gradient(180deg, #343642 0%, #20212a 100%); }
.btn-convex:active { box-shadow: inset 0 2px 6px rgba(0,0,0,.55); transform: translateY(1px); }
.ls-wrap { max-width: 1920px; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.ls-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.ls-chips { display: flex; gap: .5rem; align-items: center; padding: .25rem .1rem .5rem; flex: 1 1 auto; min-width: 0; }
.ls-selbox { position: relative; flex: 1 1 auto; min-width: 0; max-width: 34rem; }
.ls-selhead { position: relative; border-radius: 999px; overflow: hidden; }
.ls-select { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .55rem 1rem; border-radius: 999px; color: #fff; font-size: .9rem; font-weight: 600; cursor: pointer; text-align: left; background: linear-gradient(180deg, #25262e 0%, #17181d 100%); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 3px 6px rgba(0,0,0,.4); }
.ls-select-t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: .5rem; }
.ls-select-t b { color: #fff; font-weight: 700; }
.ls-select-c { flex: 0 0 auto; color: #d9dbe3; font-size: .8rem; }
.ls-select:disabled { cursor: default; opacity: .85; }
.ls-select:disabled .ls-select-c { display: none; }
.ls-dd-list { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% - .45rem); width: auto; max-width: 46rem; max-height: min(60vh, 26rem); overflow-y: auto; padding: .5rem; display: grid; gap: .45rem; border-radius: 18px; background: #0e0e10; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 14px 32px rgba(0,0,0,.65); -webkit-overflow-scrolling: touch; }
.ls-dd-list[hidden] { display: none; }
.ls-dd-item { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .65rem .9rem; border-radius: 14px; color: #d9dbe3; font-size: .88rem; text-align: left; cursor: pointer; background: linear-gradient(180deg, #2a2b33 0%, #17181d 100%); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 3px 6px rgba(0,0,0,.45); }
.ls-dd-item b { color: #fff; font-weight: 700; flex: 0 0 auto; }
.ls-dd-item .ls-dd-name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; line-height: 1.25; }
.ls-dd-item small { flex: 0 0 auto; color: #9a9aa3; font-weight: 700; letter-spacing: .04em; }
.ls-dd-item.fin { color: #ecfeff; border-color: rgba(34,211,238,.85); background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.28), rgba(255,255,255,0) 55%), linear-gradient(180deg, #0e7490 0%, #134e5e 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 10px rgba(34,211,238,.28), 0 3px 6px rgba(0,0,0,.45); }
.ls-dd-item.fin b { color: #fff; }
.ls-dd-item.fin small { color: #042f3a; background: #67e8f9; border-radius: 999px; padding: .12rem .55rem; letter-spacing: .06em; font-weight: 800; }
.ls-dd-item.fin small::before { content: "\2713\00a0"; }
.ls-dd-item.fin .ls-dot { background: #67e8f9; box-shadow: 0 0 6px rgba(103,232,249,.8); }
.ls-dd-item.fin.on { background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.28), rgba(255,255,255,0) 55%), linear-gradient(180deg, #0e7490 0%, #134e5e 100%); border-color: #f87171; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 2px rgba(248,113,113,.7), 0 3px 6px rgba(0,0,0,.45); }
.ls-dd-item:active { background: linear-gradient(0deg, #2a2b33 0%, #17181d 100%); box-shadow: inset 0 2px 5px rgba(0,0,0,.6); }
.ls-dd-item.on { color: #fff; border-color: rgba(220,53,69,.8); background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.18), rgba(255,255,255,0) 55%), linear-gradient(180deg, #7a1f2a 0%, #4a1219 100%); }
.ls-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px; color: #d9dbe3; cursor: pointer; font-size: .85rem; white-space: nowrap; background: linear-gradient(180deg, #25262e 0%, #17181d 100%); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 3px 6px rgba(0,0,0,.4); }
.ls-chip b { font-weight: 700; color: #fff; }
.ls-chip.on { color: #fff; border-color: rgba(220,53,69,.8); background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.18), rgba(255,255,255,0) 55%), linear-gradient(180deg, #7a1f2a 0%, #4a1219 100%); }
.ls-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #5b5d68; flex: 0 0 auto; }
.ls-dot.live { background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: ls-pulse 1.6s infinite; }
.ls-dot.done { background: #6b7280; }
.ls-conn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; padding: .35rem .7rem; border-radius: 999px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.12); color: #22c55e; }
.ls-conn-dot { width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; animation: ls-pulse 1.6s infinite; }
.ls-conn[data-state="retry"] { color: #f59e0b; }
.ls-conn[data-state="off"] { color: #ef4444; }
.ls-conn[data-state="demo"] { color: #38bdf8; }

.ls-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: start; }
.ls-now, .ls-rank { padding: 0; overflow: hidden; }
.ls-pad { padding: 1rem; }

.ls-who { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.ls-cat { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #6f6f78; font-weight: 700; margin-bottom: .1rem; }
.ls-order { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #9a9aa3; font-weight: 700; }
.ls-rider { font-size: 1.35rem; font-weight: 800; line-height: 1.15; margin: .15rem 0 0; }
.ls-horse { color: #c9cbd4; font-size: .95rem; margin-top: .1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-horse small { color: #8e909b; }
.ls-state { flex: 0 0 auto; font-size: .7rem; font-weight: 800; letter-spacing: .1em; padding: .3rem .6rem; border-radius: 999px; background: rgba(34,197,94,.15); color: #22c55e; border: 1px solid rgba(34,197,94,.5); }
.ls-state.idle { background: rgba(148,163,184,.12); color: #cbd5e1; border-color: rgba(148,163,184,.4); }
.ls-state.fin { background: #67e8f9; color: #042f3a; border-color: #a5f3fc; box-shadow: 0 0 10px rgba(34,211,238,.55); }
.card.ls-now.fin { border-color: rgba(34,211,238,.75); box-shadow: 0 0 0 1px rgba(34,211,238,.35), 0 0 18px rgba(34,211,238,.22), 0 6px 14px rgba(0,0,0,.5); background: radial-gradient(120% 60% at 50% -15%, rgba(34,211,238,.22), rgba(34,211,238,0) 60%), linear-gradient(180deg, #0a3f52 0%, #062a38 100%); }
/* teks di kartu FINAL: terang supaya terbaca di latar teal gelap */
.card.ls-now.fin .ls-cat { color: #a5f3fc; }
.card.ls-now.fin .ls-order { color: #cffafe; }
.card.ls-now.fin .ls-sub { color: #e0f7fb; }
.card.ls-now.fin .ls-pod small { color: #cbeaf0; }
.card.ls-now.fin .ls-vlink { color: #7dd3fc; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.card.ls-now.fin .ls-pod { background: rgba(2,18,26,.45); border-color: rgba(165,243,252,.18); }
.card.ls-now.fin .ls-pod.p1 { background: linear-gradient(180deg, rgba(212,160,23,.34), rgba(2,18,26,.5)); border-color: rgba(250,204,21,.55); }
.card.ls-now.fin .ls-pod.p2 { background: linear-gradient(180deg, rgba(203,213,225,.26), rgba(2,18,26,.5)); }
.card.ls-now.fin .ls-pod.p3 { background: linear-gradient(180deg, rgba(194,100,30,.32), rgba(2,18,26,.5)); }
.ls-state.el { background: rgba(239,68,68,.15); color: #f87171; border-color: rgba(239,68,68,.6); }

.ls-meters { display: grid; grid-template-columns: 1.25fr 1fr; gap: .75rem; margin-top: .9rem; }
.ls-meter { border-radius: 14px; padding: .65rem .85rem; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 2px 6px rgba(0,0,0,.5); }
.ls-meter-l { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #9a9aa3; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.ls-big { font-size: 3rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; margin-top: .25rem; }
.ls-big.warn { color: #fbbf24; }
.ls-big.over { color: #f87171; }
.ls-big.bad { color: #f87171; }
.ls-big.ok { color: #86efac; }
.ls-sub { font-size: .78rem; color: #aeb0bb; margin-top: .35rem; min-height: 1.1em; }
.ls-note { margin-top: 1.1rem; }
.ls-vlink { display: inline-block; margin-top: .4rem; font-size: .78rem; font-weight: 700; color: #7fb3ff; text-decoration: none; }
.ls-final, .ls-await { display: inline-block; margin-left: .6rem; padding: .12rem .5rem; border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .08em; vertical-align: middle; }
.ls-final { background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.55); color: #86efac; }
.ls-await { background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.5); color: #fcd34d; }
.ls-tabs { display: flex; gap: .4rem; padding: .5rem 1rem 0; }
.ls-tab { flex: 1; padding: .45rem .6rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #aeb0bb; font-weight: 700; font-size: .85rem; }
.ls-tab.on { background: linear-gradient(180deg, #2f3340, #1b1d25); color: #fff; border-color: rgba(255,255,255,.28); }
.ls-pdf { padding: .75rem 1rem .25rem; max-height: 70vh; overflow-y: auto; }
.ls-pdf canvas { display: block; width: 100%; margin-bottom: .6rem; background: #fff; border-radius: 6px; }
.ls-note .ls-sub { margin-top: .1rem; min-height: 0; }
.ls-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.1); margin-top: .5rem; overflow: hidden; }
.ls-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #0ea5e9, #38bdf8); transition: width .15s linear; }
.ls-bar i.warn { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.ls-bar i.ok { background: linear-gradient(90deg, #16a34a, #4ade80); }
.ls-bar i.over { background: linear-gradient(90deg, #dc2626, #f87171); }
.ls-refs { display: inline-flex; gap: .25rem; }
.ls-refs i { width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); display: block; }
.ls-refs i.on { background: #f59e0b; border-color: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,.7); }

.ls-course { margin-top: 1rem; border-radius: 14px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.07); padding: 1.9rem .75rem .75rem; }
.ls-course-h { display: flex; justify-content: space-between; align-items: center; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #9a9aa3; font-weight: 700; margin: -1.25rem 0 .7rem .2rem; }
.ls-track { position: relative; display: flex; flex-wrap: wrap; gap: .7rem .55rem; justify-content: center; padding-top: .9rem; }
.ls-fence { position: relative; width: 2.35rem; height: 2.35rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 800; color: #aeb0bb; background: rgba(255,255,255,.04); border: 2px solid rgba(255,255,255,.18); transition: background .35s, border-color .35s, color .35s, transform .35s; }
.ls-fence.clear { background: rgba(34,197,94,.2); border-color: #22c55e; color: #86efac; }
.ls-fence.down { background: rgba(239,68,68,.22); border-color: #ef4444; color: #fecaca; }
.ls-fence.refusal { background: rgba(245,158,11,.22); border-color: #f59e0b; color: #fde68a; }
.ls-fence.cur { border-color: #38bdf8; color: #fff; box-shadow: 0 0 0 0 rgba(56,189,248,.6); animation: ls-pulse-b 1.4s infinite; }
.ls-fence.hit { animation: ls-pop .5s ease-out; }
.ls-fence.shake { animation: ls-shake .45s ease-in-out; }
.ls-fence small { position: absolute; bottom: -.95rem; left: 50%; transform: translateX(-50%); font-size: .62rem; font-weight: 800; white-space: nowrap; }
.ls-fence.down small { color: #f87171; }
.ls-fence.refusal small { color: #fbbf24; }
.ls-float { position: absolute; left: 50%; top: -.2rem; transform: translateX(-50%); font-weight: 900; font-size: 1rem; pointer-events: none; animation: ls-float 1.2s ease-out forwards; }
.ls-float.down { color: #f87171; }
.ls-float.refusal { color: #fbbf24; }
.ls-horsemark { position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; margin: -1.55rem 0 0 -1rem; font-size: 1.5rem; line-height: 2rem; text-align: center; pointer-events: none; z-index: 2; transition: left .8s cubic-bezier(.4,.1,.2,1), top .8s cubic-bezier(.4,.1,.2,1); filter: drop-shadow(0 3px 4px rgba(0,0,0,.6)); }
.ls-horsemark span { display: inline-block; transform: scaleX(-1); }
.ls-horsemark.go { animation: ls-hop .8s ease-in-out; }
.ls-horsemark.hide { opacity: 0; }

.ls-banner { margin-top: 1rem; border-radius: 14px; padding: .8rem 1rem; text-align: center; font-weight: 800; letter-spacing: .04em; animation: ls-rise .5s ease-out; }
.ls-banner.ok { background: rgba(34,197,94,.14); border: 1px solid rgba(34,197,94,.5); color: #86efac; }
.ls-banner.el { background: rgba(239,68,68,.15); border: 1px solid rgba(239,68,68,.55); color: #fecaca; }
.ls-ban-cols { display: flex; justify-content: center; gap: 2.2rem; margin-top: .35rem; }
.ls-ban-c { display: flex; flex-direction: column; align-items: center; }
.ls-ban-l { font-size: .68rem; letter-spacing: .08em; color: #a7f3d0; font-weight: 700; }
.ls-ban-v { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.ls-banner small { display: block; font-weight: 500; letter-spacing: 0; color: #d1d5db; margin-top: .15rem; }

.ls-next { margin-top: 1rem; display: grid; gap: .5rem; }
.ls-next-i { display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.07); }
.ls-next-i b { min-width: 2rem; text-align: center; color: #9a9aa3; }
.ls-next-i span { display: block; font-weight: 700; }
.ls-next-i small { color: #9a9aa3; }

.ls-rank-h { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .85rem 1rem .6rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.ls-rank-h h3 { margin: 0; font-size: 1rem; font-weight: 800; }
.ls-rank-h span { font-size: .78rem; color: #9a9aa3; }
.ls-cols, .ls-row { display: grid; grid-template-columns: 2.6rem 1fr 4.8rem 4.4rem; gap: .5rem; align-items: center; padding: .55rem 1rem; }
.ls-cols { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #8e909b; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.06); }
.ls-cols .r, .ls-row .r { text-align: right; }
.ls-cols > span:first-child { text-align: center; }   /* "#" sejajar tengah dengan lingkaran peringkat di bawahnya */
.ls-row > .ls-rk { justify-self: center; }
.ls-list { max-height: 70vh; overflow-y: auto; scrollbar-width: thin; }
.ls-row { border-bottom: 1px solid rgba(255,255,255,.05); font-variant-numeric: tabular-nums; }
.ls-row .nm { min-width: 0; }
.ls-row .nm strong { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-row .nm small { display: block; color: #8e909b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-rk { width: 1.9rem; height: 1.9rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; background: rgba(255,255,255,.06); }
.ls-row.p1 .ls-rk { background: linear-gradient(180deg, #fde68a, #d4a017); color: #3a2a00; }
.ls-row.p2 .ls-rk { background: linear-gradient(180deg, #e5e7eb, #9ca3af); color: #1f2937; }
.ls-row.p3 .ls-rk { background: linear-gradient(180deg, #fdba74, #b45309); color: #2b1400; }
/* Runner up: rosette (lingkaran bercincin + dua pita) */
.ls-row.ru .ls-rk { position: relative; background: linear-gradient(180deg, #7dd3fc, #2563eb); color: #06142e; box-shadow: 0 0 0 2px rgba(147,197,253,.45); margin-bottom: .35rem; }
.ls-row.ru .ls-rk::after { content: ""; position: absolute; left: 50%; bottom: -.4rem; width: .8rem; height: .5rem; transform: translateX(-50%); background: linear-gradient(90deg, #2563eb 45%, transparent 45% 55%, #2563eb 55%); clip-path: polygon(0 0, 100% 0, 100% 100%, 78% 70%, 55% 100%, 45% 100%, 22% 70%, 0 100%); }
/* Clear Round: rosette hijau untuk setiap peserta clear (bentuk sama dengan runner up) */
.ls-row.cr .ls-rk { position: relative; background: linear-gradient(180deg, #86efac, #16a34a); color: #052e16; box-shadow: 0 0 0 2px rgba(134,239,172,.45); margin-bottom: .35rem; }
.ls-row.cr .ls-rk::after { content: ""; position: absolute; left: 50%; bottom: -.4rem; width: .8rem; height: .5rem; transform: translateX(-50%); background: linear-gradient(90deg, #16a34a 45%, transparent 45% 55%, #16a34a 55%); clip-path: polygon(0 0, 100% 0, 100% 100%, 78% 70%, 55% 100%, 45% 100%, 22% 70%, 0 100%); }
.ls-row .fl { font-weight: 800; text-align: right; white-space: nowrap; }   /* "Clear" tidak boleh terpotong */
.ls-row .fl.z { color: #86efac; }
.ls-row .tm { text-align: right; color: #d9dbe3; }
.ls-row .tm small { display: block; font-size: .66rem; color: #7d8090; line-height: 1.1; }
.ls-row.cur { background: linear-gradient(90deg, rgba(56,189,248,.18), rgba(56,189,248,.04)); box-shadow: inset 3px 0 0 #38bdf8; }
.ls-row.cur .ls-rk { background: #0ea5e9; color: #fff; font-size: .6rem; width: auto; min-width: 1.9rem; padding: 0 .5rem; border-radius: 999px; letter-spacing: .04em; }
.ls-row.out { opacity: .6; }
.ls-row.out .ls-rk { background: rgba(239,68,68,.18); color: #fca5a5; font-size: .62rem; }
.ls-row.flash { animation: ls-flash 1.6s ease-out; }
.ls-sep { padding: .5rem 1rem; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #8e909b; font-weight: 700; background: rgba(0,0,0,.25); cursor: pointer; display: flex; justify-content: space-between; }
.ls-empty { padding: 1.4rem 1rem; text-align: center; color: #9a9aa3; }

.ls-wrap[data-layout="phone"] .ls-after { display: none; }
.ls-wrap[data-layout="phone"] .ls-now { position: sticky; top: 0; z-index: 20; }
.ls-wrap[data-layout="phone"] .ls-pad { padding: .8rem; }
.ls-wrap[data-layout="phone"] .ls-rider { font-size: 1.15rem; }
.ls-wrap[data-layout="phone"] .ls-big { font-size: 2.3rem; }
.ls-wrap[data-layout="phone"] .ls-meters { gap: .5rem; margin-top: .6rem; }
.ls-wrap[data-layout="phone"] .ls-meter { padding: .5rem .65rem; }
.ls-wrap[data-layout="phone"] .ls-course { margin-top: .6rem; }
.ls-wrap[data-layout="phone"] .ls-fence { width: 1.95rem; height: 1.95rem; font-size: .72rem; }
.ls-wrap[data-layout="phone"] .ls-track { gap: .6rem .35rem; }
.ls-wrap[data-layout="phone"] .ls-list { max-height: none; }
.ls-wrap[data-layout="phone"] .ls-cols, .ls-wrap[data-layout="phone"] .ls-row { grid-template-columns: 2.1rem 1fr 4.1rem 3.6rem; padding: .5rem .75rem; gap: .4rem; }
.ls-wrap[data-layout="laptop"] .ls-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.ls-wrap[data-layout="tv"] { font-size: clamp(16px, 1.05vw, 30px); padding-left: 2rem; padding-right: 2rem; }
.ls-wrap[data-layout="tv"] .ls-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.5rem; }
.ls-wrap[data-layout="tv"] .ls-pad { padding: 1.6rem; }
.ls-wrap[data-layout="tv"] .ls-rider { font-size: 2.3rem; }
.ls-wrap[data-layout="tv"] .ls-horse { font-size: 1.25rem; }
.ls-wrap[data-layout="tv"] .ls-big { font-size: 5.4rem; }
.ls-wrap[data-layout="tv"] .ls-fence { width: 3.2rem; height: 3.2rem; font-size: 1.1rem; }
.ls-wrap[data-layout="tv"] .ls-track { gap: 1.1rem .8rem; }
.ls-wrap[data-layout="tv"] .ls-list { max-height: 68vh; }
.ls-wrap[data-layout="tv"] .ls-row { padding: .8rem 1.4rem; }
.ls-wrap[data-layout="tv"] .ls-cols { padding-left: 1.4rem; padding-right: 1.4rem; }
.ls-wrap[data-layout="tv"] .ls-rk { width: 2.4rem; height: 2.4rem; font-size: 1.1rem; }
.ls-wrap[data-layout="tv"] .ls-cols, .ls-wrap[data-layout="tv"] .ls-row { grid-template-columns: 3.4rem 1fr 5rem 7rem; }

@keyframes ls-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 .55rem rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@keyframes ls-pulse-b { 0% { box-shadow: 0 0 0 0 rgba(56,189,248,.6); } 70% { box-shadow: 0 0 0 .7rem rgba(56,189,248,0); } 100% { box-shadow: 0 0 0 0 rgba(56,189,248,0); } }
@keyframes ls-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes ls-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes ls-float { 0% { opacity: 0; transform: translate(-50%, 0) scale(.7); } 15% { opacity: 1; transform: translate(-50%, -.6rem) scale(1.1); } 100% { opacity: 0; transform: translate(-50%, -2.2rem) scale(1); } }
@keyframes ls-hop { 0% { transform: translateY(0); } 40% { transform: translateY(-.9rem); } 100% { transform: translateY(0); } }
@keyframes ls-rise { 0% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes ls-flash { 0% { background: rgba(250,204,21,.4); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) {
  .ls-dot.live, .ls-conn-dot, .ls-fence.cur, .ls-fence.hit, .ls-fence.shake, .ls-horsemark.go, .ls-row.flash, .ls-banner { animation: none; }
  .ls-float { animation-duration: .01s; }
  .ls-horsemark { transition: none; }
}
.ls-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.ls-bar-brand { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.ls-bar-brand img { width: 3rem; height: 3rem; object-fit: contain; border-radius: 12px; background: rgba(255,255,255,.06); }
.ls-bar-name { font-size: 1.25rem; font-weight: 800; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-bar-sub { font-size: .8rem; color: #9a9aa3; }
.ls-bar-clock { font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; color: #d9dbe3; }
.ls-ico { flex: 0 0 auto; width: 2.2rem; height: 2.2rem; border-radius: 50%; color: #d9dbe3; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #25262e 0%, #17181d 100%); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 3px 6px rgba(0,0,0,.4); }
.ls-chip.auto { padding: .5rem .8rem; }
.ls-chip.auto.on { border-color: rgba(56,189,248,.7); background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.18), rgba(255,255,255,0) 55%), linear-gradient(180deg, #0b5f7f 0%, #083a4d 100%); }
.ls-chip { position: relative; overflow: hidden; }
.ls-prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #38bdf8; }
.ls-chip small { color: #9a9aa3; }
.ls-banner.idle { background: rgba(148,163,184,.1); border: 1px solid rgba(148,163,184,.35); color: #e2e8f0; margin-top: 0; margin-bottom: 1rem; }
.ls-podium { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }
.ls-pod { display: grid; grid-template-columns: 2.6rem 1fr 5.5rem 5rem; align-items: center; gap: .8rem; border-radius: 14px; padding: .7rem 1rem; text-align: left; background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.08); animation: ls-rise .6s ease-out both; }
.ls-pod.p1 { background: linear-gradient(180deg, rgba(212,160,23,.28), rgba(0,0,0,.3)); border-color: rgba(250,204,21,.5); }
.ls-pod.p2 { background: linear-gradient(180deg, rgba(156,163,175,.22), rgba(0,0,0,.3)); }
.ls-pod.p3 { background: linear-gradient(180deg, rgba(180,83,9,.25), rgba(0,0,0,.3)); }
.ls-pod .m { font-size: 2.4rem; line-height: 1; }
.ls-pod .pw { min-width: 0; }
.ls-pod .pw strong, .ls-pod .pw small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-pod strong { display: block; font-weight: 800; line-height: 1.15; }
.ls-pod small { display: block; color: #aeb0bb; margin-top: .15rem; }
.ls-pod.nt, .ls-pod-h.nt { grid-template-columns: 2.6rem 1fr 6rem; }
.ls-pod-h { display: grid; grid-template-columns: 2.6rem 1fr 5.5rem 5rem; gap: .8rem; padding: 0 1rem; font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: #aeb0bb; text-align: right; }
.ls-pod .sc { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.ls-sched { margin-top: 1rem; display: grid; gap: .5rem; }
.ls-sched-i { display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.07); }
.ls-sched-i b { min-width: 3.4rem; color: #fbbf24; font-variant-numeric: tabular-nums; }
.ls-sched-i span { font-weight: 700; display: block; }
.ls-sched-i small { color: #9a9aa3; }
.ls-round { display: inline-block; white-space: nowrap; margin-left: .5rem; padding: .1rem .5rem; border-radius: 999px; background: rgba(168,85,247,.2); border: 1px solid rgba(168,85,247,.55); color: #d8b4fe; font-size: .65rem; letter-spacing: .08em; }
.ls-fence small.rf { color: #fbbf24; }
.ls-fence small.pt { color: #7d8090; font-weight: 700; }
.ls-fence small.neg { color: #f87171; }
.ls-fence.clear small:not(.rf):not(.neg) { color: #86efac; }
.ls-fence.joker { border-style: dashed; border-color: rgba(250,204,21,.7); }
.ls-fence em.jkm { position: absolute; top: -.62rem; right: -.2rem; font-style: normal; font-size: .72rem; color: #facc15; line-height: 1; }
.ls-float.ok { color: #4ade80; }
.ls-marks { margin-top: .75rem; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); padding: .35rem .75rem; }
.ls-mrow { display: flex; align-items: center; gap: .75rem; padding: .28rem 0; font-size: .85rem; border-top: 1px solid rgba(255,255,255,.06); }
.ls-mrow:first-child { border-top: 0; }
.ls-mrow > span:first-child { flex: 1 1 auto; color: #c7c9d3; }
.ls-mrow .v { flex: 0 0 4.2rem; text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.ls-mrow .v.none { color: #6b6e7c; font-weight: 400; }
.ls-mrow.h { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: #9a9aa3; }
.ls-mrow.t { font-weight: 800; }
.ls-fence.clear.rf { box-shadow: 0 0 0 2px rgba(245,158,11,.5); }
.ls-row.cur { position: sticky; top: 0; z-index: 2; background: linear-gradient(90deg, #12384a, #14202a); }
.ls-wrap[data-layout="phone"] .ls-podium { gap: .35rem; }
.ls-wrap[data-layout="phone"] .ls-pod strong { font-size: .95rem; }
.ls-wrap[data-layout="phone"] .ls-pod .m { font-size: 2rem; }
body.ls-full #event-header, body.ls-full #eventNav { display: none !important; }
body.ls-full main { display: flex; flex-direction: column; }
body.ls-full .ls-wrap { height: 100vh; display: flex; flex-direction: column; padding-top: .8rem !important; padding-bottom: .8rem !important; margin-top: 0 !important; }
body.ls-full .ls-head { display: flex; }
body.ls-full .ls-grid { flex: 1 1 auto; min-height: 0; grid-template-rows: minmax(0, 1fr); align-items: stretch; }
body.ls-full .ls-now { overflow-y: auto; scrollbar-width: none; }
body.ls-full .ls-rank { display: flex; flex-direction: column; min-height: 0; }
body.ls-full .ls-list { flex: 1 1 auto; min-height: 0; max-height: none; overflow-y: hidden; }
body.ls-full .ls-wrap[data-layout="phone"] .ls-grid { grid-template-rows: auto minmax(0, 1fr); }
body.ls-full .ls-wrap[data-layout="phone"] .ls-now { position: static; }
body.ls-full .ls-wrap.idle-cursor, body.ls-full .ls-wrap.idle-cursor * { cursor: none; }
body.ls-full .ls-wrap[data-layout="tv"] .ls-bar-name { font-size: 1.9rem; }
body.ls-full .ls-wrap[data-layout="tv"] .ls-bar-clock { font-size: 2.4rem; }
body.ls-full .ls-wrap[data-layout="tv"] .ls-bar-brand img { width: 4.2rem; height: 4.2rem; }
.ls-wrap[data-layout] .ls-row.cur .ls-rk { width: auto; min-width: 2.4rem; height: 1.7rem; padding: 0 .55rem; border-radius: 999px; font-size: .62rem; }
.ls-wrap[data-layout="tv"] .ls-cols, .ls-wrap[data-layout="tv"] .ls-row { grid-template-columns: 4.6rem 1fr 5rem 7rem; }
body.ls-full { padding-bottom: 0 !important; overflow: hidden; }
.ls-phase { flex: 0 0 100%; text-align: left; font-size: .62rem; letter-spacing: .12em; font-weight: 800; color: #a78bfa; margin: .1rem 0 -.25rem .15rem; }
.ls-phase:not(:first-child) { margin-top: .5rem; }

.ls-bar-brand > div { min-width: 0; }
.ls-bar-brand { flex: 1 1 auto; }
.ls-bar-clock { flex: 0 0 auto; white-space: nowrap; }
.ls-rank-h h3 { flex: 1 1 auto; min-width: 0; }
.ls-rank-h > span { flex: 0 0 auto; white-space: nowrap; }
.ls-meter .ls-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-wrap[data-layout="phone"] .ls-bar-clock { font-size: 1rem; }
.ls-wrap[data-layout="phone"] .ls-bar-name { font-size: 1.05rem; }
.ls-wrap[data-layout="phone"] .ls-bar-sub { font-size: .72rem; }
.ls-wrap[data-layout="phone"] .ls-head { gap: .6rem; margin-bottom: .5rem; }
.ls-wrap[data-layout="phone"] .ls-bar-brand img { width: 2.3rem; height: 2.3rem; }

.ls-wrap[data-layout="phone"] .ls-meter .ls-sub { font-size: .7rem; }
.ls-wrap[data-layout="phone"] .ls-pod .sc { font-size: .78rem; }
.ls-wrap[data-layout="phone"] .ls-pod, .ls-wrap[data-layout="phone"] .ls-pod-h { grid-template-columns: 2.2rem 1fr 4.2rem 3.6rem; gap: .5rem; }
.ls-wrap[data-layout="phone"] .ls-pod.nt, .ls-wrap[data-layout="phone"] .ls-pod-h.nt { grid-template-columns: 2.2rem 1fr 4.2rem; }
.ls-wrap[data-layout="phone"] .ls-rank-h h3 { font-size: .92rem; }

.btn.btn-cx { background-image: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.24), rgba(255,255,255,0) 55%), linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.24)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -6px 10px rgba(0,0,0,.38), 0 4px 8px rgba(0,0,0,.45); text-shadow: 0 1px 1px rgba(0,0,0,.35); }
.btn.btn-cx:hover, .btn.btn-cx:focus { background-image: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.32), rgba(255,255,255,0) 55%), linear-gradient(180deg, rgba(255,255,255,.1), rgba(0,0,0,.2)); }
.btn.btn-cx:active { box-shadow: inset 0 2px 6px rgba(0,0,0,.55); transform: translateY(1px); }
.btn-share { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; padding: 0; border-radius: 50%; flex: 0 0 auto; }
.nav-pills .so-share-item { list-style: none; display: flex; align-items: center; margin-left: .5rem; }
.zs-share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.zs-share-opt { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .7rem .3rem; border-radius: 14px; color: #fff; font-size: .72rem; font-weight: 600; cursor: pointer; background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.16), rgba(255,255,255,0) 55%), linear-gradient(180deg, #2b2d36 0%, #1a1b21 100%); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -8px 14px rgba(0,0,0,.4), 0 5px 10px rgba(0,0,0,.45); }
.zs-share-opt i { font-size: 1.6rem; line-height: 1; }
.zs-share-opt:hover, .zs-share-opt:focus-visible { border-color: rgba(255,255,255,.3); }
.zs-share-opt:active { transform: translateY(1px); box-shadow: inset 0 2px 6px rgba(0,0,0,.55); }
.zs-share-toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translate(-50%, 8px); z-index: 2200; padding: .55rem 1rem; border-radius: 999px; background: #1f2128; color: #fff; font-size: .85rem; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 8px 18px rgba(0,0,0,.5); opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.zs-share-toast.show { opacity: 1; transform: translate(-50%, 0); }
.ls-conn[hidden] { display: none; }
body.ls-full #lsShare { display: none; }

/* ===== Admin > Class Specs ===== */
.cs-holder { overflow-x: hidden; }
.cs-root { align-items: stretch; }
.cs-cards { display: grid; gap: .55rem; }
.cs-card { display: block; width: 100%; text-align: left; padding: .7rem .85rem; border-radius: 14px; color: #d9dbe3; cursor: pointer; background: linear-gradient(180deg, #2a2b33 0%, #17181d 100%); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 3px 6px rgba(0,0,0,.45); }
.cs-card:hover { border-color: rgba(255,255,255,.28); }
.cs-card.on { color: #fff; border-color: rgba(220,53,69,.8); background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.18), rgba(255,255,255,0) 55%), linear-gradient(180deg, #7a1f2a 0%, #4a1219 100%); }
.cs-code { color: #fff; flex: 0 0 auto; }
.cs-name { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.cs-sec { padding: .85rem; border-radius: 14px; margin-bottom: .85rem; background: linear-gradient(180deg, #25262e 0%, #17181d 100%); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 3px 6px rgba(0,0,0,.35); }
.cs-sec-title { font-weight: 700; margin-bottom: .6rem; color: #fff; }
.cs-empty { padding: 2rem 1rem; text-align: center; border-radius: 14px; border: 1px dashed rgba(255,255,255,.18); }
.cs-pair { margin-bottom: .85rem; }
.cs-pair .cs-sec { margin-bottom: 0; }
.cs-sec-fill { flex: 1 1 auto; width: 100%; }
.ev-wide { grid-column: 1 / -1; }
.ev-cardfill { display: flex; flex-direction: column; }
.ev-cardfill .ev-body { display: flex; flex-direction: column; flex: 1 1 auto; }
.ev-cardfill .ev-fill { flex: 1 1 auto; align-items: stretch; }
.ev-cardfill .ev-fill .cs-ctl { display: flex; }
.ev-cardfill .ev-fill textarea { height: 100%; min-height: 6rem; resize: vertical; }
@media (min-width: 992px) { .ev-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.cs-frow { display: flex; align-items: center; gap: .75rem; padding: .22rem 0; }
.cs-lbl { flex: 0 0 9.5rem; max-width: 9.5rem; margin: 0; font-size: .82rem; color: #aeb1bd; line-height: 1.2; }
.cs-ctl { flex: 1 1 auto; min-width: 0; }
#cs-entriLatePercent { text-align: center; padding-left: .25rem; padding-right: .25rem; -moz-appearance: textfield; appearance: textfield; }
#cs-entriLatePercent::-webkit-outer-spin-button, #cs-entriLatePercent::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#cs-classOrder { text-align: center; padding-left: .25rem; padding-right: .25rem; }
.cs-lbl-inline { flex: 0 0 auto; max-width: none; }
.cs-ctl-fixed { flex: 0 0 auto; }
.cs-ctl .form-control, .cs-ctl .form-select { width: 100%; }
@media (max-width: 575.98px) { .cs-frow { flex-direction: column; align-items: stretch; gap: .2rem; } .cs-lbl { flex-basis: auto; max-width: none; } }
/* Kartu Fence: isian teks / angka rata tengah */
.cs-fence-sec input.form-control, .cs-fence-sec .cs-gen input { text-align: center; }
.cs-fence-sec td input.form-control, .cs-fence-sec td .form-check-input { display: block; margin-left: auto; margin-right: auto; float: none; }
.cs-fence-sec table { width: auto; margin-left: auto; margin-right: auto; }
.cs-fence-sec th, .cs-fence-sec td { text-align: center !important; vertical-align: middle; padding-left: .6rem; padding-right: .6rem; width: 1%; white-space: nowrap; }
.cs-w-num { width: 4.6rem; min-width: 3.6rem; }
.cs-w-count { width: 7rem; }
.cs-fence-wrap { max-height: 22rem; overflow-y: auto; }
.cs-w-lic { width: 8.5rem; }
.cs-w-date { width: 9.5rem; }
/* Panel Dressage */
.cs-dr-sec table { width: 100%; }
.cs-dr-sec td, .cs-dr-sec th { vertical-align: middle; }
.cs-dr-round { padding: .75rem; border-radius: 12px; margin-bottom: .75rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.cs-dr-prev { max-height: 18rem; overflow-y: auto; }
.cs-dr-prevbox { margin-bottom: .6rem; }
/* Editor tes Dressage */
.cs-dt-dlg { max-width: min(1500px, 96vw); }
.cs-dt-left { align-self: flex-start; position: sticky; top: 0; z-index: 2; }
.cs-dt-s { width: 5.6rem; }
.cs-dt-list { max-height: 70vh; overflow-y: auto; }
.cs-dt-wrap { max-height: 60vh; overflow: auto; }
.cs-dt-wrap td { min-width: 5rem; }
.cs-dt-wrap td:first-child { min-width: 6.5rem; }
.cs-dt-wrap td:nth-child(2) { min-width: 11rem; }
.cs-dt-wrap td:nth-child(3), .cs-dt-wrap td:nth-child(4) { min-width: 12rem; }
@media (min-width: 992px) {
  .cs-holder { display: flex; flex-direction: column; }
  .cs-root { flex: 1 1 auto; min-height: 0; margin-bottom: 0; }
  .cs-left, .cs-right { max-height: 100%; overflow-y: auto; }
  .cs-left { padding-right: .35rem; }
}

/* Kartu halaman validasi (Final Result, sertifikat, invoice): latar arang, efek cembung */
.verify-card.card {
  background: linear-gradient(180deg, #2a2b34 0%, #17181d 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -2px 4px rgba(0, 0, 0, .35), 0 8px 22px rgba(0, 0, 0, .55);
}
.verify-card .border-secondary-subtle { border-color: rgba(255, 255, 255, .09) !important; }

/* ---------- livestream.html ---------- */
.lv-top { padding-top: calc(1rem + env(safe-area-inset-top, 0px)); }
/* Selebar 1100px, tapi dibatasi tinggi layar supaya player utuh terlihat tanpa scroll di desktop. */
.lv-wrap { max-width: max(480px, min(1100px, calc((100vh - 240px) * 16 / 9))); margin: 0 auto; }
.lv-player .lv-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 1rem; text-align: center; color: var(--zs-text-dim); font-size: .95rem; }
.lv-player .lv-state i { font-size: 2.4rem; color: var(--zs-text-dim); }
.lv-meta { display: flex; align-items: center; gap: .75rem; margin-top: .9rem; flex-wrap: wrap; }
.lv-meta[hidden] { display: none; }
#lsNote:empty { display: none; }
.lv-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 1px solid var(--zs-border); background: #0a0a0c; }
.lv-info { flex: 1 1 14rem; min-width: 0; }
.lv-title { font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.lv-sub { font-size: .82rem; color: var(--zs-text-dim); margin-top: .1rem; overflow-wrap: anywhere; }
.lv-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
@media (max-width: 575.98px) {
  .lv-actions { width: 100%; }
  .lv-actions .btn { flex: 1 1 0; }
}
.lv-share-menu { min-width: 13rem; }
.lv-share-menu .dropdown-item { display: flex; align-items: center; }

/* ===== Recap event selesai (recap.html) ===== */
.rc-hero { position: relative; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid var(--zs-border-bright);
  background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.14), rgba(255,255,255,0) 55%), linear-gradient(180deg, #23252d 0%, #101116 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 26px -12px rgba(0,0,0,.7); margin-bottom: 1.25rem; }
.rc-hero-img { width: 100%; max-height: 260px; object-fit: cover; object-position: center top; display: block; opacity: .92; }
.rc-hero-body { padding: 1.1rem 1.1rem 1.2rem; }
.rc-title { font-size: clamp(1.25rem, 4.5vw, 1.9rem); font-weight: 800; letter-spacing: .01em; margin: .5rem 0 .35rem; line-height: 1.2; }
.rc-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; color: var(--zs-text-dim); font-size: .88rem; margin: 0 0 .9rem; }
.rc-toprow { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .5rem; }
.rc-toprow .rc-eyebrow { margin: 0; }
.rc-badge { display: inline-flex; align-items: center; gap: .45rem; font-size: .68rem; font-weight: 800; letter-spacing: .12em; padding: .3rem .65rem; border-radius: 999px; }
.rc-badge.done { background: rgba(52,211,153,.12); color: var(--zs-ok); border: 1px solid rgba(52,211,153,.3); }
.rc-badge.live { background: rgba(210,53,43,.14); color: var(--zs-red-light); border: 1px solid rgba(210,53,43,.35); }
.rc-dot { width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.rc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: .5rem; margin-bottom: .95rem; }
.rc-stat { background: linear-gradient(180deg, #2a2b34 0%, #17181d 100%); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: .6rem .4rem; text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -2px 4px rgba(0,0,0,.35), 0 6px 16px rgba(0,0,0,.5); }
.rc-stat b { display: block; font-size: 1.25rem; line-height: 1.1; }
.rc-stat small { color: var(--zs-text-dim); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.rc-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.rc-chip { display: inline-flex; align-items: center; gap: .15rem; padding: .42rem .85rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--zs-text); text-decoration: none; cursor: pointer;
  background: linear-gradient(180deg, #34363f 0%, #1f2027 100%); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 2px 5px rgba(0,0,0,.5); }
.rc-chip:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.rc-chip { color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 3px rgba(0,0,0,.35), 0 3px 8px rgba(0,0,0,.5); }
.rc-chip:hover { filter: brightness(1.12); }
.rc-chip.rc-gold { background: linear-gradient(180deg, #f5c542 0%, #b8860b 100%); border-color: #e0b13a; color: #1a1300; text-shadow: 0 1px 0 rgba(255,255,255,.3); }
.rc-chip.rc-purple { background: linear-gradient(180deg, #9b6bff 0%, #5b2fc4 100%); border-color: #8a5cf0; }
.rc-chip.rc-red { background: linear-gradient(180deg, #ef5b5b 0%, #a52222 100%); border-color: #e24a4a; }
.rc-chip.rc-green { background: linear-gradient(180deg, #34d399 0%, #0f8a5f 100%); border-color: #2fc08c; }
.rc-chip.rc-blue { background: linear-gradient(180deg, #4d9bff 0%, #1f5fc4 100%); border-color: #4090f0; }
.rc-sec { margin-bottom: 1.75rem; }
.rc-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem; margin: .4rem 0 .8rem; scroll-margin-top: 4.5rem; }
.rc-sec-title { font-size: 1.1rem; font-weight: 800; margin: 0; letter-spacing: .02em; }
.rc-sec-title i { color: #f5c542; }
.rc-sec-sub { color: var(--zs-text-dim); font-size: .8rem; }
.rc-day { display: flex; align-items: center; gap: .6rem; margin: 1rem 0 .55rem; }
.rc-day-no { background: #f5c542; color: #1b1405; font-weight: 800; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .55rem; border-radius: 6px; }
.rc-day-date { color: var(--zs-text-dim); font-size: .88rem; }
.rc-grid { display: grid; grid-template-columns: 1fr; gap: .9rem; }
@media (min-width: 768px) { .rc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .rc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rc-class { display: flex; flex-direction: column; border-radius: 14px; padding: .9rem; border: 1px solid var(--zs-border-bright);
  background: radial-gradient(120% 90% at 50% -20%, rgba(255,255,255,.1), rgba(255,255,255,0) 55%), linear-gradient(180deg, #20222a 0%, #121318 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 6px 16px -8px rgba(0,0,0,.8); }
.rc-class-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; }
.rc-class-code { color: #f5c542; font-weight: 800; letter-spacing: .08em; font-size: .72rem; }
.rc-class-name { font-size: 1rem; font-weight: 700; margin: .1rem 0 0; line-height: 1.25; }
.rc-cat { flex-shrink: 0; font-size: .65rem; font-weight: 700; padding: .18rem .5rem; border-radius: 6px; background: rgba(255,255,255,.07); color: var(--zs-text-dim); text-transform: uppercase; letter-spacing: .05em; }
.rc-class-meta { color: var(--zs-text-dim); font-size: .78rem; margin: .25rem 0 .6rem; min-height: 1rem; }
.rc-podium { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .7rem; }
.rc-win { display: flex; align-items: center; gap: .65rem; padding: .5rem .6rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.25); }
.rc-win-nm { min-width: 0; display: flex; flex-direction: column; }
.rc-win-nm strong { font-size: .93rem; line-height: 1.2; overflow-wrap: anywhere; }
.rc-win-nm small { color: var(--zs-text-dim); font-size: .76rem; overflow-wrap: anywhere; }
.rc-medal { flex: 0 0 auto; width: 1.7rem; height: 2.2rem; display: block; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); }
.rc-medal svg { width: 100%; height: 100%; display: block; }
.rc-w1 { background: linear-gradient(180deg, rgba(245,197,66,.22), rgba(245,197,66,.05)); border-color: rgba(245,197,66,.45); }
.rc-w2 { background: linear-gradient(180deg, rgba(203,213,225,.16), rgba(203,213,225,.04)); border-color: rgba(203,213,225,.35); }
.rc-w3 { background: linear-gradient(180deg, rgba(208,138,78,.2), rgba(208,138,78,.05)); border-color: rgba(208,138,78,.4); }
.rc-clear { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 10px; margin-bottom: .7rem; font-weight: 600; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); color: var(--zs-ok); }
.rc-clear i { font-size: 1.3rem; }
.rc-pending { color: var(--zs-text-dim); font-size: .82rem; padding: .6rem .7rem; border-radius: 10px; border: 1px dashed rgba(255,255,255,.14); margin-bottom: .7rem; }
.rc-center { text-align: center; padding: 2rem 1rem; }
.rc-pdf { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; font-size: .8rem; font-weight: 600; text-decoration: none; padding: .35rem .75rem; border-radius: 8px;
  color: #fecaca; background: rgba(210,53,43,.16); border: 1px solid rgba(210,53,43,.4); }
.rc-pdf:hover { color: #fff; background: rgba(210,53,43,.35); }
.rc-line { display: flex; align-items: stretch; gap: .5rem; margin-bottom: .7rem; }
.rc-line .rc-clear, .rc-line .rc-pending, .rc-line .rc-podium { flex: 1 1 auto; margin-bottom: 0; min-width: 0; }
.rc-overall-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.rc-overall-rows .rc-line { margin-bottom: 0; }
@media (min-width: 992px) { .rc-overall-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; } }
.rc-pdf.rc-pdf-ic { margin-top: 0; align-self: stretch; flex: 0 0 auto; justify-content: center; width: 2.9rem; padding: 0; border-radius: 10px; font-size: 1.3rem; cursor: pointer; }
.rc-pdf.rc-pdf-ic.rc-pdf-end { align-self: flex-end; height: 2.4rem; margin-top: auto; }
.rc-pdf.rc-pdf-ic.is-busy { opacity: .5; cursor: progress; }
.rc-agg-card { border-color: rgba(245,197,66,.5); }
.rc-agg-ic { color: #f5c542; font-size: 1.4rem; }
.rc-vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .9rem; align-items: start; }
.rc-video-card { display: block; padding: 0; border: 0; background: none; text-align: left; color: inherit; cursor: pointer; }
.rc-video-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0b0b0d; border: 1px solid var(--zs-border-bright); }
.rc-video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.rc-video-card:hover .rc-video-thumb img { transform: scale(1.04); }
.rc-play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55)); }
.rc-play i { filter: drop-shadow(0 2px 6px rgba(0,0,0,.7)); }
.rc-yt { position: absolute; top: .4rem; left: .4rem; color: #ff3b30; font-size: 1.1rem; background: rgba(0,0,0,.55); border-radius: 6px; padding: 0 .3rem; }
.rc-dur { position: absolute; right: .4rem; bottom: .4rem; font-size: .7rem; font-weight: 700; background: rgba(0,0,0,.7); border-radius: 4px; padding: .05rem .35rem; }
.rc-video-title { margin-top: .4rem; font-size: .85rem; font-weight: 600; line-height: 1.25; }
.rc-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .45rem; }
@media (min-width: 768px) { .rc-pgrid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; } }
.rc-photo { padding: 0; border: 0; background: #0b0b0d; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; cursor: zoom-in; }
.rc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease, opacity .2s ease; }
.rc-photo:hover img { transform: scale(1.06); }
.rc-more { display: block; margin: 1rem auto 0; padding: .5rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: .85rem; color: var(--zs-text);
  background: linear-gradient(180deg, #34363f 0%, #1f2027 100%); border: 1px solid rgba(255,255,255,.14); }
.rc-more[hidden] { display: none; }
.rc-viewer { position: relative; }
.rc-viewer-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 1rem; background: linear-gradient(180deg, rgba(0,0,0,.75), rgba(0,0,0,0)); }
.rc-viewer-title { font-weight: 600; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-viewer-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 3.2rem .5rem .8rem; }
.rc-viewer-img, .rc-viewer-video { max-width: 100%; max-height: 100%; object-fit: contain; }
.rc-viewer-frame { width: min(100%, 1100px); aspect-ratio: 16 / 9; border: 0; border-radius: 8px; background: #000; }
.rc-viewer .photo-lightbox-arrow { z-index: 4; }
.rc-viewer .photo-lightbox-arrow[hidden] { display: none; }
.past-event-card { display: flex; gap: .75rem; align-items: center; padding: .6rem; text-decoration: none; color: inherit; }
.past-event-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; background: #0b0b0d; }
.past-event-card .pe-ph { width: 64px; height: 64px; border-radius: 10px; flex: 0 0 auto; display: grid; place-items: center; font-size: 1.6rem; color: #f5c542; background: rgba(245,197,66,.1); }
.past-event-card .pe-t { min-width: 0; }
.past-event-card .pe-t strong { display: block; font-size: .95rem; line-height: 1.2; }
.past-event-card .pe-t small { color: var(--zs-text-dim); }
.event-finished-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; padding: .75rem 1rem; border-radius: 12px; margin-bottom: 1rem;
  background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.3); color: var(--zs-ok); font-weight: 600; }
.event-finished-banner a { color: #fff; font-weight: 700; }

/* Recap: ajakan kontribusi foto / video */
.rc-contrib { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-top: .9rem; padding: .9rem 1rem; border-radius: 14px; border: 1px dashed rgba(255,255,255,.22);
  background: linear-gradient(180deg, #2a2b34 0%, #17181d 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 5px 14px rgba(0,0,0,.45); }
.rc-contrib-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; color: #f5c542; background: rgba(245,197,66,.12); flex: 0 0 auto; }
.rc-contrib-t { flex: 1 1 240px; min-width: 0; }
.rc-contrib-t strong { display: block; font-size: .98rem; }
.rc-contrib-t span { color: var(--zs-text-dim); font-size: .82rem; line-height: 1.35; display: block; margin-top: .15rem; }
.rc-contrib-act { display: flex; flex-wrap: wrap; gap: .5rem; }
.rc-empty-note { color: var(--zs-text-dim); font-size: .88rem; padding: .2rem 0 .4rem; }
.rc-video-desc { color: var(--zs-text-dim); font-size: .82rem; line-height: 1.35; margin-top: .15rem; text-align: left; white-space: pre-line; }
.rc-video-by { color: #f5c542; font-size: .76rem; margin-top: .2rem; text-align: left; }

/* Halaman hasil pembayaran (pay-result.html) */
.pr-icon { width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-size: 2.6rem; }
.pr-icon-ok { color: #34d399; background: rgba(52,211,153,.12); box-shadow: 0 0 0 6px rgba(52,211,153,.08); }
.pr-icon-wait { color: #f5c542; background: rgba(245,197,66,.12); box-shadow: 0 0 0 6px rgba(245,197,66,.08); }
.pr-icon-fail { color: #f87171; background: rgba(248,113,113,.12); box-shadow: 0 0 0 6px rgba(248,113,113,.08); }
.pr-icon-info { color: #60a5fa; background: rgba(96,165,250,.12); box-shadow: 0 0 0 6px rgba(96,165,250,.08); }
.pr-table { border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: .35rem .9rem; background: rgba(0,0,0,.25); }
.pr-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: .9rem; }
.pr-row:last-child { border-bottom: 0; }
.pr-row span { color: var(--zs-text-dim); }
.pr-row strong { text-align: right; word-break: break-word; }
.pr-total { font-size: 1.02rem; }

/* Tab Tagihan (event.html) */
.bill-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.bill-stats .bill-stat:first-child { grid-column: 1 / -1; }
.bill-stat { background: linear-gradient(180deg, #2a2b34 0%, #17181d 100%); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: .55rem .7rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 4px 12px rgba(0,0,0,.4); }
.bill-stat small { display: block; color: var(--zs-text-dim); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.bill-stat strong { font-size: 1.05rem; overflow-wrap: anywhere; }
.bill-stats .bill-stat:first-child strong { font-size: 1.25rem; }
.bill-banner { display: flex; flex-direction: column; gap: .15rem; padding: .75rem .9rem; border-radius: 12px; background: rgba(245,197,66,.08); border: 1px solid rgba(245,197,66,.3); }
.bill-details summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--zs-text); }
.bill-lines, .bill-details { font-size: .86rem; }
.bill-line { display: flex; justify-content: space-between; align-items: flex-start; gap: .8rem; padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.bill-line-l { display: flex; flex-direction: column; min-width: 0; }
.bill-line-l span { word-break: break-word; }
.bill-line strong { white-space: nowrap; }
.bill-line-total { border-bottom: 0; font-size: .95rem; }
.bill-methods { display: grid; gap: .5rem; }
.bill-method { position: relative; display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; border-radius: 12px; cursor: pointer; border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, #2a2b34 0%, #17181d 100%); }
.bill-method.on { border-color: #34d399; box-shadow: 0 0 0 1px rgba(52,211,153,.5); }
.bill-method-t { display: flex; flex-direction: column; }
.bill-method-total { color: var(--zs-text); font-weight: 600; }
.bill-method-logo { position: absolute; top: .5rem; right: .6rem; width: 64px; height: 26px; border-radius: 6px; background: #fff; object-fit: contain; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.bill-method-t { padding-right: 72px; }

/* ===== Z-Stride Arena ===== */
.ar-body { background: #050507; }
.ar-top { position: sticky; top: 0; z-index: 30; background: rgba(8,8,10,.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); }
.ar-top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .6rem; padding-bottom: .6rem; }
.ar-brand { display: inline-flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none; font-weight: 600; letter-spacing: .01em; }
.ar-brand b { color: #f5c542; }
.ar-nav { display: flex; align-items: center; gap: .6rem; }
.ar-nav-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--zs-text); text-decoration: none; font-size: .88rem; padding: .35rem .7rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); }
.ar-nav-link:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.ar-cart { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; text-decoration: none; font-size: 1.1rem;
  background: linear-gradient(180deg, #34363f 0%, #1f2027 100%); border: 1px solid rgba(255,255,255,.16); }
.ar-cart-n { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #ef4444; color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.ar-hero { padding: 2.4rem 0 1.4rem; background: radial-gradient(1200px 300px at 50% -80px, rgba(245,197,66,.1), transparent), linear-gradient(180deg, #14100a 0%, #050507 100%); }
.ar-title { font-size: clamp(1.6rem, 5vw, 2.6rem); font-weight: 800; line-height: 1.15; margin: 0 0 .5rem; }
.ar-lead { color: var(--zs-text-dim); margin: 0; }
.ar-wrap { padding-top: 1.2rem; padding-bottom: 2.5rem; }
.ar-filters { display: grid; grid-template-columns: 2fr 1.4fr 1.2fr 1fr; gap: .6rem; margin-bottom: 1rem; }
@media (max-width: 767px) { .ar-filters { grid-template-columns: 1fr 1fr; } .ar-filters input { grid-column: 1 / -1; } }
.ar-tabs { gap: .4rem; margin-bottom: 1rem; }
.ar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .9rem; }
@media (max-width: 480px) { .ar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } }
.ar-card { position: relative; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit;
  background: linear-gradient(180deg, #2a2b34 0%, #17181d 100%); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 6px 16px rgba(0,0,0,.45); }
.ar-card:hover { border-color: rgba(245,197,66,.45); color: inherit; }
.ar-thumb { position: relative; aspect-ratio: 4 / 3; background: #0b0b0d; overflow: hidden; }
.ar-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-price { position: absolute; left: .5rem; bottom: .5rem; padding: .2rem .55rem; border-radius: 999px; font-weight: 700; font-size: .8rem; color: #1a1300; background: linear-gradient(180deg, #f5c542 0%, #b8860b 100%); }
.ar-meta { padding: .55rem .7rem .7rem; display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.ar-meta strong { font-size: .88rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ar-meta small { color: var(--zs-text-dim); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-add { position: absolute; top: .45rem; right: .45rem; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer; display: grid; place-items: center;
  background: linear-gradient(180deg, #34363f 0%, #1f2027 100%); box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.ar-add.on { background: linear-gradient(180deg, #34d399 0%, #0f8a5f 100%); border-color: #2fc08c; }
.ar-empty { text-align: center; color: var(--zs-text-dim); padding: 2.5rem 1rem; }
.ar-foot { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0 2rem; color: var(--zs-text-dim); font-size: .8rem; display: grid; gap: .3rem; }
.lm-perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .6rem; margin-top: 1rem; }
.lm-perks div { display: flex; align-items: center; gap: .6rem; padding: .65rem .8rem; border-radius: 12px; font-size: .86rem; background: linear-gradient(180deg, #2a2b34 0%, #17181d 100%); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.lm-perks i { color: #f5c542; font-size: 1.2rem; }
.lt-list { padding-left: 1.2rem; display: grid; gap: .75rem; font-size: .92rem; line-height: 1.5; }
.lm-card { background: linear-gradient(180deg, #2a2b34 0%, #17181d 100%); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 1rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 6px 16px rgba(0,0,0,.45); }
.ap-wrap { padding-top: .4rem; }
.ap-crumb { font-size: .82rem; color: var(--zs-text-dim); margin-bottom: .7rem; }
.ap-crumb a { color: inherit; }
.ap-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.1rem; align-items: start; }
.ap-imgbox { background: #0b0b0d; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); display: grid; place-items: center; }
.ap-imgbox img { max-width: 100%; max-height: 78vh; display: block; -webkit-user-drag: none; user-select: none; }
.ap-title { font-size: 1.25rem; font-weight: 700; margin: 0 0 .3rem; }
.ap-cap { color: var(--zs-text-dim); font-size: .9rem; margin: 0 0 .6rem; }
.ap-meta { display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; font-size: .85rem; margin: 0 0 .8rem; }
.ap-meta dt { color: var(--zs-text-dim); font-weight: 400; }
.ap-meta dd { margin: 0; }
.ap-price { font-size: 1.7rem; font-weight: 800; color: #f5c542; }
.ap-points { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; gap: .3rem; font-size: .8rem; color: var(--zs-text-dim); }
.ap-points li::before { content: "✓ "; color: #34d399; }
.ap-share { display: flex; align-items: center; gap: .5rem; margin-top: .9rem; font-size: .8rem; color: var(--zs-text-dim); }
.ap-share a, .ap-share button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; text-decoration: none; cursor: pointer; }
.ap-share a:hover, .ap-share button:hover { border-color: #f5c542; color: #f5c542; }
.ac-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1rem; align-items: start; }
.ac-item { display: flex; align-items: center; gap: .75rem; padding: .55rem; border-radius: 12px; background: linear-gradient(180deg, #2a2b34 0%, #17181d 100%); border: 1px solid rgba(255,255,255,.1); }
.ac-item img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }
.ac-item-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ac-item-mid a, .ac-item-mid span { font-weight: 600; font-size: .9rem; color: #fff; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-item-mid small { color: var(--zs-text-dim); }
.ac-method { display: flex; align-items: center; gap: .55rem; padding: .5rem .65rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); cursor: pointer; font-size: .88rem; }
.ac-method:has(input:checked) { border-color: #f5c542; background: rgba(245,197,66,.07); }
.ac-method small { margin-left: auto; color: var(--zs-text-dim); }
.ac-sum { display: grid; gap: .25rem; font-size: .88rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: .6rem; }
.ac-sum > div { display: flex; justify-content: space-between; }
.ac-total { font-size: 1.05rem; font-weight: 700; color: #f5c542; }
@media (max-width: 860px) { .ap-main, .ac-grid { grid-template-columns: 1fr; } .ar-filters { grid-template-columns: 1fr 1fr; } }
.ar-narrow { max-width: 640px; }
.ar-mid { max-width: 860px; }
.lm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem; }
.lm-photo { border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #2a2b34 0%, #17181d 100%); border: 1px solid rgba(255,255,255,.1); }
.lm-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #0b0b0d; }
.lm-photo-b { padding: .6rem .7rem .7rem; }
.lm-photo-b strong { display: block; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-narrow-sm { max-width: 420px; }
.ad-stat-link { cursor: pointer; }
.ad-stat-alert { border-color: rgba(245,197,66,.6) !important; box-shadow: 0 0 0 1px rgba(245,197,66,.25), inset 0 1px 0 rgba(255,255,255,.12) !important; }
.ar-logo { height: 56px; width: auto; display: block; }
.rc-lensa { color: inherit; text-decoration: none; transition: border-color .15s, background .15s; }
.rc-lensa:hover { color: inherit; border-color: rgba(245,197,66,.6); background: rgba(245,197,66,.05); }
.lm-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .5rem; max-height: 300px; overflow-y: auto; }
.lm-pick-i { position: relative; display: flex; flex-direction: column; gap: .2rem; font-size: .7rem; cursor: pointer; border-radius: 10px; padding: .25rem; border: 1px solid rgba(255,255,255,.1); }
.lm-pick-i img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 7px; }
.lm-pick-i input { position: absolute; top: .45rem; left: .45rem; z-index: 1; }
.lm-pick-i.sug { border-color: #f5c542; }
.lm-pick-i.linked { opacity: .55; }
.lm-pick-i span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--zs-text-dim); }

/* Dropdown bertema (Lensa) */
.ar-sel-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; overflow: hidden; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.ar-sel-btn { text-align: left; display: block; cursor: pointer; color-scheme: dark; }
.ar-sel-btn .ar-sel-label { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-sel-btn.ar-sel-placeholder .ar-sel-label { color: var(--zs-text-dim); }
.ar-sel-btn.open, .ar-sel-btn:focus-visible { border-color: #f5c542; box-shadow: 0 0 0 .2rem rgba(245,197,66,.18); }
.ar-sel-btn:disabled { opacity: .55; cursor: not-allowed; }
.ar-sel-panel { position: fixed; z-index: 2000; overflow-y: auto; padding: .3rem; border-radius: 12px; background: linear-gradient(180deg, #2a2b34 0%, #17181d 100%); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 12px 32px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.12); -webkit-overflow-scrolling: touch; }
.ar-sel-item { padding: .6rem .75rem; border-radius: 8px; font-size: .95rem; line-height: 1.3; color: var(--zs-text); cursor: pointer; display: flex; align-items: center; gap: .5rem; }
.ar-sel-item.act, .ar-sel-item:hover { background: rgba(245,197,66,.14); color: #fff; }
.ar-sel-item.sel { color: #f5c542; font-weight: 600; }
.ar-sel-item.sel::after { content: "\2713"; margin-left: auto; padding-left: .5rem; }
.ar-sel-item.dis { opacity: .45; cursor: not-allowed; }

/* Font Lensa: Barlow Semi Condensed (SIL OFL, di-host sendiri) */
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("/lib/barlow-semi-condensed/files/barlow-semi-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("/lib/barlow-semi-condensed/files/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/lib/barlow-semi-condensed/files/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/lib/barlow-semi-condensed/files/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); }
.ar-body { font-family: "Barlow Semi Condensed", "Roboto Condensed", "Arial Narrow", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1.06rem; letter-spacing: .005em; }
.ar-body .btn, .ar-body .form-control, .ar-body .form-select, .ar-body .badge, .ar-body .nav-link { font-family: inherit; }
.ar-body h1, .ar-body h2, .ar-body h3, .ar-body h4, .ar-body h5, .ar-body h6, .ar-body .h1, .ar-body .h2, .ar-body .h3, .ar-body .h4, .ar-body .h5, .ar-body .h6 { font-weight: 600; letter-spacing: 0; }
.ar-body .eyebrow { letter-spacing: .12em; }

/* Font Barlow Semi Condensed untuk halaman non-Lensa yang memintanya (mis. recap.html) */
.zs-bsc { font-family: "Barlow Semi Condensed", "Roboto Condensed", "Arial Narrow", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1.06rem; letter-spacing: .005em; }
.zs-bsc .btn, .zs-bsc .form-control, .zs-bsc .form-select, .zs-bsc .badge, .zs-bsc .nav-link { font-family: inherit; }
.zs-bsc h1, .zs-bsc h2, .zs-bsc h3, .zs-bsc h4, .zs-bsc h5, .zs-bsc h6, .zs-bsc .h1, .zs-bsc .h2, .zs-bsc .h3, .zs-bsc .h4, .zs-bsc .h5, .zs-bsc .h6 { font-weight: 600; letter-spacing: 0; }

/* Admin Lensa: notifikasi data baru */
.ad-notice { position: fixed; top: 70px; right: 12px; z-index: 2100; display: flex; flex-direction: column; gap: .5rem; max-width: min(92vw, 360px); }
.ad-notice-i { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left; padding: .65rem .8rem; border-radius: 12px; color: #fff; cursor: pointer; background: linear-gradient(180deg, #2a2b34 0%, #17181d 100%); border: 1px solid rgba(245,197,66,.55); box-shadow: 0 10px 28px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12); animation: adNoticeIn .25s ease-out; font-size: .95rem; }
.ad-notice-i > i:first-child { color: #f5c542; font-size: 1.2rem; }
.ad-notice-i > span { flex: 1; }
.ad-notice-x { color: var(--zs-text-dim); font-size: .8rem; }
@keyframes adNoticeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
#adBell.on { border-color: #34d399; color: #34d399; }
.ad-badge { vertical-align: middle; }
#adStats { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .4rem; }
#adStats div { gap: .4rem; padding: .5rem .55rem; font-size: .78rem; line-height: 1.15; min-width: 0; }
#adStats i { font-size: 1rem; flex: none; }
#adStats span { min-width: 0; }
#adStats small { font-size: .72rem; }
#adStats b { white-space: nowrap; }
@media (max-width: 1199.98px) { #adStats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }

/* ============================== Board of Champion (boc.html, boc-profile.html) ============================== */
:root { --boc-gold: #d9b45b; --boc-gold-2: #f3dc9a; --boc-silver: #c4c8d2; --boc-bronze: #c98a5a; --boc-clear: #5fbf8f; --boc-line: rgba(255,255,255,.09); }
.boc-hero { padding: 3.2rem 0 1.6rem; text-align: center; }
.boc-hero h1 { font-weight: 700; letter-spacing: .01em; background: linear-gradient(180deg, var(--boc-gold-2), var(--boc-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.boc-hero p { max-width: 38rem; margin-inline: auto; }
.boc-claim { border: 1px solid rgba(217,180,91,.28); border-radius: 18px; background: radial-gradient(120% 140% at 0% 0%, rgba(217,180,91,.09), transparent 55%), linear-gradient(180deg, #17181d, #101114); overflow: hidden; }
.boc-claim-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; align-items: center; padding: 1.6rem; }
.boc-claim h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: .4rem; }
.boc-steps { list-style: none; padding: 0; margin: 1rem 0 1.1rem; display: grid; gap: .65rem; counter-reset: s; }
.boc-steps li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: #cfd2da; counter-increment: s; }
.boc-steps li::before { content: counter(s); flex: none; width: 1.55rem; height: 1.55rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #1a1405; background: linear-gradient(180deg, var(--boc-gold-2), var(--boc-gold)); }
.boc-claim-img { border-radius: 12px; border: 1px solid var(--boc-line); width: 100%; height: auto; display: block; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.boc-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.2rem; border-radius: 999px; font-weight: 600; color: #1a1405 !important; text-decoration: none; border: 0; background: linear-gradient(180deg, var(--boc-gold-2), var(--boc-gold)); }
.boc-btn:hover { filter: brightness(1.06); }
.boc-btn-ghost { background: transparent; color: var(--boc-gold-2) !important; border: 1px solid rgba(217,180,91,.45); }
.boc-section-t { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--boc-gold); font-weight: 700; margin: 2.2rem 0 .8rem; }
.boc-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: .8rem; }
.boc-pcard { display: block; text-align: center; padding: 1rem .6rem; border-radius: 16px; border: 1px solid var(--boc-line); background: linear-gradient(180deg, #17181d, #111216); text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
.boc-pcard:hover { transform: translateY(-2px); border-color: rgba(217,180,91,.5); color: inherit; }
.boc-pcard b { display: block; font-size: .95rem; margin-top: .55rem; color: #fff; }
.boc-pcard small { color: #9aa0ad; }
.boc-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; background: #23252d; display: grid; place-items: center; font-weight: 700; color: var(--boc-gold); border: 1px solid var(--boc-line); }
.boc-avatar.has { border: 2px solid var(--boc-gold); }
.boc-avatar-md { width: 72px; height: 72px; font-size: 1.5rem; margin-inline: auto; }
.boc-avatar-lg { width: 132px; height: 132px; font-size: 2.6rem; border: 3px solid var(--boc-gold); box-shadow: 0 0 0 6px rgba(217,180,91,.12); }
.boc-filters { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: .6rem; margin-bottom: 1rem; }
.boc-group { margin-top: 1.6rem; }
.boc-group-t { display: flex; align-items: baseline; gap: .8rem; padding-bottom: .5rem; margin-bottom: .6rem; border-bottom: 1px solid var(--boc-line); }
.boc-group-t b { font-size: 1.02rem; }
.boc-group-t small { color: #8b91a0; }
.boc-row { display: flex; align-items: center; gap: .85rem; padding: .7rem .9rem; border-radius: 14px; border: 1px solid var(--boc-line); background: linear-gradient(180deg, #16171c, #111216); margin-bottom: .5rem; }
.boc-row-main { flex: 1; min-width: 0; }
.boc-row-main b { display: block; color: #fff; }
.boc-row-main a { color: #fff; text-decoration: none; }
.boc-row-main a:hover { color: var(--boc-gold-2); }
.boc-row-main small { display: block; color: #9aa0ad; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.boc-rank { flex: none; min-width: 5.6rem; text-align: center; padding: .3rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .03em; border: 1px solid; }
.boc-rank.r1 { color: #2a1d00; background: linear-gradient(180deg, #f6e3a1, #d9b45b); border-color: #d9b45b; }
.boc-rank.r2 { color: #1d2026; background: linear-gradient(180deg, #e3e6ee, #b7bcc9); border-color: #c4c8d2; }
.boc-rank.r3 { color: #2b1507; background: linear-gradient(180deg, #e8b48b, #b87a4c); border-color: #c98a5a; }
.boc-rank.rru { color: #cfd2da; background: #1b1c22; border-color: #3a3d48; }
.boc-rank.rcr { color: #0b2a1b; background: linear-gradient(180deg, #8be0b6, #4faf80); border-color: #5fbf8f; }
.boc-more { display: block; margin: 1.2rem auto 0; }
.boc-empty { text-align: center; color: #8b91a0; padding: 2rem 0; }
.boc-back { display: inline-flex; align-items: center; gap: .4rem; color: #9aa0ad; text-decoration: none; margin: 1.4rem 0 .6rem; }
.boc-back:hover { color: var(--boc-gold-2); }
.boc-prof-head { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center; padding: 1.8rem; border-radius: 20px; border: 1px solid rgba(217,180,91,.28); background: radial-gradient(120% 140% at 0% 0%, rgba(217,180,91,.1), transparent 55%), linear-gradient(180deg, #17181d, #101114); }
.boc-prof-head h1 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 700; margin: 0 0 .25rem; }
.boc-prof-meta { color: #aab0bd; display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .93rem; }
.boc-stats { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.boc-stat { padding: .35rem .8rem; border-radius: 999px; font-size: .85rem; border: 1px solid var(--boc-line); background: #15161b; }
.boc-stat b { color: #fff; margin-right: .3rem; }
.boc-bio { margin-top: 1rem; color: #cfd2da; white-space: pre-line; max-width: 46rem; }
.boc-sec { margin-top: 1.8rem; }
.boc-ach { display: flex; align-items: center; gap: .8rem; padding: .65rem .9rem; border-radius: 12px; border: 1px solid var(--boc-line); background: #121318; margin-bottom: .45rem; }
.boc-ach .t { flex: 1; min-width: 0; }
.boc-ach .t b { display: block; color: #fff; }
.boc-ach .t small { color: #9aa0ad; }
.boc-ver { font-size: .72rem; color: var(--boc-clear); white-space: nowrap; }
.boc-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: .6rem; }
.boc-gal figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--boc-line); background: #121318; cursor: zoom-in; position: relative; }
.boc-gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .25s; }
.boc-gal figure:hover img { transform: scale(1.04); }
.boc-gal figcaption { padding: .35rem .6rem; font-size: .8rem; color: #aab0bd; }
.boc-vid { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--boc-line); background: #000; aspect-ratio: 16 / 9; }
.boc-vid img, .boc-vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.boc-vid button { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0,0,0,.28); color: #fff; font-size: 2.6rem; cursor: pointer; }
.boc-vid button:hover { background: rgba(0,0,0,.12); }
.boc-vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.boc-vcap { font-size: .85rem; color: #aab0bd; margin-top: .3rem; }
.boc-report-link { background: none; border: 0; color: #7f8696; font-size: .82rem; text-decoration: underline; padding: 0; }
.boc-report-link:hover { color: #c8ccd6; }
.boc-lb-img { max-width: 100%; max-height: 80vh; display: block; margin: 0 auto; border-radius: 10px; }
/* halaman edit profil */
.bp-card { border: 1px solid var(--boc-line); border-radius: 16px; background: linear-gradient(180deg, #17181d, #111216); padding: 1.3rem; margin-bottom: 1rem; }
.bp-card h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: .2rem; }
.bp-hint { color: #9aa0ad; font-size: .88rem; }
.bp-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.bp-tab { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--boc-line); background: #15161b; color: #cfd2da; cursor: pointer; font-size: .92rem; }
.bp-tab.active { color: #1a1405; background: linear-gradient(180deg, var(--boc-gold-2), var(--boc-gold)); border-color: var(--boc-gold); font-weight: 600; }
.bp-cert { display: flex; align-items: center; gap: .8rem; padding: .6rem .8rem; border-radius: 12px; border: 1px solid var(--boc-line); background: #121318; margin-bottom: .45rem; }
.bp-cert .t { flex: 1; min-width: 0; }
.bp-cert .t small { display: block; color: #9aa0ad; }
.bp-mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .6rem; }
.bp-m { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--boc-line); background: #121318; }
.bp-m img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.bp-m .x { position: absolute; top: .3rem; right: .3rem; border: 0; border-radius: 50%; width: 1.6rem; height: 1.6rem; background: rgba(0,0,0,.65); color: #fff; line-height: 1; }
.bp-m .x:hover { background: #b3261e; }
.bp-m small { display: block; padding: .25rem .4rem; font-size: .72rem; color: #9aa0ad; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-m.hidden { opacity: .45; }
.bp-avatar-edit { display: flex; gap: 1rem; align-items: center; }
@media (max-width: 767.98px) {
  .boc-claim-in { grid-template-columns: 1fr; padding: 1.2rem; }
  .boc-filters { grid-template-columns: 1fr; }
  .boc-prof-head { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .boc-prof-meta, .boc-stats { justify-content: center; }
  .boc-row { flex-wrap: wrap; }
  .boc-rank { min-width: 0; }
}
.boc-invite { padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid rgba(217,180,91,.35); background: radial-gradient(120% 140% at 0% 0%, rgba(217,180,91,.1), transparent 60%), #14151a; }
.boc-invite-t { font-weight: 700; color: #f3dc9a; margin-bottom: .3rem; }
.boc-invite-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.boc-invite-row .boc-invite { display: flex; flex-direction: column; align-items: flex-start; }
.boc-invite-row .boc-invite .boc-btn { margin-top: auto; }
@media (max-width: 575.98px) { .boc-invite-row { grid-template-columns: minmax(0, 1fr); } }
.boc-prof-meta a { color: var(--boc-gold-2); }

.nav-redaksi { font-weight: 600; letter-spacing: .01em; }
.nav-redaksi .nav-star { color: var(--boc-gold, #d9b45b); font-size: .8em; }
.boc-scan-view { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 1; border: 1px solid var(--boc-line); }
.boc-scan-view video { width: 100%; height: 100%; object-fit: cover; display: block; }
.boc-scan-frame { position: absolute; inset: 18%; border: 2px solid var(--boc-gold); border-radius: 16px; box-shadow: 0 0 0 999px rgba(0,0,0,.38); pointer-events: none; }
.boc-scan-file { cursor: pointer; }
/* daftar juara: satu baris per rider */
a.boc-row { text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
a.boc-row:hover { transform: translateY(-1px); border-color: rgba(217,180,91,.5); color: inherit; }
a.boc-row > .bi { color: #6b7180; flex: none; }
.boc-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .4rem; }
.boc-chip { padding: .12rem .6rem; border-radius: 999px; font-size: .76rem; border: 1px solid; white-space: nowrap; }
.boc-chip b { margin-right: .15rem; }
.boc-chip.r1 { color: #f3dc9a; border-color: rgba(217,180,91,.6); background: rgba(217,180,91,.12); }
.boc-chip.r2 { color: #dfe2ea; border-color: rgba(196,200,210,.55); background: rgba(196,200,210,.1); }
.boc-chip.r3 { color: #ebb48a; border-color: rgba(201,138,90,.55); background: rgba(201,138,90,.1); }
.boc-chip.rru { color: #b9bdc9; border-color: #3a3d48; background: #181a20; }
.boc-chip.rcr { color: #8be0b6; border-color: rgba(95,191,143,.55); background: rgba(95,191,143,.1); }
.boc-emptybox { display: flex; align-items: center; gap: .7rem; padding: 1.1rem 1.2rem; border-radius: 14px; border: 1px dashed rgba(255,255,255,.14); background: rgba(255,255,255,.02); color: #7f8696; }
.boc-emptybox .bi { font-size: 1.4rem; color: #5b6070; }
.boc-bio-empty { color: #7f8696; font-style: italic; }
.boc-row-main .boc-chip b { display: inline; color: inherit; }
/* daftar juara: kartu bergrid (3 kolom di desktop), urut abjad */
.boc-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: .7rem; }
.boc-list > .boc-empty { grid-column: 1 / -1; }
.boc-list > .boc-row { margin: 0; align-items: flex-start; }
.boc-list .boc-row > .bi { align-self: center; }
@media (min-width: 576px) { .boc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .boc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.boc-list .boc-row-main small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* kartu juara: nama / kuda / stable / lambang prestasi */
.boc-list .boc-row-main small.boc-l-horse, .boc-list .boc-row-main small.boc-l-stable { white-space: nowrap; display: block; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: unset; }
.boc-list .boc-row-main small.boc-l-stable { color: #7f8696; }
.boc-medals { display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin-top: .5rem; }
.boc-medal { display: inline-flex; align-items: center; gap: .3rem; font-size: .92rem; }
.boc-medal b { display: inline; font-weight: 700; color: #e9ebf0; }
.boc-medal.zero { opacity: .3; }
.boc-medal.m1 .bi { color: #e6c36a; } .boc-medal.m2 .bi { color: #c9cdd8; } .boc-medal.m3 .bi { color: #c98a5a; } .boc-medal.mru .bi { color: #8fa3c8; } .boc-medal.mcr .bi { color: #5fbf8f; }
/* kartu juara: latar arang, efek cembung (selaras kartu dashboard) */
.boc-list > .boc-row {
  border-radius: 16px;
  background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.14), rgba(255,255,255,0) 55%), linear-gradient(180deg, #2b2d36 0%, #1a1b21 100%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -10px 18px rgba(0,0,0,.4), 0 8px 16px rgba(0,0,0,.45), 0 1px 3px rgba(0,0,0,.6);
}
a.boc-row:hover { border-color: rgba(217,180,91,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -10px 18px rgba(0,0,0,.4), 0 12px 22px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.6); }
.boc-list > .boc-row .boc-avatar { background: #20222a; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 2px 4px rgba(0,0,0,.5); }
/* dropdown bertema arang-cembung (daftar pilihan + tombol filter BOC) */
.ar-sel-panel {
  background: radial-gradient(120% 70% at 50% -10%, rgba(255,255,255,.14), rgba(255,255,255,0) 55%), linear-gradient(180deg, #2b2d36 0%, #1a1b21 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -10px 18px rgba(0,0,0,.35), 0 14px 30px rgba(0,0,0,.65), 0 2px 4px rgba(0,0,0,.6);
}
.ar-sel-item { color: #e9ebf0; }
.boc-filters .form-control, .boc-filters .ar-sel-btn {
  background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.12), rgba(255,255,255,0) 55%), linear-gradient(180deg, #2b2d36 0%, #1a1b21 100%);
  border: 1px solid rgba(255,255,255,.1); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -6px 10px rgba(0,0,0,.35), 0 3px 8px rgba(0,0,0,.4);
}
.boc-filters .form-control::placeholder { color: #8b91a0; }
.boc-filters .form-control:focus { border-color: #f5c542; box-shadow: 0 0 0 .2rem rgba(245,197,66,.18), inset 0 1px 0 rgba(255,255,255,.22); }
.boc-filters .ar-sel-btn .ar-sel-label, .boc-filters .ar-sel-btn.ar-sel-placeholder .ar-sel-label { color: #fff; }
