/* ConCourse navy identity — final visual layer
   Loaded after the planner, member hub, and marketplace styles so behavior can
   remain untouched while every surface shares one coherent brand system. */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "PingFang HK", "Hiragino Sans GB", "Microsoft JhengHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  --navy-950: #061526;
  --navy-925: #071a30;
  --navy-900: #0a2038;
  --navy-850: #0d2a4b;
  --navy-800: #12385f;
  --navy-700: #1b4f80;
  --cobalt-600: #2f6df6;
  --cobalt-500: #477cff;
  --sky-400: #6ec9f5;
  --sky-300: #8bd8ff;
  --gold-400: #efc36a;
  --gold-300: #f8d993;
  --ivory-50: #faf8f2;
  --paper: #fcfdfe;
  --mist-50: #f4f7fa;
  --mist-100: #eaf0f5;
  --mist-200: #dce6ef;
  --ink: #071526;
  --ink-soft: #29445e;
  --muted: #607386;
  --muted-2: #8292a2;
  --line-light: rgba(7, 30, 52, .12);
  --line-strong: rgba(7, 30, 52, .2);
  --line-dark: rgba(210, 232, 255, .18);
  --success: #147a5b;
  --danger: #b82e45;
  --warn: #a46200;
  --app-bar-offset: 86px;
  --bg: var(--mist-100);
  --panel: rgba(252, 253, 254, .96);
  --panel-2: #f2f6f9;
  --border: var(--line-light);
  --text: var(--ink);
  --accent: var(--cobalt-600);
  --accent-2: #1e9aba;
  --shadow: 0 22px 64px rgba(6, 21, 38, .1), 0 2px 10px rgba(6, 21, 38, .04);
  --hub-ink: var(--ink);
  --hub-ink-soft: var(--ink-soft);
  --hub-blue: var(--cobalt-600);
  --hub-blue-deep: #174dbf;
  --hub-mint: var(--success);
  --hub-violet: #6e64d9;
  --hub-surface: rgba(252, 253, 254, .96);
  --hub-surface-solid: var(--paper);
  --hub-surface-muted: var(--mist-50);
  --hub-line: var(--line-light);
  --hub-line-strong: var(--line-strong);
  --hub-shadow: 0 22px 62px rgba(6, 21, 38, .09), 0 2px 10px rgba(6, 21, 38, .035);
  --hub-shadow-soft: 0 12px 36px rgba(6, 21, 38, .07);
  --market-ink: var(--ink);
  --market-ink-soft: var(--ink-soft);
  --market-muted: var(--muted);
  --market-line: var(--line-light);
  --market-line-strong: var(--line-strong);
  --market-surface: var(--paper);
  --market-surface-soft: var(--mist-50);
  --market-warm: var(--gold-400);
  --market-warm-deep: #c68927;
  --market-warm-soft: #fff6df;
  --market-trust: var(--cobalt-600);
  --market-success: var(--success);
  --market-danger: var(--danger);
  --market-shadow: 0 20px 58px rgba(6, 21, 38, .09), 0 2px 10px rgba(6, 21, 38, .04);
  --market-shadow-hover: 0 28px 74px rgba(6, 21, 38, .14), 0 8px 22px rgba(6, 21, 38, .06);
}

html {
  color-scheme: light;
  background: var(--navy-950);
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 6%, rgba(71, 124, 255, .12), transparent 31rem),
    linear-gradient(180deg, #eef3f7, #e7edf3);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  background-image:
    linear-gradient(rgba(27, 79, 128, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 79, 128, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .42), transparent 74%);
}

h1,
h2,
h3,
.brand-name,
.course-title {
  color: var(--ink);
  font-family: var(--font-sans);
  font-synthesis: none;
  text-wrap: balance;
}

button,
input,
select,
textarea {
  font-synthesis: none;
}

:where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(71, 124, 255, .42);
  outline-offset: 3px;
}

.btn-primary,
.btn-accent {
  color: #fff;
  background: linear-gradient(135deg, var(--cobalt-600), #174fc9);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 26px rgba(47, 109, 246, .24), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.btn-primary:hover,
.btn-accent:hover {
  filter: none;
  transform: translateY(-1px);
  background: linear-gradient(135deg, #447cf5, #1749b8);
}

.btn-ghost {
  color: var(--ink-soft);
  background: rgba(252, 253, 254, .72);
  border-color: var(--line-light);
}

.btn-ghost:hover {
  color: var(--navy-950);
  background: #fff;
  border-color: var(--line-strong);
  filter: none;
}

/* Landing and global navigation */

body:not(.app-active) {
  background: var(--navy-950);
}

body:not(.app-active) #landingScreen {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: 18px clamp(18px, 3vw, 46px) clamp(42px, 5vw, 82px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 78% 66% at 77% 42%, rgba(42, 94, 174, .24), transparent 67%),
    radial-gradient(circle at 72% 8%, rgba(71, 124, 255, .2), transparent 30rem),
    radial-gradient(circle at 13% 91%, rgba(110, 201, 245, .11), transparent 29rem),
    linear-gradient(132deg, #020b16 0%, #041528 39%, #071b34 70%, #050f25 100%);
}

.landing-cinema {
  position: absolute;
  z-index: 0;
  inset: -12%;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 28%, rgba(241, 207, 139, .14) 0 1px, transparent 2px),
    radial-gradient(circle at 17% 31%, rgba(164, 221, 255, .22) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 72%, rgba(119, 181, 255, .15) 0 1px, transparent 2px),
    radial-gradient(circle at 83% 68%, rgba(255, 231, 177, .12) 0 1px, transparent 2px),
    linear-gradient(112deg, transparent 25%, rgba(113, 182, 244, .025) 46%, rgba(216, 237, 255, .07) 50%, rgba(113, 182, 244, .02) 55%, transparent 74%);
  background-size: 310px 270px, 410px 350px, 370px 420px, 470px 380px, 100% 100%;
  opacity: .88;
  mix-blend-mode: screen;
  will-change: transform, opacity;
  animation: cinemaDrift 26s ease-in-out infinite alternate;
  -webkit-mask-image: radial-gradient(ellipse 88% 82% at 56% 48%, #000 40%, rgba(0, 0, 0, .75) 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 88% 82% at 56% 48%, #000 40%, rgba(0, 0, 0, .75) 70%, transparent 100%);
}

.landing-cinema::before,
.landing-cinema::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.landing-cinema::before {
  left: 6%;
  bottom: -53%;
  width: 94%;
  aspect-ratio: 2.2 / 1;
  border: 1px solid rgba(126, 198, 255, .12);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  filter: drop-shadow(0 -8px 38px rgba(71, 124, 255, .08));
  transform: rotate(-5deg);
  animation: horizonFloat 18s ease-in-out infinite alternate;
}

.landing-cinema::after {
  inset: 4%;
  opacity: .13;
  background:
    repeating-radial-gradient(circle at 28% 17%, rgba(255, 255, 255, .32) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(103deg, transparent 0 9px, rgba(255, 255, 255, .05) 10px, transparent 11px 18px);
  background-size: 9px 11px, 29px 33px;
  mix-blend-mode: soft-light;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  animation: cinemaGrain .8s steps(2, end) infinite;
}

body:not(.app-active) #landingScreen::before,
body:not(.app-active) #landingScreen::after {
  width: 440px;
  height: 440px;
  opacity: .17;
  filter: blur(110px);
  animation: none;
}

body:not(.app-active) #landingScreen::before {
  top: auto;
  bottom: -270px;
  left: -140px;
  background: var(--sky-400);
}

body:not(.app-active) #landingScreen::after {
  top: -260px;
  right: -110px;
  background: var(--cobalt-500);
}

#landingScreen .header-row {
  position: relative;
  z-index: 8;
  width: min(1540px, 100%);
  min-height: 64px;
  margin-inline: auto;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#landingScreen .brand {
  gap: 11px;
}

#landingScreen .brand-mark {
  width: 44px;
  height: 44px;
  display: block;
  flex: none;
  object-fit: contain;
  overflow: visible;
  border-radius: 0;
  clip-path: none;
  box-shadow: none;
  filter: none;
}

#landingScreen .brand-name {
  color: var(--ivory-50);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.55px;
}

#landingScreen .brand-name .bn-a,
#landingScreen .brand-name .bn-b {
  color: inherit;
}

#landingScreen .brand-tag {
  margin-top: 3px;
  color: rgba(224, 237, 249, .56);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
}

#landingScreen .auth-bar {
  gap: 8px;
}

#landingScreen .auth-user {
  color: rgba(232, 241, 249, .72);
  font-size: 12px;
}

#landingScreen .auth-academic {
  color: var(--sky-300);
}

#landingScreen .auth-bar .btn-primary {
  color: var(--navy-950);
  background: var(--ivory-50);
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .17);
}

#landingScreen .auth-bar .btn-ghost {
  color: rgba(242, 247, 252, .82);
  background: rgba(255, 255, 255, .055);
  border-color: rgba(205, 226, 246, .16);
}

#landingScreen .auth-bar .btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, .11);
  border-color: rgba(205, 226, 246, .27);
}

#landingScreen .language-control {
  min-width: 146px;
  height: 40px;
  margin: 0;
  border-color: rgba(205, 226, 246, .16);
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

#landingScreen .language-control::before {
  display: none;
}

#landingScreen .language-control:hover,
#landingScreen .language-control:focus-within {
  border-color: rgba(139, 216, 255, .45);
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 0 0 4px rgba(139, 216, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .08);
}

#landingScreen .language-icon {
  background: linear-gradient(145deg, var(--cobalt-500), #1e4fb7);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .3);
}

#landingScreen .language-select {
  color: rgba(244, 248, 252, .9);
}

#landingScreen .language-chevron {
  color: rgba(220, 235, 248, .62);
}

.hero-stage {
  position: relative;
  z-index: 2;
  width: min(1540px, 100%);
  min-height: calc(100svh - 120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, .76fr) minmax(540px, 1.24fr);
  gap: clamp(14px, 2.5vw, 46px);
  align-items: center;
}

.hero-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12vw;
  bottom: 4%;
  width: min(90vw, 1240px);
  height: min(46vw, 630px);
  pointer-events: none;
  background:
    radial-gradient(ellipse at 54% 58%, rgba(74, 135, 231, .14), transparent 48%),
    radial-gradient(ellipse at 76% 36%, rgba(239, 195, 106, .08), transparent 27%);
  filter: blur(16px);
  opacity: .82;
  transform: rotate(-5deg);
}

#landingScreen .hero-copy {
  position: relative;
  z-index: 5;
  width: auto;
  max-width: 660px;
  margin: 0;
  padding: clamp(72px, 9vh, 120px) 0 clamp(64px, 8vh, 110px);
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  animation: navyReveal .78s .08s cubic-bezier(.22, .78, .22, 1) both;
}

#landingScreen .hero-copy::before {
  content: "";
  width: clamp(82px, 10vw, 152px);
  height: 1px;
  margin: 0 0 clamp(28px, 4vh, 46px);
  background: linear-gradient(90deg, var(--gold-400), rgba(139, 216, 255, .58) 58%, transparent);
  box-shadow: 0 0 18px rgba(139, 216, 255, .2);
  transform-origin: left;
  animation: titleTrace 1.15s .3s cubic-bezier(.2, .72, .2, 1) both;
}

#landingScreen .hero-copy::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 25%;
  left: -18%;
  width: 76%;
  height: 54%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(28, 82, 147, .17), transparent 70%);
  filter: blur(34px);
  opacity: .7;
  pointer-events: none;
}

#landingScreen .hero-copy h1 {
  max-width: 640px;
  color: var(--ivory-50);
  font-size: clamp(62px, 6.7vw, 108px);
  font-weight: 700;
  letter-spacing: clamp(-6px, -.06em, -3px);
  line-height: .9;
  text-shadow: 0 16px 58px rgba(0, 0, 0, .32);
}

#landingScreen .hero-copy h1 span {
  width: auto;
  text-align: left;
  background: linear-gradient(95deg, var(--sky-300), #d9efff 56%, var(--gold-300));
  background-clip: text;
  -webkit-background-clip: text;
  background-size: 180% 100%;
  filter: drop-shadow(0 10px 28px rgba(109, 190, 242, .12));
  animation: semesterLight 9s ease-in-out infinite alternate;
}

#landingScreen .hero-copy > p {
  position: relative;
  max-width: 600px;
  margin: 28px 0 0;
  padding-left: 22px;
  color: rgba(229, 239, 248, .7);
  font-size: clamp(16px, 1.65vw, 21px);
  line-height: 1.55;
}

#landingScreen .hero-copy > p::before {
  content: "";
  position: absolute;
  top: .35em;
  bottom: .35em;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--sky-300), rgba(139, 216, 255, .06));
  box-shadow: 0 0 16px rgba(139, 216, 255, .22);
}

#landingScreen .landing-actions {
  align-items: flex-start;
  margin-top: 34px;
}

body:not(.app-active) #landingScreen .start-app-btn {
  position: relative;
  isolation: isolate;
  width: fit-content;
  min-width: clamp(230px, 18vw, 276px);
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 27px 13px 30px;
  overflow: visible;
  color: var(--navy-950);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .62), transparent 31%),
    linear-gradient(102deg, #e8ad3f 0%, var(--gold-300) 48%, #ffe4a5 100%);
  border: 1px solid rgba(255, 226, 158, .86);
  border-radius: 999px 22px 22px 999px;
  box-shadow:
    0 20px 54px rgba(3, 13, 25, .34),
    0 0 34px rgba(239, 195, 106, .2),
    inset 0 1px 0 rgba(255, 255, 255, .7);
  filter: drop-shadow(14px 0 24px rgba(239, 195, 106, .13));
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -.015em;
  text-shadow: none;
  transition:
    color .22s ease,
    background-color .22s ease,
    border-color .22s ease,
    box-shadow .3s ease,
    filter .3s ease,
    transform .34s cubic-bezier(.2, .78, .2, 1);
}

body:not(.app-active) #landingScreen .start-app-btn::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 1px 18px 1px 2px;
  border-radius: inherit;
  background: linear-gradient(112deg,
    transparent 18%,
    rgba(255, 255, 255, .08) 34%,
    rgba(255, 255, 255, .82) 48%,
    rgba(255, 255, 255, .08) 62%,
    transparent 78%);
  background-size: 230% 100%;
  background-position: 130% 0;
  opacity: .7;
  pointer-events: none;
  animation: startCtaCurrent 3.6s cubic-bezier(.42, 0, .24, 1) infinite;
}

body:not(.app-active) #landingScreen .start-app-btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -20px;
  width: 32px;
  height: 40px;
  background: linear-gradient(118deg, var(--gold-300), #ffe4a5 72%);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 28% 50%);
  filter: drop-shadow(8px 0 13px rgba(239, 195, 106, .24));
  transform: translateY(-50%);
  transform-origin: left center;
  pointer-events: none;
  transition: filter .3s ease, transform .34s cubic-bezier(.2, .78, .2, 1);
}

body:not(.app-active) #landingScreen .start-app-btn > span {
  position: relative;
  z-index: 2;
  margin-left: 0;
}

body:not(.app-active) #landingScreen .start-app-btn:hover {
  color: #04172a;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .74), transparent 34%),
    linear-gradient(102deg, #efb84e 0%, #ffd77e 52%, #fff0c3 100%);
  border-color: #ffe1a0;
  box-shadow:
    0 25px 62px rgba(3, 13, 25, .38),
    0 0 46px rgba(239, 195, 106, .3),
    inset 0 1px 0 rgba(255, 255, 255, .8);
  filter: drop-shadow(19px 0 30px rgba(239, 195, 106, .2));
  transform: translate3d(7px, -2px, 0);
}

body:not(.app-active) #landingScreen .start-app-btn:hover::after {
  filter: drop-shadow(12px 0 17px rgba(239, 195, 106, .34));
  transform: translate3d(5px, -50%, 0) scaleX(1.08);
}

body:not(.app-active) #landingScreen .start-app-btn:active {
  color: #04172a;
  background: linear-gradient(102deg, #dca137, #efc36a 58%, #f9d98f);
  border-color: #e8b858;
  box-shadow:
    0 13px 34px rgba(3, 13, 25, .3),
    0 0 24px rgba(239, 195, 106, .2),
    inset 0 2px 5px rgba(88, 54, 5, .12);
  transform: translate3d(4px, 1px, 0) scale(.985);
}

body:not(.app-active) #landingScreen .start-app-btn:focus-visible {
  outline: 3px solid var(--sky-300);
  outline-offset: 7px;
  box-shadow:
    0 0 0 5px rgba(139, 216, 255, .18),
    0 22px 58px rgba(3, 13, 25, .36),
    0 0 42px rgba(239, 195, 106, .25),
    inset 0 1px 0 rgba(255, 255, 255, .72);
}

body:not(.app-active) #landingScreen .start-app-btn [aria-hidden="true"] {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  margin: 0 -7px 0 0;
  color: #fff7e5;
  border: 1px solid rgba(7, 30, 52, .26);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .16), transparent 52%),
    var(--navy-950);
  box-shadow: 0 8px 20px rgba(3, 13, 25, .24), inset 0 1px 0 rgba(255, 255, 255, .14);
  font-size: 17px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .34s cubic-bezier(.2, .72, .2, 1);
}

body:not(.app-active) #landingScreen .start-app-btn:hover [aria-hidden="true"] {
  border-color: rgba(7, 30, 52, .5);
  box-shadow: 0 9px 22px rgba(3, 13, 25, .3), 0 0 18px rgba(255, 255, 255, .22);
  transform: translateX(6px);
}

@keyframes startCtaCurrent {
  0%, 24% { background-position: 130% 0; opacity: .22; }
  62% { opacity: .78; }
  82%, 100% { background-position: -125% 0; opacity: .18; }
}

#landingScreen .start-hint {
  color: rgba(220, 233, 245, .66);
}

.hero-art {
  position: relative;
  isolation: isolate;
  width: calc(100% + clamp(70px, 8vw, 150px));
  margin: 0 clamp(-150px, -8vw, -70px) 0 0;
  overflow: visible;
  aspect-ratio: 1624 / 969;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: navyReveal .86s .18s cubic-bezier(.22, .78, .22, 1) both;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-art::before {
  z-index: 0;
  inset: -7% -5%;
  background:
    radial-gradient(circle at 73% 25%, rgba(239, 195, 106, .16), transparent 21%),
    radial-gradient(circle at 45% 63%, rgba(78, 139, 255, .16), transparent 45%),
    url("concourse-course-odyssey.webp") 58% 50% / cover no-repeat;
  filter: blur(34px) saturate(1.2);
  opacity: .5;
  mix-blend-mode: screen;
  transform: scale(1.08);
  animation: bridgeAura 14s ease-in-out infinite alternate;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .64) 7%, #000 18%, #000 74%, rgba(0, 0, 0, .68) 87%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .78) 7%, #000 17%, #000 75%, rgba(0, 0, 0, .5) 89%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .64) 7%, #000 18%, #000 74%, rgba(0, 0, 0, .68) 87%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .78) 7%, #000 17%, #000 75%, rgba(0, 0, 0, .5) 89%, transparent 100%);
  mask-composite: intersect;
}

.hero-art::after {
  z-index: 2;
  top: -4%;
  bottom: -4%;
  left: -22%;
  width: 32%;
  background: linear-gradient(104deg, transparent 4%, rgba(139, 216, 255, .02) 30%, rgba(227, 244, 255, .2) 50%, rgba(239, 195, 106, .06) 66%, transparent 92%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: skewX(-12deg);
  animation: bridgeLightSweep 15s 2s cubic-bezier(.45, 0, .25, 1) infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24% 71%, transparent 96%);
  mask-image: linear-gradient(90deg, transparent, #000 24% 71%, transparent 96%);
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 58% 50%;
  opacity: .94;
  filter: saturate(1.07) contrast(1.03) brightness(.98) drop-shadow(0 32px 56px rgba(1, 9, 19, .18));
  transform: translate3d(0, 0, 0) scale(1.025);
  transform-origin: 58% 56%;
  will-change: transform;
  animation: bridgeGlide 13s cubic-bezier(.45, 0, .25, 1) infinite alternate;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .72) 6%, #000 15%, #000 76%, rgba(0, 0, 0, .82) 86%, rgba(0, 0, 0, .24) 95%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .86) 5%, #000 13%, #000 76%, rgba(0, 0, 0, .68) 87%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .72) 6%, #000 15%, #000 76%, rgba(0, 0, 0, .82) 86%, rgba(0, 0, 0, .24) 95%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .86) 5%, #000 13%, #000 76%, rgba(0, 0, 0, .68) 87%, transparent 100%);
  mask-composite: intersect;
}

.hero-art-dust,
.hero-art-flare {
  position: absolute;
  z-index: 4;
  display: block;
  pointer-events: none;
}

.hero-art-dust {
  inset: 8% 2% 4% 7%;
  background:
    radial-gradient(circle at 18% 72%, rgba(146, 211, 255, .68) 0 1px, transparent 2px),
    radial-gradient(circle at 37% 34%, rgba(255, 226, 163, .54) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 77%, rgba(146, 211, 255, .52) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 21%, rgba(255, 226, 163, .58) 0 1px, transparent 2px),
    radial-gradient(circle at 91% 58%, rgba(176, 224, 255, .5) 0 1px, transparent 2px);
  background-size: 190px 170px, 260px 230px, 310px 280px, 370px 320px, 430px 390px;
  opacity: .46;
  mix-blend-mode: screen;
  will-change: transform, opacity;
  animation: bridgeDust 19s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(103deg, transparent 2%, #000 20% 76%, transparent 98%);
  mask-image: linear-gradient(103deg, transparent 2%, #000 20% 76%, transparent 98%);
}

.hero-art-flare {
  top: 9%;
  right: 13%;
  width: clamp(120px, 18vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 242, 203, .31) 0 2%, rgba(239, 195, 106, .13) 9%, rgba(113, 181, 255, .07) 24%, transparent 68%);
  filter: blur(4px);
  mix-blend-mode: screen;
  opacity: .55;
  will-change: transform, opacity;
  animation: destinationPulse 8s ease-in-out infinite alternate;
}

.hero-art-stars {
  --bridge-star-scale: 1;
  position: absolute;
  z-index: 3;
  top: 18%;
  left: 13%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(222, 243, 255, .92);
  box-shadow:
    84px 92px 0 -1px rgba(139, 216, 255, .88),
    184px -12px 0 -1px rgba(239, 195, 106, .86),
    286px 64px 0 -1px rgba(222, 243, 255, .72),
    380px 10px 0 -1.5px rgba(139, 216, 255, .82),
    462px 126px 0 -1px rgba(239, 195, 106, .76),
    548px 46px 0 -1.5px rgba(222, 243, 255, .8),
    624px 172px 0 -1px rgba(139, 216, 255, .72);
  opacity: .76;
  pointer-events: none;
  will-change: transform, opacity;
  animation: bridgeStars 12.5s ease-in-out infinite alternate;
}

.hero-art-orbit {
  position: absolute;
  z-index: 3;
  display: block;
  border: 1px solid rgba(139, 216, 255, .22);
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  -webkit-mask-image: conic-gradient(from 22deg, transparent 0 11%, #000 22% 47%, rgba(0, 0, 0, .16) 62%, #000 78% 88%, transparent 97%);
  mask-image: conic-gradient(from 22deg, transparent 0 11%, #000 22% 47%, rgba(0, 0, 0, .16) 62%, #000 78% 88%, transparent 97%);
}

.hero-art-orbit::before,
.hero-art-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero-art-orbit::after {
  width: 8px;
  height: 8px;
  background: var(--gold-400);
  box-shadow: 0 0 18px rgba(239, 195, 106, .7);
}

.hero-art-orbit::before {
  width: 4px;
  height: 4px;
  background: rgba(231, 247, 255, .92);
  box-shadow: 0 0 14px rgba(139, 216, 255, .9);
}

.hero-art-orbit-a {
  top: 15%;
  right: -2%;
  width: 72%;
  aspect-ratio: 1.55 / 1;
  transform: rotate(-13deg);
  animation: bridgeOrbitA 18s linear infinite;
}

.hero-art-orbit-a::after {
  top: 15%;
  left: 11%;
}

.hero-art-orbit-a::before {
  right: 7%;
  bottom: 25%;
}

.hero-art-orbit-b {
  top: 24%;
  left: -4%;
  width: 53%;
  aspect-ratio: 1.4 / 1;
  transform: rotate(19deg);
  animation: bridgeOrbitB 14s linear infinite reverse;
}

.hero-art-orbit-b::after {
  right: 4%;
  bottom: 27%;
  width: 6px;
  height: 6px;
  background: var(--sky-300);
}

.hero-art-orbit-b::before {
  top: 10%;
  left: 18%;
}

@keyframes bridgeGlide {
  0% { transform: translate3d(-1.2%, 1.1%, 0) scale(1.025) rotate(-.25deg); }
  48% { transform: translate3d(.4%, -.5%, 0) scale(1.047) rotate(.08deg); }
  100% { transform: translate3d(1.4%, -1.2%, 0) scale(1.035) rotate(.25deg); }
}

@keyframes bridgeAura {
  from { opacity: .36; transform: translate3d(-2%, 2%, 0) scale(1.05); }
  to { opacity: .62; transform: translate3d(3%, -2%, 0) scale(1.12); }
}

@keyframes bridgeLightSweep {
  0%, 16% { left: -24%; opacity: 0; }
  24% { opacity: .48; }
  52% { opacity: .2; }
  67%, 100% { left: 100%; opacity: 0; }
}

@keyframes bridgeStars {
  from { opacity: .5; transform: translate3d(-4px, 7px, 0) scale(var(--bridge-star-scale, 1)); }
  to { opacity: .95; transform: translate3d(7px, -5px, 0) scale(var(--bridge-star-scale, 1)); }
}

@keyframes bridgeDust {
  from { opacity: .3; transform: translate3d(-9px, 8px, 0) rotate(-.5deg); }
  to { opacity: .66; transform: translate3d(12px, -10px, 0) rotate(.5deg); }
}

@keyframes destinationPulse {
  from { opacity: .34; transform: scale(.88); }
  to { opacity: .72; transform: scale(1.12); }
}

@keyframes cinemaDrift {
  from { opacity: .72; transform: translate3d(-1.1%, .8%, 0) scale(1.01); }
  to { opacity: .94; transform: translate3d(1.2%, -.7%, 0) scale(1.025); }
}

@keyframes horizonFloat {
  from { opacity: .45; transform: translate3d(-2%, 1%, 0) rotate(-5deg) scaleX(.98); }
  to { opacity: .92; transform: translate3d(2%, -1%, 0) rotate(-4deg) scaleX(1.03); }
}

@keyframes cinemaGrain {
  0% { transform: translate3d(-1%, 1%, 0); }
  50% { transform: translate3d(1%, -.5%, 0); }
  100% { transform: translate3d(.2%, 1.2%, 0); }
}

@keyframes titleTrace {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes semesterLight {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes bridgeOrbitA {
  from { transform: rotate(-13deg); }
  to { transform: rotate(347deg); }
}

@keyframes bridgeOrbitB {
  from { transform: rotate(19deg); }
  to { transform: rotate(379deg); }
}

@keyframes navyReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* Compact application bar */

body.app-active #landingScreen {
  min-height: 0;
  padding: 8px clamp(10px, 2vw, 28px) 10px;
  border-bottom: 1px solid rgba(205, 226, 246, .12);
  background: rgba(4, 17, 31, .9);
  box-shadow: 0 12px 36px rgba(6, 21, 38, .18);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}

body.app-active #landingScreen .header-row {
  min-height: 58px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.app-active #landingScreen .brand-mark {
  width: 40px;
  height: 40px;
}

body.app-active #landingScreen .brand-name {
  font-size: 18px;
}

body.app-active #landingScreen .hero-stage,
body.app-active #landingScreen .hero-art {
  display: none;
}

body.app-active #landingScreen .landing-cinema {
  display: none;
}

/* Authentication */

.auth-modal {
  z-index: 1000;
  background:
    radial-gradient(circle at 50% 5%, rgba(71, 124, 255, .18), transparent 32rem),
    rgba(3, 13, 25, .78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.auth-card {
  position: relative;
  width: min(500px, 100%);
  padding: clamp(24px, 4vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 30px;
  background:
    radial-gradient(circle at 96% 0%, rgba(139, 216, 255, .16), transparent 18rem),
    var(--ivory-50);
  box-shadow: 0 38px 110px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.auth-card::before {
  content: "";
  display: block;
  width: 54px;
  height: 7px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cobalt-600), var(--sky-300), var(--gold-400));
}

.auth-card-head h2 {
  color: var(--navy-950);
  font-size: clamp(25px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -.04em;
}

.auth-card-head h2::after {
  display: none;
}

.auth-card-head p,
.auth-card p {
  color: var(--muted);
}

.auth-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink-soft);
  background: rgba(7, 30, 52, .06);
  border: 0;
  border-radius: 50%;
}

.auth-mode-switch {
  padding: 5px;
  border: 1px solid var(--line-light);
  border-radius: 16px;
  background: rgba(7, 30, 52, .055);
}

.auth-mode-btn {
  border-radius: 12px;
  color: var(--muted);
}

.auth-mode-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  box-shadow: 0 8px 20px rgba(6, 21, 38, .2);
}

.auth-card :where(input, select) {
  min-height: 48px;
  color: var(--ink);
  background: rgba(255, 255, 255, .84);
  border: 1px solid var(--line-light);
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.auth-card :where(input, select):focus {
  border-color: rgba(47, 109, 246, .55);
  box-shadow: 0 0 0 4px rgba(47, 109, 246, .09);
}

.private-name-block {
  border-color: rgba(47, 109, 246, .15);
  background: rgba(71, 124, 255, .055);
}

.privacy-badge {
  color: #0d4aa8;
  background: #e2edff;
}

.school-results {
  border-color: var(--line-light);
  border-radius: 15px;
  background: var(--paper);
  box-shadow: 0 20px 55px rgba(6, 21, 38, .2);
}

.school-result:hover,
.school-result.active {
  background: #edf4ff;
}

.auth-submit {
  min-height: 50px;
  margin-top: 18px;
  border-radius: 14px;
}

.auth-verification-panel {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(47, 109, 246, .18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 216, 255, .18), transparent 13rem),
    rgba(237, 247, 252, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86);
}

.auth-verification-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}

.auth-verification-heading > div {
  min-width: 0;
}

.auth-verification-mark {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  color: var(--navy-950);
  border: 1px solid rgba(139, 216, 255, .9);
  border-radius: 14px;
  background: var(--sky-300);
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(36, 151, 204, .18);
}

.auth-verification-heading b,
.auth-verification-heading span {
  display: block;
}

.auth-verification-heading b {
  color: var(--navy-950);
  font-size: 14px;
  line-height: 20px;
}

.auth-verification-heading div > span {
  max-width: 330px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-card .auth-verification-code {
  min-height: 64px;
  padding: 12px 16px 12px 23px;
  color: var(--navy-950);
  border-color: rgba(37, 93, 132, .3);
  background: rgba(255, 255, 255, .94);
  font-size: 28px;
  font-weight: 760;
  letter-spacing: .3em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.auth-card .auth-verification-code::placeholder {
  color: rgba(57, 82, 101, .32);
  opacity: 1;
}

.auth-card .auth-verification-help {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 18px;
}

.auth-change-email {
  min-height: 0;
  margin-top: 8px;
  padding: 4px 0;
  color: var(--cobalt-600);
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.auth-card #authEmail[readonly] {
  color: var(--ink-soft);
  background: rgba(230, 237, 242, .7);
  cursor: default;
}

@media (max-width: 520px) {
  .auth-verification-panel { padding: 17px; border-radius: 18px; }
  .auth-card .auth-verification-code { font-size: 25px; letter-spacing: .24em; }
}

/* Planner workspace */

body.app-active:not(.schedule-active):not(.hub-active) {
  background:
    radial-gradient(circle at 7% 2%, rgba(71, 124, 255, .14), transparent 32rem),
    linear-gradient(180deg, #edf3f8, #e5edf4);
}

body.app-active:not(.schedule-active):not(.hub-active) .wrap {
  max-width: 1760px;
  gap: clamp(30px, 4vw, 68px);
  padding-top: 38px;
}

.configurator-intro {
  padding-top: 12px;
}

.configurator-intro h1,
.wishlist-header h2,
.schedule-page-header h1 {
  color: var(--navy-950);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  font-weight: 700;
}

.configurator-intro h1 {
  font-size: clamp(42px, 4vw, 64px);
  letter-spacing: -.055em;
}

.configurator-intro > p:last-child {
  color: var(--muted);
}

.configurator-nav {
  top: var(--app-bar-offset);
  padding: 6px;
  border-color: var(--line-light);
  background: rgba(247, 250, 252, .88);
  box-shadow: 0 12px 34px rgba(6, 21, 38, .09);
}

.configurator-nav a {
  color: var(--ink-soft);
}

.configurator-nav a span {
  color: var(--cobalt-600);
}

.configurator-nav a:hover {
  color: #fff;
  background: var(--navy-900);
}

.configurator-column .panel {
  margin-bottom: 20px !important;
  padding: clamp(27px, 2.8vw, 38px);
  border: 1px solid rgba(7, 30, 52, .1);
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .98), rgba(247, 250, 252, .95));
  box-shadow: 0 22px 62px rgba(6, 21, 38, .09), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.configurator-column .panel:hover {
  box-shadow: 0 26px 72px rgba(6, 21, 38, .11), inset 0 1px 0 rgba(255, 255, 255, .92);
}

.panel-heading .panel-index,
.configurator-column .panel-heading .panel-index {
  color: #fff;
  background: linear-gradient(145deg, var(--cobalt-600), var(--navy-800));
  box-shadow: 0 9px 20px rgba(18, 56, 95, .24), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.configurator-column .panel-heading h2 {
  color: var(--navy-950);
  font-size: 24px;
  font-weight: 700;
}

.configurator-column .panel-heading p,
.panel-heading p {
  color: var(--muted);
}

.configurator-column :where(input, select) {
  color: var(--ink);
  background: var(--paper);
  border-color: rgba(7, 30, 52, .15);
}

.configurator-column :where(input, select):focus {
  border-color: rgba(47, 109, 246, .58);
  box-shadow: 0 0 0 4px rgba(47, 109, 246, .09);
}

.configurator-column .day-chip {
  color: var(--ink-soft);
  background: var(--paper);
  border-color: rgba(7, 30, 52, .15);
  border-radius: 12px;
}

.configurator-column .day-chip:hover {
  color: var(--navy-950);
  border-color: rgba(47, 109, 246, .38);
}

.configurator-column .day-chip.on {
  color: #fff;
  background: var(--navy-800);
  border-color: var(--navy-800);
  box-shadow: 0 8px 18px rgba(18, 56, 95, .18);
}

.configurator-column .choice {
  border-color: rgba(7, 30, 52, .14);
  background: var(--paper);
}

.configurator-column .choice:hover {
  border-color: rgba(47, 109, 246, .38);
}

.configurator-column .choice.sel {
  border-color: var(--cobalt-600);
  background: #eef4ff;
  box-shadow: 0 0 0 1px var(--cobalt-600), 0 10px 24px rgba(47, 109, 246, .08);
}

.configurator-column .prefs label.chk,
.configurator-column .course-card,
.slot-item {
  border-color: var(--line-light);
  background: var(--mist-50);
}

.configurator-column .divider {
  background: linear-gradient(90deg, transparent, rgba(18, 56, 95, .18) 12%, rgba(18, 56, 95, .18) 88%, transparent);
}

#generate {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  border-color: rgba(255, 255, 255, .5);
  box-shadow: 0 16px 36px rgba(6, 21, 38, .2), inset 0 1px 0 rgba(255, 255, 255, .55);
}

#generate:hover {
  background: linear-gradient(135deg, #ffe6aa, var(--gold-400));
}

#wishlistPanel {
  top: var(--app-bar-offset);
  border: 1px solid rgba(170, 207, 239, .18);
  background:
    radial-gradient(circle at 90% 8%, rgba(71, 124, 255, .28), transparent 26rem),
    radial-gradient(circle at 5% 92%, rgba(139, 216, 255, .1), transparent 24rem),
    linear-gradient(150deg, var(--navy-900), var(--navy-950));
  box-shadow: 0 34px 92px rgba(6, 21, 38, .22), inset 0 1px 0 rgba(255, 255, 255, .06);
}

#wishlistPanel:hover {
  box-shadow: 0 34px 92px rgba(6, 21, 38, .22), inset 0 1px 0 rgba(255, 255, 255, .06);
}

#wishlistPanel .wishlist-header {
  border-bottom-color: rgba(205, 226, 246, .16);
}

#wishlistPanel .wishlist-header::after {
  background: linear-gradient(90deg, var(--sky-300), rgba(139, 216, 255, .08));
}

#wishlistPanel .wishlist-header h2 {
  color: var(--ivory-50);
}

#wishlistPanel .wishlist-header p {
  color: rgba(224, 237, 249, .64);
}

#wishlistPanel .wishlist-count {
  color: var(--navy-950);
  background: var(--gold-300);
  border-color: rgba(255, 255, 255, .25);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

#wishlistPanel .wishlist-profile {
  border-color: rgba(139, 216, 255, .18);
  background: rgba(255, 255, 255, .065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

#wishlistPanel .wishlist-profile-title {
  color: var(--sky-300);
}

#wishlistPanel .wishlist-profile-title::before {
  background: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(239, 195, 106, .1);
}

#wishlistPanel .wishlist-profile label,
#wishlistPanel .wishlist-profile-note {
  color: rgba(220, 233, 245, .62) !important;
}

#wishlistPanel .wishlist-profile select {
  color: var(--ink);
  background: var(--paper);
  border-color: rgba(205, 226, 246, .2);
}

#wishlistPanel #courseList > .empty-note {
  color: rgba(224, 237, 249, .64);
  border-color: rgba(205, 226, 246, .18);
  background:
    linear-gradient(rgba(255, 255, 255, .035), rgba(255, 255, 255, .035)),
    repeating-linear-gradient(90deg, transparent 0 19%, rgba(139, 216, 255, .06) 19% calc(19% + 1px)),
    repeating-linear-gradient(0deg, transparent 0 68px, rgba(139, 216, 255, .06) 68px 69px);
}

#wishlistPanel .course-card {
  color: var(--ink);
  border-color: rgba(255, 255, 255, .72);
  background: rgba(252, 253, 254, .96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .15);
}

#wishlistPanel .course-card.req {
  border-color: rgba(139, 216, 255, .65);
}

#wishlistPanel .course-title {
  color: var(--navy-950);
}

#wishlistPanel .course-meta,
#wishlistPanel .sec-line {
  color: var(--muted);
}

#wishlistPanel .wishlist-toolbar {
  border-top-color: rgba(205, 226, 246, .14);
}

#wishlistPanel .wishlist-toolbar .btn-ghost {
  color: rgba(237, 245, 251, .78);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(205, 226, 246, .18);
}

/* Full timetable */

body.schedule-active {
  background:
    radial-gradient(circle at 92% 4%, rgba(47, 109, 246, .13), transparent 34rem),
    linear-gradient(180deg, #edf3f8, #e6edf4);
}

.schedule-page {
  max-width: 1760px;
}

.schedule-page-header {
  align-items: center;
}

.schedule-page-header h1 {
  font-size: clamp(46px, 5.4vw, 82px);
  letter-spacing: -.058em;
}

.schedule-page-header > div > p:last-child {
  color: var(--muted);
}

.schedule-back {
  color: var(--ivory-50);
  background: var(--navy-900);
  border-color: var(--navy-900);
  box-shadow: 0 10px 26px rgba(6, 21, 38, .16);
}

#schedulePage #timetablePanel {
  border: 1px solid rgba(7, 30, 52, .1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 252, .98));
  box-shadow: 0 36px 100px rgba(6, 21, 38, .13), inset 0 1px 0 rgba(255, 255, 255, .95);
}

#schedulePage #timetablePanel::before {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(30px, 6vw, 110px);
  left: clamp(30px, 6vw, 110px);
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, var(--cobalt-600), var(--sky-300), var(--gold-400), transparent);
}

#schedulePage #timetablePanel .panel-index {
  color: #fff;
  background: var(--navy-900);
  box-shadow: 0 8px 18px rgba(6, 21, 38, .18);
}

#schedulePage .stat {
  border-color: var(--line-light);
  background: #eef4f9;
}

#schedulePage .stat b {
  color: var(--navy-900);
}

#schedulePage .alt-btn.active {
  color: #fff;
  background: var(--navy-800);
  outline-color: var(--cobalt-600);
}

.final-timetable-bar {
  color: #fff;
  border-color: rgba(139, 216, 255, .18);
  background:
    radial-gradient(circle at 92% 0%, rgba(71, 124, 255, .26), transparent 20rem),
    var(--navy-900);
  box-shadow: 0 16px 40px rgba(6, 21, 38, .14);
}

.final-timetable-copy b {
  color: #fff;
}

.final-timetable-copy span {
  color: rgba(224, 237, 249, .66);
}

.final-timetable-bar .btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
}

.color-bar {
  border-color: var(--line-light);
  background: var(--mist-50);
}

#schedulePage .calendar-days {
  background: linear-gradient(var(--paper) 72%, rgba(252, 253, 254, 0));
}

#schedulePage #calArea > .empty-note,
#timetablePanel #calArea > .empty-note {
  color: var(--muted);
  border-color: rgba(7, 30, 52, .12);
  background:
    linear-gradient(rgba(249, 251, 253, .9), rgba(249, 251, 253, .9)),
    repeating-linear-gradient(90deg, transparent 0 18%, rgba(47, 109, 246, .08) 18% calc(18% + 1px)),
    repeating-linear-gradient(0deg, transparent 0 64px, rgba(47, 109, 246, .08) 64px 65px);
}

.info-box {
  color: #0b674c;
  background: #e4f5ee;
  border-color: #c4e8d9;
}

.conflict-warn {
  color: #98273b;
  background: #fdecef;
  border-color: #f4c8d0;
}

/* Student hub */

body.hub-active {
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 6%, rgba(71, 124, 255, .28), transparent 34rem),
    radial-gradient(circle at 4% 80%, rgba(139, 216, 255, .08), transparent 28rem),
    var(--navy-950);
}

.member-hub {
  min-height: calc(100svh - var(--app-bar-offset));
  padding: clamp(18px, 2.8vw, 42px);
}

.hub-shell {
  max-width: 1480px;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}

.hub-sidebar {
  top: var(--app-bar-offset);
  height: calc(100svh - var(--app-bar-offset) - 26px);
  padding: 16px;
  color: #fff;
  border-color: rgba(205, 226, 246, .14);
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 4%, rgba(71, 124, 255, .27), transparent 18rem),
    linear-gradient(165deg, var(--navy-850), #061628 72%);
  box-shadow: 0 26px 74px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .055);
  scrollbar-color: rgba(139, 216, 255, .32) transparent;
}

.hub-member-card {
  border-bottom-color: rgba(205, 226, 246, .14);
}

.hub-avatar,
.hub-avatar-button .hub-avatar {
  color: var(--navy-950);
  background: linear-gradient(145deg, var(--gold-300), var(--gold-400));
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

.hub-avatar-button:hover {
  background: rgba(139, 216, 255, .08);
}

.hub-avatar-button .hub-avatar-image {
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

.hub-avatar-edit-badge {
  color: #fff;
  background: var(--cobalt-500);
  border-color: var(--navy-850);
}

.hub-member-copy b {
  color: #fff;
}

.hub-member-copy span {
  color: rgba(224, 237, 249, .58);
}

.hub-profile-shortcut {
  color: var(--sky-300);
}

.hub-profile-shortcut:hover {
  color: #d9f2ff;
}

.hub-navigation {
  gap: 7px;
}

.hub-nav-button {
  color: rgba(226, 238, 248, .68);
  border-color: transparent;
}

.hub-nav-button span {
  color: rgba(139, 216, 255, .46);
}

.hub-nav-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, .065);
}

.hub-nav-button.active {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--ivory-50), #e8f1f8);
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .2);
}

.hub-nav-button.active span {
  color: var(--cobalt-600);
}

.hub-sidebar .hub-back-button {
  color: rgba(235, 244, 251, .72);
  background: rgba(255, 255, 255, .055);
  border-color: rgba(205, 226, 246, .14);
}

.hub-main {
  min-width: 0;
}

.hub-page-header {
  position: relative;
  min-height: 196px;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  align-items: flex-end;
  border: 1px solid rgba(205, 226, 246, .14);
  border-radius: 32px;
  background-image:
    linear-gradient(90deg, rgba(4, 17, 31, .98) 0%, rgba(4, 17, 31, .92) 38%, rgba(4, 17, 31, .22) 100%),
    url("concourse-course-odyssey.webp");
  background-position: center, 64% 42%;
  background-size: cover, cover;
  box-shadow: 0 28px 82px rgba(0, 0, 0, .23), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.hub-page-header::before {
  content: none;
}

.hub-page-header::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: -70%;
  width: 330px;
  aspect-ratio: 1;
  border: 1px solid rgba(139, 216, 255, .16);
  border-radius: 50%;
  z-index: 0;
  opacity: 1;
  filter: none;
  background: transparent;
  animation: none;
  pointer-events: none;
}

.hub-page-header > * {
  position: relative;
  z-index: 1;
}

.hub-page-header h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4.5vw, 66px);
  font-weight: 700;
  letter-spacing: -.052em;
  line-height: .96;
}

.hub-page-header > div > p:not(.hub-kicker) {
  max-width: 640px;
  color: rgba(225, 237, 247, .66);
}

.hub-kicker {
  color: var(--sky-300);
}

.hub-live-badge {
  color: rgba(240, 247, 252, .78);
  background: rgba(4, 17, 31, .48);
  border-color: rgba(205, 226, 246, .17);
  backdrop-filter: blur(12px);
}

.hub-live-badge span {
  background: var(--gold-400);
}

.hub-view {
  padding-top: clamp(22px, 2.5vw, 34px);
}

.hub-community-rail {
  top: var(--app-bar-offset);
}

.hub-card,
.hub-metric-card,
.hub-rail-card,
.hub-community-discovery,
.hub-feed-toolbar,
.hub-chat-card,
.hub-connections-shell {
  border-color: rgba(7, 30, 52, .1);
  background: rgba(252, 253, 254, .96);
  box-shadow: 0 20px 58px rgba(0, 0, 0, .13), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.hub-card,
.hub-metric-card,
.hub-rail-card,
.hub-chat-card,
.hub-connections-shell {
  border-radius: 24px;
}

.hub-metric-card {
  position: relative;
  overflow: hidden;
}

.hub-metric-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -32px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(47, 109, 246, .12);
  border-radius: 50%;
}

.hub-metric-card b {
  color: var(--navy-900);
}

.hub-card-index {
  color: var(--cobalt-600);
  background: #eaf2ff;
}

.hub-chart-fill,
.hub-profile-progress i {
  background: linear-gradient(90deg, var(--cobalt-600), var(--sky-400));
}

.hub-final-stat,
.hub-final-course {
  border-color: var(--line-light);
  background: var(--mist-50);
}

/* Community */

.hub-community-search {
  border-color: var(--line-light);
  background: var(--mist-50);
}

.hub-community-search:focus-within {
  border-color: rgba(47, 109, 246, .45);
  box-shadow: 0 0 0 4px rgba(47, 109, 246, .08);
}

.hub-topic-chip {
  color: var(--ink-soft);
  background: var(--mist-50);
  border-color: var(--line-light);
}

.hub-topic-chip:hover {
  color: var(--navy-950);
  border-color: rgba(47, 109, 246, .34);
}

.hub-topic-chip.active {
  color: #fff;
  background: var(--navy-900);
  border-color: var(--navy-900);
  box-shadow: 0 8px 18px rgba(6, 21, 38, .15);
}

.hub-compose-card {
  border-top: 4px solid var(--cobalt-600);
}

.hub-compose-content textarea,
.hub-comment-form textarea,
.hub-message-compose textarea,
.hub-chat-start input,
.hub-form-grid :where(input, textarea, select),
.hub-social-list input,
.hub-wechat-row input {
  color: var(--ink);
  background: var(--mist-50);
  border-color: var(--line-light);
}

.hub-compose-content textarea:focus,
.hub-comment-form textarea:focus,
.hub-message-compose textarea:focus,
.hub-chat-start input:focus,
.hub-form-grid :where(input, textarea, select):focus,
.hub-social-list input:focus,
.hub-wechat-row input:focus {
  border-color: rgba(47, 109, 246, .5);
  box-shadow: 0 0 0 4px rgba(47, 109, 246, .08);
}

.hub-tool-button {
  color: var(--ink-soft);
  background: #edf3f8;
  border-color: var(--line-light);
}

.hub-tool-button:hover {
  color: #fff;
  background: var(--navy-800);
  border-color: var(--navy-800);
}

.hub-post-card {
  border-color: rgba(7, 30, 52, .1);
  border-radius: 24px;
  background: rgba(252, 253, 254, .98);
  box-shadow: 0 18px 52px rgba(0, 0, 0, .12);
}

.hub-post-author-button:hover b,
.hub-post-actions button:hover {
  color: var(--cobalt-600);
}

.hub-post-tag {
  color: #174b7f;
  background: #e8f3fb;
}

.hub-post-media,
.hub-media-preview-item {
  background: var(--navy-900);
}

.hub-post-poll,
.hub-comments,
.hub-poll-builder {
  border-color: var(--line-light);
  background: var(--mist-50);
}

.hub-poll-choice-fill {
  background: linear-gradient(90deg, rgba(47, 109, 246, .2), rgba(139, 216, 255, .2));
}

.hub-rail-link:hover,
.hub-conversation-preview-button:hover {
  background: #eef4fa;
}

/* Messages and profile */

.hub-conversation-list {
  background: var(--mist-50);
  border-color: var(--line-light);
}

.hub-conversation-button {
  border-color: transparent;
}

.hub-conversation-button:hover {
  background: #e7eff6;
}

.hub-conversation-button.active {
  color: #fff;
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.hub-message-pane,
.hub-message-heading,
.hub-message-compose {
  border-color: var(--line-light);
}

.hub-message {
  color: var(--ink);
  background: #edf2f6;
}

.hub-message.mine {
  color: #fff;
  background: linear-gradient(145deg, var(--cobalt-600), var(--navy-800));
}

.hub-avatar-preview {
  color: var(--navy-950);
  background: linear-gradient(145deg, var(--gold-300), var(--gold-400));
}

.hub-avatar-preview-overlay {
  color: #fff;
  background: rgba(4, 17, 31, .72);
}

.hub-connection-tabs {
  background: var(--mist-100);
}

.hub-connection-tab {
  color: var(--muted);
}

.hub-connection-tab.active {
  color: #fff;
  background: var(--navy-900);
  box-shadow: 0 8px 20px rgba(6, 21, 38, .15);
}

.hub-provider-connection {
  border-color: var(--line-light);
  background: var(--paper);
}

.hub-toggle-label {
  border-color: var(--line-light);
  background: var(--mist-50);
}

.hub-profile-save {
  border-top-color: var(--line-light);
}

/* Marketplace */

.member-hub[data-active-view="marketplace"] .hub-page-header {
  max-width: 1320px;
  min-height: 170px;
  margin: 0 auto;
  padding: clamp(26px, 3vw, 42px);
  border-bottom: 1px solid rgba(205, 226, 246, .14);
}

.member-hub[data-active-view="marketplace"] .hub-page-header h1 {
  color: #fff;
  font-size: clamp(36px, 4.2vw, 60px);
}

.marketplace-view,
.market-view {
  color: var(--ink);
}

.market-discovery-bar {
  top: var(--app-bar-offset);
  border-color: rgba(7, 30, 52, .1);
  background: rgba(252, 253, 254, .93);
  box-shadow: 0 16px 46px rgba(0, 0, 0, .14);
}

.market-search,
input.market-search,
.market-filter-select > select {
  color: var(--ink);
  background: var(--mist-50);
  border-color: transparent;
}

.market-search:focus-within,
input.market-search:focus,
.market-filter-select > select:focus {
  background: #fff;
  border-color: rgba(47, 109, 246, .38);
  box-shadow: 0 0 0 4px rgba(47, 109, 246, .08);
}

.market-search button,
.market-search-button {
  color: var(--navy-950);
  background: var(--gold-400);
}

.market-search button:hover,
.market-search-button:hover {
  color: var(--navy-950);
  background: var(--gold-300);
}

.market-sell-button,
.market-primary-button {
  color: #fff;
  background: linear-gradient(145deg, var(--cobalt-600), var(--navy-800));
  border-color: var(--navy-800);
  box-shadow: 0 10px 24px rgba(6, 21, 38, .18);
}

.market-sell-button:hover,
.market-primary-button:hover {
  background: var(--navy-950);
}

.market-mode-tabs {
  background: rgba(226, 234, 242, .9);
  border: 1px solid rgba(7, 30, 52, .06);
}

.market-mode-tabs button,
.market-mode-button {
  color: var(--muted);
}

.market-mode-tabs button.active,
.market-mode-button.active {
  color: #fff;
  background: var(--navy-900);
  box-shadow: 0 8px 20px rgba(6, 21, 38, .16);
}

.market-trust-strip {
  color: #174a77;
  border-color: rgba(47, 109, 246, .16);
  background: linear-gradient(90deg, #e9f3ff, #f4f8fb);
}

.market-rail {
  top: calc(var(--app-bar-offset) + 76px);
}

.market-card,
.marketplace-card,
.market-rail-card,
.market-order-card,
.marketplace-order-card {
  border-color: rgba(7, 30, 52, .1);
  background: rgba(252, 253, 254, .98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
}

.market-card:hover,
.marketplace-card:hover {
  border-color: rgba(47, 109, 246, .24);
  box-shadow: var(--market-shadow-hover);
}

.market-card-media,
.marketplace-card-media-button,
.market-card-media-placeholder,
.marketplace-card-media-empty,
.marketplace-media-placeholder {
  background:
    radial-gradient(circle at 78% 18%, rgba(71, 124, 255, .28), transparent 14rem),
    linear-gradient(145deg, var(--navy-800), var(--navy-950));
}

.market-card-title,
.marketplace-card-title,
.marketplace-detail-title,
.market-detail-summary h2 {
  color: var(--navy-950);
}

.market-card-price,
.marketplace-card-price,
.marketplace-detail-price,
.market-price {
  color: var(--navy-900);
}

.marketplace-category-chip,
.market-card-badge,
.market-status-badge,
.marketplace-status-chip {
  color: #164873;
  background: #e7f1fa;
  border-color: rgba(27, 79, 128, .12);
}

.market-card-save,
.marketplace-card-action {
  color: var(--ink-soft);
  background: rgba(252, 253, 254, .92);
  border-color: var(--line-light);
}

.market-rail-card:first-child {
  color: #fff;
  border-color: rgba(139, 216, 255, .16);
  background:
    radial-gradient(circle at 88% 8%, rgba(71, 124, 255, .28), transparent 16rem),
    var(--navy-900);
}

.market-rail-card:first-child :where(h2, h3, b, .market-rail-eyebrow) {
  color: #fff;
}

.market-rail-card:first-child :where(p, span, li) {
  color: rgba(224, 237, 249, .7);
}

.market-protection-step-number {
  color: var(--navy-950);
  background: var(--gold-300);
}

.market-rail-card:first-child .market-protection-step-number {
  color: var(--navy-950);
}

.market-empty,
.marketplace-empty {
  color: var(--muted);
  border-color: rgba(7, 30, 52, .13);
  background: rgba(252, 253, 254, .72);
}

/* Dialogs and overlays */

.marketplace-modal,
.marketplace-backdrop,
.marketplace-modal-backdrop {
  z-index: 3000;
  background: rgba(3, 13, 25, .76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.marketplace-dialog,
.marketplace-modal-dialog,
.hub-profile-preview,
.hub-action-dialog {
  border-color: rgba(255, 255, 255, .72);
  background:
    radial-gradient(circle at 96% 0%, rgba(139, 216, 255, .12), transparent 20rem),
    var(--paper);
  box-shadow: 0 38px 110px rgba(0, 0, 0, .38);
}

.marketplace-dialog-header,
.marketplace-modal-header,
.marketplace-dialog-footer,
.marketplace-modal-footer,
.marketplace-dialog-body,
.marketplace-modal-body {
  border-color: var(--line-light);
}

.marketplace-dialog-header h2,
.marketplace-modal-header h2 {
  color: var(--navy-950);
}

.marketplace-dialog-close,
.marketplace-modal-close,
.marketplace-close,
.hub-profile-preview-close {
  color: var(--ink-soft);
  background: rgba(7, 30, 52, .06);
  border-color: transparent;
}

.marketplace-editor-form :where(input, textarea, select),
.marketplace-field-wide :where(input, textarea, select),
.market-field :where(input, textarea, select),
.market-field-wide :where(input, textarea, select) {
  color: var(--ink);
  background: var(--mist-50);
  border-color: var(--line-light);
}

.marketplace-editor-form :where(input, textarea, select):focus,
.marketplace-field-wide :where(input, textarea, select):focus,
.market-field :where(input, textarea, select):focus,
.market-field-wide :where(input, textarea, select):focus {
  border-color: rgba(47, 109, 246, .48);
  box-shadow: 0 0 0 4px rgba(47, 109, 246, .08);
}

.marketplace-media-drop,
.market-media-uploader {
  color: var(--ink-soft);
  border-color: rgba(47, 109, 246, .25);
  background: #eef5fb;
}

.marketplace-rights-check,
.marketplace-checkout-warning,
.marketplace-checkout-mini {
  border-color: rgba(239, 195, 106, .34);
  background: #fff7e5;
}

.hub-profile-modal {
  z-index: 4000;
  background: rgba(3, 13, 25, .76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Responsive behavior */

@media (max-width: 1250px) {
  .hero-stage {
    grid-template-columns: minmax(380px, .82fr) minmax(480px, 1.18fr);
    gap: 20px;
  }

  #landingScreen .hero-copy h1 {
    font-size: clamp(60px, 7.5vw, 88px);
  }

  .hub-page-header {
    background-position: center, 70% 44%;
  }
}

@media (max-width: 1050px) {
  :root { --app-bar-offset: 78px; }

  .hero-stage {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 28px;
  }

  #landingScreen .hero-copy {
    max-width: 820px;
    margin-inline: auto;
    padding: 60px 0 26px;
    align-items: center;
    text-align: center;
  }

  #landingScreen .hero-copy h1,
  #landingScreen .hero-copy h1 span {
    max-width: 820px;
    text-align: center;
  }

  #landingScreen .hero-copy > p {
    margin-inline: auto;
    text-align: left;
  }

  #landingScreen .landing-actions {
    align-items: center;
  }

  .hero-art {
    width: min(960px, 108%);
    margin: 0 auto 40px;
    aspect-ratio: 1.7 / 1;
  }

  .hero-stage::before {
    right: -18vw;
    bottom: -2%;
    width: 120vw;
    height: 58vw;
  }

  body.app-active:not(.schedule-active):not(.hub-active) .wrap {
    gap: 34px;
  }

  #wishlistPanel {
    top: auto;
  }

  .hub-shell {
    grid-template-columns: 1fr;
  }

  .hub-sidebar {
    position: sticky;
    top: var(--app-bar-offset);
    z-index: 45;
    height: auto;
    overflow: visible;
    border-radius: 22px;
  }

  .hub-navigation {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hub-nav-button {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hub-sidebar .hub-back-button {
    margin-top: 10px;
  }
}

@media (max-width: 720px) {
  :root { --app-bar-offset: 70px; }

  body:not(.app-active) #landingScreen {
    padding: 10px 12px 40px;
  }

  #landingScreen .header-row {
    min-height: 56px;
    padding: 6px 7px 6px 9px;
    border-radius: 0;
  }

  #landingScreen .brand-mark {
    width: 38px;
    height: 38px;
  }

  #landingScreen .brand-name {
    font-size: 17px;
  }

  .hero-stage {
    min-height: auto;
    padding-top: 12px;
  }

  #landingScreen .hero-copy {
    padding: 40px 7px 18px;
  }

  #landingScreen .hero-copy::before {
    margin-bottom: 25px;
  }

  #landingScreen .hero-copy h1 {
    font-size: clamp(52px, 15vw, 72px);
    letter-spacing: -.055em;
  }

  #landingScreen .hero-copy > p {
    font-size: 16px;
  }

  .hero-art {
    width: 112%;
    margin-right: -6%;
    margin-left: -6%;
    aspect-ratio: 1.45 / 1;
    border-radius: 0;
  }

  .hero-art-orbit-a {
    right: 3%;
    width: 68%;
  }

  .hero-art-orbit-b {
    left: 2%;
    width: 49%;
  }

  .landing-cinema {
    inset: -8% -24%;
  }

  .auth-card {
    padding: 24px 19px;
    border-radius: 24px;
  }

  body.app-active #landingScreen {
    padding-inline: 7px;
  }

  body.app-active #landingScreen .brand-mark {
    width: 36px;
    height: 36px;
  }

  .configurator-column .panel {
    padding: 25px 18px;
    border-radius: 24px;
  }

  #wishlistPanel {
    min-height: 560px;
    padding: 26px 19px;
    border-radius: 28px;
  }

  .schedule-page-header h1 {
    font-size: 48px;
  }

  .member-hub {
    padding: 12px;
  }

  .hub-sidebar {
    top: var(--app-bar-offset);
    padding: 11px;
  }

  .hub-member-card {
    display: flex;
    padding: 4px 5px 12px;
  }

  .hub-navigation {
    margin: 0;
  }

  .hub-nav-button {
    min-height: 48px;
    padding: 7px 5px;
    border-radius: 13px;
  }

  .hub-nav-button b {
    font-size: 10.5px;
  }

  .hub-sidebar .hub-back-button {
    display: none;
  }

  .hub-page-header {
    min-height: 180px;
    padding: 27px 22px;
    border-radius: 26px;
    background-image:
      linear-gradient(90deg, rgba(4, 17, 31, .96), rgba(4, 17, 31, .58)),
      url("concourse-course-odyssey.webp");
  }

  .hub-page-header h1,
  .member-hub[data-active-view="marketplace"] .hub-page-header h1 {
    font-size: 38px;
  }

  .hub-live-badge {
    display: none;
  }

  .hub-card,
  .hub-metric-card,
  .hub-rail-card,
  .hub-post-card,
  .hub-chat-card,
  .hub-connections-shell {
    border-radius: 20px;
  }

  .market-discovery-bar {
    border-radius: 18px;
  }

  .marketplace-modal {
    background: rgba(3, 13, 25, .82);
  }
}

@media (max-width: 960px) {
  .market-discovery-bar {
    position: relative;
    top: auto;
  }
}

@media (max-width: 720px) {
  /* Preserve the cinematic composition on phones without keeping a second
     blurred full-resolution image and continuously animated grain layer. */
  .hero-art::before,
  .landing-cinema::after {
    display: none;
  }

  .landing-cinema,
  .hero-art,
  .hero-art img,
  .hero-art-dust,
  .hero-art-flare,
  .hero-art-stars,
  .hero-art-orbit {
    will-change: auto;
  }
}

@media (max-width: 480px) {
  #landingScreen .language-control {
    width: 38px;
    min-width: 38px;
  }

  .hero-art {
    min-height: 0;
    width: 124%;
    margin-right: -12%;
    margin-left: -12%;
    aspect-ratio: 1624 / 969;
  }

  .hero-art img {
    object-position: 63% 50%;
  }

  .hero-art-stars {
    --bridge-star-scale: .72;
    left: 5%;
    transform-origin: left top;
  }

  .hero-art-orbit-b {
    display: none;
  }

  #landingScreen .hero-copy > p {
    padding-left: 16px;
  }

  .hub-navigation {
    grid-template-columns: repeat(4, minmax(66px, 1fr));
    overflow-x: auto;
  }

  .hub-nav-button span {
    display: none;
  }

  .hub-page-header {
    min-height: 164px;
  }

  .hub-page-header h1,
  .member-hub[data-active-view="marketplace"] .hub-page-header h1 {
    font-size: 34px;
  }
}

html[lang^="zh"] :where(.brand-tag, .hub-kicker, .hub-card-index, .market-rail-eyebrow, .marketplace-section-label) {
  letter-spacing: .04em;
  text-transform: none;
}

@media (max-height: 840px) and (max-width: 1050px) {
  .hub-sidebar,
  .market-discovery-bar,
  .configurator-nav {
    position: relative;
    top: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-cinema,
  .landing-cinema::before,
  .landing-cinema::after,
  .hero-copy,
  #landingScreen .hero-copy::before,
  #landingScreen .hero-copy h1 span,
  .hero-art,
  .hero-art::before,
  .hero-art::after,
  .hero-art img,
  .hero-art-dust,
  .hero-art-flare,
  .hero-art-stars,
  .hero-art-orbit,
  body:not(.app-active) #landingScreen .start-app-btn,
  body:not(.app-active) #landingScreen .start-app-btn::before,
  body:not(.app-active) #landingScreen .start-app-btn::after,
  body:not(.app-active) #landingScreen .start-app-btn > span,
  body:not(.app-active) #landingScreen .start-app-btn [aria-hidden="true"],
  .hub-page-header::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  body:not(.app-active) #landingScreen .start-app-btn::after {
    transform: translateY(-50%) !important;
  }
}

@media (forced-colors: active) {
  #landingScreen .hero-copy h1 span,
  .configurator-intro h1,
  .wishlist-header h2,
  .schedule-page-header h1 {
    color: CanvasText;
    background: none;
    -webkit-text-fill-color: currentColor;
  }

  .hero-art-orbit,
  .hero-art-dust,
  .hero-art-flare,
  .hero-art-stars,
  .landing-cinema,
  .hub-page-header::after {
    display: none;
  }

  :where(button, a, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid Highlight;
  }
}

@media print {
  body,
  body.schedule-active,
  #schedulePage,
  #schedulePage #timetablePanel {
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .hero-stage,
  .hero-art,
  .hub-page-header::after,
  #schedulePage #timetablePanel::before {
    display: none !important;
  }

  #schedulePage .calendar-days {
    background: #fff !important;
  }
}
