@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;
}

/* CCRC2026 feature */
.ccrc2026-body {
  background: #0b1322;
}

.ccrc2026-body::before,
.ccrc2026-body .crystal-edge {
  display: none;
}

.ccrc2026-body .page-shell {
  width: 100%;
  max-width: none;
  padding: 0 0 56px;
}

.ccrc-page {
  width: 100%;
  min-height: 100vh;
  padding-bottom: 24px;
  background: #0b1322;
  color: #f2f7ff;
  font-family:
    "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Noto Sans JP",
    system-ui, sans-serif;
}

.ccrc-region-tabs__controls,
.ccrc-team-list,
.ccrc-notice {
  width: min(1204px, 100%);
  margin: 0 auto;
}

.ccrc-hero {
  position: relative;
  overflow: hidden;
  width: min(1136px, calc(100% - 68px));
  margin-top: 34px;
  margin-right: auto;
  margin-left: auto;
  padding: 30px 34px;
  border: 1px solid rgba(92, 200, 255, 0.18);
  border-radius: 16px;
  background: #13294a;
}

.ccrc-hero__crystal {
  display: none;
}

.ccrc-hero__crystal path:first-child {
  fill: rgba(92, 200, 255, 0.28);
}

.ccrc-hero__crystal path:last-child {
  fill: rgba(255, 255, 255, 0.15);
}

.ccrc-hero p,
.ccrc-team-card__metrics span,
.ccrc-member-header,
.ccrc-team-card__links a {
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  text-transform: uppercase;
}

.ccrc-hero p {
  position: relative;
  margin: 0;
  color: #9ad6ff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.ccrc-hero h1 {
  position: relative;
  margin: 8px 0 0;
  color: #f2f7ff;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.ccrc-region-tabs {
  padding-top: 24px;
}

.ccrc-region-tabs > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ccrc-region-tabs__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 34px;
}

.ccrc-region-tabs__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 180px;
  gap: 8px;
  min-width: 0;
  padding: 8px 18px;
  border: 1px solid rgba(120, 160, 220, 0.2);
  border-radius: 999px;
  color: #9fb3d4;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

#ccrc-region-jp:checked ~ .ccrc-region-tabs__controls .ccrc-region-tabs__tab--jp,
#ccrc-region-na:checked ~ .ccrc-region-tabs__controls .ccrc-region-tabs__tab--na,
#ccrc-region-eu:checked ~ .ccrc-region-tabs__controls .ccrc-region-tabs__tab--eu {
  border-color: transparent;
  background: #5cc8ff;
  color: #06223a;
}

.ccrc-team-list {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 22px 34px 0;
}

#ccrc-region-jp:checked ~ .ccrc-team-list--jp,
#ccrc-region-na:checked ~ .ccrc-team-list--na,
#ccrc-region-eu:checked ~ .ccrc-team-list--eu {
  display: flex;
}

.ccrc-event-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid rgba(92, 200, 255, 0.26);
  border-radius: 12px;
  background: rgba(92, 200, 255, 0.08);
  color: #e8f8ff;
}

.ccrc-event-callout__icon {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid rgba(154, 214, 255, 0.85);
  border-radius: 50%;
  color: #9ad6ff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.ccrc-event-callout p {
  margin: 0;
  color: #f2f7ff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.ccrc-featured-vod {
  overflow: hidden;
  border: 1px solid rgba(120, 160, 220, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(circle at 16% 0%, rgba(92, 200, 255, 0.16), transparent 34%),
    #0e1830;
}

.ccrc-featured-vod__copy {
  padding: 24px 28px 18px;
}

.ccrc-featured-vod__copy h2 {
  margin: 0;
  color: #f2f7ff;
  font-size: 26px;
  line-height: 1.2;
}

.ccrc-featured-vod__copy p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #b5c9da;
  font-size: 14px;
  line-height: 1.7;
}

.ccrc-featured-vod__frame {
  aspect-ratio: 16 / 9;
  border-top: 1px solid rgba(120, 160, 220, 0.16);
  border-bottom: 1px solid rgba(120, 160, 220, 0.16);
  background: #050b17;
}

.ccrc-featured-vod__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.ccrc-final-bracket {
  overflow-x: auto;
  border: 1px solid rgba(120, 160, 220, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 0%, rgba(92, 200, 255, 0.14), transparent 34%),
    #0e1830;
}

.ccrc-final-bracket__head {
  padding: 22px 28px 0;
}

.ccrc-final-bracket__head h2 {
  margin: 0;
  color: #f2f7ff;
  font-size: 26px;
  line-height: 1.2;
}

.ccrc-final-bracket__body {
  display: grid;
  grid-template-columns: 320px 320px 300px;
  gap: 76px;
  align-items: center;
  min-width: 1000px;
  padding: 24px 28px 28px;
}

.ccrc-final-bracket__round {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ccrc-final-bracket__round h3,
.ccrc-final-bracket__champion h3 {
  margin: 0 0 10px;
  color: #9ad6ff;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ccrc-final-bracket__round--final {
  justify-content: center;
}

.ccrc-final-bracket__match {
  position: relative;
  display: grid;
  gap: 8px;
}

.ccrc-final-bracket__match::after {
  position: absolute;
  top: 50%;
  right: -76px;
  width: 76px;
  height: 3px;
  background: rgba(170, 188, 204, 0.72);
  content: "";
  transform: translateY(-50%);
}

.ccrc-final-bracket__match--final::after {
  right: -76px;
}

.ccrc-final-bracket__team {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(120, 160, 220, 0.18);
  border-radius: 8px;
  background: rgba(7, 16, 31, 0.76);
  color: #9fb3d4;
}

.ccrc-final-bracket__team.is-winner {
  border-color: rgba(92, 200, 255, 0.46);
  background: rgba(92, 200, 255, 0.14);
  color: #f2f7ff;
}

.ccrc-final-bracket__team span {
  min-width: 0;
  overflow: hidden;
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ccrc-final-bracket__team strong {
  color: #f2f7ff;
  font-size: 18px;
  font-weight: 900;
}

.ccrc-final-bracket__champion {
  position: relative;
}

.ccrc-final-bracket__champion div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 211, 106, 0.52);
  border-radius: 8px;
  background: linear-gradient(135deg, #d41c2a 0%, #981524 100%);
  color: #fff4cf;
}

.ccrc-final-bracket__champion span {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid rgba(255, 211, 106, 0.92);
  border-radius: 50%;
  color: #ffd36a;
  font-size: 22px;
  line-height: 1;
}

.ccrc-final-bracket__champion strong {
  min-width: 0;
  overflow: hidden;
  font-size: 18px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ccrc-team-card {
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(120, 160, 220, 0.14);
  border-radius: 16px;
  background: #0e1830;
}

.ccrc-team-card--selected {
  border-color: rgba(89, 232, 139, 0.72);
  box-shadow: 0 0 0 1px rgba(89, 232, 139, 0.22);
}

.ccrc-team-card__summary {
  display: flex;
  flex: 0 0 360px;
  flex-direction: column;
  background: #0e1830;
}

.ccrc-team-card__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(8, 15, 28, 0.42);
}

.ccrc-team-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ccrc-team-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(159, 179, 212, 0.42);
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.ccrc-team-card__identity {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 16px 20px;
}

.ccrc-team-card__identity h2 {
  margin: 3px 0 -3px;
  color: #fff;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
}

.ccrc-team-card__identity p {
  margin: -7px 0 0;
  color: #91a4c6;
  font-size: 12px;
  line-height: 1.35;
}

.ccrc-team-card__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
  gap: 12px;
}

.ccrc-team-card__metrics div {
  min-width: 0;
}

.ccrc-team-card__result {
  position: relative;
}

.ccrc-team-card__result--crowned {
  padding-right: 42px;
}

.ccrc-team-card__result--crowned::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 34px;
  height: 22px;
  pointer-events: none;
  transform: translateY(-50%);
  background: var(--ccrc-result-crown);
  mask: url("data:image/svg+xml,%3Csvg width='58' height='38' viewBox='0 0 58 38' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 34H50L46 15L36 25L29 5L22 25L12 15L8 34Z' fill='black'/%3E%3Cpath d='M10 34H48V38H10V34Z' fill='black'/%3E%3Ccircle cx='29' cy='5' r='4' fill='black'/%3E%3Ccircle cx='12' cy='15' r='3.5' fill='black'/%3E%3Ccircle cx='46' cy='15' r='3.5' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='58' height='38' viewBox='0 0 58 38' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 34H50L46 15L36 25L29 5L22 25L12 15L8 34Z' fill='black'/%3E%3Cpath d='M10 34H48V38H10V34Z' fill='black'/%3E%3Ccircle cx='29' cy='5' r='4' fill='black'/%3E%3Ccircle cx='12' cy='15' r='3.5' fill='black'/%3E%3Ccircle cx='46' cy='15' r='3.5' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.ccrc-team-card__result--gold {
  --ccrc-result-crown: linear-gradient(135deg, #fff1a6 0%, #ffd36a 50%, #b86d19 100%);
}

.ccrc-team-card__result--silver {
  --ccrc-result-crown: linear-gradient(135deg, #ffffff 0%, #cfd8e6 50%, #7f8da3 100%);
}

.ccrc-team-card__result--bronze {
  --ccrc-result-crown: linear-gradient(135deg, #ffd2a1 0%, #c77a3a 50%, #7a3f1d 100%);
}

.ccrc-team-card__metric-label {
  display: inline-flex;
  position: relative;
  align-items: center;
  gap: 6px;
}

.ccrc-team-card__metrics span {
  display: block;
  color: #5f718f;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.ccrc-help {
  position: relative;
  z-index: 5;
}

.ccrc-help summary {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid rgba(92, 200, 255, 0.34);
  border-radius: 50%;
  background: rgba(92, 200, 255, 0.1);
  color: #9ad6ff;
  cursor: pointer;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  list-style: none;
}

.ccrc-help summary::-webkit-details-marker {
  display: none;
}

.ccrc-help p {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: min(230px, calc(100vw - 48px));
  margin: 0;
  padding: 9px 11px;
  border: 1px solid rgba(92, 200, 255, 0.22);
  border-radius: 8px;
  background: #0a1322;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
  color: #cdd9ee;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
  text-transform: none;
}

.ccrc-team-card__metrics strong {
  display: block;
  margin-top: 3px;
  color: #dfe9f8;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.ccrc-team-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ccrc-team-card__links a {
  padding: 5px 9px;
  border: 1px solid rgba(92, 200, 255, 0.22);
  border-radius: 6px;
  color: #9ad6ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.ccrc-team-card__links .ccrc-management-edit-link,
.ccrc-detail-link--edit {
  border-color: rgba(89, 232, 139, 0.55);
  color: var(--green);
  background: rgba(89, 232, 139, 0.08);
}

.ccrc-team-card__members {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 13px 22px 14px;
}

.ccrc-team-card__empty-data {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  color: rgba(127, 147, 179, 0.38);
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.ccrc-member-header,
.ccrc-member-row {
  display: grid;
  grid-template-columns: 216px 106px 60px 66px 70px 90px 96px;
  align-items: center;
}

.ccrc-member-header {
  gap: 10px;
  padding: 0 11px 8px;
  border-bottom: 1px solid rgba(120, 160, 220, 0.1);
  color: #5f718f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.ccrc-member-header span:nth-child(4),
.ccrc-member-header span:nth-child(5),
.ccrc-member-header span:nth-child(6) {
  text-align: center;
}

.ccrc-member-list {
  display: flex;
  flex-direction: column;
}

.ccrc-member-row {
  gap: 10px;
  min-height: 39px;
  padding: 7px 11px;
  border-bottom: 1px solid rgba(120, 160, 220, 0.08);
}

.ccrc-member-row:last-child {
  border-bottom: 0;
}

.ccrc-member-row--support {
  opacity: 0.78;
}

.ccrc-member-row__player {
  display: flex;
  min-width: 0;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 4px 7px;
}

.ccrc-member-row__player strong {
  overflow: hidden;
  max-width: 100%;
  color: #dfe6f2;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ccrc-member-row__player em {
  flex: 0 0 auto;
  padding: 1px 5px;
  border: 1px solid rgba(240, 198, 74, 0.28);
  border-radius: 5px;
  color: #f0c64a;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.ccrc-member-row__detail {
  display: flex;
  min-width: 0;
  align-items: center;
}

.ccrc-detail-link {
  display: inline-flex;
  max-width: 100%;
  height: 24px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 7px;
  border: 1px solid rgba(120, 160, 220, 0.16);
  border-radius: 6px;
  background: rgba(120, 160, 220, 0.04);
  color: #7f93b3;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.ccrc-detail-link:hover {
  border-color: rgba(120, 160, 220, 0.28);
  background: rgba(120, 160, 220, 0.08);
  color: #b7c7df;
}

.ccrc-detail-link svg {
  flex: 0 0 auto;
}

.ccrc-detail-link path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ccrc-no-data {
  display: inline-flex;
  height: 24px;
  align-items: center;
  color: rgba(127, 147, 179, 0.5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ccrc-member-row__jobs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ccrc-member-row__jobs--mobile {
  display: none;
}

.ccrc-member-row__jobs span:not(.ccrc-member-row__dash) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 24px;
  border-radius: 6px;
  background: var(--job-color);
  color: #fff;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 9.5px;
  font-weight: 700;
}

.ccrc-member-row__rating {
  color: #dfe9f8;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  text-align: center;
}

.ccrc-member-row__rank,
.ccrc-member-row__best {
  text-align: center;
}

.ccrc-member-row__rank span,
.ccrc-member-row__best span {
  display: inline-block;
  color: #cdd9ee;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
}

.ccrc-member-row__rank .is-top10,
.ccrc-member-row__best .is-top10 {
  color: #ffd76a;
  text-shadow:
    0 0 8px rgba(255, 215, 106, 0.56),
    0 0 18px rgba(255, 184, 74, 0.34);
}

.ccrc-member-row__rank .is-top30,
.ccrc-member-row__best .is-top30 {
  color: #dbe8ff;
  text-shadow:
    0 0 8px rgba(190, 215, 255, 0.48),
    0 0 16px rgba(120, 170, 230, 0.28);
}

.ccrc-member-row__dash {
  color: #56688a;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.ccrc-member-row__socials {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.ccrc-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(92, 200, 255, 0.26);
  border-radius: 6px;
  background: rgba(92, 200, 255, 0.1);
}

.ccrc-social--twitch {
  border-color: rgba(145, 70, 255, 0.3);
  background: rgba(145, 70, 255, 0.14);
}

.ccrc-social--youtube {
  border-color: rgba(255, 77, 77, 0.3);
  background: rgba(255, 77, 77, 0.13);
}

.ccrc-social--x {
  border-color: rgba(205, 217, 238, 0.24);
  background: rgba(205, 217, 238, 0.1);
}

.ccrc-social svg {
  overflow: visible;
}

.ccrc-social path,
.ccrc-social rect {
  fill: #9ad6ff;
}

.ccrc-social--twitch path {
  fill: #b794ff;
}

.ccrc-social--youtube rect {
  fill: #ff6b6b;
}

.ccrc-social--youtube path {
  fill: #0e1830;
}

.ccrc-social--x path {
  fill: #dfe6f2;
}

.ccrc-empty,
.ccrc-notice {
  color: #56688a;
  font-size: 12px;
  line-height: 1.7;
}

.ccrc-empty {
  padding: 22px;
  border: 1px solid rgba(120, 160, 220, 0.12);
  border-radius: 12px;
  background: #0e1830;
}

.ccrc-notice {
  margin-top: 34px;
  padding: 22px 34px 0;
  border-top: 1px solid rgba(120, 160, 220, 0.1);
}

@media (max-width: 980px) {
  .ccrc-team-card {
    flex-direction: column;
  }

  .ccrc-team-card__summary {
    flex-basis: auto;
  }

}

@media (max-width: 760px) {
  .ccrc2026-body .page-shell {
    padding-bottom: 36px;
  }

  .ccrc-hero {
    width: auto;
    margin: 20px 14px 0;
    padding: 24px 20px;
  }

  .ccrc-hero h1 {
    font-size: 26px;
  }

  .ccrc-region-tabs__controls,
  .ccrc-team-list {
    padding-right: 14px;
    padding-left: 14px;
  }

  .ccrc-region-tabs__tab {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    padding: 8px 12px;
  }

  .ccrc-event-callout {
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
  }

  .ccrc-event-callout__icon {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
    font-size: 15px;
  }

  .ccrc-event-callout p {
    font-size: 14px;
  }

  .ccrc-final-bracket__head {
    padding: 18px 16px 0;
  }

  .ccrc-final-bracket__head h2 {
    font-size: 21px;
  }

  .ccrc-final-bracket__body {
    grid-template-columns: 260px 260px 240px;
    gap: 48px;
    min-width: 856px;
    padding: 20px 16px 22px;
  }

  .ccrc-final-bracket__match::after {
    right: -48px;
    width: 48px;
  }

  .ccrc-featured-vod__copy {
    padding: 18px 16px 14px;
  }

  .ccrc-featured-vod__copy h2 {
    font-size: 21px;
  }

  .ccrc-featured-vod__copy p {
    font-size: 13px;
  }

  .ccrc-team-card__identity {
    padding: 16px;
  }

  .ccrc-team-card__members {
    padding: 8px 12px 12px;
  }

  .ccrc-member-header {
    display: none;
  }

  .ccrc-member-row {
    grid-template-columns: minmax(0, 1fr) repeat(3, minmax(44px, auto));
    gap: 8px 10px;
    padding: 12px 4px;
  }

  .ccrc-member-row__player {
    grid-column: 1;
    grid-row: 1;
    flex-wrap: wrap;
  }

  .ccrc-member-row__detail {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .ccrc-member-row__jobs,
  .ccrc-member-row__rating,
  .ccrc-member-row__rank,
  .ccrc-member-row__best,
  .ccrc-member-row__socials {
    justify-content: flex-start;
    text-align: left;
  }

  .ccrc-member-row__jobs.ccrc-member-row__jobs--table {
    display: none;
  }

  .ccrc-member-row__jobs--mobile {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .ccrc-member-row__jobs {
    grid-column: 2;
    grid-row: 1;
  }

  .ccrc-member-row__rating,
  .ccrc-member-row__rank,
  .ccrc-member-row__best {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
  }

  .ccrc-member-row__rating {
    grid-column: 2;
    grid-row: 1;
  }

  .ccrc-member-row__rank {
    grid-column: 3;
    grid-row: 1;
  }

  .ccrc-member-row__best {
    grid-column: 4;
    grid-row: 1;
  }

  .ccrc-member-row__rating::before,
  .ccrc-member-row__rank::before,
  .ccrc-member-row__best::before {
    color: #5f718f;
    content: attr(data-label);
    font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
  }

  .ccrc-member-row__rating:not(.has-value)::after,
  .ccrc-member-row__rank:not(.has-value)::after,
  .ccrc-member-row__best:not(.has-value)::after {
    color: rgba(205, 217, 238, 0.46);
    content: "-";
    font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.2;
  }

  .ccrc-member-row__socials {
    grid-column: 2 / 5;
    grid-row: 2;
    justify-content: flex-end;
  }
}

* {
  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));
  }
}

@keyframes ccModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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;
}

body.has-external-confirm {
  overflow: hidden;
}

.external-confirm[hidden] {
  display: none;
}

.external-confirm {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.external-confirm__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 8%, rgba(92, 200, 255, 0.12), transparent 36%),
    rgba(4, 8, 16, 0.76);
  backdrop-filter: blur(2px);
}

.external-confirm__modal {
  position: relative;
  width: min(440px, 100%);
  overflow: hidden;
  border: 1px solid rgba(92, 200, 255, 0.22);
  border-radius: 16px;
  background: #0e1830;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  animation: ccModalIn 0.22s ease-out;
}

.external-confirm__body {
  padding: 24px 26px 20px;
}

.external-confirm__heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.external-confirm__icon {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(92, 200, 255, 0.28);
  border-radius: 11px;
  background: rgba(92, 200, 255, 0.12);
  color: #5cc8ff;
}

.external-confirm__heading h2 {
  margin: 0;
  color: #f2f7ff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.external-confirm__heading p {
  margin: 2px 0 0;
  color: #7f93b3;
  font-size: 12px;
  line-height: 1.45;
}

.external-confirm__destination {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(120, 160, 220, 0.16);
  border-radius: 10px;
  background: #0a1322;
}

.external-confirm__destination span {
  color: #5f718f;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.external-confirm__destination strong {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #dceaff;
  font-size: 13px;
  line-height: 1.35;
}

.external-confirm__destination strong::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5cc8ff;
  content: "";
}

.external-confirm__destination small {
  overflow: hidden;
  color: #7f93b3;
  font-family: "Chivo Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.external-confirm__notices {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.external-confirm__notices p {
  display: flex;
  gap: 10px;
  margin: 0;
  color: #aebbcf;
  font-size: 12px;
  line-height: 1.65;
}

.external-confirm__notices span {
  display: grid;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  place-items: center;
  border: 1px solid currentColor;
  color: #e0a94f;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.external-confirm__notices p + p span {
  border-radius: 50%;
  color: #5cc8ff;
  font-family: Georgia, serif;
  font-style: italic;
}

.external-confirm__footer {
  padding: 15px 26px 20px;
  border-top: 1px solid rgba(120, 160, 220, 0.1);
}

.external-confirm__skip {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #8295b1;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.4;
  user-select: none;
}

.external-confirm__skip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.external-confirm__skip span {
  display: grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(120, 160, 220, 0.35);
  border-radius: 5px;
  color: #08121f;
}

.external-confirm__skip svg {
  opacity: 0;
}

.external-confirm__skip input:checked + span {
  border-color: #5cc8ff;
  background: #5cc8ff;
}

.external-confirm__skip input:checked + span svg {
  opacity: 1;
}

.external-confirm__skip input:focus-visible + span {
  outline: 2px solid rgba(92, 200, 255, 0.72);
  outline-offset: 2px;
}

.external-confirm__actions {
  display: flex;
  gap: 11px;
}

.external-confirm__button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 800;
}

.external-confirm__button--ghost {
  flex: 1;
  border: 1px solid rgba(120, 160, 220, 0.22);
  background: transparent;
  color: #aebec8;
}

.external-confirm__button--ghost:hover,
.external-confirm__button--ghost:focus-visible {
  border-color: rgba(120, 160, 220, 0.4);
  color: #dceaff;
}

.external-confirm__button--primary {
  flex: 1.4;
  border: 1px solid #5cc8ff;
  background: #5cc8ff;
  color: #08121f;
  box-shadow: 0 0 18px rgba(92, 200, 255, 0.35);
}

.external-confirm__button--primary:hover,
.external-confirm__button--primary:focus-visible {
  border-color: #7fd6ff;
  background: #7fd6ff;
}

.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;
  flex: none;
  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);
  color: #f2f7ff;
  font-family: Inter, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  white-space: nowrap;
}

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

.header-live-status__label {
  color: var(--green);
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.header-live-status__mobile-text {
  display: none;
}

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

.header-live-status__freshness {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  color: #6f8aae;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.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 .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;
}

.streaming-section--archives {
  margin-top: 18px;
  background: linear-gradient(180deg, #101827 0, #0b1322 100%);
}

.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-width: none;
}

.stream-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.stream-carousel__bar {
  position: relative;
  height: 12px;
  margin: 20px 0 0;
  border-radius: 999px;
  background: rgba(56, 80, 116, 0.18);
  cursor: pointer;
}

.stream-carousel__bar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 12px;
  border-radius: 999px;
  background: rgba(58, 116, 168, 0.46);
  box-shadow: 0 0 10px rgba(58, 116, 168, 0.1);
  cursor: grab;
  touch-action: none;
}

.stream-carousel__bar:hover .stream-carousel__bar-thumb,
.stream-carousel__bar-thumb.is-dragging {
  background: rgba(76, 136, 194, 0.62);
}

.stream-carousel__bar-thumb.is-dragging {
  cursor: grabbing;
}

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

.stream-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 298px;
  width: 298px;
  overflow: hidden;
  border: 1px solid rgba(120, 160, 220, 0.12);
  border-radius: 11px;
  background: #0d1729;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.stream-card.is-active {
  border-color: rgba(145, 70, 255, 0.72);
  box-shadow: 0 0 18px rgba(145, 70, 255, 0.28);
  transform: translateY(-1px);
}

.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;
}

.live-badge.stream-card__thumbnail-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  gap: 7px;
  padding: 3px 11px;
  border-radius: 999px;
  color: #ffffff;
  background: #f04444;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}

.live-badge.stream-card__thumbnail-badge::before {
  width: 7px;
  height: 7px;
  background: #ffffff;
}

.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 {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 13px 15px 15px;
}

.stream-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-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__viewer-count {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.stream-card__viewer-number {
  font-size: 15px;
  line-height: 1;
}

.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__watch-state {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-top: 1px solid rgba(145, 70, 255, 0.18);
  color: #b995ff;
  background: rgba(145, 70, 255, 0.08);
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stream-card.is-active .stream-card__watch-state {
  display: flex;
}

.stream-card.is-active [data-twitch-embed-watch] {
  display: none;
}

.stream-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 11px 0 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: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.stream-card__meta-rank {
  color: inherit;
  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: nowrap;
  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: 0;
  margin-bottom: 0;
}

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

.stream-card__jobs .muted {
  font-size: 10px;
  line-height: 1.2;
}

.stream-card .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;
}

.stream-embed {
  overflow: hidden;
  width: min(calc(100% - 64px), 1216px);
  margin: 6px auto 28px;
  border: 1px solid rgba(145, 70, 255, 0.18);
  border-radius: 12px;
  background: #07070e;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.stream-embed.is-open {
  opacity: 1;
  transform: translateY(0);
}

.stream-embed__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(145, 70, 255, 0.1);
  background: rgba(145, 70, 255, 0.05);
}

.stream-embed__twitch-icon {
  flex-shrink: 0;
  fill: #9146ff;
}

.stream-embed__info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.stream-embed__streamer {
  overflow: hidden;
  color: #f2f7ff;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stream-embed__title {
  overflow: hidden;
  color: #7c5fbf;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stream-embed__external-link {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(145, 70, 255, 0.32);
  border-radius: 7px;
  color: #d7c6ff;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.stream-embed__external-link:hover {
  border-color: rgba(145, 70, 255, 0.6);
  color: #ffffff;
  background: rgba(145, 70, 255, 0.14);
}

.stream-embed__frame {
  aspect-ratio: 16 / 9;
  min-height: 300px;
  border-top: 1px solid rgba(120, 160, 220, 0.08);
}

.stream-embed__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.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);
}

.ranking-heading-actions .region-switch label {
  align-items: center;
  flex-direction: row;
  gap: 10px;
}

.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-heading-actions .region-switch select {
  width: 132px;
}

.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 input[type="search"],
.filter-bar input[type="text"] {
  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;
  }
}

.analytics-body {
  background: #0b1322;
}

.analytics-body::before,
.analytics-body .crystal-edge,
.analytics-body .site-footer {
  display: none;
}

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

.analytics-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 34px 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.analytics-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.analytics-hero .eyebrow,
.analytics-panel__heading .eyebrow {
  margin: 0;
  color: #5c87cf;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.45;
}

.analytics-hero h2 {
  margin: 4px 0 0;
  color: #f2f7ff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
}

.analytics-hero .ranking-fetched-at {
  display: block;
  margin-top: 9px;
  color: #6f8aae;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.4;
}

.analytics-heading-actions {
  flex: 0 0 auto;
}

.analytics-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(120, 160, 220, 0.22);
  border-radius: 9px;
  color: #cdd9ee;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.analytics-back-link:hover,
.analytics-back-link:focus-visible {
  border-color: rgba(120, 160, 220, 0.38);
  color: #f2f7ff;
}

.analytics-limit-tabs {
  display: flex;
  width: max-content;
  gap: 5px;
  margin-top: 20px;
  padding: 4px;
  border: 1px solid rgba(120, 160, 220, 0.14);
  border-radius: 11px;
  background: #0e1830;
}

.analytics-limit-tab {
  min-width: 0;
  height: auto;
  padding: 8px 20px;
  border: 0;
  border-radius: 8px;
  color: #9fb3d4;
  background: transparent;
  box-shadow: none;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.analytics-limit-tab.is-active {
  border-color: transparent;
  color: #06223a;
  background: #5cc8ff;
  box-shadow: none;
}

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

.analytics-panel + .analytics-panel {
  margin-top: 42px;
}

.analytics-panel__heading {
  align-items: center;
  padding: 0;
}

.analytics-panel__heading h3 {
  margin: 3px 0 0;
  color: #f2f7ff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.analytics-title-with-note {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 3px;
}

.analytics-title-with-note h3 {
  margin: 0;
}

.analytics-title-with-note small {
  color: #7f93b3;
  font-size: 11.5px;
  line-height: 1.4;
}

.role-legend {
  gap: 15px;
  max-width: none;
}

.role-legend__item {
  gap: 7px;
  color: #aebbcf;
  font-size: 11px;
  font-weight: 600;
}

.role-legend__item i {
  width: 13px;
  height: 13px;
  border-radius: 4px;
}

.role-share-list {
  gap: 10px;
  margin-top: 18px;
  padding: 0;
}

.role-share-row {
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
}

.role-share-row__label {
  text-align: right;
}

.role-share-row__label strong {
  color: #aebbcf;
  font-size: 13px;
  font-weight: 700;
}

.role-stack {
  height: 36px;
  gap: 2px;
  border: 0;
  border-radius: 9px;
  background: #0e1830;
}

.role-stack__segment {
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-stack__segment span {
  position: static;
  display: block;
  overflow: hidden;
  padding: 0 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: none;
  white-space: nowrap;
}

.analytics-limit-notes {
  gap: 4px;
  padding: 2px 0 0 92px;
}

.analytics-limit-notes small {
  color: #6f8aae;
  font-size: 11px;
}

.analytics-heatmap {
  margin-top: 18px;
}

.analytics-heatmap__head,
.analytics-heatmap__rows {
  display: grid;
  grid-template-columns: 64px repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.analytics-heatmap__head {
  margin-bottom: 7px;
}

.analytics-heatmap__head div {
  padding: 2px 0;
  color: #cdd9ee;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
}

.analytics-heatmap__group-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 13px 0 7px;
}

.analytics-heatmap__group-heading span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #aebbcf;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.analytics-heatmap__group-heading i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--role-color);
}

.analytics-heatmap__group-heading b {
  flex: 1;
  height: 1px;
  background: rgba(120, 160, 220, 0.1);
}

.analytics-heatmap__rows {
  margin-bottom: 2px;
}

.analytics-heatmap__job {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 9px;
  color: #8295b1;
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 33px;
}

.analytics-heatmap__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  border-radius: 6px;
  color: var(--cell-color);
  background: var(--cell-bg);
  font-family: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.analytics-heatmap__cell.is-max {
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}

.analytics-heatmap__cell[href]:hover,
.analytics-heatmap__cell[href]:focus-visible {
  filter: brightness(1.18);
}

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

.analytics-detail .analytics-panel__heading {
  margin-bottom: 18px;
}

.analytics-footer {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(120, 160, 220, 0.1);
}

.analytics-footer div {
  color: #6f8aae;
  font-size: 11.5px;
  line-height: 1.5;
}

.analytics-footer p {
  margin: 10px 0 0;
  color: #56688a;
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .analytics-page {
    padding: 24px 18px 0;
  }

  .analytics-hero {
    display: grid;
  }

  .analytics-heading-actions {
    justify-self: start;
  }

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

  .analytics-panel__heading,
  .analytics-title-with-note {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .role-share-row__label {
    text-align: left;
  }

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

  .analytics-heatmap {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .analytics-heatmap__head,
  .analytics-heatmap__rows {
    min-width: 560px;
  }
}

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

.ranking-load-more {
  display: flex;
  justify-content: center;
  padding: 18px 12px 6px;
  color: var(--text-muted);
  font-size: .82rem;
  letter-spacing: 0;
}

.ranking-load-more[hidden] {
  display: 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: 88px;
}

.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;
}

.sub-character-mark {
  margin-left: 4px;
  color: rgba(180, 196, 218, 0.56);
  font-size: 11px;
  font-weight: 400;
}

.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: 78px;
  }

  .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 {
  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 115px 115px 175px 235px;
  grid-template-areas: "all tank healer melee range";
  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--all {
  grid-area: all;
}

.timeline-filter__job-row--tank {
  grid-area: tank;
}

.timeline-filter__job-row--healer {
  grid-area: healer;
}

.timeline-filter__job-row--melee {
  grid-area: melee;
}

.timeline-filter__job-row--range {
  grid-area: range;
}

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

.timeline-filter__job-row--tank .timeline-filter__chips,
.timeline-filter__job-row--healer .timeline-filter__chips {
  grid-template-columns: repeat(2, 55px);
}

.timeline-filter__job-row--melee .timeline-filter__chips {
  grid-template-columns: repeat(3, 55px);
}

.timeline-filter__job-row--range .timeline-filter__chips {
  grid-template-columns: repeat(4, 55px);
}

.timeline-filter__job-row--range .timeline-filter-chip:nth-child(-n + 3) {
  grid-row: 1;
}

.timeline-filter__job-row--range .timeline-filter-chip:nth-child(1) {
  grid-column: 1;
}

.timeline-filter__job-row--range .timeline-filter-chip:nth-child(2) {
  grid-column: 2;
}

.timeline-filter__job-row--range .timeline-filter-chip:nth-child(3) {
  grid-column: 3;
}

.timeline-filter__job-row--range .timeline-filter-chip:nth-child(n + 4) {
  grid-row: 2;
}

.timeline-filter__job-row--range .timeline-filter-chip:nth-child(4) {
  grid-column: 1;
}

.timeline-filter__job-row--range .timeline-filter-chip:nth-child(5) {
  grid-column: 2;
}

.timeline-filter__job-row--range .timeline-filter-chip:nth-child(6) {
  grid-column: 3;
}

.timeline-filter__job-row--range .timeline-filter-chip:nth-child(7) {
  grid-column: 4;
}

.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-row--all .timeline-filter-chip {
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  gap: 7px;
}

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

.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--language-ja,
.timeline-filter-chip--region-jp {
  --filter-accent: #5cc8ff;
}

.timeline-filter-chip--language-en,
.timeline-filter-chip--region-na {
  --filter-accent: #4fd38a;
}

.timeline-filter-chip--region-eu {
  --filter-accent: #b07cff;
}

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

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

.timeline-filter-chip--category.is-active,
.timeline-filter-chip--platform.is-active,
.timeline-filter-chip--language.is-active,
.timeline-filter-chip--region.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: 36px 0 28px 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: 26px;
}

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

.timeline-card:hover {
  border-color: rgba(92, 200, 255, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.timeline-card__body {
  position: relative;
  display: block;
  min-width: 0;
}

.timeline-card__article {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 15px 18px 13px;
  border-radius: 11px 11px 0 0;
  color: inherit;
  text-decoration: none;
}

.timeline-card__article:last-child {
  border-radius: 11px;
}

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

.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__language {
  color: #8290a8 !important;
  border-color: rgba(130, 144, 168, 0.2) !important;
  background: rgba(130, 144, 168, 0.08) !important;
}

.timeline-card__language--foreign {
  color: #ffe6e6 !important;
  border-color: rgba(255, 82, 96, 0.82) !important;
  background: rgba(151, 24, 39, 0.62) !important;
  box-shadow: 0 0 0 1px rgba(255, 82, 96, 0.18), 0 0 12px rgba(255, 82, 96, 0.32);
}

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

.timeline-card__article > strong {
  padding-right: 0;
}

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

.timeline-card__article-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  margin-top: 5px;
}

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

.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: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid rgba(120, 160, 220, 0.09);
  border-radius: 0 0 11px 11px;
  background: rgba(120, 160, 220, 0.045);
}

.timeline-card__player {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 11px 18px;
  color: inherit;
  text-decoration: none;
}

.timeline-card__player + .timeline-card__player {
  border-top: 1px solid rgba(120, 160, 220, 0.07);
}

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

.timeline-card__player:last-child {
  border-radius: 0 0 11px 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: 4px;
  margin-left: auto;
  padding: 0;
  border: 0;
  color: #8aa0c2;
  background: transparent;
  font-family: "Rajdhani", "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.timeline-card__player:hover .timeline-card__player-link,
.timeline-card__player:focus-visible .timeline-card__player-link {
  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 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 0;
  border: 0;
  color: #9ad6ff;
  background: transparent;
  font-family: "Rajdhani", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.timeline-card__article:hover .timeline-card__open,
.timeline-card__article:focus-visible .timeline-card__open {
  color: #bfe9ff;
}

.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 {
  --operations-canvas: #f2f3f5;
  --operations-panel: #ffffff;
  --operations-panel-border: #dde1e6;
  --operations-panel-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  --operations-section-bg: #f7f8f9;
  --operations-section-border: #e5e7eb;
  --operations-nested-bg: #f9fafb;
  --operations-nested-border: #e9ebee;
  --panel: #ffffff;
  --panel-strong: #f9fafb;
  --line: #d7dde5;
  --line-bright: #6b7280;
  --cyan: #1f2937;
  --cyan-soft: #374151;
  --blue: #374151;
  --violet: #4b5563;
  --text: #111827;
  --text-soft: #4b5563;
  --muted: #6b7280;
  --green: #166534;
  --red: #b91c1c;
  --gold: #854d0e;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  color-scheme: light;
  background: #ffffff;
}

.operations-body::before,
.operations-body .crystal-edge {
  display: none;
}

.operations-body .page-shell {
  background: #ffffff;
}

.operations-body .site-header {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.operations-body .site-nav-row {
  border-top: 1px solid #f3f4f6;
  background: #ffffff;
}

.stream-ocr-body.operations-body,
.stream-ocr-body.operations-body .page-shell,
.stream-ocr-body.operations-body .site-header,
.stream-ocr-body.operations-body .site-nav-row {
  background: var(--operations-canvas);
}

.operations-body .brand__text,
.operations-body .site-nav a,
.operations-body .language-switch span,
.operations-body .site-footer,
.operations-body .site-footer a {
  color: #374151;
}

.operations-body .brand__text strong,
.operations-body .site-nav a.is-active {
  color: #111827;
}

.operations-body .site-nav a::after {
  background: #111827;
  box-shadow: none;
}

.operations-body .header-live-status,
.operations-body .header-share-link,
.operations-body .language-switch select,
.operations-body .button--ghost {
  border-color: #d1d5db;
  color: #374151;
  background: #ffffff;
}

.operations-body .button--primary {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
  box-shadow: none;
}

.operations-body .content-panel {
  border-color: var(--operations-panel-border);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--operations-panel-shadow);
}

.operations-body .workbench-filter input,
.operations-body .workbench-filter select,
.operations-body .workbench-link-form input,
.operations-body .workbench-link-form select,
.operations-body .workbench-link-form textarea {
  border-color: #d1d5db;
  color: #111827;
  background: #ffffff;
}

.operations-body .workbench-card__header,
.operations-body .character-submission-workbench-section + .character-submission-workbench-section {
  border-color: #e5e7eb;
}

.operations-body .workbench-card__links a,
.operations-body .stream-ocr-metrics span,
.operations-body .stream-ocr-search-summary span,
.operations-body .stream-ocr-search-result__body span,
.operations-body .stream-ocr-participant-pill small,
.operations-body .stream-ocr-segment-heading span,
.operations-body .stream-ocr-character-option {
  border-color: #d1d5db;
  color: #4b5563;
  background: #f9fafb;
}

.operations-body .workbench-alert--success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.operations-body .workbench-alert--error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.operations-body .social-workbench,
.operations-body .operations-page {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  min-height: 68vh;
  margin: 0 auto;
  padding: 28px 32px 40px;
  border-radius: 12px;
  background: var(--operations-canvas);
}

.operations-body .eyebrow {
  color: #6b7280;
}

.operations-body .operations-header h1 {
  color: #111827;
  font-size: 1.625rem;
}

.operations-body .operations-header .muted,
.operations-body .page-intro > p:last-child {
  color: #4b5563;
}

.operations-body .admin-tool-card:hover {
  border-color: #c7cbd1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.operations-body .admin-tool-card__action,
.operations-body .workbench-existing-links__list a,
.operations-body .workbench-candidate__links a,
.operations-body .ops-table a {
  color: #374151;
}

.off-ranking-management-page {
  width: min(1180px, calc(100% - 32px));
  min-height: 68vh;
  margin: 0 auto;
  padding: 28px 32px 40px;
  border-radius: 12px;
  background: #f2f3f5;
}

.home-page.off-ranking-management-page .ranking-section {
  width: 100%;
  margin: 0;
}

.home-page.off-ranking-management-page .section-heading--ranking {
  margin-bottom: 18px;
}

.home-page.off-ranking-management-page .section-heading--ranking .eyebrow,
.home-page.off-ranking-management-page .ranking-fetched-at {
  color: #6b7280;
}

.home-page.off-ranking-management-page .section-heading--ranking h2 {
  color: #111827;
  font-size: 1.625rem;
}

.home-page.off-ranking-management-page .section-gem {
  background: #111827;
  box-shadow: none;
}

.home-page.off-ranking-management-page .filter-bar,
.home-page.off-ranking-management-page .ranking-table-wrap {
  border-color: #dde1e6;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.home-page.off-ranking-management-page .filter-bar label {
  border-color: #e9ebee;
  background: #f9fafb;
}

.home-page.off-ranking-management-page .filter-bar label > span {
  color: #6b7280;
}

.home-page.off-ranking-management-page .filter-bar select,
.home-page.off-ranking-management-page .filter-bar input[type="search"],
.home-page.off-ranking-management-page .filter-bar input[type="text"] {
  color: #111827;
  background: #ffffff;
}

.home-page.off-ranking-management-page .ranking-table th {
  border-color: #e5e7eb;
  color: #6b7280;
}

.home-page.off-ranking-management-page .ranking-table td {
  border-color: #e5e7eb;
  color: #111827;
}

.home-page.off-ranking-management-page .ranking-table tbody tr:nth-child(even),
.home-page.off-ranking-management-page .ranking-table tr.is-live {
  background: #f9fafb;
}

.home-page.off-ranking-management-page .ranking-table tbody tr:hover,
.home-page.off-ranking-management-page .ranking-table tr.is-live:hover {
  background: #f3f4f6;
}

.home-page.off-ranking-management-page .rank-number,
.home-page.off-ranking-management-page .player-link,
.home-page.off-ranking-management-page .results-list b {
  color: #111827;
}

.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;
}

.operations-body .workbench-filter {
  border-color: var(--operations-panel-border);
  background: var(--operations-panel);
  box-shadow: var(--operations-panel-shadow);
}

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

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

.workbench-form__fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.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);
}

.operations-body .workbench-filter input,
.operations-body .workbench-filter select,
.operations-body .workbench-link-form input,
.operations-body .workbench-link-form select,
.operations-body .workbench-link-form textarea {
  border-color: #d1d5db;
  color: #111827;
  background: #ffffff;
}

.operations-body .workbench-link-form input:disabled {
  border-color: #e5e7eb;
  color: #6b7280;
  background: #f7f8f9;
}

.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;
}

.character-submission-workbench-filter {
  grid-template-columns: minmax(220px, 320px) auto auto;
}

.character-submission-workbench-section {
  display: grid;
  gap: 12px;
}

.character-submission-workbench-section + .character-submission-workbench-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(103, 199, 255, 0.16);
}

.character-submission-workbench-section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px;
}

.character-submission-workbench-section__header h2 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.character-submission-workbench-section__header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.character-submission-workbench-section__header > span {
  min-width: 34px;
  padding: 5px 10px;
  border: 1px solid rgba(103, 199, 255, 0.2);
  border-radius: 999px;
  color: var(--cyan-soft);
  text-align: center;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-weight: 800;
}

.workbench-card {
  padding: 22px;
}

.operations-body .workbench-card {
  padding: 20px 22px;
}

.character-submission-card {
  position: relative;
}

.character-submission-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--cyan);
  content: "";
  opacity: 0.7;
}

.character-submission-card--reviewing::before {
  background: #9fb7ff;
}

.character-submission-card--rejected {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(35, 43, 56, 0.58);
  opacity: 0.78;
}

.character-submission-card--rejected::before {
  background: #8792a5;
}

.character-submission-card--rejected .workbench-card__header h2,
.character-submission-card--rejected .workbench-meta dd {
  color: #c5cfdd;
}

.character-submission-card--rejected .workbench-card__links a {
  border-color: rgba(148, 163, 184, 0.22);
  color: #9aa8ba;
}

.character-submission-card--accepted {
  border-color: rgba(89, 232, 139, 0.18);
  background: rgba(9, 36, 25, 0.44);
  opacity: 0.86;
}

.character-submission-card--accepted::before {
  background: var(--green);
}

.operations-body .character-submission-card::before {
  background: #111827;
  opacity: 0.18;
}

.operations-body .character-submission-card--reviewing::before,
.operations-body .character-submission-card--accepted::before,
.operations-body .character-submission-card--rejected::before {
  background: #6b7280;
}

.operations-body .character-submission-card--rejected,
.operations-body .character-submission-card--accepted {
  border-color: var(--operations-panel-border);
  background: #ffffff;
}

.operations-body .character-submission-card--rejected {
  opacity: 0.62;
}

.operations-body .character-submission-card--accepted {
  opacity: 0.86;
}

.operations-body .character-submission-card--rejected .workbench-card__header h2,
.operations-body .character-submission-card--rejected .workbench-meta dd {
  color: #111827;
}

.operations-body .character-submission-card--rejected .workbench-card__links a {
  border-color: #d1d5db;
  color: #374151;
}

.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);
}

.operations-body .workbench-card__header {
  border-color: var(--operations-section-border);
}

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

.operations-body .workbench-card__header h2,
.operations-body .workbench-card__header h2 a {
  color: #111827;
}

.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);
}

.operations-body .workbench-card__header p,
.operations-body .workbench-card__header p span {
  color: #4b5563;
}

.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-form__fieldset,
.workbench-link-form .button {
  grid-column: 1 / -1;
}

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

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

.ccrc-management-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 22px;
}

.ccrc-management-page {
  padding-top: 0;
}

.ccrc-management-hero {
  min-height: 260px;
}

.ccrc-management-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.ccrc-management-toolbar {
  display: grid;
  gap: 14px;
  margin: 0 auto 22px;
  padding: 18px;
}

.ccrc-management-filter {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.ccrc-management-create {
  border-top: 1px solid rgba(103, 199, 255, 0.14);
  padding-top: 12px;
}

.ccrc-management-create summary,
.ccrc-management-secondary summary {
  cursor: pointer;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ccrc-management-create__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(360px, 1.25fr);
  gap: 18px;
  margin-top: 14px;
}

.ccrc-management-create__grid section {
  display: grid;
  align-content: start;
  gap: 12px;
}

.ccrc-management-tabs {
  margin-bottom: 22px;
}

.ccrc-management-editor {
  display: grid;
  gap: 18px;
  padding: 22px;
  scroll-margin-top: 92px;
}

.ccrc-management-editor > .workbench-card__header {
  padding-bottom: 16px;
}

.ccrc-management-secondary {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(103, 199, 255, 0.14);
  padding-top: 16px;
}

.ccrc-management-secondary details {
  border: 1px solid rgba(103, 199, 255, 0.14);
  border-radius: 8px;
  padding: 13px;
  background: rgba(3, 13, 26, 0.3);
}

.ccrc-management-secondary details[open] summary {
  margin-bottom: 14px;
}

.ccrc-management-panel h2,
.ccrc-management-detail h3 {
  margin: 0;
  color: var(--cyan);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.ccrc-management-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.ccrc2026-body.operations-body .ccrc-management-page {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  min-height: 68vh;
  margin: 0 auto;
  padding: 28px 32px 40px;
  border-radius: 12px;
  background: var(--operations-canvas);
  color: #111827;
}

.ccrc2026-body.operations-body .ccrc-management-hero {
  min-height: auto;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

.ccrc2026-body.operations-body .ccrc-management-hero p,
.ccrc2026-body.operations-body .ccrc-management-hero h1 {
  color: #111827;
  text-align: left;
}

.ccrc2026-body.operations-body .ccrc-management-hero p {
  color: #6b7280;
}

.ccrc2026-body.operations-body .ccrc-management-hero__actions {
  justify-content: flex-start;
}

.ccrc2026-body.operations-body .ccrc-management-toolbar,
.ccrc2026-body.operations-body .ccrc-management-editor,
.ccrc2026-body.operations-body .ccrc-team-card {
  border-color: var(--operations-panel-border);
  background: var(--operations-panel);
  box-shadow: var(--operations-panel-shadow);
}

.ccrc2026-body.operations-body .ccrc-team-card {
  color: #111827;
}

.ccrc2026-body.operations-body .ccrc-team-card--selected {
  border-color: #9ca3af;
}

.ccrc2026-body.operations-body .ccrc-team-card__identity h2,
.ccrc2026-body.operations-body .ccrc-team-card__metrics strong,
.ccrc2026-body.operations-body .ccrc-member-row__player strong,
.ccrc2026-body.operations-body .ccrc-member-row__rating.has-value,
.ccrc2026-body.operations-body .ccrc-member-row__rank.has-value,
.ccrc2026-body.operations-body .ccrc-member-row__best.has-value {
  color: #111827;
}

.ccrc2026-body.operations-body .ccrc-team-card__identity p,
.ccrc2026-body.operations-body .ccrc-team-card__metrics span,
.ccrc2026-body.operations-body .ccrc-member-header,
.ccrc2026-body.operations-body .ccrc-member-row__player em,
.ccrc2026-body.operations-body .ccrc-empty {
  color: #6b7280;
}

.ccrc2026-body.operations-body .ccrc-member-header,
.ccrc2026-body.operations-body .ccrc-member-row,
.ccrc2026-body.operations-body .ccrc-management-create,
.ccrc2026-body.operations-body .ccrc-management-secondary {
  border-color: var(--operations-section-border);
}

.ccrc2026-body.operations-body .ccrc-region-tabs__tab,
.ccrc2026-body.operations-body .ccrc-team-card__metrics div,
.ccrc2026-body.operations-body .ccrc-team-card__placeholder,
.ccrc2026-body.operations-body .ccrc-member-row--support {
  border-color: var(--operations-nested-border);
  background: var(--operations-nested-bg);
}

.ccrc2026-body.operations-body .ccrc-region-tabs__tab {
  color: #4b5563;
}

.ccrc2026-body.operations-body #ccrc-region-jp:checked ~ .ccrc-region-tabs__controls .ccrc-region-tabs__tab--jp,
.ccrc2026-body.operations-body #ccrc-region-na:checked ~ .ccrc-region-tabs__controls .ccrc-region-tabs__tab--na,
.ccrc2026-body.operations-body #ccrc-region-eu:checked ~ .ccrc-region-tabs__controls .ccrc-region-tabs__tab--eu {
  border-color: #111827;
  color: #ffffff;
  background: #111827;
}

.ccrc2026-body.operations-body .ccrc-detail-link,
.ccrc2026-body.operations-body .ccrc-team-card__links a,
.ccrc2026-body.operations-body .ccrc-management-create summary,
.ccrc2026-body.operations-body .ccrc-management-secondary summary {
  color: #374151;
}

.ccrc-team-selector {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.ccrc-team-selector h2 {
  margin: 0;
  font-size: 0.92rem;
}

.ccrc-team-selector__list {
  display: grid;
  max-height: 70vh;
  gap: 8px;
  overflow: auto;
}

.ccrc-team-selector__list a {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(103, 199, 255, 0.14);
  border-radius: 8px;
  color: var(--text);
  background: rgba(3, 13, 26, 0.35);
  text-decoration: none;
}

.ccrc-team-selector__list a.is-active {
  border-color: rgba(88, 213, 255, 0.68);
  background: rgba(76, 197, 255, 0.12);
}

.ccrc-team-selector__list small {
  color: var(--muted);
}

.ccrc-management-detail {
  display: grid;
  gap: 16px;
}

.ccrc-management-form {
  margin-top: 16px;
}

.ccrc-management-items {
  display: grid;
  gap: 12px;
  margin: 16px 0 20px;
}

.ccrc-management-item {
  padding: 14px;
  border: 1px solid rgba(103, 199, 255, 0.14);
  border-radius: 8px;
  background: rgba(3, 13, 26, 0.35);
}

.ccrc-management-actions {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 10px;
}

.form-error {
  color: var(--red);
  font-size: 0.74rem;
}

.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 strong a {
  color: inherit;
}

.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;
}

.operations-body .workbench-candidate {
  border-color: var(--operations-nested-border);
  background: var(--operations-nested-bg);
}

.operations-body .workbench-candidate--approved {
  border-color: #d1d5db;
}

.operations-body .workbench-candidate--rejected {
  border-color: #d1d5db;
  opacity: 0.62;
}

.operations-body .workbench-candidate__title strong {
  color: #111827;
}

.operations-body .workbench-candidate__title span {
  color: #4b5563;
  font-weight: 700;
}

.operations-body .workbench-candidate__meta,
.operations-body .workbench-candidate__main p {
  color: #6b7280;
}

.operations-body .workbench-candidate__actions select {
  border-color: #d1d5db;
  color: #111827;
  background: #ffffff;
}

.operations-body .workbench-evidence pre,
.operations-body .workbench-query-hint code,
.operations-body .workbench-existing-links__list > div,
.operations-body .ccrc-management-item,
.operations-body .ccrc-management-secondary details {
  border-color: var(--operations-nested-border);
  color: #4b5563;
  background: var(--operations-nested-bg);
}

.operations-body .workbench-existing-links__list strong,
.operations-body .workbench-candidates h3,
.operations-body .workbench-existing-links h3,
.operations-body .workbench-evidence h3,
.operations-body .ccrc-management-panel h2,
.operations-body .ccrc-management-detail h3 {
  color: #111827;
}

.stream-ocr-page--segment-detail .workbench-candidate {
  padding: 14px 16px;
  border-color: #e9ebee;
  background: #f9fafb;
}

.stream-ocr-page--segment-detail .workbench-candidate__title {
  gap: 9px;
  align-items: baseline;
}

.stream-ocr-page--segment-detail .workbench-candidate__title strong {
  color: #111827;
  font-size: 0.8rem;
}

.stream-ocr-page--segment-detail .workbench-candidate__title span {
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 700;
}

.stream-ocr-page--segment-detail .workbench-candidate__meta {
  color: #6b7280;
}

.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;
}

.stream-ocr-filter {
  grid-template-columns: minmax(220px, 1fr) minmax(190px, 0.8fr) minmax(160px, 220px) 120px;
}

.stream-ocr-page {
  --stream-ocr-canvas: #f2f3f5;
  --stream-ocr-panel: #ffffff;
  --stream-ocr-panel-border: #dde1e6;
  --stream-ocr-panel-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  --stream-ocr-section-bg: #f7f8f9;
  --stream-ocr-section-border: #e5e7eb;
  --stream-ocr-nested-bg: #f9fafb;
  --stream-ocr-nested-border: #e9ebee;
  --stream-ocr-text: #111827;
  --stream-ocr-text-soft: #4b5563;
  --stream-ocr-muted: #6b7280;
  width: min(1180px, calc(100% - 32px));
  padding: 28px 32px 40px;
  border-radius: 12px;
  background: var(--stream-ocr-canvas);
}

.stream-ocr-body.operations-body .stream-ocr-workbench {
  width: min(1440px, calc(100% - 32px));
  max-width: 1440px;
}

.stream-ocr-page .operations-header h1 {
  color: var(--stream-ocr-text);
  font-size: 1.625rem;
}

.stream-ocr-page .content-panel {
  border-color: var(--stream-ocr-panel-border);
  background: var(--stream-ocr-panel);
  box-shadow: var(--stream-ocr-panel-shadow);
}

.stream-ocr-panel-with-heading {
  overflow: hidden;
  padding: 0;
}

.stream-ocr-panel-heading,
.stream-ocr-section-heading {
  padding: 12px 18px;
  border-bottom: 1px solid var(--stream-ocr-section-border);
  background: var(--stream-ocr-section-bg);
}

.stream-ocr-panel-heading span,
.stream-ocr-panel-heading h2,
.stream-ocr-section-heading h2 {
  margin: 0;
  color: var(--stream-ocr-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.stream-ocr-panel-heading h2,
.stream-ocr-section-heading h2 {
  color: var(--stream-ocr-text);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.stream-ocr-page--workbench .stream-ocr-filter {
  display: block;
  margin-bottom: 18px;
}

.stream-ocr-filter__body {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(190px, 0.8fr) minmax(160px, 220px) 120px;
  gap: 14px;
  align-items: end;
  padding: 18px;
}

.stream-ocr-search-filter {
  grid-template-columns: minmax(260px, 1fr) 120px;
}

.stream-ocr-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.stream-ocr-breadcrumb a {
  color: var(--cyan-soft);
}

.stream-ocr-breadcrumb a::after {
  margin-left: 6px;
  color: var(--muted);
  content: ">";
}

.stream-ocr-breadcrumb span {
  margin-left: 0;
  color: var(--text-soft);
}

.stream-ocr-card-kicker {
  margin: 0 0 4px;
  color: var(--cyan-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stream-ocr-archive-card {
  position: relative;
  padding: 20px 22px;
  cursor: pointer;
}

.stream-ocr-archive-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.stream-ocr-archive-card__overlay:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.stream-ocr-archive-card a:not(.stream-ocr-archive-card__overlay) {
  position: relative;
  z-index: 2;
}

.stream-ocr-archive-card .workbench-card__header {
  padding-bottom: 0;
  border-bottom: 0;
}

.stream-ocr-page .workbench-card__links a {
  border-color: #d1d5db;
  border-radius: 7px;
  color: #374151;
  background: #ffffff;
  font-weight: 700;
}

.workbench-card__header .stream-ocr-archive-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: baseline;
  margin: 0 0 5px;
  padding-left: 0;
  color: var(--text);
}

.stream-ocr-archive-fact {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
}

.workbench-card__header .stream-ocr-archive-facts .stream-ocr-archive-fact {
  margin-left: 0;
}

.workbench-card__header .stream-ocr-archive-facts span {
  margin-left: 0;
}

.stream-ocr-archive-fact__label {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.workbench-card__header .stream-ocr-archive-date time,
.workbench-card__header .stream-ocr-archive-facts .stream-ocr-archive-fact__value {
  color: #ffffff;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
}

.stream-ocr-archive-fact--streamer {
  min-width: 0;
}

.stream-ocr-archive-streamer {
  display: inline-flex;
  gap: 5px;
  align-items: baseline;
  min-width: 0;
}

.stream-ocr-archive-streamer a {
  color: inherit;
}

.workbench-card__header .stream-ocr-archive-character {
  margin-top: 0;
  color: var(--text);
  font-size: 1.22rem;
}

.stream-ocr-archive-character a {
  color: inherit;
}

.stream-ocr-archive-twitch-name {
  color: var(--text-soft);
  font-family: Inter, "Noto Sans JP", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.stream-ocr-archive-summary-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px 14px;
  align-items: center;
  margin-top: 8px;
  min-width: 0;
}

.stream-ocr-archive-match-count {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 126px;
  padding: 8px 12px;
  border: 1px solid var(--stream-ocr-nested-border, rgba(103, 199, 255, 0.16));
  border-radius: 8px;
  background: var(--stream-ocr-nested-bg, rgba(3, 13, 26, 0.42));
}

.stream-ocr-archive-match-count span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.stream-ocr-archive-match-count strong {
  margin-left: auto;
  color: var(--stream-ocr-text, #ffffff);
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 1.34rem;
  line-height: 1;
}

.stream-ocr-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 8px 0 0;
}

.stream-ocr-meta-list--compact {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 6px 12px;
  min-width: 0;
  margin-top: 0;
}

.stream-ocr-meta-list div {
  display: flex;
  gap: 5px;
  align-items: baseline;
  min-width: 0;
}

.stream-ocr-meta-list dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.stream-ocr-meta-list dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.stream-ocr-meta-list--compact dd {
  font-size: 0.72rem;
}

.stream-ocr-meta-list dd a {
  color: inherit;
}

.stream-ocr-archive-card__body,
.stream-ocr-archive-summary,
.stream-ocr-search-summary,
.stream-ocr-search-result__body {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 14px;
}

.stream-ocr-archive-card__body {
  display: block;
}

.stream-ocr-archive-status {
  display: grid;
  gap: 10px;
  align-content: center;
}

.stream-ocr-archive-status p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.6;
}

.stream-ocr-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stream-ocr-metric-grid div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(103, 199, 255, 0.16);
  border-radius: 8px;
  background: rgba(3, 13, 26, 0.42);
}

.stream-ocr-metric-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.stream-ocr-metric-grid strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 1.55rem;
}

.stream-ocr-archive-summary {
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 18px;
}

.stream-ocr-archive-summary__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: baseline;
}

.stream-ocr-archive-summary__facts strong {
  display: block;
  margin-top: 3px;
  color: #ffffff;
}

.operations-body .stream-ocr-archive-summary__facts strong,
.operations-body .stream-ocr-metric-grid strong,
.operations-body .workbench-card__header .stream-ocr-archive-date time,
.operations-body .workbench-card__header .stream-ocr-archive-facts .stream-ocr-archive-fact__value {
  color: #111827;
}

.stream-ocr-match-toc {
  display: grid;
  margin-bottom: 16px;
}

.stream-ocr-match-toc h2 {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
}

.stream-ocr-match-toc__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 18px;
}

.stream-ocr-match-toc__links a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--stream-ocr-nested-border, var(--line));
  border-radius: 999px;
  color: var(--text);
  background: var(--stream-ocr-nested-bg, var(--panel-strong));
}

.stream-ocr-match-toc__links span {
  color: var(--text-soft);
  font-size: 0.72rem;
}

.stream-ocr-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.stream-ocr-metrics--left {
  margin: 8px 0 0;
}

.stream-ocr-metrics span,
.stream-ocr-search-summary span,
.stream-ocr-search-result__body span,
.stream-ocr-participant-pill small {
  padding: 4px 8px;
  border: 1px solid var(--stream-ocr-nested-border, rgba(103, 199, 255, 0.16));
  border-radius: 999px;
  color: var(--stream-ocr-text-soft, var(--text-soft));
  background: var(--stream-ocr-nested-bg, rgba(3, 13, 26, 0.42));
  font-size: 0.72rem;
}

.stream-ocr-segment-card--rejected {
  opacity: 0.62;
}

.stream-ocr-segment-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  scroll-margin-top: 108px;
}

.stream-ocr-segment-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.stream-ocr-segment-card__overlay:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.stream-ocr-segment-card .stream-ocr-evidence-strip a {
  position: relative;
  z-index: 2;
}

.stream-ocr-segment-heading,
.stream-ocr-section-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.stream-ocr-segment-heading {
  margin-bottom: 4px;
}

.stream-ocr-page--archive-detail .stream-ocr-segment-card .workbench-card__header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--stream-ocr-section-border);
  background: var(--stream-ocr-section-bg);
}

.stream-ocr-segment-heading .stream-ocr-card-kicker,
.stream-ocr-section-title-row h3 {
  margin-bottom: 0;
  line-height: 1.4;
}

.stream-ocr-segment-heading span {
  padding: 4px 8px;
  border: 1px solid rgba(103, 199, 255, 0.16);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(3, 13, 26, 0.42);
  font-size: 0.72rem;
}

.stream-ocr-segment-heading .stream-ocr-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  color: var(--stream-ocr-muted);
  background: var(--stream-ocr-nested-bg);
  font-size: 0.72rem;
  font-weight: 800;
}

.stream-ocr-segment-heading .stream-ocr-status-chip--approved {
  border-color: var(--stream-ocr-text);
  color: #ffffff;
  background: var(--stream-ocr-text);
}

.stream-ocr-segment-heading .stream-ocr-status-chip--refine_pending,
.stream-ocr-segment-heading .stream-ocr-status-chip--refining,
.stream-ocr-segment-heading .stream-ocr-status-chip--dashed {
  border-style: dashed;
}

.stream-ocr-section-title-row {
  margin-bottom: 10px;
}

.stream-ocr-section-title-row .stream-ocr-metrics {
  align-items: center;
  margin-left: 0;
}

.stream-ocr-segment-title small {
  color: var(--text-soft);
  font-family: Inter, "Noto Sans JP", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.stream-ocr-segment-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 18px;
  padding: 20px;
}

.stream-ocr-page--archive-detail .stream-ocr-segment-card__body {
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: 22px;
}

.stream-ocr-segment-card__body h3,
.stream-ocr-section-heading h2 {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.stream-ocr-page .stream-ocr-panel-heading h2,
.stream-ocr-page .stream-ocr-section-heading h2 {
  margin: 0;
  color: var(--stream-ocr-text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.stream-ocr-participant-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stream-ocr-participant-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid var(--stream-ocr-nested-border, rgba(89, 232, 139, 0.24));
  border-radius: 8px;
  color: var(--text);
  background: var(--stream-ocr-nested-bg, rgba(9, 36, 25, 0.34));
  font-size: 0.78rem;
}

.stream-ocr-participant-pill--raw {
  border-color: var(--stream-ocr-nested-border, rgba(255, 205, 103, 0.24));
  background: var(--stream-ocr-nested-bg, rgba(65, 48, 11, 0.28));
}

.stream-ocr-participant-pills--stacked {
  display: grid;
  gap: 3px;
}

.stream-ocr-participant-pills--stacked .stream-ocr-participant-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: 1.35;
}

.stream-ocr-participant-pills--stacked .stream-ocr-participant-pill small {
  display: inline;
  margin-left: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.72rem;
}

.stream-ocr-participant-pill.is-hidden,
.stream-ocr-participant-row.is-hidden {
  opacity: 0.55;
}

.stream-ocr-participant-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--stream-ocr-text, #111827);
}

.stream-ocr-participant-pill--raw .stream-ocr-participant-dot,
.stream-ocr-participant-dot--raw {
  border: 1.5px solid #9ca3af;
  background: transparent;
}

.stream-ocr-character-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.stream-ocr-character-options form {
  margin: 0;
}

.stream-ocr-character-option {
  padding: 4px 8px;
  border: 1px solid var(--stream-ocr-nested-border, rgba(103, 199, 255, 0.24));
  border-radius: 999px;
  color: #374151;
  background: #ffffff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.stream-ocr-character-option:hover,
.stream-ocr-character-option:focus-visible {
  border-color: #9ca3af;
  color: var(--stream-ocr-text, #111827);
}

.stream-ocr-evidence-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.stream-ocr-evidence-strip a,
.stream-ocr-evidence-grid a {
  display: grid;
  gap: 6px;
  color: var(--text-soft);
  font-size: 0.72rem;
}

.stream-ocr-evidence-strip img {
  width: 225px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--stream-ocr-nested-border, rgba(103, 199, 255, 0.14));
  border-radius: 8px;
  object-fit: cover;
  background: #f3f4f6;
}

.stream-ocr-page--archive-detail .stream-ocr-evidence-strip img {
  width: 200px;
}

.stream-ocr-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: 16px;
  align-items: start;
}

.stream-ocr-player-panel {
  padding: 0;
  overflow: hidden;
}

.stream-ocr-player-panel iframe,
.stream-ocr-player-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #020812;
}

.stream-ocr-player-fallback {
  display: grid;
  place-items: center;
}

.stream-ocr-player-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--stream-ocr-section-border);
  background: var(--stream-ocr-section-bg);
}

.stream-ocr-edit-panel,
.stream-ocr-participant-panel,
.stream-ocr-evidence-panel {
  padding: 18px;
}

.stream-ocr-page--segment-detail .stream-ocr-edit-panel,
.stream-ocr-page--segment-detail .stream-ocr-participant-panel,
.stream-ocr-page--segment-detail .stream-ocr-evidence-panel {
  overflow: hidden;
  padding: 0;
}

.stream-ocr-page--segment-detail .stream-ocr-segment-form,
.stream-ocr-page--segment-detail .stream-ocr-participant-list,
.stream-ocr-page--segment-detail .stream-ocr-evidence-grid {
  padding: 18px;
}

.stream-ocr-page--segment-detail .stream-ocr-edit-panel .stream-ocr-segment-form {
  padding-top: 16px;
}

.stream-ocr-page--segment-detail .stream-ocr-participant-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 12px 14px;
}

.stream-ocr-page--segment-detail .stream-ocr-participant-row .workbench-candidate__main {
  min-width: 0;
}

.stream-ocr-page--segment-detail .stream-ocr-participant-row .workbench-candidate__title {
  gap: 7px 9px;
}

.stream-ocr-page--segment-detail .stream-ocr-participant-row .workbench-candidate__title span {
  white-space: nowrap;
}

.stream-ocr-participant-panel,
.stream-ocr-evidence-panel {
  margin-top: 16px;
}

.stream-ocr-evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.stream-ocr-evidence-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--stream-ocr-section-border, rgba(103, 199, 255, 0.14));
  border-radius: 8px;
  object-fit: cover;
  background: #f3f4f6;
}

.stream-ocr-search-summary {
  margin-bottom: 16px;
  padding: 16px;
}

.stream-ocr-search-summary a {
  color: var(--cyan-soft);
  font-size: 0.78rem;
}

.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;
  }

  .stream-ocr-detail-layout,
  .stream-ocr-archive-card__body,
  .stream-ocr-segment-card__body {
    grid-template-columns: 1fr;
  }

  .stream-ocr-page--archive-detail .stream-ocr-segment-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;
  }

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

  .ccrc-team-selector {
    position: static;
  }

  .ccrc-team-selector__list {
    max-height: none;
  }

  .ccrc-management-create__grid,
  .ccrc-management-filter {
    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;
}

.operations-body .metric-grid article,
.operations-body .operations-card {
  border-color: var(--operations-panel-border);
  background: var(--operations-panel);
  box-shadow: var(--operations-panel-shadow);
}

.operations-body .metric-grid strong {
  color: #111827;
}

.operations-body .ops-table__head,
.operations-body .ops-table > div,
.operations-body .fetch-list > div {
  border-color: var(--operations-section-border);
}

.operations-body .ops-table__head {
  color: #6b7280;
  background: var(--operations-section-bg);
}

.operations-body .season-steps {
  color: #4b5563;
}

.operations-body .operations-header__status {
  border-color: var(--operations-nested-border);
  background: var(--operations-nested-bg);
}

.operations-body .operations-header__status strong {
  color: #111827;
}

.operations-body .danger-button {
  border-color: #d1d5db;
  color: #4b5563;
  background: #ffffff;
}

@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;
  }

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

  .header-live-status {
    max-width: min(520px, 48vw);
    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: 0 0 auto;
    justify-content: flex-end;
  }

  .home-body .site-header__actions {
    position: absolute;
    top: 18px;
    right: 20px;
    flex: 0 0 auto;
    justify-content: flex-end;
  }

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

  .home-body .header-live-status {
    flex: 0 0 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 {
    height: 34px;
    min-width: 86px;
    max-width: 112px;
    padding-inline: 10px;
  }

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

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

  .header-live-status__mobile-text {
    display: inline;
    color: #9fb3d4;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0;
  }

  .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);
    flex-wrap: wrap;
    gap: 4px;
    margin: 8px -20px 0;
    padding: 0 20px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: #0d1729;
    box-shadow: none;
    white-space: nowrap;
  }

  .site-nav-row .site-nav {
    order: 2;
    flex: 0 0 100%;
    overflow-x: auto;
  }

  .site-nav-row .language-switch {
    display: flex;
    order: 1;
    flex: 0 0 100%;
    justify-content: flex-end;
    padding-bottom: 0;
  }

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

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

  .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: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .stream-embed {
    width: calc(100% - 40px);
    margin: 6px auto 24px;
  }

  .stream-embed__header {
    align-items: flex-start;
  }

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

  .home-body .filter-bar label {
    display: grid;
    flex: 1 1 100%;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 0;
  }

  .home-body .filter-bar label > span {
    line-height: 1.2;
  }

  .home-body .filter-bar select {
    height: 40px;
  }

  .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;
    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 {
    grid-area: auto;
    gap: 5px;
  }

  .timeline-filter__job-row .timeline-filter__chips {
    display: flex;
    flex-wrap: wrap;
  }

  .timeline-filter__job-row--tank .timeline-filter__chips,
  .timeline-filter__job-row--healer .timeline-filter__chips,
  .timeline-filter__job-row--melee .timeline-filter__chips,
  .timeline-filter__job-row--range .timeline-filter__chips {
    grid-template-columns: none;
  }

  .timeline-filter__job-row--range .timeline-filter-chip {
    grid-column: auto;
    grid-row: auto;
  }

  .timeline-filter__job-groups {
    grid-template-areas: none;
    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;
    transform: none;
  }

  .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 > .timeline-date-label {
    position: static;
    display: block;
    width: auto;
    margin: 12px 0 0 12px;
    text-align: left;
    transform: none;
  }

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

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

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

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

  .timeline-card__article > strong {
    padding-right: 0;
  }

  .timeline-card__article {
    padding: 14px;
  }

  .timeline-card__open {
    width: auto;
    margin-top: 0;
  }

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

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

  .timeline-card__player-link {
    display: inline-flex;
    align-self: center;
  }

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

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

  .timeline-card__player-identity {
    overflow: hidden;
  }

  .timeline-card__player strong,
  .timeline-card__player-identity span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .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: 2;
    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: 2;
    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: 3;
    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;
  }

  .character-submission-workbench-filter,
  .stream-ocr-filter,
  .stream-ocr-search-filter,
  .request-types {
    grid-template-columns: 1fr 1fr;
  }

  .stream-ocr-filter__body {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .stream-ocr-metric-grid {
    grid-template-columns: 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%;
  }

  .stream-ocr-filter,
  .stream-ocr-search-filter {
    grid-template-columns: 1fr;
  }

  .stream-ocr-page {
    width: 100%;
    padding: 24px 14px 32px;
    border-radius: 0;
  }

  .stream-ocr-filter__body {
    grid-template-columns: 1fr;
  }

  .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;
  white-space: nowrap;
}

.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: 108px minmax(0, 1fr);
    gap: 16px 18px;
    padding: 64px 18px 22px;
  }

  .detail-page .player-data-request {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 10.5px;
  }

  .detail-page .player-admin-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: calc(100% - 32px);
    flex-wrap: nowrap;
  }

  .detail-page .player-rank {
    grid-column: 1;
    grid-row: 2 / 5;
    align-self: center;
    width: 108px;
    height: 118px;
  }

  .detail-page .player-rank span {
    font-size: 42px;
  }

  .detail-page .player-identity {
    display: contents;
  }

  .detail-page .player-identity h1,
  .detail-page .player-identity > p:not(.eyebrow) {
    grid-column: 2;
    min-width: 0;
  }

  .detail-page .player-identity h1 {
    grid-row: 2;
    align-self: end;
    margin: 0;
    font-size: 36px;
  }

  .detail-page .player-identity > p:not(.eyebrow) {
    grid-row: 3;
    align-self: start;
    margin: -4px 0 0;
  }

  .detail-page .same-name-links,
  .detail-page .player-actions {
    grid-column: 1 / -1;
  }

  .detail-page .player-actions {
    grid-row: 5;
  }

  .detail-page .character-job-summary {
    grid-column: 2;
    grid-row: 4;
    align-self: start;
    min-width: 0;
    margin-top: 0;
  }

  .detail-page .player-actions {
    flex-wrap: wrap;
  }

  .detail-page .player-rating {
    grid-column: 1 / -1;
    grid-row: 6;
    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 {
    grid-column: 1;
    text-align: left;
  }

  .detail-page .results-list small {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
  }

  .detail-page .results-list b {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }
}

@keyframes ccrcChampPulse {
  0%,
  100% {
    box-shadow:
      0 0 18px rgba(255, 211, 106, 0.14),
      0 0 36px rgba(255, 211, 106, 0.07);
  }

  50% {
    box-shadow:
      0 0 28px rgba(255, 211, 106, 0.32),
      0 0 56px rgba(255, 211, 106, 0.14);
  }
}

@keyframes ccrcChampShimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.ccrc-bracket {
  overflow: hidden;
  border: 1px solid rgba(120, 160, 220, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% -8%, rgba(92, 200, 255, 0.07), transparent 50%),
    #0e1830;
}

.ccrc-bracket__head {
  padding: 22px 28px 0;
}

.ccrc-bracket__head h2 {
  margin: 0;
  color: #f2f7ff;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.ccrc-bracket__body {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  min-width: 0;
  padding: 16px 28px 28px;
}

.ccrc-bracket__col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ccrc-bracket__col--sf {
  flex: 1.15 1 320px;
  min-width: 300px;
  gap: 14px;
}

.ccrc-bracket__col--final {
  flex: 1.15 1 320px;
  min-width: 300px;
}

.ccrc-bracket__col--champion {
  flex: 1 1 300px;
  min-width: 260px;
}

.ccrc-bracket__connector {
  flex: 0 1 72px;
  min-width: 50px;
  position: relative;
  color: rgba(92, 200, 255, 0.3);
}

.ccrc-bracket__connector svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ccrc-bracket__connector--line {
  flex: 0 1 56px;
  min-width: 44px;
  display: flex;
  align-items: center;
}

.ccrc-bracket__connector-line {
  width: 100%;
  height: 2px;
  background: rgba(92, 200, 255, 0.3);
  border-radius: 1px;
}

.ccrc-bracket__match {
  overflow: hidden;
  border: 1px solid rgba(120, 160, 220, 0.14);
  border-radius: 10px;
  background: rgba(7, 16, 31, 0.92);
  cursor: pointer;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ccrc-bracket__match:hover {
  border-color: rgba(92, 200, 255, 0.26);
}

.ccrc-bracket__match--static {
  cursor: default;
}

.ccrc-bracket__match--static:hover {
  border-color: rgba(120, 160, 220, 0.14);
}

.ccrc-bracket__match:focus-visible {
  box-shadow: 0 0 0 2px rgba(92, 200, 255, 0.5);
}

.ccrc-bracket__match.is-active {
  border-color: rgba(145, 70, 255, 0.65);
  box-shadow: 0 0 18px rgba(145, 70, 255, 0.2);
}

.ccrc-bracket__match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(120, 160, 220, 0.06);
  background: rgba(92, 200, 255, 0.03);
}

.ccrc-bracket__round-name {
  color: #7eb8d9;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ccrc-bracket__match-date {
  color: #3d5268;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 9px;
  font-weight: 600;
}

.ccrc-bracket__team {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(120, 160, 220, 0.06);
}

.ccrc-bracket__team:last-of-type {
  border-bottom: none;
}

.ccrc-bracket__team-bar {
  flex: 0 0 3px;
  width: 3px;
  height: 16px;
  border-radius: 1.5px;
  background: transparent;
  transition: background 0.2s ease;
}

.ccrc-bracket__team.is-winner .ccrc-bracket__team-bar {
  background: #5cc8ff;
}

.ccrc-bracket__team-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #4a5c74;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.ccrc-bracket__team.is-winner .ccrc-bracket__team-name {
  color: #f2f7ff;
  font-weight: 800;
}

a.ccrc-bracket__team-name:hover {
  text-decoration: underline;
  text-decoration-color: rgba(92, 200, 255, 0.45);
  text-underline-offset: 2px;
}

.ccrc-bracket__score {
  min-width: 18px;
  color: #384858;
  font-size: 16px;
  font-weight: 900;
  text-align: right;
}

.ccrc-bracket__team.is-winner .ccrc-bracket__score {
  color: #5cc8ff;
}

.ccrc-bracket__vod-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-top: 1px solid rgba(120, 160, 220, 0.06);
  color: #4d6280;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, background 0.2s ease;
}

.ccrc-bracket__vod-btn svg {
  flex-shrink: 0;
  fill: currentColor;
}

.ccrc-bracket__match.is-active .ccrc-bracket__vod-btn {
  color: #9146ff;
  background: rgba(145, 70, 255, 0.04);
}

.ccrc-bracket__champion {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: visible;
  height: 100px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 211, 106, 0.4);
  border-radius: 10px;
  background: linear-gradient(135deg, #c4181f 0%, #881018 100%);
  text-align: center;
  animation: ccrcChampPulse 3s ease-in-out infinite;
}

.ccrc-bracket__champion::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 25%,
    rgba(255, 211, 106, 0.07) 50%,
    transparent 75%
  );
  background-size: 200% 100%;
  animation: ccrcChampShimmer 4s linear infinite;
}

.ccrc-bracket__champion::after {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  z-index: 2;
  width: 58px;
  height: 38px;
  pointer-events: none;
  transform: translateX(-50%);
  background-image: url("data:image/svg+xml,%3Csvg width='58' height='38' viewBox='0 0 58 38' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 34H50L46 15L36 25L29 5L22 25L12 15L8 34Z' fill='%23FFD36A'/%3E%3Cpath d='M10 34H48V38H10V34Z' fill='%23B86D19'/%3E%3Cpath d='M12 15L22 25L29 5L36 25L46 15L50 34H8L12 15Z' fill='url(%23gold)'/%3E%3Ccircle cx='29' cy='5' r='4' fill='%23FFF1A6'/%3E%3Ccircle cx='12' cy='15' r='3.5' fill='%23FFE18A'/%3E%3Ccircle cx='46' cy='15' r='3.5' fill='%23FFE18A'/%3E%3Cpath d='M16 31H42' stroke='%23FFF1A6' stroke-width='2' stroke-linecap='round'/%3E%3Cdefs%3E%3ClinearGradient id='gold' x1='8' y1='5' x2='50' y2='38' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23FFF1A6'/%3E%3Cstop offset='0.45' stop-color='%23FFD36A'/%3E%3Cstop offset='1' stop-color='%23B86D19'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.ccrc-bracket__champion-label {
  position: relative;
  z-index: 1;
  margin: 0 0 4px;
  color: #ffd36a;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ccrc-bracket__champion-name {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

a.ccrc-bracket__champion-name:hover {
  text-decoration: underline;
  text-decoration-color: rgba(255, 211, 106, 0.65);
  text-underline-offset: 3px;
}

.ccrc-bracket__vod {
  overflow: hidden;
  margin: 0 28px 28px;
  border: 1px solid rgba(145, 70, 255, 0.18);
  border-radius: 12px;
  background: #07070e;
}

.ccrc-bracket__vod-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(145, 70, 255, 0.1);
  background: rgba(145, 70, 255, 0.05);
}

.ccrc-bracket__vod-twitch-icon {
  flex-shrink: 0;
  fill: #9146ff;
}

.ccrc-bracket__vod-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ccrc-bracket__vod-matchup {
  overflow: hidden;
  color: #f2f7ff;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ccrc-bracket__vod-meta {
  color: #7c5fbf;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.ccrc-bracket__vod-frame {
  aspect-ratio: 16 / 9;
  border-top: 1px solid rgba(120, 160, 220, 0.08);
}

.ccrc-bracket__vod-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767px) {
  .ccrc-bracket__body {
    padding: 12px 16px 20px;
  }

  .ccrc-bracket__vod {
    margin: 0 16px 20px;
  }

  .ccrc-bracket__col--champion {
    min-width: 140px;
  }
}

.request-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.home-page .character-search-section {
  min-height: calc(100vh - 140px);
  background: #0d1729;
}

.home-page .character-submission-section {
  min-height: calc(100vh - 140px);
  background: #0d1729;
}

.character-search-form {
  align-items: flex-end;
}

.character-search-form label {
  max-width: 520px;
}

.character-result-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  padding: 0 32px 32px;
}

.character-result-list a {
  color: inherit;
  text-decoration: none;
}

.character-result-card {
  display: grid;
  gap: 6px;
  min-height: 104px;
  padding: 18px 20px;
  border-radius: 0;
  background: rgba(9, 19, 34, 0.82);
}

.character-result-card span {
  color: #5c87cf;
  font-family: Rajdhani, "Arial Narrow", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.character-result-card strong {
  color: #f2f7ff;
  font-size: 20px;
  font-weight: 800;
}

.character-result-card small {
  color: #7f93b3;
  font-size: 13px;
}

.character-submission-layout {
  display: block;
  padding: 0 32px 32px;
}

.character-submission-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
  border-radius: 0;
  background: rgba(9, 19, 34, 0.86);
}

.character-submission-form .form-errors,
.character-submission-form .workbench-alert,
.character-submission-form .form-field[data-field="lodestone_url"],
.character-submission-form .form-field[data-field="twitch"],
.character-submission-form .form-field[data-field="youtube"],
.character-submission-form .form-field[data-field="x"],
.character-submission-form .form-field[data-field="message"],
.character-submission-contact-row,
.character-submission-form .turnstile-placeholder,
.character-submission-form .cf-turnstile,
.character-submission-form .button--large {
  grid-column: 1 / -1;
}

.character-submission-form .form-field {
  margin-bottom: 0;
}

.character-submission-form .form-field > span {
  color: #7f93b3;
  font-size: 11px;
  font-weight: 600;
}

.character-submission-form .form-field input,
.character-submission-form .form-field select,
.character-submission-form .form-field textarea {
  min-height: 45px;
  border-color: rgba(120, 160, 220, 0.14);
  border-radius: 10px;
  color: #dceaff;
  background: #111d31;
  font-size: 13.5px;
}

.character-submission-form .form-field textarea {
  min-height: 110px;
}

.character-submission-form .form-field input::placeholder,
.character-submission-form .form-field textarea::placeholder {
  color: rgba(127, 147, 179, 0.78);
}

.character-submission-form .form-field input:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.character-submission-contact-row {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.character-submission-contact-note {
  display: block;
  margin-top: 7px;
  color: #7f93b3;
  font-size: 12px;
  line-height: 1.6;
}

.character-submission-sent-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-radius: 0;
  background: rgba(9, 19, 34, 0.86);
}

.character-submission-sent-section .character-submission-layout {
  padding-top: 32px;
}

.character-submission-sent-panel__mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(92, 200, 255, 0.34);
  border-radius: 12px;
  background: rgba(92, 200, 255, 0.12);
  color: #66d4ff;
  box-shadow: 0 0 18px rgba(92, 200, 255, 0.16);
}

.character-submission-sent-panel__mark svg {
  width: 28px;
  height: 28px;
}

.character-submission-sent-panel h3 {
  margin: 0 0 6px;
  color: #f2f7ff;
  font-size: 18px;
  font-weight: 800;
}

.character-submission-sent-panel p {
  margin: 0;
  color: #7f93b3;
  font-size: 13.5px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .character-submission-form,
  .character-submission-contact-row,
  .character-submission-sent-panel {
    grid-template-columns: 1fr;
  }
}

.workbench-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 18px;
  margin: 14px 0;
}

.workbench-meta div {
  min-width: 0;
}

.workbench-meta dt {
  color: rgba(202, 220, 255, 0.66);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.workbench-meta dd {
  margin: 4px 0 0;
  color: #f4f8ff;
}

.operations-body .workbench-meta dt {
  color: #6b7280;
}

.operations-body .workbench-meta dd {
  color: #111827;
}
