:root {
  color-scheme: dark;
  --bg: #090909;
  --panel: #12110f;
  --panel-2: #1a1814;
  --ink: #f8f2e8;
  --muted: #a9a097;
  --line: rgba(248, 242, 232, .15);
  --gold: #f5c75e;
  --cyan: #8be7ff;
  --red: #e65454;
  --shadow: rgba(0, 0, 0, .48);
  --gutter: clamp(18px, 5vw, 76px);
  font-family: "PingFang SC", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(230, 84, 84, .14), transparent 34%),
    linear-gradient(180deg, #090909 0%, #12100d 48%, #080808 100%);
}
body.is-modal-open { overflow: hidden; }
a { color: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 62px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid rgba(248, 242, 232, .11);
  background: rgba(9, 9, 9, .72);
  backdrop-filter: blur(18px);
}
.brand {
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
}
.brand span { margin-left: 4px; color: var(--gold); }
.character-links {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 17, 15, .64);
}
.character-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 6px;
  padding: 0 10px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 900;
}
.character-links a:hover,
.character-links a.is-active {
  color: #15100a;
  background: var(--gold);
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  overflow-x: auto;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
}
nav a:hover { color: var(--gold); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(320px, .8fr);
  align-items: end;
  min-height: 94svh;
  padding: 104px var(--gutter) 52px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .72) 42%, rgba(9, 9, 9, .18) 100%),
    url("https://r.res.easebar.com/pic/20241120/b47c5dda-3247-4382-9456-3bf49fd1b0db.png") center / cover no-repeat;
  opacity: .48;
  transform: scale(1.03);
}
.hero::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero__copy,
.hero__visual { position: relative; z-index: 1; }
.theme-thing {
  --gold: #f0a044;
  --cyan: #89ddff;
  --panel: #12100d;
  --panel-2: #1a140f;
}
.theme-thing .hero::before {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .94) 0%, rgba(9, 9, 9, .7) 45%, rgba(9, 9, 9, .28) 100%),
    url("https://r.res.easebar.com/pic/20250220/261a61b9-9a10-4b4e-b929-1ab26bf7635e.png") center / cover no-repeat;
  opacity: .58;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(72px, 14vw, 190px);
  line-height: .82;
  letter-spacing: 0;
}
.real-name {
  margin: 14px 0 0;
  color: var(--cyan);
  font-size: clamp(20px, 2.7vw, 34px);
  font-weight: 850;
}
.hero__summary {
  max-width: 620px;
  margin: 26px 0 0;
  color: #dfd6ca;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 16px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}
.primary-action { color: #140d04; background: var(--gold); }
.secondary-action {
  border: 1px solid rgba(248, 242, 232, .25);
  color: var(--ink);
  background: rgba(18, 17, 15, .56);
}
.hero__visual {
  display: grid;
  justify-items: center;
  gap: 20px;
  min-width: 0;
}
.hero__visual img {
  width: min(440px, 86vw);
  max-height: 74svh;
  object-fit: contain;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, .66));
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(620px, 100%);
  border: 1px solid rgba(248, 242, 232, .16);
  background: rgba(12, 12, 11, .78);
  backdrop-filter: blur(16px);
}
.stat-strip span {
  min-width: 0;
  padding: 12px 14px;
  border-left: 1px solid rgba(248, 242, 232, .12);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.stat-strip span:first-child { border-left: 0; }
.stat-strip b {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 11px;
}

.section {
  padding: 84px var(--gutter) 0;
  scroll-margin-top: 70px;
}
.section--intro {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(260px, .55fr);
  gap: 44px;
  align-items: end;
  padding-top: 76px;
}
.section-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font: 900 12px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}
h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(34px, 6vw, 82px);
  line-height: .94;
  letter-spacing: 0;
}
.section--intro p,
.counter-layout p,
.timeline p,
.skill-list p,
.combo-card p {
  color: var(--muted);
  line-height: 1.72;
}
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin-bottom: 24px;
}

.segmented {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 17, 15, .7);
}
.segmented button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}
.segmented button:hover,
.segmented button.is-active {
  color: #15100a;
  background: var(--gold);
}

.combo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.combo-card {
  display: grid;
  gap: 16px;
  min-height: 250px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(245, 199, 94, .11), rgba(18, 17, 15, .78) 46%, rgba(139, 231, 255, .07));
  box-shadow: 0 22px 44px rgba(0, 0, 0, .24);
  transition: transform .18s ease, border-color .18s ease, opacity .18s ease;
}
.combo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 199, 94, .54);
}
.combo-card.is-hidden { display: none; }
.combo-card__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.combo-card__head span {
  color: var(--gold);
  font: 900 12px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.combo-card__head strong {
  font-size: 18px;
  letter-spacing: 0;
  text-align: right;
}
.combo-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.combo-line button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  column-gap: 8px;
  row-gap: 6px;
  min-height: 80px;
  min-width: 118px;
  border: 1px solid rgba(248, 242, 232, .19);
  border-radius: 8px;
  padding: 10px 11px;
  color: var(--ink);
  background: rgba(8, 8, 8, .58);
  font-family: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}
.combo-line button:hover,
.combo-line button.is-lit {
  color: #140d04;
  background: var(--gold);
  transform: translateY(-1px);
}
.combo-line button:hover img,
.combo-line button.is-lit img { filter: none; }
.combo-line img {
  grid-row: 1;
  grid-column: 1;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .36));
}
.input-mark {
  display: inline-grid;
  place-items: center;
  color: var(--gold);
  line-height: 1;
}
.combo-line .input-mark {
  grid-row: 1;
  grid-column: 2;
}
.input-mark--key {
  min-width: 50px;
  font: 900 26px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.input-mark--passive {
  font-size: 17px;
}
.mouse-icon {
  position: relative;
  display: block;
  width: 34px;
  height: 48px;
  border: 2px solid currentColor;
  border-radius: 16px 16px 18px 18px;
  background: rgba(245, 199, 94, .08);
}
.mouse-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  width: 2px;
  height: 15px;
  background: currentColor;
  transform: translateX(-50%);
  opacity: .7;
}
.mouse-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 20px;
  height: 2px;
  background: currentColor;
  opacity: .5;
}
.mouse-icon i {
  position: absolute;
  top: 5px;
  width: 11px;
  height: 14px;
  border-radius: 9px 9px 4px 4px;
  background: currentColor;
}
.input-mark--left .mouse-icon i { left: 6px; }
.input-mark--right .mouse-icon i { right: 6px; }
.action-key {
  color: var(--gold);
  font: 900 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  line-height: 1;
}
.combo-line button:hover .input-mark,
.combo-line button.is-lit .input-mark { color: #4d3204; }
.action-name {
  grid-column: 1 / 3;
  grid-row: 2;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}
.combo-line i {
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.combo-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(248, 242, 232, .12);
  border-radius: 8px;
}
.combo-card dl div {
  min-width: 0;
  padding: 10px;
  background: rgba(8, 8, 8, .32);
}
.combo-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.combo-card dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.ability-lab {
  display: grid;
  grid-template-columns: minmax(280px, .84fr) minmax(320px, .66fr);
  gap: 16px;
  margin-bottom: 18px;
}
.ability-keys {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ability-key {
  display: grid;
  grid-template-columns: minmax(74px, 1fr) 48px;
  grid-template-rows: auto auto;
  align-items: end;
  gap: 10px;
  min-height: 118px;
  border: 1px solid rgba(248, 242, 232, .16);
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  background: rgba(18, 17, 15, .72);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.ability-key:hover,
.ability-key.is-active {
  transform: translateY(-2px);
  border-color: rgba(245, 199, 94, .56);
  background: linear-gradient(135deg, rgba(245, 199, 94, .18), rgba(18, 17, 15, .82));
}
.ability-key__key {
  align-self: start;
  color: var(--gold);
  overflow-wrap: anywhere;
  font: 900 clamp(26px, 3.6vw, 46px) ui-monospace, SFMono-Regular, Menlo, monospace;
  line-height: .94;
}
.ability-key__key.input-mark--mouse {
  justify-self: start;
  font-size: 0;
}
.ability-key__key .mouse-icon {
  width: 44px;
  height: 62px;
  border-radius: 20px 20px 22px 22px;
}
.ability-key__key .mouse-icon i {
  width: 14px;
  height: 18px;
}
.ability-key__key.input-mark--left .mouse-icon i { left: 8px; }
.ability-key__key.input-mark--right .mouse-icon i { right: 8px; }
.ability-key img {
  grid-row: 1 / 3;
  grid-column: 2;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.ability-key > span:last-child {
  grid-column: 1 / 3;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.ability-preview {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 250px;
  border: 1px solid rgba(248, 242, 232, .16);
  border-radius: 8px;
  overflow: hidden;
  background: #0e0d0c;
}
.ability-preview__media,
.ability-modal__media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(245, 199, 94, .18), transparent 34%),
    linear-gradient(135deg, rgba(139, 231, 255, .12), rgba(230, 84, 84, .1));
}
.ability-preview__media img,
.ability-modal__media img {
  position: relative;
  z-index: 2;
  width: min(86px, 42%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .5));
}
.motion-slash,
.motion-disc {
  position: absolute;
  pointer-events: none;
}
.motion-slash {
  width: 160px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(245, 199, 94, .96), transparent);
  transform: rotate(-28deg);
  animation: slash-preview 1.9s ease-in-out infinite;
}
.motion-disc {
  width: 130px;
  height: 130px;
  border: 2px solid rgba(139, 231, 255, .46);
  border-radius: 50%;
  opacity: .55;
  animation: disc-preview 2.6s ease-in-out infinite;
}
[data-preview-motion="magik-slash"] .motion-disc,
[data-modal-motion="magik-slash"] .motion-disc,
[data-preview-motion="eldritch-whirl"] .motion-slash,
[data-modal-motion="eldritch-whirl"] .motion-slash,
[data-preview-motion="limbos-might"] .motion-slash,
[data-modal-motion="limbos-might"] .motion-slash { opacity: 0; }
[data-preview-motion="stepping-discs"] .motion-disc,
[data-modal-motion="stepping-discs"] .motion-disc,
[data-preview-motion="eldritch-whirl"] .motion-disc,
[data-modal-motion="eldritch-whirl"] .motion-disc {
  border-color: rgba(139, 231, 255, .7);
  animation-duration: 1.7s;
}
[data-preview-motion="umbral-incursion"] .motion-slash,
[data-modal-motion="umbral-incursion"] .motion-slash {
  animation-name: dash-preview;
}
[data-preview-motion="darkchild"] .motion-slash,
[data-modal-motion="darkchild"] .motion-slash,
[data-preview-motion="demons-rage"] .motion-slash,
[data-modal-motion="demons-rage"] .motion-slash {
  background: linear-gradient(90deg, transparent, rgba(230, 84, 84, .96), transparent);
}
[data-preview-motion="limbos-might"] .motion-disc,
[data-modal-motion="limbos-might"] .motion-disc {
  border-color: rgba(245, 199, 94, .78);
  animation-name: shield-preview;
}
[data-preview-motion^="thing-"] .motion-slash,
[data-modal-motion^="thing-"] .motion-slash {
  height: 18px;
  background: linear-gradient(90deg, transparent, rgba(240, 160, 68, .96), transparent);
  animation-name: impact-preview;
}
[data-preview-motion^="thing-"] .motion-disc,
[data-modal-motion^="thing-"] .motion-disc {
  border-color: rgba(240, 160, 68, .58);
  animation-name: rubble-preview;
}
[data-preview-motion="thing-embattled-leap"] .motion-slash,
[data-modal-motion="thing-embattled-leap"] .motion-slash,
[data-preview-motion="thing-two-in-one"] .motion-slash,
[data-modal-motion="thing-two-in-one"] .motion-slash {
  animation-name: drop-preview;
}
.ability-preview__copy,
.ability-modal__copy {
  min-width: 0;
  padding: 22px;
}
.ability-preview__copy > span,
.ability-modal__copy > span {
  color: var(--cyan);
  font: 900 12px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.ability-preview h3 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
}
.ability-preview p,
.ability-modal p {
  color: var(--muted);
  line-height: 1.68;
}
.ability-preview dl,
.ability-modal dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0 0;
  border: 1px solid rgba(248, 242, 232, .13);
  border-radius: 8px;
  overflow: hidden;
}
.ability-preview dl div,
.ability-modal dl div {
  min-width: 0;
  padding: 10px;
  background: rgba(8, 8, 8, .28);
}
.ability-preview dt,
.ability-modal dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.ability-preview dd,
.ability-modal dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.skill-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.skill-list article {
  min-height: 180px;
  padding: 20px;
  background: var(--panel);
}
.skill-list span {
  color: var(--cyan);
  font: 900 12px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.skill-list h3 {
  margin: 9px 0 0;
  font-size: 24px;
}

.teamup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.teamup-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(245, 199, 94, .1), rgba(18, 17, 15, .78) 48%, rgba(139, 231, 255, .06));
}
.teamup-card__head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}
.teamup-card__head img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.teamup-card__head span {
  color: var(--cyan);
  font: 900 12px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.teamup-card__head h3 {
  margin: 4px 0 0;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}
.teamup-card__head button {
  min-width: 62px;
  min-height: 48px;
  border: 1px solid rgba(248, 242, 232, .18);
  border-radius: 8px;
  padding: 0 12px;
  color: #15100a;
  background: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}
.teamup-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.72;
}
.teamup-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.teamup-flow span {
  min-height: 32px;
  border: 1px solid rgba(248, 242, 232, .14);
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(8, 8, 8, .34);
  font-size: 12px;
  font-weight: 850;
}
.teamup-flow i {
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}
.timeline article {
  min-height: 250px;
  padding: 22px 18px;
  background: #0e0d0c;
}
.timeline span {
  color: var(--gold);
  font: 900 12px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.timeline h3 {
  margin: 68px 0 0;
  font-size: 32px;
}

.counter-band {
  padding-bottom: 40px;
}
.counter-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.counter-layout article {
  padding: 24px;
  background: var(--panel-2);
}
.counter-layout h3 {
  margin: 0;
  font-size: 30px;
}
ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #d8d0c5;
  line-height: 1.75;
}

.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  padding: 24px var(--gutter) 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.sources span {
  color: var(--gold);
  font-weight: 900;
}
.sources a {
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 199, 94, .35);
}
.sources a:hover { color: var(--gold); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ability-modal[hidden] { display: none; }
.ability-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
}
.ability-modal__scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .68);
  backdrop-filter: blur(12px);
  cursor: pointer;
}
.ability-modal__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, .56fr) minmax(320px, .84fr);
  width: min(920px, 100%);
  max-height: min(680px, calc(100svh - 44px));
  overflow: auto;
  border: 1px solid rgba(248, 242, 232, .18);
  border-radius: 8px;
  background: #0e0d0c;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .58);
}
.ability-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  min-height: 34px;
  border: 1px solid rgba(248, 242, 232, .18);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(8, 8, 8, .72);
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}
.ability-modal h2 {
  margin-top: 10px;
  font-size: clamp(36px, 6vw, 70px);
}

@keyframes slash-preview {
  0%, 100% { opacity: .18; transform: translateX(-38px) rotate(-28deg) scaleX(.74); }
  46% { opacity: .95; transform: translateX(38px) rotate(-28deg) scaleX(1.08); }
}

@keyframes disc-preview {
  0%, 100% { opacity: .18; transform: scale(.74) rotate(0deg); }
  50% { opacity: .7; transform: scale(1.08) rotate(96deg); }
}

@keyframes dash-preview {
  0%, 100% { opacity: .16; transform: translateX(-58px) rotate(0deg) scaleX(.6); }
  46% { opacity: .95; transform: translateX(58px) rotate(0deg) scaleX(1.2); }
}

@keyframes shield-preview {
  0%, 100% { opacity: .2; transform: scale(.82); }
  50% { opacity: .82; transform: scale(1.14); }
}

@keyframes impact-preview {
  0%, 100% { opacity: .14; transform: translateX(-42px) rotate(-10deg) scaleX(.66); }
  42% { opacity: .94; transform: translateX(42px) rotate(-10deg) scaleX(1.18); }
}

@keyframes rubble-preview {
  0%, 100% { opacity: .18; transform: scale(.72); }
  46% { opacity: .72; transform: scale(1.12); }
}

@keyframes drop-preview {
  0%, 100% { opacity: .15; transform: translateY(-48px) rotate(90deg) scaleX(.64); }
  50% { opacity: .95; transform: translateY(44px) rotate(90deg) scaleX(1.1); }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 46px;
  }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(9, 9, 9, .78), rgba(9, 9, 9, .9)),
      url("https://r.res.easebar.com/pic/20241120/b47c5dda-3247-4382-9456-3bf49fd1b0db.png") center / cover no-repeat;
  }
  .hero__visual {
    margin-top: 28px;
    justify-items: start;
  }
  .hero__visual img {
    width: min(360px, 92vw);
    max-height: 420px;
  }
  .stat-strip,
  .section--intro,
  .combo-grid,
  .ability-lab,
  .skill-list,
  .teamup-grid,
  .timeline,
  .counter-layout {
    grid-template-columns: 1fr;
  }
  .ability-preview,
  .ability-modal__panel {
    grid-template-columns: 1fr;
  }
  .ability-preview__media,
  .ability-modal__media {
    min-height: 220px;
  }
  .stat-strip span {
    border-left: 0;
    border-top: 1px solid rgba(248, 242, 232, .12);
  }
  .stat-strip span:first-child { border-top: 0; }
  .section__head {
    align-items: start;
    flex-direction: column;
  }
  .segmented { width: 100%; overflow-x: auto; }
  .segmented button { flex: 1 0 auto; }
  .timeline h3 { margin-top: 28px; }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .character-links { width: 100%; overflow-x: auto; }
  .character-links a { flex: 1 0 auto; justify-content: center; }
  h1 { font-size: clamp(68px, 28vw, 120px); }
  h2 { font-size: clamp(34px, 13vw, 58px); }
  .ability-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teamup-card__head { grid-template-columns: 50px minmax(0, 1fr); }
  .teamup-card__head button {
    grid-column: 1 / 3;
    width: 100%;
  }
  .ability-preview dl,
  .ability-modal dl { grid-template-columns: 1fr; }
  .combo-card dl { grid-template-columns: 1fr; }
  .combo-line button {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 76px;
    min-width: 104px;
    font-size: 12px;
  }
  .combo-line img {
    width: 34px;
    height: 34px;
  }
  .combo-line .mouse-icon {
    width: 30px;
    height: 42px;
  }
  .combo-line .input-mark--key { font-size: 21px; }
  .action-name { font-size: 11px; }
}
