@import url("./bundled-fonts.fa37c4deab5c.css?v=20260616-2");

:root {
  --bg: #020a15;
  --bg-deep: #01050d;
  --panel: rgba(7, 23, 43, 0.88);
  --panel-strong: rgba(6, 20, 39, 0.96);
  --line: rgba(103, 199, 255, 0.28);
  --line-bright: rgba(118, 220, 255, 0.7);
  --cyan: #61d7ff;
  --cyan-soft: #b9f2ff;
  --blue: #3d8cff;
  --violet: #9b63ff;
  --text: #eef9ff;
  --text-soft: #b5c9da;
  --muted: #728ba0;
  --green: #59e88b;
  --red: #ff5d6c;
  --gold: #ffd36a;
  --radius: 12px;
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.38);
  color-scheme: dark;
  font-family:
    Inter, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, rgba(48, 122, 195, 0.24), transparent 40%),
    radial-gradient(circle at 8% 28%, rgba(52, 110, 190, 0.13), transparent 24%),
    radial-gradient(circle at 92% 42%, rgba(82, 57, 177, 0.12), transparent 24%),
    linear-gradient(180deg, #020814 0%, #030c18 44%, #01060d 100%);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(77, 170, 232, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 170, 232, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

@keyframes ccPulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

@keyframes ccGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(92, 200, 255, 0.5));
  }

  50% {
    filter: drop-shadow(0 0 12px rgba(92, 200, 255, 0.9));
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
}

.crystal-edge {
  position: fixed;
  z-index: -1;
  width: 120px;
  height: 100vh;
  opacity: 0.42;
  pointer-events: none;
  filter: drop-shadow(0 0 22px rgba(63, 199, 255, 0.45));
}

.crystal-edge::before,
.crystal-edge::after {
  position: absolute;
  content: "";
  background:
    linear-gradient(135deg, rgba(222, 252, 255, 0.82), rgba(58, 160, 255, 0.1) 48%),
    linear-gradient(45deg, #186cc1, #7fdcff);
  clip-path: polygon(45% 0, 100% 38%, 64% 100%, 0 68%);
}

.crystal-edge::before {
  top: 4%;
  width: 90px;
  height: 280px;
}

.crystal-edge::after {
  bottom: 0;
  width: 118px;
  height: 360px;
}

.crystal-edge--left {
  left: 0;
}

.crystal-edge--right {
  right: 0;
  transform: scaleX(-1);
}

.site-header {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 22px 32px 0;
  border-bottom: 1px solid rgba(120, 160, 220, 0.16);
  background: #0d1729;
  box-shadow: none;
}

.site-header::before {
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  letter-spacing: 0.1em;
}

.brand__gem-link,
.brand__text {
  display: inline-flex;
}

.brand__text {
  flex-direction: column;
}

.brand strong {
  display: block;
  color: #f2f7ff;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: #6f8aae;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.brand__gem,
.section-gem,
.empty-state__gem,
.success-panel__gem {
  display: inline-block;
  width: 30px;
  height: 42px;
  background:
    linear-gradient(135deg, rgba(231, 253, 255, 0.95), rgba(81, 187, 255, 0.32) 45%),
    #1476d1;
  box-shadow:
    0 0 18px rgba(82, 199, 255, 0.8),
    inset 0 0 12px rgba(255, 255, 255, 0.6);
  clip-path: polygon(50% 0, 93% 30%, 72% 82%, 50% 100%, 28% 82%, 7% 30%);
}

.brand__gem {
  width: 24px;
  height: 32px;
  box-shadow: 0 0 8px rgba(92, 200, 255, 0.55);
  animation: ccGlow 4s ease-in-out infinite;
}

.header-live-status {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(620px, 54vw);
  padding: 9px 18px;
  border: 1px solid rgba(92, 200, 255, 0.16);
  border-radius: 999px;
  background: rgba(92, 200, 255, 0.06);
  white-space: nowrap;
}

.header-live-status__marker {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: ccPulse 1.8s infinite;
}

.header-live-status__label {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.header-live-status__text {
  overflow: hidden;
  color: #9fb3d4;
  font-size: 0.78rem;
  text-overflow: ellipsis;
}

.header-live-status__freshness {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  color: #6f8aae;
  font-size: 0.68rem;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.header-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(92, 200, 255, 0.18);
  border-radius: 999px;
  background: rgba(92, 200, 255, 0.06);
  color: #9fb3d4;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.header-share-link:hover {
  border-color: rgba(92, 200, 255, 0.48);
  background: rgba(92, 200, 255, 0.12);
  color: var(--cyan-soft);
  box-shadow: 0 0 18px rgba(92, 200, 255, 0.16);
}

.header-share-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.language-switch {
  margin: 0;
}

.language-switch label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.language-switch span {
  color: #6f8aae;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.language-switch select {
  height: 40px;
  min-width: 112px;
  padding: 0 32px 0 12px;
  border: 1px solid rgba(120, 160, 220, 0.14);
  border-radius: 999px;
  outline: 0;
  color: #dceaff;
  background: #111d31;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.language-switch select option {
  color: #dceaff;
  background: #111d31;
}

.home-body {
  color: #f2f7ff;
  background: #0b1322;
  font-family:
    "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Noto Sans JP",
    system-ui, sans-serif;
}

.home-body::before {
  display: none;
}

.content-timeline-body {
  color: #f2f7ff;
  background: #0b1322;
  font-family:
    "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Noto Sans JP",
    system-ui, sans-serif;
}

.content-timeline-body::before {
  display: none;
}

.home-body .page-shell {
  width: 100%;
  max-width: none;
}

.content-timeline-body .page-shell {
  width: 100%;
  max-width: none;
}

.content-timeline-body .page-shell::before,
.content-timeline-body .page-shell::after {
  display: none;
}

.home-body .crystal-edge {
  display: none;
}

.content-timeline-body .crystal-edge {
  display: none;
}

.detail-body {
  color: #f2f7ff;
  background: #0b1322;
  font-family:
    "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Noto Sans JP",
    system-ui, sans-serif;
}

.detail-body::before {
  display: none;
}

.detail-body .page-shell {
  width: 100%;
  max-width: none;
}

.detail-body .crystal-edge {
  display: none;
}

.detail-body .site-header {
  min-height: 0;
  padding: 22px 32px 0;
  border-bottom-color: rgba(120, 160, 220, 0.16);
  background: #0d1729;
  box-shadow: none;
}

.home-body .site-header {
  min-height: 0;
  padding: 22px 32px 0;
  border-bottom-color: rgba(120, 160, 220, 0.16);
  background: #0d1729;
  box-shadow: none;
}

.content-timeline-body .site-header {
  min-height: 0;
  padding: 22px 32px 0;
  border-bottom-color: rgba(120, 160, 220, 0.16);
  background: #0d1729;
  box-shadow: none;
}

.home-body .site-header::before {
  display: none;
}

.content-timeline-body .site-header::before {
  display: none;
}

.home-body .brand {
  gap: 15px;
  letter-spacing: 0.1em;
}

.home-body .brand__gem {
  width: 24px;
  height: 32px;
  box-shadow: 0 0 8px rgba(92, 200, 255, 0.55);
  animation: ccGlow 4s ease-in-out infinite;
}

.home-body .brand strong {
  color: #f2f7ff;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
}

.home-body .brand small {
  margin-top: 4px;
  color: #6f8aae;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.home-body .header-live-status {
  flex: none;
  gap: 14px;
  max-width: min(620px, 54vw);
  padding: 9px 18px;
  border-color: rgba(92, 200, 255, 0.16);
  background: rgba(92, 200, 255, 0.06);
}

.home-body .header-live-status__marker {
  width: 8px;
  height: 8px;
  box-shadow: 0 0 8px var(--green);
}

.home-body .header-live-status__label {
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.home-body .header-live-status__text {
  color: #9fb3d4;
  font-size: 12.5px;
}

.home-body .header-live-status__freshness {
  color: #6f8aae;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.home-body .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
  padding: 20px 32px 28px;
  border-top: 1px solid rgba(120, 160, 220, 0.1);
  color: #8295b1;
  font-size: 12px;
}

.home-body .site-footer__links {
  display: flex;
  gap: 22px;
}

.home-body .site-footer > a {
  color: #7f93b3;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.home-body .site-footer p {
  flex: 0 0 100%;
  margin: 0;
  padding-top: 18px;
  border-top: 0;
  color: #5a6b86;
  font-size: 11.5px;
  text-align: center;
}

.site-nav-row {
  display: flex;
  flex: 0 0 calc(100% + 64px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 18px -32px 0;
  padding: 0 32px;
  background: #0d1729;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  min-width: 0;
}

.site-nav a {
  position: relative;
  padding: 16px 2px;
  color: #8295b1;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--cyan-soft);
}

.site-nav a::after {
  position: absolute;
  right: 50%;
  bottom: -1px;
  left: 50%;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  content: "";
  transition: right 0.2s ease, left 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  right: 0;
  left: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 25, 45, 0.8);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--cyan-soft);
}

.page-intro h1 {
  margin: 6px 0 12px;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.3;
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.content-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(22, 59, 94, 0.14), transparent 36%),
    var(--panel);
  box-shadow: var(--shadow), inset 0 0 30px rgba(50, 160, 235, 0.03);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 22px 24px 16px;
}

.section-heading__side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.section-heading h2,
.card-heading h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 3px 0 0;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 1.42rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.section-gem {
  width: 16px;
  height: 24px;
}

.freshness {
  color: var(--muted);
  font-size: 0.8rem;
}

.freshness i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.streaming-section {
  margin-top: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, #0d1729 0, #0b1322 100%);
  box-shadow: none;
}

.section-heading--streaming {
  align-items: flex-start;
  padding: 30px 32px 20px;
}

.stream-carousel {
  position: relative;
  padding: 0 32px 8px;
}

.stream-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-color: rgba(120, 160, 220, 0.35) transparent;
  scrollbar-width: thin;
}

.stream-carousel__viewport::-webkit-scrollbar {
  height: 8px;
}

.stream-carousel__viewport::-webkit-scrollbar-track {
  background: transparent;
}

.stream-carousel__viewport::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(120, 160, 220, 0.28);
}

.stream-carousel__viewport::-webkit-scrollbar-thumb:hover {
  background: rgba(120, 160, 220, 0.5);
}

.stream-grid {
  display: flex;
  gap: 14px;
  padding: 0 0 14px;
}

.stream-card {
  flex: 0 0 298px;
  width: 298px;
  overflow: hidden;
  border: 1px solid rgba(120, 160, 220, 0.12);
  border-radius: 11px;
  background: #0d1729;
}

.stream-card__thumbnail {
  position: relative;
  display: block;
  height: 148px;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      #16223a,
      #16223a 11px,
      #101a2e 11px,
      #101a2e 22px
    );
}

.stream-card__thumbnail::after {
  content: none;
}

.stream-card__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stream-card__thumbnail-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  pointer-events: none;
}

.stream-card__elapsed {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 5px;
  color: #cdd9ee;
  background: rgba(0, 0, 0, 0.55);
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.stream-card__body {
  min-width: 0;
  padding: 13px 15px 15px;
}

.stream-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  font-family: system-ui, sans-serif;
}

.stream-card h3 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family:
    "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Noto Sans JP",
    system-ui, sans-serif;
  font-size: 15.5px;
  font-weight: 700;
}

.stream-card h3 a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stream-card h3 a:hover {
  color: var(--cyan);
}

.stream-card__title {
  margin: 0;
}

.stream-card__footer > span {
  color: #7f93b3;
  font-size: 11px;
}

.stream-card__footer > span {
  line-height: 1.2;
}

.stream-card__footer .button--twitch {
  min-height: 0;
  padding: 6px 12px;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  background: #9146ff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.stream-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 0;
}

.stream-card__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 17px;
  padding: 1px 6px;
  border: 1px solid rgba(120, 160, 220, 0.24);
  border-radius: 5px;
  color: #9fb3d4;
  background: transparent;
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}

.stream-card__meta-rank {
  color: #cdd9ee;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.stream-card__meta-item.season-rank--gold {
  border-color: rgba(255, 215, 106, 0.48);
  color: #ffd76a;
}

.stream-card__meta-item.season-rank--silver {
  border-color: rgba(190, 215, 255, 0.46);
  color: #dbe8ff;
}

.stream-card__meta-item.season-rank--gold .stream-card__meta-rank,
.stream-card__meta-item.season-rank--silver .stream-card__meta-rank {
  color: currentColor;
}

.stream-card__identity-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.stream-card__title {
  margin: 11px 0 0;
  overflow: hidden;
  color: #8295b1;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stream-card .job-list {
  justify-content: flex-start;
  gap: 6px;
  margin-top: 10px;
  margin-bottom: 0;
}

.stream-card__jobs {
  max-width: 100%;
}

.stream-card .job-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 2px 9px;
  border-radius: 5px;
  background: var(--job-color);
  color: #ffffff;
  font-family:
    "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Noto Sans JP",
    system-ui, sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  line-height: normal;
  text-shadow: none;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  color: #ff6b6b;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: none;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.live-badge::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4d4d;
  content: "";
}

.job-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.job-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--job-color);
  font-size: 0.73rem;
  font-weight: 800;
}

.job-chip--vpr {
  --job-color: #2faa6b !important;
}

.job-chip--nin {
  --job-color: #c0455f !important;
}

.job-chip--blm {
  --job-color: #9a4fcf !important;
}

.job-chip--rpr {
  --job-color: #bf5384 !important;
}

.job-chip--mnk {
  --job-color: #cf9133 !important;
}

.job-chip--war {
  --job-color: #b23a2f !important;
}

.job-chip--drk {
  --job-color: #a01d2e !important;
}

.job-chip--sam {
  --job-color: #c44d4d !important;
}

.job-chip--sge {
  --job-color: #3e9fb0 !important;
}

.job-chip--whm {
  --job-color: #9f9276 !important;
}

.job-chip i,
.job-orb {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 28px;
  border: 1px solid color-mix(in srgb, var(--job-color), transparent 35%);
  clip-path: polygon(50% 0, 96% 25%, 83% 82%, 50% 100%, 17% 82%, 4% 25%);
  color: white;
  background: color-mix(in srgb, var(--job-color), #071529 72%);
  font-style: normal;
  text-shadow: 0 0 6px var(--job-color);
}

.job-list--large .job-chip {
  padding: 6px 10px 6px 6px;
  border: 1px solid color-mix(in srgb, var(--job-color), transparent 65%);
  border-radius: 8px;
  background: color-mix(in srgb, var(--job-color), transparent 90%);
  font-size: 0.86rem;
}

.character-job-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.button:hover {
  filter: brightness(1.16);
  transform: translateY(-1px);
}

.button--twitch {
  border-color: rgba(199, 151, 255, 0.65);
  color: white;
  background: linear-gradient(135deg, #5130a9, #9148de);
}

.button--x {
  border-color: rgba(255, 255, 255, 0.18);
  color: white;
  background: linear-gradient(135deg, #05070b, #242a35);
}

.button--youtube {
  border-color: rgba(255, 0, 51, 0.55);
  color: white;
  background: linear-gradient(135deg, #cc0000, #ff0033);
}

.button--primary {
  border-color: rgba(120, 226, 255, 0.7);
  color: white;
  background: linear-gradient(135deg, #176ed1, #6945db);
  box-shadow: 0 0 18px rgba(57, 158, 255, 0.18);
}

.button--ghost {
  border-color: var(--line);
  color: var(--text-soft);
  background: rgba(8, 27, 50, 0.72);
}

.button--large {
  width: 100%;
  min-height: 52px;
  font-size: 0.92rem;
}

.home-page .ranking-section {
  overflow: hidden;
  margin-top: 0;
  border-bottom: 1px solid rgba(120, 160, 220, 0.1);
  border-radius: 0;
  background:
    linear-gradient(180deg, #0d1729 0, #0b1322 190px, #0b1322 100%);
}

.section-heading--ranking {
  align-items: flex-end;
  padding: 30px 32px 20px;
}

.home-page .section-heading--ranking .eyebrow {
  color: #5c87cf;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.home-page .section-heading--ranking h2 {
  display: block;
  margin-top: 6px;
  color: #f2f7ff;
  font-family:
    "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Noto Sans JP",
    system-ui, sans-serif;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
}

.home-page .section-heading--ranking .section-gem {
  display: none;
}

.ranking-fetched-at {
  display: block;
  margin: 8px 0 0;
  color: #6f8aae;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 400;
}

.ranking-count {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.ranking-heading-actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
}

.region-switch label {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 6px;
  min-width: 132px;
  color: var(--muted);
}

.region-switch span {
  color: #7f93b3;
  font-size: 11px;
  font-weight: 500;
}

.region-switch select {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(120, 160, 220, 0.14);
  border-radius: 10px;
  outline: 0;
  color: #dceaff;
  background: #111d31;
  font-size: 13px;
}

.ranking-count strong {
  color: rgb(92, 200, 255);
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  opacity: 1;
  text-shadow: 0 0 18px rgba(92, 200, 255, 0.55);
}

.ranking-count small {
  color: #7c8caa;
  font-size: 13px;
}

.filter-bar {
  --filter-control-width: 180px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  padding: 0 32px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.filter-bar label {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: var(--filter-control-width);
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
}

.filter-bar label > span {
  flex: 0 0 auto;
  color: #7f93b3;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.filter-bar select {
  width: 100%;
  min-width: 0;
  height: 45px;
  padding: 0 14px;
  border: 1px solid rgba(120, 160, 220, 0.14);
  border-radius: 10px;
  outline: 0;
  color: #dceaff;
  background: #111d31;
  font-size: 13.5px;
}

.filter-bar > .button {
  flex: 0 0 108px;
  width: auto;
  min-width: 0;
  min-height: 45px;
  padding: 12px 22px;
  align-self: end;
  border: 0;
  color: #06223a;
  background: rgb(92, 200, 255);
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  opacity: 1;
}

.home-body .filter-bar > .filter-bar__reset {
  margin-left: auto;
}

.analytics-section {
  padding-bottom: 28px;
}

.analytics-limit-tabs {
  display: flex;
  gap: 8px;
  padding: 0 32px 18px;
}

.analytics-limit-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  height: 40px;
  border: 1px solid rgba(120, 160, 220, 0.16);
  border-radius: 8px;
  color: #9fb2d2;
  background: #111d31;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.analytics-limit-tab.is-active {
  border-color: rgba(92, 200, 255, 0.55);
  color: #061f35;
  background: rgb(92, 200, 255);
  box-shadow: 0 0 18px rgba(92, 200, 255, 0.22);
}

.analytics-panel {
  margin: 0 16px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.analytics-panel__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 16px 14px;
}

.analytics-panel__heading h3 {
  margin: 4px 0 0;
  color: #f2f7ff;
  font-size: 22px;
  line-height: 1.2;
}

.analytics-panel__heading small {
  color: #7f93b3;
}

.role-share-list {
  display: grid;
  gap: 12px;
  padding: 0 16px 14px;
}

.role-share-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.role-share-row__label strong,
.role-share-row__label small {
  display: block;
}

.role-share-row__label strong {
  color: #e8f2ff;
  font-size: 14px;
}

.role-share-row__label small {
  margin-top: 2px;
  color: #7f93b3;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.role-stack {
  display: flex;
  width: 100%;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(120, 160, 220, 0.16);
  border-radius: 8px;
  background: #0d1729;
}

.role-stack__segment {
  position: relative;
  flex: 0 0 var(--segment-width);
  min-width: 0;
  height: 100%;
  color: #fff;
  background: var(--segment-color);
  text-decoration: none;
}

.role-stack__segment[href]:hover,
.role-stack__segment[href]:focus-visible {
  filter: brightness(1.14);
}

.role-stack__segment span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 0 6px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.role-stack__segment strong,
.role-stack__segment small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.role-stack__segment strong {
  font-size: 11px;
  font-weight: 800;
}

.role-stack__segment small {
  margin-top: 3px;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
}

.role-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  max-width: 620px;
}

.role-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9fb2d2;
  font-size: 12px;
}

.role-legend__item i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--legend-color);
}

.analytics-limit-notes {
  display: grid;
  gap: 4px;
  padding: 0 16px 10px 142px;
  text-align: right;
}

.analytics-limit-notes small {
  display: block;
  color: #8fa2c2;
  font-size: 11.5px;
}

.analytics-table-wrap {
  overflow: auto;
  padding: 0 16px 16px;
}

.job-stack-layout {
  padding: 0 16px 20px;
}

.job-stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(92px, 1fr));
  align-items: end;
  gap: 18px;
  width: min(100%, 1070px);
  margin: 0 auto;
  min-width: 0;
}

.job-stack-column {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.job-stack-column > strong {
  color: #dceaff;
  font-size: 13px;
  text-align: center;
}

.job-stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 1260px;
  overflow: hidden;
  border: 1px solid rgba(120, 160, 220, 0.16);
  border-radius: 8px;
  background: #0d1729;
}

.job-stack__segment {
  position: relative;
  display: flex;
  flex: 0 0 var(--segment-height);
  align-items: center;
  justify-content: center;
  min-height: 1px;
  overflow: hidden;
  color: #f6fbff;
  background: var(--segment-color);
  text-align: center;
  text-decoration: none;
}

.job-stack__segment[href]:hover,
.job-stack__segment[href]:focus-visible {
  z-index: 2;
  outline: 2px solid rgba(255, 255, 255, 0.78);
  outline-offset: -2px;
  filter: brightness(1.12);
}

.job-stack__segment span,
.job-stack__segment small {
  display: block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.job-stack__segment span {
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.job-stack__segment small {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
}

.analytics-table {
  width: 100%;
  min-width: 880px;
  border-spacing: 0;
  color: #dceaff;
}

.analytics-table th,
.analytics-table td {
  border-bottom: 1px solid rgba(120, 160, 220, 0.08);
  padding: 10px 8px;
  text-align: left;
  vertical-align: middle;
}

.analytics-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #7f93b3;
  background: #0b1322;
  font-size: 12px;
  font-weight: 700;
}

.analytics-table thead th:not(:first-child) {
  width: 18%;
}

.analytics-table thead small {
  display: block;
  margin-top: 3px;
  color: #5f728f;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
}

.analytics-role-group th {
  padding-top: 18px;
  color: #9fb2d2;
  background: rgba(17, 29, 49, 0.7);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-role-group span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 7px;
  border-radius: 2px;
  background: var(--role-color);
}

.analytics-job-name {
  display: grid;
  grid-template-columns: 10px minmax(44px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 180px;
}

.analytics-job-name i {
  width: 10px;
  height: 28px;
  border-radius: 2px;
  background: var(--job-color);
  box-shadow: 0 0 12px color-mix(in srgb, var(--job-color), transparent 58%);
}

.analytics-job-name strong {
  color: #f2f7ff;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
}

.analytics-job-name small {
  overflow: hidden;
  color: #8396b6;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-cell-link {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-height: 42px;
  overflow: hidden;
  padding: 7px 9px;
  border: 1px solid rgba(120, 160, 220, 0.1);
  border-radius: 8px;
  color: #dceaff;
  background: #101b2e;
  text-decoration: none;
}

.analytics-cell-link:hover,
.analytics-cell-link:focus-visible {
  border-color: rgba(92, 200, 255, 0.42);
  background: #13233a;
}

.analytics-cell-link.is-empty {
  color: #5f728f;
}

.analytics-cell-link__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar-width);
  background: color-mix(in srgb, var(--bar-color), transparent 72%);
}

.analytics-cell-link strong,
.analytics-cell-link small {
  position: relative;
  z-index: 1;
}

.analytics-cell-link strong {
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
}

.analytics-cell-link small {
  overflow: hidden;
  color: #8396b6;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-detail {
  scroll-margin-top: 18px;
}

.analytics-detail-table-wrap {
  margin: 0;
}

.analytics-detail-table {
  min-width: 720px;
}

@media (max-width: 760px) {
  .analytics-limit-tabs {
    padding-right: 16px;
    padding-left: 16px;
  }

  .analytics-limit-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-share-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .analytics-limit-notes {
    padding-left: 16px;
    text-align: left;
  }

  .role-stack {
    height: 36px;
  }

  .role-stack__segment span {
    padding: 0 4px;
  }

  .role-stack__segment strong {
    font-size: 10px;
  }

  .role-stack__segment small {
    font-size: 9px;
  }

  .analytics-panel__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .role-legend {
    justify-content: flex-start;
    max-width: none;
  }

  .job-stack-grid {
    grid-template-columns: repeat(4, minmax(76px, 1fr));
    gap: 10px;
    overflow-x: auto;
  }

  .job-stack {
    height: 840px;
  }
}

.ranking-table-wrap {
  overflow: auto;
  margin: 0 16px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ranking-table {
  width: 100%;
  min-width: 1248px;
  border-collapse: collapse;
  table-layout: fixed;
}

.ranking-col--rank {
  width: 48px;
}

.ranking-col--rank-change {
  width: 62px;
}

.ranking-col--player {
  width: auto;
  min-width: 190px;
}

.ranking-col--rating {
  width: 104px;
}

.ranking-col--rating-change {
  width: 62px;
}

.ranking-col--wins {
  width: 64px;
}

.ranking-col--jobs {
  width: 200px;
}

.ranking-col--pvp-team {
  width: 178px;
}

.ranking-col--past {
  width: 88px;
}

.ranking-col--older-best {
  width: 150px;
}

.ranking-col--stream {
  width: 104px;
}

.ranking-table th {
  position: relative;
  padding: 0 8px 12px;
  border-bottom: 1px solid rgba(120, 160, 220, 0.16);
  color: #7f93b3;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-align: left;
  white-space: nowrap;
}

.ranking-table th > span {
  display: inline-block;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.ranking-table td {
  overflow: hidden;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(120, 160, 220, 0.08);
  text-overflow: ellipsis;
  vertical-align: middle;
}

.ranking-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.018);
}

.ranking-table tr {
  transition: background 0.18s ease;
}

.ranking-table tbody tr:hover,
.ranking-table tr.is-live:hover {
  background: rgba(92, 200, 255, 0.06);
}

.ranking-table tbody tr[data-row-href] {
  cursor: pointer;
}

.ranking-table tbody tr[data-row-href]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.ranking-table tbody tr[data-row-href] a,
.ranking-table tbody tr[data-row-href] button {
  cursor: auto;
}

.ranking-table tr.is-live {
  background: rgba(79, 211, 138, 0.04);
}

.rank-number {
  display: inline-block;
  min-width: 2ch;
  max-width: none;
  color: #8ea2c4;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.change {
  display: inline-block;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.change--up {
  color: var(--green);
}

.change--down {
  color: var(--red);
}

.player-link {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  gap: 10px;
}

.player-cell__content {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.favorite-button {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(140, 170, 210, 0.45);
  background: transparent;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  transition: color 0.16s ease, transform 0.16s ease;
}

.favorite-button svg {
  display: block;
  width: 16px;
  height: 16px;
  overflow: visible;
}

.favorite-button path {
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.favorite-button:hover,
.favorite-button.is-favorite {
  color: #ffd76a;
  background: transparent;
}

.favorite-button:hover {
  transform: translateY(-1px);
}

.favorite-button.is-favorite path {
  fill: #ffd76a;
}

.favorite-button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.player-link:hover strong {
  color: var(--cyan);
}

.player-link strong {
  overflow: hidden;
  color: #f2f7ff;
  font-family:
    "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Noto Sans JP",
    system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-link small,
.rating + small,
.evidence-label {
  color: var(--muted);
  font-size: 12.5px;
}

.rating {
  display: inline;
  color: #f2f7ff;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 21px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.rating + small {
  margin-left: 5px;
}

.ranking-table .rating-cell {
  text-align: right;
}

.ranking-table .rating-change-cell {
  padding-left: 6px;
  text-align: left;
  white-space: nowrap;
}

.ranking-table .wins-cell {
  text-align: right;
  white-space: nowrap;
}

td.wins-cell span {
  color: #dce8fa;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.wins-cell .muted {
  color: #3a4a63;
}

.ranking-table .rank-cell,
.ranking-table .rank-change-cell,
.ranking-table .rating-change-cell,
.ranking-table .wins-cell {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.ranking-table th.rank-cell,
.ranking-table th.rank-change-cell,
.ranking-table th.rating-change-cell,
.ranking-table th.wins-cell {
  padding-left: 4px;
  padding-right: 4px;
}

.ranking-table .jobs-cell {
  white-space: nowrap;
}

.ranking-table td.jobs-cell {
  overflow: visible;
  text-overflow: clip;
}

.ranking-table .job-list {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 42px);
  vertical-align: middle;
}

.ranking-table .job-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  background: var(--job-color);
  color: #ffffff;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  vertical-align: middle;
  cursor: pointer;
}

.ranking-table .job-chip:hover,
.ranking-table .job-chip:focus-visible {
  box-shadow: 0 0 12px color-mix(in srgb, var(--job-color), transparent 35%);
  filter: brightness(1.08);
  outline: none;
}

.ranking-table .job-chip i {
  display: none;
}

.ranking-table .evidence-label {
  display: inline-block;
  min-width: 32px;
  margin-left: 8px;
  color: #647a96;
  font-size: 10.5px;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}

.ranking-table .past-result-cell {
  width: 100px;
  min-width: 100px;
  text-align: center;
}

.ranking-table .older-best-cell {
  text-align: center;
}

.ranking-table .pvp-team-cell {
  text-align: left;
}

.ranking-table .twitch-cell {
  padding-right: 6px;
  padding-left: 6px;
  text-align: center;
}

.stream-link-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
}

.pvp-team-cell span {
  display: block;
  overflow: hidden;
  color: #9fb3d4;
  font-size: 12.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pvp-team-cell .muted {
  color: #3a4a63;
}

@media (min-width: 761px) and (max-width: 1340px) {
  .home-body .ranking-table {
    min-width: 0;
  }

  .home-body .ranking-col--rank-change,
  .home-body .ranking-col--rating-change,
  .home-body .ranking-col--wins,
  .home-body .ranking-col--pvp-team {
    display: none;
  }

  .home-body .ranking-table .rank-change-cell,
  .home-body .ranking-table .rating-change-cell,
  .home-body .ranking-table .wins-cell,
  .home-body .ranking-table .pvp-team-cell {
    display: none;
  }

  .home-body .ranking-col--player {
    min-width: 220px;
  }

  .home-body .ranking-col--jobs {
    width: 180px;
  }

  .home-body .ranking-col--stream {
    width: 80px;
  }

  .home-body .ranking-table td {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (min-width: 761px) and (max-width: 1060px) {
  .home-body .ranking-col--player {
    min-width: 190px;
  }

  .home-body .ranking-col--jobs {
    width: 162px;
  }

  .home-body .ranking-col--past {
    width: 78px;
  }

  .home-body .ranking-col--older-best {
    width: 132px;
  }

  .home-body .ranking-table .evidence-label {
    margin-left: 5px;
  }
}

.season-rank {
  color: #cdd9ee;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.season-rank--gold {
  color: #ffd76a;
  text-shadow:
    0 0 8px rgba(255, 215, 106, 0.56),
    0 0 18px rgba(255, 184, 74, 0.34);
}

.season-rank--silver {
  color: #dbe8ff;
  text-shadow:
    0 0 8px rgba(190, 215, 255, 0.48),
    0 0 16px rgba(120, 170, 230, 0.28);
}

.live-link {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  gap: 2px;
  min-width: 0;
  white-space: nowrap;
}

.live-link .live-badge {
  min-height: 18px;
  padding: 2px 9px;
  font-size: 0.68rem;
  line-height: 1;
}

.live-link small {
  color: var(--text-soft);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.05;
}

.muted,
.muted-link {
  color: var(--muted);
}

.muted-link:hover {
  color: var(--cyan);
}

.twitch-icon-link,
.youtube-icon-link {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #a970ff;
}

.youtube-icon-link {
  color: #ff5f5f;
}

.twitch-icon-link:hover,
.youtube-icon-link:hover {
  color: #c6a7ff;
}

.youtube-icon-link:hover {
  color: #ff8a8a;
}

.twitch-icon-link svg,
.youtube-icon-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.empty-state {
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 34px;
  color: var(--muted);
  text-align: center;
}

.empty-state__gem {
  width: 24px;
  height: 34px;
  opacity: 0.65;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 28px;
  margin-top: 64px;
  padding: 28px 10px 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.site-footer a:hover {
  color: var(--cyan);
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(103, 199, 255, 0.1);
  text-align: center;
}

/* Player detail */
.detail-page {
  padding-top: 22px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.78rem;
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.player-hero {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(260px, 1fr) 190px 300px;
  gap: 20px;
  align-items: center;
  padding: 26px;
  overflow: hidden;
}

.player-admin-actions {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-data-request {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 0.72rem;
}

.player-rank {
  display: grid;
  place-items: center;
  width: 124px;
  height: 142px;
  background:
    linear-gradient(145deg, rgba(213, 249, 255, 0.8), rgba(31, 126, 230, 0.18) 45%),
    #0c427a;
  clip-path: polygon(50% 0, 91% 18%, 100% 62%, 75% 90%, 50% 100%, 25% 90%, 0 62%, 9% 18%);
  filter: drop-shadow(0 0 18px rgba(68, 186, 255, 0.45));
}

.player-rank span {
  align-self: end;
  font-family: Georgia, serif;
  font-size: 3.4rem;
  line-height: 1;
  text-shadow: 0 0 16px #0c60bc;
}

.player-rank small {
  align-self: start;
  max-width: 90px;
  text-align: center;
}

.player-identity h1 {
  margin: 2px 0 0;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
}

.player-identity > p:not(.eyebrow) {
  margin: 0 0 16px;
  color: var(--text-soft);
}

.same-name-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -4px 0 16px;
}

.same-name-links span {
  color: #6f8aae;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.same-name-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(92, 200, 255, 0.22);
  border-radius: 999px;
  color: #cdd9ee;
  background: rgba(92, 200, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 700;
}

.same-name-links a:hover {
  color: #f2f7ff;
  border-color: rgba(92, 200, 255, 0.46);
  background: rgba(92, 200, 255, 0.12);
}

.alternate-character-links a {
  gap: 6px;
}

.alternate-character-links small {
  color: #8fa4c3;
  font-size: 0.72rem;
}

.player-rating {
  padding: 12px 20px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  text-align: center;
}

.player-rating span,
.player-rating small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.player-rating strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 2.4rem;
  font-weight: 500;
}

.live-panel {
  padding: 15px;
  border: 1px solid rgba(158, 105, 255, 0.48);
  border-radius: 9px;
  background:
    radial-gradient(circle at 80% 10%, rgba(128, 69, 227, 0.22), transparent 38%),
    rgba(14, 18, 48, 0.82);
}

.live-panel > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.live-panel p {
  margin: 10px 0 2px;
  overflow: hidden;
  color: var(--text-soft);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-panel > span {
  display: block;
  margin-bottom: 10px;
  color: #f1b6ff;
  font-size: 0.7rem;
}

.live-panel .button {
  width: 100%;
}

.player-actions {
  display: flex;
  grid-column: 1 / -1;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.character-tabs {
  display: flex;
  gap: 1px;
  margin: 14px 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 13, 27, 0.76);
}

.character-tabs a {
  display: flex;
  min-width: 190px;
  padding: 12px 18px;
  flex-direction: column;
  border-right: 1px solid var(--line);
  color: var(--text-soft);
}

.character-tabs a.is-active {
  color: white;
  background: rgba(39, 137, 205, 0.2);
  box-shadow: inset 0 -2px var(--cyan);
}

.character-tabs small {
  color: var(--muted);
}

.chart-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.chart-card,
.evidence-card,
.results-card {
  padding: 18px;
}

.results-card--wide {
  grid-column: 1 / -1;
}

.content-link-list {
  display: grid;
  gap: 10px;
}

.content-link-item {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid rgba(103, 199, 255, 0.14);
  border-radius: 10px;
  background: rgba(3, 13, 26, 0.36);
  color: var(--text);
}

.content-link-item:hover {
  border-color: rgba(103, 199, 255, 0.42);
  background: rgba(24, 96, 150, 0.16);
}

.content-link-item span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.content-link-item strong {
  font-size: 1rem;
}

.content-link-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.content-link-item small {
  color: var(--text-soft);
  line-height: 1.6;
}

.content-timeline-link {
  min-height: 38px;
  padding-inline: 16px;
}

.content-timeline-page {
  --timeline-width: min(1000px, calc(100vw - 220px));
  --timeline-page-padding: 24px;
  padding: 30px 24px 72px;
  background: #0b1322;
}

.timeline-hero {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0;
}

.timeline-hero h1 {
  margin: 6px 0 8px;
  color: #f4f8ff;
  font-family: "Rajdhani", "Noto Sans JP", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.timeline-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.timeline-filter {
  position: sticky;
  top: 84px;
  z-index: 12;
  width: calc(100% + (var(--timeline-page-padding) * 2));
  max-width: none;
  margin: 0 calc(var(--timeline-page-padding) * -1);
  padding: 0;
  border-bottom: 1px solid rgba(92, 200, 255, 0.12);
  background: rgba(11, 19, 34, 0.86);
  backdrop-filter: blur(10px);
}

.timeline-filter__inner {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: 14px var(--timeline-page-padding);
}

.timeline-filter__controls {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.timeline-filter__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.timeline-filter__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #5cc8ff;
}

.timeline-filter__summary span {
  color: #5cc8ff;
  font-family: "Rajdhani", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.timeline-filter__summary strong {
  color: #6f8aae;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

.timeline-filter__summary strong b {
  color: #cdd9ee;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 700;
}

.timeline-filter__group {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.timeline-filter__label {
  color: #5f718f;
  font-family: "Rajdhani", "Noto Sans JP", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  min-width: 62px;
}

.timeline-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  min-width: 0;
}

.timeline-filter__job-groups {
  display: grid;
  grid-template-columns: max-content 116px 116px minmax(0, 1fr);
  align-items: start;
  gap: 0 10px;
  min-width: 0;
  flex: 1 1 0;
}

.timeline-filter__job-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.timeline-filter__job-row .timeline-filter__chips {
  gap: 5px;
}

.timeline-filter__group--jobs .timeline-filter-chip {
  box-sizing: border-box;
  width: 55px;
  min-width: 55px;
  height: 28px;
  min-height: 28px;
  padding: 0 6px;
  border-radius: 7px;
  font-size: 12px;
  gap: 4px;
}

.timeline-filter__group--jobs .timeline-filter-chip__swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.timeline-filter__job-role {
  color: #7f92b2;
  font-family: "Rajdhani", "Noto Sans JP", sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
}

.timeline-filter__job-row--all .timeline-filter__job-role {
  visibility: hidden;
  min-height: 10.5px;
}

.timeline-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(120, 160, 220, 0.18);
  border-radius: 8px;
  color: #9fb0c8;
  background: rgba(120, 160, 220, 0.05);
  font-family: "Rajdhani", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  user-select: none;
}

.timeline-filter-chip:hover,
.timeline-filter-chip:focus-visible,
.timeline-filter-chip.is-active {
  border-color: rgba(92, 200, 255, 0.55);
  color: #f4f8ff;
  background: rgba(92, 200, 255, 0.16);
}

.timeline-filter-chip--job {
  color: #9fb0c8;
}

.timeline-filter-chip__swatch {
  flex: none;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--filter-accent, var(--job-color, #5cc8ff));
}

.timeline-filter-chip--platform .timeline-filter-chip__swatch {
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

.timeline-filter-chip--job.is-active {
  color: #08121f;
  background: var(--job-color);
  border-color: var(--job-color);
  box-shadow: 0 0 14px color-mix(in srgb, var(--job-color), transparent 55%);
}

.timeline-filter-chip--official,
.timeline-filter-chip--guide,
.timeline-filter-chip--web,
.timeline-filter-chip--lodestone {
  --filter-accent: #5cc8ff;
}

.timeline-filter-chip--analysis,
.timeline-filter-chip--x {
  --filter-accent: #cdd9ee;
}

.timeline-filter-chip--video,
.timeline-filter-chip--youtube {
  --filter-accent: #ff8a96;
}

.timeline-filter-chip--post,
.timeline-filter-chip--twitch {
  --filter-accent: #b07cff;
}

.timeline-filter-chip--tool {
  --filter-accent: #4fd38a;
}

.timeline-filter-chip--other {
  --filter-accent: #e0a94f;
}

.timeline-filter-chip--category.is-active,
.timeline-filter-chip--platform.is-active {
  color: #08121f;
  border-color: var(--filter-accent, #5cc8ff);
  background: var(--filter-accent, #5cc8ff);
  box-shadow: 0 0 14px color-mix(in srgb, var(--filter-accent, #5cc8ff), transparent 55%);
}

.timeline-filter__reset {
  justify-self: end;
  color: #9ad6ff;
  font-family: "Rajdhani", "Noto Sans JP", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.timeline-list {
  position: relative;
  width: var(--timeline-width);
  max-width: none;
  margin: 42px auto 0;
  padding: 4px 0 0;
}

.timeline-list::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 30px;
  width: 2px;
  background: linear-gradient(180deg, rgba(92, 200, 255, 0.45), rgba(92, 200, 255, 0.06));
  content: "";
}

.timeline-group {
  position: relative;
  margin: 26px 0 0;
}

.timeline-group__heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  margin: 0 0 16px 60px;
  padding: 10px 16px;
  border: 1px solid rgba(92, 200, 255, 0.22);
  border-radius: 9px;
  background: rgba(92, 200, 255, 0.16);
}

.timeline-group__heading::before {
  position: absolute;
  top: 50%;
  left: -22px;
  width: 22px;
  height: 2px;
  background: rgba(92, 200, 255, 0.4);
  content: "";
  transform: translateY(-50%);
}

.timeline-patch {
  position: relative;
  display: flex;
  align-items: center;
  margin: 18px 0 14px 60px;
  padding: 10px 16px;
  border: 1px solid rgba(92, 200, 255, 0.26);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(92, 200, 255, 0.18), rgba(92, 200, 255, 0.08));
  box-shadow: 0 0 18px rgba(92, 200, 255, 0.08);
}

.timeline-patch::before {
  position: absolute;
  top: 50%;
  left: -22px;
  width: 22px;
  height: 2px;
  background: rgba(92, 200, 255, 0.45);
  content: "";
  transform: translateY(-50%);
}

.timeline-date-label {
  position: absolute;
  left: -148px;
  width: 94px;
  color: #6f89aa;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: right;
  text-shadow: 0 0 10px rgba(92, 200, 255, 0.16);
  white-space: nowrap;
  pointer-events: none;
}

.timeline-patch > .timeline-date-label {
  top: 50%;
  color: #8eb4d8;
  transform: translateY(-50%);
}

.timeline-card > .timeline-date-label {
  top: 26px;
  color: #7891b3;
  transform: translateY(-50%);
}

.timeline-patch__body {
  position: static;
  display: grid;
  flex: 1 1 auto;
  gap: 4px;
  width: 100%;
  padding-right: 252px;
  min-width: 0;
}

.timeline-patch__label {
  padding-right: 0;
}

.timeline-patch__label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  color: #c8d8f0;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.timeline-patch__label strong {
  color: #9ad6ff;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.timeline-patch__links {
  position: absolute;
  top: 50%;
  right: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  transform: translateY(-50%);
}

.timeline-patch__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 31px;
  padding: 7px 14px;
  border: 1px solid rgba(92, 200, 255, 0.38);
  border-radius: 9px;
  background: rgba(14, 36, 61, 0.72);
  color: #c7efff;
  font-family: "Rajdhani", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.timeline-patch__links a:hover {
  border-color: rgba(92, 200, 255, 0.75);
  background: rgba(23, 75, 118, 0.68);
  color: #ffffff;
}

.timeline-patch__jobs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 6px;
}

.timeline-patch__job-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: #7f93b3;
  font-family: "Rajdhani", "Noto Sans JP", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
}

.timeline-patch__job-icon {
  display: inline-grid;
  width: 16px;
  height: 20px;
  place-items: center;
  font-family: "Rajdhani", "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  -webkit-text-stroke: 0.7px currentColor;
}

.timeline-patch__job-row--buffed .timeline-patch__job-icon {
  color: #57f09b;
  text-shadow: 0 0 8px rgba(87, 240, 155, 0.65);
}

.timeline-patch__job-row--nerfed .timeline-patch__job-icon {
  color: #ff5f78;
  text-shadow: 0 0 8px rgba(255, 95, 120, 0.62);
}

.timeline-patch__job-row--adjusted .timeline-patch__job-icon {
  color: #ffd44d;
  text-shadow: 0 0 8px rgba(255, 212, 77, 0.58);
}

.timeline-patch__job-row .job-list {
  gap: 5px;
}

.timeline-marker {
  position: absolute;
  pointer-events: none;
}

.timeline-marker--patch {
  top: 50%;
  left: -30px;
  width: 15px;
  height: 20px;
  background: linear-gradient(135deg, #bfe9ff, #3a7bd5);
  clip-path: polygon(50% 0, 100% 32%, 73% 100%, 27% 100%, 0 32%);
  filter:
    drop-shadow(0 0 5px rgba(92, 200, 255, 0.5))
    drop-shadow(0 0 12px rgba(92, 200, 255, 0.32));
  transform: translate(-50%, -50%);
}

.timeline-marker--patch::after {
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(92, 200, 255, 0.34), transparent 65%);
  content: "";
  z-index: -1;
}

.timeline-marker--item {
  top: 26px;
  left: -30px;
  width: 10px;
  height: 10px;
  border: 2px solid #4c84cf;
  border-radius: 999px;
  background: #0b1322;
  box-shadow: 0 0 0 4px rgba(58, 123, 213, 0.12);
  transform: translate(-50%, -50%);
}

.timeline-card::before {
  position: absolute;
  top: 25px;
  left: -24px;
  width: 24px;
  height: 2px;
  background: rgba(120, 160, 220, 0.25);
  content: "";
}

.timeline-group__heading h2 {
  margin: 0;
  color: #9ad6ff;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}

.timeline-group__heading p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 13px;
  margin: 4px 0 0;
  color: #8295b1;
  font-size: 0.8rem;
  line-height: 1.4;
}

.timeline-group__heading p span {
  color: #c8d8f0;
  font-weight: 800;
}

.timeline-group__heading small {
  color: #6f8aae;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.timeline-items {
  display: grid;
  gap: 13px;
}

.timeline-card {
  position: relative;
  display: block;
  margin: 0 0 14px 60px;
  padding: 15px 18px;
  border: 1px solid rgba(120, 160, 220, 0.12);
  border-radius: 12px;
  background: #0e1830;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.timeline-card:hover {
  border-color: rgba(92, 200, 255, 0.45);
}

.timeline-card__body {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 8px;
}

.timeline-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 0;
  padding-right: 120px;
}

.timeline-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 6px;
  border: 1px solid rgba(103, 199, 255, 0.22);
  border-radius: 4px;
  color: #a9c8e9;
  background: rgba(5, 18, 34, 0.68);
  font-size: 0.68rem;
  font-weight: 800;
}

.timeline-card__type {
  color: var(--timeline-type-color, #5cc8ff) !important;
  border-color: color-mix(in srgb, var(--timeline-type-color, #5cc8ff), transparent 35%) !important;
}

.timeline-card__type--x {
  --timeline-type-color: #cdd9ee;
}

.timeline-card__type--youtube {
  --timeline-type-color: #ff8a96;
}

.timeline-card__type--twitch {
  --timeline-type-color: #b07cff;
}

.timeline-card__type--web,
.timeline-card__type--lodestone {
  --timeline-type-color: #5cc8ff;
}

.timeline-card__source {
  color: #6f8aae !important;
  border: 0 !important;
  background: transparent !important;
}

.timeline-card__kind {
  color: var(--timeline-kind-color, #c8d8f0) !important;
  border-color: color-mix(in srgb, var(--timeline-kind-color, #c8d8f0), transparent 55%) !important;
  background: color-mix(in srgb, var(--timeline-kind-color, #c8d8f0), transparent 88%) !important;
}

.timeline-card__kind--official,
.timeline-card__kind--guide {
  --timeline-kind-color: #5cc8ff;
}

.timeline-card__kind--analysis,
.timeline-card__kind--post {
  --timeline-kind-color: #4fd38a;
}

.timeline-card__kind--video {
  --timeline-kind-color: #b07cff;
}

.timeline-card__kind--tool {
  --timeline-kind-color: #e0a94f;
}

.timeline-card strong {
  color: #eef4ff;
  font-size: 16px;
  line-height: 1.45;
}

.timeline-card p {
  margin: 0;
  color: #9fb0c8;
  font-size: 12.5px;
  line-height: 1.65;
}

.timeline-card__jobs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.timeline-card__jobs > span,
.timeline-card__muted {
  color: #7f93b3;
  font-size: 0.74rem;
}

.timeline-card__jobs .job-list {
  gap: 5px;
}

.timeline-card__jobs .job-chip {
  min-width: 30px;
  height: 21px;
  padding: 0 8px;
  color: #ffffff;
  background: var(--job-color);
  border: 0;
  border-radius: 5px;
  font-size: 0.66rem;
  text-shadow: none;
  box-shadow: none;
}

.timeline-card__players {
  display: grid;
  gap: 10px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid rgba(120, 160, 220, 0.08);
}

.timeline-card__player {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto;
  align-items: center;
  gap: 11px;
}

.timeline-card__player-name {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.timeline-card__player-identity {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.timeline-card__player strong {
  display: block;
  color: #e6eefc;
  font-size: 13.5px;
  line-height: 1.35;
}

.timeline-card__player-identity span {
  color: #6f8aae;
  font-size: 11px;
  font-weight: 500;
}

.timeline-card__player-results {
  color: #9fb0c8;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  white-space: nowrap;
}

.timeline-card__player-results b,
.timeline-card__rank-label {
  font-family: inherit;
  font-size: inherit;
  font-weight: 800;
}

.timeline-card__rank-label {
  color: #7f93b3;
}

.timeline-card__player-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid rgba(120, 160, 220, 0.2);
  border-radius: 9px;
  color: #cdd9ee;
  background: #111d31;
  font-family: "Rajdhani", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.timeline-card__player-link:hover,
.timeline-card__player-link:focus-visible {
  border-color: rgba(92, 200, 255, 0.4);
  color: #bfe8ff;
}

.timeline-card__characters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.timeline-card__characters span,
.timeline-card__muted {
  color: var(--muted);
  font-size: 0.76rem;
}

.timeline-card__open {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 14px;
  border: 1px solid rgba(92, 200, 255, 0.3);
  border-radius: 9px;
  color: #9ad6ff;
  background: rgba(92, 200, 255, 0.1);
  font-family: "Rajdhani", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.timeline-card__open:hover,
.timeline-card__open:focus-visible {
  background: rgba(92, 200, 255, 0.18);
}

.timeline-empty {
  margin-left: 60px;
  color: #6f8aae;
  font-size: 0.82rem;
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.period-tabs {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(2, 11, 23, 0.72);
}

.period-tabs button {
  padding: 5px 12px;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
}

.period-tabs button.is-active {
  color: white;
  background: linear-gradient(135deg, #176ed1, #2c91e7);
}

.line-chart {
  width: 100%;
  aspect-ratio: 640 / 260;
}

.line-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.line-chart text {
  fill: var(--muted);
  font-size: 12px;
}

.chart-y-labels text {
  fill: var(--text-soft);
  font-variant-numeric: tabular-nums;
}

.chart-point-labels text {
  fill: var(--cyan-soft);
  font-size: 11px;
  font-weight: 700;
  paint-order: stroke;
  stroke: rgba(3, 14, 29, 0.9);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.chart-grid-lines line {
  stroke: rgba(103, 199, 255, 0.12);
  stroke-dasharray: 4 6;
}

.job-evidence-list > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(103, 199, 255, 0.12);
}

.job-evidence-list small {
  grid-column: 2 / -1;
  color: var(--muted);
}

.job-orb {
  grid-row: span 2;
  width: 36px;
  height: 40px;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(24, 62, 94, 0.45);
  font-size: 0.65rem;
}

.status-pill--verified,
.status-pill--succeeded {
  border-color: rgba(89, 232, 139, 0.36);
  color: var(--green);
}

.status-pill--inferred,
.status-pill--partial {
  border-color: rgba(255, 211, 106, 0.36);
  color: var(--gold);
}

.status-pill--failed {
  border-color: rgba(255, 93, 108, 0.36);
  color: var(--red);
}

.notice {
  margin: 16px 0 0;
  padding: 10px 12px;
  border-left: 2px solid var(--cyan);
  color: var(--muted);
  background: rgba(22, 79, 117, 0.14);
  font-size: 0.72rem;
}

.results-list > div {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1.25fr 70px 110px;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(103, 199, 255, 0.12);
}

.results-list strong,
.results-list small,
.results-list em {
  color: var(--text-soft);
}

.results-list em {
  font-style: normal;
  white-space: nowrap;
}

.results-list b {
  color: #f2f7ff;
}

.results-list b.season-rank--gold {
  color: #ffd76a;
}

.results-list b.season-rank--silver {
  color: #dbe8ff;
}

/* Request */
.request-page,
.operations-page {
  padding-top: 48px;
}

.page-intro {
  max-width: 900px;
  margin-bottom: 28px;
}

.page-intro h1 {
  margin-bottom: 8px;
}

.page-intro > p:last-child {
  color: var(--text-soft);
}

.request-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.request-types article {
  min-height: 160px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 26, 48, 0.8);
}

.request-types span {
  display: grid;
  width: 38px;
  height: 42px;
  place-items: center;
  color: var(--cyan-soft);
  background: rgba(43, 135, 201, 0.28);
  clip-path: polygon(50% 0, 96% 25%, 83% 82%, 50% 100%, 17% 82%, 4% 25%);
  font-family: Georgia, serif;
}

.request-types h2 {
  margin: 12px 0 4px;
  font-size: 1rem;
}

.request-types p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 14px;
}

.request-form,
.request-help article {
  padding: 20px;
}

.request-help {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.request-help h2 {
  margin-top: 0;
  font-size: 1rem;
}

.request-help dl {
  margin: 0;
}

.request-help dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(103, 199, 255, 0.1);
  font-size: 0.76rem;
}

.request-help dt {
  color: var(--cyan-soft);
}

.request-help dd {
  margin: 0;
  color: var(--muted);
}

.form-field {
  display: block;
  margin-bottom: 15px;
}

.form-field > span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.form-field b {
  padding: 1px 5px;
  border-radius: 3px;
  color: white;
  background: #b93d4f;
  font-size: 0.58rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
  color: white;
  background: rgba(1, 10, 21, 0.7);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(97, 215, 255, 0.1);
}

.form-field em,
.form-errors {
  display: block;
  margin-top: 4px;
  color: #ff9ba6;
  font-size: 0.7rem;
  font-style: normal;
}

.turnstile-placeholder {
  margin-bottom: 14px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.72rem;
}

.narrow-page {
  max-width: 720px;
  min-height: 60vh;
  margin: 0 auto;
  padding-top: 90px;
}

.success-panel {
  padding: 70px 30px;
  text-align: center;
}

.success-panel__gem {
  width: 50px;
  height: 70px;
  margin-bottom: 22px;
}

.success-panel h1 {
  margin: 4px 0 10px;
  font-family: Georgia, "Yu Mincho", serif;
  font-weight: 500;
}

.success-panel p:not(.eyebrow) {
  margin-bottom: 24px;
  color: var(--text-soft);
}

/* Operations */
.operations-body .crystal-edge {
  opacity: 0.15;
}

.operations-header {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
}

.operations-header h1 {
  margin: 2px 0 0;
  font-family: Georgia, serif;
  font-weight: 500;
}

.operations-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}

.operations-header__status {
  display: flex;
  margin-left: auto;
  padding: 9px 15px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
}

.operations-header__status span {
  color: var(--muted);
  font-size: 0.65rem;
}

.admin-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-tool-card {
  display: flex;
  min-height: 190px;
  padding: 22px;
  flex-direction: column;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-tool-card:hover {
  border-color: rgba(88, 213, 255, 0.7);
  box-shadow: 0 0 26px rgba(72, 180, 255, 0.14);
  transform: translateY(-2px);
}

.admin-tool-card strong {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.admin-tool-card small {
  color: var(--text-soft);
  line-height: 1.7;
}

.admin-tool-card__action {
  margin-top: auto;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.danger-button {
  min-height: 48px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 93, 108, 0.65);
  border-radius: 7px;
  color: var(--red);
  background: rgba(90, 20, 31, 0.24);
}

/* Social link workbench */
.social-workbench {
  max-width: 1180px;
  min-height: 68vh;
  margin: 0 auto;
  padding: 74px 0 40px;
}

.workbench-filter {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 140px;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
}

.workbench-filter label,
.workbench-link-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.workbench-filter span,
.workbench-link-form span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.workbench-filter input,
.workbench-filter select,
.workbench-link-form input,
.workbench-link-form select,
.workbench-link-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 13, 26, 0.74);
}

.workbench-link-form textarea {
  min-height: 88px;
  resize: vertical;
}

.manual-character-panel {
  padding: 22px;
}

.manual-character-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
}

.manual-character-form__note {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-left: 3px solid var(--cyan);
  background: rgba(76, 197, 255, 0.08);
  color: var(--text-soft);
  font-size: 0.86rem;
}

.manual-character-form__note p {
  margin: 4px 0 0;
}

.workbench-list {
  display: grid;
  gap: 16px;
}

.workbench-card {
  padding: 22px;
}

.workbench-card.is-saved {
  border-color: rgba(89, 232, 139, 0.62);
  box-shadow: 0 0 24px rgba(89, 232, 139, 0.12);
}

.workbench-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(103, 199, 255, 0.14);
}

.workbench-card__header h2 {
  margin: 0;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.workbench-card__header p {
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.workbench-card__header p span {
  margin-left: 10px;
  color: var(--cyan-soft);
}

.workbench-card__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.workbench-card__links a {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.74rem;
}

.workbench-card__body {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 20px;
  padding-top: 16px;
}

.workbench-evidence h3 {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.workbench-evidence pre {
  max-height: 180px;
  margin: 0;
  padding: 12px;
  overflow: auto;
  border: 1px solid rgba(103, 199, 255, 0.14);
  border-radius: 8px;
  color: var(--text-soft);
  background: rgba(3, 13, 26, 0.55);
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  white-space: pre-wrap;
}

.workbench-query-hint {
  display: grid;
  gap: 4px;
  margin-top: 12px;
}

.workbench-query-hint span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.workbench-query-hint code {
  padding: 8px 10px;
  border: 1px solid rgba(103, 199, 255, 0.14);
  border-radius: 8px;
  color: var(--text-soft);
  background: rgba(3, 13, 26, 0.55);
}

.workbench-existing-links,
.workbench-candidates {
  display: grid;
  gap: 10px;
}

.workbench-existing-links h3,
.workbench-candidates h3 {
  margin: 0;
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.workbench-candidates__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.workbench-candidates__heading .button {
  min-height: 34px;
  padding: 0 14px;
  font-size: 0.75rem;
}

.workbench-candidates--primary {
  grid-column: 1 / -1;
}

.workbench-existing-links__list {
  display: grid;
  gap: 10px;
}

.workbench-existing-links__list > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(103, 199, 255, 0.14);
  border-radius: 8px;
  background: rgba(3, 13, 26, 0.4);
}

.workbench-existing-links__list strong {
  min-width: 58px;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.workbench-existing-links__list form {
  margin-left: auto;
}

.workbench-existing-links__list .button {
  min-height: 34px;
  padding: 7px 11px;
}

.workbench-candidate-tools {
  display: grid;
  gap: 14px;
}

.workbench-generate-form {
  display: flex;
}

.workbench-link-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.workbench-link-form__wide,
.workbench-link-form__checks,
.workbench-link-form .button {
  grid-column: 1 / -1;
}

.workbench-link-form__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.76rem;
}

.workbench-link-form__checks label {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  gap: 6px;
}

.workbench-candidate-list {
  display: grid;
  gap: 10px;
}

.workbench-candidate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(103, 199, 255, 0.14);
  border-radius: 8px;
  background: rgba(3, 13, 26, 0.4);
}

.workbench-candidate--approved {
  border-color: rgba(89, 232, 139, 0.3);
}

.workbench-candidate--rejected {
  border-color: rgba(255, 93, 108, 0.26);
  opacity: 0.8;
}

.workbench-candidate__main {
  min-width: 0;
}

.workbench-candidate__title {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

.workbench-candidate__title strong {
  color: var(--cyan);
  font-size: 0.8rem;
}

.workbench-candidate__title span {
  color: var(--text);
  font-weight: 600;
}

.workbench-candidate__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.74rem;
}

.workbench-candidate__main p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 0.8rem;
  white-space: pre-wrap;
}

.workbench-candidate__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.workbench-candidate__links a {
  color: var(--cyan-soft);
  font-size: 0.76rem;
}

.workbench-candidate__actions {
  display: grid;
  align-content: start;
  gap: 8px;
}

.workbench-candidate__actions form {
  display: grid;
  gap: 8px;
}

.workbench-candidate__actions select {
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(103, 199, 255, 0.28);
  border-radius: 8px;
  background: rgba(8, 24, 42, 0.9);
  color: var(--text);
  font-size: 0.74rem;
}

.workbench-candidate__actions .button {
  min-width: 88px;
}

.workbench-order-actions {
  display: flex;
  align-items: start;
  gap: 6px;
}

.workbench-order-actions form {
  display: block;
}

.workbench-order-actions .workbench-order-button {
  min-width: 34px;
  min-height: 34px;
  padding: 0 9px;
  font-size: 0.85rem;
}

.workbench-alert {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.workbench-alert--success {
  border: 1px solid rgba(89, 232, 139, 0.34);
  color: var(--green);
  background: rgba(89, 232, 139, 0.08);
}

.workbench-alert--error {
  border: 1px solid rgba(255, 93, 108, 0.34);
  color: var(--red);
  background: rgba(255, 93, 108, 0.08);
  white-space: pre-wrap;
}

.workbench-empty {
  padding: 38px;
  color: var(--muted);
  text-align: center;
}

.job-override-card__body {
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
}

.job-override-current {
  display: grid;
  gap: 12px;
  align-content: start;
}

.job-override-candidates,
.job-candidate-form {
  align-self: start;
}

.job-override-current h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
}

.job-override-current .job-list {
  align-items: flex-start;
}

.job-override-current .job-list--large {
  flex-direction: column;
  gap: 8px;
}

.job-observation-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.job-override-verified-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-override-verified-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid rgba(89, 232, 139, 0.18);
  border-radius: 9px;
  background: rgba(89, 232, 139, 0.06);
}

.job-override-verified-list strong {
  color: var(--green);
  font-size: 0.82rem;
}

.job-override-verified-list span {
  color: var(--muted);
  font-size: 0.72rem;
}

.job-override-verified-list a {
  color: var(--cyan);
  font-size: 0.72rem;
}

.job-override-form {
  align-self: start;
}

.job-override-clear-form {
  display: flex;
  align-items: center;
  gap: 12px;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(103, 199, 255, 0.1);
}

.job-override-clear-form .button {
  min-height: 38px;
}

@media (max-width: 900px) {
  .workbench-card__body {
    grid-template-columns: 1fr;
  }

  .workbench-candidate {
    grid-template-columns: 1fr;
  }

  .workbench-candidate__actions {
    grid-auto-flow: column;
    justify-content: start;
  }

  .job-override-card__body {
    grid-template-columns: 1fr;
  }

  .manual-character-form {
    grid-template-columns: 1fr;
  }
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.metric-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.metric-grid span,
.metric-grid small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
}

.metric-grid strong {
  display: block;
  margin: 5px 0;
  color: var(--cyan-soft);
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}

.operations-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
}

.operations-card {
  padding: 18px;
}

.operations-card--wide {
  grid-column: 1 / -1;
}

.ops-table__head,
.ops-table > div {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr 80px;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid rgba(103, 199, 255, 0.12);
  font-size: 0.76rem;
}

.ops-table__head {
  color: var(--muted);
  background: rgba(1, 10, 21, 0.54);
}

.ops-table a {
  color: var(--cyan);
}

.fetch-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(103, 199, 255, 0.12);
}

.fetch-list small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.season-steps {
  padding-left: 21px;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.season-steps li {
  margin: 10px 0;
}

@media (max-width: 1100px) {
  .page-shell {
    width: min(100% - 28px, 1000px);
  }

  .home-body .page-shell {
    width: 100%;
  }

  .home-body .site-header {
    gap: 18px;
  }

  .site-header__actions {
    gap: 10px;
  }

  .home-body .header-live-status {
    max-width: min(520px, 48vw);
  }

  .streaming-section {
    margin-top: 10px;
  }

  .header-live-status {
    max-width: min(520px, 42vw);
    gap: 10px;
    padding: 8px 12px;
  }

  .home-body .filter-bar {
    display: flex;
    flex-wrap: wrap;
  }

  .home-body .filter-bar label {
    flex: 0 0 var(--filter-control-width);
  }

  .home-body .filter-bar > .button {
    flex: 0 0 108px;
  }

  .player-hero {
    grid-template-columns: 120px 1fr 180px;
  }

  .live-panel {
    grid-column: 1 / -1;
  }

  .request-layout {
    grid-template-columns: 1fr;
  }

  .request-help {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .timeline-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 620px);
  }

  .home-body .page-shell {
    width: 100%;
  }

  .crystal-edge {
    width: 54px;
    opacity: 0.18;
  }

  .site-header {
    min-height: 68px;
  }

  .home-body .site-header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 20px 0;
  }

  .site-header__actions {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .header-live-status {
    max-width: min(230px, 44vw);
    gap: 8px;
    padding: 7px 10px;
  }

  .home-body .header-live-status {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    justify-content: flex-start;
  }

  .header-share-link {
    width: 40px;
    padding: 0;
  }

  .header-share-link span {
    display: none;
  }

  .language-switch span {
    display: none;
  }

  .language-switch select {
    min-width: 86px;
    max-width: 112px;
    padding-inline: 10px;
  }

  .header-live-status__freshness {
    display: none;
  }

  .home-body .header-live-status__label {
    display: inline;
  }

  .brand {
    gap: 10px;
  }

  .brand strong {
    font-size: 0.85rem;
  }

  .brand small {
    font-size: 0.64rem;
  }

  .brand__gem {
    width: 22px;
    height: 32px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    gap: 22px;
  }

  .site-nav-row {
    display: flex;
    position: static;
    flex-direction: row;
    flex: 0 0 calc(100% + 40px);
    gap: 14px;
    margin: 12px -20px 0;
    padding: 0 20px;
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: #0d1729;
    box-shadow: none;
    white-space: nowrap;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: auto;
    padding: 14px 2px;
  }

  .site-nav a::after {
    display: block;
  }

  .section-heading {
    align-items: flex-start;
    padding: 18px 14px 12px;
  }

  .home-page .section-heading--ranking {
    padding: 26px 20px 18px;
  }

  .home-page .section-heading--ranking h2 {
    font-size: 30px;
  }

  .ranking-count strong {
    font-size: 28px;
  }

  .stream-carousel {
    padding: 0 20px 8px;
  }

  .stream-card {
    flex-basis: 298px;
    min-width: 298px;
  }

  .stream-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-body .filter-bar {
    --filter-control-width: 220px;
    display: flex;
    flex-wrap: wrap;
    padding: 0 20px 22px;
  }

  .home-body .filter-bar label {
    flex: 0 0 var(--filter-control-width);
    padding: 0;
  }

  .home-body .filter-bar > .button {
    flex: 1 1 220px;
    margin-top: 8px;
  }

  .content-timeline-page {
    --timeline-width: 100%;
    --timeline-page-padding: 16px;
    padding: 30px 16px 56px;
  }

  .timeline-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .timeline-group__heading {
    padding: 14px;
  }

  .timeline-filter {
    margin-top: 0;
    top: 70px;
    padding: 0;
  }

  .timeline-filter__inner {
    padding: 12px var(--timeline-page-padding);
  }

  .timeline-filter__summary {
    align-items: center;
    margin-bottom: 10px;
  }

  .timeline-filter__group {
    align-items: flex-start;
    gap: 6px 9px;
  }

  .timeline-filter__label {
    line-height: 1.2;
    min-width: 100%;
  }

  .timeline-filter__job-row {
    gap: 5px;
  }

  .timeline-filter__job-groups {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .timeline-filter__job-row--all {
    gap: 0;
  }

  .timeline-filter__job-row--all .timeline-filter__job-role {
    display: none;
  }

  .timeline-filter__reset {
    justify-self: start;
  }

  .timeline-list {
    margin-top: 22px;
  }

  .timeline-list::before {
    left: 20px;
  }

  .timeline-group__heading {
    margin-left: 44px;
    gap: 8px;
  }

  .timeline-patch {
    margin-left: 44px;
    gap: 8px;
  }

  .timeline-patch__body > time,
  .timeline-patch__label {
    padding-right: 0;
  }

  .timeline-patch__body {
    padding-right: 0;
  }

  .timeline-patch__links {
    position: static;
    justify-content: flex-start;
    margin-top: 5px;
  }

  .timeline-group__heading::before {
    left: -18px;
    width: 18px;
  }

  .timeline-patch::before {
    left: -18px;
    width: 18px;
  }

  .timeline-marker--patch {
    left: -24px;
  }

  .timeline-date-label {
    display: none;
  }

  .timeline-card {
    margin: 0 0 12px 44px;
    padding: 14px;
  }

  .timeline-marker--item {
    left: -24px;
  }

  .timeline-card::before {
    left: -18px;
    width: 18px;
  }

  .timeline-card__meta {
    padding-right: 0;
  }

  .timeline-card__open {
    position: static;
    width: fit-content;
    margin-top: 4px;
  }

  .timeline-card__player {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 5px;
  }

  .timeline-card__player-results {
    white-space: normal;
  }

  .timeline-card__player-link {
    width: fit-content;
  }

  .timeline-card__player-name {
    flex-basis: auto;
  }

  .timeline-card__player-results {
    text-align: left;
    white-space: normal;
  }

  .ranking-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .ranking-table {
    display: block;
    min-width: 0;
  }

  .ranking-table thead {
    display: none;
  }

  .ranking-table tbody {
    display: grid;
    gap: 9px;
  }

  .ranking-table tr {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto auto;
    gap: 4px 10px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--panel);
  }

  .home-body .ranking-table-wrap {
    margin: 0 20px 12px;
  }

  .home-body .ranking-table tr {
    border-color: rgba(120, 160, 220, 0.14);
    background: #111d31;
  }

  .ranking-table td {
    display: block;
    padding: 0;
    border: 0;
  }

  .ranking-table .rank-cell {
    grid-row: 1 / 3;
  }

  .ranking-table .rank-change-cell {
    display: none;
  }

  .ranking-table .rating-change-cell {
    display: none;
  }

  .ranking-table .wins-cell {
    display: none;
  }

  .ranking-table .player-cell {
    grid-column: 2;
    grid-row: 1;
  }

  .ranking-table .rating-cell {
    grid-column: 3 / 5;
    grid-row: 1 / 3;
    align-self: start;
    text-align: right;
  }

  .ranking-table .jobs-cell {
    grid-column: 2;
    grid-row: 2;
  }

  .ranking-table .past-result-cell {
    display: flex;
    grid-column: 3;
    grid-row: 3;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
    color: #d7e6fb;
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
  }

  .ranking-table .past-result-cell::before {
    content: attr(data-mobile-label);
    flex: 0 0 auto;
    color: #7f93b3;
    font-size: 11px;
    font-weight: 600;
  }

  .ranking-table .older-best-cell {
    display: flex;
    grid-column: 4;
    grid-row: 3;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
    color: #d7e6fb;
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
  }

  .ranking-table .older-best-cell::before {
    content: attr(data-mobile-label);
    flex: 0 0 auto;
    color: #7f93b3;
    font-size: 11px;
    font-weight: 600;
  }

  .ranking-table .pvp-team-cell {
    display: none;
  }

  .ranking-table .twitch-cell {
    grid-column: 4;
    grid-row: 2;
    text-align: right;
  }

  .ranking-table .twitch-icon-link,
  .ranking-table .youtube-icon-link {
    width: 30px;
    height: 30px;
  }

  .ranking-table .twitch-icon-link svg,
  .ranking-table .youtube-icon-link svg {
    width: 22px;
    height: 22px;
  }

  .rank-number {
    width: 34px;
    padding-top: 3px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    gap: 12px;
  }

  .player-hero {
    grid-template-columns: 86px 1fr;
    padding: 16px;
  }

  .player-rank {
    width: 78px;
    height: 90px;
  }

  .player-rank span {
    font-size: 2.2rem;
  }

  .player-identity h1 {
    font-size: 1.8rem;
  }

  .player-rating {
    grid-column: 1 / -1;
    border: 0;
    border-top: 1px solid var(--line);
    text-align: left;
  }

  .player-rating strong {
    font-size: 2rem;
  }

  .player-actions {
    overflow-x: auto;
  }

  .chart-grid,
  .detail-grid,
  .request-types,
  .request-help,
  .operations-grid,
  .admin-tool-grid {
    grid-template-columns: 1fr;
  }

  .chart-card,
  .evidence-card,
  .results-card {
    padding: 13px;
  }

  .card-heading {
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }

  .card-heading h2 {
    font-size: 1.08rem;
  }

  .results-list > div {
    grid-template-columns: 1fr auto;
  }

  .results-list strong,
  .results-list small,
  .results-list em {
    grid-column: 1;
  }

  .results-list b {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .request-page,
  .operations-page {
    padding-top: 28px;
  }

  .request-types {
    grid-template-columns: 1fr 1fr;
  }

  .request-types article {
    min-height: 140px;
    padding: 15px;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .operations-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .operations-header__status {
    margin-left: 0;
  }

  .ops-table__head {
    display: none;
  }

  .ops-table > div {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 560px) {
  .home-body .filter-bar {
    --filter-control-width: 100%;
  }

  .home-body .filter-bar label,
  .home-body .filter-bar > .button {
    flex: 0 0 100%;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Player detail reskin */
.detail-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 32px 64px;
}

.detail-page .content-panel {
  border: 1px solid rgba(120, 160, 220, 0.12);
  border-radius: 16px;
  background: #0d1729;
  box-shadow: none;
}

.detail-backlink {
  position: relative;
  align-items: center;
  margin-bottom: 22px;
  color: #7f93b3;
  font-size: 12.5px;
}

.detail-backlink a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.detail-backlink a:hover {
  color: #9fb3d4;
}

.detail-page .player-hero {
  display: grid;
  grid-template-columns: 122px minmax(240px, 1fr) minmax(190px, auto);
  gap: 32px;
  align-items: center;
  padding: 30px 34px;
  overflow: hidden;
}

.detail-page .player-admin-actions {
  top: 18px;
  right: 24px;
}

.detail-page .player-data-request {
  min-height: 34px;
  padding: 7px 13px;
  border-color: rgba(120, 160, 220, 0.2);
  border-radius: 8px;
  color: #9fb3d4;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
}

.detail-page .player-data-request:hover {
  border-color: rgba(120, 160, 220, 0.4);
  color: #cdd9ee;
}

.detail-page .player-rank {
  width: 122px;
  height: 134px;
  background: linear-gradient(155deg, #4082d8, #1b3e7a);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  filter: none;
}

.detail-page .player-rank span {
  align-self: end;
  color: #eaf6ff;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 0.9;
  text-shadow: 0 0 16px rgba(92, 200, 255, 0.6);
}

.detail-page .player-rank small {
  align-self: start;
  max-width: 82px;
  margin-top: 4px;
  color: #c4dbf8;
  font-size: 10.5px;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-align: center;
}

.detail-page .player-identity .eyebrow {
  color: #5cc8ff;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.detail-page .player-identity h1 {
  margin: 5px 0 0;
  color: #f2f7ff;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: clamp(2.4rem, 4vw, 46px);
  font-weight: 700;
  line-height: 1.04;
}

.detail-page .player-identity > p:not(.eyebrow) {
  margin: 7px 0 0;
  color: #9fb3d4;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
}

.detail-page .same-name-links {
  margin: 10px 0 0;
}

.detail-page .same-name-links span {
  color: #6f8aae;
  font-size: 11px;
}

.detail-page .same-name-links a {
  min-height: 26px;
  padding: 4px 9px;
  border-color: rgba(92, 200, 255, 0.22);
  border-radius: 999px;
  background: rgba(92, 200, 255, 0.06);
  font-size: 12px;
}

.detail-page .character-job-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.detail-page .character-job-summary .muted {
  color: #9fb3d4;
}

.detail-page .character-job-summary .job-list {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}

.detail-page .character-job-summary .job-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  background: var(--job-color);
  color: #ffffff;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  vertical-align: middle;
}

.detail-page .character-job-summary .job-chip i {
  display: none;
}

.detail-page .character-job-summary .evidence-label {
  display: inline-block;
  color: #647a96;
  font-size: 10.5px;
  line-height: 1;
  white-space: nowrap;
}

.detail-page .status-pill {
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 10.5px;
}

.detail-page .player-rating {
  padding: 0 0 0 38px;
  border-right: 0;
  border-left: 1px solid rgba(120, 160, 220, 0.14);
  text-align: center;
}

.detail-page .player-rating span {
  color: #7f93b3;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.detail-page .player-rating strong {
  margin-top: 6px;
  color: #f2f7ff;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.1;
}

.detail-page .player-rating small {
  color: #7f93b3;
  font-size: 12px;
}

.detail-page .player-actions {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  margin-top: 18px;
  width: auto;
  padding-top: 0;
  border-top: 0;
}

.detail-page .player-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
}

.detail-page .player-actions .button--ghost {
  border-color: rgba(120, 160, 220, 0.2);
  background: #111d31;
  color: #cdd9ee;
}

.detail-page .player-actions .button--ghost:hover {
  border-color: rgba(92, 200, 255, 0.4);
  color: #bfe8ff;
}

.detail-page .player-actions .button svg {
  flex: none;
}

.detail-page .live-panel {
  grid-column: 1 / -1;
  margin-top: -4px;
  border-color: rgba(158, 105, 255, 0.28);
}

.detail-page .character-tabs {
  margin: 22px 0 0;
  border-color: rgba(120, 160, 220, 0.12);
  border-radius: 12px;
  background: #0d1729;
}

.detail-page .chart-grid {
  gap: 18px;
  margin-top: 18px;
}

.detail-page .chart-card {
  padding: 20px 26px 18px;
}

.detail-page .chart-card .card-heading {
  margin-bottom: 10px;
}

.detail-page .card-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f2f7ff;
  font-size: 19px;
  font-weight: 700;
}

.detail-page .section-gem {
  width: 13px;
  height: 17px;
  box-shadow: none;
  background: #5cc8ff;
}

.detail-page .period-tabs {
  gap: 3px;
  padding: 3px;
  border-color: rgba(120, 160, 220, 0.14);
  border-radius: 9px;
  background: #111d31;
}

.detail-page .period-tabs button {
  padding: 5px 12px;
  border-radius: 6px;
  color: #9fb3d4;
  font-size: 12px;
}

.detail-page .period-tabs button.is-active {
  color: #06223a;
  background: #5cc8ff;
  font-weight: 700;
}

.detail-page .line-chart {
  aspect-ratio: 720 / 250;
}

.detail-page .line-chart text {
  fill: #6f8aae;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.detail-page .chart-grid-lines line {
  stroke: rgba(120, 160, 220, 0.13);
  stroke-dasharray: 3 5;
}

.detail-page .detail-grid {
  display: block;
  margin-top: 22px;
}

.detail-page .results-card {
  padding: 24px 30px 14px;
}

.detail-page .results-card .card-heading {
  margin-bottom: 8px;
}

.detail-page .results-list > div {
  grid-template-columns: max-content 230px minmax(42px, 1fr) 140px 86px 130px;
  gap: 14px;
  padding: 16px 4px;
  border-bottom-color: rgba(120, 160, 220, 0.08);
  transition: background 0.15s;
}

.detail-page .results-list > div:hover {
  background: rgba(92, 200, 255, 0.05);
}

.detail-page .results-list span {
  grid-column: 1;
  color: #e6eefc;
  font-size: 16px;
  font-weight: 500;
}

.detail-page .results-list strong {
  grid-column: 4;
  color: #9fb3d4;
  font-size: 14px;
}

.detail-page .results-list em {
  grid-column: 2;
  color: #7f93b3;
  font-size: 12px;
}

.detail-page .results-list b {
  grid-column: 5;
  color: #f2f7ff;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px;
  font-weight: 700;
  text-align: right;
}

.detail-page .results-list b.season-rank--gold {
  color: #ffd76a;
}

.detail-page .results-list b.season-rank--silver {
  color: #dbe8ff;
}

.detail-page .results-list small {
  grid-column: 6;
  color: #7f93b3;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  text-align: right;
}

@media (max-width: 1100px) {
  .detail-page {
    padding: 28px 0 56px;
  }

  .detail-page .player-hero {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .detail-page .player-rating {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 18px 0 0;
    border-top: 1px solid rgba(120, 160, 220, 0.14);
    border-left: 0;
    text-align: left;
  }

  .detail-page .player-rating strong {
    font-size: 34px;
  }

  .detail-page .chart-grid {
    grid-template-columns: 1fr;
  }

  .detail-page .results-list > div {
    grid-template-columns: max-content 190px minmax(24px, 1fr) 120px 72px 105px;
  }
}

@media (max-width: 760px) {
  .detail-page {
    padding: 22px 0 44px;
  }

  .detail-backlink {
    margin-bottom: 14px;
  }

  .detail-page .player-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 18px;
  }

  .detail-page .player-data-request {
    position: static;
    justify-self: flex-start;
    order: -2;
  }

  .detail-page .player-admin-actions {
    position: static;
    display: flex;
    align-items: flex-start;
    justify-self: flex-start;
    order: -2;
    flex-wrap: wrap;
  }

  .detail-page .player-rank {
    width: 108px;
    height: 118px;
  }

  .detail-page .player-rank span {
    font-size: 42px;
  }

  .detail-page .player-identity h1 {
    font-size: 36px;
  }

  .detail-page .player-actions {
    flex-wrap: wrap;
  }

  .detail-page .player-rating {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .detail-page .chart-card,
  .detail-page .results-card {
    padding: 20px 16px;
  }

  .detail-page .chart-card {
    padding: 18px 16px 16px;
  }

  .detail-page .card-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .detail-page .line-chart {
    aspect-ratio: 640 / 280;
  }

  .detail-page .results-list > div {
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
  }

  .detail-page .results-list span,
  .detail-page .results-list em,
  .detail-page .results-list strong,
  .detail-page .results-list small {
    grid-column: 1;
    text-align: left;
  }

  .detail-page .results-list b {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
  }
}
