:root {
  --ink: #153b38;
  --jade: #2d6a5f;
  --blue: #286b7d;
  --pale: #dcebe2;
  --paper: #f7f3e7;
  --gold: #b99a48;
  --line: rgba(23, 60, 58, 0.2);
  --mist: rgba(255, 253, 245, 0.7);
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  color: var(--ink);
  font-family: "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  background: #153c3a;
}

button, a { font: inherit; }
button { cursor: pointer; }

.report-shell {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 12%, rgba(185, 154, 72, 0.2), transparent 22rem),
    radial-gradient(circle at 82% 84%, rgba(40, 107, 125, 0.3), transparent 30rem),
    linear-gradient(145deg, #123b37, #205d55 56%, #163b46);
}

.report-workspace {
  display: grid;
  width: min(430px, 100%);
  gap: 12px;
}

.report-account-bar {
  width: 100%;
}

.report-unavailable[hidden],
.report-frame[hidden] {
  display: none;
}

.report-unavailable {
  display: grid;
  justify-items: center;
  min-height: 560px;
  align-content: center;
  padding: 42px 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background: var(--paper);
  text-align: center;
  box-shadow: 0 36px 100px rgba(5, 24, 23, 0.38);
}
.report-unavailable img { width: 88px; height: 88px; object-fit: contain; }
.report-unavailable p { margin: 26px 0 8px; color: var(--jade); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.report-unavailable h1 { margin: 0; font-family: "STKaiti", "KaiTi", serif; font-size: 38px; }
.report-unavailable span { max-width: 25em; margin-top: 18px; color: rgba(23, 60, 58, .72); font-size: 14px; line-height: 1.8; }
.report-unavailable a { display: inline-flex; min-height: 44px; align-items: center; margin-top: 28px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fffdf6; font-size: 13px; font-weight: 800; text-decoration: none; }

.report-frame {
  position: relative;
  width: min(430px, 100%);
  height: min(860px, calc(100dvh - 48px));
  min-height: 640px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 245, 0.35);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 34px 90px rgba(5, 24, 23, 0.38), inset 0 0 0 1px rgba(21, 59, 56, 0.05);
}

.report-topline {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: calc(18px + env(safe-area-inset-top)) 20px 12px;
  color: rgba(23, 60, 58, 0.72);
  font-size: 11px;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, rgba(247, 243, 231, 0.9), rgba(247, 243, 231, 0));
}

.report-back { color: inherit; text-decoration: none; }
.preview-label { justify-self: center; white-space: nowrap; }
.page-count { justify-self: end; font-variant-numeric: tabular-nums; }

.report-page {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
  padding: 94px 38px 110px;
  background:
    radial-gradient(circle at 84% 8%, rgba(185, 154, 72, 0.2), transparent 17rem),
    linear-gradient(155deg, #f8f4e8, #e4eee4 68%, #c5ddd2);
}

.report-page.active {
  display: block;
  animation: page-enter 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.report-page::after {
  content: "";
  position: absolute;
  inset: auto -18% -11% 20%;
  height: 36%;
  border-radius: 58% 42% 0 0;
  background:
    linear-gradient(172deg, transparent 0 42%, rgba(185, 154, 72, 0.3) 42.4% 42.8%, transparent 43.2%),
    linear-gradient(150deg, rgba(40, 107, 125, 0.2), rgba(45, 106, 95, 0.72));
  transform: rotate(-6deg);
}

.report-page::before {
  content: "";
  position: absolute;
  inset: 72px 18px 82px;
  z-index: 1;
  border: 1px solid rgba(185, 154, 72, 0.16);
  border-bottom-color: transparent;
  background:
    radial-gradient(circle at 13% 22%, rgba(45, 106, 95, 0.08) 0 1px, transparent 1.5px),
    radial-gradient(circle at 76% 64%, rgba(40, 107, 125, 0.07) 0 1px, transparent 1.5px);
  background-size: 29px 31px, 37px 41px;
  pointer-events: none;
}

.page-copy { position: relative; z-index: 3; margin-top: 20%; }
.top-copy { margin-top: 2%; }
.eyebrow, .term, .date-mark { margin: 0 0 18px; color: var(--jade); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; }
.date-mark { color: rgba(23, 60, 58, 0.62); font-weight: 600; }

.page-copy h2 {
  margin: 0;
  max-width: 10em;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(28px, 7vw, 38px);
  font-weight: 500;
  line-height: 1.2;
}

.page-copy h2 strong { color: var(--blue); font-weight: 800; }
.heading-line { display: block; }
.heading-line.align-right { text-align: right; }
.page-copy > p:last-child { max-width: 24em; margin-top: 24px; color: rgba(23, 60, 58, 0.78); font-size: 15px; line-height: 1.85; }
.report-tags { position: relative; z-index: 4; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.report-tags span { padding: 7px 10px; border: 1px solid rgba(45, 106, 95, .16); border-radius: 999px; background: rgba(248, 244, 232, .72); color: var(--jade); font-size: 11px; font-weight: 800; }
.report-metrics { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.report-metric { position: relative; min-height: 104px; display: grid; align-content: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, rgba(255, 253, 245, .82), rgba(220, 235, 226, .58)); box-shadow: inset 0 1px rgba(255, 255, 255, .58); }
.report-metric strong { color: var(--blue); font-family: Georgia, serif; font-size: 42px; line-height: 1; }
.report-metric span { margin-top: 8px; color: rgba(23, 60, 58, .74); font-size: 12px; }
.report-metric em, .stat-constellation em { position: absolute; top: 9px; right: 10px; color: rgba(21,59,56,.52); font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .08em; }
.report-metric.is-simulated { border-style: dashed; }
.report-empty { position: relative; z-index: 4; margin-top: 28px; padding: 18px; border-left: 3px solid var(--gold); background: rgba(248, 244, 232, .72); color: rgba(23, 60, 58, .72); font-size: 13px; line-height: 1.75; }

.cover-page { background: radial-gradient(circle at 76% 19%, rgba(185, 154, 72, .18), transparent 24%), linear-gradient(160deg, #f7f0db 0%, #d9ebe1 54%, #92bfb5 100%); }
.cover-copy { position: relative; z-index: 5; margin-top: 12%; }
.cover-copy h1 { margin: 20px 0 22px; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(48px, 13vw, 60px); font-weight: 700; line-height: 1.08; letter-spacing: -0.04em; }
.cover-note { max-width: 23em; color: rgba(23, 60, 58, 0.78); font-size: 15px; line-height: 1.9; text-indent: 2em; }
.demo-source-note { position: relative; z-index: 7; max-width: 24em; margin: -6px 0 0; color: rgba(21,59,56,.62); font-size: 11px; line-height: 1.65; }
.start-button, .finish-button {
  position: relative;
  z-index: 8;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fffdf6;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(23, 60, 58, 0.22);
}
.start-button:active, .finish-button:active { transform: translateY(1px) scale(0.98); }
.cover-copy .start-button {
  display: flex;
  width: fit-content;
  min-width: 154px;
  gap: 12px;
  overflow: hidden;
  margin: 98px auto 0;
  border: 1px solid rgba(185, 154, 72, .62);
  background: linear-gradient(135deg, #173f3c, #24665e);
  box-shadow: 0 12px 30px rgba(23, 60, 58, .2), 0 0 0 5px rgba(185, 154, 72, .08);
}
.cover-copy .start-button::before { content: ""; position: absolute; inset: -40% auto -40% -42%; width: 34%; background: linear-gradient(90deg, transparent, rgba(255, 247, 205, .32), transparent); transform: skewX(-20deg); }
.cover-copy .start-button::after { content: "→"; color: #e2c670; font-size: 17px; font-weight: 500; transition: transform 220ms ease; }
.cover-copy .start-button:hover::after { transform: translateX(3px); }
.finish-button.secondary { border: 1px solid rgba(23, 60, 58, .28); background: rgba(248, 244, 232, .62); color: var(--ink); }
.sun-disc { position: absolute; top: 17%; right: 10%; width: 72px; height: 72px; border: 1px solid rgba(185, 154, 72, .78); border-radius: 50%; background: radial-gradient(circle at 38% 34%, rgba(255, 245, 194, .8), rgba(185, 154, 72, .7) 58%, rgba(185, 154, 72, .45)); box-shadow: 0 0 0 13px rgba(185, 154, 72, 0.07), 0 0 0 26px rgba(185, 154, 72, 0.035); }
.mountain { position: absolute; bottom: -8%; border: 1px solid rgba(185, 154, 72, .2); border-bottom: 0; border-radius: 50% 50% 0 0; transform: rotate(-9deg); }
.mountain-far { right: -22%; width: 96%; height: 43%; background: linear-gradient(145deg, rgba(248, 244, 232, .24), rgba(40, 107, 125, 0.35)); }
.mountain-mid { left: -28%; width: 112%; height: 35%; background: linear-gradient(145deg, rgba(79, 139, 126, .5), rgba(45, 106, 95, .72)); transform: rotate(8deg); }
.mountain-near { right: -18%; width: 88%; height: 24%; background: linear-gradient(155deg, #2e665d, #173f3c); transform: rotate(-3deg); }
.brand-mark { position: absolute; z-index: 8; right: 24px; bottom: 25px; margin: 0; color: rgba(248, 244, 232, 0.9); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }

.journey-page { background: radial-gradient(ellipse at 18% 86%, rgba(45, 106, 95, .15), transparent 39%), linear-gradient(156deg, #f8f4e8, #e2ede3 64%, #bdd8cd); }
.journey-page .page-copy h2 { width: 100%; max-width: none; }
.journey-page .page-copy > p:last-of-type { max-width: 22em; margin-top: 14px; font-size: 13px; line-height: 1.7; }
.path-map {
  position: absolute;
  z-index: 3;
  right: 8%;
  top: 35%;
  bottom: auto;
  left: 8%;
  overflow: hidden;
  padding: 18px 20px 16px;
  border: 1px solid rgba(185, 154, 72, .35);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 88% 108%, rgba(40, 107, 125, .24), transparent 46%),
    linear-gradient(145deg, rgba(255, 253, 245, .9), rgba(218, 235, 226, .83));
  box-shadow: 0 20px 42px rgba(21, 59, 56, .12), inset 0 1px rgba(255, 255, 255, .7);
}
.path-map::before { content: ""; position: absolute; right: -9%; bottom: -13%; width: 68%; height: 42%; border-radius: 58% 42% 0 0; background: linear-gradient(155deg, rgba(40, 107, 125, .08), rgba(45, 106, 95, .18)); transform: rotate(-6deg); pointer-events: none; }
.path-map::after { content: ""; position: absolute; top: 59px; bottom: 39px; left: 26px; width: 1px; background: linear-gradient(var(--gold), rgba(185, 154, 72, .24)); pointer-events: none; }
.path-map-title { position: relative; z-index: 2; margin: 0 0 8px; color: rgba(23, 60, 58, .58); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.path-steps { position: relative; z-index: 2; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.path-step { position: relative; display: grid; gap: 2px; min-height: 48px; align-content: center; padding: 6px 0 6px 34px; }
.path-step::before { content: ""; position: absolute; top: 50%; left: 0; width: 11px; height: 11px; border: 3px solid rgba(255, 253, 245, .92); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px rgba(185, 154, 72, .36); transform: translateY(-50%); }
.path-step:first-child::before { background: var(--blue); }
.path-step:last-child::before { width: 13px; height: 13px; background: var(--jade); }
.path-step-label { color: rgba(23, 60, 58, .56); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.path-step-value { overflow-wrap: anywhere; color: var(--ink); font-family: "STKaiti", "KaiTi", serif; font-size: 17px; font-weight: 700; line-height: 1.25; }

.giant-number { margin: 0; color: var(--blue); font-family: Georgia, serif; font-size: clamp(128px, 38vw, 176px); font-weight: 700; line-height: 0.8; letter-spacing: -0.08em; }
.visits-page .page-copy h2, .works-page .page-copy h2 { margin-top: 24px; }
.visits-page { background: radial-gradient(circle at 76% 76%, rgba(40, 107, 125, .2), transparent 33%), linear-gradient(160deg, #f6f2e7, #dcebe2 68%, #a9cfc5); }
.visit-ripples { position: absolute; z-index: 2; right: -10%; bottom: 4%; width: 78%; aspect-ratio: 1; }
.visit-ripples i { position: absolute; inset: calc(var(--ring, 0) * 11%); border: 1px solid rgba(248, 244, 232, 0.5); border-radius: 50%; }
.visit-ripples i:nth-child(2) { --ring: 1; }
.visit-ripples i:nth-child(3) { --ring: 2; }
.visit-ripples i:nth-child(4) { --ring: 3; }

.note-page { background: linear-gradient(110deg, rgba(185, 154, 72, .07) 0 1px, transparent 1px 100%), linear-gradient(160deg, #f8f4e8, #e5eee5 72%, #c9ddd5); background-size: 34px 100%, auto; }
blockquote { position: relative; z-index: 3; margin: 54px 0 0; padding: 26px 0 26px 24px; border-left: 3px solid var(--gold); color: var(--ink); font-family: "STKaiti", "KaiTi", serif; font-size: 24px; line-height: 1.65; }
.quote-target { position: relative; z-index: 3; margin-top: 16px; color: rgba(23, 60, 58, 0.62); font-size: 12px; }

.group-page { background: radial-gradient(circle at 85% 28%, rgba(185, 154, 72, .14), transparent 26%), linear-gradient(160deg, #f7f3e7, #dceae0 68%, #b8d5ca); }
.milestone-list { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 10px; margin: 50px 0 0; padding: 0; list-style: none; }
.milestone-list li { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid rgba(23, 60, 58, 0.2); border-radius: 50%; background: radial-gradient(circle at 38% 30%, rgba(255,255,255,.72), rgba(220,235,226,.68)); color: var(--jade); font-size: 12px; font-weight: 800; box-shadow: 0 10px 26px rgba(21,59,56,.06); }

.works-page { background: radial-gradient(ellipse at 76% 82%, rgba(40,107,125,.16), transparent 34%), linear-gradient(155deg, #f8f3e5, #e0ebe1 66%, #b8d4c9); }
.floating-scrolls { position: absolute; z-index: 3; right: 8%; bottom: 12%; display: flex; gap: 12px; align-items: end; transform: rotate(-5deg); }
.floating-scrolls i { display: block; width: 64px; height: 108px; border: 1px solid rgba(185, 154, 72, 0.7); border-radius: 10px; background: repeating-linear-gradient(180deg, transparent 0 13px, rgba(45,106,95,.12) 13px 14px), linear-gradient(160deg, #f7efd9, #b8d5c8); box-shadow: 0 14px 24px rgba(23, 60, 58, 0.12); }
.floating-scrolls i:nth-child(2) { height: 138px; background: linear-gradient(160deg, #f7efd9, #82b4aa); }
.floating-scrolls i:nth-child(3) { height: 94px; }
.works-page.has-media .floating-scrolls { display: none; }
.works-page.has-media .report-metrics { gap: 8px; margin-top: 44px; }
.works-page.has-media .report-metric { min-height: 78px; padding: 12px 14px; }
.works-page.has-media .report-metric strong { font-size: 34px; }
.report-media-strip { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 14px; }
.report-media-strip figure { min-width: 0; margin: 0; }
.report-media-strip img { display: block; width: 100%; height: 78px; border: 1px solid rgba(185,154,72,.34); border-radius: 10px; object-fit: cover; box-shadow: 0 9px 22px rgba(21,59,56,.09); }
.report-media-strip figcaption { display: grid; gap: 1px; margin-top: 5px; color: rgba(21,59,56,.76); font-size: 10px; line-height: 1.35; }
.report-media-strip figcaption em { color: rgba(21,59,56,.48); font-size: 8px; font-style: normal; }

.constellation-page { background: radial-gradient(circle at 74% 48%, rgba(185, 154, 72, .12) 0 1px, transparent 2px), radial-gradient(circle at 82% 58%, rgba(40, 107, 125, .13), transparent 34%), linear-gradient(160deg, #f8f4e8, #e1ece3 66%, #b8d4ca); background-size: 42px 42px, auto, auto; }
.constellation-page .top-copy { margin-top: 0; }
.constellation-page::after { inset: auto -24% -15% 12%; height: 36%; border: 1px solid rgba(185,154,72,.18); border-bottom: 0; border-radius: 55% 45% 0 0; background: radial-gradient(circle at 34% 20%, rgba(255,253,245,.25), transparent 24%), linear-gradient(150deg, rgba(40,107,125,.22), rgba(45,106,95,.62)); transform: rotate(-4deg); }
.stat-constellation { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.stat-constellation div { position: relative; display: grid; min-width: 0; align-content: end; gap: 8px; min-height: 106px; padding: 15px 16px 14px; border: 1px solid rgba(45,106,95,.18); border-top-color: rgba(185,154,72,.58); border-radius: 14px; background: linear-gradient(145deg, rgba(255,253,245,.82), rgba(220,235,226,.58)); box-shadow: 0 14px 34px rgba(21,59,56,.07), inset 0 1px rgba(255,255,255,.72); }
.stat-constellation div.is-simulated { border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; }
.stat-constellation div:only-child { grid-column: 1 / -1; grid-template-columns: minmax(108px, .72fr) 1fr; align-items: end; }
.stat-constellation strong { min-width: 0; color: var(--blue); font-family: Georgia, serif; font-size: clamp(44px, 13vw, 56px); line-height: .9; letter-spacing: -.04em; }
.stat-constellation span { min-width: 0; color: rgba(23, 60, 58, 0.75); font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.soft-caption { position: relative; z-index: 3; max-width: 25em; margin-top: 18px; color: rgba(23, 60, 58, 0.62); font-size: 13px; line-height: 1.7; }

.title-page { text-align: center; background: radial-gradient(circle at 50% 22%, rgba(255,253,245,.45), transparent 28%), linear-gradient(160deg, #deebe0, #b6d4c7 55%, #477d74); }
.semester-title-art { position: relative; z-index: 4; display: block; width: min(76%, 290px); height: clamp(190px, 31vh, 270px); margin: -2% auto 0; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(23, 60, 58, 0.2)); }
.title-copy { margin-top: -2%; }
.title-copy h2 { max-width: none; color: var(--ink); font-size: clamp(34px, 9vw, 42px); font-weight: 800; }
.title-copy > p:last-child { margin-right: auto; margin-left: auto; }
.report-page {
  background-image:
    linear-gradient(180deg, rgba(255, 253, 245, .06), rgba(220, 235, 226, .08) 58%, rgba(21, 59, 56, .08)),
    url("./assets/semester-report/report-bg.webp");
  background-position: center;
  background-size: cover;
}
.share-summary { position: relative; z-index: 4; display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 28px; }
.share-summary > span { position: relative; display: grid; min-width: 0; min-height: 72px; align-content: center; justify-items: center; gap: 4px; padding: 9px 6px; border: 1px solid transparent; border-radius: 14px; background: rgba(248, 244, 232, 0.66); font-size: 11px; font-weight: 800; }
.share-summary span.is-simulated { border-color: rgba(21,59,56,.2); border-style: dashed; }
.share-summary-value { color: var(--blue); font-family: Georgia, serif; font-size: 22px; line-height: 1; }
.share-summary-label { min-width: 0; color: rgba(23,60,58,.72); font-size: 10px; font-weight: 700; white-space: nowrap; }
.share-summary em { position: absolute; top: 5px; right: 6px; color: rgba(21,59,56,.5); font-size: 7px; font-style: normal; }
.share-actions { position: relative; z-index: 4; display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: stretch; gap: 7px; margin-top: 22px; }
.title-page .finish-button { width: 100%; min-width: 0; min-height: 42px; margin-top: 0; padding: 0 7px; font-size: 10px; white-space: nowrap; }
.title-page .replay-report { min-height: 42px; }
.share-actions p { grid-column: 1 / -1; min-height: 18px; margin: 0; color: rgba(23, 60, 58, .72); font-size: 11px; line-height: 1.6; }

.report-controls { position: absolute; z-index: 30; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); left: 18px; display: none; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.report-controls.visible { display: grid; }
.report-controls button { min-height: 42px; padding: 0 15px; border: 1px solid rgba(21,59,56,.1); border-radius: 999px; background: rgba(248, 244, 232, 0.9); color: var(--ink); font-size: 12px; font-weight: 800; box-shadow: 0 8px 20px rgba(23, 60, 58, 0.1); backdrop-filter: blur(8px); }
.progress-track { height: 3px; overflow: hidden; border-radius: 3px; background: rgba(23, 60, 58, 0.18); }
.progress-track span { display: block; width: 12.5%; height: 100%; background: var(--gold); transition: width 360ms ease; }

@keyframes page-enter { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scenery-settle { from { opacity: .35; transform: translateY(10px) rotate(-6deg); } to { opacity: 1; transform: translateY(0) rotate(-6deg); } }
@keyframes start-button-breathe { 0%, 100% { box-shadow: 0 12px 30px rgba(23, 60, 58, .2), 0 0 0 5px rgba(185, 154, 72, .08); } 50% { box-shadow: 0 14px 34px rgba(23, 60, 58, .25), 0 0 0 8px rgba(185, 154, 72, .11); } }
@keyframes start-button-shimmer { 0%, 62% { left: -42%; } 82%, 100% { left: 122%; } }

@media (prefers-reduced-motion: no-preference) {
  .report-page.active::after { animation: scenery-settle 700ms cubic-bezier(.16, 1, .3, 1) both; }
  .constellation-page.active::after { animation-name: scenery-settle-star; }
  .cover-copy .start-button { animation: start-button-breathe 3.6s ease-in-out infinite; }
  .cover-copy .start-button::before { animation: start-button-shimmer 4.8s ease-in-out infinite; }
}

@keyframes scenery-settle-star { from { opacity: .35; transform: translateY(10px) rotate(-4deg); } to { opacity: 1; transform: translateY(0) rotate(-4deg); } }

@media (max-width: 520px) {
  .report-shell { padding: 0; }
  .report-workspace { width: 100%; gap: 0; }
  .report-account-bar { min-height: 62px; border-width: 0 0 1px; border-radius: 0; box-shadow: none; }
  .report-unavailable { min-height: calc(100dvh - 62px); border: 0; border-radius: 0; box-shadow: none; }
  .report-frame { width: 100%; height: calc(100dvh - 62px); min-height: 538px; border: 0; border-radius: 0; }
  .report-page { padding-right: 30px; padding-left: 30px; }
  .report-page::before { right: 14px; left: 14px; }
  .constellation-page { padding-top: 88px; }
  .stat-constellation { margin-top: 24px; }
  .report-demo-mode .report-account-bar .student-account-name { max-width: 154px; }
}

@media (prefers-reduced-motion: reduce) {
  .report-page.active, .report-page.active::after, .start-button, .start-button::before { animation: none; }
  .progress-track span { transition: none; }
}
