/* C20 · Orange light travels along the finish; content and controls keep their geometry. */
@property --c20-orbit { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes c20-orbit { to { --c20-orbit: 360deg; } }
@keyframes c20-edge-pass { from { background-position: 180% 100%; } to { background-position: -80% 100%; } }

/* The native dialog remains responsible for opening, focus and scrolling. */
#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth[open] {
  border: 1px solid transparent!important;
  background: linear-gradient(#151617,#151617) padding-box, conic-gradient(from var(--c20-orbit),#ff400030 0deg,#ff400030 75deg,#ff4000 108deg,#ff400030 145deg,#ff400030 255deg,#ff4000 288deg,#ff400030 325deg) border-box!important;
  box-shadow: 0 25px 90px #000b,0 0 20px #ff400018,inset 0 0 0 1px #ff40001a!important;
  animation: c20-orbit 8s linear infinite;
}
/* C24: light follows every original facet edge, with the same orbit as the border.
   The SVG mask uses the artwork's geometry and centered cover scaling. */
#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth .c24-auth-lines {
  display:none;position:absolute;inset:0;pointer-events:none;
}
@supports (mask-image:linear-gradient(#fff,#fff)) or (-webkit-mask-image:linear-gradient(#fff,#fff)) {
  #ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth .c24-auth-lines {
    display:block;
    background:conic-gradient(from var(--c20-orbit),#ff400030 0deg,#ff400030 75deg,#ff4000 108deg,#ff400030 145deg,#ff400030 255deg,#ff4000 288deg,#ff400030 325deg);
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22440%22%20height%3D%22620%22%20viewBox%3D%220%200%20440%20620%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M-60-40%20272%200%2080%20232-60%20162Z%22%2F%3E%3Cpath%20d%3D%22M272%200%20500-10%20372%20245%2080%20232Z%22%2F%3E%3Cpath%20d%3D%22M-50%20170%2080%20232%20215%20435-40%20610Z%22%2F%3E%3Cpath%20d%3D%22m80%20232%20292%2013-157%20190Z%22%2F%3E%3Cpath%20d%3D%22m372%20245%20125-80%200%20490-282-220Z%22%2F%3E%3Cpath%20d%3D%22m215%20435%20282%20220-355%2025-182-70Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22440%22%20height%3D%22620%22%20viewBox%3D%220%200%20440%20620%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M-60-40%20272%200%2080%20232-60%20162Z%22%2F%3E%3Cpath%20d%3D%22M272%200%20500-10%20372%20245%2080%20232Z%22%2F%3E%3Cpath%20d%3D%22M-50%20170%2080%20232%20215%20435-40%20610Z%22%2F%3E%3Cpath%20d%3D%22m80%20232%20292%2013-157%20190Z%22%2F%3E%3Cpath%20d%3D%22m372%20245%20125-80%200%20490-282-220Z%22%2F%3E%3Cpath%20d%3D%22m215%20435%20282%20220-355%2025-182-70Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    -webkit-mask-size:cover;mask-size:cover;
    -webkit-mask-position:center;mask-position:center;
    -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
    animation:c20-orbit 8s linear infinite;
  }
}
#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth .c19-auth-art::before { content:none; }
#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth .c19-auth-art::after {
  background:linear-gradient(180deg,#14151600,#14151664 48%,#14151624);
}
#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth .ia-primary {
  background: linear-gradient(100deg,transparent 25%,#ff4000 50%,transparent 75%) 180% 100% / 240% 1px no-repeat,linear-gradient(#303133,#242527)!important;
  animation:c20-edge-pass 5s ease-in-out infinite;
}

/* Public and student navigation: a quiet moving edge on the selected destination. */
html body.c16-public-home #mainNav.navlinks a.active,
html #v201Student#v201Student#v201Student#v201Student#v201Student .p-nav>button[aria-current=page]:not([data-v221-affiliates],[data-c25-producers]):not(:hover,:focus-visible,:active,.neon-touch,.ilbm-led-touch) {
  border:1px solid transparent!important;
  background:linear-gradient(#121619,#121619) padding-box,conic-gradient(from var(--c20-orbit),rgba(var(--ilbm-brand-rgb,255,64,0),0.156863),rgba(var(--ilbm-brand-rgb,255,64,0),0.156863) 65%,var(--ilbm-brand-accent,#ff4000) 78%,rgba(var(--ilbm-brand-rgb,255,64,0),0.156863) 90%) border-box!important;
  box-shadow:0 0 12px rgba(var(--ilbm-brand-rgb,255,64,0),0.070588)!important;animation:c20-orbit 9s linear infinite;
}
html body.c16-public-home .student-top-btn {
  border:1px solid transparent!important;
  background:linear-gradient(#101214,#101214) padding-box,conic-gradient(from var(--c20-orbit),#ff400028,#ff400028 60%,#ff4000 78%,#ff400028 94%) border-box!important;
  animation:c20-orbit 8s linear infinite;box-shadow:none!important;
}
/* Crisp LED trim and an optically centered label, including hover/touch. */
html body.c16-public-home .student-top-btn {
  position:relative!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;padding-inline:36px!important;gap:0!important;
  width:auto!important;min-width:112px!important;flex-basis:auto!important;
  text-shadow:none!important;filter:none!important;transform:none!important;
}
html body.c16-public-home .student-top-btn:is(:hover,:focus-visible,:active,.neon-touch) {
  border-color:#ff4000!important;box-shadow:none!important;text-shadow:none!important;filter:none!important;
}
html body.c16-public-home .student-top-btn::before,
html body.c16-public-home .student-top-btn::after { content:none!important; }
html body.c16-public-home .student-top-btn .student-top-text {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  margin:0!important;padding:0!important;line-height:1!important;text-align:center!important;
  color:#e9e9e9!important;text-shadow:none!important;filter:none!important;transform:none!important;
}
html body.c16-public-home .student-top-btn .icon {
  position:absolute!important;inset-inline-start:12px!important;top:50%!important;
  transform:translateY(-50%)!important;width:16px!important;height:16px!important;
  color:#ff4000!important;filter:none!important;box-shadow:none!important;
}
#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth #iaLogin .ia-primary {
  position:relative!important;justify-content:center!important;padding-inline:42px!important;
  text-align:center!important;text-shadow:none!important;filter:none!important;box-shadow:none!important;
  border-color:#ff40004d!important;border-bottom-color:#ff4000!important;
}
#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth #iaLogin .ia-primary>span[aria-hidden] {
  position:absolute;right:16px;top:50%;transform:translateY(-50%);filter:none!important;text-shadow:none!important;
}
@media(max-width:760px) {
  html body.c16-public-home .student-top-btn { min-width:74px!important;padding-inline:12px!important; }
  html body.c16-public-home .student-top-btn .icon { display:none!important; }
}
html #conteudoPrincipal.v246-home .v246-inview>.v246-led-rail::before {
  background:linear-gradient(90deg,transparent,#ff4000,transparent)!important;
  animation:v246-rail-pass 6s ease-in-out infinite!important;
}
/* Hairline scans leave course artwork and video overlays unobstructed. */
html #conteudoPrincipal#conteudoPrincipal .v239-s-row-heading,
html #v201Student#v201Student#v201Student .v239-s-row-heading {
  background-image:linear-gradient(90deg,transparent 20%,var(--ilbm-brand-accent,#ff4000) 50%,transparent 80%);
  background-size:28% 1px;background-position:180% 100%;background-repeat:no-repeat;
}
html #conteudoPrincipal#conteudoPrincipal .v239-s-row-section:hover>.v239-s-row-heading,
html #v201Student#v201Student#v201Student .v239-s-row-section:is(:hover,:focus-within)>.v239-s-row-heading { animation:c20-edge-pass 4s ease-in-out infinite; }

/* A border reflection appears on interaction; no overlay intercepts a click. */
@media(hover:hover) {
  html body.c16-public-home #conteudoPrincipal#conteudoPrincipal .v239-s-card:is(:hover,:focus-within),
  html #v201Student#v201Student#v201Student#v201Student :is(.v239-s-card,.p-stream-card,.p-card):is(:hover,:focus-within) {
    outline:1px solid var(--ilbm-brand-accent,#ff4000)!important;outline-offset:-1px;
    box-shadow:0 0 0 1px rgba(var(--ilbm-brand-rgb,255,64,0),0.188235),0 5px 22px rgba(var(--ilbm-brand-rgb,255,64,0),0.145098)!important;
  }
  html #conteudoPrincipal#conteudoPrincipal :is(.v244-action,.v244-secondary,.v244-text-link):hover,
  html #v201Student#v201Student#v201Student :is(.p-nav button,.p-more-btn):hover {
    border-color:var(--ilbm-brand-accent,#ff4000)!important;box-shadow:0 0 13px rgba(var(--ilbm-brand-rgb,255,64,0),0.133333)!important;
  }
}
/* Profile and learning panels use the same finish, separate from bank status LEDs. */
html :is(#ilbmProfile,#ilbmSettings,#c16LearningMaterials)[open] {
  border-color:var(--ilbm-brand-accent,#ff4000)!important;box-shadow:0 24px 80px #0009,0 0 22px rgba(var(--ilbm-brand-rgb,255,64,0),0.113725)!important;
  background-image:linear-gradient(100deg,transparent 20%,var(--ilbm-brand-accent,#ff4000) 50%,transparent 80%);
  background-position:180% 100%;background-size:220% 1px;background-repeat:no-repeat;
  animation:c20-edge-pass 7s ease-in-out infinite;
}
/* Respect the existing motion switch and pause when the page is in the background. */
body.v246-page-hidden #ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth,
body.v246-page-hidden #ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth *,
body.v246-page-hidden #ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth *::before,
body.v246-background #mainNav.navlinks a,
body.v246-background .student-top-btn,
body.v246-page-hidden #v201Student#v201Student#v201Student#v201Student *,
body.v246-page-hidden :is(#ilbmProfile,#ilbmSettings,#c16LearningMaterials) { animation-play-state:paused!important; }
#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth[data-v239-motion=off],
#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth[data-v239-motion=off] *,
#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth[data-v239-motion=off] *::before,
html #v201Student#v201Student#v201Student#v201Student[data-v239-motion=off] *,
html :is(#ilbmProfile,#ilbmSettings,#c16LearningMaterials)[data-v239-motion=off],
body.v246-effects-paused #mainNav.navlinks a,
body.v246-effects-paused .student-top-btn { animation:none!important;transition:none!important; }
@media(prefers-reduced-motion:reduce) {
  #ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth,#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth *,#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth *::before,
  html #mainNav.navlinks a,html .student-top-btn,html #v201Student#v201Student#v201Student#v201Student *,
  html #conteudoPrincipal#conteudoPrincipal .v239-s-row-heading,html :is(#ilbmProfile,#ilbmSettings,#c16LearningMaterials) { animation:none!important;transition:none!important; }
}

/* Explicit specificity above the cinematic shell and the animated login border. */
#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth[data-v239-motion=off],
#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth[data-v239-motion=off] *,
#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth[data-v239-motion=off] *::before,
html #v201Student#v201Student#v201Student#v201Student#v201Student#v201Student[data-v239-motion=off] *,
body.v246-effects-paused #mainNav#mainNav a,
body.v246-effects-paused.v246-effects-paused .student-top-btn { animation:none!important; }
body.v246-page-hidden #ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth,
body.v246-page-hidden #ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth *,
body.v246-page-hidden #ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth *::before,
body.v246-page-hidden #v201Student#v201Student#v201Student#v201Student#v201Student#v201Student *,
body.v246-background #mainNav#mainNav a,
body.v246-background.v246-background .student-top-btn { animation-play-state:paused!important; }
@media(prefers-reduced-motion:reduce) {
 #ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth,#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth *,#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth#ilbmAuth *::before,
 html #v201Student#v201Student#v201Student#v201Student#v201Student#v201Student *,
 html #mainNav#mainNav a,html body .student-top-btn.student-top-btn.student-top-btn { animation:none!important; }
}
