/**
 * AGIFAIR — contest submenu + detail page (luk-thung etc.)
 */

/* ---------- Contest nav submenu ---------- */
.agifair-contest-menu {
  --acm-pad: 0.55rem;
  min-width: min(22rem, calc(100vw - 1.5rem));
  padding: 0.65rem;
  margin-top: 0.35rem !important;
  background: linear-gradient(165deg, #ffffff 0%, #f3faf7 100%);
  border: 1px solid rgba(13, 107, 104, 0.12) !important;
  box-shadow:
    0 18px 40px rgba(3, 32, 31, 0.14),
    0 2px 8px rgba(13, 107, 104, 0.08) !important;
  overflow: hidden;
  max-height: none;
}

.agifair-contest-menu::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0d6b68, #20c997 45%, #d4af37 100%);
  background-size: 200% 100%;
  animation: agifair-acm-sheen 4s ease-in-out infinite;
}

@keyframes agifair-acm-sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.agifair-contest-menu .dropdown-divider {
  margin: 0.45rem 0.4rem;
  opacity: 0.35;
  border-color: rgba(13, 107, 104, 0.2);
}

.agifair-contest-menu__item {
  display: flex !important;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem !important;
  border-radius: 0.75rem;
  color: #1a2e2a !important;
  white-space: normal;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.28s ease,
    box-shadow 0.28s ease,
    color 0.28s ease;
}

.agifair-contest-menu__item:hover,
.agifair-contest-menu__item:focus,
.agifair-contest-menu__item.active {
  background: linear-gradient(135deg, #0d6b68 0%, #157347 100%) !important;
  color: #fff !important;
  transform: translateX(4px);
  box-shadow: 0 8px 18px rgba(13, 107, 104, 0.22);
}

.agifair-contest-menu__icon {
  flex: 0 0 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: rgba(13, 107, 104, 0.1);
  color: #0d6b68;
  font-size: 0.95rem;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
    background 0.28s ease,
    color 0.28s ease;
}

.agifair-contest-menu__item:hover .agifair-contest-menu__icon,
.agifair-contest-menu__item.active .agifair-contest-menu__icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: scale(1.08) rotate(-6deg);
}

.agifair-contest-menu__icon--music {
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.22), rgba(13, 107, 104, 0.12));
  color: #9a7b1a;
}

.agifair-contest-menu__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.25;
  min-width: 0;
}

.agifair-contest-menu__text strong {
  font-weight: 600;
  font-size: 0.95rem;
}

.agifair-contest-menu__text small {
  font-size: 0.75rem;
  opacity: 0.72;
  font-weight: 400;
}

.agifair-contest-menu__item:hover .agifair-contest-menu__text small,
.agifair-contest-menu__item.active .agifair-contest-menu__text small {
  opacity: 0.9;
}

.agifair-contest-menu__badge {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.25);
  color: #7a6110;
}

.agifair-contest-menu__item:hover .agifair-contest-menu__badge {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

@media (min-width: 992px) {
  .navbar .nav-item.agifair-contest-nav .dropdown-menu.agifair-contest-menu {
    top: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.98);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.35s ease,
      visibility 0.35s ease,
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      top 0.35s ease;
  }

  .navbar .nav-item.agifair-contest-nav:hover > .dropdown-menu.agifair-contest-menu,
  .navbar .nav-item.agifair-contest-nav.show > .dropdown-menu.agifair-contest-menu {
    top: 100%;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .navbar .nav-item.agifair-contest-nav:hover .agifair-contest-menu__item {
    animation: agifair-acm-item-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .navbar .nav-item.agifair-contest-nav:hover .agifair-contest-menu__item:nth-child(1) {
    animation-delay: 0.04s;
  }
  .navbar .nav-item.agifair-contest-nav:hover .agifair-contest-menu__item:nth-child(2) {
    animation-delay: 0.08s;
  }
  .navbar .nav-item.agifair-contest-nav:hover .agifair-contest-menu__item:nth-child(3) {
    animation-delay: 0.12s;
  }
  .navbar .nav-item.agifair-contest-nav:hover .agifair-contest-menu__item:nth-child(4) {
    animation-delay: 0.16s;
  }
  .navbar .nav-item.agifair-contest-nav:hover .agifair-contest-menu__item:nth-child(5) {
    animation-delay: 0.2s;
  }
  .navbar .nav-item.agifair-contest-nav:hover .agifair-contest-menu__item:nth-child(6) {
    animation-delay: 0.24s;
  }
  .navbar .nav-item.agifair-contest-nav:hover .agifair-contest-menu__item:nth-child(7) {
    animation-delay: 0.28s;
  }
  .navbar .nav-item.agifair-contest-nav:hover .agifair-contest-menu__item:nth-child(8) {
    animation-delay: 0.32s;
  }
  .navbar .nav-item.agifair-contest-nav:hover .agifair-contest-menu__item:nth-child(9) {
    animation-delay: 0.36s;
  }
}

@keyframes agifair-acm-item-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .agifair-contest-menu {
    margin: 0.35rem 0 0.75rem !important;
    box-shadow: none !important;
    border: 1px solid rgba(13, 107, 104, 0.12) !important;
  }

  .agifair-contest-menu__item:hover {
    transform: none;
  }
}

/* ---------- Luk Thung detail page ---------- */
.lt-page {
  --lt-teal: #0d6b68;
  --lt-teal-deep: #074643;
  --lt-mint: #1aa67a;
  --lt-gold: #c9a227;
  --lt-gold-soft: #e8d48b;
  --lt-ink: #142018;
  --lt-muted: #4a5853;
  --lt-surface: #f4faf8;
  color: var(--lt-ink);
}

.lt-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(201, 162, 39, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(26, 166, 122, 0.35), transparent 50%),
    linear-gradient(145deg, #03201f 0%, #0d6b68 48%, #0a4f4c 100%);
  color: #fff;
}

.lt-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4.5rem;
  background: linear-gradient(180deg, transparent, var(--lt-surface));
  pointer-events: none;
}

.lt-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: lt-orb-float 12s ease-in-out infinite;
  pointer-events: none;
}

.lt-hero__orb--1 {
  width: 18rem;
  height: 18rem;
  top: -4rem;
  right: -3rem;
  background: #c9a227;
}

.lt-hero__orb--2 {
  width: 14rem;
  height: 14rem;
  bottom: 10%;
  left: -4rem;
  background: #20c997;
  animation-delay: -4s;
}

@keyframes lt-orb-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -18px) scale(1.06);
  }
}

.lt-hero__notes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.lt-hero__note {
  position: absolute;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  opacity: 0.18;
  animation: lt-note-rise 9s linear infinite;
}

.lt-hero__note:nth-child(1) {
  left: 12%;
  animation-delay: 0s;
}
.lt-hero__note:nth-child(2) {
  left: 28%;
  animation-delay: -2s;
  font-size: 1.1rem;
}
.lt-hero__note:nth-child(3) {
  left: 55%;
  animation-delay: -4.5s;
}
.lt-hero__note:nth-child(4) {
  left: 72%;
  animation-delay: -1.5s;
  font-size: 1.4rem;
}
.lt-hero__note:nth-child(5) {
  left: 88%;
  animation-delay: -6s;
}

@keyframes lt-note-rise {
  0% {
    transform: translateY(110%) rotate(-8deg);
    opacity: 0;
  }
  15% {
    opacity: 0.22;
  }
  85% {
    opacity: 0.12;
  }
  100% {
    transform: translateY(-30%) rotate(12deg);
    opacity: 0;
  }
}

.lt-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
  padding-bottom: 4rem;
}

.lt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  animation: lt-fade-up 0.7s ease both;
}

.lt-hero h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  animation: lt-fade-up 0.75s 0.08s ease both;
}

.lt-hero h1 .lt-accent {
  background: linear-gradient(105deg, #f5e6a8 0%, #c9a227 55%, #fff6d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero contest title — animated name block */
.lt-hero-title {
  position: relative;
  margin: 0 0 1.15rem;
  padding: 0.35rem 0 0.5rem;
  max-width: 38rem;
}

.lt-hero-title__icons {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.lt-hero-title__ico {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  color: #3f3008;
  background: linear-gradient(145deg, #f5e6a8, #c9a227);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  opacity: 0;
  animation: lt-hero-ico-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lt-hero-title__ico--1 {
  animation-delay: 0.12s;
}

.lt-hero-title__ico--2 {
  animation-delay: 0.22s;
  animation-name: lt-hero-ico-in, lt-hero-ico-float;
  animation-duration: 0.7s, 3.2s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, none;
  animation-delay: 0.22s, 0.9s;
}

.lt-hero-title__ico--3 {
  animation-delay: 0.32s;
  animation-name: lt-hero-ico-in, lt-hero-ico-float;
  animation-duration: 0.7s, 3.6s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, none;
  animation-delay: 0.32s, 1.2s;
}

@keyframes lt-hero-ico-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.7) rotate(-12deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

@keyframes lt-hero-ico-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.lt-hero-title__heading {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
  font-size: clamp(1.65rem, 4.2vw, 2.65rem);
}

.lt-hero-title__line {
  display: block;
}

.lt-hero-title__line--sub {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.72em;
  font-weight: 600;
  opacity: 0;
  animation: lt-fade-up 0.75s 0.18s ease both;
}

.lt-hero-title__line--sub i {
  width: 1.55rem;
  height: 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.7rem;
  color: #0d6b68;
  background: rgba(255, 255, 255, 0.92);
  animation: lt-medal-shine 2.8s ease-in-out infinite;
}

.lt-hero-title__line--main {
  opacity: 0;
  animation: lt-fade-up 0.85s 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lt-hero-title__shine {
  display: inline;
  background: linear-gradient(105deg, #fff6d0 0%, #e8c96a 28%, #c9a227 52%, #fff6d0 78%, #f5e6a8 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lt-hero-title-shine 4s ease-in-out infinite;
  filter: drop-shadow(0 2px 12px rgba(201, 162, 39, 0.35));
}

@keyframes lt-hero-title-shine {
  0%,
  100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0% 0;
  }
}

.lt-hero-title__underline {
  width: 0;
  height: 3px;
  margin-top: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a227, #f5e6a8, transparent);
  animation: lt-hero-underline 1s 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes lt-hero-underline {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: min(14rem, 70%);
    opacity: 1;
  }
}

.lt-hero-title--food .lt-hero-title__ico--1 {
  background: linear-gradient(145deg, #b8f0e0, #20c997);
  color: #033028;
}

.lt-hero-title--food .lt-hero-title__ico--2 {
  background: linear-gradient(145deg, #f5e6a8, #c9a227);
  color: #3f3008;
}

.lt-hero-title--food .lt-hero-title__ico--3 {
  background: linear-gradient(145deg, #d4f5c8, #7cb342);
  color: #1b3a0e;
}

.lt-hero-title--music .lt-hero-title__ico--1 {
  background: linear-gradient(145deg, #f5e6a8, #c9a227);
  color: #3f3008;
}
.lt-hero-title--music .lt-hero-title__ico--2 {
  background: linear-gradient(145deg, #ffd6e7, #e91e8c);
  color: #4a0a2e;
}
.lt-hero-title--music .lt-hero-title__ico--3 {
  background: linear-gradient(145deg, #ffe9a8, #f0b429);
  color: #3f3008;
}

.lt-hero-title--milking .lt-hero-title__ico--1 {
  background: linear-gradient(145deg, #e8d5c4, #a67c52);
  color: #3a2412;
}
.lt-hero-title--milking .lt-hero-title__ico--2 {
  background: linear-gradient(145deg, #cce8ff, #4a90d9);
  color: #0d2f52;
}
.lt-hero-title--milking .lt-hero-title__ico--3 {
  background: linear-gradient(145deg, #f5e6a8, #c9a227);
  color: #3f3008;
}

.lt-hero-title--recycle .lt-hero-title__ico--1 {
  background: linear-gradient(145deg, #c8f0d8, #2e9e5b);
  color: #0d3a1f;
}
.lt-hero-title--recycle .lt-hero-title__ico--2 {
  background: linear-gradient(145deg, #dce9ff, #5b8def);
  color: #142a5c;
}
.lt-hero-title--recycle .lt-hero-title__ico--3 {
  background: linear-gradient(145deg, #d4f5c8, #7cb342);
  color: #1b3a0e;
}

.lt-hero-title--smart .lt-hero-title__ico--1 {
  background: linear-gradient(145deg, #c8f0d8, #2e9e5b);
  color: #0d3a1f;
}
.lt-hero-title--smart .lt-hero-title__ico--2 {
  background: linear-gradient(145deg, #d0e8ff, #3d7ea6);
  color: #0d2f45;
}
.lt-hero-title--smart .lt-hero-title__ico--3 {
  background: linear-gradient(145deg, #f5e6a8, #c9a227);
  color: #3f3008;
}

.lt-hero-title--info .lt-hero-title__ico--1 {
  background: linear-gradient(145deg, #ffd6e0, #e05a7a);
  color: #4a1020;
}
.lt-hero-title--info .lt-hero-title__ico--2 {
  background: linear-gradient(145deg, #cce8ff, #4a90d9);
  color: #0d2f52;
}
.lt-hero-title--info .lt-hero-title__ico--3 {
  background: linear-gradient(145deg, #f5e6a8, #c9a227);
  color: #3f3008;
}

.lt-hero-title--terra .lt-hero-title__ico--1 {
  background: linear-gradient(145deg, #d4f5c8, #7cb342);
  color: #1b3a0e;
}
.lt-hero-title--terra .lt-hero-title__ico--2 {
  background: linear-gradient(145deg, #b8f0e0, #20c997);
  color: #033028;
}
.lt-hero-title--terra .lt-hero-title__ico--3 {
  background: linear-gradient(145deg, #c8f0d8, #2e9e5b);
  color: #0d3a1f;
}

.lt-hero-title--geo .lt-hero-title__ico--1 {
  background: linear-gradient(145deg, #cce8ff, #4a90d9);
  color: #0d2f52;
}
.lt-hero-title--geo .lt-hero-title__ico--2 {
  background: linear-gradient(145deg, #b8f0e0, #20c997);
  color: #033028;
}
.lt-hero-title--geo .lt-hero-title__ico--3 {
  background: linear-gradient(145deg, #f5e6a8, #c9a227);
  color: #3f3008;
}

.lt-hero__lead {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
  animation: lt-fade-up 0.75s 0.16s ease both;
}

.lt-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  animation: lt-fade-up 0.75s 0.24s ease both;
}

.lt-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 0.85rem;
  background: rgba(3, 32, 31, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
  backdrop-filter: blur(6px);
}

.lt-chip i {
  color: var(--lt-gold-soft);
}

.lt-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #3a2711;
  background: #e8c57f;
  border: 1px solid rgba(58, 39, 17, 0.12);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.lt-level-badge i {
  color: #3a2711;
  font-size: 0.95rem;
}

.lt-level-badge--junior {
  color: #fff;
  background: #b96b9f;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 4px 12px rgba(185, 107, 159, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.lt-level-badge--junior i {
  color: #fff;
}

.lt-hero__cta {
  animation: lt-fade-up 0.75s 0.32s ease both;
}

.lt-btn-gold {
  background: linear-gradient(135deg, #e8d48b 0%, #c9a227 55%, #a8841a 100%);
  color: #1f1b08 !important;
  border: none;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.lt-btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 28px rgba(201, 162, 39, 0.45);
  color: #1f1b08 !important;
}

.lt-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  font-weight: 500;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.lt-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff !important;
  transform: translateY(-2px);
}

.lt-btn-pdf {
  background: linear-gradient(135deg, #e85a4f 0%, #c62828 55%, #8e1b1b 100%);
  border: none;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(198, 40, 40, 0.38);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.lt-btn-pdf:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 14px 28px rgba(198, 40, 40, 0.5);
  color: #fff !important;
}

/* ---------- Hero: shared download documents ---------- */

.lt-docs {
  margin-top: 1.25rem;
  padding: 0.9rem;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(255, 214, 102, 0.24) 0%, rgba(232, 190, 60, 0.14) 100%);
  border: 1px solid rgba(255, 214, 102, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 236, 170, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: lt-fade-up 0.75s 0.38s ease both;
}

.lt-docs__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.7rem 0.15rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff3c4;
}

.lt-docs__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 212, 139, 0.45), transparent);
}

.lt-docs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.lt-doc {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.7rem 0.8rem;
  border-radius: 0.9rem;
  text-decoration: none;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.lt-doc:hover,
.lt-doc:focus-visible {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(232, 212, 139, 0.6);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  outline: none;
}

.lt-doc__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  font-size: 1.05rem;
  color: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.lt-doc__icon--form {
  background: linear-gradient(135deg, #e8d48b, #c9a227 60%, #a8841a);
  color: #1f1b08;
}

.lt-doc__icon--letter {
  background: linear-gradient(135deg, #3ccf9b, #1aa67a 60%, #0d6b68);
}

.lt-doc__icon--details {
  background: linear-gradient(135deg, #f07a6e, #c62828 60%, #8e1b1b);
}

/* Teacher manual (PDF): full-width card under the downloads */
.lt-doc--manual {
  grid-column: 1 / -1;
}

.lt-doc__icon--manual {
  background: linear-gradient(135deg, #22a6c9, #0d6b68);
}

.lt-ios .lt-doc.lt-doc--manual {
  background: linear-gradient(135deg, rgba(226, 246, 249, 0.95), rgba(255, 255, 255, 0.88));
  border-color: rgba(34, 166, 201, 0.4);
}

.lt-ios .lt-doc.lt-doc--manual:hover,
.lt-ios .lt-doc.lt-doc--manual:focus-visible {
  border-color: rgba(34, 166, 201, 0.7);
}

.lt-btn-manual {
  color: #fff !important;
  font-weight: 600;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  transition: transform 0.25s ease, background 0.25s ease;
}

.lt-btn-manual:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.lt-ios .lt-btn-manual {
  color: #0d6b68 !important;
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(34, 166, 201, 0.4);
}

.lt-ios .lt-btn-manual:hover {
  background: #fff;
}

.lt-doc__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.lt-doc__text strong {
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.lt-doc__text small {
  margin-top: 0.1rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lt-doc__arrow {
  margin-left: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.25s ease, color 0.25s ease;
}

.lt-doc:hover .lt-doc__arrow {
  background: var(--lt-gold, #c9a227);
  color: #1f1b08;
}

@media (max-width: 575.98px) {
  .lt-docs__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .lt-doc {
    flex-direction: column;
    align-items: flex-start;
  }

  .lt-doc__arrow {
    display: none;
  }
}

.lt-wave {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 2.75rem;
  margin-top: 1.75rem;
  animation: lt-fade-up 0.75s 0.4s ease both;
}

.lt-wave span {
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--lt-gold-soft), rgba(255, 255, 255, 0.35));
  animation: lt-wave-bar 1.2s ease-in-out infinite;
}

.lt-wave span:nth-child(1) {
  height: 35%;
  animation-delay: 0s;
}
.lt-wave span:nth-child(2) {
  height: 70%;
  animation-delay: 0.1s;
}
.lt-wave span:nth-child(3) {
  height: 45%;
  animation-delay: 0.2s;
}
.lt-wave span:nth-child(4) {
  height: 90%;
  animation-delay: 0.3s;
}
.lt-wave span:nth-child(5) {
  height: 55%;
  animation-delay: 0.4s;
}
.lt-wave span:nth-child(6) {
  height: 75%;
  animation-delay: 0.15s;
}
.lt-wave span:nth-child(7) {
  height: 40%;
  animation-delay: 0.25s;
}

@keyframes lt-wave-bar {
  0%,
  100% {
    transform: scaleY(0.55);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes lt-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lt-section {
  background: var(--lt-surface);
  position: relative;
}

.lt-section-alt {
  background: #fff;
  position: relative;
}

/* เมื่อ hover การ์ด ให้ section นั้นอยู่เหนือ section ถัดไป กันทับ */
.lt-section:has(.lt-card:hover),
.lt-section-alt:has(.lt-card:hover) {
  z-index: 3;
}

.lt-section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lt-section-title span {
  color: var(--lt-teal);
}

.lt-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lt-teal);
  margin-bottom: 0.5rem;
}

.lt-card {
  position: relative;
  z-index: 1;
  height: auto;
  padding: 1.35rem 1.4rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(13, 107, 104, 0.1);
  box-shadow: 0 10px 28px rgba(3, 32, 31, 0.05);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    z-index 0s;
}

/* การ์ดเดี่ยวในคอลัมน์กริด (เช่น snapshot / กติกา) ให้สูงเท่ากัน — ไม่ยืดการ์ดที่มีเนื้อหาอื่นในคอลัมน์เดียวกัน */
.row > [class*="col-"] > .lt-card:only-child {
  height: 100%;
}

.lt-card:hover {
  z-index: 5;
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(13, 107, 104, 0.12);
  border-color: rgba(13, 107, 104, 0.22);
}

.lt-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, rgba(13, 107, 104, 0.12), rgba(26, 166, 122, 0.18));
  color: var(--lt-teal);
  margin-bottom: 0.85rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.lt-card:hover .lt-card__icon {
  transform: scale(1.08) rotate(-4deg);
}

.lt-timeline {
  position: relative;
  padding-left: 0;
  margin: 0;
}

/* ไม่ใช้เส้นตรงเต็มความสูงอีกต่อไป */
.lt-timeline::before {
  content: none;
}

.lt-timeline__item {
  position: relative;
  padding: 0.15rem 0 1.85rem 2.85rem;
}

.lt-timeline__item:last-child {
  padding-bottom: 0.15rem;
}

/* ลูกศรชี้ลงแทนวงกลม */
.lt-timeline__item::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.15rem;
  width: 1.4rem;
  height: 1.4rem;
  border: none;
  border-radius: 0;
  background: linear-gradient(160deg, var(--lt-teal) 0%, var(--lt-mint) 100%);
  box-shadow: 0 4px 12px rgba(13, 107, 104, 0.28);
  clip-path: polygon(30% 0%, 70% 0%, 70% 48%, 100% 48%, 50% 100%, 0% 48%, 30% 48%);
  animation: lt-arrow-bob 1.7s ease-in-out infinite;
}

.lt-timeline__item--gold::before {
  background: linear-gradient(160deg, #d4af37 0%, #c9a227 55%, #a8841a 100%);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
  animation-name: lt-arrow-bob-gold;
}

/* เส้นประลูกศรไหลลงเชื่อมระหว่างขั้น (ไม่ใช่เส้นตรงทึบ) */
.lt-timeline__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.78rem;
  top: 1.7rem;
  width: 0.28rem;
  height: calc(100% - 1.85rem);
  border-radius: 999px;
  background: repeating-linear-gradient(
    180deg,
    var(--lt-teal) 0 0.32rem,
    transparent 0.32rem 0.7rem
  );
  background-size: 100% 0.7rem;
  opacity: 0.5;
  animation: lt-arrow-flow 1s linear infinite;
  mask-image: linear-gradient(180deg, #000 0%, #000 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 65%, transparent 100%);
}

.lt-timeline__item--gold:not(:last-child)::after {
  background: repeating-linear-gradient(
    180deg,
    #c9a227 0 0.32rem,
    transparent 0.32rem 0.7rem
  );
  background-size: 100% 0.7rem;
}

@keyframes lt-arrow-bob {
  0%,
  100% {
    transform: translateY(0);
    filter: brightness(1);
  }
  50% {
    transform: translateY(5px);
    filter: brightness(1.08);
  }
}

@keyframes lt-arrow-bob-gold {
  0%,
  100% {
    transform: translateY(0);
    filter: brightness(1);
  }
  50% {
    transform: translateY(5px);
    filter: brightness(1.12);
  }
}

@keyframes lt-arrow-flow {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 0.7rem;
  }
}

.lt-timeline__date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lt-teal);
}

.lt-score {
  display: grid;
  gap: 0.85rem;
}

.lt-score__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  align-items: end;
}

.lt-score__label {
  font-weight: 500;
  font-size: 0.95rem;
}

.lt-score__pts {
  font-weight: 700;
  color: var(--lt-teal);
  font-variant-numeric: tabular-nums;
}

.lt-score__bar {
  grid-column: 1 / -1;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(13, 107, 104, 0.1);
  overflow: hidden;
}

.lt-score__fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lt-teal), var(--lt-mint) 70%, var(--lt-gold));
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.lt-score.is-inview .lt-score__fill {
  width: var(--lt-w, 0%);
}

.lt-prize {
  position: relative;
  text-align: center;
  padding: 1.5rem 1.1rem 1.35rem;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid rgba(13, 107, 104, 0.1);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.lt-prize__medal {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(145deg, #b8c0c8, #8a939c);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  animation: lt-medal-bob 2.4s ease-in-out infinite;
}

.lt-prize__medal--gold {
  background: linear-gradient(145deg, #f5e6a8 0%, #d4af37 45%, #a8841a 100%);
  color: #5c4508;
  box-shadow: 0 8px 18px rgba(201, 162, 39, 0.45);
  font-size: 1.55rem;
  width: 3.35rem;
  height: 3.35rem;
  animation-name: lt-medal-shine;
}

.lt-prize__medal--silver {
  background: linear-gradient(145deg, #f0f3f6 0%, #c5ccd3 50%, #8e98a3 100%);
  color: #3d464f;
}

.lt-prize__medal--bronze {
  background: linear-gradient(145deg, #e8b892 0%, #cd7f32 55%, #8a4f1a 100%);
  color: #3f220c;
}

.lt-prize__medal--mention {
  background: linear-gradient(145deg, #7ec9b0, #0d6b68);
  color: #fff;
  font-size: 1.15rem;
}

@keyframes lt-medal-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes lt-medal-shine {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
  50% {
    transform: translateY(-5px) scale(1.06);
    filter: brightness(1.12);
  }
}

.lt-prize:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 107, 104, 0.12);
}

.lt-prize--1 {
  background: linear-gradient(180deg, #fff9e8 0%, #fff 55%);
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: 0 12px 28px rgba(201, 162, 39, 0.15);
}

.lt-prize--1::before {
  content: "★";
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  color: var(--lt-gold);
  animation: lt-star-twinkle 2s ease-in-out infinite;
}

@keyframes lt-star-twinkle {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.lt-prize__rank {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lt-muted);
  margin-bottom: 0.35rem;
}

.lt-prize__amount {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--lt-teal);
  line-height: 1.2;
}

.lt-prize--1 .lt-prize__amount {
  color: #9a7b1a;
  font-size: 1.85rem;
}

.lt-prize__unit {
  font-size: 0.85rem;
  color: var(--lt-muted);
}

.lt-rule {
  padding: 0.95rem 1.1rem;
  border-radius: 0.85rem;
  background: rgba(13, 107, 104, 0.04);
  border-left: 3px solid var(--lt-teal);
  transition: background 0.25s ease;
}

.lt-rule:hover {
  background: rgba(13, 107, 104, 0.08);
}

.lt-rule__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.6rem;
  margin-right: 0.45rem;
  border-radius: 0.45rem;
  background: var(--lt-teal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.lt-cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #03201f 0%, #0d6b68 50%, #157347 100%);
  color: #fff;
  border-radius: 1.35rem;
}

.lt-cta-band::before {
  content: "";
  position: absolute;
  width: 16rem;
  height: 16rem;
  right: -4rem;
  top: -5rem;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.25);
  filter: blur(30px);
  animation: lt-orb-float 10s ease-in-out infinite;
}

.lt-sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 1030;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem 0.65rem 1.1rem;
  border-radius: 999px;
  background: rgba(3, 32, 31, 0.92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(3, 32, 31, 0.35);
  backdrop-filter: blur(10px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: calc(100vw - 1.5rem);
}

.lt-sticky-cta.is-visible {
  transform: translateX(-50%) translateY(0);
}

.lt-sticky-cta__text {
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lt-sticky-cta .btn {
  flex-shrink: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
}

@media (max-width: 575.98px) {
  .lt-sticky-cta__text {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lt-hero__orb,
  .lt-hero__note,
  .lt-wave span,
  .lt-prize--1::before,
  .lt-timeline__item::before,
  .lt-timeline__item:not(:last-child)::after,
  .agifair-contest-menu::before,
  .lt-hero-title__ico,
  .lt-hero-title__line--sub,
  .lt-hero-title__line--main,
  .lt-hero-title__shine,
  .lt-hero-title__underline,
  .lt-hero-title__line--sub i {
    animation: none !important;
  }

  .lt-hero-title__ico,
  .lt-hero-title__line--sub,
  .lt-hero-title__line--main {
    opacity: 1 !important;
    transform: none !important;
  }

  .lt-hero-title__underline {
    width: min(14rem, 70%) !important;
    opacity: 1 !important;
  }

  .lt-score__fill {
    transition: none;
  }

  .navbar .nav-item.agifair-contest-nav:hover .agifair-contest-menu__item {
    animation: none !important;
  }
}

/* ---------- Full brief document (เนื้อหาครบตามประกาศ) ---------- */
.lt-brief {
  padding: 1.75rem 1.5rem 2rem;
}

@media (min-width: 768px) {
  .lt-brief {
    padding: 2.25rem 2.5rem 2.75rem;
  }
}

.lt-brief__intro {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(13, 107, 104, 0.12);
}

.lt-brief__doc-title {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--lt-teal, #0d6b68);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.lt-brief__lead,
.lt-brief__meta,
.lt-brief__meta-label,
.lt-brief__theme {
  color: #3d4742;
  margin-bottom: 0.5rem;
}

.lt-brief__theme {
  color: var(--lt-teal, #0d6b68);
}

.lt-brief__h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #142018;
  margin: 2rem 0 0.85rem;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(90deg, rgba(13, 107, 104, 0.1), transparent 85%);
  border-left: 4px solid var(--lt-teal, #0d6b68);
  border-radius: 0 0.5rem 0.5rem 0;
  scroll-margin-top: 6rem;
}

.lt-brief__h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0d5037;
  margin: 1.25rem 0 0.55rem;
}

.lt-brief__p {
  color: #2b3430;
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.lt-brief__ul,
.lt-brief__ol {
  color: #2b3430;
  line-height: 1.7;
  margin-bottom: 1rem;
  padding-left: 1.35rem;
}

.lt-brief__ul li,
.lt-brief__ol li {
  margin-bottom: 0.4rem;
}

.lt-brief__table-wrap {
  margin: 1rem 0 1.35rem;
}

.lt-brief__table {
  margin-bottom: 0;
  font-size: 0.92rem;
  border: 1px solid rgba(13, 107, 104, 0.15);
}

.lt-brief__table th {
  background: linear-gradient(135deg, #0d6b68, #157347);
  color: #fff;
  font-weight: 600;
  vertical-align: middle;
}

.lt-brief__table td {
  vertical-align: top;
  color: #2b3430;
}

.lt-brief__table tfoot td {
  background: rgba(13, 107, 104, 0.06);
}

.lt-brief__prizes {
  margin: 0.75rem 0 1.25rem;
  display: grid;
  gap: 0.45rem;
}

.lt-brief__prize-row {
  padding: 0.65rem 0.9rem;
  border-radius: 0.65rem;
  background: rgba(13, 107, 104, 0.05);
  border-left: 3px solid var(--lt-gold, #c9a227);
  color: #142018;
  font-weight: 500;
}

.lt-brief__notes {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.25);
}

.lt-brief__toc {
  display: none;
}

.lt-toc {
  position: relative;
  margin: 0 auto 1.75rem;
  padding: 1rem;
  max-width: 56rem;
  border-radius: 1.35rem;
  background:
    radial-gradient(ellipse 70% 90% at 0% 0%, rgba(201, 162, 39, 0.14), transparent 50%),
    linear-gradient(155deg, #ffffff 0%, #f3faf7 100%);
  border: 1px solid rgba(13, 107, 104, 0.12);
  box-shadow:
    0 16px 40px rgba(3, 32, 31, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.lt-toc__rail {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #0d6b68, #20c997 50%, #d4af37);
  background-size: 100% 200%;
  animation: lt-toc-rail 4s ease-in-out infinite;
}

@keyframes lt-toc-rail {
  0%,
  100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 0% 100%;
  }
}

.lt-toc__links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 576px) {
  .lt-toc__links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .lt-toc__links {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .lt-toc__links {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.lt-toc__item {
  --lt-toc-i: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.9rem;
  text-decoration: none;
  color: #142018;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 107, 104, 0.1);
  box-shadow: 0 4px 12px rgba(3, 32, 31, 0.04);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    color 0.28s ease;
  animation: lt-toc-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--lt-toc-i) * 0.05s);
}

@keyframes lt-toc-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lt-toc__item:hover,
.lt-toc__item:focus {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #0d6b68 0%, #157347 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 24px rgba(13, 107, 104, 0.22);
}

.lt-toc__item-icon {
  flex: 0 0 2.1rem;
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: rgba(13, 107, 104, 0.1);
  color: #0d6b68;
  font-size: 0.9rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), background 0.28s ease, color 0.28s ease;
}

.lt-toc__item:hover .lt-toc__item-icon,
.lt-toc__item:focus .lt-toc__item-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: scale(1.08) rotate(-8deg);
}

.lt-toc__item-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.3;
}

.lt-toc__item-go {
  flex: 0 0 auto;
  opacity: 0.35;
  font-size: 0.7rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lt-toc__item:hover .lt-toc__item-go,
.lt-toc__item:focus .lt-toc__item-go {
  opacity: 1;
  transform: translateX(3px);
}

/* Prize TOC card — gold + motion */
.lt-toc__item--prize {
  position: relative;
  overflow: hidden;
  color: #3f3008;
  background: linear-gradient(135deg, #fff8e1 0%, #f5e6a8 42%, #e8c96a 100%);
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow:
    0 8px 22px rgba(201, 162, 39, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  animation:
    lt-toc-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both,
    lt-toc-prize-glow 2.8s ease-in-out infinite;
  animation-delay: calc(var(--lt-toc-i) * 0.05s), 0.6s;
}

.lt-toc__item--prize::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
  background-size: 220% 100%;
  animation: lt-name-shine 3.8s ease-in-out infinite;
  pointer-events: none;
}

.lt-toc__item--prize .lt-toc__item-icon,
.lt-toc__item--prize .lt-toc__item-text,
.lt-toc__item--prize .lt-toc__item-go {
  position: relative;
  z-index: 1;
}

.lt-toc__item--prize .lt-toc__item-icon {
  background: linear-gradient(145deg, #f5e6a8, #c9a227);
  color: #3f3008;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.35);
  animation: lt-medal-shine 2.4s ease-in-out infinite;
}

.lt-toc__item--prize .lt-toc__item-text {
  font-weight: 600;
}

.lt-toc__item--prize .lt-toc__item-go {
  opacity: 0.55;
  color: #8a6d12;
}

.lt-toc__item--prize:hover,
.lt-toc__item--prize:focus {
  color: #2a2005;
  background: linear-gradient(135deg, #ffe9a8 0%, #f0d060 50%, #d4af37 100%);
  border-color: rgba(180, 140, 20, 0.7);
  box-shadow: 0 14px 28px rgba(201, 162, 39, 0.4);
  transform: translateY(-3px) scale(1.02);
}

.lt-toc__item--prize:hover .lt-toc__item-icon,
.lt-toc__item--prize:focus .lt-toc__item-icon {
  background: linear-gradient(145deg, #fff6d0, #e0b84a);
  color: #3f3008;
}

@keyframes lt-toc-prize-glow {
  0%,
  100% {
    box-shadow:
      0 8px 22px rgba(201, 162, 39, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.65);
  }
  50% {
    box-shadow:
      0 12px 30px rgba(212, 175, 55, 0.48),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }
}

@media (min-width: 768px) {
  .lt-toc__item--center {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lt-toc__rail,
  .lt-toc__item,
  .lt-toc__item--prize,
  .lt-toc__item--prize::before,
  .lt-toc__item--prize .lt-toc__item-icon {
    animation: none !important;
  }
  .lt-toc__item:hover,
  .lt-toc__item--prize:hover {
    transform: none;
  }
}

.lt-brief__toc-title {
  display: none;
}

.lt-brief__toc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
}

.lt-brief__toc-links a {
  display: inline-block;
  font-size: 0.82rem;
  color: #0d5037;
  text-decoration: none;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(13, 107, 104, 0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.lt-brief__toc-links a:hover {
  background: var(--lt-teal, #0d6b68);
  color: #fff;
}

.lt-name-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.4rem;
  padding: 1.75rem 1.5rem 1.85rem;
  background:
    radial-gradient(ellipse 55% 70% at 95% 10%, rgba(201, 162, 39, 0.28), transparent 55%),
    linear-gradient(135deg, #03201f 0%, #0d6b68 48%, #0a4f4c 100%);
  color: #fff;
  box-shadow: 0 20px 48px rgba(3, 32, 31, 0.22);
}

@media (min-width: 768px) {
  .lt-name-card {
    padding: 2.25rem 2.5rem 2.4rem;
  }
}

.lt-name-card__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.45;
  pointer-events: none;
  animation: lt-orb-float 10s ease-in-out infinite;
}

.lt-name-card__orb--1 {
  width: 12rem;
  height: 12rem;
  top: -4rem;
  right: -2rem;
  background: #c9a227;
}

.lt-name-card__orb--2 {
  width: 10rem;
  height: 10rem;
  bottom: -3rem;
  left: -2rem;
  background: #20c997;
  animation-delay: -3s;
}

.lt-name-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.12) 48%, transparent 62%);
  background-size: 220% 100%;
  animation: lt-name-shine 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes lt-name-shine {
  0%,
  100% {
    background-position: 120% 0;
  }
  50% {
    background-position: -20% 0;
  }
}

.lt-name-card__inner {
  position: relative;
  z-index: 1;
}

.lt-name-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem 0.35rem 0.35rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  animation: lt-fade-up 0.7s ease both;
}

.lt-name-card__badge-icon {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #f5e6a8, #c9a227);
  color: #3f3008;
  font-size: 0.75rem;
  animation: lt-medal-shine 2.6s ease-in-out infinite;
}

.lt-name-card__title {
  font-size: clamp(1.35rem, 3.2vw, 2rem) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 0.85rem !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  color: #fff !important;
  letter-spacing: -0.02em;
  animation: lt-fade-up 0.75s 0.08s ease both;
}

.lt-name-card__level {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  animation: lt-fade-up 0.75s 0.14s ease both;
}

.lt-name-card__level--senior {
  background: #e2c275;
  color: #3f3008;
}

.lt-name-card__level--junior {
  background: #b96b9f;
  color: #fff;
}

.lt-name-card__theme {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.95rem 1.1rem;
  border-radius: 0.95rem;
  background: rgba(3, 32, 31, 0.28);
  border: 1px solid rgba(245, 230, 168, 0.35);
  animation: lt-fade-up 0.75s 0.2s ease both;
}

.lt-name-card__theme-label {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5e6a8;
}

.lt-name-card__theme-text {
  flex: 1 1 12rem;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.4;
  background: linear-gradient(105deg, #fff6d0 0%, #e8d48b 45%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lt-name-card__place {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  animation: lt-fade-up 0.75s 0.26s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .lt-name-card__orb,
  .lt-name-card__shine,
  .lt-name-card__badge,
  .lt-name-card__badge-icon,
  .lt-name-card__title,
  .lt-name-card__level,
  .lt-name-card__theme,
  .lt-name-card__place {
    animation: none !important;
  }
}

/* Beautiful content panels + motion */
.lt-intro-banner {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(201, 162, 39, 0.18), transparent 55%),
    linear-gradient(135deg, #ffffff 0%, #f0faf6 100%);
  border: 1px solid rgba(13, 107, 104, 0.12);
  box-shadow: 0 14px 36px rgba(3, 32, 31, 0.06);
}

.lt-intro-banner__glow {
  position: absolute;
  width: 10rem;
  height: 10rem;
  left: -3rem;
  bottom: -4rem;
  border-radius: 50%;
  background: rgba(26, 166, 122, 0.2);
  filter: blur(28px);
  animation: lt-orb-float 9s ease-in-out infinite;
  pointer-events: none;
}

.lt-sec-panel {
  position: relative;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(13, 107, 104, 0.1);
  box-shadow: 0 12px 32px rgba(3, 32, 31, 0.05);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.lt-sec-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(13, 107, 104, 0.12);
}

.lt-sec-panel__head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.25rem 1.35rem 0.85rem;
  background: linear-gradient(105deg, rgba(13, 107, 104, 0.08), transparent 70%);
  border-bottom: 1px solid rgba(13, 107, 104, 0.08);
}

.lt-sec-panel__icon {
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, #0d6b68, #1aa67a);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 8px 18px rgba(13, 107, 104, 0.28);
  animation: lt-icon-pop 2.8s ease-in-out infinite;
}

@keyframes lt-icon-pop {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

.lt-sec-panel__title {
  font-size: 1.15rem !important;
  margin: 0.15rem 0 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  line-height: 1.4;
}

.lt-sec-panel__body {
  padding: 1rem 1.35rem 1.5rem;
}

.lt-rule-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  margin-bottom: 0.55rem;
  border-radius: 0.9rem;
  background: rgba(13, 107, 104, 0.04);
  border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.lt-rule-item:hover {
  background: rgba(13, 107, 104, 0.08);
  border-color: rgba(13, 107, 104, 0.16);
  transform: translateX(4px);
}

.lt-rule-item__num,
.lt-rule-item__ico {
  flex: 0 0 auto;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: var(--lt-teal, #0d6b68);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.lt-rule-item__ico {
  width: 2rem;
  background: linear-gradient(145deg, rgba(13, 107, 104, 0.9), #1aa67a);
}

.lt-rule-item__body {
  color: #2b3430;
  line-height: 1.65;
  font-size: 0.98rem;
}

.lt-score-pill {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #3f5f56;
  background: rgba(13, 107, 104, 0.12);
  vertical-align: middle;
  white-space: nowrap;
}

.lt-score-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.95rem 1.15rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #0d6b68, #157347);
  color: #fff;
  font-size: 1.05rem;
}

.lt-score-total strong {
  font-size: 1.2rem;
  color: #f5e6a8;
}

/* Sub-items under headings like 10.1 / 10.2 — indent to the right */
.lt-sec-panel__body > .lt-rule-item:has(> .lt-rule-item__num) ~ .lt-rule-item:has(> .lt-rule-item__ico),
.lt-sec-panel__body > .lt-rule-item:has(> .lt-rule-item__num) ~ .lt-chip-list,
.lt-sec-panel__body > .lt-rule-item:has(> .lt-rule-item__num) + .lt-chip-list {
  margin-left: 1.85rem;
  max-width: calc(100% - 1.85rem);
}

.lt-sec-panel__body > .lt-rule-item:has(> .lt-rule-item__num) ~ .lt-rule-item:has(> .lt-rule-item__ico) {
  background: rgba(13, 107, 104, 0.03);
  border-left: 3px solid rgba(13, 107, 104, 0.2);
}

.lt-sec-panel__body > .lt-rule-item:has(> .lt-rule-item__num) ~ .lt-rule-item:has(> .lt-rule-item__ico):hover {
  transform: translateX(2px);
}

.lt-chip-list {
  display: grid;
  gap: 0.35rem;
}

.lt-chip-list .lt-rule-item {
  margin-bottom: 0;
}

.lt-score__label small {
  margin-top: 0.15rem;
  font-size: 0.8rem;
  line-height: 1.35;
}

.lt-reveal-section {
  scroll-margin-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .lt-sec-panel__icon,
  .lt-intro-banner__glow,
  .lt-prize__medal {
    animation: none !important;
  }
  .lt-rule-item:hover,
  .lt-sec-panel:hover {
    transform: none;
  }
}

/* —— Registration guide popup (brown-red) —— */
html.lt-reg-guide-lock {
  overflow: hidden;
}

.lt-reg-guide {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.lt-reg-guide.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lt-reg-guide[hidden] {
  display: none !important;
}

.lt-reg-guide.is-open[hidden] {
  display: flex !important;
}

.lt-reg-guide__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 18, 14, 0.72);
  backdrop-filter: blur(0px);
  opacity: 0;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.65s ease;
}

.lt-reg-guide.is-open .lt-reg-guide__backdrop {
  opacity: 1;
  backdrop-filter: blur(6px);
}

.lt-reg-guide__panel {
  position: relative;
  z-index: 1;
  width: min(40rem, 100%);
  max-height: none;
  overflow: hidden;
  border-radius: 1.35rem;
  color: #f8ebe3;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(232, 168, 110, 0.28), transparent 55%),
    linear-gradient(160deg, #5c241c 0%, #8b3a2a 42%, #6e2e24 100%);
  border: 1px solid rgba(232, 190, 140, 0.35);
  box-shadow:
    0 28px 64px rgba(42, 18, 14, 0.55),
    inset 0 1px 0 rgba(255, 230, 200, 0.2);
  opacity: 0;
  transform: translateY(28px) scale(0.94);
  filter: blur(4px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity, filter;
}

.lt-reg-guide.is-open .lt-reg-guide__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.lt-reg-guide__header,
.lt-reg-guide__step,
.lt-reg-guide__arrow,
.lt-reg-guide__footer {
  opacity: 1;
  transform: none;
}

.lt-reg-guide.is-open .lt-reg-guide__header {
  animation: lt-reg-rise 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.1s;
}

.lt-reg-guide.is-open .lt-reg-guide__step:nth-child(1) {
  animation: lt-reg-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.18s;
}

.lt-reg-guide.is-open .lt-reg-guide__arrow:nth-child(2) {
  animation: lt-reg-rise 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.24s;
}

.lt-reg-guide.is-open .lt-reg-guide__step:nth-child(3) {
  animation: lt-reg-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.3s;
}

.lt-reg-guide.is-open .lt-reg-guide__arrow:nth-child(4) {
  animation: lt-reg-rise 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.36s;
}

.lt-reg-guide.is-open .lt-reg-guide__step:nth-child(5) {
  animation: lt-reg-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.42s;
}

.lt-reg-guide.is-open .lt-reg-guide__arrow:nth-child(6) {
  animation: lt-reg-rise 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.48s;
}

.lt-reg-guide.is-open .lt-reg-guide__step:nth-child(7) {
  animation: lt-reg-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.54s;
}

.lt-reg-guide.is-open .lt-reg-guide__arrow:nth-child(8) {
  animation: lt-reg-rise 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.6s;
}

.lt-reg-guide.is-open .lt-reg-guide__step:nth-child(9) {
  animation: lt-reg-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.66s;
}

.lt-reg-guide.is-open .lt-reg-guide__footer {
  animation: lt-reg-rise 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.72s;
}

@keyframes lt-reg-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lt-reg-guide__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition:
    background 0.25s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease 0.4s;
}

.lt-reg-guide.is-open .lt-reg-guide__close {
  opacity: 1;
}

.lt-reg-guide__close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(90deg);
}

.lt-reg-guide__header {
  padding: 1.15rem 1.35rem 0.65rem;
  text-align: center;
}

.lt-reg-guide__icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.25rem;
  color: #5c241c;
  background: linear-gradient(145deg, #f5d5a8, #e2a85c);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  animation: lt-reg-pulse 2.4s ease-in-out infinite;
}

@keyframes lt-reg-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 10px 28px rgba(226, 168, 92, 0.45);
  }
}

.lt-reg-guide__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 236, 220, 0.88);
  letter-spacing: 0.02em;
}

.lt-reg-guide__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.lt-reg-guide__title-motion {
  display: inline-block;
  background: linear-gradient(105deg, #fff6e8 0%, #f0c888 40%, #fff 70%, #f0c888 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lt-reg-title-shine 3.2s ease-in-out infinite;
}

@keyframes lt-reg-title-shine {
  0%,
  100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0% 0;
  }
}

.lt-reg-guide__sub {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 230, 210, 0.82);
}

.lt-reg-guide__body {
  padding: 0 1rem 0.25rem;
}

.lt-reg-guide__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lt-reg-guide__steps > li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.55rem 0.7rem;
  border-radius: 0.8rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 220, 190, 0.12);
}

.lt-reg-guide__step {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.55rem 0.7rem;
  border-radius: 0.8rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 220, 190, 0.12);
}

.lt-reg-guide__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.2rem 0;
  color: #f0c888;
  font-size: 0.95rem;
}

.lt-reg-guide__arrow i {
  animation: lt-reg-arrow-bounce 1.25s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(240, 200, 136, 0.55));
}

.lt-reg-guide__arrow-line {
  display: block;
  width: 2.25rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(240, 200, 136, 0.75), transparent);
  opacity: 0.7;
}

@keyframes lt-reg-arrow-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.65;
  }
  50% {
    transform: translateY(5px);
    opacity: 1;
  }
}

.lt-reg-guide__step-num {
  flex: 0 0 1.7rem;
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
  color: #5c241c;
  background: linear-gradient(145deg, #f5d5a8, #d4a05a);
}

.lt-reg-guide__step-content {
  flex: 1 1 auto;
  min-width: 0;
}

.lt-reg-guide__step-label {
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffe8d4;
}

.lt-reg-guide__step-label i,
.lt-reg-guide__step-text i {
  margin-right: 0.35rem;
  opacity: 0.9;
}

.lt-reg-guide__step-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 240, 230, 0.95);
}

.lt-reg-guide__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.lt-reg-guide__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: #5c241c;
  background: rgba(255, 245, 230, 0.92);
  border: 1px solid rgba(255, 220, 180, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lt-reg-guide__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  color: #5c241c;
  background: #fff8f0;
}

.lt-reg-guide__btn--pdf {
  color: #7a1f1f;
  background: linear-gradient(135deg, #ffe8e0, #ffd2c4);
}

.lt-reg-guide__btn--pdf i {
  color: #c0392b;
}

.lt-reg-guide__btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #c45c3a, #9e3d28);
  border-color: transparent;
}

.lt-reg-guide__btn--primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #d46a48, #b04830);
}

.lt-reg-guide__note-inline {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 230, 210, 0.85);
}

.lt-reg-guide__hint {
  margin: 0.4rem 0 0;
  padding: 0.45rem 0.6rem;
  border-radius: 0.55rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #5c3a18;
  background: rgba(255, 230, 180, 0.88);
}

.lt-reg-guide__footer {
  padding: 0.55rem 1rem 0.95rem;
  display: grid;
  gap: 0.4rem;
}

.lt-reg-guide__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.95rem;
  text-decoration: none;
  color: #3f2a0a;
  background: linear-gradient(135deg, #f5e0a8 0%, #e2c275 50%, #d4af37 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  animation: lt-reg-cta-glow 2.6s ease-in-out infinite;
  transition: transform 0.25s ease;
}

.lt-reg-guide__cta:hover {
  color: #3f2a0a;
  transform: translateY(-2px) scale(1.01);
}

.lt-reg-guide__cta i {
  flex: 0 0 auto;
  font-size: 1.35rem;
}

.lt-reg-guide__cta span {
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 500;
}

.lt-reg-guide__cta strong {
  font-size: 0.95rem;
  font-weight: 700;
}

@keyframes lt-reg-cta-glow {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  }
  50% {
    box-shadow: 0 12px 32px rgba(226, 194, 117, 0.55);
  }
}

.lt-reg-guide__dismiss {
  border: 0;
  background: transparent;
  color: rgba(255, 230, 210, 0.75);
  font-size: 0.82rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.25rem;
}

.lt-reg-guide__dismiss:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .lt-reg-guide,
  .lt-reg-guide__backdrop,
  .lt-reg-guide__panel,
  .lt-reg-guide__header,
  .lt-reg-guide__step,
  .lt-reg-guide__arrow,
  .lt-reg-guide__footer,
  .lt-reg-guide__close,
  .lt-reg-guide__icon-wrap,
  .lt-reg-guide__title-motion,
  .lt-reg-guide__cta,
  .lt-reg-guide__arrow i {
    animation: none !important;
    transition: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}



/* —— Contest overview schedule (contest.html) —— */
.csched-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 3rem;
  color: #fff;
  background:
    radial-gradient(ellipse 55% 70% at 95% 0%, rgba(201, 162, 39, 0.3), transparent 55%),
    linear-gradient(135deg, #03201f 0%, #0d6b68 48%, #0a4f4c 100%);
}

.csched-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.4;
  pointer-events: none;
  animation: lt-orb-float 11s ease-in-out infinite;
}

.csched-hero__orb--1 {
  width: 14rem;
  height: 14rem;
  top: -4rem;
  right: 10%;
  background: #c9a227;
}

.csched-hero__orb--2 {
  width: 11rem;
  height: 11rem;
  bottom: -3rem;
  left: 5%;
  background: #20c997;
  animation-delay: -4s;
}

.csched-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.csched-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.45);
}

.csched-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.csched-hero__title {
  font-family: Kanit, sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.csched-hero__title span {
  background: linear-gradient(105deg, #fff6d0, #e2c275, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lt-hero-title-shine 4s ease-in-out infinite;
  background-size: 220% 100%;
}

.csched-hero__sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.csched-hero__card {
  padding: 1.35rem 1.4rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  animation: lt-fade-up 0.8s 0.2s ease both;
}

.csched-hero__card-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06em;
}

.csched-hero__card-date {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

.csched-section {
  background:
    radial-gradient(ellipse 70% 40% at 10% 0%, rgba(186, 220, 210, 0.45), transparent 55%),
    radial-gradient(ellipse 60% 35% at 90% 8%, rgba(232, 220, 245, 0.4), transparent 50%),
    linear-gradient(180deg, #f6f8f6 0%, #eef3f0 55%, #f4f1f5 100%);
}

.csched-section__title {
  font-family: Kanit, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #142018;
}

.csched-section__title span {
  color: #0d6b68;
}

.csched-days {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.csched-days__btn {
  border: 1px solid rgba(13, 107, 104, 0.2);
  background: #fff;
  color: #0d6b68;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.csched-days__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(13, 107, 104, 0.15);
}

.csched-days__btn.is-active {
  color: #3d5a52;
  background: linear-gradient(135deg, #d8ebe4, #c5ddd4);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(125, 160, 148, 0.22);
}

.csched-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .csched-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.csched-loc {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(13, 107, 104, 0.1);
  box-shadow: 0 14px 36px rgba(3, 32, 31, 0.07);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.csched-loc:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(3, 32, 31, 0.12);
}

.csched-loc.is-hidden,
.csched-event.is-hidden {
  display: none !important;
}

.csched-loc__head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  background: linear-gradient(135deg, #0d6b68, #157347);
  color: #fff;
}

.csched-loc__pin {
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  animation: lt-reg-pulse 2.8s ease-in-out infinite;
}

.csched-loc__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.csched-loc__hint {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

.csched-loc__body {
  padding: 1rem 1.15rem 1.2rem;
  display: grid;
  gap: 0.85rem;
}

.csched-event {
  padding: 1rem;
  border-radius: 1rem;
  background: #f7fbf9;
  border: 1px solid rgba(13, 107, 104, 0.08);
  animation: lt-fade-up 0.55s ease both;
}

.csched-event__day {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0d6b68;
  background: rgba(13, 107, 104, 0.1);
}

.csched-event__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #142018;
  margin: 0 0 0.55rem;
  line-height: 1.35;
}

.csched-event__theme {
  margin: 0.45rem 0 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #3f3008;
  background: linear-gradient(135deg, #fff8e1, #f5e6a8);
}

.csched-event__meta {
  list-style: none;
  margin: 0.65rem 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.csched-event__meta li {
  font-size: 0.86rem;
  color: #3d4f47;
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}

.csched-event__meta i {
  color: #0d6b68;
  margin-top: 0.2rem;
  width: 1rem;
  text-align: center;
}

.csched-event__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0d6b68;
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.csched-event__link:hover {
  color: #c9a227;
  gap: 0.65rem;
}

.csched-prizes {
  background: #03201f;
  color: #fff;
}

.csched-prize-hero {
  height: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 162, 39, 0.35), transparent 60%),
    linear-gradient(160deg, #0d6b68, #03201f);
  border: 1px solid rgba(245, 230, 168, 0.25);
}

.csched-prize-hero__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.35rem;
  color: #3f3008;
  background: linear-gradient(145deg, #f5e6a8, #c9a227);
  animation: lt-medal-shine 2.6s ease-in-out infinite;
}

.csched-prize-hero__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.csched-prize-hero__sum {
  font-size: 2rem;
  font-weight: 700;
  color: #f5e6a8;
  margin-bottom: 0.5rem;
}

.csched-prize-hero__sum span {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.csched-prize-list {
  display: grid;
  gap: 0.65rem;
}

.csched-prize-item {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.csched-prize-item span {
  font-weight: 600;
}

.csched-prize-item strong {
  color: #f5e6a8;
}

.csched-prize-item em {
  font-style: normal;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.csched-prize-item--1 {
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.25), rgba(255, 255, 255, 0.04));
  border-color: rgba(201, 162, 39, 0.35);
}

.csched-perk {
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

.csched-docs {
  background: #fff;
}

.csched-doc {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  height: 100%;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #f7fbf9;
  border: 1px solid rgba(13, 107, 104, 0.1);
  font-weight: 500;
  color: #142018;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.csched-doc:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(3, 32, 31, 0.08);
}

.csched-doc i {
  color: #0d6b68;
  margin-top: 0.15rem;
}

.csched-doc--warn {
  background: #fff8e1;
  border-color: rgba(201, 162, 39, 0.35);
}

.csched-doc--warn i {
  color: #c9a227;
}

.csched-rules {
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: rgba(13, 107, 104, 0.06);
  border-left: 4px solid #0d6b68;
  font-size: 0.92rem;
  color: #2b3430;
}

.csched-mini {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  text-decoration: none;
  color: #142018;
  background: #fff;
  border: 1px solid rgba(13, 107, 104, 0.12);
  box-shadow: 0 8px 20px rgba(3, 32, 31, 0.05);
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.csched-mini i {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  color: #0d6b68;
  background: rgba(13, 107, 104, 0.1);
}

.csched-mini:hover {
  transform: translateY(-4px);
  color: #fff;
  background: linear-gradient(135deg, #0d6b68, #157347);
  box-shadow: 0 14px 28px rgba(13, 107, 104, 0.22);
}

.csched-mini:hover i {
  color: #3f3008;
  background: linear-gradient(145deg, #f5e6a8, #c9a227);
}

@media (prefers-reduced-motion: reduce) {
  .csched-hero__orb,
  .csched-hero__title span,
  .csched-loc__pin,
  .csched-prize-hero__icon,
  .csched-event {
    animation: none !important;
  }
  .csched-loc:hover,
  .csched-doc:hover,
  .csched-mini:hover {
    transform: none;
  }
}

/* Schedule filter / entrance motion */
@keyframes csched-grid-pulse {
  0% { opacity: 0.55; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes csched-loc-enter {
  0% { opacity: 0; transform: translateY(18px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes csched-event-enter {
  0% { opacity: 0; transform: translateX(-10px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes csched-days-glow {
  0%, 100% { box-shadow: 0 6px 16px rgba(125, 160, 148, 0.18); }
  50% { box-shadow: 0 8px 22px rgba(125, 160, 148, 0.28); }
}

.csched-grid--pulse {
  animation: csched-grid-pulse 0.45s ease both;
}

.csched-loc--enter {
  animation: csched-loc-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--csched-i, 0) * 60ms);
}

.csched-event--enter {
  animation: csched-event-enter 0.45s ease both;
}

.csched-days__btn.is-active {
  animation: csched-days-glow 2.4s ease-in-out infinite;
}

.csched-prize-item {
  transition: transform 0.3s ease, background 0.3s ease;
}

.csched-prize-item:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.1);
}

.csched-hero__kicker {
  animation: lt-fade-up 0.7s ease both;
}

.csched-days {
  position: relative;
}

.csched-days::after {
  content: "";
  display: block;
  width: min(220px, 50%);
  height: 3px;
  margin: 1rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #c9a227, #0d6b68, transparent);
  animation: lt-hero-title-shine 3.5s ease-in-out infinite;
  background-size: 200% 100%;
}

@media (prefers-reduced-motion: reduce) {
  .csched-grid--pulse,
  .csched-loc--enter,
  .csched-event--enter,
  .csched-days__btn.is-active,
  .csched-days::after {
    animation: none !important;
  }
  .csched-prize-item:hover {
    transform: none;
  }
}

/* —— Contest schedule: header title match activity style + day layout —— */
.csched-hero__title-block {
  max-width: 40rem;
  margin-bottom: 0.85rem;
}

.csched-hero__title-block .lt-hero-title__heading {
  font-size: clamp(1.7rem, 4.4vw, 2.75rem);
}

.csched-hero .lt-hero-title__line--sub {
  color: rgba(255, 255, 255, 0.96);
}

.csched-hero .lt-hero-title__line--sub i {
  color: #0d6b68;
  background: rgba(255, 255, 255, 0.95);
}

.csched-dayblock {
  position: relative;
  margin-bottom: 2.75rem;
}

.csched-dayblock:last-child {
  margin-bottom: 0;
}

.csched-dayblock.is-hidden {
  display: none !important;
}

.csched-dayblock__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(13, 107, 104, 0.12);
}

.csched-dayblock__badge {
  flex: 0 0 auto;
  min-width: 4.5rem;
  padding: 0.6rem 1rem;
  border-radius: 0.85rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #fff;
  background: #3f5f56;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(63, 95, 86, 0.28);
}

.csched-dayblock__badge--tue {
  color: #fff;
  background: #564e72;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(86, 78, 114, 0.28);
}

.csched-dayblock__title {
  margin: 0;
  font-family: Kanit, sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: #142018;
}

.csched-dayblock__count {
  font-size: 0.88rem;
  color: #5a6b63;
}

.csched-daygrid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .csched-daygrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .csched-daygrid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.csched-card {
  --csched-accent: #5f8a7e;
  --csched-accent-soft: #b7d9cd;
  --csched-ico-fg: #355a50;
  --csched-ico-bg: #cfe6dd;
  --csched-wash-a: #d9ebe4;
  --csched-wash-b: #c5ddd3;
  --csched-border: rgba(95, 138, 126, 0.42);
  --csched-badge-bg: #3f5f56;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem 1.3rem 1.2rem;
  border-radius: 1.35rem;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background:
    radial-gradient(ellipse 75% 65% at 0% 0%, var(--csched-wash-b) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 100% 100%, var(--csched-wash-b) 0%, transparent 55%),
    linear-gradient(
      135deg,
      var(--csched-wash-b) 0%,
      var(--csched-wash-a) 28%,
      #fffcfa 48%,
      var(--csched-wash-a) 72%,
      var(--csched-wash-b) 100%
    );
  border: 1px solid var(--csched-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 10px 28px rgba(80, 100, 95, 0.08);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

a.csched-card:hover,
a.csched-card:focus-visible {
  text-decoration: none;
  color: inherit;
}

a.csched-card:focus-visible {
  outline: 2px solid var(--csched-accent);
  outline-offset: 3px;
}

.csched-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--csched-accent) 42%, transparent) 0%,
    transparent 34%,
    transparent 66%,
    color-mix(in srgb, var(--csched-accent) 36%, transparent) 100%
  );
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.csched-card::after {
  content: "";
  position: absolute;
  width: 10rem;
  height: 10rem;
  bottom: -3.5rem;
  right: -3rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--csched-accent-soft) 0%, transparent 70%);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

.csched-card > * {
  position: relative;
  z-index: 1;
}

.csched-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--csched-accent) 35%, transparent);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 40px rgba(80, 100, 95, 0.1);
}

/* Soft pastel rotations — mint / peach / lavender / sky / butter / rose (deeper wash) */
.csched-daygrid .csched-card:nth-child(6n + 1) {
  --csched-accent: #5f8a7e;
  --csched-accent-soft: #b7d9cd;
  --csched-ico-fg: #355a50;
  --csched-ico-bg: #cfe6dd;
  --csched-wash-a: #d9ebe4;
  --csched-wash-b: #c5ddd3;
  --csched-border: rgba(95, 138, 126, 0.42);
  --csched-badge-bg: #3f5f56;
}

.csched-daygrid .csched-card:nth-child(6n + 2) {
  --csched-accent: #b48a66;
  --csched-accent-soft: #e6d0b8;
  --csched-ico-fg: #6e4f38;
  --csched-ico-bg: #edd9c4;
  --csched-wash-a: #f0e0d0;
  --csched-wash-b: #e4cdb6;
  --csched-border: rgba(180, 138, 102, 0.42);
  --csched-badge-bg: #7a5640;
}

.csched-daygrid .csched-card:nth-child(6n + 3) {
  --csched-accent: #8578a8;
  --csched-accent-soft: #d4cce6;
  --csched-ico-fg: #544c72;
  --csched-ico-bg: #ddd5ec;
  --csched-wash-a: #e6e0f0;
  --csched-wash-b: #d5cce4;
  --csched-border: rgba(133, 120, 168, 0.42);
  --csched-badge-bg: #564e72;
}

.csched-daygrid .csched-card:nth-child(6n + 4) {
  --csched-accent: #6a96a8;
  --csched-accent-soft: #c5dae4;
  --csched-ico-fg: #3f6170;
  --csched-ico-bg: #d0e4ec;
  --csched-wash-a: #dceaf0;
  --csched-wash-b: #c6dbe4;
  --csched-border: rgba(106, 150, 168, 0.42);
  --csched-badge-bg: #3f5f6c;
}

.csched-daygrid .csched-card:nth-child(6n + 5) {
  --csched-accent: #a69460;
  --csched-accent-soft: #e2d6b4;
  --csched-ico-fg: #655836;
  --csched-ico-bg: #e9dfc0;
  --csched-wash-a: #efe6cc;
  --csched-wash-b: #e0d4b0;
  --csched-border: rgba(166, 148, 96, 0.42);
  --csched-badge-bg: #6a5e3c;
}

.csched-daygrid .csched-card:nth-child(6n + 6) {
  --csched-accent: #a67882;
  --csched-accent-soft: #e4ccd2;
  --csched-ico-fg: #6e4450;
  --csched-ico-bg: #ead5db;
  --csched-wash-a: #f0dde3;
  --csched-wash-b: #e2c8d0;
  --csched-border: rgba(166, 120, 130, 0.42);
  --csched-badge-bg: #6e454e;
}

.csched-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.csched-card__ico {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  font-size: 1rem;
  color: var(--csched-ico-fg);
  background: var(--csched-ico-bg);
  border: 1px solid color-mix(in srgb, var(--csched-accent) 22%, transparent);
  box-shadow: none;
}

.csched-card__ico--junior {
  color: #6a6088;
  background: #eee9f6;
  border-color: rgba(154, 143, 184, 0.28);
}

.csched-card .lt-level-badge,
.csched-card .lt-level-badge--junior {
  color: #fff;
  background: var(--csched-badge-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 3px 10px color-mix(in srgb, var(--csched-badge-bg) 35%, transparent);
}

.csched-card .lt-level-badge i,
.csched-card .lt-level-badge--junior i {
  color: #fff;
}

.csched-card__title {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  color: #2c3834;
}

.csched-card__place {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--csched-ico-fg);
}

.csched-card__place i {
  width: 1rem;
  text-align: center;
  margin-right: 0.25rem;
}

.csched-card__theme {
  margin: 0 0 0.65rem;
  padding: 0.5rem 0.7rem;
  border-radius: 0.7rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--csched-ico-fg);
  background: color-mix(in srgb, var(--csched-accent-soft) 70%, #fff);
  border: 1px solid color-mix(in srgb, var(--csched-accent) 18%, transparent);
}

.csched-card__meta {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  flex: 1 1 auto;
}

.csched-card__meta li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.84rem;
  color: #55615c;
}

.csched-card__meta i {
  color: var(--csched-accent);
  margin-top: 0.2rem;
  width: 1rem;
  text-align: center;
}

.csched-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--csched-ico-fg);
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.csched-card__link:hover {
  color: #5a6b63;
  gap: 0.65rem;
}

@keyframes csched-timeline-pulse {
  0% { opacity: 0.55; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes csched-dayblock-enter {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes csched-card-enter {
  0% { opacity: 0; transform: translateY(14px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.csched-timeline--pulse {
  animation: csched-timeline-pulse 0.4s ease both;
}

.csched-dayblock--enter {
  animation: csched-dayblock-enter 0.5s ease both;
}

.csched-card--enter {
  animation: csched-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--csched-i, 0) * 55ms);
}

@media (prefers-reduced-motion: reduce) {
  .csched-timeline--pulse,
  .csched-dayblock--enter,
  .csched-card--enter,
  .csched-card:hover {
    animation: none !important;
    transform: none !important;
  }
}

/* ---------- Live registration status (js/contest-live-status.js) ---------- */
.lt-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  width: fit-content;
  padding: 0.28rem 0.7rem;
  margin: 0 0 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  color: #0b5f5b;
  background: rgba(32, 201, 151, 0.14);
  border: 1px solid rgba(32, 201, 151, 0.32);
}

.lt-live-pill b {
  font-weight: 600;
  opacity: 0.85;
}

.lt-live-pill .fa {
  font-size: 0.7em;
}

.lt-live-pill--open .fa {
  color: #12b886;
  animation: lt-live-blink 1.6s ease-in-out infinite;
}

.lt-live-pill--upcoming {
  color: #0b6aa2;
  background: rgba(58, 168, 232, 0.13);
  border-color: rgba(58, 168, 232, 0.32);
}

.lt-live-pill--full {
  color: #a35a00;
  background: rgba(255, 179, 64, 0.16);
  border-color: rgba(255, 179, 64, 0.4);
}

.lt-live-pill--closed {
  color: #5b6670;
  background: rgba(120, 130, 140, 0.12);
  border-color: rgba(120, 130, 140, 0.28);
}

@keyframes lt-live-blink {
  50% { opacity: 0.35; }
}

.agi-seats {
  margin: 0 0 0.85rem;
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  background: #f3f8fb;
  border: 1px solid #dde9f0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #4a5a66;
}

.agi-seats__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.15rem 0.5rem;
}

.agi-seats__bar + .agi-seats__row,
.agi-seats__row + .agi-seats__row,
.agi-seats__bar + .agi-seats__label {
  margin-top: 0.45rem;
}

.agi-seats b {
  font-family: Kanit, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1d4ed8;
}

.agi-seats__max b {
  color: #0b5f5b;
}

.agi-seats__label {
  font-weight: 600;
  color: #0b5f5b;
}

.agi-seats__bar {
  height: 5px;
  margin-top: 0.3rem;
  border-radius: 999px;
  background: #dbe5ec;
  overflow: hidden;
}

.agi-seats__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22a6c9, #1d4ed8);
}

.lt-live {
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem 0.8rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(14, 90, 100, 0.08);
  color: #12312f;
}

.lt-live__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lt-live__head .lt-live-pill {
  margin: 0;
}

.lt-live__src {
  font-size: 0.7rem;
  color: #5d7472;
}

.lt-live__nums {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #3d5654;
}

.lt-live__nums strong {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 700;
  color: #0e8f8a;
}

.lt-live__bar {
  height: 0.45rem;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: rgba(14, 143, 138, 0.12);
  overflow: hidden;
}

.lt-live__bar > span {
  display: block;
  height: 100%;
  min-width: 0.45rem;
  border-radius: inherit;
  background: linear-gradient(90deg, #2cc5a8, #22b5c9 55%, #3aa8e8);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.lt-live--full .lt-live__bar > span {
  background: linear-gradient(90deg, #ffb340, #ff8a3d);
}

.lt-live__foot {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: #5d7472;
}

.lt-btn-gold.is-disabled {
  pointer-events: none;
  opacity: 0.55;
  filter: grayscale(0.4);
}

/* "Not open yet" popup when a register button is clicked before the opening date */
.lt-reg-closed {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lt-reg-closed.is-open {
  opacity: 1;
  visibility: visible;
}

.lt-reg-closed__card {
  width: min(20rem, 100%);
  padding: 1.6rem 1.25rem 1.1rem;
  border-radius: 1.4rem;
  text-align: center;
  color: #1c1c1e;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
  transform: scale(1.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lt-reg-closed.is-open .lt-reg-closed__card {
  transform: scale(1);
}

.lt-reg-closed__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  font-size: 1.35rem;
  color: #0b6aa2;
  background: rgba(58, 168, 232, 0.15);
}

.lt-reg-closed__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1c1c1e;
}

.lt-reg-closed__msg {
  margin: 0 0 1.2rem;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
  color: #0b6aa2;
}

.lt-reg-closed__ok {
  width: 100%;
  min-height: 2.9rem;
  border: 0;
  border-radius: 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #0a84ff;
  cursor: pointer;
}

.lt-reg-closed__ok:focus-visible {
  outline: 3px solid rgba(10, 132, 255, 0.35);
  outline-offset: 2px;
}

/* ---------- Navbar "เข้าสู่ระบบ" (login of the registration system) ---------- */

/* Negative vertical margins keep the pill's text on the same line as the plain text links */
.navbar .navbar-nav .nav-link.agifair-nav-login {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.4rem;
  margin: -0.4rem 0 -0.4rem 22px;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, #0d6b68, #22a6c9);
  box-shadow: 0 6px 16px rgba(13, 107, 104, 0.25);
  transition: box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.navbar .navbar-nav .nav-link.agifair-nav-login:hover,
.navbar .navbar-nav .nav-link.agifair-nav-login:focus-visible {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(13, 107, 104, 0.32);
}

.navbar .navbar-nav .nav-link.agifair-nav-login .fa {
  font-size: 0.85em;
}

/* With the extra menu the 18px / 30px-gap navbar no longer fits one line below 1400px, so it tightens there */
@media (min-width: 1200px) {
  .navbar .navbar-nav .nav-link {
    white-space: nowrap;
  }
}

@media (min-width: 1400px) {
  .navbar .navbar-nav .nav-link {
    margin-left: 24px;
  }

  .navbar .navbar-nav .nav-link.agifair-nav-login {
    margin-left: 20px;
  }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
  .navbar .navbar-nav .nav-link {
    margin-left: 14px;
    font-size: 16px;
  }

  .navbar .navbar-nav .nav-link.agifair-nav-login {
    margin: -0.3rem 0 -0.3rem 12px;
    padding: 0.3rem 0.8rem;
    font-size: 15px;
  }
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link.agifair-nav-login {
    align-self: flex-start;
    margin: 0.35rem 0;
    padding: 0.5rem 1.1rem;
  }
}

/* ---------- Collapsible topic panels (contest-sections.js) ---------- */

.lt-sec-panel.is-collapsible .lt-sec-panel__head {
  align-items: center;
  padding-bottom: 1.1rem;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, border-color 0.3s ease;
}

.lt-sec-panel.is-collapsible .lt-sec-panel__head:hover {
  background-color: rgba(44, 197, 168, 0.06);
}

.lt-sec-panel__heading {
  flex: 1 1 auto;
  min-width: 0;
}

.lt-sec-panel.is-collapsible .lt-sec-panel__title {
  margin-top: 0 !important;
}

.lt-sec-panel__meta {
  display: inline-flex;
  align-items: center;
  margin-top: 0.3rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.6;
  color: #0b6f6b;
  background: rgba(14, 143, 138, 0.09);
}

.lt-sec-panel__toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, #2cc5a8, #22a6c9);
  box-shadow: 0 6px 16px rgba(34, 166, 201, 0.28);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.lt-sec-panel__toggle .fa {
  font-size: 0.75rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.lt-sec-panel__toggle-text--short {
  display: none;
}

.lt-sec-panel__head:hover .lt-sec-panel__toggle {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(34, 166, 201, 0.36);
}

.lt-sec-panel.is-open .lt-sec-panel__toggle {
  color: #0b6f6b;
  background: rgba(14, 143, 138, 0.1);
  box-shadow: none;
}

.lt-sec-panel.is-open .lt-sec-panel__toggle .fa {
  transform: rotate(180deg);
}

.lt-sec-panel__toggle:focus-visible {
  outline: 3px solid rgba(14, 143, 138, 0.35);
  outline-offset: 2px;
}

.lt-sec-panel.is-collapsible > .lt-sec-panel__collapse {
  position: relative;
  max-height: 6.5rem;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.lt-sec-panel.is-collapsible:not(.is-open) > .lt-sec-panel__collapse {
  cursor: pointer;
}

.lt-sec-panel.is-collapsible > .lt-sec-panel__collapse::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.75) 45%, #fff 88%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lt-sec-panel__more {
  position: absolute;
  left: 50%;
  bottom: 0.6rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0b6f6b;
  background: #fff;
  border: 1px solid rgba(14, 143, 138, 0.22);
  box-shadow: 0 4px 12px rgba(14, 90, 100, 0.1);
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lt-sec-panel__more .fa {
  font-size: 0.7rem;
  animation: lt-sec-nudge 1.8s ease-in-out infinite;
}

@keyframes lt-sec-nudge {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(3px); }
}

.lt-sec-panel.is-collapsible:not(.is-open):hover > .lt-sec-panel__collapse .lt-sec-panel__more {
  color: #fff;
  background: linear-gradient(135deg, #2cc5a8, #22a6c9);
  border-color: transparent;
}

.lt-sec-panel.is-open > .lt-sec-panel__collapse::after,
.lt-sec-panel.is-open > .lt-sec-panel__collapse .lt-sec-panel__more {
  opacity: 0;
}

.lt-sec-panel.is-collapsible:not(.is-open):hover {
  transform: translateY(-2px);
}

.lt-sec-all {
  display: flex;
  justify-content: center;
  margin: -0.75rem 0 1.75rem;
}

.lt-sec-all__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.05rem;
  border: 1px solid rgba(14, 143, 138, 0.22);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0b6f6b;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(14, 90, 100, 0.08);
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.lt-sec-all__btn:hover {
  background: #fff;
  box-shadow: 0 6px 16px rgba(14, 90, 100, 0.14);
}

.lt-sec-all__btn:focus-visible {
  outline: 3px solid rgba(14, 143, 138, 0.35);
  outline-offset: 2px;
}

@media (max-width: 575.98px) {
  .lt-sec-panel.is-collapsible .lt-sec-panel__head {
    padding: 1rem 1rem 1rem 1.1rem;
    gap: 0.75rem;
  }

  .lt-sec-panel.is-collapsible .lt-sec-panel__title {
    font-size: 1.02rem !important;
  }

  .lt-sec-panel__toggle {
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
  }

  .lt-sec-panel__toggle-text--long {
    display: none;
  }

  .lt-sec-panel__toggle-text--short {
    display: inline;
  }
}

@media print {
  .lt-sec-panel.is-collapsible > .lt-sec-panel__collapse {
    max-height: none !important;
  }

  .lt-sec-panel__collapse::after,
  .lt-sec-panel__more,
  .lt-sec-panel__toggle,
  .lt-sec-all {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lt-sec-panel.is-collapsible > .lt-sec-panel__collapse,
  .lt-sec-panel__toggle,
  .lt-sec-panel__toggle .fa {
    transition: none;
  }

  .lt-sec-panel__more .fa {
    animation: none;
  }
}

.lt-live__link {
  margin-left: 0.4rem;
  font-weight: 600;
  color: #0b6f6b;
  text-decoration: none;
  white-space: nowrap;
}

.lt-live__link::after {
  content: " ›";
}

.lt-live__link:hover {
  text-decoration: underline;
}

/* ---------- Applicant list (contest-live-status.js) ---------- */

.lt-apps {
  scroll-margin-top: 5rem;
  background: linear-gradient(180deg, #f3faf9 0%, #ffffff 70%);
}

.lt-apps--top {
  background: transparent;
}

.lt-apps--top .lt-apps__head {
  margin-bottom: 1.25rem !important;
}

.lt-apps__sub {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.9rem;
  color: #5d7472;
}

.lt-apps__live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.5);
  animation: lt-apps-pulse 2s infinite;
}

@keyframes lt-apps-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.5); }
  70% { box-shadow: 0 0 0 0.5rem rgba(52, 199, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); }
}

.lt-apps__grid {
  display: grid;
  grid-template-columns: minmax(16rem, 21rem) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.lt-apps__count {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 1.6rem 1.4rem;
  border-radius: 1.5rem;
  color: #fff;
  text-align: center;
  background: linear-gradient(150deg, #2cc5a8 0%, #1fa9bf 55%, #2b8fd8 100%);
  box-shadow: 0 18px 40px rgba(20, 130, 150, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.lt-apps__count::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 80%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 70%);
  pointer-events: none;
}

.lt-apps__ring-wrap {
  position: relative;
  width: 8.5rem;
  height: 8.5rem;
  flex: 0 0 auto;
}

.lt-apps__ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.lt-apps__ring circle {
  fill: none;
  stroke-width: 9;
}

.lt-apps__ring-track {
  stroke: rgba(255, 255, 255, 0.25);
}

.lt-apps__ring-fill {
  stroke: #fff;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.lt-apps__ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.lt-apps__ring-text strong {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lt-apps__ring-text span {
  font-size: 0.78rem;
  opacity: 0.85;
}

.lt-apps__count-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.3rem;
  font-size: 1.9rem;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.lt-apps__count-body {
  position: relative;
  min-width: 0;
}

.lt-apps__count-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.lt-apps__count-nums {
  margin-top: 0.15rem;
  line-height: 1.25;
}

.lt-apps__count-nums strong {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.lt-apps__count-unit {
  font-size: 1.05rem;
  font-weight: 700;
}

.lt-apps__count-sep {
  font-size: 1.3rem;
  opacity: 0.6;
}

.lt-apps__count-max {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.92;
  white-space: nowrap;
}

.lt-apps__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.lt-apps__chip {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.lt-apps__chip--left,
.lt-apps__chip--ok {
  background: rgba(255, 255, 255, 0.92);
  color: #0b6f6b;
}

.lt-apps__chip--full {
  background: #ffcc4d;
  border-color: #ffcc4d;
  color: #7a4a00;
}

.lt-apps__list {
  min-width: 0;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(14, 143, 138, 0.1);
  box-shadow: 0 12px 32px rgba(14, 90, 100, 0.07);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  overflow: hidden;
}

.lt-apps__list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(60, 60, 67, 0.1);
}

.lt-apps__list-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #12312f;
}

.lt-apps__search {
  position: relative;
  flex: 0 1 17rem;
  margin: 0;
}

.lt-apps__search .fa {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: #8e8e93;
  pointer-events: none;
}

.lt-apps__search input {
  width: 100%;
  height: 2.4rem;
  padding: 0 0.9rem 0 2.2rem;
  border: 0;
  border-radius: 0.8rem;
  font: inherit;
  font-size: 0.92rem;
  color: #1c1c1e;
  background: rgba(118, 118, 128, 0.12);
  outline: none;
  transition: box-shadow 0.15s, background 0.15s;
}

.lt-apps__search input:focus {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14, 143, 138, 0.25);
}

.lt-apps__scroll {
  overflow-x: auto;
}

.lt-apps__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.lt-apps__table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.7rem 1rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6b7f7d;
  text-align: left;
  background: #f6fbfa;
  border-bottom: 1px solid rgba(60, 60, 67, 0.1);
  white-space: nowrap;
}

.lt-apps__table td {
  padding: 0.8rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(60, 60, 67, 0.08);
}

.lt-apps__table tbody tr:last-child td {
  border-bottom: 0;
}

.lt-apps__table tbody tr {
  transition: background 0.15s;
}

.lt-apps__table tbody tr:hover {
  background: rgba(44, 197, 168, 0.06);
}

.lt-apps__table tr[hidden] {
  display: none;
}

.lt-apps__no {
  width: 1%;
  text-align: center !important;
}

.lt-apps__no-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.4rem;
  border-radius: 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #0b6f6b;
  background: rgba(14, 143, 138, 0.1);
}

.lt-apps__team,
.lt-apps__school {
  line-height: 1.4;
}

.lt-apps__team .fa,
.lt-apps__school .fa {
  width: 1.1rem;
  margin-right: 0.45rem;
  font-size: 0.8rem;
  text-align: center;
  color: #2cc5a8;
}

.lt-apps__team span {
  font-weight: 700;
  color: #12312f;
}

.lt-apps__school {
  color: #3d5654;
}

.lt-apps__school .fa {
  color: #8aa3a1;
}

.lt-apps__st {
  white-space: nowrap;
}

.lt-apps__status {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.lt-apps__status .fa {
  font-size: 0.75rem;
}

.lt-apps__status--pending {
  color: #a35a00;
  background: rgba(255, 149, 0, 0.14);
}

.lt-apps__status--need_more_doc {
  color: #c9184a;
  background: rgba(255, 45, 85, 0.11);
}

.lt-apps__status--edit_requested {
  color: #0060df;
  background: rgba(0, 122, 255, 0.11);
}

.lt-apps__status--approved {
  color: #1f7a35;
  background: rgba(52, 199, 89, 0.15);
}

.lt-apps__empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #5d7472;
}

.lt-apps__empty[hidden] {
  display: none;
}

.lt-apps__empty--search {
  padding: 1.5rem;
}

.lt-apps__empty-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 0.75rem;
  border-radius: 1.2rem;
  font-size: 1.6rem;
  color: #0e8f8a;
  background: rgba(14, 143, 138, 0.1);
}

.lt-apps__empty-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #12312f;
}

.lt-apps__empty-desc {
  margin-top: 0.25rem;
  font-size: 0.92rem;
}

.lt-apps__note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  text-align: center;
  color: #6b7f7d;
}

@media (max-width: 991.98px) {
  .lt-apps__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lt-apps__count {
    position: relative;
    top: auto;
    flex-direction: row;
    text-align: left;
    padding: 1.25rem;
  }

  .lt-apps__ring-wrap {
    width: 6.5rem;
    height: 6.5rem;
  }

  .lt-apps__ring-text strong {
    font-size: 1.35rem;
  }

  .lt-apps__chips {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .lt-apps__count-nums strong {
    font-size: 2.1rem;
  }

  .lt-apps__list-head {
    padding: 0.9rem 1rem;
  }

  .lt-apps__search {
    flex: 1 1 100%;
  }

  .lt-apps__scroll {
    max-height: none;
  }

  .lt-apps__table thead {
    display: none;
  }

  .lt-apps__table tbody tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.75rem;
    row-gap: 0.2rem;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(60, 60, 67, 0.08);
  }

  .lt-apps__table tbody tr:last-child {
    border-bottom: 0;
  }

  .lt-apps__table td {
    display: block;
    padding: 0;
    border: 0;
  }

  .lt-apps__no {
    grid-row: 1 / span 3;
    width: auto;
  }

  .lt-apps__school {
    font-size: 0.88rem;
  }

  .lt-apps__st {
    margin-top: 0.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lt-apps__live-dot {
    animation: none;
  }

  .lt-apps__ring-fill {
    transition: none;
  }

  .lt-live-pill--open .fa {
    animation: none;
  }

  .lt-reg-closed,
  .lt-reg-closed__card {
    transition: none;
  }
}
