@font-face {
  font-family: Inter;
  src: url("assets/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --mist: #f5f9ff;
  --ice: #5b9bd5;
  --wash: #e8f2ff;
  --frost: #b8d8f5;
  --ink: #1e3a5f;
  --head: #173657;
  --muted: #536d89;
  --subtle: #5f7793;
  --action: #2c659b;
  --grid: #dbe8f5;
  --border: rgb(255 255 255 / .4);
  --shadow: 0 0 0 1px rgb(94 144 188 / .13), 0 8px 28px rgb(57 110 163 / .075), inset 0 1px 0 rgb(255 255 255 / .95);
  --radius: 22px;
  --speed: 160ms;
  font-family: Inter, "SF Pro Text", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 102px; }
body {
  margin: 0;
  min-width: 280px;
  background:
    radial-gradient(ellipse 560px 350px at 84% 220px, rgb(184 216 245 / .52), transparent 100%),
    radial-gradient(ellipse 550px 480px at 4% 780px, rgb(184 216 245 / .33), transparent 100%),
    radial-gradient(ellipse 550px 560px at 95% 1460px, rgb(184 216 245 / .35), transparent 100%),
    var(--mist);
}
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 14px; z-index: 20; border-radius: 8px; background: white; padding: 10px; }
.shell { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.glass {
  background: rgb(251 253 255 / .67);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }

.navigation { position: sticky; top: 0; z-index: 5; padding-top: 18px; }
.nav-frame {
  min-height: 62px; position: relative; display: flex; align-items: center; gap: 28px; padding: 8px 12px 8px 16px;
  border-radius: 19px; background: rgb(253 254 255 / .78);
}
.nav-frame::after {
  content: ""; position: absolute; inset: auto 28px -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(126 183 232 / .5), transparent);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 760; letter-spacing: -.045em; white-space: nowrap; }
.brand img { display: block; flex: none; }
.brand span {
  color: var(--action);
  background: linear-gradient(105deg, #2d5987, #427fb9 67%, #518cca);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.nav-links a {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 13px;
  border-radius: 10px; white-space: nowrap; color: var(--muted); font-size: 13px; font-weight: 550;
  transition: color var(--speed), background var(--speed);
}
.nav-links a:hover, .nav-links a[aria-current] { color: var(--action); background: rgb(221 237 255 / .62); }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; padding: 10px 15px;
  border: 1px solid transparent; border-radius: 11px; font-size: 13px; line-height: 1.25; font-weight: 650;
  white-space: nowrap; transition: background var(--speed), box-shadow var(--speed);
}
.button .icon { width: 16px; height: 16px; }
.button-quiet { color: #275682; background: #eaf4ff; border-color: #dbeaf9; }
.button-quiet:hover { background: #dceeff; }
.button-primary {
  color: white; background: var(--action); border-color: #245b91; box-shadow: 0 5px 15px rgb(66 123 174 / .19), inset 0 1px rgb(255 255 255 / .17);
  padding-inline: 17px;
}
.button-primary:hover { background: #245987; box-shadow: 0 7px 18px rgb(52 106 156 / .24); }
.icon-button {
  display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid #dbeaf9;
  border-radius: 11px; background: #edf6ff; color: var(--action);
}
.menu-switch { display: none; }

.hero {
  min-height: 344px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(16px, 3vw, 52px); isolation: isolate;
  padding: 43px 0 41px;
}
.hero-content { z-index: 1; }
.eyebrow, .sample-badge {
  display: inline-flex; align-items: center; width: fit-content; gap: 8px; min-height: 28px;
  padding: 4px 10px; border: 1px solid #d6e8fa; border-radius: 999px; background: rgb(233 244 255 / .78);
  color: #3a668f; font-size: 12px; font-weight: 620; line-height: 1.4;
}
.eyebrow > span, .sample-badge > span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 3px rgb(91 155 213 / .12); flex: none;
}
.hero h1 {
  margin-top: 15px; color: var(--head); font-size: clamp(37px, 4.35vw, 65px);
  letter-spacing: -.065em; line-height: 1.13; font-weight: 760;
}
.hero h1 em {
  font-style: normal; color: #396fa3;
  background: linear-gradient(105deg, #2f6194, #5895c9);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-copy { margin: 15px 0 20px; max-width: 33ch; color: var(--muted); line-height: 1.7; font-size: clamp(14px, 1.13vw, 16px); }
.hero-art { position: relative; width: 100%; align-self: center; justify-self: end; max-width: 540px; }
.hero-graph { display: block; width: 100%; height: auto; overflow: visible; }
.hero-badge, .hero-stamp { position: absolute; border-radius: 14px; background: rgb(251 253 255 / .75); }
.hero-badge { top: 14%; right: 7%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.hero-badge .icon { width: 32px; height: 32px; border-radius: 9px; padding: 5px; color: var(--action); background: #e5f1ff; }
.hero-badge span, .hero-stamp span { display: block; margin-bottom: 3px; font-size: 9px; font-weight: 720; letter-spacing: .10em; color: var(--subtle); }
.hero-badge strong { font-size: 13px; display: block; }
.hero-badge b { width: 6px; height: 6px; margin-left: 11px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 3px rgb(91 155 213 / .13); }
.hero-stamp { display: grid; bottom: 10%; left: 14%; padding: 10px 13px; }
.hero-stamp strong { font-size: 23px; font-weight: 660; font-variant-numeric: tabular-nums; letter-spacing: -.06em; }

.report { padding-bottom: 10px; }
.section-heading { display: flex; justify-content: space-between; gap: 14px; align-items: end; margin: 0 0 15px; }
.section-kicker { color: #4976a1; font-size: 10px; font-weight: 750; letter-spacing: .15em; margin-bottom: 7px; }
.section-heading h2 { color: var(--head); font-size: clamp(23px, 2.3vw, 30px); font-weight: 720; letter-spacing: -.045em; line-height: 1.17; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.stat {
  position: relative; overflow: hidden; min-height: 143px; padding: 16px 17px; border-radius: 19px;
  background: linear-gradient(150deg, rgb(255 255 255 / .84), rgb(240 248 255 / .64));
}
.tile, .effect-icon {
  flex: none; display: inline-grid; place-items: center; border-radius: 10px;
  border: 1px solid rgb(184 216 245 / .53); background: #e9f3ff; color: #3776ad; box-shadow: inset 0 1px rgb(255 255 255 / .8);
}
.tile { width: 34px; height: 34px; }
.tile .icon { width: 18px; height: 18px; }
.stat h3 { margin: 8px 0 3px; color: var(--muted); font-size: 12px; font-weight: 650; }
.stat-value { position: relative; z-index: 1; font-size: clamp(24px, 2.43vw, 34px); color: var(--head); line-height: 1.1; font-weight: 710; letter-spacing: -.056em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-value small { color: var(--muted); font-size: 14px; font-weight: 620; letter-spacing: 0; }
.stat-note { margin-top: 8px; position: relative; z-index: 1; color: var(--subtle); font-size: 11px; }
.sparkline { position: absolute; inset: auto 12px 12px auto; width: min(36%, 102px); overflow: visible; opacity: .9; }
.sparkline path { fill: rgb(184 216 245 / .35); }
.sparkline polyline { fill: none; stroke: #78afda; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

.buff-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.panel { border-radius: var(--radius); min-width: 0; padding: 21px; }
.panel-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 15px; }
.heading-group { display: flex; align-items: center; gap: 10px; min-width: 0; }
.heading-group .tile { width: 39px; height: 39px; }
.heading-group .tile .icon { width: 20px; height: 20px; }
.panel-header h2 { color: var(--head); font-size: 18px; font-weight: 730; line-height: 1.22; letter-spacing: -.034em; }
.panel-header p { color: var(--subtle); font-size: 12px; line-height: 1.45; margin-top: 4px; }
.select-player { position: relative; color: #375f86; flex: none; }
.select-player select {
  appearance: none; border-radius: 10px; border: 1px solid #d9e7f6; background: rgb(246 251 255 / .9);
  padding: 0 30px 0 13px; min-height: 44px; text-align: left; font-size: 12px; font-weight: 620;
}
.select-player .icon { width: 14px; height: 14px; position: absolute; right: 10px; top: calc(50% - 7px); pointer-events: none; }
.soft-badge { flex: none; border: 1px solid #dceaf7; border-radius: 8px; padding: 5px 8px; color: #466789; background: rgb(237 246 255 / .8); font-size: 11px; line-height: 1.2; font-weight: 620; white-space: nowrap; }
.timeline { --buff-label: clamp(91px, 21%, 129px); position: relative; }
.timeline-axis, .buff-row { display: grid; grid-template-columns: var(--buff-label) minmax(0, 1fr); gap: 8px; }
.timeline-axis { align-items: center; height: 23px; padding-right: 4px; }
.axis-title, .timeline-ticks { color: var(--subtle); font-size: 10px; font-weight: 650; }
.timeline-ticks { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.buff-row { min-height: 43px; align-items: center; border-top: 1px solid rgb(209 227 243 / .55); }
.buff-label { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 620; line-height: 1.2; }
.effect-icon { width: 32px; height: 32px; }
.effect-icon .icon { width: 16px; height: 16px; }
.effect-icon.cyan { color: #37788a; border-color: #d1e9f1; background: #e6f5fa; }
.buff-track { height: 100%; min-width: 0; position: relative; display: flex; align-items: center; }
.buff-track::after { content: ""; position: absolute; left: 81.081%; top: 0; bottom: 0; border-left: 1px dashed rgb(71 134 188 / .54); pointer-events: none; }
.track-ticks { position: absolute; inset: 0; display: flex; justify-content: space-between; pointer-events: none; }
.track-ticks i { width: 1px; height: 100%; background: rgb(204 225 244 / .6); }
.buff-range {
  height: 12px; position: absolute; left: var(--position); width: var(--length); border-radius: 4px;
  border: 1px solid #7fb3e1; background: #b1d1f2; box-shadow: inset 0 1px rgb(255 255 255 / .55);
}
.buff-range.cyan { border-color: #79b8c9; background: #a9dbe5; }
.buff-range.ended { opacity: .30; }
.buff-range.active { box-shadow: inset 0 1px rgb(255 255 255 / .55), 0 0 11px rgb(91 155 213 / .33); }
.buff-range.future { opacity: .52; border-style: dashed; background: transparent; }
.timeline-key { margin-top: 12px; display: flex; gap: 13px; align-items: center; justify-content: end; color: var(--subtle); font-size: 10px; line-height: 1.3; }
.timeline-key > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.timeline-key i { width: 14px; height: 6px; border-radius: 2px; background: #a7cdef; border: 1px solid #87b7df; }
.timeline-key span:nth-child(2) i { opacity: .3; }
.timeline-reference { padding-left: 8px; border-left: 1px solid #d6e4f2; font-variant-numeric: tabular-nums; }
.boss-list { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; }
.boss-list li {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) auto 43px; align-items: center; gap: 9px; min-height: 46px;
  padding: 4px 7px; border-radius: 10px; border: 1px solid rgb(222 235 248 / .64); background: rgb(246 251 255 / .58);
}
.effect-text { display: grid; gap: 3px; min-width: 0; align-content: center; }
.effect-text strong { font-size: 12px; line-height: 1.15; font-weight: 680; }
.effect-text small { color: var(--subtle); font-size: 10px; line-height: 1.2; }
.time-ring {
  --ring-color: #78b0df;
  width: 19px; height: 19px; border-radius: 50%;
  background: conic-gradient(var(--ring-color) var(--remaining), #dcebf8 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}
.time-left { text-align: right; padding-right: 2px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.time-left strong { font-weight: 720; font-size: 13px; color: var(--ink); }
.danger .effect-icon { color: #b65136; border-color: #f0d8d0; background: #fdf0eb; }
.danger .effect-text small { color: #9e503d; }
.danger .time-ring { --ring-color: #cc745c; }

.dps-panel, .skill-panel { margin-top: 18px; }
.chart-header { margin-bottom: 17px; }
.line-legend { display: flex; justify-content: end; flex-wrap: wrap; gap: 5px; }
.line-legend button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border: 1px solid transparent; border-radius: 9px;
  background: transparent; padding-inline: 8px; color: var(--muted); font-size: 12px; white-space: nowrap;
  transition: background var(--speed), border-color var(--speed);
}
.line-legend button:hover { background: #edf6ff; border-color: #dfedfb; }
.line-legend button[aria-pressed="false"] { text-decoration: line-through; }
.line-legend button[aria-pressed="false"] .line-dot { background: transparent; }
.line-dot { display: inline-block; flex: none; width: 8px; height: 8px; border: 1px solid var(--series); border-radius: 50%; background: var(--series); }
.unit-label { display: block; color: var(--subtle); font-size: 10px; font-weight: 730; letter-spacing: .08em; }
.dps-chart { position: relative; isolation: isolate; height: clamp(200px, 24vw, 302px); min-width: 0; }
.dps-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.dps-svg text { fill: var(--subtle); font-size: 11px; font-variant-numeric: tabular-nums; font-weight: 570; }
.dps-svg .gridline { stroke: #c5daed; stroke-opacity: .58; }
.dps-svg .curve { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dps-svg .cursorline { stroke: #76a7d3; stroke-width: 1; stroke-dasharray: 4 4; }
.dps-probe {
  position: absolute; left: var(--plot-left, 38px); right: var(--plot-right, 16px); top: var(--plot-top, 8px); bottom: var(--plot-bottom, 27px);
  appearance: none; margin: 0; width: calc(100% - var(--plot-left, 38px) - var(--plot-right, 16px)); border: 0; border-radius: 5px;
  background: transparent; cursor: crosshair; z-index: 1; touch-action: pan-y;
}
.dps-probe::-webkit-slider-runnable-track { background: transparent; height: 100%; }
.dps-probe::-webkit-slider-thumb { appearance: none; width: 1px; height: 1px; opacity: 0; }
.dps-probe::-moz-range-track { background: transparent; height: 100%; }
.dps-probe::-moz-range-thumb { width: 1px; height: 1px; opacity: 0; }
.chart-tooltip { pointer-events: none; position: absolute; z-index: 2; width: 142px; min-height: 44px; top: 12px; left: 50%; padding: 9px 10px; border-radius: 12px; background: rgb(250 253 255 / .92); }
.chart-tooltip > strong { display: block; margin: 0 0 6px; font-size: 12px; font-variant-numeric: tabular-nums; }
.tip-row { display: grid; align-items: center; grid-template-columns: auto 1fr auto; gap: 6px; line-height: 1.3; font-size: 11px; color: var(--muted); }
.tip-row + .tip-row { margin-top: 5px; }
.tip-row b { color: var(--ink); font-weight: 680; font-variant-numeric: tabular-nums; }
.dps-figure figcaption { color: var(--subtle); font-size: 11px; margin-top: 2px; line-height: 1.4; }

.skill-layout { display: grid; grid-template-columns: minmax(190px, .83fr) minmax(0, 1.45fr); gap: clamp(18px, 4vw, 56px); align-items: center; padding: 1px 18px 5px; }
.donut-wrap { width: min(100%, 226px); position: relative; margin-inline: auto; }
.donut { display: block; width: 100%; height: auto; }
.donut-segment { transition: opacity var(--speed); }
.donut-center { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; pointer-events: none; gap: 3px; }
.donut-center > span { color: var(--subtle); font-size: 12px; font-weight: 620; }
.donut-center strong { color: var(--head); font-weight: 720; font-size: 32px; line-height: 1.12; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.donut-center strong span { font-size: 16px; margin-left: 2px; letter-spacing: 0; }
.skill-table { min-width: 0; }
.skill-table-head { display: flex; justify-content: space-between; padding: 0 10px 6px; color: var(--subtle); font-size: 11px; font-weight: 640; }
.skill-legend { display: grid; gap: 3px; }
.skill-row {
  width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(25px, .5fr) auto; gap: 9px; align-items: center;
  text-align: left; min-height: 42px; border-radius: 10px; border: 1px solid transparent; background: transparent; padding: 3px 9px;
  transition: background var(--speed), border-color var(--speed);
}
.skill-row:hover, .skill-row[aria-pressed="true"] { border-color: #dbe9f6; background: #edf6ff; }
.skill-row strong { font-size: 12px; line-height: 1.2; font-weight: 660; }
.skill-row .effect-icon { width: 28px; height: 28px; border-radius: 8px; }
.skill-row .effect-icon .icon { width: 14px; height: 14px; }
.skill-fraction { display: block; height: 4px; border-radius: 2px; background: #deeaf7; }
.skill-fraction i { display: block; height: 100%; border-radius: 2px; background: var(--series); width: var(--bar); }
.skill-pct { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 690; min-width: 43px; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 23px 0 18px; margin-top: 21px; border-top: 1px solid #dce9f6; }
.footer .brand { font-size: 16px; }
.footer p { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--subtle); font-size: 11px; }
.footer p span { flex: none; width: 3px; height: 3px; border-radius: 50%; background: #8db2d3; }
.noscript { padding: 14px; border-radius: 12px; margin-top: 18px; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 58px); }
  .stat { padding-inline: 14px; }
  .buff-grid { grid-template-columns: minmax(0, 1.33fr) minmax(0, 1fr); }
  .panel { padding: 17px; }
}
@media (max-width: 790px) {
  .nav-frame { gap: 11px; }
  .nav-links { gap: 1px; }
  .nav-links a { padding-inline: 9px; }
  .hero { min-height: 285px; padding-block: 32px; }
  .hero-art { width: 112%; }
  .hero-badge { right: 0; }
  .hero-stamp { left: 24%; }
  .stat-grid { gap: 12px; }
  .buff-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; margin-top: 15px; }
  .buff-row { min-height: 45px; }
  .dps-panel, .skill-panel { margin-top: 15px; }
}
@media (max-width: 610px) {
  html { scroll-padding-top: 78px; }
  .shell { width: calc(100% - 30px); }
  .navigation { padding-top: 9px; }
  .nav-frame { min-height: 55px; gap: 8px; border-radius: 15px; padding: 5px 7px 5px 11px; }
  .nav-frame .brand { margin-right: auto; gap: 7px; font-size: 17px; }
  .nav-frame .brand img { width: 30px; height: 30px; }
  .nav-action { padding-inline: 9px; font-size: 12px; order: 1; }
  .nav-action .icon { display: none; }
  .menu-switch { display: inline-grid; order: 2; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: calc(100% + 7px); align-items: stretch;
    flex-direction: column; display: none; padding: 6px; border-radius: 14px; background: rgb(250 253 255 / .96);
    border: 1px solid #fff; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { justify-content: start; padding-inline: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 33px 0 30px; gap: 0; }
  .hero-content { position: relative; }
  .hero h1 { font-size: clamp(35px, 10.3vw, 52px); margin-top: 13px; }
  .hero-copy { margin: 13px 0 16px; }
  .hero-art { position: absolute; pointer-events: none; width: min(96%, 400px); top: 14%; right: 0; opacity: .41; z-index: -1; mask-image: linear-gradient(90deg, transparent 27%, #000 86%); }
  .hero-badge, .hero-stamp { display: none; }
  .section-heading { margin-bottom: 12px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { min-height: 130px; padding: 13px 12px; border-radius: 16px; }
  .stat-note { font-size: 10px; }
  .stat-value { font-size: clamp(21px, 6.1vw, 33px); }
  .stat-value small { font-size: 11px; }
  .panel { padding: 14px; border-radius: 17px; }
  .panel-header h2 { font-size: 16px; }
  .panel-header p { font-size: 11px; }
  .chart-header { flex-wrap: wrap; gap: 2px; margin-bottom: 10px; }
  .line-legend { justify-content: start; }
  .line-legend button { padding-inline: 6px; }
  .skill-layout { gap: 15px; padding-inline: 0; grid-template-columns: minmax(0, 1fr); }
  .donut-wrap { width: min(190px, 70%); }
  .skill-row { min-height: 44px; }
  .footer { margin-top: 18px; padding-top: 18px; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 22px); }
  .stat { padding-inline: 9px; }
  .timeline { --buff-label: 84px; }
  .timeline-ticks { font-size: 9px; }
  .heading-group { gap: 7px; }
  .panel { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Glass layers: light on the surface, blue refraction at the edge. */
body {
  background:
    radial-gradient(ellipse 840px 470px at 89% 236px, #d3e8fc 0%, transparent 72%),
    radial-gradient(ellipse 740px 430px at -4% 640px, #daebfb 0%, transparent 81%),
    radial-gradient(ellipse 900px 590px at 96% 1300px, #deeeff 0%, transparent 76%),
    #f5f9ff;
}
.glass {
  --glass-top: rgb(255 255 255 / .69);
  --glass-base: rgb(245 251 255 / .37);
  --glass-rim: rgb(138 187 230 / .32);
  background: linear-gradient(140deg, var(--glass-top), var(--glass-base) 64%, rgb(217 236 254 / .47));
  border-color: rgb(255 255 255 / .72);
  box-shadow: 0 0 0 1px var(--glass-rim), 0 12px 30px -15px rgb(61 121 178 / .34),
    inset 0 1px 2px rgb(255 255 255 / .93), inset 0 -6px 16px -12px rgb(106 161 215 / .58);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  backdrop-filter: blur(18px) saturate(1.18);
}
.lit-surface { position: relative; isolation: isolate; }
.lit-surface::before, .lit-surface::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.lit-surface::before {
  z-index: -1;
  background: radial-gradient(ellipse 62% 26% at 22% 0%, rgb(255 255 255 / .82), transparent);
}
.lit-surface::after {
  opacity: 0; z-index: -1;
  background: radial-gradient(ellipse 165px 106px at var(--glint-x, 50%) var(--glint-y, 0%), rgb(255 255 255 / .88), rgb(225 242 255 / .32) 64%, transparent);
  transition: opacity 220ms ease-out;
}
.lit-surface.has-glint::after { opacity: 1; }
.nav-frame {
  --glass-top: rgb(255 255 255 / .78);
  --glass-base: rgb(250 253 255 / .64);
  box-shadow: 0 0 0 1px var(--glass-rim), 0 14px 36px -17px rgb(52 102 151 / .41),
    inset 0 1px 2px #fff, inset 0 -5px 12px -10px #81b8ed;
}
.brand img { object-fit: contain; filter: drop-shadow(0 2px 3px rgb(38 69 103 / .18)); }
.nav-links a { position: relative; }
.nav-links a[aria-current="page"] {
  background: linear-gradient(130deg,#f2f8ff,#dcebfc);
  box-shadow: inset 0 1px 2px #fff, 0 1px 5px rgb(103 154 203 / .13);
}
.button {
  transition: translate 210ms ease, scale 210ms ease, color 210ms ease, background 210ms ease, box-shadow 210ms ease;
}
.button-primary {
  background: linear-gradient(168deg, #3c80b8, #285c91);
  box-shadow: 0 7px 16px -5px rgb(36 104 163 / .52), inset 0 1px rgb(255 255 255 / .32);
}
.button-primary:hover { background: linear-gradient(168deg,#3e88c2,#255a8e); }
.button-quiet {
  background: linear-gradient(150deg,rgb(255 255 255 / .78),rgb(218 236 254 / .73));
  box-shadow: inset 0 1px #fff, 0 2px 10px rgb(90 144 199 / .08);
}
.button:hover { translate: 0 -2px; }
.button:active { translate: 0 0; scale: .98; }
.button .icon { transition: translate 200ms ease; }
.button-quiet:hover .icon { translate: 3px 0; }
.button-primary:hover .icon { translate: 0 2px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }

.hero { min-height: 390px; }
.hero-content, .subpage-heading { animation: glide-in 480ms cubic-bezier(.2,.7,.24,1) both; }
.hero-art { isolation: isolate; }
.hero-graph { position: relative; }
.hero-prism {
  position: absolute; inset: 8% 7% 6% 14%; z-index: -1; border-radius: 42% 52% 46% 50%;
  rotate: -16deg; overflow: hidden;
  border: 1px solid rgb(255 255 255 / .86);
  background: radial-gradient(ellipse 45% 20% at 32% 4%, rgb(255 255 255 / .92), transparent),
    linear-gradient(165deg,rgb(249 253 255 / .54),rgb(171 211 246 / .22) 55%,rgb(226 244 255 / .61));
  box-shadow: 0 19px 33px -20px rgb(68 133 198 / .39),
    inset 0 4px 10px rgb(255 255 255 / .79), inset 0 -15px 32px -21px rgb(99 164 224 / .61);
  animation: prism-drift 6.8s cubic-bezier(.5,0,.5,1) 2 alternate both;
}
.hero-orbit {
  position: absolute; z-index: -2; inset: 1% 0% 3% 8%; rotate: -12deg; border-radius: 53% 50% 52% 49%;
  border: 1px solid rgb(161 195 230 / .64); box-shadow: inset 0 1px #f9fcff;
}
.hero-badge, .hero-stamp { position: absolute; }
.hero-badge { animation: float-badge 4s ease-in-out 2; }
.hero-stamp { animation: float-badge 4.8s .22s ease-in-out 2; }
.hero-badge b { animation: signal 1.6s .2s ease-out 4; }
@keyframes glide-in {
  from { opacity: .58; translate: 0 8px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes float-badge { 50% { translate: 0 -7px; } }
@keyframes prism-drift { to { rotate: -13deg; translate: 0 4px; } }
@keyframes signal {
  60%, 100% { box-shadow: 0 0 0 7px rgb(91 155 213 / 0); }
}

.stat { border-radius: 19px; }
.encounter-name { margin-top: 8px; color: var(--muted); font-size: 12px; }
.encounter-name span { color: #6a87a6; margin-inline: 2px; }
.encounter-name strong { color: #316478; margin-left: 5px; font-weight: 650; }
.replay-bar {
  display: grid; grid-template-columns: 44px minmax(100px,1fr) auto; align-items: center; gap: 13px;
  margin-top: 17px; padding: 9px 14px; border-radius: 15px;
}
.replay-toggle { box-shadow: inset 0 1px #fff; transition: background 180ms ease; }
.replay-toggle:hover { background: #dbeeff; }
.replay-track { min-width: 0; display: grid; align-items: center; grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
.replay-track label { font-size: 12px; font-weight: 700; color: var(--action); }
.replay-track small { color: var(--muted); font-weight: 500; }
.replay-track input { min-width: 0; width: 100%; height: 22px; margin: 0; appearance: none; background: transparent; cursor: ew-resize; }
.replay-track input::-webkit-slider-runnable-track { background: linear-gradient(90deg, #6da5d7 var(--played), #cddff0 var(--played)); height: 4px; border-radius: 4px; }
.replay-track input::-moz-range-track { background: linear-gradient(90deg, #6da5d7 var(--played), #cddff0 var(--played)); height: 4px; border-radius: 4px; }
.replay-track input::-webkit-slider-thumb { appearance: none; width: 13px; height: 13px; margin-top: -4.5px; background: #fbfdff; border-radius: 50%; border: 2px solid #4c8ac1; box-shadow: 0 1px 4px #accde9; }
.replay-track input::-moz-range-thumb { width: 9px; height: 9px; background: #fbfdff; border-radius: 50%; border: 2px solid #4c8ac1; box-shadow: 0 1px 4px #accde9; }
.replay-time { color: var(--subtle); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.replay-time strong { color: var(--ink); }
.timeline { animation: glide-in 300ms ease-out; }
.buff-track::after { left: var(--snapshot, 57%); z-index: 1; }
.buff-range { min-width: 1px; transition: opacity 190ms ease, box-shadow 190ms ease; }
.buff-range[data-state="ended"] { opacity: .30; }
.buff-range[data-state="active"] { box-shadow: inset 0 1px #fff, 0 0 11px rgb(91 155 213 / .48); }
.buff-range[data-state="future"] { opacity: .52; border-style: dashed; background: transparent; }
.boss-list li { grid-template-columns: 32px minmax(0, 1fr) auto 62px; transition: border-color 200ms ease, background 200ms ease; }
.boss-list li.is-active { border-color: rgb(156 198 235 / .64); background: rgb(232 244 255 / .68); }
.chart-tooltip:not([hidden]) { animation: tip-in 150ms ease both; }
@keyframes tip-in { from { opacity: .45; translate: 0 3px; } }
.skill-row .effect-icon { transition: scale 220ms ease; }
.skill-row:hover .effect-icon { scale: 1.08; }
.footer a:not(.brand):hover { color: var(--action); text-decoration: underline; }

.subpage-heading { padding: clamp(36px, 7vw, 91px) 0 clamp(22px, 5vw, 47px); }
.subpage-heading h1 { font-size: clamp(38px,6vw,66px); line-height: 1.12; font-weight: 760; letter-spacing: -.05em; color: var(--head); margin-top: 13px; }
.subpage-heading > p:last-child { font-size: 15px; color: var(--muted); line-height: 1.65; margin-top: 14px; }
.report-heading { padding-bottom: 30px; }
.release-stack { max-width: 884px; margin-inline: auto; padding-bottom: 25px; display: grid; gap: 10px; }
.release-card { border-radius: 17px; }
.release-card summary { cursor: pointer; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; list-style: none; padding: 11px 16px; }
.release-card summary::-webkit-details-marker { display: none; }
.release-card summary > .icon { margin-left: auto; color: var(--action); rotate: -90deg; transition: rotate 230ms ease; }
.release-card[open] summary > .icon { rotate: 0deg; }
.release-card[open] .release-copy { animation: glide-in 270ms ease both; }
.release-copy { padding: 0 19px 16px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.release-copy ol { padding-left: 24px; }
.release-copy li + li { margin-top: 6px; }
.release-copy p { margin-top: 9px; }
.download-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 19px; padding-bottom: 42px; }
.download-card, .download-help { border-radius: var(--radius); padding: clamp(19px,3vw,35px); }
.download-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.download-logo { background: rgb(255 255 255 / .43); border: 1px solid #fff; border-radius: 16px; padding: 4px; box-shadow: inset 0 0 12px rgb(196 224 249 / .55); }
.download-logo img { display: block; }
.download-grid h2 { margin-top: 12px; color: var(--head); }
.download-card p { margin-top: 8px; margin-bottom: 20px; }
.download-grid p, .download-grid ol { font-size: 14px; line-height: 1.7; color: var(--muted); }
.download-grid ol { padding-left: 18px; margin-block: 10px 0; }
.download-grid li + li { margin-top: 8px; }

@media (max-width: 790px) { .hero { min-height: 300px; } }
@media (max-width: 610px) {
  .hero { min-height: 0; padding-block: 32px; }
  .hero-art { width: min(94%, 380px); opacity: .61; overflow: clip; }
  .hero-actions .button { padding-inline: 11px; font-size: 12px; gap: 5px; }
  .nav-frame:not(.has-menu) { flex-wrap: wrap; }
  .nav-frame:not(.has-menu) .menu-switch { display: none; }
  .nav-frame:not(.has-menu) .nav-links { position: static; display: flex; flex-wrap: wrap; flex-direction: row; margin-left: 0; border: 0; padding: 0; background: transparent; box-shadow: none; }
  .nav-links.is-open { animation: tip-in 200ms ease both; }
  .replay-bar { gap: 8px; padding: 7px 9px; }
  .replay-track { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .section-heading { align-items: start; }
  .sample-badge { white-space: nowrap; padding-inline: 7px; font-size: 10px; }
  .download-grid { grid-template-columns: minmax(0, 1fr); padding-bottom: 22px; }
  .subpage-heading { padding-bottom: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content, .subpage-heading, .hero-prism, .hero-badge, .hero-stamp, .hero-badge b, .nav-links.is-open, .release-card[open] .release-copy, .chart-tooltip:not([hidden]), .timeline { animation: none; }
  .button:hover, .button:active, .button:hover .icon, .skill-row:hover .effect-icon { translate: none; scale: none; }
  .lit-surface::after { display: none; }
}
