:root {
  --page-bg: #eef4ff;
  --page-bg-deep: #dfeaff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --surface-dark: #0f1e42;
  --line: rgba(18, 102, 241, 0.12);
  --line-strong: rgba(18, 102, 241, 0.22);
  --primary: #1266f1;
  --primary-deep: #0d47b2;
  --success: #18804a;
  --warning: #c97b00;
  --danger: #d14343;
  --info: #2f7ce0;
  --dark: #1e2e54;
  --secondary: #6d7994;
  --ink: #22314d;
  --ink-strong: #15213a;
  --muted: #66758f;
  --shadow-soft: 0 18px 44px rgba(21, 53, 122, 0.08);
  --shadow-strong: 0 24px 60px rgba(18, 102, 241, 0.14);
  --radius-card: 1.4rem;
  --radius-pill: 999px;
  --content-width: 1180px;
  --font-body: "Anek Devanagari", "Nirmala UI", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.bg-light {
  background:
    radial-gradient(circle at top left, rgba(18, 102, 241, 0.15), transparent 32%),
    radial-gradient(circle at top right, rgba(26, 188, 156, 0.1), transparent 26%),
    radial-gradient(circle at 50% 0%, rgba(255, 194, 102, 0.14), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, var(--page-bg) 42%, #e7f0ff 100%);
}

body.bg-light::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 74%);
  opacity: 0.45;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-deep);
}

p,
ul,
ol {
  margin-top: 0;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.4rem;
}

input,
button,
textarea,
select {
  font: inherit;
}

section[id] {
  scroll-margin-top: 1.5rem;
}

.container {
  width: min(var(--content-width), calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.row {
  --gutter-x: 1.5rem;
  --gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(var(--gutter-y) * -1);
  margin-right: calc(var(--gutter-x) * -0.5);
  margin-left: calc(var(--gutter-x) * -0.5);
}

.row > * {
  width: 100%;
  max-width: 100%;
  flex: 0 0 auto;
  margin-top: var(--gutter-y);
  padding-right: calc(var(--gutter-x) * 0.5);
  padding-left: calc(var(--gutter-x) * 0.5);
}

.g-3 {
  --gutter-x: 1rem;
  --gutter-y: 1rem;
}

.g-4 {
  --gutter-x: 1.5rem;
  --gutter-y: 1.5rem;
}

.col-12 {
  width: 100%;
}

.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
}

.d-grid {
  display: grid !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-self-start {
  align-self: flex-start !important;
}

.h-100 {
  height: 100% !important;
}

.sticky-top {
  position: sticky;
  top: 1.35rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
}

.nav-pills {
  align-items: center;
}

.gap-2 {
  gap: 0.75rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.35rem !important;
}

.mb-2 {
  margin-bottom: 0.65rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.me-2 {
  margin-inline-end: 0.5rem !important;
}

.ms-1 {
  margin-inline-start: 0.25rem !important;
}

.ms-2 {
  margin-inline-start: 0.5rem !important;
}

.p-4 {
  padding: 1.25rem !important;
}

.pb-5 {
  padding-bottom: 2.4rem !important;
}

.pt-4 {
  padding-top: 1.5rem !important;
}

.px-0 {
  padding-inline: 0 !important;
}

.py-3 {
  padding-block: 1rem !important;
}

.py-4 {
  padding-block: 1.5rem !important;
}

.border {
  border: 1px solid var(--line) !important;
}

.border-0 {
  border: 0 !important;
}

.border-top {
  border-top: 1px solid var(--line) !important;
}

.rounded-pill {
  border-radius: var(--radius-pill) !important;
}

.rounded-4 {
  border-radius: 1.6rem !important;
}

.shadow-0 {
  box-shadow: none !important;
}

.shadow-1,
.shadow-2,
.shadow-3,
.shadow-4,
.shadow-2-strong {
  box-shadow: var(--shadow-soft) !important;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.small {
  font-size: 0.92rem !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.text-uppercase {
  text-transform: uppercase !important;
  letter-spacing: 0.08em;
}

.text-muted {
  color: var(--muted) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-success {
  color: var(--success) !important;
}

.text-info {
  color: var(--info) !important;
}

.text-danger {
  color: var(--danger) !important;
}

.text-warning {
  color: var(--warning) !important;
}

.text-dark {
  color: var(--dark) !important;
}

.text-white {
  color: #fff !important;
}

.text-reset {
  color: inherit !important;
}

.text-lg-end {
  text-align: left;
}

.img-fluid {
  display: block;
  max-width: 100%;
  height: auto;
}

.opacity-75 {
  opacity: 0.75 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin-top: 0;
  color: var(--ink-strong);
  line-height: 1.15;
}

.h2,
h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
}

.h3,
h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.h4,
h4 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.h5,
h5 {
  font-size: 1.08rem;
}

.h6,
h6 {
  font-size: 0.96rem;
}

.bg-primary {
  background: linear-gradient(135deg, #1266f1, #2956d1) !important;
  color: #fff !important;
}

.bg-success {
  background: linear-gradient(135deg, #15985a, #0f7d47) !important;
  color: #fff !important;
}

.bg-info {
  background: linear-gradient(135deg, #2f7ce0, #1964c4) !important;
  color: #fff !important;
}

.bg-warning {
  background: linear-gradient(135deg, #f5b43a, #e09a13) !important;
  color: #1c2437 !important;
}

.bg-danger {
  background: linear-gradient(135deg, #ef6a6a, #d14343) !important;
  color: #fff !important;
}

.bg-secondary {
  background: linear-gradient(135deg, #8d98b3, #6d7994) !important;
  color: #fff !important;
}

.bg-dark {
  background: linear-gradient(135deg, #243a74, #1b2747) !important;
  color: #fff !important;
}

.bg-light {
  background: rgba(255, 255, 255, 0.82) !important;
  color: var(--ink) !important;
}

.card {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(18, 102, 241, 0), rgba(18, 102, 241, 0.35), rgba(18, 102, 241, 0));
  opacity: 0.9;
}

.card-body {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
}

.card-body > :last-child {
  margin-bottom: 0;
}

.card > img,
.card picture {
  display: block;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.72rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.btn {
  --btn-bg: rgba(255, 255, 255, 0.92);
  --btn-fg: var(--ink);
  --btn-border: rgba(18, 102, 241, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  min-height: 2.9rem;
  padding: 0.78rem 1.08rem;
  border-radius: 1rem;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(18, 102, 241, 0.12);
}

.btn-sm {
  min-height: 2.2rem;
  padding: 0.55rem 0.9rem;
  border-radius: 0.85rem;
  font-size: 0.86rem;
}

.btn-primary {
  --btn-bg: linear-gradient(135deg, #1266f1, #2e58d1);
  --btn-fg: #fff;
  --btn-border: rgba(18, 102, 241, 0.1);
}

.btn-success {
  --btn-bg: linear-gradient(135deg, #16925a, #0f7746);
  --btn-fg: #fff;
  --btn-border: rgba(21, 137, 84, 0.18);
}

.btn-danger {
  --btn-bg: linear-gradient(135deg, #ef6a6a, #d14343);
  --btn-fg: #fff;
  --btn-border: rgba(209, 67, 67, 0.18);
}

.btn-outline-primary,
.btn-outline-dark,
.btn-outline-success,
.btn-outline-danger {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: rgba(18, 102, 241, 0.18);
}

.btn-outline-success {
  color: var(--success);
  border-color: rgba(24, 128, 74, 0.18);
}

.btn-outline-dark {
  color: var(--dark);
  border-color: rgba(30, 46, 84, 0.18);
}

.btn-outline-danger {
  color: var(--danger);
  border-color: rgba(209, 67, 67, 0.18);
}

.progress {
  height: 0.78rem;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.24);
}

.progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  transition: width 300ms ease;
}

.alert {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
}

.alert-light {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
}

.alert-warning {
  background: rgba(245, 180, 58, 0.14);
  border-color: rgba(224, 154, 19, 0.24);
  color: #654500;
}

.list-group {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.list-group-item {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(18, 102, 241, 0.08);
}

.list-group-light .list-group-item {
  background: rgba(255, 255, 255, 0.55);
}

.list-group-item-action {
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.list-group-item-action:hover {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(18, 102, 241, 0.16);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 102, 241, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-inline: 0.35rem;
  color: rgba(102, 117, 143, 0.7);
}

.breadcrumb-item.active {
  color: var(--ink);
  font-weight: 700;
}

.accordion {
  display: grid;
  gap: 0.95rem;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.75);
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  border: 0;
  background: transparent;
  color: var(--ink-strong);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.accordion-button::after {
  content: "+";
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(18, 102, 241, 0.08);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
}

.accordion-button:not(.collapsed)::after {
  content: "−";
}

.accordion-collapse {
  display: none;
}

.accordion-collapse.show {
  display: block;
}

.accordion-body {
  padding: 0 1.15rem 1.1rem;
}

.collapse:not(.show) {
  display: none;
}

.defer-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 820px;
}

.advanced-marquee {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  gap: 0.55rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, rgba(18, 102, 241, 0.08), rgba(18, 102, 241, 0.02));
  border: 1px solid rgba(18, 102, 241, 0.12);
}

.advanced-marquee__label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1266f1, #2e58d1);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.advanced-marquee__viewport {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.advanced-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee-scroll var(--marquee-duration, 28s) linear infinite;
}

.advanced-marquee__track--static {
  width: 100%;
  animation: none;
}

.advanced-marquee:hover .advanced-marquee__track,
.advanced-marquee:focus-within .advanced-marquee__track {
  animation-play-state: paused;
}

.advanced-marquee__group {
  display: flex;
  gap: 0.5rem;
  padding-right: 0.5rem;
  flex-shrink: 0;
}

.advanced-marquee__track--static .advanced-marquee__group {
  width: 100%;
  padding-right: 0;
}

.advanced-marquee__item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.45rem;
  min-width: max-content;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 102, 241, 0.12);
  box-shadow: 0 8px 18px rgba(18, 102, 241, 0.08);
  color: #1f2a44;
  line-height: 1.1;
  text-decoration: none;
}

.advanced-marquee__item:hover {
  color: #0b3ea9;
  background: #fff;
}

.advanced-marquee__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  background: #e8f1ff;
  color: #0b3ea9;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.advanced-marquee__tag--live {
  background: #e7f8ef;
  color: #0f8a4b;
}

.advanced-marquee__tag--next {
  background: #eef3ff;
  color: #3457d5;
}

.advanced-marquee__text {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.1;
  white-space: nowrap;
}

.advanced-marquee__meta {
  font-size: 0.74rem;
  color: #5f6c86;
  line-height: 1.1;
  white-space: nowrap;
}

.hero-layout {
  align-items: flex-start;
}

.hero-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.35rem, 4.4vw, 4.15rem);
  letter-spacing: -0.05em;
  line-height: 0.96;
  color: var(--ink-strong);
}

.hero-copy p {
  max-width: 68ch;
}

.timeline-header {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.timeline-header__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.timeline-marquee {
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
  padding: 0.45rem 0.55rem;
}

.timeline-marquee__viewport {
  overflow-x: auto;
  scrollbar-width: none;
  mask-image: none;
}

.timeline-marquee__viewport::-webkit-scrollbar {
  display: none;
}

.timeline-marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 100%;
  width: max-content;
  padding-right: 0.1rem;
}

.timeline-marquee__button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  min-width: max-content;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(18, 102, 241, 0.16);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(18, 102, 241, 0.08);
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.timeline-marquee__button:hover {
  background: #fff;
  color: #0b3ea9;
}

.timeline-marquee__button--active {
  border-color: transparent;
  background: linear-gradient(135deg, #1266f1, #2e58d1);
  color: #fff;
}

.timeline-marquee__text {
  white-space: nowrap;
}

.timeline-marquee__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: rgba(18, 102, 241, 0.1);
  color: var(--ink-strong);
  font-size: 0.94rem;
}

.timeline-marquee__button--active .timeline-marquee__count {
  background: rgba(255, 255, 255, 0.9);
  color: #1f2a44;
}

.timeline-marquee__button:focus-visible {
  outline: 2px solid rgba(18, 102, 241, 0.3);
  outline-offset: 2px;
}

.timeline-vertical-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
}

.timeline-vertical-marquee__viewport {
  height: var(--timeline-marquee-height, 18rem);
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
}

.timeline-vertical-marquee__track {
  display: flex;
  flex-direction: column;
  width: 100%;
  will-change: transform;
  animation: vertical-marquee-scroll var(--timeline-marquee-duration, 24s) linear infinite;
}

.timeline-vertical-marquee:hover .timeline-vertical-marquee__track,
.timeline-vertical-marquee:focus-within .timeline-vertical-marquee__track {
  animation-play-state: paused;
}

.timeline-vertical-marquee__group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1rem;
}

.timeline-vertical-marquee__item {
  width: 100%;
}

.timeline-group-stack {
  display: grid;
  gap: 1rem;
}

.sidebar-vertical-marquee {
  border-radius: 1.2rem;
}

.sidebar-vertical-marquee .timeline-vertical-marquee__viewport {
  height: var(--timeline-marquee-height, 16rem);
}

.sidebar-vertical-marquee .timeline-vertical-marquee__group {
  gap: 0.7rem;
  padding-bottom: 0.7rem;
}

.sidebar-vertical-marquee .list-group-item {
  background: rgba(255, 255, 255, 0.82);
}

.hero-status-card {
  background:
    linear-gradient(180deg, rgba(18, 102, 241, 0.96), rgba(47, 92, 207, 0.96)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 32%);
  flex: 0 0 308px;
  width: 308px;
  min-width: 308px;
  max-width: 308px;
  align-self: flex-start;
  color: #fff;
}

.hero-status-card .card-body {
  height: auto;
  padding: 1.1rem 1.15rem !important;
}

.hero-status-card #liveDate,
.hero-status-card #liveTime,
.hero-status-card #currentPhase,
.hero-status-card #nextMajorItem {
  overflow-wrap: anywhere;
}

.hero-status-card .progress {
  background: rgba(255, 255, 255, 0.18);
}

.hero-status-card .progress-bar {
  background: linear-gradient(90deg, #ffd873, #ffbf1f) !important;
}

.hero-microstats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-microstat {
  padding: 0.9rem 1rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 102, 241, 0.12);
  box-shadow: 0 14px 28px rgba(18, 102, 241, 0.06);
}

.hero-microstat strong {
  display: block;
  font-size: 1.06rem;
  color: var(--ink-strong);
}

.hero-microstat span {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
}

.intent-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.intent-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(18, 102, 241, 0.12);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.intent-chip::before {
  content: "•";
  color: var(--primary);
  font-size: 1.05em;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-field__icon {
  position: absolute;
  left: 1rem;
  z-index: 1;
  color: var(--primary);
  font-weight: 700;
  pointer-events: none;
}

.search-input {
  width: 100%;
  min-height: 3rem;
  padding: 0.82rem 1rem 0.82rem 2.8rem;
  border-radius: 1rem;
  border: 1px solid rgba(18, 102, 241, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.search-input:focus {
  border-color: rgba(18, 102, 241, 0.36);
  box-shadow: 0 0 0 4px rgba(18, 102, 241, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.search-input::placeholder {
  color: rgba(102, 117, 143, 0.9);
}

.spotlight-visual {
  display: block;
  border-radius: 1.6rem;
  overflow: hidden;
  border: 1px solid rgba(18, 102, 241, 0.12);
  box-shadow: 0 20px 40px rgba(18, 102, 241, 0.1);
}

.spotlight-visual img {
  display: block;
}

.month-card,
.topic-card,
#monthly-guide a.card.text-reset {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.month-card:hover,
.topic-card:hover,
#monthly-guide a.card.text-reset:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong) !important;
  border-color: rgba(18, 102, 241, 0.22) !important;
}

.month-card .card-body,
.topic-card .card-body,
#monthly-guide a.card.text-reset .card-body {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.9rem;
}

.month-card h3,
.topic-card h3,
#monthly-guide a.card.text-reset h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.month-card h3::before,
.topic-card h3::before,
#monthly-guide a.card.text-reset h3::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1266f1, #35c1af);
  box-shadow: 0 0 0 6px rgba(18, 102, 241, 0.08);
}

.pdf-page-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
  line-height: 1.1;
}

#statCards .card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.92)),
    radial-gradient(circle at top right, rgba(18, 102, 241, 0.1), transparent 46%);
}

#eventList > .card,
#todayBrief .list-group-item,
#upcomingBrief .list-group-item,
#recurringList .list-group-item,
#alwaysOnList .list-group-item {
  background: rgba(255, 255, 255, 0.82);
}

#helperStatus {
  min-height: 2.5rem;
}

.helper-actions {
  margin-top: 0.95rem;
}

.helper-actions .btn {
  width: 100%;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes vertical-marquee-scroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(calc(-1 * var(--timeline-marquee-distance, 0px)));
  }
}

@media (hover: hover) {
  .shadow-1:hover,
  .shadow-2:hover,
  .shadow-3:hover,
  .shadow-4:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong) !important;
    border-color: var(--line-strong) !important;
  }
}

@media (min-width: 768px) {
  .col-md-4 {
    width: 33.333333%;
  }

  .col-md-6 {
    width: 50%;
  }

  .flex-md-row {
    flex-direction: row !important;
  }
}

@media (min-width: 992px) {
  .col-lg-3 {
    width: 25%;
  }

  .col-lg-4 {
    width: 33.333333%;
  }

  .col-lg-5 {
    width: 41.666667%;
  }

  .col-lg-6 {
    width: 50%;
  }

  .col-lg-7 {
    width: 58.333333%;
  }

  .col-lg-8 {
    width: 66.666667%;
  }

  .flex-lg-row {
    flex-direction: row !important;
  }

  .align-items-lg-center {
    align-items: center !important;
  }

  .align-self-lg-center {
    align-self: center !important;
  }

  .text-lg-end {
    text-align: right !important;
  }

  .me-lg-3 {
    margin-inline-end: 1rem !important;
  }

  .me-lg-4 {
    margin-inline-end: 1.5rem !important;
  }

  .p-lg-5 {
    padding: 2rem !important;
  }

  .py-lg-5 {
    padding-block: 2rem !important;
  }
}

@media (min-width: 1200px) {
  .col-xl-3 {
    width: 25%;
  }

  .col-xl-4 {
    width: 33.333333%;
  }

  .col-xl-8 {
    width: 66.666667%;
  }
}

@media (max-width: 991.98px) {
  .hero-status-card {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-microstats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .container {
    width: min(var(--content-width), calc(100% - 1rem));
  }

  .advanced-marquee {
    gap: 0.45rem;
    padding: 0.5rem 0.6rem;
  }

  .advanced-marquee__viewport {
    mask-image: none;
  }

  .advanced-marquee__label {
    padding: 0.32rem 0.52rem;
    font-size: 0.7rem;
  }

  .advanced-marquee__item {
    padding: 0.38rem 0.58rem;
  }

  .advanced-marquee__meta {
    font-size: 0.7rem;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .timeline-marquee__button {
    padding: 0.48rem 0.74rem;
    gap: 0.5rem;
  }

  .timeline-marquee__count {
    min-width: 1.8rem;
    height: 1.8rem;
    font-size: 0.85rem;
  }

  .timeline-vertical-marquee__viewport {
    mask-image: none;
  }

  .hero-microstats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .advanced-marquee__track {
    animation: none;
  }

  .timeline-vertical-marquee__track {
    animation: none;
  }

  .btn,
  .card,
  .month-card,
  #monthly-guide a.card.text-reset {
    transition: none !important;
  }
}

i.fas,
i.fa-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  min-width: 1.2em;
  font-style: normal;
  line-height: 1;
}

.fa-lg {
  font-size: 1.2rem;
}

.fa-bolt::before {
  content: "⚡";
}

.fa-file-pdf::before {
  content: "PDF";
  font-size: 0.56em;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.fa-calendar-days::before {
  content: "📅";
}

.fa-circle-question::before {
  content: "?";
  font-weight: 800;
}

.fa-file-lines::before {
  content: "📝";
}

.fa-school::before {
  content: "🏫";
}

.fa-wand-magic-sparkles::before {
  content: "✦";
}

.fa-circle-info::before {
  content: "i";
  font-weight: 800;
}

.fa-image::before {
  content: "🖼";
}

.fa-calendar-check::before {
  content: "✔";
  font-weight: 800;
}

.fa-clock::before {
  content: "🕒";
}

.fa-repeat::before,
.fa-sync-alt::before {
  content: "↺";
  font-weight: 800;
}

.fa-thumbtack::before {
  content: "📌";
}

.fa-database::before {
  content: "🗂";
}

.fa-layer-group::before {
  content: "▦";
}

.fa-users::before {
  content: "👥";
}

.fa-book-open::before {
  content: "📖";
}

.fa-magnifying-glass-chart::before {
  content: "🔎";
}

.fa-filter::before {
  content: "⎘";
}

.fa-bell::before {
  content: "🔔";
}

.fa-calendar-week::before {
  content: "🗓";
}

.fa-user-plus::before {
  content: "➕";
}

.fa-pen-ruler::before {
  content: "✎";
}

.fa-umbrella-beach::before {
  content: "⛱";
}

.fa-rotate-left::before {
  content: "↶";
}

.fa-route::before {
  content: "🧭";
}

.fa-star::before {
  content: "★";
}

.fa-sitemap::before {
  content: "☷";
}

.fa-house::before {
  content: "⌂";
}

.fa-file-circle-check::before {
  content: "✓";
  font-weight: 800;
}

.fa-table-list::before {
  content: "☰";
}

.fa-arrow-left::before {
  content: "←";
  font-weight: 800;
}

.fa-arrow-right::before {
  content: "→";
  font-weight: 800;
}
