.academy-scenes { background: #10100f; }
.academy-scenes .shell { min-height: calc(100% - 73px); }
.academy-scenes .shell:has(.scene-layout) { max-width: 1440px; }
.academy-nav { position: sticky; top: 0; z-index: 20; background: #10100fe8; border-bottom: 1px solid #ffffff12; backdrop-filter: blur(16px); }
.academy-nav > div { width: min(calc(100% - 96px), 1320px); height: 72px; margin-inline: auto; display: flex; align-items: center; gap: 32px; }
.academy-nav a { text-decoration: none; color: inherit; white-space: nowrap; }
.academy-nav img { display: block; object-fit: contain; object-position: left; }
.academy-current { display: grid; place-items: center; align-self: stretch; box-shadow: inset 0 -2px #ff983c; font-weight: 800; }
#search-toggle { display: grid; place-items: center; width: 36px; height: 36px; margin-left: auto; color: #b5aca0; border-radius: 50%; }
#search-toggle:hover { background: #ffffff10; color: #ffad63; }
.academy-account { font-size: 13px; }
.academy-scenes #notice:empty { display: none; }
.academy-scenes .shell:has(.scene-layout) main { padding: 26px 0 42px; }
.scene-layout { width: calc(100% - 96px); margin-inline: auto; }
.scene-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.scene-head h1 { font-size: clamp(46px, 5.3vw, 76px); line-height: 1.05; font-weight: 900; letter-spacing: -.06em; }
.design-stats { color: #b5aca0; font-size: 17px; font-weight: 750; margin-top: 12px; }
.feature-lesson { display: flex; flex-wrap: wrap; align-items: center; justify-content: end; gap: 9px 13px; }
.feature-lesson .lesson-id { color: #ffad63; font-weight: 800; font-size: 12px; letter-spacing: .06em; }
.feature-lesson strong { font-weight: 850; line-height: 1.35; }
.feature-lesson .start-link { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; padding-inline: 16px; border-radius: 100px; background: linear-gradient(165deg,#ffb458,#f48627); color: #1e1007; font-size: 13px; font-weight: 900; white-space: nowrap; }
.feature-lesson .start-link:hover { background: #ffb25f; }
.entry-arrow { display: grid; place-items: center; }
.entry-arrow svg { width: 17px; height: 17px; }
.scene { color: #f7f3ee; text-decoration: none; }
.academy-scenes :is(a,button,input):focus-visible { outline: 2px solid #ffad63; outline-offset: 3px; }
.catalog-back { display: inline-block; margin-bottom: 10px; color: #ffad63; text-decoration: none; }
#lesson-search { width: min(92%, 520px); max-height: 75vh; margin: 12vh auto auto; padding: 18px; border: 1px solid #302b24; border-radius: 18px; background: #1b1a18; color: #f7f3ee; }
#lesson-search::backdrop { background: #0009; backdrop-filter: blur(5px); }
#lesson-search form { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 800; }
#lesson-search form button { width: 30px; height: 30px; font-size: 20px; }
#search-input { width: 100%; padding: 8px 10px; border: 1px solid #544435; border-radius: 8px; background: #10100f; color: inherit; }
#search-results { margin-top: 8px; }
#search-results :is(a,p) { display: block; padding: 8px 10px; border-radius: 8px; color: inherit; text-decoration: none; }
#search-results p { color: #b5aca0; }
#search-results a:hover { background: #2e2217; }
#search-results span { color: #ffad63; margin-right: 5px; }
.scene-banners { display: grid; gap: 10px; }
.scene {
  --scene-ink: #201814;
  --scene-glow: #e98b4c;
  --scene-crop: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(110px, 10vw, 146px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(22px, 3vw, 42px);
  border: 1px solid #f9d7b61c;
  border-radius: 16px;
  background: var(--scene-ink);
  animation: scene-slide-in .48s cubic-bezier(.2,.72,.25,1) backwards;
  transition: border-color .22s, box-shadow .22s;
}
.scene:nth-child(2) { animation-delay: .085s; }
.scene:nth-child(3) { animation-delay: .17s; }
.scene:nth-child(4) { animation-delay: .255s; }
@keyframes scene-slide-in {
  from { opacity: 0; transform: translateY(27px); }
  to { opacity: 1; transform: translateY(0); }
}
.scene-market { --scene-crop: 36%; }
.scene-quant { --scene-ink: #101a24; --scene-glow: #83b9df; --scene-crop: 44%; }
.scene-risk { --scene-ink: #211710; --scene-glow: #e5a359; --scene-crop: 47%; }
.scene-event { --scene-ink: #201924; --scene-glow: #d5a1c1; --scene-crop: 37%; }
.scene img {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 69%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--scene-crop);
  transition: transform .32s ease-out;
}
.scene::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, var(--scene-ink) 30%, color-mix(in srgb, var(--scene-ink), transparent 12%) 41%, transparent 69%), linear-gradient(270deg,#0b080761,transparent 21%);
}
.scene:is(:hover, :focus-visible) {
  border-color: color-mix(in srgb, var(--scene-glow), transparent 40%);
  box-shadow: 0 5px 23px #0005;
}
.scene:is(:hover, :focus-visible) img { transform: scale(1.04); }
.scene:focus-visible { animation: none; }
.scene-info { min-width: 0; display: grid; gap: 6px; }
.scene-info strong { font-size: clamp(20px, 2.35vw, 34px); line-height: 1.15; font-weight: 900; }
.scene-details { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 12px; }
.scene-details small { font-size: 13px; font-weight: 800; color: var(--scene-glow); white-space: nowrap; }
.scene-description { font-size: 13px; color: #eadfd5; }
.scene .entry-arrow {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #14110fcf;
  color: #ffbf80;
  transition: background-color .22s, color .22s;
}
.scene:is(:hover, :focus-visible) .entry-arrow { background: #feb36a; color: #21160e; }

@media (max-width: 850px) {
  .academy-nav > div { width: min(calc(100% - 36px), 650px); height: 56px; gap: 13px; }
  .academy-nav img { width: 103px; height: 32px; }
  .academy-current, .academy-account { font-size: 12px; }
  .academy-scenes .shell:has(.scene-layout) main { padding-top: 17px; }
  .scene-layout { width: min(calc(100% - 36px), 650px); }
  .scene-head { align-items: start; flex-direction: column; margin-bottom: 12px; gap: 13px; }
  .scene-head h1 { font-size: clamp(36px,8.8vw,60px); }
  .design-stats { margin-top: 5px; font-size: 14px; }
  .feature-lesson { justify-content: start; }
  .feature-lesson .lesson-id { display: none; }
  .feature-lesson strong { font-size: 12px; }
  .scene-banners { gap: 7px; }
  .scene { min-height: 96px; padding: 10px 13px; border-radius: 11px; }
  .scene img { width: 65%; }
  .scene::after { background: linear-gradient(90deg,var(--scene-ink) 31%,color-mix(in srgb,var(--scene-ink),transparent 12%) 49%,transparent 81%),linear-gradient(270deg,#0b080761,transparent 24%); }
  .scene-info { max-width: 78%; gap: 3px; }
  .scene-info strong { font-size: clamp(17px,4.5vw,23px); }
  .scene-description { display: none; }
  .scene-details small { font-size: 12px; }
  .scene .entry-arrow { width: 27px; height: 27px; }
  .scene .entry-arrow svg { width: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene { animation: none; }
  .scene, .scene img, .scene .entry-arrow { transition: none; }
}
