/* 星海开场：连续运镜、自然翻页、学院标志与登录星芒接续。 */
.workspace-intro {
  --wi-px: 0px;
  --wi-py: 0px;
  --wi-progress: 0;
  --wi-school-image: url('../../assets/dut-marxism-logo.png');
  --wi-star-x: 50vw;
  --wi-star-y: 46vh;
  --wi-star-size: 200px;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(22px, 2.8vh, 36px) clamp(28px, 3.6vw, 72px) clamp(36px, 5.5vh, 68px);
  border: 0;
  border-radius: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
  isolation: isolate;
  background: #030510;
  color: #f7f4ff;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-synthesis: none;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: thin;
  scrollbar-color: #8d78ae #080a1b;
}
.workspace-intro[open] {
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
  grid-template-rows: auto minmax(330px, 1fr) auto;
  column-gap: clamp(20px, 2.5vw, 48px);
  row-gap: clamp(20px, 3vh, 36px);
}
.workspace-intro:not([open]) { display: none; }
.workspace-intro::backdrop { background: #030510; }
.workspace-intro *, .workspace-intro *::before, .workspace-intro *::after { box-sizing: border-box; }
.workspace-intro button { font: inherit; min-height: 48px; border: 0; color: inherit; cursor: pointer; touch-action: manipulation; }
.workspace-intro button:disabled { cursor: default; }
.workspace-intro button:focus-visible { outline: 3px solid #f0dbff; outline-offset: 5px; }
.workspace-intro svg { flex-shrink: 0; }
.wi-universe, .wi-depth, .wi-cosmos, .wi-foreground { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wi-universe {
  z-index: 0;
  background: url('../assets/universe-gateway.png') 54% 50% / cover no-repeat;
  transform: translate(calc(var(--wi-px) * -.42), calc(var(--wi-py) * -.42)) scale(1.035);
  transform-origin: 66% 45%;
  opacity: .8;
  will-change: transform, opacity;
}
.wi-depth {
  z-index: 1;
  background: linear-gradient(180deg, #030411a6 0%, transparent 25%, #03041224 68%, #030510df 100%), radial-gradient(ellipse 38% 48% at 72% 51%, #030615d9, #03061579 60%, transparent 100%);
  transition: opacity 700ms ease;
}
.wi-cosmos { z-index: 2; }
.wi-foreground { z-index: 4; background: linear-gradient(0deg, #030510e6, #0305105e 20%, transparent 44%); }

/* Both brands sit on one baseline; the school mark precedes the larger controls. */
.wi-header { position: relative; z-index: 12; grid-column: 1 / -1; grid-row: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; width: 100%; }
.wi-brand { display: flex; align-items: center; gap: 14px; min-width: 0; padding-top: 3px; transition: opacity 400ms ease; }
.wi-brand-avatar[data-login-brand] { --login-header-avatar-height: 86px; position: relative; width: 100px; height: 86px; flex: 0 0 100px; pointer-events: none; user-select: none; }
.wi-brand > div:last-child { min-width: 0; }
.wi-brand strong { display: block; font-size: 28px; line-height: 1.3; font-weight: 750; letter-spacing: .12em; text-shadow: 0 2px 24px #07091b; }
.wi-brand > div > span { display: block; margin-top: 8px; font-size: 16px; line-height: 1.5; font-weight: 550; letter-spacing: .06em; color: #d2c6e9; }
.wi-header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 15px; flex: 0 0 auto; }
.wi-school-mark { position: relative; display: block; width: clamp(300px, 25vw, 370px); aspect-ratio: 507 / 107; line-height: 0; isolation: isolate; transition: opacity 400ms ease; }
.wi-school-mark > img { display: block; width: 100%; height: 100%; object-fit: contain; opacity: .84; }
/* The narrow moving reflection is clipped to the original mark's alpha. */
.wi-school-shimmer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; -webkit-mask: var(--wi-school-image) center / contain no-repeat; mask: var(--wi-school-image) center / contain no-repeat; }
.wi-school-shimmer::before { content: ""; position: absolute; inset: -20% -40%; background: linear-gradient(108deg, transparent 43%, #becffb09 47%, #cfe5ff83 49%, #fffbe9ed 50%, #e9deff75 51%, #cab8fa0b 54%, transparent 57%); mix-blend-mode: screen; transform: translateX(-68%); opacity: 0; }
.wi-school-mark > .wi-school-shimmer::before { animation: wi-header-sweep 8.4s cubic-bezier(.32, 0, .23, 1) -4.8s infinite; }

.wi-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.wi-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border: 1px solid #c4b0ea3b; border-radius: 14px; background: linear-gradient(150deg, #352a4e9c, #15172db8); box-shadow: inset 0 1px #ffffff12, 0 7px 22px #0000001f; font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: .025em; color: #eee5ff; white-space: nowrap; transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease; }
.wi-controls button > svg { width: 19px; height: 19px; }
.wi-controls button:hover { color: #fff; border-color: #e6d0ff7a; background-color: #604b7e54; transform: translateY(-1px); }
.wi-controls button:active { transform: translateY(0); }
.wi-controls button:disabled { opacity: .6; }
.wi-controls .wi-skip { color: #211a37; background: linear-gradient(115deg, #ece0fb, #c7baf1); border-color: #e3d8ffb8; }
.wi-sound[aria-pressed="true"] { border-color: #d1c1fb88; color: #f4e6ce; }
.wi-divider { display: none; }

/* The same figure remains mounted from welcome through departure. Inner
   breathing and book pages never restart when the phase changes. */
.wi-guide { position: absolute; z-index: 3; left: -.5%; bottom: 0; width: 47%; height: calc(100% - 98px); min-height: 430px; transform: translate(calc(var(--wi-px) * .8), calc(var(--wi-py) * .4)); transform-origin: 50% 50%; pointer-events: none; }
.wi-reader-figure { position: absolute; width: 100%; aspect-ratio: 2 / 3; }
.wi-reader-body { position: absolute; inset: 0; transform-origin: 50% 76%; animation: wi-reader-breathe 7.2s ease-in-out infinite; }
.wi-guide-portrait { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 83%, #000d 94%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 83%, #000d 94%, transparent 100%); filter: drop-shadow(10px 1px 22px #af87ff20); }
.wi-guide-aura { position: absolute; inset: 4% -6% 6% -12%; background: radial-gradient(ellipse at 54% 49%, #9f86d914, #7d75ba08 50%, transparent 70%); }
/* The pivot matches the supplied 1024 × 1536 portrait's book spine (597,553).
   The small leaf lifts from the right page, turns over, then settles left. */
.wi-book-pages { position: absolute; z-index: 2; left: 58.3%; top: 32.5%; width: 17.4%; height: 3.5%; perspective: 380px; transform: rotate(-13deg); transform-origin: 0 100%; }
.wi-book-page { position: absolute; inset: 0; display: block; border-radius: 14% 5% 10% 1%; background: linear-gradient(172deg, #f5dfbd, #fff3d9 34%, #e7cba1 86%, #c6a77c); box-shadow: inset 0 -.7px #896b4d66, 0 .7px 1px #28170c33; clip-path: polygon(0 90%, 94% 0, 100% 12%, 100% 24%, 4% 100%); transform-origin: 0 100%; transform-style: preserve-3d; backface-visibility: visible; opacity: 0; animation: wi-page-turn 5.8s cubic-bezier(.4, 0, .25, 1) infinite; }
.wi-book-page:nth-child(2) { animation-delay: -2.9s; }
.wi-book-page::after { content: ""; position: absolute; inset: 5% 7%; background: repeating-linear-gradient(175deg, transparent 0 19%, #826b4c13 20% 21%); }

.wi-content { position: relative; z-index: 6; grid-column: 2; grid-row: 2; align-self: center; justify-self: center; width: 100%; max-width: 790px; margin: 0; padding: 10px 0; text-align: left; animation: wi-content-arrive 850ms 220ms ease-out both; transition: opacity 400ms ease, transform 500ms ease; }
.wi-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 23px; font-size: 15px; line-height: 1.6; font-weight: 600; letter-spacing: .12em; color: #e0c5f7; }
.wi-eyebrow > span { display: block; width: 22px; height: 1px; background: #dac0efb3; }
.wi-content h1 { margin: 0; font-size: clamp(42px, 4.2vw, 74px); font-weight: 760; line-height: 1.28; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 3px 36px #0703198c; }
.wi-content h1 > span { background: linear-gradient(110deg, #f0e5ff, #d2b7ff 42%, #d8c8fc 72%, #c0d7ff); background-clip: text; -webkit-background-clip: text; color: transparent; }
.wi-description { margin: 27px 0 32px; color: #d5cce4; font-size: clamp(18px, 1.25vw, 20px); font-weight: 500; line-height: 1.85; letter-spacing: .045em; text-shadow: 0 2px 20px #02020d; }
.wi-enter { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 310px; min-height: 62px !important; padding: 12px 15px 12px 25px; border: 1px solid #f0dcffb3 !important; border-radius: 19px; color: #2b2045 !important; background: linear-gradient(115deg, #f3e3ff, #d2b7fa 65%, #bdc9f9); box-shadow: 0 0 0 5px #b887fa0b, 0 9px 38px #a578e62e, inset 0 1px #fff9; font-size: 18px !important; line-height: 1.45; font-weight: 750 !important; letter-spacing: .045em; transition: transform 180ms ease, box-shadow 180ms ease; }
.wi-enter > i { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: #6f47851a; font-style: normal; }
.wi-enter svg { height: 21px; width: 21px; transition: transform 180ms ease; }
.wi-enter:hover { transform: translateY(-2px); box-shadow: 0 0 0 5px #b887fa13, 0 12px 44px #b378fb4a, inset 0 1px #fff9; }
.wi-enter:hover svg { transform: translateX(2px); }
.wi-enter:active { transform: translateY(0); }
.wi-modules { position: relative; z-index: 6; grid-column: 2; grid-row: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 790px; justify-self: center; animation: wi-module-arrive 850ms 430ms ease-out both; transition: opacity 350ms ease, transform 450ms ease; }
.wi-modules > span { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; min-width: 0; min-height: 110px; padding: 18px 10px; overflow: hidden; border: 1px solid #c9b2ed54; border-radius: 19px; background: radial-gradient(ellipse at 25% 0%, #b697ea35, transparent 75%), linear-gradient(145deg, #413451a8, #17192dcc); box-shadow: inset 0 1px #ffffff24, inset 0 -1px #0000001a, 0 10px 30px #01020a26; font-size: 18px; line-height: 1.5; font-weight: 650; letter-spacing: .05em; color: #f0e8fb; }
.wi-modules > span:nth-child(2) { background: radial-gradient(ellipse at 25% 0%, #7faacb2e, transparent 75%), linear-gradient(145deg, #293d51a8, #17192dcc); border-color: #afc7e44f; }
.wi-modules > span:nth-child(3) { background: radial-gradient(ellipse at 25% 0%, #ceb88930, transparent 75%), linear-gradient(145deg, #463d48a8, #1d192dcc); border-color: #d8c6b44d; }
.wi-modules > span:nth-child(4) { background: radial-gradient(ellipse at 25% 0%, #99b9bc30, transparent 75%), linear-gradient(145deg, #2c3e4aa8, #17192dcc); border-color: #b6d4d345; }
.wi-modules > span::before { content: ""; position: absolute; top: 0; left: 17%; right: 17%; height: 1px; background: linear-gradient(90deg, transparent, #f1e2ff8f, transparent); }
.wi-modules svg { width: 28px; height: 28px; color: #ddc4ff; }
.wi-modules > span:nth-child(2) svg { color: #b9ddf8; }
.wi-modules > span:nth-child(3) svg { color: #ead3a6; }
.wi-modules > span:nth-child(4) svg { color: #b6e1da; }

/* A dedicated quiet scene gives the supplied school wordmark the whole stage. */
.wi-school-reveal { position: absolute; z-index: 8; left: var(--wi-star-x); top: var(--wi-star-y); width: min(76vw, 900px); aspect-ratio: 507 / 107; transform: translate(-50%, -50%); transform-origin: 50% 50%; opacity: 0; pointer-events: none; }
.wi-school-logo { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; opacity: .88; }
.wi-school-reveal::before { content: ""; position: absolute; z-index: -1; inset: -130% -10%; background: radial-gradient(ellipse, #ac8dfd22, #6c80d00b 47%, transparent 70%); opacity: 0; }
.wi-school-reveal::after { content: ""; position: absolute; left: 7%; right: 7%; bottom: -36%; height: 1px; background: linear-gradient(90deg, transparent, #ceb9f782, transparent); opacity: 0; }
.wi-school-halo { position: absolute; z-index: -1; inset: -30% 10%; border-radius: 50%; background: radial-gradient(ellipse, #b9a2f518, transparent 72%); opacity: 0; }
.wi-school-reveal > .wi-school-shimmer { z-index: 2; opacity: 0; }
.wi-handoff-star { position: fixed; z-index: 9; left: var(--wi-star-x); top: var(--wi-star-y); width: var(--wi-star-size); height: var(--wi-star-size); transform: translate(-50%, -50%); opacity: 0; pointer-events: none; }
.wi-handoff-star > img { position: relative; z-index: 2; display: block; width: 100%; height: 100%; object-fit: contain; transform: none; opacity: 1; }
.wi-star-ray { position: absolute; z-index: 0; inset: -65%; border-radius: 50%; background: radial-gradient(ellipse, #efe2ff63, #d6bcff19 35%, transparent 66%); opacity: 0; }
.wi-star-ring { position: absolute; z-index: 1; inset: -15%; border: 1px solid #ded1ff80; border-radius: 50%; opacity: 0; }
.wi-flight-status, .wi-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* JS owns one continuous portrait/camera trajectory. Phase selectors only
   control copy, the separate school scene, and the stable star handoff. */
.workspace-intro[data-phase] { overflow: hidden; }
.workspace-intro[data-phase] .wi-content, .workspace-intro[data-phase] .wi-modules { animation: none; opacity: 0; transform: translateY(-10px); pointer-events: none; }
.workspace-intro[data-phase] .wi-guide { will-change: transform, opacity; }
.workspace-intro[data-phase="school"] .wi-depth, .workspace-intro[data-phase="gather"] .wi-depth, .workspace-intro[data-phase="handoff"] .wi-depth { opacity: .55; }
.workspace-intro[data-phase] .wi-brand, .workspace-intro[data-phase] .wi-school-mark { opacity: var(--wi-side-brand-opacity, 1); transition: none; }
.workspace-intro[data-phase="school"] .wi-school-reveal { animation: wi-school-appear var(--wi-school-duration, 2600ms) ease-out both; }
.workspace-intro[data-phase="school"] .wi-school-reveal::before, .workspace-intro[data-phase="school"] .wi-school-reveal::after { opacity: 1; transition: opacity 600ms ease; }
.workspace-intro[data-phase="school"] .wi-school-reveal > .wi-school-shimmer { opacity: 1; }
.workspace-intro[data-phase="school"] .wi-school-reveal > .wi-school-shimmer::before { animation: wi-school-sweep var(--wi-school-duration, 2600ms) cubic-bezier(.35, 0, .25, 1) both; }
.workspace-intro[data-phase="gather"] .wi-school-reveal { animation: wi-logo-gather var(--wi-gather-duration, 1100ms) cubic-bezier(.5, 0, .4, 1) both; }
.workspace-intro[data-phase="gather"] .wi-handoff-star { animation: wi-star-condense var(--wi-gather-duration, 1100ms) cubic-bezier(.22, .7, .3, 1) both; }
.workspace-intro[data-phase="gather"] .wi-star-ray { animation: wi-star-bloom var(--wi-gather-duration, 1100ms) ease-out both; }
.workspace-intro[data-phase="gather"] .wi-star-ring { animation: wi-star-ring var(--wi-gather-duration, 1100ms) ease-out both; }
.workspace-intro[data-phase="handoff"] .wi-handoff-star { opacity: 1; transform: translate(-50%, -50%); }
.workspace-intro[data-phase="handoff"] .wi-school-reveal { opacity: 0; }
.wi-paused *, .wi-paused *::before, .wi-paused *::after { animation-play-state: paused !important; }
.wi-reduced *, .wi-reduced *::before, .wi-reduced *::after { animation: none !important; transition: none !important; }
.wi-reduced .wi-book-pages, .wi-reduced .wi-school-shimmer { display: none; }

@keyframes wi-reader-breathe { 0%, 100% { transform: translateY(0) rotate(0deg) scale(1); } 50% { transform: translateY(-1.6px) rotate(-.16deg) scale(1.0025); } }
@keyframes wi-page-turn {
  0%, 8% { opacity: 0; transform: rotateZ(0deg) rotateY(0deg) rotateX(0deg); }
  14% { opacity: .78; transform: rotateZ(1deg) rotateY(-10deg) rotateX(-5deg); }
  29% { opacity: .88; transform: rotateZ(13deg) rotateY(-82deg) rotateX(-12deg); }
  44% { opacity: .7; transform: rotateZ(24deg) rotateY(-158deg) rotateX(-4deg); }
  51%, 100% { opacity: 0; transform: rotateZ(26deg) rotateY(-178deg) rotateX(0deg); }
}
@keyframes wi-content-arrive { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wi-module-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wi-header-sweep {
  0%, 57% { transform: translateX(-68%); opacity: 0; }
  60% { opacity: .75; }
  77% { transform: translateX(68%); opacity: .75; }
  80%, 100% { transform: translateX(68%); opacity: 0; }
}
@keyframes wi-school-sweep {
  0%, 17% { transform: translateX(-68%); opacity: 0; }
  23% { opacity: .9; }
  76% { transform: translateX(68%); opacity: .9; }
  84%, 100% { transform: translateX(68%); opacity: 0; }
}
@keyframes wi-school-appear { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.97); } 18%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes wi-logo-gather { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 20% { opacity: 1; transform: translate(-50%, -50%) scale(.98); } 67% { opacity: .5; transform: translate(-50%, -50%) scale(.45); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(.025); } }
@keyframes wi-star-condense { 0%, 42% { opacity: 0; transform: translate(-50%, -50%) scale(.24); } 84% { opacity: 1; transform: translate(-50%, -50%) scale(.98); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes wi-star-bloom { 0%, 48% { opacity: 0; transform: scale(.3); } 70% { opacity: .4; transform: scale(.95); } 100% { opacity: 0; transform: scale(1.3); } }
@keyframes wi-star-ring { 0%, 52% { opacity: 0; transform: scale(.2); } 73% { opacity: .25; } 100% { opacity: 0; transform: scale(1.6); } }

@media (min-width: 1800px) {
  .wi-content { max-width: 850px; }
  .wi-modules { max-width: 850px; gap: 18px; }
  .wi-modules > span { min-height: 122px; }
  .wi-header-right { gap: 18px; }
  .wi-school-mark { width: 390px; }
  .wi-brand-avatar[data-login-brand] { --login-header-avatar-height: 94px; width: 110px; height: 94px; flex-basis: 110px; }
  .wi-brand strong { font-size: 31px; }
}
@media (max-height: 800px) and (min-width: 821px) {
  .workspace-intro { padding-top: 20px; padding-bottom: 32px; }
  .workspace-intro[open] { grid-template-rows: auto minmax(295px, 1fr) auto; row-gap: 18px; }
  .wi-header-right { gap: 10px; }
  .wi-school-mark { width: 300px; }
  .wi-controls button { min-height: 46px; padding: 10px 14px; font-size: 15px; }
  .wi-brand-avatar[data-login-brand] { --login-header-avatar-height: 78px; width: 90px; height: 78px; flex-basis: 90px; }
  .wi-brand strong { font-size: 26px; }
  .wi-brand > div > span { font-size: 15px; }
  .wi-content h1 { font-size: clamp(40px, 3.9vw, 60px); }
  .wi-eyebrow { margin-bottom: 16px; }
  .wi-description { margin: 20px 0 25px; font-size: 18px; line-height: 1.8; }
  .wi-enter { min-height: 58px !important; }
  .wi-modules > span { min-height: 96px; padding: 14px 8px; gap: 10px; font-size: 17px; }
  .wi-modules svg { width: 26px; height: 26px; }
}
@media (max-width: 1100px) and (min-width: 821px) {
  .workspace-intro[open] { grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); column-gap: 14px; }
  .wi-guide { width: 45%; left: -5%; }
  .wi-content h1 { font-size: clamp(38px, 4.2vw, 46px); }
  .wi-description { font-size: 18px; }
  .wi-modules { gap: 10px; }
  .wi-modules > span { font-size: 16px; letter-spacing: .02em; }
  .wi-brand { gap: 9px; }
  .wi-brand-avatar[data-login-brand] { --login-header-avatar-height: 74px; width: 84px; height: 74px; flex-basis: 84px; }
  .wi-brand strong { font-size: 25px; }
  .wi-brand > div > span { font-size: 15px; }
  .wi-school-mark { width: 300px; }
}
@media (max-width: 820px) {
  .workspace-intro { padding: 20px 24px 34px; }
  .workspace-intro[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 320px auto auto; gap: 22px; }
  .wi-header { grid-row: 1; flex-wrap: wrap; gap: 20px; }
  .wi-brand { gap: 10px; }
  .wi-brand-avatar[data-login-brand] { --login-header-avatar-height: 76px; width: 86px; height: 76px; flex-basis: 86px; }
  .wi-brand strong { font-size: 26px; }
  .wi-brand > div > span { font-size: 15px; margin-top: 5px; }
  .wi-header-right { margin-left: auto; gap: 12px; }
  .wi-school-mark { width: 300px; }
  .wi-controls button { min-height: 46px; font-size: 15px; padding: 10px 13px; }
  .wi-controls { gap: 8px; }
  .wi-guide { position: relative; grid-column: 1; grid-row: 2; left: auto; bottom: auto; width: 100%; height: 365px; min-height: 0; margin-top: -14px; transform: none; }
  .wi-guide-portrait { object-position: center center; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 65%, #0009 84%, transparent); mask-image: linear-gradient(180deg, #000 0%, #000 65%, #0009 84%, transparent); }
  .wi-universe { background-position: 68% 45%; }
  .wi-depth { background: linear-gradient(180deg, #030411b8, #0304111a 25%, #030510a8 65%, #030510e6), radial-gradient(ellipse at 50% 62%, #05071a87, transparent 75%); }
  .wi-content { grid-column: 1; grid-row: 3; max-width: 650px; text-align: center; padding: 0; }
  .wi-content h1 { font-size: clamp(36px, 6.7vw, 52px); }
  .wi-eyebrow { margin-bottom: 16px; }
  .wi-description { font-size: 18px; margin: 20px 0 25px; line-height: 1.85; }
  .wi-enter { min-width: 300px; text-align: left; }
  .wi-modules { grid-column: 1; grid-row: 4; max-width: 650px; margin-top: 9px; gap: 10px; }
  .wi-modules > span { min-height: 100px; padding: 16px 8px; font-size: 17px; gap: 11px; letter-spacing: 0; }
  .wi-modules svg { width: 26px; height: 26px; }
  .wi-school-reveal { width: min(88vw, 680px); }
}
@media (max-width: 560px) {
  .workspace-intro { padding: 17px 20px 30px; }
  .workspace-intro[open] { grid-template-rows: auto 270px auto auto; gap: 18px; }
  .wi-header { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .wi-brand-avatar[data-login-brand] { --login-header-avatar-height: 72px; width: 83px; height: 72px; flex-basis: 83px; }
  .wi-brand strong { font-size: 26px; }
  .wi-header-right { width: 100%; margin: 0; gap: 13px; }
  .wi-school-mark { width: min(100%, 324px); }
  .wi-controls { display: grid; grid-template-columns: 1fr 1fr .8fr; width: 100%; gap: 7px; }
  .wi-controls button { min-height: 46px; padding: 10px 8px; font-size: 15px; gap: 6px; border-radius: 12px; }
  .wi-controls button > svg { width: 17px; height: 17px; }
  .wi-guide { height: 310px; margin-top: -12px; }
  .wi-content h1 { font-size: clamp(31px, 8.4vw, 43px); line-height: 1.35; letter-spacing: -.035em; }
  .wi-eyebrow { margin-bottom: 14px; font-size: 15px; letter-spacing: .08em; }
  .wi-description { font-size: 17px; line-height: 1.8; letter-spacing: .01em; margin: 19px 0 24px; }
  .wi-enter { min-width: 0; width: 100%; max-width: 380px; min-height: 59px !important; padding-left: 20px; font-size: 17px !important; gap: 12px; }
  .wi-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .wi-modules > span { flex-direction: row; min-height: 78px; padding: 14px 9px; gap: 12px; font-size: 17px; border-radius: 16px; }
  .wi-modules svg { width: 25px; height: 25px; }
  .wi-school-reveal { width: 90vw; }
}
@media (max-width: 360px) {
  .workspace-intro { padding-inline: 15px; }
  .wi-controls button { padding-inline: 5px; gap: 5px; }
  .wi-controls button > svg { width: 16px; height: 16px; }
  .wi-content h1 { font-size: 30px; }
  .wi-modules > span { font-size: 16px; gap: 8px; }
}
@media (max-height: 550px) and (min-width: 561px) {
  .workspace-intro { padding: 16px 24px 26px; }
  .workspace-intro[open] { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); grid-template-rows: auto minmax(290px, 1fr) auto; gap: 18px; }
  .wi-header { grid-column: 1 / -1; grid-row: 1; flex-wrap: wrap; }
  .wi-brand-avatar[data-login-brand] { --login-header-avatar-height: 65px; width: 74px; height: 65px; flex-basis: 74px; }
  .wi-brand strong { font-size: 23px; }
  .wi-brand > div > span { font-size: 15px; }
  .wi-header-right { gap: 10px; }
  .wi-school-mark { width: 280px; }
  .wi-controls button { min-height: 44px; font-size: 15px; padding: 9px 12px; }
  .wi-guide { position: absolute; left: -5%; bottom: 0; width: 39%; height: calc(100% - 75px); min-height: 300px; margin: 0; }
  .wi-content { grid-column: 2; grid-row: 2; text-align: left; }
  .wi-content h1 { font-size: clamp(32px, 4vw, 42px); }
  .wi-eyebrow { margin-bottom: 14px; }
  .wi-description { margin: 18px 0 22px; font-size: 17px; }
  .wi-enter { min-height: 56px !important; min-width: 280px; }
  .wi-modules { grid-column: 2; grid-row: 3; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wi-modules > span { flex-direction: column; min-height: 92px; font-size: 16px; gap: 10px; }
}
@media (max-width: 700px) and (max-height: 550px) {
  .wi-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wi-modules > span { flex-direction: row; min-height: 78px; }
}
@supports not ((mask-image: url('../../assets/dut-marxism-logo.png')) or (-webkit-mask-image: url('../../assets/dut-marxism-logo.png'))) {
  .wi-school-shimmer { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-intro *, .workspace-intro *::before, .workspace-intro *::after { animation: none !important; transition: none !important; }
  .wi-school-shimmer { opacity: 0; }
}
